Project to automate the installation of this product without preconfiguration beyond a single admin user.
There are three options available to you for using this demo: local, OpenShift and Docker.
The following software is required to run this demo:
- JBoss EAP 7.1 zip archive
- Red Hat Decision Manager: Decision Central 7.0.0.GA deployable for EE7
- Red Hat Decision Manager: KIE-Server 7.0.0.GA deployable for EE7
- 7-Zip (Windows only): to overcome the Windows 260 character path length limit, we need 7-Zip to unzip the Decision Manager deployable.
-
Add the EAP zip archive and Decision Manager deployables to the installs directory.
-
Run
init.sh
(Linux/macOS) orinit.ps1
(Windows) file. -
Start the runtime:
./target/jboss-eap-7.1/bin/standalone.sh'
(Linux/macOS) or.\target\jboss-eap-7.1\bin\standalone.ps1
(Windows) -
Login to Decision Central at: http://localhost:8080/decision-central (u:dmAdmin / p:redhatdm1!)
-
Enjoy the installed and configured Red Hat Decision Manager 7.
This demo can be installed on Red Hat OpenShift in various ways. We'll explain the different options provided.
All installation options require an oc
client installation that is connected to a running OpenShift instance. More information on OpenShift and how to setup a local OpenShift development environment based on the Red Hat Container Development Kit can be found here.
NOTE
The Red Hat Decision Manager 7 - Decision Central image requires a Persistent Volume which has both ReadWriteOnce
(RWO) and ReadWriteMany
(RWX) Access Types. If no PVs matching this description are available, deployment of that image will fail until a PV of that type is available.
This installation option will install the Decision Manager 7 and Decision Service in OpenShift using a single script, after which the demo project needs to be manually imported.
-
Run the "init-openshift.sh" file (for Linux and macOS, Windows support will be added in the near future). This will create a new project and application in OpenShift.
-
Login to your OpenShift console. For a local OpenShift installation this is usually: https://{host}:8443/console
-
Open the project "RHDM7 Install Demo". Open the "Overview" screen. Wait until the 2 pods, "rhdm7-loan-rhdmcentr" and "rhdm7-loan-kieserver" have been deployed.
-
Open the "Applications -> Routes" screen. Click on the "Hostname" value next to "rhdm7-loan-rhdmcentr". This opens the Decision Central console.
-
Login to Decision Central (u:dmAdmin, p:redhatdm1!)
-
Enjoy the installed and configured Red Hat Decision Manager 7.
This installation option will install the Decision Manager 7 and Decision Service in OpenShift using a the provided provision.sh
script, which gives
the user a bit more control how to provision to OpenShift.
-
In the demo directory, go to
./support/openshift
. In that directory you will find aprovision.sh
script. (Windows support will be introduced at a later time). -
Run
./provision.sh -h
to inspect the installation options. -
To provision the demo, with the OpenShift ImageStreams in the project's namespace, run
./provision.sh setup rhdm7-loan --with-imagestreams true
.
NOTE
The
--with-imagestreams true
parameter installs the Decision Manager 7 image streams and templates into the project namespace instead of theopenshift
namespace (for which you need admin rights). If you already have the required image-streams and templates installed in your OpenShift environment in theopenshift
namespace, you can omit the--with-imagestreams true
from the setup command.
-
After provisioning, follow the instructions from above "Option 2 - Automated installation, manual project import", starting at step 3.
-
To delete an already provisioned demo, run
./provision.sh delete rhdm7-loan
.
The following steps can be used to configure and run the demo in a container
-
Add the EAP zip archive and Decision Manager deployables to the installs directory.
-
Run the 'init-docker.sh' (Linux/macOS) or 'init-docker.ps1' (Windows) file.
-
Start the container:
docker run -it -p 8080:8080 -p 9990:9990 jbossdemocentral/rhdm7-install-demo
-
Login to Decision Central at: http://<CONTAINER_HOST>:8080/decision-central (u:dmAdmin / p:redhatdm1!)
-
Enjoy the installed and configured Red Hat Decision Manager 7.
See the tagged releases for the following versions of the product:
- v1.0 - Red Hat Decision Manager 7.0.0.GA