Unable to use Rule Container created from Business Central and REST API in BPMS and BRMS 6.2.0
Issue
- After migrating to
BPMS 6.2.0
orBRMS 6.2.0
users are facing issues after creatingDecision Server
and Rule Containers throughBusiness Central
and REST API . Here is how the problem looks like.
First Scenario
(1) Registered Decision Server
with the following details from Business Central
console.
Id = http://localhost:8080/kie-server
Name = TestServer
Version = 1.0
(2) Created a Rule Container
and started the server and the Rule Container
.
(3) When user executes the following REST API
call from REST clients like SOAPUI
, they receive the following response.
URL used http://localhost:8080/kie-server/services/rest/server/containers , and the response received is shown below.
<response type="SUCCESS" msg="List of created containers">
<kie-containers/>
</response>
Basically it didn't list the Rule Container
which was created from Business Central
. Hence, users are unable to execute rules.
Second Scenario
(1) User went ahead and deleted the Rule Container
and the Decision Server
from Business Central
.
(2) Then created the Rule Container
using the REST API
like this way http://localhost:8080/kie-server/services/rest/server/containers/{id}
(3) When user ran the following from REST client, they received the following response.
URL used http://localhost:8080/kie-server/services/rest/server/containers , and the response received is the following.
<response type="SUCCESS" msg="List of created containers">
<kie-containers>
<kie-container container-id="SimpleRules-1" status="STARTED">
<release-id>
<artifact-id>Simple-rules</artifact-id>
<group-id>com.sample.testing</group-id>
<version>1.0-SNAPSHOT</version>
</release-id>
<resolved-release-id>
<artifact-id>Simple-rules</artifact-id>
<group-id>com.sample.testing</group-id>
<version>1.0-SNAPSHOT</version>
</resolved-release-id>
</kie-container>
</kie-containers>
</response>
And now the user is able to execute rules successfully.
(4) However, now if user logs in to Business Central
console they can't see the newly created container there which they created using REST API.
- Is this a defect in the
Business Central
application ofBPMS 6.2.0
,BRMS 6.2.0
or is it that the users are missing something?
Environment
- Red Hat JBoss BPM Suite (BPMS)
- 6.2.0
- Red Hat JBoss BRMS (BRMS)
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.