Rest API doesn't handle shard.method when creating a new shard

Description

If I perform a request to create a new shard using the attached postman file the parameter shard.method is ignored.

The problem seems to be in https://github.com/Alfresco/InsightEngine/blob/68a1251591912dd8af0e294a6f1205cf40dd9142/search-services/alfresco-search/src/main/java/org/alfresco/solr/AlfrescoCoreAdminHandler.java#L526

 

Please verify that all configurations relate to the sharding method DB_ID_RANGE are correctly saved.

A draft branch is available here:

Environment

None

Assignee

Unassigned

Reporter

Davide Cerbo

Labels

None

Regression

None

Bug Priority

Category 2

Delivery Team

None

Release Train

None

Affects versions