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

Violette Roche-Montane
24.50.2014 9d91bdffd5e64a90728b9c6067db2e7b638a154f
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
commit9d91bdffd5e64a90728b9c6067db2e7b638a154f
tree 2bc751bc102fd05c17cad221400728da442fdf06 tree | zip | gz
parent a2d8ff6c35e88f03e7282d2b919826063cd00cd6 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
opendj-sdk/opendj3-server-dev/src/guitools/org/opends/guitools/uninstaller/UninstallCliHelper.java 246 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/guitools/org/opends/guitools/uninstaller/Uninstaller.java 62 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/quicksetup/org/opends/quicksetup/CliApplication.java 18 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java 92 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/tools/status/StatusCli.java 153 ●●●● diff | view | raw | blame | history