public class AppDeployerReleaseManager extends Object implements ReleaseManager
| Modifier and Type | Field and Description |
|---|---|
static String |
SPRING_CLOUD_DEPLOYER_COUNT |
| Constructor and Description |
|---|
AppDeployerReleaseManager(ReleaseRepository releaseRepository,
AppDeployerDataRepository appDeployerDataRepository,
DeployerRepository deployerRepository,
ReleaseAnalyzer releaseAnalyzer,
AppDeploymentRequestFactory appDeploymentRequestFactory,
org.springframework.cloud.skipper.domain.SpringCloudDeployerApplicationManifestReader applicationManifestReader) |
| Modifier and Type | Method and Description |
|---|---|
ReleaseAnalysisReport |
createReport(org.springframework.cloud.skipper.domain.Release existingRelease,
org.springframework.cloud.skipper.domain.Release replacingRelease)
Create a report of what apps should be updated and deleted upon upgrade.
|
org.springframework.cloud.skipper.domain.Release |
delete(org.springframework.cloud.skipper.domain.Release release)
Delete the release
|
org.springframework.cloud.skipper.domain.Release |
install(org.springframework.cloud.skipper.domain.Release releaseInput)
Install the requested release.
|
org.springframework.cloud.skipper.domain.Release |
status(org.springframework.cloud.skipper.domain.Release release)
Get the status of the release, by querying the database.
|
public static final String SPRING_CLOUD_DEPLOYER_COUNT
public AppDeployerReleaseManager(ReleaseRepository releaseRepository, AppDeployerDataRepository appDeployerDataRepository, DeployerRepository deployerRepository, ReleaseAnalyzer releaseAnalyzer, AppDeploymentRequestFactory appDeploymentRequestFactory, org.springframework.cloud.skipper.domain.SpringCloudDeployerApplicationManifestReader applicationManifestReader)
public org.springframework.cloud.skipper.domain.Release install(org.springframework.cloud.skipper.domain.Release releaseInput)
ReleaseManagerinstall in interface ReleaseManagerreleaseInput - the requested releasepublic ReleaseAnalysisReport createReport(org.springframework.cloud.skipper.domain.Release existingRelease, org.springframework.cloud.skipper.domain.Release replacingRelease)
ReleaseManagercreateReport in interface ReleaseManagerexistingRelease - the existing release that is deployedreplacingRelease - the release that is to be deployed in place of the existing
releasepublic org.springframework.cloud.skipper.domain.Release status(org.springframework.cloud.skipper.domain.Release release)
ReleaseManagerReleaseStateUpdateService is
scheduled ot update the state in the database periodically.status in interface ReleaseManagerrelease - the release to update state forpublic org.springframework.cloud.skipper.domain.Release delete(org.springframework.cloud.skipper.domain.Release release)
ReleaseManagerdelete in interface ReleaseManagerrelease - the release to deleteCopyright © 2018 Pivotal Software, Inc.. All rights reserved.