04 Feb, 2014
5 commits
-
OPENDJ-1301 Implement model for installing OpenDJ as a directory server - Added package org.forgerock.opendj.server.setup.model - Added unit tests **************************************************************************** OPENDJ-1306 Implement setup CLI for directory server - Added package org.forgerock.opendj.server.setup.cli - Added unit tests **************************************************************************** - modified pom to add a dependency on the opendj-CLI module. - added some classes needed by the setup see : package org.opends.server.types (TODO those files are just here temporary, they will be removed!). git-svn-id: https://svn.forgerock.org/opendj/trunk@10266 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… into a separate Maven module, "opendj-cli" - Added SubCommand && SubCommandParser. - Added more commonsArguments. - Replaced "double" in IntegerArgument to "int". - Added LINE_SEPARATOR in Utils. - Updated Constants. - Updated messages. git-svn-id: https://svn.forgerock.org/opendj/trunk@10265 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Used Utils.joinAsString(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10262 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10261 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10259 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Feb, 2014
3 commits
-
…ting a password validator git-svn-id: https://svn.forgerock.org/opendj/trunk@10252 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10243 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10242 41b1ffd8-f28e-4786-ab96-9950f0a78031
31 Jan, 2014
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10240 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…Directory Change Notifications git-svn-id: https://svn.forgerock.org/opendj/trunk@10230 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10229 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…nfig which is now defined in the parent. git-svn-id: https://svn.forgerock.org/opendj/trunk@10226 41b1ffd8-f28e-4786-ab96-9950f0a78031
30 Jan, 2014
2 commits
-
Migrate I18n and logging support to i18n framework and SLF4J * Update OpendDJLoggerAdapter class ** Adapt to methods change from DebugTracer class ** Use of LoggingCategoryNames to convert from class name to simplified category name (eg, CORE) * Move adapter and factory to org.opends.server.logger package, to share same package than openDJ logger classes git-svn-id: https://svn.forgerock.org/opendj/trunk@10220 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
To do so, one will need to add an auxiliary objectclass in the password policy subentry and the mandatory ds-cfg-password-validator attribute (value is the DN of the validator in cn=config DIT). git-svn-id: https://svn.forgerock.org/opendj/trunk@10215 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Jan, 2014
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10209 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… module, "opendj-cli" - Add dependency to opendj-cli module. - Classes modified in order to take into account this change. - Fixed comments. git-svn-id: https://svn.forgerock.org/opendj/trunk@10207 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10205 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… module, "opendj-cli" Part I. Added required classes. git-svn-id: https://svn.forgerock.org/opendj/trunk@10204 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Jan, 2014
4 commits
-
replication*.properties: Added exception stacktraces to NOTICE_READER_EXCEPTION_53. ServerReader.java: In run(), logged the stacktrace when calling logError(). Removed redundant call to logException() which logged to debug logger. Session.java: Extracted method read(). StaticUtils.java: In stackTraceToSingleLineString(), when this is not a debug build, added the exception type at the start of the message. StaticUtilsTest.java: ADDED git-svn-id: https://svn.forgerock.org/opendj/trunk@10202 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code review: Matthew Swift Caused by r10049. Problem is down to the initialization sequence: 1. thread 1 - MultimasterReplication.initializeSynchronizationProvider() 1.1. it creates the ReplicationServerListener 1.1.1. the ReplicationServerListener in turn creates the ReplicationServer 1.1.1.1. the ReplicationServer in turn creates the ChangelogDB 1.1.1.1.1. the ChangelogDB in turn creates the ChangeNumberIndexer thread and STARTs it 1.1.1.1.1. the ChangelogDB starts the ChangeNumberIndexer thread 1.2. it proceeds with creating the LDAPReplicationDomain objects one by one 2. thread 2 - ChangeNumberIndexer.run() 2.1. it calls ChangeNumberIndexer.initialize() 2.1.1. ChangeNumberIndexer.initialize() calls MultimasterReplication.isECLEnabledDomain(baseDN) Steps 1.2. and 2.1.1. are running concurrently. If 2.1.1. is run before 1.2. is completed, In ChangeNumberIndexer.initialize(): 1) MultimasterReplication.isECLEnabledDomain(baseDN) returns false, hence a cursor to the relevant replica DBs is not created 2) then the call to nextChangeForInsertDBCursor.getRecord() returns null, later throwing a NullPointerException because the ChangeNumberIndexer thread is in an illegal state: it was expecting to find an UpdateMsg with the correct CSN stamped on it. MultimasterReplication.java: Added State enum + state instance member to tell whether MultimasterReplication is ready for work. Removed isRegistered instance member superseded by state instance member. In isECLEnabledDomain(), completeSynchronizationProvider() and finalizeSynchronizationProvider(), deal with thread waits. DomainFakeCfg.java: Implemented toString(). git-svn-id: https://svn.forgerock.org/opendj/trunk@10200 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10198 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10196 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Jan, 2014
4 commits
-
get last changes from i18n-sl4j module git-svn-id: https://svn.forgerock.org/opendj/trunk@10195 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Migrate I18n and logging support to i18n framework and SLF4J Add new module opendj-slf4j-adapter as a submodule of opendj git-svn-id: https://svn.forgerock.org/opendj/trunk@10194 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Migrate I18n and logging support to i18n framework and SLF4J Add maven module opendj-slf4j-adapter that includes a SLF4J logging adapter for OpenDJ server. It allows to redirect SLF4J loggers calls to OpenDJ logging classes calls. git-svn-id: https://svn.forgerock.org/opendj/trunk@10193 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10192 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Jan, 2014
4 commits
-
…problems when not using HBCF git-svn-id: https://svn.forgerock.org/opendj/trunk@10190 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…icated users rather than to anyone git-svn-id: https://svn.forgerock.org/opendj/trunk@10189 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* moved closeSilently() methods and a couple of others from StaticUtils to forgerock-utils * bumped dependency on forgerock-utils to 1.3.0-SNAPSHOT * all remaining Findbugs warnings are just noise. It's a shame that it's not possible to use @SuppressWarnings("findbugs"). git-svn-id: https://svn.forgerock.org/opendj/trunk@10187 41b1ffd8-f28e-4786-ab96-9950f0a78031 -
* on my machine, which has IPv6 networking, the test for invalid IPv6 address masks was taking 60 seconds to complete, or 10s per attempted decode * use reflection to invoke sun.net.util.IPAddressUtil#isIPv6LiteralAddress() if it is available. git-svn-id: https://svn.forgerock.org/opendj/trunk@10186 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Jan, 2014
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10185 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10184 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10183 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10182 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10181 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Jan, 2014
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10178 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10177 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10176 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@10174 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Jan, 2014
1 commit
-
… compared to opendj-ldap-sdk so they are documented. pom.xml: Now depends on forgerock-parent 1.2.1-SNAPSHOT to inherit clirr profile. opendj-core/pom.xml: Added clirr-maven-plugin to the build and report plugins due to the use of <comparisonArtifacts> instead of <comparisonVersion>. opendj-core/clirr-ignored-api-changes.xml: Added to trigger clirr checks + ignore and document changes compared to opendj-ldap-sdk. git-svn-id: https://svn.forgerock.org/opendj/trunk@10169 41b1ffd8-f28e-4786-ab96-9950f0a78031