-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaced zjsonpatch based resource diffing with Attribute based solut…
…ion (#435) The json patch solution required seralizing objects, then processing them with zjsonpatch, and finally some heavy post processing. This new solution walks the tree schema attributes to calculate the diff directly. Class was moved to scim-tools, as it's not directly used by scim-server or scim-client. PatchGenerator could be used by a SCIM client to calculate diffs to send to a server Or to generate patch requests when testing a server. NOTE: There are some limitations, this implementation assumes any changes to an object in a collection modifies the whole object, this will alwasy trigger a REMOVE and ADD operation (instead of a REPLACE).
- Loading branch information
Showing
8 changed files
with
609 additions
and
951 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
532 changes: 0 additions & 532 deletions
532
scim-core/src/main/java/org/apache/directory/scim/core/repository/PatchGenerator.java
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
...re/src/main/java/org/apache/directory/scim/core/repository/PrioritySortingComparator.java
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
...rc/test/java/org/apache/directory/scim/core/repository/PrioritySortingComparatorTest.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.