28 Nov, 2013
3 commits
-
…runk once the new Maven module and package layout has been validated * fix dependencies. git-svn-id: https://svn.forgerock.org/opendj/trunk@9853 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added toString() for debuggging. Added or completed javadocs. Fixed a little bug in test code. git-svn-id: https://svn.forgerock.org/opendj/trunk@9852 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9851 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Nov, 2013
9 commits
-
…runk once the new Maven module and package layout has been validated * move all classes to public org.* package so that they get Javadoc, except for GrizzlyTransportProvider. git-svn-id: https://svn.forgerock.org/opendj/trunk@9850 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…runk once the new Maven module and package layout has been validated * fix grizzly module site generation * add links for sub-module Javadoc * add link for server 2x adapter * clean up examples site. git-svn-id: https://svn.forgerock.org/opendj/trunk@9849 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add admin classes from opendj server, with original package names git-svn-id: https://svn.forgerock.org/opendj/trunk@9848 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add core admin definitions (xml files) * add XSL files to transform definitions in java classes * add properties files for messages : admin and protocol git-svn-id: https://svn.forgerock.org/opendj/trunk@9847 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…runk once the new Maven module and package layout has been validated * sigh - looks like properties are not allowed in repository URLs. git-svn-id: https://svn.forgerock.org/opendj/trunk@9846 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…runk once the new Maven module and package layout has been validated * convert opendj-ldap-sdk module into a Maven group (pom + only dependencies) * kept old opendj-ldap-sdk site as primary "About" page in order to avoid breaking bookmarks and links. The opendj-core module's site is hidden * remove all sub-module site.xml files and instead inherit menus from parent * switch SDK Javadoc URLs to point at opendj-core Javadoc since opendj-ldap-sdk Javadoc is stale * add simple place holder index.xml.vm site pages for most sub-modules * change how we document getting the binaries: instead reference the dependencies report. Although slight less helpful to the reader, at least the links won't become stale. git-svn-id: https://svn.forgerock.org/opendj/trunk@9845 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* create opendj-admin module : common module for both admin clients and the server * basic structure and pom.xml file git-svn-id: https://svn.forgerock.org/opendj/trunk@9844 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… which was preventing sync operations from bypassing backend INTERNAL_ONLY mode. git-svn-id: https://svn.forgerock.org/opendj/trunk@9843 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9842 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Nov, 2013
6 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9841 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9840 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9839 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9838 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9837 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* remove lots of duplicate and unused code * moved LDAPMessageHandler into io package since it is required by LDAPReader * added LDAP utility class for creating LDAPReader / LDAPWriter as well as static methods for common encoding/decoding (previously in LDAPUtils) * minor Javadoc improvements simplifications * minor simplifications to NameForm builder * added makeldif shell scripts and updated site * fixed rest2ldap build which was broken due to recent changes to json-resource. git-svn-id: https://svn.forgerock.org/opendj/trunk@9836 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Nov, 2013
3 commits
-
…ests. This issue was detected on the Cloudbees instance using JDK8 EA. And remove useless comment. git-svn-id: https://svn.forgerock.org/opendj/trunk@9835 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ests. This issue was detected on the Cloudbees instance using JDK8 EA. Just forgotten Copyright update. git-svn-id: https://svn.forgerock.org/opendj/trunk@9834 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ests. This issue was detected on the Cloudbees instance using JDK8 EA git-svn-id: https://svn.forgerock.org/opendj/trunk@9833 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Nov, 2013
7 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9832 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ExternalChangeLogTest.java: In getAttributeValue(), added null check. Removed getAttributeValueOrNull() replaced by getAttributeValue(). Removed checkPossibleValues(), replaced by checkValue(). In readLastCookie(), called getAttributeValue() and removed useless catch. Extracted method checkAttributeValue().Used Assertions.as() - thanks Nicolas for the trick. git-svn-id: https://svn.forgerock.org/opendj/trunk@9831 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ReplicationDB.java: Always unlock the readLock when no cursor is held. Fix is similar to r9542 for DraftCNDB.DraftCNDBCursor . Do not release read lock twice. git-svn-id: https://svn.forgerock.org/opendj/trunk@9830 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
ReplicationDB.java: Always unlock the readLock when no cursor is held. Fix is similar to r9542 for DraftCNDB.DraftCNDBCursor . git-svn-id: https://svn.forgerock.org/opendj/trunk@9829 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ngeNumberIndexDB to ChangelogDB Properly implemented the medium consistency point algorithm with heartbeats and replicas going offline. ChangeNumberIndexer.java: Added replicasOffline instance field. Added methods replicaOffline() and removeCursor(). In moveForwardMediumConsistencyPoint(), updated the code to cater for offline replica. ChangeNumberIndexerTest.java: Added new tests for heartbeat and replica going offline. MultiDomainServerState.java, ServerState.java: Added removeCSN(). MultiDomainServerStateTest.java, ServerStateTest.java: Added more tests. git-svn-id: https://svn.forgerock.org/opendj/trunk@9828 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ngeNumberIndexDB to ChangelogDB Properly implemented the medium consistency point algorithm. ChangeNumberIndexer.java: Renamed instance field previousCookie to mediumConsistencyRUV and mediumConsistencyPoint to lastSeenUpdates. Added mediumConsistencyCSN instance field. Changed newCursors from ConcurrentMap<Integer, DN> to ConcurrentMap<CSN, DN>. In tryNotify(), removed CSN parameter. Added methods canMoveForwardMediumConsistencyPoint() and moveForwardMediumConsistencyPoint(). ChangeNumberIndexerTest.java: Updated to reflect how the medium consistency point algorithm should work. MultiDomainServerState.java: Renamed get() to getCSN(). ServerState.java In update(), updated javadocs + renamed local variables. git-svn-id: https://svn.forgerock.org/opendj/trunk@9827 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted methods findFirstNonSpaceCharPosition(), base64Decode() and decodeDN(). In readAttribute(), moved common code out of if/else branches. Used early exits. Removed useless parenthesis. Condensed code and comments on one line where possible. LDIFWriter.java: Extracted methods writeDN(), writeAttribute(). In writeEntries(), simplified the code. In writeModifyChangeRecord(), removed useless switch statement. In appendLDIFSeparatorAndValue(), removed duplicate code. Removed useless parenthesis. Comments => javadocs Condensed code and comments on one line where possible. git-svn-id: https://svn.forgerock.org/opendj/trunk@9826 41b1ffd8-f28e-4786-ab96-9950f0a78031
21 Nov, 2013
8 commits
-
MultiDomainServerState.java: Reverted the change done to update(DN, ServerState) from r9820 . git-svn-id: https://svn.forgerock.org/opendj/trunk@9825 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9824 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ngeNumberIndexDB to ChangelogDB JEChangelogDB.java: Consequence of the changes to CompositeDBCursor and ReplicationDomainDB in r9820 . git-svn-id: https://svn.forgerock.org/opendj/trunk@9823 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The root cause was an threading issue and the fact that a single buffer was used when processing a URL and loading the content to the attribute value. Now using ByteStringBuilder.append(InputStream, int) which has its own internal buffer. git-svn-id: https://svn.forgerock.org/opendj/trunk@9822 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ngeNumberIndexDB to ChangelogDB Fixed imports for Pair class which has been moved recently. git-svn-id: https://svn.forgerock.org/opendj/trunk@9821 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…ngeNumberIndexDB to ChangelogDB ChangeNumberIndexer.java, ChangeNumberIndexerTest.java: ADDED CompositeDBCursor.java: Converted this class from holding a Collection of DBCursor to holding a Map of DBCursor with their associated data + generecized it. Added getData(). CompositeDBCursorTest.java: Consequence of the change to CompositeDBCursor. Moved MyDBCursor inner class to its own file. SequentialDBCursor.java: ADDED Extracted from CompositeDBCursorTest.MyDBCursor. ReplicationDomainDB.java: Pulled up getCursorFrom(DN, int, CSN) in order to be able to mock it. MultiDomainServerState.java: In update(DN, CSN), simplified the code. In update(DN, serverState), made the code better. Added update(MultiDomainServerState), get(DN) and cover(DN, CSN). AttributeTypeConstants.java: Added support for 'o', 'ou' and 'dc'. JEReplicaDBCursor.java: In toString(), fixed display. git-svn-id: https://svn.forgerock.org/opendj/trunk@9820 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
The changes are making sure that we treat any unexpected behavior as if no security was provided (i.e. SSF = 0). git-svn-id: https://svn.forgerock.org/opendj/trunk@9819 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add links to the OpenDJ site to make it easier to find OpenDJ Contact Manager git-svn-id: https://svn.forgerock.org/opendj/trunk@9818 41b1ffd8-f28e-4786-ab96-9950f0a78031
20 Nov, 2013
1 commit
-
Little code cleanup. git-svn-id: https://svn.forgerock.org/opendj/trunk@9817 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Nov, 2013
3 commits
-
…lass from opendj-core com.forgerock.opendj.util.Pair is almost the same code as original org.opends.server.util.Pair, with minor change on equals() method implementation git-svn-id: https://svn.forgerock.org/opendj/trunk@9815 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…iso-8859-1 by default (remove unused import) git-svn-id: https://svn.forgerock.org/opendj/trunk@9813 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@9812 41b1ffd8-f28e-4786-ab96-9950f0a78031