Resolves build numbers to versions of JIRA.
Simple result object for representing the build number and version together.
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.
Simple representation of an upgrade performed in history.
This manages storing and retrieving information from the
Abstract DowngradeTask - takes care of providing DB access via OfBizDelegator or DbConnectionManager.
Simple implementation of
since 7.0; only required during migration of 6.x HSQL installation to 7.x H2
The consistency checker runs every time the web app is reloaded, and checks JIRA's consistency (duh ;))
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.
Job to run any delayed upgrade tasks.
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.
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
Upgrade service used in setup process.
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.
Copyright © 2002-2017 Atlassian. All Rights Reserved.