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

I can redeploy deployments and deployment resources

    XMLWordPrintable

Details

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

    Description

      The existing DeploymentBuilder is extended with the following API methods:

      • addDeploymentResources(String deploymentId): All existings resources of the given deployment are added to the new deployment and are re-deployed
      • addDeploymentResourceById(String deploymentId, String resourceId): A given deployment resource specified by id and deployment id is added to the new deployment and is re-deployed
      • addDeploymentResourcesById(String deploymentId, String List<String> resourceIds): All given deployment resources specified by id and deployment id are added to the new deployment and are re-deployed
      • addDeploymentResourceByName(String deploymentId, String resourceName): A given deployment resource specified by name and deployment id is added to the new deployment and is re-deployed
      • addDeploymentResourcesByName(String deploymentId, String List<String> resourceNames): All given deployment resources specified by name and deployment id are added to the new deployment and are re-deployed
      • nameFromDeployment(String deployment): Retrieves the deployment from the given deployment (cannot be used in combination with name())

      There exists also a REST endpoint:

      POST /deployment/{id}/redeploy
      
      Request Body:
      
      {
        resourceIds: [ "a-resource-id", "another-resource-id" ],
        resourceNames: [ "a-resource-name", "another-resource-name" ],
        source: "cockpit"
      }
      

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              thorben.lindhauer Thorben Lindhauer
              roman.smirnov Roman Smirnov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce