此内容没有您所选择的语言版本。
Chapter 5. Configuring Decision Server with the integrated Decision Manager controller
Only make the changes described in this section if Decision Server will be managed by Business Central and you installed Red Hat Decision Manager from the ZIP files. If you did not install Business Central, you can use the headless Decision Manager controller to manage Decision Server, as described in Chapter 6, Installing and running the headless Decision Manager controller.
Decision Server can be managed or it can be unmanaged. If Decision Server is unmanaged, you must manually create and maintain KIE containers (deployment units). If Decision Server is managed, the Decision Manager controller manages the Decision Server configuration and you interact with the Decision Manager controller to create and maintain KIE containers.
The Decision Manager controller is integrated with Business Central. If you install Business Central, you can use the Execution Server page in Business Central to interact with the Decision Manager controller.
If you installed Red Hat Decision Manager from the ZIP files, you must edit the standalone-full.xml
file in both the Decision Server and Business Central installations to configure Decision Server with the integrated Decision Manager controller.
Prerequisites
Business Central and Decision Server are installed in the base directory of the Red Hat JBoss EAP installation (
EAP_HOME
).NoteYou should install Business Central and Decision Server on different servers in production environments. However, if you install Decision Server and Business Central on the same server, for example in a development environment, make the changes described in this section in the shared
standalone-full.xml
file.On Business Central server nodes, a user with the
rest-all
role exists.Procedure
In the Business Central
EAP_HOME/standalone/configuration/standalone-full.xml
file, uncomment the following properties in the<system-properties>
section and replace<USERNAME>
and<USER_PWD>
with the credentials of a user with thekie-server
role:<property name="org.kie.server.user" value="<USERNAME>"/> <property name="org.kie.server.pwd" value="<USER_PWD>"/>
In the Decision Server
EAP_HOME/standalone/configuration/standalone-full.xml
file, uncomment the following properties in the<system-properties>
section.<property name="org.kie.server.controller.user" value="<CONTROLLER_USER>"/> <property name="org.kie.server.controller.pwd" value="<CONTROLLER_PWD>"/> <property name="org.kie.server.id" value="<KIE_SERVER_ID>"/> <property name="org.kie.server.location" value="http://<HOST>:<PORT>/kie-server/services/rest/server"/> <property name="org.kie.server.controller" value="<CONTROLLER_URL>"/>
- Replace the following values:
-
Replace
<CONTROLLER_USER>
and<CONTROLLER_PWD>
with the credentials of a user with therest-all
role. -
Replace
<KIE_SERVER_ID>
with the ID or name of the Decision Server installation, for example,rhdm-7.4.0-decision_server-1
. -
Replace
<HOST>
with the ID or name of the Decision Server host, for example,localhost
or192.7.8.9
. Replace
<PORT>
with the port of the Decision Server host, for example,8080
.NoteThe
org.kie.server.location
property specifies the location of Decision Server.Replace
<CONTROLLER_URL>
with the URL of Business Central. Decision Server connects to this URL during startup.If you installed Business Central using the installer or Red Hat JBoss EAP zip installations,
<CONTROLLER_URL>
has this format:http://<HOST>:<PORT>/decision-central/rest/controller
If you are running Business Central using the
standalone.jar
file,<CONTROLLER_URL>
has this format:http://<HOST>:<PORT>/rest/controller