@@ -80,7 +80,7 @@ public void testOldIndicesCheck() {
8080 DeprecationIssue expected = new DeprecationIssue (
8181 DeprecationIssue .Level .CRITICAL ,
8282 "Old index with a compatibility version < 8.0" ,
83- "https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating- 9.0.html" ,
83+ "https://www.elastic.co/guide/en/elastic-stack/ 9.0/upgrading-elastic-stack .html" ,
8484 "This index has version: " + OLD_VERSION .toReleaseVersion (),
8585 false ,
8686 singletonMap ("reindex_required" , true )
@@ -104,8 +104,7 @@ public void testOldTransformIndicesCheck() {
104104 var expected = new DeprecationIssue (
105105 DeprecationIssue .Level .CRITICAL ,
106106 "One or more Transforms write to this index with a compatibility version < 8.0" ,
107- "https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating-9.0.html"
108- + "#breaking_90_transform_destination_index" ,
107+ "https://www.elastic.co/guide/en/elastic-stack/9.0/upgrading-elastic-stack.html#breaking_90_transform_destination_index" ,
109108 "This index was created in version ["
110109 + OLD_VERSION .toReleaseVersion ()
111110 + "] and requires action before upgrading to 9.0. "
@@ -131,8 +130,7 @@ public void testOldIndicesCheckWithMultipleTransforms() {
131130 var expected = new DeprecationIssue (
132131 DeprecationIssue .Level .CRITICAL ,
133132 "One or more Transforms write to this index with a compatibility version < 8.0" ,
134- "https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating-9.0.html"
135- + "#breaking_90_transform_destination_index" ,
133+ "https://www.elastic.co/guide/en/elastic-stack/9.0/upgrading-elastic-stack.html#breaking_90_transform_destination_index" ,
136134 "This index was created in version ["
137135 + OLD_VERSION .toReleaseVersion ()
138136 + "] and requires action before upgrading to 9.0. "
@@ -162,7 +160,7 @@ public void testMultipleOldIndicesCheckWithTransforms() {
162160 new DeprecationIssue (
163161 DeprecationIssue .Level .CRITICAL ,
164162 "One or more Transforms write to this index with a compatibility version < 8.0" ,
165- "https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating- 9.0.html"
163+ "https://www.elastic.co/guide/en/elastic-stack/ 9.0/upgrading-elastic-stack .html"
166164 + "#breaking_90_transform_destination_index" ,
167165 "This index was created in version ["
168166 + OLD_VERSION .toReleaseVersion ()
@@ -178,7 +176,7 @@ public void testMultipleOldIndicesCheckWithTransforms() {
178176 new DeprecationIssue (
179177 DeprecationIssue .Level .CRITICAL ,
180178 "One or more Transforms write to this index with a compatibility version < 8.0" ,
181- "https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating- 9.0.html"
179+ "https://www.elastic.co/guide/en/elastic-stack/ 9.0/upgrading-elastic-stack .html"
182180 + "#breaking_90_transform_destination_index" ,
183181 "This index was created in version ["
184182 + OLD_VERSION .toReleaseVersion ()
@@ -285,7 +283,7 @@ public void testOldIndicesIgnoredWarningCheck() {
285283 DeprecationIssue expected = new DeprecationIssue (
286284 DeprecationIssue .Level .WARNING ,
287285 "Old index with a compatibility version < 8.0 has been ignored" ,
288- "https://www.elastic.co/guide/en/elasticsearch/reference/current/breaking-changes- 9.0.html" ,
286+ "https://www.elastic.co/guide/en/elastic-stack/ 9.0/upgrading-elastic-stack .html" ,
289287 "This read-only index has version: " + OLD_VERSION .toReleaseVersion () + " and will be supported as read-only in 9.0" ,
290288 false ,
291289 singletonMap ("reindex_required" , true )
@@ -336,8 +334,7 @@ public void testOldTransformIndicesIgnoredCheck() {
336334 var expected = new DeprecationIssue (
337335 DeprecationIssue .Level .WARNING ,
338336 "One or more Transforms write to this old index with a compatibility version < 8.0" ,
339- "https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating-9.0.html"
340- + "#breaking_90_transform_destination_index" ,
337+ "https://www.elastic.co/guide/en/elastic-stack/9.0/upgrading-elastic-stack.html#breaking_90_transform_destination_index" ,
341338 "This index was created in version ["
342339 + OLD_VERSION .toReleaseVersion ()
343340 + "] and will be supported as a read-only index in 9.0. "
@@ -363,8 +360,7 @@ public void testOldIndicesIgnoredCheckWithMultipleTransforms() {
363360 var expected = new DeprecationIssue (
364361 DeprecationIssue .Level .WARNING ,
365362 "One or more Transforms write to this old index with a compatibility version < 8.0" ,
366- "https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating-9.0.html"
367- + "#breaking_90_transform_destination_index" ,
363+ "https://www.elastic.co/guide/en/elastic-stack/9.0/upgrading-elastic-stack.html#breaking_90_transform_destination_index" ,
368364 "This index was created in version ["
369365 + OLD_VERSION .toReleaseVersion ()
370366 + "] and will be supported as a read-only index in 9.0. "
@@ -394,7 +390,7 @@ public void testMultipleOldIndicesIgnoredCheckWithTransforms() {
394390 new DeprecationIssue (
395391 DeprecationIssue .Level .WARNING ,
396392 "One or more Transforms write to this old index with a compatibility version < 8.0" ,
397- "https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating- 9.0.html"
393+ "https://www.elastic.co/guide/en/elastic-stack/ 9.0/upgrading-elastic-stack .html"
398394 + "#breaking_90_transform_destination_index" ,
399395 "This index was created in version ["
400396 + OLD_VERSION .toReleaseVersion ()
@@ -410,7 +406,7 @@ public void testMultipleOldIndicesIgnoredCheckWithTransforms() {
410406 new DeprecationIssue (
411407 DeprecationIssue .Level .WARNING ,
412408 "One or more Transforms write to this old index with a compatibility version < 8.0" ,
413- "https://www.elastic.co/guide/en/elasticsearch/reference/current/migrating- 9.0.html"
409+ "https://www.elastic.co/guide/en/elastic-stack/ 9.0/upgrading-elastic-stack .html"
414410 + "#breaking_90_transform_destination_index" ,
415411 "This index was created in version ["
416412 + OLD_VERSION .toReleaseVersion ()
0 commit comments