Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,43 @@ public void getSingleParamSet(SolrQueryRequest req, SolrQueryResponse rsp) {
configHandler.handleRequest(req, rsp);
}

// This endpoint currently covers a whole list of paths by using the "component" placeholder
// GET /config/... sections still via SolrConfigHandler.
// Every name SolrConfig.writeMap can emit.
// Delete a path from this list when that section is migrated to Jersey
@EndPoint(
path = {"/config/{component}"},
path = {
"/config/overlay",
"/config/znodeVersion",
"/config/luceneMatchVersion",
"/config/query",
"/config/requestHandler",
"/config/searchComponent",
"/config/updateHandler",
"/config/queryResponseWriter",
"/config/initParams",
"/config/listener",
"/config/directoryFactory",
"/config/indexConfig",
"/config/codecFactory",
"/config/requestDispatcher",
"/config/jmx",
"/config/queryParser",
"/config/valueSourceParser",
"/config/transformer",
"/config/updateProcessor",
"/config/updateRequestProcessorChain",
"/config/queryConverter",
"/config/cache",
"/config/circuitBreaker",
"/config/expressible",
"/config/schemaFactory",
"/config/restManager",
"/config/statsCache",
"/config/recoveryStrategy",
"/config/indexReaderFactory",
"/config/indexConfigdeletionPolicy",
"/config/updateHandlerupdateLog"
},
method = GET,
permission = CONFIG_READ_PERM)
public void getComponentConfig(SolrQueryRequest req, SolrQueryResponse rsp) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public void testGetSingleComponentConfig() {
assertAnnotatedApiExistsFor("GET", "/config/requestDispatcher");
assertAnnotatedApiExistsFor("GET", "/config/znodeVersion");
assertAnnotatedApiExistsFor("GET", "/config/luceneMatchVersion");
assertAnnotatedApiExistsFor("GET", "/config/indexConfigdeletionPolicy");
assertAnnotatedApiExistsFor("GET", "/config/updateHandlerupdateLog");
}

@Test
Expand Down
Loading