Uploaded image for project: 'Codehaus Cargo'
  1. CARGO-1038

Implement AbstractDeployer.redeploy (with an without monitor)

    Details

    • Type: Improvement
    • Status: Closed (View workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects versions: None
    • Fix versions: 1.1.3
    • Components: Core
    • Labels:
      None

      Description

      Currently:

      • AbstractDeployer.redeploy(Deployable) is not implemented
      • AbstractDeployer.redeploy(Deployable, DeployableMonitor) calls redeploy(Deployable) and wait for the DeployableMonitor to show availability

      This has two issues:

      • A great number of containers implements AbstractDeployer.redeploy(Deployable) as undeploy + deploy -which could be generalized
      • AbstractDeployer.redeploy(Deployable, DeployableMonitor) only waits for deployable availability; as a result if the deployable was deployed before and the redeploy method is "too quick" (mostly, if redeploy implementation was asynchronous; which is the case for some containers), the DeployableMonitor returns with the OLD deployable (and not the one redeployed)

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                savasalitokmen Savas Ali Tokmen (Inactive)
                Reporter:
                savasalitokmen Savas Ali Tokmen (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: