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

Incorrect REST API links in the documentation

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 7.7.0.Final
    • Documentation
    • None
    • NEW
    • NEW

    Description

      Hi
      we have discovered incorrect links to the Controller Rest API.
      According to the documentation all management links are missing a "s" in the server word

      Wrong

      [POST] /management/server/{id}/containers/{containerId}/status/started

      Correct
      bq. [POST] /management/servers/{id}/containers/{containerId}/status/started

      The problem affects all links (GET, POST,PUT DELETE) in the Controller REST API.

      There is also a problem in the documentation for Create New Container, the documented request body XML is incorrect.


      Wrong
      <value xsi:type="processConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <strategy>Singleton</strategy>
      <kie-base-name></kie-base-name>
      <kie-session-name></kie-session-name>
      <merge-mode>Merge Collections</merge-mode>
      </value>

      Correct
      <value xsi:type="process-config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <runtimeStrategy>Singleton</runtimeStrategy>
      <kbase></kbase>
      <ksession></ksession>
      <mergeMode>Merge Collections</mergeMode>
      </value>

      Attachments

        Activity

          People

            swiderski.maciej Maciej Swiderski (Inactive)
            kristianszoke Kristian Szoke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: