A demo platform using some products of the red hat stack This demo currently is based on:
Red Hat Data Grid 6.2.0 Red Hat BRMS 6.0.0 Red Hat Fuse Service Works 6.0.0
Configuration steps for deployment:
-
All services (login, payment and transfer) communicates with the JDG, and beacuase of that we need two system properties on FSW: datagrid.address and datagrid.port.
-
Although FSW has infinispan in its modules, we are handling with JDG 6.2.0 on server side, so we need to create an extra module on FSW that holds the client libraries of JDG 6.2.0 (infinispan 6.0.1.Final-redhat-2). The fast way to do that is creating a new folder on modules, put the module.xml, and copy the libraries of JDG to the module folder:
mkdir -p %FSW_HOME/modules/org/infinispan/6.0.1
<dependencies> <module name="javax.api"/> <module name="javax.transaction.api"/> <module name="javax.xml.bind.api"/> <module name="net.jcip"/> <module name="sun.jdk"/> </dependencies> -
The transfer-service uses kie-api from BRMS to call some rules, and we user the kie-ci for that, using kjar deployed in a Mevan repository. The problem is that FSW 6.0.0 does not have kie-ci in their modules, so we need to create other extra module to hold this kie-ci library. We need to create the module folder, create the module.xml, and put the library.
mkdir -p %FSW_HOME/modules/org/kie/kie-ci/main
After that, we need to declare in the module.xml of module org.kie that it depends on our new module org.kie.kie-ci
- Now we can deploy the services on FSW