IBM Rules Engine (ODM) Primer Series II (2): Regular project packaging, publishing, and service-side testing

Source: Internet
Author: User

The previous blog post describes how to install the Res service, this time to see how to create a ruleapp in Rule designer and publish it to the RES service.

Open the rule Designer and look at our Rules project:

Take the Personrule rule project as an example, in the Rule Project Diagram view, click Create Ruleapp Project:

Enter the project name "Personruleapp" and click Next:

Because clicking on the "Create Ruleapp" navigation link for the Personrule rule set project, the Select Rule Set Project here defaults to "Personrule" and click Done.

There is a "Personruleapp" in the Explorer, and its directory has a personrule10.jar, this is our rule project package, there is a archive.xml, this file contains the deployment link operation and Ruleapp description information:

Click Deploy RULEAPP to one or more Rule execution Server instances in the deployment bar:

Tick "incremental Ruleapp major Version" and click Next:

Here Select "Create temporary RES Configuration", then fill in the Res service address and user name, password, tick "package Good xom", click Done.

In this way, we deploy the Ruleapp package to the RES service, and now log in to Res to see it:

After logging in, click on the "Explorer" list, under this list, you can see all the deployed Ruleapp, here I have deployed three, on the right side you can see the version number of each Ruleapp, the creation date, the number of rule sets.

Click the rule item under the left navigation bar to see the rule set that the rule item contains, or click the rule item on the right to view the rule set:

Click the rule set name "Personrule" To view the rule set details

Test the rule set here and click on "Test rule Set":

On this page, click on "Edit Icon",

As shown, we test a 12-year-old boy, click Execute to view the results of the execution:

From the above, you can clearly see the information about the execution process and the results of the execution.

Res also provides ruleapp to perform system statistics, and in the rule set view, click "View Statistics":

To view execution statistics:

Other related action buttons can be seen on their own, it is easy to understand, where "add managed URL" is to manage the XOM, "Retrieve Htds profile" function with the Ruleapp released into WebService, in the next blog post.

This post explains how to package a rule project into Ruleapp, publish it to res, and view Ruleapp related information and test rule set on res, and so on, and the next blog post describes how to publish a rule project as a Web service for other programs to invoke.

If there is a problem, please leave a message, I will be the first time reply!

Welcome reprint, but please indicate the source, thank you!

IBM Rules Engine (ODM) Primer Series II (2): Regular project packaging, publishing, and service-side testing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.