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 eae777c8e3a88..22cd1e7a5c3b0 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 @@ -102,7 +102,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 " @@ -145,7 +145,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 686369b225ea0..f4c06243f32da 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 @@ -104,7 +104,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 " @@ -132,7 +132,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 " @@ -164,7 +164,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 " @@ -181,7 +181,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 " @@ -340,7 +340,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 " @@ -368,7 +368,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 " @@ -400,7 +400,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 " @@ -417,7 +417,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 "