revert-70aa11f8
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)); getURITemplates(config.getEndpoint(), APIConstants.AUTH_APPLICATION_OR_USER_LEVEL_TOKEN));
api.setVisibility(APIConstants.API_GLOBAL_VISIBILITY); api.setVisibility(APIConstants.API_GLOBAL_VISIBILITY);
api.addAvailableTiers(provider.getTiers()); api.addAvailableTiers(provider.getTiers());
api.setEndpointSecured(false); api.setEndpointSecured(true);
api.setStatus(APIStatus.PUBLISHED); api.setStatus(APIStatus.PUBLISHED);
api.setTransports(config.getTransports()); api.setTransports(config.getTransports());

@ -50,5 +50,13 @@
<Endpoint>http://localhost:9763/operations</Endpoint> <Endpoint>http://localhost:9763/operations</Endpoint>
<Transports>http,https</Transports> <Transports>http,https</Transports>
</API> </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> </APIs>
</APIPublisherConfig> </APIPublisherConfig>

Loading…
Cancel
Save