@Test public void patchGroup() throws IOException { String sampleGroupId = randomUUID().toString(); PatchBody patchBody = readRequestObjectFromFile("patch_group.json", PatchBody.class); wireMockServer.stubFor(patch(urlEqualTo("/Groups/" + sampleGroupId)).willReturn(noContent())); SCIMResponse<Void> response = SCIMClientService.builder(DEFAULT_URL) .addProperty(SET_METHOD_WORKAROUND, true) .build() .buildGroupRequest() .patchGroup(patchBody, sampleGroupId); assertTrue(response.isSuccess()); }
public SCIMResponse<Void> patchGroup(PatchBody patchBody, String groupId) { return resourceRequestDelegate.patchResource(patchBody, groupId); }
GroupRequest { public SCIMResponse<Void> patchGroup(PatchBody patchBody, String groupId) { return resourceRequestDelegate.patchResource(patchBody, groupId); } }
GroupRequest { public SCIMResponse<Void> patchGroup(PatchBody patchBody, String groupId) { return resourceRequestDelegate.patchResource(patchBody, groupId); } GroupRequest(WebTarget targetSystem, SCIMRequest scimRequest); }
GroupRequest { public SCIMResponse<Void> patchGroup(PatchBody patchBody, String groupId) { return resourceRequestDelegate.patchResource(patchBody, groupId); } GroupRequest(WebTarget targetSystem, SCIMRequest scimRequest); SCIMResponse<Group> createGroup(Group group); SCIMResponse<Group> readSingleGroup(String id); SCIMResponse<PagedByIndexSearchResult<Group>> readAllGroups(); SCIMResponse<PagedByIndexSearchResult<Group>> readAllGroups(String filter); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroups(); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroups(String filter); SCIMResponse<PagedByIdentitySearchResult<Group>> readMultipleGroups(IdentityPageQuery identityPageQuery); SCIMResponse<PagedByIdentitySearchResult<Group>> readMultipleGroups(IdentityPageQuery identityPageQuery, String filter); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroups(IndexPageQuery indexPageQuery); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroups(IndexPageQuery indexPageQuery, String filter); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroupsWithoutPaging(); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroupsWithoutPaging(String filter); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroupsIndexed(Response response); SCIMResponse<Group> updateGroup(Group group); SCIMResponse<Void> patchGroup(PatchBody patchBody, String groupId); SCIMResponse<Void> deleteGroup(String groupId); }
GroupRequest { public SCIMResponse<Void> patchGroup(PatchBody patchBody, String groupId) { return resourceRequestDelegate.patchResource(patchBody, groupId); } GroupRequest(WebTarget targetSystem, SCIMRequest scimRequest); SCIMResponse<Group> createGroup(Group group); SCIMResponse<Group> readSingleGroup(String id); SCIMResponse<PagedByIndexSearchResult<Group>> readAllGroups(); SCIMResponse<PagedByIndexSearchResult<Group>> readAllGroups(String filter); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroups(); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroups(String filter); SCIMResponse<PagedByIdentitySearchResult<Group>> readMultipleGroups(IdentityPageQuery identityPageQuery); SCIMResponse<PagedByIdentitySearchResult<Group>> readMultipleGroups(IdentityPageQuery identityPageQuery, String filter); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroups(IndexPageQuery indexPageQuery); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroups(IndexPageQuery indexPageQuery, String filter); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroupsWithoutPaging(); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroupsWithoutPaging(String filter); SCIMResponse<PagedByIndexSearchResult<Group>> readMultipleGroupsIndexed(Response response); SCIMResponse<Group> updateGroup(Group group); SCIMResponse<Void> patchGroup(PatchBody patchBody, String groupId); SCIMResponse<Void> deleteGroup(String groupId);  }