You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
RestApiManager.java checks for the RestAPI server on the Default group because it instantiates a default ServerManager without providing a group name.
Proposed Fix:
com.marklogic.mgmt.api.restapi RestApi.java should pass it's group variable as an argument when it instantiates an instance of the RestApiManager.
RestApiManager should have a private String variable for storing group name and include a constructor that accepts a group name argument. If no group name is provided, it remains null. When ServerManager gets created as part of the call to restApiServerExists, if group != null, the group name should be passed as an argument with the ServerManager constructor.
The text was updated successfully, but these errors were encountered:
Thanks @gku11ava - how soon do you need a fix? I can toss out a 3.8.4 fairly quickly, just wondering if I should wait for any other issues to pop up, or if you'd like this ASAP (ASAP is totally fine).
@rjrudin It's not a major priority as we can workaround it by having a default group configured (even if it is empty). There doesn't seem to be a problem in subsequent deployments where the Rest API server already exists.
RestApiManager.java checks for the RestAPI server on the Default group because it instantiates a default ServerManager without providing a group name.
Proposed Fix:
com.marklogic.mgmt.api.restapi RestApi.java should pass it's group variable as an argument when it instantiates an instance of the RestApiManager.
RestApiManager should have a private String variable for storing group name and include a constructor that accepts a group name argument. If no group name is provided, it remains null. When ServerManager gets created as part of the call to restApiServerExists, if group != null, the group name should be passed as an argument with the ServerManager constructor.
The text was updated successfully, but these errors were encountered: