Forum Discussion

FICO's avatar
FICO
Community Manager
6 years ago

Build and deploy blaze advisor project from command line

Hi Team,

We are trying out blaze advisor product. As part of it, I have created a credit card project using the introductory tutorial. All working fine as expected. Thanks for detailed documentation.

Being an AppOps guy, my next step is to find the available options to automate the build and deploy the blaze advisor application using CI/CD pipeline. So, could you please point me a document/ give suggestions on how to build and deploy my project from command line, rather than with eclipse IDE. Your help is greatly appreciated.

1 Reply

  • FICO's avatar
    FICO
    Community Manager

    You will want to start with the DeployingRuleServices.pdf. One of the advantages of the Blaze Advisor architecture is that you only need to deploy the code once. You choose how you want to deploy, either as a Java component, an EJB, or a Web Service, and set up the configuration files specifying that choice and the vendor you are using if you are going through an Application Server. It then generates the code you need for that environment. One of the configuration choices is to include a Deployment Manager, which can be set with a timer to check if the rules in the repository have changed, and if so, to send a message to the Rule Server that it needs to reload and recompile the rules for execution. This way none of the deployment code needs to change, and you can automate how you want to trigger the loading of new sets of rules. The key sections of the documentation to review would by Chapter 2 on Generating Rule Services and Chapter 6 on Updating Rule Services Using the Deployment Manager. All of the APIs that are used by the Deployment Manager to reload and recompile the rule service are available in the API documentation, so you would also have options for building out different behavior that could run either automatically or via command line execution.