20 Feb, 2014
3 commits
-
- Added messages. - Added common arguments. - Added constants. git-svn-id: https://svn.forgerock.org/opendj/trunk@10414 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ReplicationDomain.java: Renamed inner class IEContext to ImportExportContext. Renamed fields ieContext to importExportContext. Renamed isRemoteDSConnected() to getConnectedRemoteDS(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10410 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ReplicationDomain.java: Renamed inner class IEContext to ImportExportContext. Renamed fields ieContext to importExportContext. Renamed isRemoteDSConnected() to getConnectedRemoteDS(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10409 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Feb, 2014
3 commits
-
Improved design for Replication Topology ReplicationBroker.java + *Test.java: Extracted the Topology class to encapsulate the dsList and replicationServerInfos fields + atomically set it via an AtomicReference + moved setLocallyConfiguredFlag(), isSameReplicationServerUrl(), computeConnectedDSs() to Topology class. Created methods computeNewTopology() and topologyChange() to compute and set the new topology. Removed generationID instance variable duplicated with the one from ReplicationDomain + updated ctor and setGenerationID(). Improved debugging messages. Renamed getDsList() to getReplicaInfos() + changed return type from List<DSInfo> to Map<Integer, DSInfo>. Renamed getRsList() to getRsInfos(). Extracted method toRSInfos(). ReplicationBrokerTest.java: ADDED Added to test new ReplicationBroker.Topology class. DSInfo.java: Changed equals(Set<String>, Set<String>) to equals(Object, Object). In toString(), hid the assured fields if assured replication is off. RSInfo.java: Renamed fields id and serverUrl to rsServerId and rsServerURL. In toString(), relied on the compiler to generate the String. TopologyMsg.java: Renamed fields dsList and rsList to replicaInfos and rsInfos. Renamed getDsList() to getReplicaInfos() + changed return type from List<DSInfo> to Map<Integer, DSInfo>. Renamed getRsList() to getRsInfos(). Extracted methods readStrings() and writeStrings(). Code cleanup Used javadocs ReplicationDomain.java, replication*.properties: Extracted class ECLIncludes to replace eclIncludesLock, eclIncludesByServer, eclIncludesAllServers, eclIncludesForDeletesByServer, eclIncludesForDeletesAllServers + moved setEclIncludes() implementation to this class + removed synchronized blocks from all the getters. Added baseDN to ERR_INIT_NO_SUCCESS_START_FROM_SERVERS. Inlined initializeRemote(). Removed unused initializeFromRemote(). Reduced methods visibility. Renamed getReplicaList() to getReplicaInfos() + changed return type from List<DSInfo> to Map<Integer, DSInfo>. Renamed getRsList() to getRsInfos(). In initializeRemote(), waitForRemoteEndOfInit(), isRemoteDSConnected() and getProtocolVersion(), simplified code. *.java: Consequence of the changes above. Simplified code in a number of places, particularly in the tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@10405 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Added messages. - Added common arguments. - Added constants. - Unit test : removed TODO. git-svn-id: https://svn.forgerock.org/opendj/trunk@10404 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10402 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Feb, 2014
6 commits
-
opendj-server3x-adapter: Updated after changes on opendj3-server-dev branch: switched to ResultCode and DereferenceAliasesPolicy SDK types. git-svn-id: https://svn.forgerock.org/opendj/trunk@10400 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Added methods to ConsoleApplication which are going to be used by the server. - Added APPLICATION_ERROR to ReturnCode. - Added methods to Utils (used by opendj3) git-svn-id: https://svn.forgerock.org/opendj/trunk@10397 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10393 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10392 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ResultCode.java, ResultCodeTestCase.java, core.properties: Added UNDEFINED value. Transformed ELEMENTS array field into a Map + adapted the code. git-svn-id: https://svn.forgerock.org/opendj/trunk@10391 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
opendj-server3x-adapter: Updated after changes on opendj3-server-dev branch: switched to ModificationType and SearchScope SDK types. git-svn-id: https://svn.forgerock.org/opendj/trunk@10390 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Feb, 2014
1 commit
-
Added asEnum() + added an actual inner enum called Enum to match all the cases. In valueOf(int), fixed a bug for ResultCode + implemented it the same as ResultCode for the other classes. ModificationTypeTestCase.java, ResultCodeTestCase.java: ADDED SearchScopeTestCase.java: Added more tests. DataProviderIterator.java: ADDED Eases developing TestNG's DataProviders. git-svn-id: https://svn.forgerock.org/opendj/trunk@10386 41b1ffd8-f28e-4786-ab96-9950f0a78031
14 Feb, 2014
8 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10382 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- added return codes. git-svn-id: https://svn.forgerock.org/opendj/trunk@10380 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Made checkstyle happy + fixed the tests failing when run with Maven. git-svn-id: https://svn.forgerock.org/opendj/trunk@10378 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Ignored test-output directory. git-svn-id: https://svn.forgerock.org/opendj/trunk@10376 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ConditionResultTestCase.java: ADDED ConditionResult.java: Fixed a bug with or(ConditionResult...). git-svn-id: https://svn.forgerock.org/opendj/trunk@10375 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ed modifications on previous test cases. Thanks to JN. git-svn-id: https://svn.forgerock.org/opendj/trunk@10369 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10368 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- added TabSeparatedTablePrinter.java - added return codes used by tools in opendj3. - added new messages needed by DSConfig. git-svn-id: https://svn.forgerock.org/opendj/trunk@10367 41b1ffd8-f28e-4786-ab96-9950f0a78031
13 Feb, 2014
6 commits
-
- added arguments constants. - fixed unit test due to change in Operating System. - added messages. git-svn-id: https://svn.forgerock.org/opendj/trunk@10364 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10363 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Reviewed by JN, thanks !! git-svn-id: https://svn.forgerock.org/opendj/trunk@10362 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Removed duplicated lines reported by Sonar git-svn-id: https://svn.forgerock.org/opendj/trunk@10360 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Factorized code - Fixed Sonar violations - Removed duplicated lines reported by Sonar - Applied refactorings suggested by AutoRefactor plugin git-svn-id: https://svn.forgerock.org/opendj/trunk@10359 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10358 41b1ffd8-f28e-4786-ab96-9950f0a78031
12 Feb, 2014
4 commits
-
…cted to a single Master git-svn-id: https://svn.forgerock.org/opendj/trunk@10357 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10355 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- moved OperatingSystem to opendj-core git-svn-id: https://svn.forgerock.org/opendj/trunk@10354 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- added classes needeed by DSConfig. git-svn-id: https://svn.forgerock.org/opendj/trunk@10353 41b1ffd8-f28e-4786-ab96-9950f0a78031
11 Feb, 2014
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10350 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10347 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- Added javadoc / unit tests. - Replaced CLIException calls. git-svn-id: https://svn.forgerock.org/opendj/trunk@10346 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Replaced closeIfNotNull by Utils.closeSilently Modified unit tests due to modifications in console application. git-svn-id: https://svn.forgerock.org/opendj/trunk@10345 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
- added DEFAULT_LDAP_CONNECT_TIMEOUT to constants. - added ClientException, merge it with CLIException. Replaced CLIException calls. (CLIException will disappear soon) - Console application : errors,warnings should be displayed in stdout if interactive mode is enabled. - added unit tests. - removed closeIfNotNull / replaced it by Utils.closeSilently git-svn-id: https://svn.forgerock.org/opendj/trunk@10344 41b1ffd8-f28e-4786-ab96-9950f0a78031
10 Feb, 2014
4 commits
-
…er than OpenDJ idle timeouts git-svn-id: https://svn.forgerock.org/opendj/trunk@10341 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Migrate I18n and logging support to i18n framework and SLF4J Replace references to deleted logging levels git-svn-id: https://svn.forgerock.org/opendj/trunk@10338 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10337 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Migrate I18n and logging support to i18n framework and SLF4J Update OpenDJLoggerAdapter to use only simplified logging levels: ERROR, WARN, NOTE, INFO and DEBUG git-svn-id: https://svn.forgerock.org/opendj/trunk@10335 41b1ffd8-f28e-4786-ab96-9950f0a78031