Uses of Class
fr.paris.lutece.plugins.releaser.business.platform.PlatformRelease
Packages that use PlatformRelease
Package
Description
-
Uses of PlatformRelease in fr.paris.lutece.plugins.releaser.business.platform
Methods in fr.paris.lutece.plugins.releaser.business.platform that return PlatformReleaseModifier and TypeMethodDescriptionstatic PlatformReleasePlatformReleaseHome.create(PlatformRelease platformRelease) Create an instance of the platformRelease classstatic PlatformReleasePlatformReleaseHome.findByName(String strName) Returns the campaign with the given name, names being uniquestatic PlatformReleasePlatformReleaseHome.findByPrimaryKey(int nKey) Returns an instance of a platformRelease whose identifier is specified in parameter, without its stepsstatic PlatformReleasePlatformReleaseHome.findByPrimaryKeyWithSteps(int nKey) Returns an instance of a platformRelease whose identifier is specified in parameter, with its steps and its step 0 loadedIPlatformReleaseDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablePlatformReleaseDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableIPlatformReleaseDAO.loadByName(String strName, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the campaign with the given name, names being uniquePlatformReleaseDAO.loadByName(String strName, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the campaign with the given name, names being uniquestatic PlatformReleasePlatformReleaseHome.update(PlatformRelease platformRelease) Update of the platformRelease which is specified in parameterMethods in fr.paris.lutece.plugins.releaser.business.platform that return types with arguments of type PlatformReleaseModifier and TypeMethodDescriptionstatic List<PlatformRelease>PlatformReleaseHome.getPlatformReleasesList()Load the data of all the platformRelease objects and returns them as a list, most recent firstIPlatformReleaseDAO.selectPlatformReleasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the PlatformRelease objects and returns them as a list, most recent firstPlatformReleaseDAO.selectPlatformReleasesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the PlatformRelease objects and returns them as a list, most recent firstMethods in fr.paris.lutece.plugins.releaser.business.platform with parameters of type PlatformReleaseModifier and TypeMethodDescriptionstatic PlatformReleasePlatformReleaseHome.create(PlatformRelease platformRelease) Create an instance of the platformRelease classvoidIPlatformReleaseDAO.insert(PlatformRelease platformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.voidPlatformReleaseDAO.insert(PlatformRelease platformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.voidIPlatformReleaseDAO.store(PlatformRelease platformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the tablevoidPlatformReleaseDAO.store(PlatformRelease platformRelease, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the tablestatic PlatformReleasePlatformReleaseHome.update(PlatformRelease platformRelease) Update of the platformRelease which is specified in parameter -
Uses of PlatformRelease in fr.paris.lutece.plugins.releaser.service.platform
Methods in fr.paris.lutece.plugins.releaser.service.platform that return PlatformReleaseModifier and TypeMethodDescriptionstatic PlatformReleasePlatformReleaseService.createPlatformRelease(String strName, PlatformReleaseType releaseType, int nCoreMajor, String strUserName) Creates a campaign with its 5 steps : the first one ready, the others to do.Methods in fr.paris.lutece.plugins.releaser.service.platform with parameters of type PlatformReleaseModifier and TypeMethodDescriptionstatic voidPlatformReleaseService.applyPipelineParameters(PlatformRelease campaign, int nStepNumber, PlatformReleasePlan plan) Copies the pipeline parameters chosen on the screen into the plan of a step before it is sent.static PlatformReleasePlanPlatformReleaseService.buildPlan(PlatformRelease campaign, int nStepNumber, Site site, boolean bDryRun, Locale locale) Builds the plan of a step : the flagged components that must be released, with the same rule as a site release (Component.shouldBeReleased(): a component whose snapshot is not the last one available, a downgrade or a theme is not released), plus the components released from a tag, in release order, then the aggregate with the version updates to apply to its POM.static PlatformReleasePlanPlatformReleaseService.buildPlan(PlatformRelease campaign, int nStepNumber, Site site, PlatformStepMode mode, Locale locale) Builds the plan of a step for a release, a simulation or a verification, seePlatformReleaseService.buildPlan(PlatformRelease, int, Site, boolean, Locale).static voidPlatformReleaseService.cancelDowngradeComponent(PlatformRelease campaign, int nStepNumber, Site site, String strArtifactId) Cancels the downgrade of a component of a step, its target being then chosen again for the release type of the step.static voidPlatformReleaseService.cancelUpgradeComponent(PlatformRelease campaign, int nStepNumber, Site site, String strArtifactId) Cancels the use of a newer release for a component of a step, and forgets the choice.static booleanPlatformPrecheckService.canLaunch(PlatformRelease campaign) Whether the step 0 of a campaign can be launched : it is not running.static booleanPlatformReleaseService.canPrepareStep(PlatformRelease campaign, int nStepNumber) Whether a step can be prepared : the first step always, the others once the previous step is completed (success or skipped) and the step itself is not already running or done ; the last step also needs the export of the campaign to have been checked.static booleanPlatformReleaseService.canSkipStep(PlatformRelease campaign, int nStepNumber) Whether a step can be skipped : global-pom, site-pom and core may have nothing to release ; the platform plugins and starters steps are the purpose of the campaign and can never be skipped.static booleanPlatformReleaseService.canVerifyExport(PlatformRelease campaign) Whether the CSV export may be marked as verified : only once step 4 succeeded and while step 5 has not been run.static voidPlatformReleaseService.completeStep(PlatformRelease campaign, PlatformReleaseStep step, PlatformStepResult result, String strJenkinsResult) Records the success of a step and unlocks the next one.static voidPlatformReleaseService.cycleTargetVersion(PlatformRelease campaign, int nStepNumber, Site site) Moves the target version of the aggregate of a step to the next candidate of the release type of the step.static voidPlatformReleaseService.cycleTargetVersion(PlatformRelease campaign, int nStepNumber, Site site, String strArtifactId) Moves the target version of a component of a step to the next candidate of the release type of the step, unlike the site screen which goes through every candidate.static intPlatformReleaseService.deselectSnapshotComponents(PlatformRelease campaign, int nStepNumber, Site site) Unflags every component flagged as to be released in a step and not released by a previous attempt, the reverse ofPlatformReleaseService.selectSnapshotComponents(PlatformRelease, int, Site, ReleaserUser, Locale).static voidPlatformReleaseService.downgradeComponent(PlatformRelease campaign, int nStepNumber, Site site, String strArtifactId) Uses, instead of releasing it, the last release of a component of a step, and keeps the choice.static StringPlatformReleaseService.exportCsv(PlatformRelease campaign) Exports the plans of every step of a campaign, components then aggregate, one line per resource.static voidPlatformReleaseService.failStep(PlatformRelease campaign, PlatformReleaseStep step, String strJenkinsResult) Records the failure of a step : the campaign stays on this step, which can be prepared and sent again.static voidPlatformReleaseService.failStep(PlatformRelease campaign, PlatformReleaseStep step, String strJenkinsResult, PlatformStepResult partialResult) Records the failure of a step with the partial report of the pipeline : the components released before the failure are stored, so that the next attempt of the step does not release them again.static voidPlatformReleaseService.finishDryRun(PlatformRelease campaign, PlatformReleaseStep step, String strJenkinsResult, String strReport) Records the end of a dry run : nothing was released, the step is ready again and keeps the Jenkins result and the report of the build for information.static voidPlatformReleaseService.finishVerification(PlatformRelease campaign, PlatformReleaseStep step, String strJenkinsResult, String strReport, Map<String, PlatformResourceVerification> mapVerifications) Ends a verification : the step goes back to READY like after a simulation, the verifications read from the pipeline replace the previous ones of the same resources and keep the others (a retest of some components only), the report of the verification is the report of the step.PlatformReleaseService.getEffectivePipelineParameters(PlatformRelease campaign, int nStepNumber, Site site) Returns the pipeline parameters shown on the screen of a step :the chosen ones (target, SNAPSHOT tolerance), completed with the values computed from the campaign and the prepared aggregate (core, next snapshot), shown for information only.static PlatformReleaseStepPlatformPrecheckService.getPrecheckStep(PlatformRelease campaign) Returns the step 0 of a campaign, created when missing (campaigns created before the step 0).PlatformReleaseService.getStayedInPrereleaseComponents(PlatformRelease campaign, int nStepNumber, Site site) Returns the components of a step not to release that stayed in beta or RC, with the campaign that released their beta or RC when known.static PlatformReleaseStepPlatformReleaseService.getStep(PlatformRelease campaign, int nStepNumber) Returns a step of a campaign, the step 0 included.static StringPlatformReleaseService.getStepLockReason(PlatformRelease campaign, int nStepNumber, boolean bSkip) Returns why a step cannot be prepared or skipped, as the i18n key of the message to show.static PlatformReleaseTypePlatformReleaseService.getStepReleaseType(PlatformRelease campaign, PlatformStepCode code) Returns the release type of a step : stable for the stable-only steps, the campaign type otherwise.static StringPlatformReleaseService.getStepReport(PlatformRelease campaign, int nStepNumber) Returns the report of the last build of a step, simulation included.static booleanPlatformReleaseService.hasSelectableSnapshotComponents(PlatformRelease campaign, int nStepNumber, Site site) Tells whether a step still has components thatPlatformReleaseService.selectSnapshotComponents(PlatformRelease, int, Site, ReleaserUser, Locale)would flag.static booleanPlatformReleaseService.isRunning(PlatformRelease campaign) Whether a step of the campaign is being run : a Jenkins build is in progress and the campaign must not be removed.static booleanPlatformPrecheckService.launch(PlatformRelease campaign, ReleaserUser user, Locale locale) Launches the step 0 : takes the census, then sends the resources not already to fix to the step pipeline.static voidPlatformReleaseService.launchStep(PlatformRelease campaign, int nStepNumber, PlatformReleasePlan plan, ReleaserUser user, Locale locale) Launches a step : records the plan, marks the step running and hands the Jenkins dialog over to a background task of the release thread pool.static voidPlatformReleaseService.loadParentVersions(PlatformRelease campaign, int nStepNumber, Site site) Proposes, for the aggregate and every component of a step whose parent is a POM of the core line (lutece-global-pom, lutece-site-pom), the last version of that parent when it is newer than the declared one : the version released by the campaign at the step of that parent, otherwise the last release published in Nexus for the core version of the campaign.static SitePlatformReleaseService.loadStepAggregate(PlatformRelease campaign, int nStepNumber, ReleaserUser user, Locale locale) Loads the aggregate of a step in a transient site : clone, POM, components according to the step source, remote informations, target versions according to the release type, versions already released by the previous steps.static booleanPlatformReleaseService.rearmStep(PlatformRelease campaign, int nStepNumber) Rearms a running step that nobody follows : its known Jenkins build is followed again until its result is recorded ; without a known build the step is failed, so that it can be prepared and launched again.static voidPlatformReleaseService.releaseFromTag(PlatformRelease campaign, int nStepNumber, Site site, String strArtifactId, ReleaserUser user, Locale locale) Flags a component that stayed in beta or RC as to be released in stable from its tag, found on its repository ("artifactId-version", otherwise "vversion").static PlatformStepResultPlatformPrecheckService.runCensus(PlatformRelease campaign, ReleaserUser user, Locale locale) Takes the census of the SNAPSHOT of the campaign : loads the aggregate of every step, runs the instant checks, then stores the result and the plan of the step pipeline in the step 0.static intPlatformReleaseService.selectSnapshotComponents(PlatformRelease campaign, int nStepNumber, Site site, ReleaserUser user, Locale locale) Flags every component of a step that can be released as to be released : still in SNAPSHOT, not flagged yet, not released by a previous attempt, without blocking anomaly and without pending upgrade, the same rule as the "add" button of a component line.static voidPlatformReleaseService.skipStep(PlatformRelease campaign, int nStepNumber) Skips a step and unlocks the next one.static voidPlatformReleaseService.startStep(PlatformRelease campaign, PlatformReleaseStep step, PlatformReleasePlan plan) Records the start of a step : the plan sent to Jenkins, the step and the campaign running.static voidPlatformReleaseService.toggleProjectComponent(PlatformRelease campaign, int nStepNumber, Site site, String strArtifactId, ReleaserUser user, Locale locale) Toggles the "to be released" flag of a component of a step, like a site component.static voidPlatformReleaseService.upgradeAllParents(PlatformRelease campaign, int nStepNumber, Site site) Chooses the upgrade of the parent POM of the aggregate and of every flagged component of a step whose parent has a newer version.static voidPlatformReleaseService.upgradeComponent(PlatformRelease campaign, int nStepNumber, Site site, String strArtifactId) Uses the newer release published in Nexus for a component of a step, and keeps the choice.static voidPlatformReleaseService.upgradeParent(PlatformRelease campaign, int nStepNumber, Site site, String strArtifactId, boolean bUpgrade) Chooses, or gives up, the upgrade of the parent POM of a resource of a step to its last version.static voidPlatformReleaseService.useLatestSnapshot(PlatformRelease campaign, int nStepNumber, Site site, String strArtifactId, boolean bUse, ReleaserUser user, Locale locale) Releases a flagged component from the last SNAPSHOT published in Nexus instead of the older SNAPSHOT still referenced by the aggregate POM, or goes back to the POM version.static voidPlatformReleaseService.usePomVersion(PlatformRelease campaign, int nStepNumber, Site site, boolean bParent, String strChoice, Locale locale) Records the choice made for a version of the platform POM : "keep" to leave the POM as it is, a version to let the pipeline set it before the release, null to forget the choice.