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

Gaetan Boismal
22.52.2015 986733aa01992e78f973cddbd18f3d02bb62f60e
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, May 22, 2015 14:52 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Friday, May 22, 2015 14:52 +0200
commit986733aa01992e78f973cddbd18f3d02bb62f60e
tree ecb070a03f64ef368c4aef7b210f673861fa9cf3 tree | zip | gz
parent 20e5f98b9264a52f65a17c4738172163a8a87aad view | diff
OPENDJ-2017 (CR-7035) Setup GUI: Fix replication setup

* src/main/java/org/opends/admin/ads/ReplicaDescriptor.java
** Add the backend object classes as field to retrieve type of backend (JE, persistit...)

* src/main/java/org/opends/admin/ads/ServerDescriptor.java
** Add logic to add backend object classes to the replica descriptor

* src/main/java/org/opends/quicksetup/installer/Installer.java
** Fix a regression introduced in r10231
** Do nothing if the server is the first in replication topology instead of seting baseDNs of userRoot backend
** Remove the userRoot backend deletion (as it is not hardcoded in the config.ldif since r12022)
** Retrieve backend type from backend object classes to allow creation of different kind of backend

* src/main/java/org/opends/quicksetup/installer/InstallerHelper.java
** Replace createLocalDBBackend(...) by createBackend(...) and change the code to be generic to allow both creation of JE and pluggable backends

* src/main/java/org/opends/quicksetup/util/Utils.java
** Removes the dsconfig create-replication-domain added in equivalent command line. This comment is not needed and avoid replication of suffix content.

* src/main/java/org/opends/server/tools/BackendTypeHelper.java
** Add methods to adapt a backend type from a config object or a backend name
7 files modified
221 ■■■■■ changed files
opendj-server-legacy/src/main/java/org/opends/admin/ads/ReplicaDescriptor.java 22 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/admin/ads/ServerDescriptor.java 16 ●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/Utilities.java 21 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/Installer.java 95 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/quicksetup/installer/InstallerHelper.java 14 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/quicksetup/util/Utils.java 23 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/tools/BackendTypeHelper.java 30 ●●●●● diff | view | raw | blame | history