mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Merge branch 'master' of https://github.com/wso2/carbon-device-mgt
This commit is contained in:
commit
7e0f4a4b2f
@ -67,7 +67,7 @@ public class APIPublisherConfig {
|
||||
return apiConfigs;
|
||||
}
|
||||
|
||||
public void setApiConfig(List<APIConfig> apiConfigs) {
|
||||
public void setApiConfigs(List<APIConfig> apiConfigs) {
|
||||
this.apiConfigs = apiConfigs;
|
||||
}
|
||||
|
||||
|
||||
@ -173,7 +173,7 @@ public final class DeviceManagerUtil {
|
||||
API api = new API(id);
|
||||
try {
|
||||
api.setContext(config.getContext());
|
||||
api.setUrl(config.getVersion());
|
||||
api.setUrl(config.getEndpoint());
|
||||
api.setUriTemplates(getURITemplates(config.getEndpoint(),
|
||||
APIConstants.AUTH_APPLICATION_OR_USER_LEVEL_TOKEN));
|
||||
api.setVisibility(APIConstants.API_GLOBAL_VISIBILITY);
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
<API>
|
||||
<Name>appmanager</Name>
|
||||
<Owner>admin</Owner>
|
||||
<Context>enrollment</Context>
|
||||
<Context>devices</Context>
|
||||
<Version>1.0.0</Version>
|
||||
<Endpoint>http://localhost:9763/</Endpoint>
|
||||
<Transports>http,https</Transports>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user