To deploy a decision service to a Decision Server that is outside a cloud
tenant, you must download the corresponding executable assets (RuleApp and XOM) from the Rule Execution Server console of the cloud portal, and
then deploy them to the target Decision Server through its Rule Execution Server console.
Before you begin
You must have access to your cloud environment and the deployed decision service.
Procedure
-
Download the RuleApp from your cloud environment:
-
Launch the Rule Execution Server console
in your cloud environment (development, test, or production).
-
In the Explorer tab, click the RuleApp that you want to download.
-
Click Download Archive with All Rulesets in the RuleApp view.
-
Select the directory where you want to store the RuleApp archive, and click
OK.
-
Download the XOM:
-
Back in the Explorer tab of the Rule Execution Server console, under
Resources, click the XOM that you want to download.
-
Click Download Resource in the Resource view.
-
Select the directory where you want to store the XOM archive, and click
OK.
-
Upload the XOM:
-
In the Resources view, click Deploy Resource.
-
Browse to the local path of the XOM archive, and then click
Deploy.
The managed XOM is deployed under Resources in the Rule Execution Server console. If the XOM is referenced from a
library, you must re-create the library first (). Then, in the Library View of the new library, add the XOM as the internal resource
reference ().
-
Select the deployed XOM in the list of internal resources or the library that contains the XOM
in the list of libraries, and then click Add.
-
Upload the RuleApp to the target Decision Server:
-
Launch the Rule Execution Server console of the target
Decision Server.
-
In the RuleApps view, click Deploy RuleApp Archive.
-
Browse to the local path of the RuleApp archive, and click Deploy.
The RuleApp archive is deployed under RuleApps in the Rule Execution Server console.
-
Verify the deployment of the decision service to the target Decision Server (see Testing a ruleset for REST execution).