Resolves build numbers to versions of JIRA.
Simple result object for representing the build number and version together.
Checks the consistency of JIRA.
Implement this to create a Downgrade Task.
Used to determine if upgrade task should be run and what target version number should be stored in database.
Component used for providing JIRA upgrade tasks.
Service for managing Upgrades.
A record of JIRA being upgraded from one version to another.
This manages storing and retrieving information from the
Provides read-only access to the upgrade history of the current JIRA instance.
Abstract DowngradeTask - takes care of providing DB access via OfBizDelegator or DbConnectionManager.
Simple implementation of
Upgrade service for data import process.
Default implementation which looks up the known versions from the file build-versions.properties.
Allows to run every upgrade task (this needs to be fixed as it should only be allowed to run upgrade task up to current build number) and returns
BuildUtilsInfo.getApplicationBuildNumber() as a target database number.
Upgrade service that executes upgrades depending on which upgrades are pending.
Upgrade service that schedules execution of upgrade tasks based on JIRA configuration.
Fires a reindex if required by a downgrade task that ran previously
Parses the downgrades.xml file.
Used to drop old indexes as ofBiz don't drop it automatically.
Upgrade service for the first data import.
This provides the
UpgradeTaskFactory for running upgrades on the host application.
Upgrade service that triggers Lucene indexing after upgrading process is finished.
Old upgrade tasks will extend this.
This is the same basic structure as
JiraPluginSettings and was copied
in the case that JiraPluginSettings was ever re-written we want this to work in a legacy way.
Event subclass that intercepts the
Event.setProgress(int) in order to provide some status to
the log file (using log4j).
Wraps upgrade operations with logging.
Starts the JIRA plugins system with ALL available plugins
Issues a JiraStartedEvent to launch the Jira Plugin upgrade task
Checks if installed plugin is eligible for upgrading.
Handles plugin upgrades and makes sure no upgrades happen simultaneously.
Upgrade service used in setup process.
In Jira 8.2.0 we introduced a bug by not respecting the contract between plugins and jira core on the
Handles reindex operations for JIRA upgrades.
Tests if an upgrade is necessary, and performs it.
Provides parameters required to perform JIRA upgrade.
Result of the upgrade process
Used for scheduling the execution of delayed upgrade tasks.
Track status of a task this session, if isTaskDone(String) returns true you don't need to do it again.
DAO used to store the current build version of the host and the plugins.
Downgrade Tasks can use this to request a reindex after the downgrade is complete.
Indicates an error that occured while trying to downgrade JIRA such that the downgrade cannot complete successfully.
Indicates that the downgrade cannot proceed because at least one required Downgrade task is missing.
Indicates an error during upgrade process.
Copyright © 2002-2023 Atlassian. All Rights Reserved.