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

dugan
03.33.2007 44e65a90731cfd0dbaff36aaa3993fde064f744d
refs
author dugan <dugan@localhost>
Monday, September 3, 2007 04:33 +0200
committer dugan <dugan@localhost>
Monday, September 3, 2007 04:33 +0200
commit44e65a90731cfd0dbaff36aaa3993fde064f744d
tree 5243f88956e5995906fe89abec5db6d83b4c28fb tree | zip | gz
parent 27cc144e91ed7acf2fbeb2d06b2d1dc647aedad8 view | diff
Commit plugin for maintaining referential integrity. Issue 257.

New configuration attributes:

- ds-cfg-referential-integrity-attribute-type Specify attribute types that referential integrity will be checked on; this is a mandatory attribute

-ds-cfg-referential-integrity-base-dn Specify base DN that will limit scope of reference check; if not specified the server's public naming contexts are used

- ds-cfg-referential-integrity-update-interval Specify update interval for background referential integrity processing; if update interval > 0 plugin performs background processing; default is 0

-ds-cfg-referential-integrity-log-file Specify log file location for update records when background processing is enabled; default is <instance>/logs/referint

The plugin is disabled by default:

dn: cn=Referential Integrity,cn=Plugins,cn=config
objectClass: top
objectClass: ds-cfg-plugin
objectClass: ds-cfg-referential-integrity-plugin
cn: Referential Integrity
ds-cfg-plugin-class: org.opends.server.plugins.ReferentialIntegrityPlugin
ds-cfg-plugin-enabled: false
ds-cfg-plugin-type: postOperationDelete
ds-cfg-plugin-type: postOperationModifyDN
ds-cfg-plugin-type: subordinateModifyDN
ds-cfg-referential-integrity-attribute-type: member
ds-cfg-referential-integrity-attribute-type: uniqueMember

3 files added
5 files modified
2141 ■■■■■ changed files
opendj-sdk/opends/resource/config/config.ldif 13 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/resource/schema/02-config.ldif 23 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/ReferentialIntegrityPluginConfiguration.xml 185 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/plugin.properties 42 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/plugins/ReferentialIntegrityPlugin.java 829 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/resource/config-changes.ldif 8 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/core/TestModifyDNOperation.java 44 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/plugins/ReferentialIntegrityPluginTestCase.java 997 ●●●●● diff | view | raw | blame | history