Skip to content

Commit

Permalink
Minor updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kqarryzada committed Feb 28, 2025
1 parent 1c2f3ac commit ded833e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ PatchOperation.APPEND_NEW_PATCH_VALUES_PROPERTY = true;
Updated `SearchRequestBuilder` to be more permissive of ListResponses with non-standard attribute
casing (e.g., if a response includes a `"resources"` array instead of `"Resources"`).

Updated the class-level documentation of `SearchRequest` to provide more background about how
searches are performed in the SCIM standard.

## v3.2.0 - 2024-Dec-04
Fixed an issue where `AndFilter.equals()` and `OrFilter.equals()` could incorrectly evaluate to
true.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
* <li> {@code startIndex}: The index indicating the page number, if
* pagination is supported by the SCIM service.
* </ul>
* <br><br>
*
* An example list response takes the following form:
* <pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
* service provider supports pagination.
* <li> {@code count}: The maximum number of resources to return.
* </ul>
* <br><br>
*
* Search requests can be issued in two ways: with GET requests or POST
* requests. A GET search request involves the use of HTTP query parameters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,7 @@ public void testBadErrorResult() throws Exception
}
}


/**
* This test validates the SDK's parsing of the ListResponse defined in
* {@link TestResourceEndpoint#testListResponseCaseSensitivity}.
Expand All @@ -1179,7 +1180,7 @@ public void testListResponseParsingCaseSensitivity() throws Exception
final ScimService service = new ScimService(target());
ListResponse<UserResource> response =
service.searchRequest("Users/testListResponseCaseSensitivity")
.invoke(UserResource.class);
.invoke(UserResource.class);

// Even though the attribute casing is varied, all named fields should
// have been successfully parsed.
Expand Down Expand Up @@ -1222,7 +1223,6 @@ public void testMethodNotAllowed() throws ScimException
}



/**
* Test custom content-type.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public Response testListResponseCaseSensitivity()
{
return Response.status(Response.Status.OK)
.type(MEDIA_TYPE_SCIM)
.entity("{ "
.entity("{"
+ " \"SCHEMAS\": ["
+ " \"urn:ietf:params:scim:api:messages:2.0:ListResponse\""
+ " ],"
Expand Down

0 comments on commit ded833e

Please sign in to comment.