GitHub user snoopdave opened a pull request:
https://github.com/apache/usergrid/pull/461
Rewritten DupAdminRepair tool with new Unit tests
This PR rewrites the old existing DupAdminRepair to make it testable, add a
dry-run option and add RxJava. There are several new tests for DupAdminRepair.
Also, this PR changes the DupOrgRepair to be case insensitive, because
Usergrid is case insensitive for unique values (e.g. org names and usernames).
Related JIRA issue: https://issues.apache.org/jira/browse/USERGRID-1205
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/snoopdave/usergrid dup-admin-repair
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/usergrid/pull/461.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #461
----
commit 7324b5a8312ce4e78abc8f4c01bcd1d46786e532
Author: Dave Johnson <[email protected]>
Date: 2016-01-11T21:33:28Z
Make duplicate admin repair tool testable, add dry-run feature and RxJava.
Also, make DupOrgRepair case-insensitive
commit bb6198f9f6d396799f922eb18aa22fbfca562296
Author: Dave Johnson <[email protected]>
Date: 2016-01-11T21:37:54Z
Merge branch '1.x' into dup-admin-repair
Conflicts:
stack/tools/src/main/java/org/apache/usergrid/tools/DuplicateOrgRepair.java
commit e525f4fa966b6f30911536cd20359514d9079701
Author: Dave Johnson <[email protected]>
Date: 2016-01-11T23:04:17Z
Additional tests
commit ceb81076520db67e88f6c7a0e0934e39703309e7
Author: Dave Johnson <[email protected]>
Date: 2016-01-11T23:08:54Z
Additional tests for DuplicateAdminRepair, remove old DupAdminRepair.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---