merge-requests/7/head
mharindu 10 years ago
parent 4a4349382a
commit 3d69503e96

@ -179,7 +179,7 @@ public final class DeviceManagerUtil {
getURITemplates(config.getEndpoint(), APIConstants.AUTH_APPLICATION_OR_USER_LEVEL_TOKEN));
api.setVisibility(APIConstants.API_GLOBAL_VISIBILITY);
api.addAvailableTiers(provider.getTiers());
api.setEndpointSecured(false);
api.setEndpointSecured(true);
api.setStatus(APIStatus.PUBLISHED);
api.setTransports(config.getTransports());

@ -50,5 +50,13 @@
<Endpoint>http://localhost:9763/operations</Endpoint>
<Transports>http,https</Transports>
</API>
<API>
<Name>deviceList</Name>
<Owner>admin</Owner>
<Context>devices</Context>
<Version>1.0.0</Version>
<Endpoint>http://localhost:9763/devices</Endpoint>
<Transports>http,https</Transports>
</API>
</APIs>
</APIPublisherConfig>

Loading…
Cancel
Save