mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
Improve api
This commit is contained in:
parent
fb2ab0963d
commit
097423b2b0
@ -149,7 +149,7 @@ public interface SPApplicationService {
|
||||
Response getServiceProviders(@QueryParam("limit") Integer limit, @QueryParam("offset") Integer offset,
|
||||
@PathParam("identity-server-id") int identityServerId);
|
||||
|
||||
@Path("/{identity-server-id}/service-provider/{service-provider-id}/applications")
|
||||
@Path("/{identity-server-id}/service-provider/{service-provider-id}/attach")
|
||||
@POST
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@ApiOperation(
|
||||
@ -170,7 +170,7 @@ public interface SPApplicationService {
|
||||
/**
|
||||
* This method is used to register an APIM application for tenant domain.
|
||||
*/
|
||||
@Path("/{identity-server-id}/service-provider/{service-provider-id}/delete/applications")
|
||||
@Path("/{identity-server-id}/service-provider/{service-provider-id}/detach")
|
||||
@POST
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@ApiOperation(
|
||||
|
||||
@ -98,7 +98,7 @@ public class SPApplicationServiceImpl implements SPApplicationService {
|
||||
}
|
||||
}
|
||||
|
||||
@Path("/{identity-server-id}/service-provider/{service-provider-id}/applications")
|
||||
@Path("/{identity-server-id}/service-provider/{service-provider-id}/attach")
|
||||
@POST
|
||||
@Override
|
||||
public Response attachApps(@PathParam("identity-server-id") int identityServerId,
|
||||
@ -116,7 +116,7 @@ public class SPApplicationServiceImpl implements SPApplicationService {
|
||||
return Response.status(Response.Status.OK).build();
|
||||
}
|
||||
|
||||
@Path("/{identity-server-id}/service-provider/{service-provider-id}/delete/applications")
|
||||
@Path("/{identity-server-id}/service-provider/{service-provider-id}/detach")
|
||||
@POST
|
||||
@Override
|
||||
public Response detachApps(@PathParam("identity-server-id") int identityServerId,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user