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

pgamba
07.57.2007 59a0e0cae4a717d92ccf08aa56d427015498becf
refs
author pgamba <pgamba@localhost>
Friday, September 7, 2007 10:57 +0200
committer pgamba <pgamba@localhost>
Friday, September 7, 2007 10:57 +0200
commit59a0e0cae4a717d92ccf08aa56d427015498becf
tree 64bfa60375198e19191deb17a735994cc2e8fc2a tree | zip | gz
parent 382dc0c47ad79c241afa8e11ca8274c5a9f6e675 view | diff

The following changes in the replication server provide an implementation of the backend API for the replication server changes database.
In a first step, the implemented features are backup/restore.
The coming ones will be export/search to have an LDAP access of the content of the replication server DB.

I also cleaned/shared some code on replication unit tests.
Also fixed a potential bug in the replication plugin on the total update by replacing any object dependency from the ReplicationDomain to the associated
backend because the configuration changes on the backend object may replace this object by another instance, so keeping a reference on the backend instance is
buggy. The instance must be retrieved when needed.

1 files added
11 files modified
1449 ■■■■ changed files
opendj-sdk/opends/src/messages/messages/replication.properties 9 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/MultimasterReplication.java 17 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationBroker.java 4 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 29 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationServerListener.java 5 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationBackend.java 493 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ReplicationServer.java 242 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerReader.java 43 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/GenerationIdTest.java 188 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/InitOnLineTest.java 162 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/ReplicationTestCase.java 193 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/replication/server/ReplicationServerTest.java 64 ●●●● diff | view | raw | blame | history