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

neil_a_wilson
10.08.2007 94bbd5bb7c20a490558d8ec97d1be7e3dc492a42
refs
author neil_a_wilson <neil_a_wilson@localhost>
Monday, September 10, 2007 01:08 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Monday, September 10, 2007 01:08 +0200
commit94bbd5bb7c20a490558d8ec97d1be7e3dc492a42
tree dfab1ddb965d49cf057258e289cb742b6a41a866 tree | zip | gz
parent 4166c20ed1817f2792c6c4a6d12b810c7c256b72 view | diff
Update the server to provide a basic framework for controlling when plugins
will be invoked. There are two basic changes:

- Add a new ds-cfg-invoke-for-internal-operations configuration attribute for
all plugins, which indicates whether the plugin should be invoked for
internal operations. If this is false, then the plugin will only be invoked
for externally-requested operations.

- Add four new plugin types: postSynchronizationAdd,
postSynchronizationDelete, postSynchronizationModify, and
postSynchronizationModifyDN. These allow a plugin to perform a limited set
of processing for changes that are successfully applied through
synchronization.


The unique attribute plugin has also been updated to support the
post-synchronization plugin types so that if a conflict is introduced
concurrently on two different servers within the propagation delay, an
administrative alert will be generated to indicate that manual intervention is
required to address the problem.

Finally, ensure that audit logging is enabled during the unit tests, and
update the audit logger to include the connection ID and operation ID for the
operation being logged.


OpenDS Issue Number: 2057
5 files added
20 files modified
3277 ■■■■ changed files
opends/resource/config/config.ldif 11 ●●●●● diff | view | raw | blame | history
opends/resource/schema/02-config.ldif 27 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PluginConfiguration.xml 54 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/PluginRootConfiguration.xml 117 ●●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/UniqueAttributePluginConfiguration.xml 3 ●●●●● diff | view | raw | blame | history
opends/src/messages/messages/plugin.properties 16 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/api/plugin/DirectoryServerPlugin.java 139 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/api/plugin/PluginType.java 90 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/PluginConfigManager.java 606 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/loggers/TextAuditLogPublisher.java 16 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/plugins/UniqueAttributePlugin.java 1137 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/operation/PostSynchronizationAddOperation.java 136 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/operation/PostSynchronizationDeleteOperation.java 78 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/operation/PostSynchronizationModifyDNOperation.java 189 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/operation/PostSynchronizationModifyOperation.java 148 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/operation/PostSynchronizationOperation.java 144 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/ServerConstants.java 44 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendAddOperation.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendDeleteOperation.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendModifyDNOperation.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendModifyOperation.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/workflowelement/localbackend/LocalBackendWorkflowElement.java 44 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/resource/config-changes.ldif 20 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/api/plugin/DirectoryServerPluginTestCase.java 176 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/InvocationCounterPlugin.java 66 ●●●●● diff | view | raw | blame | history