Uses of Class
fr.paris.lutece.plugins.releaser.business.ReleaserUser
Packages that use ReleaserUser
Package
Description
-
Uses of ReleaserUser in fr.paris.lutece.plugins.releaser.business
Methods in fr.paris.lutece.plugins.releaser.business that return ReleaserUserModifier and TypeMethodDescriptionWorkflowReleaseContext.getReleaserUser()Gets the releaser user.Methods in fr.paris.lutece.plugins.releaser.business with parameters of type ReleaserUserModifier and TypeMethodDescriptionvoidWorkflowReleaseContext.setReleaserUser(ReleaserUser _releaserUser) Sets the releaser user. -
Uses of ReleaserUser in fr.paris.lutece.plugins.releaser.service
Methods in fr.paris.lutece.plugins.releaser.service with parameters of type ReleaserUserModifier and TypeMethodDescriptionstatic SiteSiteService.changeSiteBranch(Site site, String strBranchName, ReleaserUser user, javax.servlet.http.HttpServletRequest request, Locale locale) Changes the site branch and reloads version information and components from the new branch POM.ComponentService.getComponentBranchList(Component component, RepositoryType repositoryType, ReleaserUser user) IComponentService.getComponentBranchList(Component component, RepositoryType repositoryType, ReleaserUser user) Set list of all component branchesComponentService.getComponentTagList(Component component, RepositoryType repositoryType, ReleaserUser user) Clone the component repo (if needed) and populatecomponent.setTags(...)with the pre-release tags (beta and RC) of this artifactId, used by the "release from tag" workflow.IComponentService.getComponentTagList(Component component, RepositoryType repositoryType, ReleaserUser user) Clone the component repo (if needed) and populatecomponent.setTags(...)with the pre-release tags (beta and RC) of this artifactId, used by the "release from tag" workflow.ComponentService.getLastBranchVersion(Component component, String branchName, ReleaserUser user) IComponentService.getLastBranchVersion(Component component, String branchName, ReleaserUser user) static SiteSiteService.getSiteBranchList(Site site, ReleaserUser user) Gets the branch list for a site repository.static voidReleasePreparationService.initComponents(Site site, ReleaserUser user, Predicate<Component> projectSelector) Initialize the component list of an aggregate from its current dependencies : remote informations, target versions, next snapshot versions and release branches.Constructors in fr.paris.lutece.plugins.releaser.service with parameters of type ReleaserUserModifierConstructorDescriptionGetRemoteInformationsTask(Component component, ReleaserUser user) Instantiates a new gets the remote informations task. -
Uses of ReleaserUser in fr.paris.lutece.plugins.releaser.service.platform
Methods in fr.paris.lutece.plugins.releaser.service.platform with parameters of type ReleaserUserModifier and TypeMethodDescriptionPlatformStepTask.buildCredentialParameters(ReleaserUser user) Builds the build parameters carrying the credentials of the person releasing : login and token of GitHub and GitLab when the user gave them.static voidPlatformReleaseService.checkComponentBranch(Component component, int nCoreMajor, ReleaserUser user, Locale locale) Checks that the branch of a component to release carries what the plan expects, before anything is sent to the pipeline : the version of its POM must be the SNAPSHOT referenced by the aggregate, and a parent of the core line (lutece-global-pom, lutece-site-pom) must be of the core version of the campaign.static StringPlatformReleaseService.checkLaunchPermissions(Site site, ReleaserUser user) Checks, before a real launch, that the user may push on the GitHub repositories the step will touch : the aggregate, always committed, and every component to release.static StringPlatformReleaseService.checkMasterBranches(PlatformReleasePlan plan, ReleaserUser user, Locale locale) Checks, before a real launch, that the master branch each released resource will be merged into exists on its repository : the pipeline merges after the deploy, a missing branch would leave the artifacts published and the build failed without rollback.PlatformReleaseService.getBranchHeads(PlatformReleaseStep step, Site site, ReleaserUser user) Reads the current commit of the branch of every resource verified OK or with a warning, in parallel and with the credentials of the user : a resource whose branch moved since its verification is stale.PlatformReleaseService.getCredentialProblems(Site site, ReleaserUser user) Diagnoses the credentials of the user for the hosts of the components of a step : missing when none was given, refused when every component of the host had its branch listing rejected for authentication and none succeeded.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 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 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.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.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. -
Uses of ReleaserUser in fr.paris.lutece.plugins.releaser.util
Methods in fr.paris.lutece.plugins.releaser.util that return ReleaserUserModifier and TypeMethodDescriptionstatic ReleaserUserReleaserUtils.getReleaserUser(javax.servlet.http.HttpServletRequest request, Locale locale) Gets the releaser user.Methods in fr.paris.lutece.plugins.releaser.util with parameters of type ReleaserUserModifier and TypeMethodDescriptionstatic StringReleaserUtils.checkGithubWritePermission(IReleaserResource resource, ReleaserUser user) Checks that the user credentials grant the GitHub write (push) permission required to release a resource.static voidReleaserUtils.populateReleaserUser(javax.servlet.http.HttpServletRequest request, ReleaserUser user) Populate releaser user.static voidReleaserUtils.setReleaserUser(javax.servlet.http.HttpServletRequest request, ReleaserUser releaserUser) Sets the releaser user.