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

Ludovic Poitou
07.41.2011 b892b0038d7dc619ee4fac7058189736d2d73f0d
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
commitb892b0038d7dc619ee4fac7058189736d2d73f0d
tree 6134f560ef8575141d2972237fb748da50bc93a3 tree | zip | gz
parent 57c3263663f839156c7f601d461dfe1e685f95cc 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
opends/resource/schema/02-config.ldif 3 ●●●● diff | view | raw | blame | history
opends/src/admin/defn/org/opends/server/admin/std/VirtualAttributeConfiguration.xml 42 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/VirtualAttributeConfigManager.java 26 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/common/ChangelogBaseDNVirtualAttributeProvider.java 24 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/common/FirstChangeNumberVirtualAttributeProvider.java 24 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/common/LastChangeNumberVirtualAttributeProvider.java 26 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/common/LastCookieVirtualProvider.java 7 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ReplicationServer.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/types/VirtualAttributeRule.java 31 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/EntryDNVirtualAttributeProviderTestCase.java 46 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/EntryUUIDVirtualAttributeProviderTestCase.java 28 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/GoverningStructureRuleVirtualAttributeProviderTestCase.java 28 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/IsMemberOfVirtualAttributeProviderTestCase.java 34 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/StructuralObjectClassVirtualAttributeProviderTestCase.java 28 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/extensions/SubschemaSubentryVirtualAttributeProviderTestCase.java 28 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ExternalChangeLogTest.java 67 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/types/VirtualAttributeRuleTestCase.java 18 ●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/types/VirtualAttributeTestCase.java 2 ●●●●● diff | view | raw | blame | history