Automated decision service deployment

This sample demonstrates how to use automated deployment to build and deploy a decision service RuleApp by using the Rule Designer launch configuration or by running an Ant script from the command line.

Time required

10 minutes

Prerequisites

You must have Rule Designer installed to run this sample. Before you use this sample, ensure that Rule Execution Server is installed and that the sample server is running (see Starting and stopping the sample server).

Description

Rule Designer provides automated deployment for builds and rule extraction. This sample shows you how to use automated deployment for decision services in two steps:
  1. Test builds in Rule Designer. You use a launch configuration that runs automated deployment in the current Eclipse instance.
  2. Run automated builds from the command line. You use an Ant script that defines targets to start Rule Designer in headless mode, without a user interface for the development environment.
In both steps, the result is the generation of RuleApp and ruleset archive files either in a local directory or to Rule Execution Server.

The key activities in this sample:

  • Definition of a decision service deployment configuration.
  • Configuration of a target server.
  • Definition of an Eclipse Run configuration for decision service automated deployment.
  • Definition of an Ant target for decision service automated deployment.