Improve app subscribing API URLs

feature/appm-store/pbac
lasanthaDLPDS 5 years ago
parent aef5b84b16
commit fcc9531805

@ -82,7 +82,7 @@ public interface SubscriptionManagementAPI {
String SCOPE = "scope"; String SCOPE = "scope";
@POST @POST
@Path("/install/{uuid}/devices/{action}") @Path("/{uuid}/devices/{action}")
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON)
@ApiOperation( @ApiOperation(
@ -124,7 +124,7 @@ public interface SubscriptionManagementAPI {
); );
@POST @POST
@Path("/install/{uuid}/{subType}/{action}") @Path("/{uuid}/{subType}/{action}")
@Produces(MediaType.APPLICATION_JSON) @Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON) @Consumes(MediaType.APPLICATION_JSON)
@ApiOperation( @ApiOperation(

@ -49,7 +49,7 @@ public class SubscriptionManagementAPIImpl implements SubscriptionManagementAPI{
@Override @Override
@POST @POST
@Path("/install/{uuid}/devices/{action}") @Path("/{uuid}/devices/{action}")
public Response performAppOperationForDevices( public Response performAppOperationForDevices(
@PathParam("uuid") String uuid, @PathParam("uuid") String uuid,
@PathParam("action") String action, @PathParam("action") String action,
@ -83,7 +83,7 @@ public class SubscriptionManagementAPIImpl implements SubscriptionManagementAPI{
@Override @Override
@POST @POST
@Path("/install/{uuid}/{subType}/{action}") @Path("/{uuid}/{subType}/{action}")
public Response performBulkAppOperation( public Response performBulkAppOperation(
@PathParam("uuid") String uuid, @PathParam("uuid") String uuid,
@PathParam("subType") String subType, @PathParam("subType") String subType,

Loading…
Cancel
Save