Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-6088

I can delete a single process definition

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.6.0, 7.6.0-alpha3
    • Component/s: engine
    • Labels:

      Description

      AT:

      • there is an API method to delete a process definition out of a deployment (regardless how many definitions are in that deployment)
      • all entities dependent on that definition are deleted
      • there is a corresponding REST API method

      Side note:

      • keep in mind that the deployment must still be consistent after deletion

        Issue Links

          Activity

          Show
          sebastian.menski Sebastian Menski added a comment - Please see comments on github: https://github.com/camunda/camunda-bpm-platform/commit/caff9192480887ae0635553064fe3d17751264ad#commitcomment-18454009
          Hide
          sebastian.menski Sebastian Menski added a comment -

          This assertion does not work on history level none: https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/test/java/org/camunda/bpm/engine/test/api/repository/DeleteProcessDefinitionTest.java#L140

          You can run the test suite with history level none using the maven profile: cfghistorynone

          Show
          sebastian.menski Sebastian Menski added a comment - This assertion does not work on history level none: https://github.com/camunda/camunda-bpm-platform/blob/master/engine/src/test/java/org/camunda/bpm/engine/test/api/repository/DeleteProcessDefinitionTest.java#L140 You can run the test suite with history level none using the maven profile: cfghistorynone
          Hide
          christopher.zell Christopher Zell added a comment -

          Thanks. I added a conditional statement to the test case.

          Show
          christopher.zell Christopher Zell added a comment - Thanks. I added a conditional statement to the test case.
          Show
          sebastian.menski Sebastian Menski added a comment - Hi could it be that this error: https://app.camunda.com/jenkins/job/7.6-platform-ASSEMBLY/org.camunda.bpm$camunda-engine-rest-core/250/testReport/junit/org.camunda.bpm.engine.rest/ProcessDefinitionRestServiceInteractionTest/testDeleteNonExistingDeployment/ is related to this ticket?
          Hide
          christopher.zell Christopher Zell added a comment -

          Hey,

          yeah you're right. I fixed this, sorry for that.

          Greetings,
          Chris

          Show
          christopher.zell Christopher Zell added a comment - Hey, yeah you're right. I fixed this, sorry for that. Greetings, Chris

            People

            • Assignee:
              thorben.lindhauer Thorben Lindhauer
              Reporter:
              thorben.lindhauer Thorben Lindhauer
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: