ijioio commented on code in PR #931:
URL: https://github.com/apache/solr/pull/931#discussion_r924042769


##########
solr/core/src/java/org/apache/solr/handler/admin/CoreAdminHandler.java:
##########
@@ -154,6 +155,27 @@ public Boolean registerV2() {
     return Boolean.TRUE;
   }
 
+  /**
+   * Registers custom actions defined in {@code solr.xml}. Called from the 
{@link CoreContainer}
+   * during load process.
+   */
+  public void registerCustomActions(Map<String, CoreAdminOp> customActions) {

Review Comment:
   Done



##########
solr/core/src/java/org/apache/solr/core/CoreContainer.java:
##########
@@ -2157,6 +2169,12 @@ public void waitForLoadingCore(String name, long 
timeoutMs) {
     solrCores.waitForLoadingCoreToFinish(name, timeoutMs);
   }
 
+  // ---------------- Core admin handler operations --------------
+
+  protected <A> A createCoreAdminHandlerOperation(String operationClass, 
Class<A> clazz) {
+    return loader.newInstance(operationClass, clazz, null, null, null);

Review Comment:
   Done



-- 
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: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to