mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Search-2142: Configuring the right api endpoint, as the context changes from solr, solr admin and alfresco apis (#50)
This commit is contained in:
@@ -127,6 +127,7 @@ public class SearchSQLAPI extends ModelRequest<SearchSQLAPI>
|
||||
public SearchSQLAPI(RestWrapper restWrapper)
|
||||
{
|
||||
super(restWrapper);
|
||||
restWrapper.configureAlfrescoEndpoint();
|
||||
RestAssured.basePath = "alfresco/api/-default-/public/search/versions/1";
|
||||
restWrapper.configureRequestSpec().setBasePath(RestAssured.basePath);
|
||||
}
|
||||
|
@@ -42,6 +42,7 @@ public class ShardInfoAPI extends ModelRequest<ShardInfoAPI>
|
||||
public ShardInfoAPI(RestWrapper restWrapper)
|
||||
{
|
||||
super(restWrapper);
|
||||
restWrapper.configureAlfrescoEndpoint();
|
||||
RestAssured.basePath = "alfresco/api/-default-/private/search/versions/1";
|
||||
restWrapper.configureRequestSpec().setBasePath(RestAssured.basePath);
|
||||
}
|
||||
|
Reference in New Issue
Block a user