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

neil_a_wilson
05.54.2007 6dbc45c1b1a8025baf86d07bae5645dd249953c3
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
commit6dbc45c1b1a8025baf86d07bae5645dd249953c3
tree 3972cf8bef85d5fbf5cf391826430546fe6f68ed tree | zip | gz
parent ca243c62efa2550a5c38f081139e06f623c0f93d 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
3 files added
14 files modified
1765 ■■■■■ changed files
opendj-sdk/opends/resource/config/config.ldif 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/schema/02-config.ldif 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/LDIFConnectionHandlerConfiguration.xml 107 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/protocol.properties 27 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/LDIFConnectionHandler.java 693 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/internal/InternalClientConnection.java 133 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/ModificationType.java 35 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/AddChangeRecordEntry.java 27 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/ChangeOperationType.java 38 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/ChangeRecordEntry.java 9 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/DeleteChangeRecordEntry.java 16 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/LDIFWriter.java 158 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/ModifyChangeRecordEntry.java 32 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/ModifyDNChangeRecordEntry.java 28 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/ServerConstants.java 44 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/protocols/LDIFConnectionHandlerTestCase.java 387 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/util/TestChangeRecordEntry.java 11 ●●●●● diff | view | raw | blame | history