Sample: Continuous integration

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:

  1. 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.

  2. 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.

Image showing the architecture of the sample server.

The sample uses the following features: