Fixing bst issue

merge-requests/1/head
Hasunie 8 years ago
parent 222ef41a3f
commit 359bd948d2

@ -36,8 +36,7 @@ import java.util.List;
/** /**
* Interface for Admin operations persisting. This interface accepts operations added via UI. * Interface for Admin operations persisting. This interface accepts operations added via UI.
*/ */
@Api(value = "Windows Device Management Administrative Service",
description = "Device management related admin APIs.")
@SwaggerDefinition( @SwaggerDefinition(
info = @Info( info = @Info(
@ -56,6 +55,8 @@ import java.util.List;
@Tag(name = "devicemgt_windows", description = "") @Tag(name = "devicemgt_windows", description = "")
} }
) )
@Api(value = "Windows Device Management Administrative Service",
description = "Device management related admin APIs.")
@WebService @WebService
@Path("/admin/devices") @Path("/admin/devices")
@Consumes(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON)
@ -367,7 +368,6 @@ public interface DeviceManagementAdminService {
message = "Internal Server Error. \n " + message = "Internal Server Error. \n " +
"Server error occurred while adding adding a lock-reset operation.") "Server error occurred while adding adding a lock-reset operation.")
}) })
//
Response lockReset(@HeaderParam("Accept") String acceptHeader, @ApiParam( Response lockReset(@HeaderParam("Accept") String acceptHeader, @ApiParam(
name = "deviceIDs", name = "deviceIDs",
value = "Provide the ID of the A Windows device. Multiple device IDs can be added by " + value = "Provide the ID of the A Windows device. Multiple device IDs can be added by " +

@ -97,22 +97,14 @@
<jaxrs:server id="Syncmlinitial" address="/syncml"> <jaxrs:server id="Syncmlinitial" address="/syncml">
<jaxrs:serviceBeans> <jaxrs:serviceBeans>
<ref bean="Syncml_initial_bean"/> <ref bean="Syncml_initial_bean"/>
<ref bean="swaggerResource"/>
</jaxrs:serviceBeans> </jaxrs:serviceBeans>
<jaxrs:providers>
<ref bean="swaggerWriter"/>
</jaxrs:providers>
</jaxrs:server> </jaxrs:server>
<!--BST provider Endpoint for returning binary security token after authentication--> <!--BST provider Endpoint for returning binary security token after authentication-->
<jaxrs:server id="bstprovider" address="/federated"> <jaxrs:server id="bstprovider" address="/federated">
<jaxrs:serviceBeans> <jaxrs:serviceBeans>
<ref bean="bstProviderService"/> <ref bean="bstProviderService"/>
<ref bean="swaggerResource"/>
</jaxrs:serviceBeans> </jaxrs:serviceBeans>
<jaxrs:providers>
<ref bean="swaggerWriter"/>
</jaxrs:providers>
</jaxrs:server> </jaxrs:server>
<!--Endpoint for UI admin operations--> <!--Endpoint for UI admin operations-->

Loading…
Cancel
Save