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

Wrong annotation is used for "processInstanceId" in ProcessAdminResource#migrateProcessInstanceWithSubprocess method + ProcessAdminClient new methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • 7.51.0.Final
    • KieServer, Migration
    • None
    • False
    • False
    • NEW
    • NEW
    • Undefined
    • ---
    • ---

      Expected url for migration service method migrateProcessInstanceWithSubprocess is as the example below:

      http://localhost:46655/kie-server-services/services/rest/server/admin/containers/definition-project/processes/instances/6/subprocess?targetContainerId=myTargetContainerId&targetProcessId=myTargetProcessId

      However, expected param "processInstanceId" is marked with annotation "@QueryParam", forcing to pass the "processInstanceId" in the query url as well. Instead, it should be "@PathParam"

      In addition, we need to update the ProcessAdminClient java class to make use of these new methods (migrateProcessInstanceWithSubprocess).

              antferna Antonio Fernandez Alhambra (Inactive)
              antferna Antonio Fernandez Alhambra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: