OpenSearch/qa
Jay Modi 3edadfefd0 RestHandlers declare handled routes (#52123)
This commit changes how RestHandlers are registered with the
RestController so that a RestHandler no longer needs to register itself
with the RestController. Instead the RestHandler interface has new
methods which when called provide information about the routes
(method and path combinations) that are handled by the handler
including any deprecated and/or replaced combinations.

This change also makes the publication of RestHandlers safe since they
no longer publish a reference to themselves within their constructors.

Closes #51622

Co-authored-by: Jason Tedor <jason@tedor.me>

Backport of #51950
2020-02-09 22:48:32 -07:00
..
ccs-unavailable-clusters Backport remote proxy mode stats and naming (#50402) 2019-12-19 18:02:48 -07:00
die-with-dignity RestHandlers declare handled routes (#52123) 2020-02-09 22:48:32 -07:00
evil-tests Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
full-cluster-restart Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08:00
logging-config ThreadPool and ThreadContext are not closeable (#43249) (#49273) 2019-11-19 13:15:16 -07:00
mixed-cluster Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08:00
multi-cluster-search Backport remote proxy mode stats and naming (#50402) 2019-12-19 18:02:48 -07:00
no-bootstrap-tests Spawn controller processes from a different directory on macOS (#47013) 2019-09-27 14:02:40 +01:00
os Introduce jvm.options.d for customizing JVM options (#51882) 2020-02-08 18:50:14 -05:00
remote-clusters Add Docker-based tests for proxy connection mode (#51658) 2020-02-03 09:45:38 +01:00
repository-multi-version Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08:00
rolling-upgrade Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08:00
smoke-test-client Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-http RestHandlers declare handled routes (#52123) 2020-02-09 22:48:32 -07:00
smoke-test-ingest-disabled Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-ingest-with-all-dependencies Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-multinode Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-plugins Testclusters: convert left-overs from checkPart1 (#43370) 2019-06-25 19:14:45 +03:00
unconfigured-node-name Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
verify-version-constants Always use bundled JDK for external cluster nodes when BWC testing (#51505) (#51701) 2020-01-30 14:35:43 -08:00
wildfly Dump wildfly log on start failure (#49892) 2019-12-06 15:55:01 -08:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00