Interface IWorkflowReleaseContextService

All Known Implementing Classes:
WorkflowReleaseContextService

public interface IWorkflowReleaseContextService
The Interface IWorkflowReleaseContextService.
  • Method Details

    • startWorkflowReleaseContext

      void startWorkflowReleaseContext(WorkflowReleaseContext context, int nIdWorkflow, Locale locale, javax.servlet.http.HttpServletRequest request, fr.paris.lutece.portal.business.user.AdminUser user)
      Start workflow release context.
      Parameters:
      context - the context
      nIdWorkflow - the n id workflow
      locale - the locale
      request - the request
      user - the user
    • addWorkflowReleaseContext

      int addWorkflowReleaseContext(WorkflowReleaseContext context)
      Adds the workflow release context.
      Parameters:
      context - the context
      Returns:
      the int
    • saveWorkflowReleaseContext

      void saveWorkflowReleaseContext(WorkflowReleaseContext context)
      Save workflow release context.
      Parameters:
      context - the context
    • getWorkflowReleaseContext

      WorkflowReleaseContext getWorkflowReleaseContext(int nIdContext)
      Gets the workflow release context.
      Parameters:
      nIdContext - the n id context
      Returns:
      the workflow release context
    • getListWorkflowReleaseContextHistory

      List<WorkflowReleaseContext> getListWorkflowReleaseContextHistory(String strArtifactId)
      Gets the list workflow release context history.
      Parameters:
      strArtifactId - the str artifact id
      Returns:
      the list workflow release context history
    • getIdWorkflow

      int getIdWorkflow(WorkflowReleaseContext context)
      Gets the id workflow.
      Parameters:
      context - the context
      Returns:
      the id workflow
    • cloneRepository

      void cloneRepository(WorkflowReleaseContext context, Locale locale)
      Clone repository.
      Parameters:
      context - the context
      locale - the locale
    • mergeDevelopMaster

      void mergeDevelopMaster(WorkflowReleaseContext context, Locale locale)
      Merge develop master.
      Parameters:
      context - the context
      locale - the locale
    • releasePrepareComponent

      void releasePrepareComponent(WorkflowReleaseContext context, Locale locale)
      Release prepare component.
      Parameters:
      context - the context
      locale - the locale
    • releasePrepareSite

      void releasePrepareSite(WorkflowReleaseContext context, Locale locale)
      Release prepare site.
      Parameters:
      context - the context
      locale - the locale
    • releasePerformComponent

      void releasePerformComponent(WorkflowReleaseContext context, Locale locale)
      Release perform component.
      Parameters:
      context - the context
      locale - the locale
    • releasePerformSite

      void releasePerformSite(WorkflowReleaseContext context, Locale locale)
      Release perform site.
      Parameters:
      context - the context
      locale - the locale
    • updateBugtrackerVersions

      void updateBugtrackerVersions(WorkflowReleaseContext context, Locale locale)
      Update bugtracker versions.
      Parameters:
      context - the context
      locale - the locale
    • startReleaseInProgress

      void startReleaseInProgress(String strArtifactId)
      Start release in progress.
      Parameters:
      strArtifactId - the str artifact id
    • stopReleaseInProgress

      void stopReleaseInProgress(String strArtifactId)
      Stop release in progress.
      Parameters:
      strArtifactId - the str artifact id
    • isReleaseInProgress

      boolean isReleaseInProgress(String strArtifactId)
      Checks if is release in progress.
      Parameters:
      strArtifactId - the str artifact id
      Returns:
      true, if is release in progress
    • init

      void init()
      Inits the.
    • createDockerImage

      void createDockerImage(WorkflowReleaseContext workflowReleaseContext, Locale locale)
      Create docker image.
      Parameters:
      context - the context
      locale - the locale
    • prepareReleaseFromTag

      void prepareReleaseFromTag(WorkflowReleaseContext context, Locale locale)
      Prepare a release starting from an existing pre-release tag : checkout the source tag in detached HEAD, set the stable version in the pom (and in plugin xml / core xml / AppInfo if core), commit, create the stable tag locally and push only the new tag to origin.
      Parameters:
      context - the context (must carry the sourceTag)
      locale - the locale
    • deployReleaseFromTag

      void deployReleaseFromTag(WorkflowReleaseContext context, Locale locale)
      Deploy the artifacts of the new stable tag to Nexus, from the detached HEAD prepared by prepareReleaseFromTag(fr.paris.lutece.plugins.releaser.business.WorkflowReleaseContext, java.util.Locale).
      Parameters:
      context - the context
      locale - the locale
    • updateMasterAfterReleaseFromTag

      void updateMasterAfterReleaseFromTag(WorkflowReleaseContext context, Locale locale)
      Merge the stable tag of the release into the master* branch counterpart and push, exactly as the classic release does : master* never carries a commit of its own, so the next merge back from develop* stays clean. Skipped if there is no master* counterpart for the chosen develop* branch.
      Parameters:
      context - the context
      locale - the locale
    • bumpDevelopAfterReleaseFromTag

      void bumpDevelopAfterReleaseFromTag(WorkflowReleaseContext context, Locale locale)
      Bump the develop* branch to the next snapshot version : checkout develop*, compute the next patch snapshot, set the pom version, commit and push.
      Parameters:
      context - the context
      locale - the locale
    • markReleaseIntegratedInDevelop

      void markReleaseIntegratedInDevelop(WorkflowReleaseContext context, Locale locale)
      On develop*, merge the stable tag of the release with the "ours" strategy and push : records the release commit as an ancestor of develop* without changing its content, so that the next merge back into master* has the release as common base and stays clean.
      Parameters:
      context - the context
      locale - the locale