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

dugan
03.33.2007 2c9035419a1ee96c86562c8fa3c5f0e153756395
refs
author dugan <dugan@localhost>
Monday, September 3, 2007 04:33 +0200
committer dugan <dugan@localhost>
Monday, September 3, 2007 04:33 +0200
commit2c9035419a1ee96c86562c8fa3c5f0e153756395
tree 07555281039a6989e3934e35484a556c69265151 tree | zip | gz
parent e555bb332dec342beea7291a4b9710ca24b25dbe 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

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