GET /controller/runtime/servers/{serverTemplateId}/containers/{containerId}/instances
GET /controller/runtime/servers/{serverTemplateId}/containers/{containerId}/instances
Type | Name | Description | Schema |
---|---|---|---|
Path |
containerId |
ID of the KIE container to be retrieved |
string |
Path |
serverTemplateId |
ID of the KIE Server template for which you are retrieving KIE containers |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE container instances |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE Server template or KIE container not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
application/xml
application/json
/controller/runtime/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT/instances
{
"container-details" : [ {
"sever-template-id" : "test-kie-server",
"container-id" : "evaluation_1.0.0-SNAPSHOT",
"container-name" : "evaluation",
"url" : "http://localhost:8080/kie-server/services/rest/server/containers/evaluation_1.0.0-SNAPSHOT",
"sever-instance-id" : "test-kie-server@localhost:8080",
"container-release-id" : {
"group-id" : "evaluation",
"artifact-id" : "evaluation",
"version" : "1.0.0-SNAPSHOT"
},
"messages" : [ {
"severity" : "INFO",
"timestamp" : {
"java.util.Date" : 1541568199713
},
"content" : [ "Container evaluation_1.0.0-SNAPSHOT successfully created with module evaluation:evaluation:1.0.0-SNAPSHOT." ]
} ],
"status" : "STARTED"
} ]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<container-details-list>
<container-details>
<sever-template-id>test-kie-server</sever-template-id>
<container-id>evaluation_1.0.0-SNAPSHOT</container-id>
<container-name>evaluation</container-name>
<url>http://localhost:8080/kie-server/services/rest/server/containers/evaluation_1.0.0-SNAPSHOT</url>
<sever-instance-id>test-kie-server@localhost:8080</sever-instance-id>
<container-release-id>
<artifact-id>evaluation</artifact-id>
<group-id>evaluation</group-id>
<version>1.0.0-SNAPSHOT</version>
</container-release-id>
<messages>
<content>Container evaluation_1.0.0-SNAPSHOT successfully created with module evaluation:evaluation:1.0.0-SNAPSHOT.</content>
<severity>INFO</severity>
<timestamp>2018-11-07T05:23:19.713Z</timestamp>
</messages>
<status>STARTED</status>
</container-details>
</container-details-list>
GET /controller/runtime/servers/{serverTemplateId}/instances
Type | Name | Description | Schema |
---|---|---|---|
Path |
serverTemplateId |
ID of the KIE Server template for which you are retrieving KIE Server instances |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE Server instances |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
application/xml
application/json
/controller/runtime/servers/test-kie-server/instances
{
"server-instance-key" : [ {
"server-instance-id" : "test-kie-server@localhost:8080",
"server-name" : "test-kie-server@localhost:8080",
"server-template-id" : "test-kie-server",
"server-url" : "http://localhost:8080/kie-server/services/rest/server"
} ]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<server-instance-key-list>
<server-instance-key>
<server-instance-id>test-kie-server@localhost:8080</server-instance-id>
<server-name>test-kie-server@localhost:8080</server-name>
<server-template-id>test-kie-server</server-template-id>
<server-url>http://localhost:8080/kie-server/services/rest/server</server-url>
</server-instance-key>
</server-instance-key-list>
GET /controller/runtime/servers/{serverTemplateId}/instances/{serverInstanceId}/containers
Type | Name | Description | Schema |
---|---|---|---|
Path |
serverInstanceId |
ID of the KIE Server instance for which you are retrieving KIE containers (example: default-kieserver-instance@localhost:8080) |
string |
Path |
serverTemplateId |
ID of the KIE Server template associated with the KIE Server instance |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE container instances |
No Content |
400 |
Controller exception |
No Content |
404 |
Kie Server template or Kie Server instance not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
application/xml
application/json
/controller/runtime/servers/test-kie-server/instances/test-kie-server%40localhost%3A8080/containers
{
"container-details" : [ {
"sever-template-id" : "test-kie-server",
"container-id" : "evaluation_1.0.0-SNAPSHOT",
"container-name" : "evaluation",
"url" : "http://localhost:8080/kie-server/services/rest/server/containers/evaluation_1.0.0-SNAPSHOT",
"sever-instance-id" : "test-kie-server@localhost:8080",
"container-release-id" : {
"group-id" : "evaluation",
"artifact-id" : "evaluation",
"version" : "1.0.0-SNAPSHOT"
},
"messages" : [ {
"severity" : "INFO",
"timestamp" : {
"java.util.Date" : 1541568199713
},
"content" : [ "Container evaluation_1.0.0-SNAPSHOT successfully created with module evaluation:evaluation:1.0.0-SNAPSHOT." ]
} ],
"status" : "STARTED"
} ]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<container-details-list>
<container-details>
<sever-template-id>test-kie-server</sever-template-id>
<container-id>evaluation_1.0.0-SNAPSHOT</container-id>
<container-name>evaluation</container-name>
<url>http://localhost:8080/kie-server/services/rest/server/containers/evaluation_1.0.0-SNAPSHOT</url>
<sever-instance-id>test-kie-server@localhost:8080</sever-instance-id>
<container-release-id>
<artifact-id>evaluation</artifact-id>
<group-id>evaluation</group-id>
<version>1.0.0-SNAPSHOT</version>
</container-release-id>
<messages>
<content>Container evaluation_1.0.0-SNAPSHOT successfully created with module evaluation:evaluation:1.0.0-SNAPSHOT.</content>
<severity>INFO</severity>
<timestamp>2018-11-07T05:23:19.713Z</timestamp>
</messages>
<status>STARTED</status>
</container-details>
</container-details-list>
GET /controller/management/servers
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE Server templates |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
application/xml
application/json
/controller/management/servers
{
"server-template" : [ {
"server-id" : "test-kie-server",
"server-name" : "test-kie-server",
"container-specs" : [ {
"container-id" : "evaluation_1.0.0-SNAPSHOT",
"container-name" : "evaluation",
"server-template-key" : {
"server-id" : "test-kie-server",
"server-name" : "test-kie-server"
},
"release-id" : {
"group-id" : "evaluation",
"artifact-id" : "evaluation",
"version" : "1.0.0-SNAPSHOT"
},
"configuration" : {
"PROCESS" : {
"org.kie.server.controller.api.model.spec.ProcessConfig" : {
"runtimeStrategy" : "SINGLETON",
"kbase" : "",
"ksession" : "",
"mergeMode" : "MERGE_COLLECTIONS"
}
},
"RULE" : {
"org.kie.server.controller.api.model.spec.RuleConfig" : {
"pollInterval" : null,
"scannerStatus" : "STOPPED"
}
}
},
"status" : "STARTED"
} ],
"server-config" : { },
"server-instances" : [ {
"server-instance-id" : "test-kie-server@localhost:8080",
"server-name" : "test-kie-server@localhost:8080",
"server-template-id" : "test-kie-server",
"server-url" : "http://localhost:8080/kie-server/services/rest/server"
} ],
"capabilities" : [ "RULE", "PROCESS", "PLANNING" ]
} ]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<server-template-list>
<server-template>
<server-id>test-kie-server</server-id>
<server-name>test-kie-server</server-name>
<container-specs>
<container-id>evaluation_1.0.0-SNAPSHOT</container-id>
<container-name>evaluation</container-name>
<server-template-key>
<server-id>test-kie-server</server-id>
<server-name>test-kie-server</server-name>
</server-template-key>
<release-id>
<artifact-id>evaluation</artifact-id>
<group-id>evaluation</group-id>
<version>1.0.0-SNAPSHOT</version>
</release-id>
<configs>
<entry>
<key>PROCESS</key>
<value xsi:type="processConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<runtimeStrategy>SINGLETON</runtimeStrategy>
<kbase></kbase>
<ksession></ksession>
<mergeMode>MERGE_COLLECTIONS</mergeMode>
</value>
</entry>
<entry>
<key>RULE</key>
<value xsi:type="ruleConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scannerStatus>STOPPED</scannerStatus>
</value>
</entry>
</configs>
<status>STARTED</status>
</container-specs>
<configs/>
<server-instances>
<server-instance-id>test-kie-server@localhost:8080</server-instance-id>
<server-name>test-kie-server@localhost:8080</server-name>
<server-template-id>test-kie-server</server-template-id>
<server-url>http://localhost:8080/kie-server/services/rest/server</server-url>
</server-instances>
<capabilities>RULE</capabilities>
<capabilities>PROCESS</capabilities>
<capabilities>PLANNING</capabilities>
</server-template>
</server-template-list>
GET /controller/management/servers/{serverTemplateId}
Type | Name | Description | Schema |
---|---|---|---|
Path |
serverTemplateId |
ID of the KIE Server template to be retrieved |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE Server template |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
application/xml
application/json
/controller/management/servers/test-kie-server
{
"server-id" : "test-kie-server",
"server-name" : "test-kie-server",
"container-specs" : [ {
"container-id" : "evaluation_1.0.0-SNAPSHOT",
"container-name" : "evaluation",
"server-template-key" : {
"server-id" : "test-kie-server",
"server-name" : "test-kie-server"
},
"release-id" : {
"group-id" : "evaluation",
"artifact-id" : "evaluation",
"version" : "1.0.0-SNAPSHOT"
},
"configuration" : {
"PROCESS" : {
"org.kie.server.controller.api.model.spec.ProcessConfig" : {
"runtimeStrategy" : "SINGLETON",
"kbase" : "",
"ksession" : "",
"mergeMode" : "MERGE_COLLECTIONS"
}
},
"RULE" : {
"org.kie.server.controller.api.model.spec.RuleConfig" : {
"pollInterval" : null,
"scannerStatus" : "STOPPED"
}
}
},
"status" : "STARTED"
} ],
"server-config" : { },
"server-instances" : [ {
"server-instance-id" : "test-kie-server@localhost:8080",
"server-name" : "test-kie-server@localhost:8080",
"server-template-id" : "test-kie-server",
"server-url" : "http://localhost:8080/kie-server/services/rest/server"
} ],
"capabilities" : [ "RULE", "PROCESS", "PLANNING" ]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<server-template>
<server-id>test-kie-server</server-id>
<server-name>test-kie-server</server-name>
<container-specs>
<container-id>evaluation_1.0.0-SNAPSHOT</container-id>
<container-name>evaluation</container-name>
<server-template-key>
<server-id>test-kie-server</server-id>
<server-name>test-kie-server</server-name>
</server-template-key>
<release-id>
<artifact-id>evaluation</artifact-id>
<group-id>evaluation</group-id>
<version>1.0.0-SNAPSHOT</version>
</release-id>
<configs>
<entry>
<key>PROCESS</key>
<value xsi:type="processConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<runtimeStrategy>SINGLETON</runtimeStrategy>
<kbase></kbase>
<ksession></ksession>
<mergeMode>MERGE_COLLECTIONS</mergeMode>
</value>
</entry>
<entry>
<key>RULE</key>
<value xsi:type="ruleConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scannerStatus>STOPPED</scannerStatus>
</value>
</entry>
</configs>
<status>STARTED</status>
</container-specs>
<configs/>
<server-instances>
<server-instance-id>test-kie-server@localhost:8080</server-instance-id>
<server-name>test-kie-server@localhost:8080</server-name>
<server-template-id>test-kie-server</server-template-id>
<server-url>http://localhost:8080/kie-server/services/rest/server</server-url>
</server-instances>
<capabilities>RULE</capabilities>
<capabilities>PROCESS</capabilities>
<capabilities>PLANNING</capabilities>
</server-template>
PUT /controller/management/servers/{serverTemplateId}
Type | Name | Description | Schema |
---|---|---|---|
Path |
serverTemplateId |
ID of the new KIE Server template |
string |
Body |
body |
A map containing the server-name, capabilities, and other components of the new KIE Server template |
string |
HTTP Code | Description | Schema |
---|---|---|
201 |
KIE Server template successfully created |
No Content |
400 |
Controller exception |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/sample-server
{
"server-id" : "sample-server",
"server-name" : "sample-server",
"capabilities" : [
"RULE", "PROCESS", "PLANNING" ],
"container-specs" : [ ],
"server-config" : { }
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<server-template-details>
<server-id>sample-server</server-id>
<server-name>sample-server</server-name>
<configs/>
<capabilities>RULE</capabilities>
<capabilities>PROCESS</capabilities>
<capabilities>PLANNING</capabilities>
</server-template-details>
{
"type" : "SUCCESS",
"msg" : "Server template sample-server successfully created",
"result" : null
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response type="SUCCESS" msg="Server template sample-server successfully created"/>
DELETE /controller/management/servers/{serverTemplateId}
Type | Name | Description | Schema |
---|---|---|---|
Path |
serverTemplateId |
ID of the KIE Server template to be deleted |
string |
HTTP Code | Description | Schema |
---|---|---|
204 |
KIE Server template successfully deleted |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/test-kie-server
GET /controller/management/servers/{serverTemplateId}/containers
Type | Name | Description | Schema |
---|---|---|---|
Path |
serverTemplateId |
ID of the KIE Server template for which you are retrieving KIE containers |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE containers |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
application/xml
application/json
/controller/management/servers/test-kie-server/containers
{
"container-spec" : [ {
"container-id" : "evaluation_1.0.0-SNAPSHOT",
"container-name" : "evaluation",
"server-template-key" : {
"server-id" : "test-kie-server",
"server-name" : "test-kie-server"
},
"release-id" : {
"group-id" : "evaluation",
"artifact-id" : "evaluation",
"version" : "1.0.0-SNAPSHOT"
},
"configuration" : {
"PROCESS" : {
"org.kie.server.controller.api.model.spec.ProcessConfig" : {
"runtimeStrategy" : "SINGLETON",
"kbase" : "",
"ksession" : "",
"mergeMode" : "MERGE_COLLECTIONS"
}
},
"RULE" : {
"org.kie.server.controller.api.model.spec.RuleConfig" : {
"pollInterval" : null,
"scannerStatus" : "STOPPED"
}
}
},
"status" : "STARTED"
} ]
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<container-spec-list>
<container-spec>
<container-id>evaluation_1.0.0-SNAPSHOT</container-id>
<container-name>evaluation</container-name>
<server-template-key>
<server-id>test-kie-server</server-id>
<server-name>test-kie-server</server-name>
</server-template-key>
<release-id>
<artifact-id>evaluation</artifact-id>
<group-id>evaluation</group-id>
<version>1.0.0-SNAPSHOT</version>
</release-id>
<configs>
<entry>
<key>PROCESS</key>
<value xsi:type="processConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<runtimeStrategy>SINGLETON</runtimeStrategy>
<kbase></kbase>
<ksession></ksession>
<mergeMode>MERGE_COLLECTIONS</mergeMode>
</value>
</entry>
<entry>
<key>RULE</key>
<value xsi:type="ruleConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scannerStatus>STOPPED</scannerStatus>
</value>
</entry>
</configs>
<status>STARTED</status>
</container-spec>
</container-spec-list>
POST /controller/management/servers/{serverTemplateId}/containers/{containerId}
Type | Name | Description | Schema | Default |
---|---|---|---|---|
Path |
containerId |
ID of the KIE container to be updated |
string |
|
Path |
serverTemplateId |
ID of the KIE Server template associated with the KIE container |
string |
|
Query |
resetBeforeUpdate |
Determines whether active processes are aborted (reset) before updating when the server runs in development mode |
boolean |
|
Body |
body |
A map containing the updated specifications for the KIE container |
string |
HTTP Code | Description | Schema |
---|---|---|
201 |
KIE container successfully updated |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE Server template or KIE container not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT
{
"container-id" : "evaluation_1.0.0-SNAPSHOT",
"container-name" : "evaluation",
"server-template-key" : null,
"release-id" : {"
"group-id" : "evaluation",
"artifact-id" : "evaluation",
"version" : "1.0.0-SNAPSHOT"
},
"configuration" : {
"RULE" : {
"org.kie.server.controller.api.model.spec.RuleConfig" : {
"pollInterval" : null,
"scannerStatus" : "STOPPED"
}
},
"PROCESS" : {
"org.kie.server.controller.api.model.spec.ProcessConfig" : {
"runtimeStrategy" : "SINGLETON",
"kbase" : "",
"ksession" : "",
"mergeMode" : "MERGE_COLLECTIONS"
}
}
},
"status" : "STARTED"
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<container-spec-details>
<container-id>evaluation_1.0.0-SNAPSHOT</container-id>
<container-name>evaluation</container-name>
<release-id>
<artifact-id>evaluation</artifact-id>
<group-id>evaluation</group-id>
<version>1.0.0-SNAPSHOT</version>
</release-id>
<configs>
<entry>
<key>RULE</key>
<value xsi:type="ruleConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scannerStatus>STOPPED</scannerStatus>
</value>
</entry>
<entry>
<key>PROCESS</key>
<value xsi:type="processConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<runtimeStrategy>SINGLETON</runtimeStrategy>
<kbase></kbase>
<ksession></ksession>
<mergeMode>MERGE_COLLECTIONS</mergeMode>
</value>
</entry>
</configs>
<status>STARTED</status>
</container-spec-details>
GET /controller/management/servers/{serverTemplateId}/containers/{containerId}
Type | Name | Description | Schema |
---|---|---|---|
Path |
containerId |
ID of the KIE container to be retrieved |
string |
Path |
serverTemplateId |
ID of the KIE Server template associated with the KIE container |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE container |
No Content |
400 |
Controller exception |
No Content |
404 |
Container Specification or KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
application/xml
application/json
/controller/management/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT
{
"container-id" : "evaluation_1.0.0-SNAPSHOT",
"container-name" : "evaluation",
"server-template-key" : {
"server-id" : "test-kie-server",
"server-name" : "test-kie-server"
},
"release-id" : {
"group-id" : "evaluation",
"artifact-id" : "evaluation",
"version" : "1.0.0-SNAPSHOT"
},
"configuration" : {
"PROCESS" : {
"org.kie.server.controller.api.model.spec.ProcessConfig" : {
"runtimeStrategy" : "SINGLETON",
"kbase" : "",
"ksession" : "",
"mergeMode" : "MERGE_COLLECTIONS"
}
},
"RULE" : {
"org.kie.server.controller.api.model.spec.RuleConfig" : {
"pollInterval" : null,
"scannerStatus" : "STOPPED"
}
}
},
"status" : "STARTED"
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<container-spec-details>
<container-id>evaluation_1.0.0-SNAPSHOT</container-id>
<container-name>evaluation</container-name>
<server-template-key>
<server-id>test-kie-server</server-id>
<server-name>test-kie-server</server-name>
</server-template-key>
<release-id>
<artifact-id>evaluation</artifact-id>
<group-id>evaluation</group-id>
<version>1.0.0-SNAPSHOT</version>
</release-id>
<configs>
<entry>
<key>PROCESS</key>
<value xsi:type="processConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<runtimeStrategy>SINGLETON</runtimeStrategy>
<kbase></kbase>
<ksession></ksession>
<mergeMode>MERGE_COLLECTIONS</mergeMode>
</value>
</entry>
<entry>
<key>RULE</key>
<value xsi:type="ruleConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scannerStatus>STOPPED</scannerStatus>
</value>
</entry>
</configs>
<status>STARTED</status>
</container-spec-details>
PUT /controller/management/servers/{serverTemplateId}/containers/{containerId}
You set the KIE container configurations in the request body
Type | Name | Description | Schema |
---|---|---|---|
Path |
containerId |
ID of the new KIE container |
string |
Path |
serverTemplateId |
ID of the KIE Server template associated with the new KIE container |
string |
Body |
body |
A map containing the container-name, relevant release-id (group ID, artifact ID, and version), configuration specifications (rule, process, planning), and other components of the new KIE container |
string |
HTTP Code | Description | Schema |
---|---|---|
201 |
KIE container successfully deployed |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT
{
"container-id" : "evaluation_1.0.0-SNAPSHOT",
"container-name" : "evaluation",
"server-template-key" : null,
"release-id" : {"
"group-id" : "evaluation",
"artifact-id" : "evaluation",
"version" : "1.0.0-SNAPSHOT"
},
"configuration" : {
"RULE" : {
"org.kie.server.controller.api.model.spec.RuleConfig" : {
"pollInterval" : null,
"scannerStatus" : "STOPPED"
}
},
"PROCESS" : {
"org.kie.server.controller.api.model.spec.ProcessConfig" : {
"runtimeStrategy" : "SINGLETON",
"kbase" : "",
"ksession" : "",
"mergeMode" : "MERGE_COLLECTIONS"
}
}
},
"status" : "STARTED"
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<container-spec-details>
<container-id>evaluation_1.0.0-SNAPSHOT</container-id>
<container-name>evaluation</container-name>
<release-id>
<artifact-id>evaluation</artifact-id>
<group-id>evaluation</group-id>
<version>1.0.0-SNAPSHOT</version>
</release-id>
<configs>
<entry>
<key>RULE</key>
<value xsi:type="ruleConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scannerStatus>STOPPED</scannerStatus>
</value>
</entry>
<entry>
<key>PROCESS</key>
<value xsi:type="processConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<runtimeStrategy>SINGLETON</runtimeStrategy>
<kbase></kbase>
<ksession></ksession>
<mergeMode>MERGE_COLLECTIONS</mergeMode>
</value>
</entry>
</configs>
<status>STARTED</status>
</container-spec-details>
DELETE /controller/management/servers/{serverTemplateId}/containers/{containerId}
Type | Name | Description | Schema |
---|---|---|---|
Path |
containerId |
ID of the KIE container to be disposed |
string |
Path |
serverTemplateId |
ID of the KIE Server template associated with the KIE container |
string |
HTTP Code | Description | Schema |
---|---|---|
204 |
KIE container successfully disposed |
No Content |
400 |
Controller exception |
No Content |
404 |
Container Specification or KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT
POST /controller/management/servers/{serverTemplateId}/containers/{containerId}/config/{capability}
Type | Name | Description | Schema |
---|---|---|---|
Path |
capability |
KIE container capability to be applied (RULE, PROCESS, or PLANNING, case sensitive) |
string |
Path |
containerId |
ID of the KIE container to be updated |
string |
Path |
serverTemplateId |
ID of the KIE Server template associated with the KIE container |
string |
Body |
body |
An org.kie.server.controller.api.model.spec.<capability>Config map containing the configurations for the specified KIE container capability, such as runtimeStrategy, kbase, ksession, and mergeMode for process configuration |
string |
HTTP Code | Description | Schema |
---|---|---|
201 |
KIE container successfully updated |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE container or KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT/config/PROCESS
{
"org.kie.server.controller.api.model.spec.ProcessConfig" : {
"runtimeStrategy" : "SINGLETON",
"kbase" : null,
"ksession" : null,
"mergeMode" : "MERGE_COLLECTIONS"
}
}
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<process-config>
<runtimeStrategy>SINGLETON</runtimeStrategy>
<mergeMode>MERGE_COLLECTIONS</mergeMode>
</process-config>
POST /controller/management/servers/{serverTemplateId}/containers/{containerId}/status/activated
Type | Name | Description | Schema |
---|---|---|---|
Path |
containerId |
ID of the KIE container to be activated |
string |
Path |
serverTemplateId |
ID of the KIE Server template associated with the KIE container |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE container successfully activated |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE container or KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT/status/activated
POST /controller/management/servers/{serverTemplateId}/containers/{containerId}/status/deactivated
Type | Name | Description | Schema |
---|---|---|---|
Path |
containerId |
ID of the KIE container to be deactivated |
string |
Path |
serverTemplateId |
ID of the KIE Server template associated with the KIE container |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE container successfully deactivated |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE container or KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT/status/deactivated
POST /controller/management/servers/{serverTemplateId}/containers/{containerId}/status/started
Type | Name | Description | Schema |
---|---|---|---|
Path |
containerId |
ID of the KIE container to be started |
string |
Path |
serverTemplateId |
ID of the KIE Server template associated with the KIE container |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE Container successfully started |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE container or KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT/status/started
POST /controller/management/servers/{serverTemplateId}/containers/{containerId}/status/stopped
Type | Name | Description | Schema |
---|---|---|---|
Path |
containerId |
ID of the KIE container to be stopped |
string |
Path |
serverTemplateId |
ID of the KIE Server template associated with the KIE container |
string |
HTTP Code | Description | Schema |
---|---|---|
200 |
KIE container successfully stopped |
No Content |
400 |
Controller exception |
No Content |
404 |
KIE container or KIE Server template not found |
No Content |
500 |
Unexpected error |
No Content |
application/xml
application/json
/controller/management/servers/test-kie-server/containers/evaluation_1.0.0-SNAPSHOT/status/stopped
Want to talk to the experts? Red Hat offers certified binaries with enterprise consulting. See services for more information.