mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
05.01.2014 a437edf2e4d38c952cc6ef1d074319e37452aa1b
refs
author Matthew Swift <matthew.swift@forgerock.com>
Thursday, June 5, 2014 17:01 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Thursday, June 5, 2014 17:01 +0200
commita437edf2e4d38c952cc6ef1d074319e37452aa1b
tree 35254ee2dba2fb5307445d1fd5bbbcc9df95bec8 tree | zip | gz
parent 8c0b9cbba08dee4c4ad6fe00357a018cdb54e280 view | diff
Fix OPENDJ-1481: Consider adding method for comparing entries for exact differences, ignoring matching rules

Introduced a new object, DiffOptions, which can be used to control the behavior of diffEntries:

* the ability to perform byte-by-byte comparisons
* the ability to select which attributes are compared using an AttributeFilter
* the ability to control whether reversible (DELETE+ADD) modifications are generated, or non-reversible REPLACE modifications. For small attributes REPLACE modifications are desirable because the consume less bandwidth and result in less replication meta-data.
3 files modified
989 ■■■■ changed files
opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldap/Entries.java 367 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldap/requests/Requests.java 18 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldap/EntriesTestCase.java 604 ●●●● diff | view | raw | blame | history