public class ReleaseReportService extends Object
Constructor and Description |
---|
ReleaseReportService(PackageMetadataRepository packageMetadataRepository,
ReleaseRepository releaseRepository,
PackageService packageService,
ReleaseManagerFactory releaseManagerFactory) |
Modifier and Type | Method and Description |
---|---|
ReleaseAnalysisReport |
createReport(org.springframework.cloud.skipper.domain.UpgradeRequest upgradeRequest,
org.springframework.cloud.skipper.domain.RollbackRequest rollbackRequest,
boolean initial)
Merges the configuration values for the replacing release, creates the manfiest, and
creates the Report for the next stage of upgrading a Release.
|
public ReleaseReportService(PackageMetadataRepository packageMetadataRepository, ReleaseRepository releaseRepository, PackageService packageService, ReleaseManagerFactory releaseManagerFactory)
@Transactional public ReleaseAnalysisReport createReport(org.springframework.cloud.skipper.domain.UpgradeRequest upgradeRequest, org.springframework.cloud.skipper.domain.RollbackRequest rollbackRequest, boolean initial)
upgradeRequest
- containing the UpgradeProperties
and
PackageIdentifier
for the update.rollbackRequest
- containing the rollback request if availableinitial
- the flag indicating this is initial report creationCopyright © 2020 Pivotal Software, Inc.. All rights reserved.