This sample shows how to implement a continuous integration build server using Decision Center.
Time required
15 minutes
Prerequisites
You must have Rule Designer and Decision Center to use this sample.
Description
This sample shows you how to implement a continuous integration build server. You can add repetitive tasks to a server, and configure the way the tasks are triggered.
You create two types of build processes:
Testing: You improve the quality of the delivered ruleset by replacing the practice of testing all the rules after completing them with automated scenario testing that checks business rules often enough to prevent authored rules from breaking the ruleset. You do this in a multi-rule authoring environment with multiple concurrent updates in which a short timer is triggered after each modification. A build starts when the timer expires, or after a longer interval passes since the last build.
Deployment: You configure a process to automatically deploy rulesets to a Rule Execution Server at a specified time.
You can use the sample with your own repetitive task by extending a provided Java™ class, and adding configuration properties to plug in your extension. For example, you can reuse the sample code to create a plug-in that tests the ruleset, and deploys the ruleset on another Rule Execution Server if the tests are successful.
The sample uses the following features:
Decision Center client API
Server-side query execution from a remote client
Decision Center session controller
Scenario suite execution
Automated ruleset deployment to Rule Execution Server