@Test public void readSingleGroup() throws IOException { String sampleGroupId = randomUUID().toString(); JsonNode jsonResponse = readResponseGroupsAsJsonNodeFromFile("read_group.json"); wireMockServer.stubFor(get(urlEqualTo("/Groups/" + sampleGroupId)).willReturn(configureMockedResponse(OK, jsonResponse))); Group responseGroup = SCIMClientService.builder(DEFAULT_URL) .build() .buildGroupRequest() .readSingleGroup(sampleGroupId) .get(); assertAll(getAllGroupAttributeAssertions(responseGroup)); }
public SCIMResponse<Group> readSingleGroup(String id) { return resourceRequestDelegate.readSingleResource(id); }
GroupRequest { public SCIMResponse<Group> readSingleGroup(String id) { return resourceRequestDelegate.readSingleResource(id); } }
GroupRequest { public SCIMResponse<Group> readSingleGroup(String id) { return resourceRequestDelegate.readSingleResource(id); } GroupRequest(WebTarget targetSystem, SCIMRequest scimRequest); }
GroupRequest { public SCIMResponse<Group> readSingleGroup(String id) { return resourceRequestDelegate.readSingleResource(id); } 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<Group> readSingleGroup(String id) { return resourceRequestDelegate.readSingleResource(id); } 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);  }