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

Violette Roche-Montane
24.50.2014 8a0c7b4a24af390782c917be4f68b45174972b19
refs
author Violette Roche-Montane <violette.roche-montane@forgerock.com>
Monday, March 24, 2014 10:50 +0100
committer Violette Roche-Montane <violette.roche-montane@forgerock.com>
Monday, March 24, 2014 10:50 +0100
commit8a0c7b4a24af390782c917be4f68b45174972b19
tree 6a9988e27ab1aa195e5151ea49365d7906c37fef tree | zip | gz
parent 3dc3f07607a5c720a1452cc75701554a9f3ad715 view | diff
Checkpoint OPENDJ-1343 Migrate dsconfig
- Code cleanup on the StatusCli and UnistallCliHelper as they are linked to the LDAPManagementContextFactory.java which is in the dsconfig package.

- LDAPManagementContextFactory
- Refactored the useStartTLS part.

- StatusCli :
- Replaced Quicksetup return Code by opendj-cli return codes. The argument exception now throws CLIENT_SIDE_PARAM_ERROR(89) resultcode instead of ERROR_UNEXPECTED(1).
- Replaced SUCCESSFUL_NOP(0) by SUCCESS(0).
- Removed enum ErrorReturnCode.

- UninstallerCliHelper.java
- Replaced ApplicationException by ClientException (opendj-cli).
- Replaced import org.opends.quicksetup.ReturnCode by opendj-cli ReturnCode.
- Code cleanup.

- CliApplication add ClientException to createUserData.
5 files modified
571 ■■■■■ changed files
opendj3-server-dev/src/guitools/org/opends/guitools/uninstaller/UninstallCliHelper.java 246 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java 62 ●●●●● diff | view | raw | blame | history
opendj3-server-dev/src/quicksetup/org/opends/quicksetup/CliApplication.java 18 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java 92 ●●●● diff | view | raw | blame | history
opendj3-server-dev/src/server/org/opends/server/tools/status/StatusCli.java 153 ●●●● diff | view | raw | blame | history