mirror of https://github.com/apache/lucene.git
SOLR-11608: Correctly parse the new core-name in the V2 core rename API.
This commit is contained in:
parent
75d11eafac
commit
ebdaa44182
|
@ -150,6 +150,9 @@ Bug Fixes
|
|||
admin UI dashboard would not display any commandline arguments.
|
||||
(Webster Homer via Shawn Heisey)
|
||||
|
||||
* SOLR-11608: Correctly parse the new core-name in the V2 core rename API.
|
||||
(Jason Gerlowski via Anshum Gupta)
|
||||
|
||||
Optimizations
|
||||
----------------------
|
||||
* SOLR-11285: Refactor autoscaling framework to avoid direct references to Zookeeper and Solr
|
||||
|
|
|
@ -58,7 +58,7 @@ public class TestCoreAdminApis extends SolrTestCaseJ4 {
|
|||
|
||||
TestCollectionAPIs.makeCall(apiBag, "/cores/core1", SolrRequest.METHOD.POST,
|
||||
"{rename:{to: core2}}", mockCC);
|
||||
params = calls.get("swap");
|
||||
params = calls.get("rename");
|
||||
assertEquals("core1" ,params[0]);
|
||||
assertEquals("core2" ,params[1]);
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ public class CoreApiMapping {
|
|||
RELOAD(PER_CORE_COMMANDS, POST, CoreAdminAction.RELOAD, "reload", null),
|
||||
STATUS(CORES_STATUS, GET, CoreAdminAction.STATUS, "status", null),
|
||||
SWAP(PER_CORE_COMMANDS, POST, CoreAdminAction.SWAP, "swap", Utils.makeMap("other", "with")),
|
||||
RENAME(PER_CORE_COMMANDS, POST, CoreAdminAction.RENAME, "rename", null),
|
||||
RENAME(PER_CORE_COMMANDS, POST, CoreAdminAction.RENAME, "rename", Utils.makeMap("other", "to")),
|
||||
MERGEINDEXES(PER_CORE_COMMANDS, POST, CoreAdminAction.MERGEINDEXES, "merge-indexes", null),
|
||||
SPLIT(PER_CORE_COMMANDS, POST, CoreAdminAction.SPLIT, "split", Utils.makeMap("split.key", "splitKey")),
|
||||
PREPRECOVERY(PER_CORE_COMMANDS, POST, CoreAdminAction.PREPRECOVERY, "prep-recovery", null),
|
||||
|
|
Loading…
Reference in New Issue