Skip to content

Commit

Permalink
Merge pull request #170 from orchitech/fix-service-upgrade
Browse files Browse the repository at this point in the history
Fix schema XML upgrade step to cover id repo (#168)
  • Loading branch information
karelmaxa authored Feb 27, 2024
2 parents 02458b8 + 8f3cda3 commit 3aa9f53
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
public class SchemaXmlAttributeUpgradeStep extends AbstractUpgradeStep {

private static final String PROGRESS = "upgrade.schema.xml.attributes.progress";
private static final String AM_14 = "14.0.0";
private static final String UPGRADE_VERSION = "15.1.0";

private Map<String, Function<Document, Boolean, XPathExpressionException>> serviceModifications;
private XPath xpath = XPathFactory.newInstance().newXPath();
Expand All @@ -80,7 +80,7 @@ public SchemaXmlAttributeUpgradeStep(PrivilegedAction<SSOToken> adminTokenAction

@Override
public void initialize() throws UpgradeException {
if (!VersionUtils.isCurrentVersionLessThan(AM_14, true)) {
if (!VersionUtils.isCurrentVersionLessThan(UPGRADE_VERSION, true)) {
return;
}

Expand Down

0 comments on commit 3aa9f53

Please sign in to comment.