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

I can delete a single process definition

    • Icon: Feature Request Feature Request
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 7.6.0, 7.6.0-alpha3
    • None
    • engine

      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

        This is the controller panel for Smart Panels app

            [CAM-6088] I can delete a single process definition

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

            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

            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

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

            Christopher Kujawa added a comment - Thanks. I added a conditional statement to the test case.

            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?

            Hey,

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

            Greetings,
            Chris

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

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

                Created:
                Updated:
                Resolved: