Setting up the execution trace sample
You use the Samples Console to set up this sample.
Procedure
- Open the Samples Console (see Running samples from the the Samples Console).
- Open the Samples Commands tab, expand Samples Commands > Rule Execution Server > Execution trace.
-
Double-click the deploy.ruleapp command to do the following tasks:
- Compile the class that uses the REST API.
- Use the Rule Designer build automation tool to generate a RuleApp, and deploy it and its associated XOM to the Rule Execution Server.
- To see the results, open a web browser and type the following URL to start the Rule Execution Server console: http://localhost:<PORT>/res
- Use resAdmin as the user name and password to log on to the Rule Execution Server console.
-
Click the Explorer tab. In the RuleApps view, you
can see the newly added
trace_rules_deRuleApp. -
Click the
trace_rules_deRuleApp, and then thetrace_rules_deRulesetruleset. Notice that the ruleset uses the decision engine and has a managed XOM called trace-xom.