Setting up the REST API sample

You use the Samples Console to install this sample.

Procedure

  1. Switch to the Samples Console perspective.
  2. In the Samples Commands view, browse to Samples Commands > Rule Execution Server > REST API in Java.
    Tip: To open the Samples Commands view, click View sample commands in the Samples and Tutorials view.
  3. Double-click the generate.ruleset command to do the following tasks:
    • Generate the ruleset archive in the file system by using the headless deployment tool for automated deployment of decision services.
    • Move the generated ruleset and XOM archives (the myruleset.dsar and myxom.zip files) to the data directory.