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";
@POST
@Path("/install/{uuid}/devices/{action}")
@Path("/{uuid}/devices/{action}")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
@ApiOperation(
@ -124,7 +124,7 @@ public interface SubscriptionManagementAPI {
);
@POST
@Path("/install/{uuid}/{subType}/{action}")
@Path("/{uuid}/{subType}/{action}")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
@ApiOperation(

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

Loading…
Cancel
Save