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

Gaetan Boismal
02.33.2015 7c6e7a8c0aa89ee6292e37f5d8bb41211619ac7a
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Tuesday, June 2, 2015 16:33 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Tuesday, June 2, 2015 16:33 +0200
commit7c6e7a8c0aa89ee6292e37f5d8bb41211619ac7a
tree 0b49748bb4543cb1a040f2f1d1e590b9239d26ee tree | zip | gz
parent 026b4542e2e7006fc5020e0cee3fcd3348ab39fd view | diff
OPENDJ-1122 (CR-7120) Fix control panel in remote mode

This commit makes the control panel work in remote mode by solving missing schema elements issues.

* src/main/java/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java
** Initialialize configuration framework to ensure remote server configuration can be successfully read (cause of the NPE mentioned in the issue)

* src/main/java/org/opends/guitools/controlpanel/util/RemoteSchemaLoader.java
** Add missing matching rules and attribute syntaxes to the local schema before read remote server schema.

* src/main/java/org/opends/guitools/controlpanel/util/SchemaLoader.java
** Consequences of changes in RemoteSchemaLoader
3 files modified
106 ■■■■■ changed files
opendj-sdk/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/datamodel/ControlPanelInfo.java 1 ●●●● diff | view | raw | blame | history
opendj-sdk/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/RemoteSchemaLoader.java 99 ●●●●● diff | view | raw | blame | history
opendj-sdk/opendj-server-legacy/src/main/java/org/opends/guitools/controlpanel/util/SchemaLoader.java 6 ●●●●● diff | view | raw | blame | history