Uses of Class
fr.paris.lutece.plugins.releaser.business.Site
Packages that use Site
Package
Description
-
Uses of Site in fr.paris.lutece.plugins.releaser.business
Methods in fr.paris.lutece.plugins.releaser.business that return SiteModifier and TypeMethodDescriptionstatic SiteCreate an instance of the site classstatic SiteSiteHome.findByPrimaryKey(int nKey) Returns an instance of a site whose identifier is specified in parameterWorkflowReleaseContext.getSite()Gets the site.ISiteDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableSiteDAO.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablestatic SiteUpdate of the site which is specified in parameterMethods in fr.paris.lutece.plugins.releaser.business that return types with arguments of type SiteModifier and TypeMethodDescriptionSiteHome.findByCluster(int nClusterId) Find all sites for a given clusterCluster.getSites()Returns the list of sitesSiteHome.getSitesList()Load the data of all the site objects and returns them as a listISiteDAO.selectByCluster(int nClusterId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find all sites for a given clusterSiteDAO.selectByCluster(int nClusterId, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find all sites for a given clusterISiteDAO.selectSitesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the site objects and returns them as a listSiteDAO.selectSitesList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the site objects and returns them as a listMethods in fr.paris.lutece.plugins.releaser.business with parameters of type SiteModifier and TypeMethodDescriptionstatic SiteCreate an instance of the site classvoidInsert a new record in the table.voidInsert a new record in the table.voidSets the site.voidUpdate the record in the tablevoidUpdate the record in the tablestatic SiteUpdate of the site which is specified in parameterMethod parameters in fr.paris.lutece.plugins.releaser.business with type arguments of type Site -
Uses of Site in fr.paris.lutece.plugins.releaser.service
Methods in fr.paris.lutece.plugins.releaser.service that return SiteModifier 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.static SiteLoad a site from its id.static SiteSiteService.getSiteBranchList(Site site, ReleaserUser user) Gets the branch list for a site repository.Methods in fr.paris.lutece.plugins.releaser.service that return types with arguments of type SiteModifier and TypeMethodDescriptionSiteService.getAuthorizedSites(int clusterId, fr.paris.lutece.portal.business.user.AdminUser adminUser) Methods in fr.paris.lutece.plugins.releaser.service with parameters of type SiteModifier and TypeMethodDescriptionstatic voidSiteService.buildComments(Site site, Locale locale) Build release comments for a given site.static voidReleasePreparationService.buildComponentsComments(Site site, Locale locale) Rebuilds the release comments of every component of an aggregate.static voidSiteService.cancelDowngradeComponent(Site site, String strArtifactId) Cancel downgrade component.static voidSiteService.cancelUpgradeComponent(Site site, String strArtifactId) Cancel upgrade component.static voidSiteService.changeNextReleaseVersion(Site site) Change the next release version.static voidSiteService.changeNextReleaseVersion(Site site, String strArtifactId) Change the next release version.static 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.static voidReleasePreparationService.defineAggregateVersions(Site site, String strLastReleaseVersion) Define the aggregate versions from its origin version : next release, next snapshot, target versions list and cycling index.static voidSiteService.downgradeComponent(Site site, String strArtifactId) Downgrade component.SiteService.generateTargetPOM(Site site) Generate the pom.xml file for a given sitestatic IntegerReleasePreparationService.getCoreLine(Site site) Returns the core version of an aggregate : its parent major converted byReleasePreparationService.toCoreLine(int).static IntegerReleasePreparationService.getCoreMajor(Site site) Returns the core version of an aggregate, read from the major of its parent POM version : the lutece-site-pom of a site, the core of a platform campaign.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.static booleanSiteService.isSiteCreateDockerImage(Site site) static intSiteService.releaseComponent(Site site, String strArtifactId, Locale locale, fr.paris.lutece.portal.business.user.AdminUser user, javax.servlet.http.HttpServletRequest request, boolean bForce) Release component.SiteService.releaseSite(Site site, Locale locale, fr.paris.lutece.portal.business.user.AdminUser user, javax.servlet.http.HttpServletRequest request) Release site.static voidSiteService.toggleProjectComponent(Site site, String strArtifactId) Add or Remove a component from the project's components list.static voidSiteService.updateComponentAsProjectStatus(Site site, String strArtifactId, Boolean bIsProject) Update component as project status.static voidSiteService.upgradeComponent(Site site, String strArtifactId) Upgrade component. -
Uses of Site in fr.paris.lutece.plugins.releaser.service.git
Methods in fr.paris.lutece.plugins.releaser.service.git with parameters of type SiteModifier and TypeMethodDescriptionFetch the pom.xml content from a repositoryGitResourceService.getLastRelease(Site site, String strGitLogin, String strGitPwd) Gets the last release found in the Git repository. -
Uses of Site in fr.paris.lutece.plugins.releaser.service.platform
Methods in fr.paris.lutece.plugins.releaser.service.platform that return SiteModifier and TypeMethodDescriptionstatic 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.Methods in fr.paris.lutece.plugins.releaser.service.platform with parameters of type SiteModifier and TypeMethodDescriptionstatic voidPlatformReleaseService.applyReleaseType(Site site, PlatformReleaseType releaseType) Selects, among the next versions of an aggregate, the one matching the release type.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 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 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.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.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.PlatformReleaseService.getFromTagComponents(int nIdPlatformRelease, int nStepNumber, Site site) Returns the components of a step released in stable from the tag of the beta or RC they stayed in.PlatformReleaseService.getLatestSnapshotCandidates(Site site) Returns the flagged components whose POM SNAPSHOT is behind the last one published in Nexus, offered the "release the last SNAPSHOT" choice.PlatformReleaseService.getLatestSnapshotComponents(int nIdPlatformRelease, int nStepNumber, Site site) Returns the components of a step for which the "release the last published SNAPSHOT" choice is active.static List<RepositoryType>PlatformReleaseService.getNeededRepositoryTypes(Site site) Returns the repository types a step needs credentials for : the host of its aggregate, then the hosts of its components, in order.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.PlatformReleaseService.getVerificationStatuses(PlatformReleaseStep step, Site site, Map<String, String> mapBranchHeads) Returns the verification status of each resource to release in a prepared step, "groupId:artifactId" to OK, TO_FIX, WARNING, NOT_VERIFIED or STALE : the components to release, then the aggregate.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.isValidReleaseTarget(String strReleaseTarget, Site site) Tells whether a release target sent for the lutece-platform pipeline is one the screen offers : all, or a module of the aggregate.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 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 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.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. -
Uses of Site in fr.paris.lutece.plugins.releaser.util
Methods in fr.paris.lutece.plugins.releaser.util with parameters of type SiteModifier and TypeMethodDescriptionFetch pom.IVCSResourceService.getLastRelease(Site site, String strLogin, String strPassword) Gets the last release.static StringReleaserUtils.getLocalSitePath(Site site) Gets the local site path.static StringReleaserUtils.getLocalSitePomPath(Site site) Gets the local site pom path.static StringReleaserUtils.getSiteTagName(Site site) Gets the site tag name. -
Uses of Site in fr.paris.lutece.plugins.releaser.util.pom
Methods in fr.paris.lutece.plugins.releaser.util.pom with parameters of type SiteModifier and TypeMethodDescriptionvoidParses the.static StringPomUpdater.updateSiteAfterTag(Site site, String strSiteLocalPomPath) Update site after tag.static StringPomUpdater.updateSiteBeforeTag(Site site, String strSiteLocalPomPath) Update site before tag.