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
    • checkoutRepository

      void checkoutRepository(WorkflowReleaseContext context, Locale locale)
      Checkout 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
    • sendTweet

      void sendTweet(WorkflowReleaseContext context, Locale locale)
      Send tweet.
      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)
      Update the master* branch counterpart with the new stable version : checkout master*, set the pom version to the stable version, commit and push. 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
    • markDevelopIntegratedInMaster

      void markDevelopIntegratedInMaster(WorkflowReleaseContext context, Locale locale)
      On master*, merge develop* with the "ours" strategy and push : records develop* as integrated without changing master*'s content, so the next merge will not conflict on the version line. Skipped if there is no master* counterpart.
      Parameters:
      context - the context
      locale - the locale