Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9561

container-alias attribute is not available in example of business-central swagger REST API to create container

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Major Major
    • None
    • 7.48.0.Final
    • Workbench

      container-alias attribute is not available in 'Example Value' of business-central  REST API to create container in swagger page.

      PUT  /controller/management/servers/{serverTemplateId}/containers/{containerId}

      application/xml content type

      <?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>

       

       

      application/json context type

       

      {
       "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"
      }

              ftirados Francisco Javier Tirado Sarti
              rhn-support-abhumbe Abhijit Humbe
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: