@ -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>
</APIs>
</APIPublisherConfig>