Decision Management (ODM,ADS)

 View Only
  • 1.  How to build jar file for the Res Server for deployment

    Posted Sun September 25, 2022 10:14 PM
    Edited by Kian Seng Goh Mon September 26, 2022 02:23 AM

    hello,

    i trying to follow the document on running the maven, 

    mvn install:install-file -Dfile=rules-compiler.jar -DpomFile=rules-compiler-maven-plugin.pom

    where do i find this rules-compiler.jar?


    The documentation also state need ODM artifacts, so where can i find it?

    Operational Decision Manager artifacts in your Maven repository


    ------------------------------
    Kian Seng Goh
    ------------------------------


  • 2.  RE: How to build jar file for the Res Server for deployment

    Posted Mon September 26, 2022 06:40 AM
    Hi Kian Seng,

    You can find the rules-compiler.jar in your ODM installation directory in  / buildcommand / rules-compiler

    However be careful when using the Build Command Maven Plugin to automate your building of rulesets. Whilst Decision Center adds the snapshot URL as a property to the ruleset.jar which allows you to trace a ruleset back to the rules in Decision Center,  using the Build Command Maven plugin and Rule Designer does not add the equivalent i.e. GIT SCM revision number. The consequence of this is that when things go wrong in production, you will not be able to trace a ruleset back to its source in Rule Designer, track down bugs in the rules and know what to fix. You will also not be able to compare two versions of a ruleset, etc.

    If you are interested in automating the build and deployment of ODM rulesets this you should read the article on IBM ODM Releases and CI/CD here.

    Hope this helps.

    ------------------------------
    Peter Warde
    ------------------------------



  • 3.  RE: How to build jar file for the Res Server for deployment

    Posted Mon September 26, 2022 09:35 AM

    Hi Kian

    you can find the maven compiler plugin in the directory ODM_INSTALL\buildcommand\rules-compiler.

    Best

    Emmanuel



    ------------------------------
    Emmanuel Bonnet
    ------------------------------