Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default behavior for PATCH ADDs with filter #238

Merged
merged 1 commit into from
Jan 30, 2025

Conversation

kqarryzada
Copy link
Collaborator

In the 3.2.0 release, we updated the SCIM SDK so that add operations with a filter could target existing values on the resource via a configurable property on the PatchOperation class. This is more appropriate than the previous behavior, but was not made the default.

This commit updates the SDK to target existing values by default. The project version has been updated to 4.0.0-SNAPSHOT signify this change.

Reviewer: vyhhuang
Reviewer: dougbulkley

JiraIssue: DS-49617

In the 3.2.0 release, we updated the SCIM SDK so that add operations
with a filter could target existing values on the resource via a
configurable property on the PatchOperation class. This is more
appropriate than the previous behavior, but was not made the default.

This commit updates the SDK to target existing values by default. The
project version has been updated to 4.0.0-SNAPSHOT signify this change.

Reviewer: vyhhuang
Reviewer: dougbulkley

JiraIssue: DS-49617
@kqarryzada kqarryzada self-assigned this Jan 30, 2025
@@ -107,9 +111,6 @@ public void testBasic() throws Exception
PatchRequest request;
UserResource resource = new UserResource();

// Unset the property to use the new behavior.
PatchOperation.APPEND_NEW_PATCH_VALUES_PROPERTY = false;
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this to make sure that testBasic() inherits the default value provided by the SDK.

Copy link

@vyhhuang vyhhuang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes look good to me.

@kqarryzada kqarryzada merged commit 2649a65 into master Jan 30, 2025
10 checks passed
@kqarryzada kqarryzada deleted the DS-49617-update-default-filter-add-behavior branch January 30, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants