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

Ludovic Poitou
07.41.2011 cef17362e110015ded0e3b8ea3577986c796bfe1
refs
author Ludovic Poitou <ludovic.poitou@forgerock.com>
Thursday, April 7, 2011 14:41 +0200
committer Ludovic Poitou <ludovic.poitou@forgerock.com>
Thursday, April 7, 2011 14:41 +0200
commitcef17362e110015ded0e3b8ea3577986c796bfe1
tree d314444b4cd2c671ebc9cd7875840230cbaf2a56 tree | zip | gz
parent 848085a73ae1571f87fbc1a90ec99ad28d635dc7 view | diff
Fix OPENDJ-112 - The Changelog virtual attribute appears in al entries, should only apply to rootDSE.
The changes introduce a scope in the VirtualAttributeRule. The default is Whole_Subtree.
The changelog virtual attributes are now registered with a BASE_OBJECT scope and "" base DNs, meaning the rootDSE only.
Also each virtual attribute provider override the hasValue() method for optimization and avoiding computing the values and throwing them away.
18 files modified
466 ■■■■ changed files
opendj-sdk/opends/resource/schema/02-config.ldif 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/VirtualAttributeConfiguration.xml 42 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/core/VirtualAttributeConfigManager.java 26 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/common/ChangelogBaseDNVirtualAttributeProvider.java 24 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/common/FirstChangeNumberVirtualAttributeProvider.java 24 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/common/LastChangeNumberVirtualAttributeProvider.java 26 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/common/LastCookieVirtualProvider.java 7 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 4 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/types/VirtualAttributeRule.java 31 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/EntryDNVirtualAttributeProviderTestCase.java 46 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/EntryUUIDVirtualAttributeProviderTestCase.java 28 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/GoverningStructureRuleVirtualAttributeProviderTestCase.java 28 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/IsMemberOfVirtualAttributeProviderTestCase.java 34 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/StructuralObjectClassVirtualAttributeProviderTestCase.java 28 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/SubschemaSubentryVirtualAttributeProviderTestCase.java 28 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ExternalChangeLogTest.java 67 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/VirtualAttributeRuleTestCase.java 18 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/types/VirtualAttributeTestCase.java 2 ●●●●● diff | view | raw | blame | history