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

Matthew Swift
15.55.2016 c9009e34111d77ef4e30872dfb01cc0dc4335a56
refs
author Matthew Swift <matthew.swift@forgerock.com>
Wednesday, June 15, 2016 11:55 +0200
committer Matthew Swift <matthew.swift@forgerock.com>
Thursday, June 23, 2016 02:21 +0200
commitc9009e34111d77ef4e30872dfb01cc0dc4335a56
tree 1a79809525dce269016a69498e0322113216ffdf tree | zip | gz
parent a08c81f677247ec9eb7721a86250c663065e9930 view | diff
OPENDJ-3130 Provide REST access to OpenDJ's configuration and monitoring

Implemented a new Rest2Ldap based endpoint "admin" which exposes two
paths:

* admin/monitor: a read-only endpoint providing a simple recursive
mapping to all entries exposed in cn=monitor. Unfortunately, cn=monitor
is schema-less so the attribute mappings are sub-optimal

* admin/config: a fully functional endpoint providing access to
cn=config. The mapping is driven from the configuration framework.

NOTE: the admin endpoint is only available in the embedded listener,
although we could make it available in the gateway if requested.
2 files added
2 files modified
378 ■■■■■ changed files
opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/AdminEndpointConfiguration.xml 41 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/resource/config/config.ldif 9 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/resource/schema/02-config.ldif 5 ●●●●● diff | view | raw | blame | history
opendj-server-legacy/src/main/java/org/opends/server/protocols/http/rest2ldap/AdminEndpoint.java 323 ●●●●● diff | view | raw | blame | history