@@ -67,7 +67,7 @@ null, null, null, null, new FsInfo(0L, null, paths), null, null, null,
6767 public void testHttpEnabledCheck () {
6868 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
6969 "HTTP Enabled setting removed" ,
70- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
70+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
7171 "#remove-http-enabled" ,
7272 "nodes with http.enabled set: [node_check]" );
7373 assertSettingsAndIssue ("http.enabled" , Boolean .toString (randomBoolean ()), expected );
@@ -76,7 +76,7 @@ public void testHttpEnabledCheck() {
7676 public void testAuditLoggingPrefixSettingsCheck () {
7777 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
7878 "Audit log node info settings renamed" ,
79- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
79+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
8080 "#audit-logfile-local-node-info" ,
8181 "nodes with audit log settings that have been renamed: [node_check]" );
8282 assertSettingsAndIssue ("xpack.security.audit.logfile.prefix.emit_node_host_address" , Boolean .toString (randomBoolean ()), expected );
@@ -87,7 +87,7 @@ public void testAuditLoggingPrefixSettingsCheck() {
8787 public void testIndexThreadPoolCheck () {
8888 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
8989 "Index thread pool removed in favor of combined write thread pool" ,
90- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
90+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
9191 "#_index_thread_pool" ,
9292 "nodes with index thread pool settings: [node_check]" );
9393 assertSettingsAndIssue ("thread_pool.index.size" , Integer .toString (randomIntBetween (1 , 20000 )), expected );
@@ -97,7 +97,7 @@ public void testIndexThreadPoolCheck() {
9797 public void testBulkThreadPoolCheck () {
9898 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
9999 "Bulk thread pool renamed to write thread pool" ,
100- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
100+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
101101 "#write-thread-pool-fallback" ,
102102 "nodes with bulk thread pool settings: [node_check]" );
103103 assertSettingsAndIssue ("thread_pool.bulk.size" , Integer .toString (randomIntBetween (1 , 20000 )), expected );
@@ -108,7 +108,7 @@ public void testTribeNodeCheck() {
108108 String tribeSetting = "tribe." + randomAlphaOfLengthBetween (1 , 20 ) + ".cluster.name" ;
109109 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
110110 "Tribe Node removed in favor of Cross Cluster Search" ,
111- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
111+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
112112 "#_tribe_node_removed" ,
113113 "nodes with tribe node settings: [node_check]" );
114114 assertSettingsAndIssue (tribeSetting , randomAlphaOfLength (5 ), expected );
@@ -117,7 +117,7 @@ public void testTribeNodeCheck() {
117117 public void testHttpPipeliningCheck () {
118118 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
119119 "HTTP pipelining setting removed as pipelining is now mandatory" ,
120- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
120+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
121121 "#remove-http-pipelining-setting" ,
122122 "nodes with http.pipelining set: [node_check]" );
123123 assertSettingsAndIssue ("http.pipelining" , Boolean .toString (randomBoolean ()), expected );
@@ -165,7 +165,7 @@ null, null, null, null, new FsInfo(0L, null, paths), null, null, null,
165165
166166 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .CRITICAL ,
167167 "Discovery configuration is required in production mode" ,
168- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
168+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
169169 "#_discovery_configuration_is_required_in_production" ,
170170 "nodes which do not have discovery configured: [node_check]" );
171171 List <DeprecationIssue > issues = DeprecationChecks .filterChecks (NODE_SETTINGS_CHECKS , c -> c .apply (nodeInfos , nodeStats ));
@@ -183,7 +183,7 @@ public void testAzurePluginCheck() {
183183
184184 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .WARNING ,
185185 "Azure Repository settings changed" ,
186- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
186+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
187187 "#_azure_repository_plugin" ,
188188 "nodes with repository-azure installed: [node_check]" );
189189 assertSettingsAndIssue ("foo" , "bar" , expected );
@@ -198,7 +198,7 @@ public void testGCSPluginCheck() {
198198
199199 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .WARNING ,
200200 "GCS Repository settings changed" ,
201- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
201+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
202202 "#_google_cloud_storage_repository_plugin" ,
203203 "nodes with repository-gcs installed: [node_check]" );
204204 assertSettingsAndIssue ("foo" , "bar" , expected );
@@ -213,7 +213,7 @@ public void testFileDiscoveryPluginCheck() {
213213
214214 DeprecationIssue expected = new DeprecationIssue (DeprecationIssue .Level .WARNING ,
215215 "File-based discovery is no longer a plugin and uses a different path" ,
216- "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_70_cluster_changes .html" +
216+ "https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking-changes-7.0 .html" +
217217 "#_file_based_discovery_plugin" ,
218218 "nodes with discovery-file installed: [node_check]" );
219219 assertSettingsAndIssue ("foo" , "bar" , expected );
0 commit comments