OpenSearch/plugins/examples
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
..
custom-settings Testclusters: support for security and convert example plugins (#41864) 2019-05-08 14:04:00 +03:00
custom-significance-heuristic Move test of custom sig heuristic to plugin (#50891) (#51067) 2020-01-16 14:49:12 -05:00
custom-suggester Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
painless-whitelist Revert "Always test against default distribution when in a FIPS JVM (#51273)" 2020-01-22 12:15:57 -08:00
rescore Fix parameter value for calling data.advanceExact (#44205) 2019-07-18 10:55:10 +02:00
rest-handler RestHandlers declare handled routes (#52123) 2020-02-09 22:48:32 -07:00
script-expert-scoring Scripting: ScriptFactory not required by compile (#50344) (#50392) 2019-12-19 12:50:25 -07:00
security-authorization-engine Refactor cluster privileges and cluster permission (#45265) (#45442) 2019-08-13 09:06:18 +10:00
build.gradle Always test against default distribution when in a FIPS JVM (#51273) (#51333) 2020-01-23 14:54:57 -08:00