diff --git a/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecker.java b/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecker.java index 8a1e63caaae25..b44f0264b5239 100644 --- a/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecker.java +++ b/x-pack/plugin/deprecation/src/main/java/org/elasticsearch/xpack/deprecation/IndexDeprecationChecker.java @@ -104,7 +104,7 @@ private DeprecationIssue oldIndicesCheck( return new DeprecationIssue( DeprecationIssue.Level.CRITICAL, "One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", Strings.format( "This index was created in version [%s] and requires action before upgrading to %d.0. The following transforms are " + "configured to write to this index: [%s]. Refer to the migration guide to learn more about how to prepare " @@ -147,7 +147,7 @@ private DeprecationIssue ignoredOldIndicesCheck( return new DeprecationIssue( DeprecationIssue.Level.WARNING, "One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", Strings.format( "This index was created in version [%s] and will be supported as a read-only index in %d.0. The following " + "transforms are no longer able to write to this index: [%s]. Refer to the migration guide to learn more " diff --git a/x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationCheckerTests.java b/x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationCheckerTests.java index dca48cb140441..1dfeceb48b58b 100644 --- a/x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationCheckerTests.java +++ b/x-pack/plugin/deprecation/src/test/java/org/elasticsearch/xpack/deprecation/IndexDeprecationCheckerTests.java @@ -105,7 +105,7 @@ public void testOldTransformIndicesCheck() { var expected = new DeprecationIssue( DeprecationIssue.Level.CRITICAL, "One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", "This index was created in version [" + OLD_VERSION.toReleaseVersion() + "] and requires action before upgrading to " @@ -133,7 +133,7 @@ public void testOldIndicesCheckWithMultipleTransforms() { var expected = new DeprecationIssue( DeprecationIssue.Level.CRITICAL, "One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", "This index was created in version [" + OLD_VERSION.toReleaseVersion() + "] and requires action before upgrading to " @@ -165,7 +165,7 @@ public void testMultipleOldIndicesCheckWithTransforms() { new DeprecationIssue( DeprecationIssue.Level.CRITICAL, "One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", "This index was created in version [" + OLD_VERSION.toReleaseVersion() + "] and requires action before upgrading to " @@ -182,7 +182,7 @@ public void testMultipleOldIndicesCheckWithTransforms() { new DeprecationIssue( DeprecationIssue.Level.CRITICAL, "One or more Transforms write to this index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", "This index was created in version [" + OLD_VERSION.toReleaseVersion() + "] and requires action before upgrading to " @@ -346,7 +346,7 @@ public void testOldTransformIndicesIgnoredCheck() { var expected = new DeprecationIssue( DeprecationIssue.Level.WARNING, "One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", "This index was created in version [" + OLD_VERSION.toReleaseVersion() + "] and will be supported as a read-only index in " @@ -374,7 +374,7 @@ public void testOldIndicesIgnoredCheckWithMultipleTransforms() { var expected = new DeprecationIssue( DeprecationIssue.Level.WARNING, "One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", "This index was created in version [" + OLD_VERSION.toReleaseVersion() + "] and will be supported as a read-only index in " @@ -406,7 +406,7 @@ public void testMultipleOldIndicesIgnoredCheckWithTransforms() { new DeprecationIssue( DeprecationIssue.Level.WARNING, "One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", "This index was created in version [" + OLD_VERSION.toReleaseVersion() + "] and will be supported as a read-only index in " @@ -423,7 +423,7 @@ public void testMultipleOldIndicesIgnoredCheckWithTransforms() { new DeprecationIssue( DeprecationIssue.Level.WARNING, "One or more Transforms write to this old index with a compatibility version < " + Version.CURRENT.major + ".0", - "https://ela.st/es-deprecation-9-transform-destination-index", + "https://www.elastic.co/docs/deploy-manage/upgrade/prepare-to-upgrade#transform-migration", "This index was created in version [" + OLD_VERSION.toReleaseVersion() + "] and will be supported as a read-only index in "