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

I can redeploy deployments and deployment resources

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: L3 - Default
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.4.0, 7.4.0-alpha3
    • Component/s: engine
    • Labels:
      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"
      }
      

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: