Package com.atlassian.jira.upgrade.tasks
Class UpgradeTask_Build10000001
java.lang.Object
com.atlassian.jira.upgrade.AbstractUpgradeTask
com.atlassian.jira.upgrade.AbstractDelayableUpgradeTask
com.atlassian.jira.upgrade.tasks.AbstractMd5ToShaWorkflowMigrationUpgradeTask
com.atlassian.jira.upgrade.tasks.UpgradeTask_Build10000001
- All Implemented Interfaces:
UpgradeTask,com.atlassian.upgrade.spi.UpgradeTask
Upgrade task converting the use of MD5 in the propertyentry table for workflow layouts to SHA256.
This is needed for FedRAMP compliance in Jira Cloud to remove the usage of MD5 completely. Changes has
to be made in Jira DC as well for compatibility with the changes in Cloud.
Currently, in the `propertyentry` table, workflow layouts are stored with the property key `jira.workflow.layout.v5:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.jira.upgrade.UpgradeTask
UpgradeTask.ScheduleOption, UpgradeTask.Status -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.atlassian.jira.upgrade.tasks.AbstractMd5ToShaWorkflowMigrationUpgradeTask
isDowngradeTaskRequiredMethods inherited from class com.atlassian.jira.upgrade.AbstractDelayableUpgradeTask
getScheduleOptionMethods inherited from class com.atlassian.jira.upgrade.AbstractUpgradeTask
addError, addErrors, addErrors, convertToSchemaTableName, dependsUpon, getApplicationProperties, getDatabaseConnection, getDatabaseType, getDatabaseUtil, getDelegator, getEntityEngine, getErrors, getI18nBean, getOfBizDelegator, getReindexRequestService, getSchemaName, isMSSQL, isMYSQL, isORACLE, isPostgreSQL, runUpgrade
-
Field Details
-
BUILD_NUMBER
public static final int BUILD_NUMBER- See Also:
-
-
Constructor Details
-
UpgradeTask_Build10000001
-
-
Method Details
-
getBuildNumber
public int getBuildNumber()- Returns:
- The build number that this upgrade is applicable to
-
getShortDescription
Description copied from interface:UpgradeTaskA short (<50 chars) description of the upgrade action -
doUpgrade
public void doUpgrade(boolean setupMode) Description copied from interface:UpgradeTaskPerform the upgrade.- Specified by:
doUpgradein interfaceUpgradeTask- Overrides:
doUpgradein classAbstractMd5ToShaWorkflowMigrationUpgradeTask- Parameters:
setupMode- Indicating this upgrade task is running during set up.
-
getLayoutPropertyKeyPrefix
- Specified by:
getLayoutPropertyKeyPrefixin classAbstractMd5ToShaWorkflowMigrationUpgradeTask
-
getLayoutPropertyNewKeyPrefix
- Specified by:
getLayoutPropertyNewKeyPrefixin classAbstractMd5ToShaWorkflowMigrationUpgradeTask
-
getDraftLayoutPropertyKeyPrefix
- Specified by:
getDraftLayoutPropertyKeyPrefixin classAbstractMd5ToShaWorkflowMigrationUpgradeTask
-
getDraftLayoutPropertyNewKeyPrefix
- Specified by:
getDraftLayoutPropertyNewKeyPrefixin classAbstractMd5ToShaWorkflowMigrationUpgradeTask
-
processOldPropertyTextToNewValue
- Specified by:
processOldPropertyTextToNewValuein classAbstractMd5ToShaWorkflowMigrationUpgradeTask
-