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

Matthew Swift
05.01.2014 19f4078a1c392ef3a8423139745c474ee8facd59
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
commit19f4078a1c392ef3a8423139745c474ee8facd59
tree 5bd7eaf74d1d4c8def913c1aac4c69a919163f13 tree | zip | gz
parent 60b4019ba512ad303ab5f0dbd06c3203ba53e940 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-core/src/main/java/org/forgerock/opendj/ldap/Entries.java 367 ●●●● diff | view | raw | blame | history
opendj-core/src/main/java/org/forgerock/opendj/ldap/requests/Requests.java 18 ●●●● diff | view | raw | blame | history
opendj-core/src/test/java/org/forgerock/opendj/ldap/EntriesTestCase.java 604 ●●●● diff | view | raw | blame | history