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

neil_a_wilson
05.54.2007 c22404d2ae49ed50c10f0da2f8d7ed032ebd5fed
refs
author neil_a_wilson <neil_a_wilson@localhost>
Wednesday, September 5, 2007 01:54 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Wednesday, September 5, 2007 01:54 +0200
commitc22404d2ae49ed50c10f0da2f8d7ed032ebd5fed
tree 98ba91d0d25701b910f8043246915e2934451222 tree | zip | gz
parent 1661a25cdf285adf056e037f627a671cea5c3b83 view | diff
Add a new LDIF connection handler, which can be used to watch for new LDIF
files to be created in a directory, at which point the changes contained in
those LDIF files will be processed by the server using internal operations.
This can potentially be used to make configuration changes or invoke tasks if
the server is unresponsive to external clients (e.g., all worker threads are
busy).

Note that in the default configuration, the LDIF connection handler is enabled
but the target directory doesn't exist. In this configuration, it will simply
not do anything until the target directory is created and one or more LDIF
files are placed in it. This is a safeguard against an administrator
inadvertently placing a file in that directory without understanding the
potential consequences of that action. It also means that we can use it to
perform debugging operations (e.g., "dump all") without having to restart the
server if it becomes unresponsive.

OpenDS Issue Number: 2216
14 files modified
3 files added
1765 ■■■■■ changed files
opends/resource/config/config.ldif 10 ●●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 10 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/LDIFConnectionHandlerConfiguration.xml 107 ●●●●● diff | view | raw | blame | history
opends/src/messages/messages/protocol.properties 27 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/LDIFConnectionHandler.java 693 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java 133 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/ModificationType.java 35 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/AddChangeRecordEntry.java 27 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/ChangeOperationType.java 38 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/ChangeRecordEntry.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/DeleteChangeRecordEntry.java 16 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/LDIFWriter.java 158 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/ModifyChangeRecordEntry.java 32 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/ModifyDNChangeRecordEntry.java 28 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/ServerConstants.java 44 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/LDIFConnectionHandlerTestCase.java 387 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/util/TestChangeRecordEntry.java 11 ●●●●● diff | view | raw | blame | history