Chapter 7. Configuring a Decision Server to connect to Business Central
If a Decision Server is not already configured in your Red Hat Decision Manager environment, or if you require additional Decision Servers in your Red Hat Decision Manager environment, you must configure a Decision Server to connect to Business Central.
If you are deploying Decision Server on Red Hat OpenShift Container Platform, see Deploying a Red Hat Decision Manager authoring or managed server environment on Red Hat OpenShift Container Platform for instructions about configuring it to connect to Business Central.
Prerequisites
- Decision Server is installed. For installation options, see Planning a Red Hat Decision Manager installation.
Procedure
-
In your Red Hat Decision Manager installation directory, navigate to the
standalone-full.xml
file. For example, if you use a Red Hat JBoss EAP installation for Red Hat Decision Manager, go to$EAP_HOME/standalone/configuration/standalone-full.xml
. Open
standalone-full.xml
and under the<system-properties>
tag, set the following properties:- org.kie.server.controller.user: The user name of a user who can log in to the Business Central.
- org.kie.server.controller.pwd: The password of the user who can log in to the Business Central.
-
org.kie.server.controller: The URL for connecting to the API of Business Central. Normally, the URL is
http://<centralhost>:<centralport>/decision-central/rest/controller
, where<centralhost>
and<centralport>
are the host name and port for Business Central. If Business Central is deployed on OpenShift, removedecision-central/
from the URL. -
org.kie.server.location: The URL for connecting to the API of Decision Server. Normally, the URL is
http://<serverhost>:<serverport>/kie-server/services/rest/server
, where<serverhost>
and<serverport>
are the host name and port for Decision Server. - org.kie.server.id: The name of a server configuration. If this server configuration does not exist in Business Central, it is created automatically when Decision Server connects to Business Central.
Example:
<property name="org.kie.server.controller.user" value="central_user"/> <property name="org.kie.server.controller.pwd" value="central_password"/> <property name="org.kie.server.controller" value="http://central.example.com:8080/decision-central/rest/controller"/> <property name="org.kie.server.location" value="http://kieserver.example.com:8080/kie-server/services/rest/server"/> <property name="org.kie.server.id" value="production-servers"/>
- Start or restart the Decision Server.