gerlowskija commented on code in PR #955:
URL: https://github.com/apache/solr/pull/955#discussion_r937085915
##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -801,7 +815,11 @@ public void load() {
ClusterAPI clusterAPI = new ClusterAPI(collectionsHandler,
configSetsHandler);
containerHandlers.getApiBag().registerObject(clusterAPI);
containerHandlers.getApiBag().registerObject(clusterAPI.commands);
- containerHandlers.getApiBag().registerObject(clusterAPI.configSetCommands);
+ containerHandlers.getApiBag().registerObject(new CreateConfigSetAPI(this));
+ containerHandlers.getApiBag().registerObject(new DeleteConfigSetAPI(this));
+ containerHandlers.getApiBag().registerObject(new ListConfigSetsAPI(this));
+ containerHandlers.getApiBag().registerObject(new UploadConfigSetAPI(this));
+ containerHandlers.getApiBag().registerObject(new
UploadConfigSetFileAPI(this));
Review Comment:
I've moved these out to ApiRegistrar, which at least gives us some
short-term improvement here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]