10 Oct, 2014
5 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11111 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add the time-based matching rules to SDK core schema Lower visibility of matching rules implementations class git-svn-id: https://svn.forgerock.org/opendj/trunk@11109 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code review: Nicolas Capponi TimeSource.java: REMOVED Replaced with org.forgerock.util.time.TimeService. git-svn-id: https://svn.forgerock.org/opendj/trunk@11107 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code review: Nicolas Capponi TimeBasedMatchingRulesImpl.java: In multiplyByTenAndAddUnits(), used the '0' character instead of a magic number. Used static import for DecodeException.error(). Removed useless else keywords and blocks. In toCalendarMonth(), simplified the code. MatchingRuleImpl.java: Fixed javadocs git-svn-id: https://svn.forgerock.org/opendj/trunk@11106 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Minor refactoring in TimeBasedMatchingRulesImpl class git-svn-id: https://svn.forgerock.org/opendj/trunk@11105 41b1ffd8-f28e-4786-ab96-9950f0a78031
09 Oct, 2014
2 commits
-
…embers when a search is based on a filter of the isMemberOf attribute. Fixed incorrect test, preventing the method to process all groups properly. The dev 3 branch code is correct. git-svn-id: https://svn.forgerock.org/opendj/trunk@11104 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add time-based matching rules implementations in the SDK Add unit tests for those implementations git-svn-id: https://svn.forgerock.org/opendj/trunk@11103 41b1ffd8-f28e-4786-ab96-9950f0a78031
08 Oct, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11099 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11098 41b1ffd8-f28e-4786-ab96-9950f0a78031
07 Oct, 2014
4 commits
-
…embers when a search is based on a filter of the isMemberOf attribute. Additional changes to returnGroupMembers() - Removed filter param, since it's part of the SearchOperation. - Changed method to return a boolean to indicate to continue (true) or stop (false) returning entries. - Added javadoc git-svn-id: https://svn.forgerock.org/opendj/trunk@11091 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…embers when a search is based on a filter of the isMemberOf attribute. git-svn-id: https://svn.forgerock.org/opendj/trunk@11090 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Add collation matching rules implementations in the SDK Add support for custom naming of indexes in AbstractOrderingMatchingRuleImpl and AbstractSubstringMatchingRuleImpl classes Add unit tests for collation matching rules implementations git-svn-id: https://svn.forgerock.org/opendj/trunk@11086 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Extracted local PrintStream variable rather than always calling app.getOutputStream(). git-svn-id: https://svn.forgerock.org/opendj/trunk@11085 41b1ffd8-f28e-4786-ab96-9950f0a78031
06 Oct, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11084 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added strings() + used it in all subclasses. git-svn-id: https://svn.forgerock.org/opendj/trunk@11081 41b1ffd8-f28e-4786-ab96-9950f0a78031
03 Oct, 2014
1 commit
-
* PerformanceRunner.java Implements a new way to compute eTimes by using "buckets" representing different eTimes ranges and maintain frequency counts. The warmup duration does now correctly clear eTimes. git-svn-id: https://svn.forgerock.org/opendj/trunk@11080 41b1ffd8-f28e-4786-ab96-9950f0a78031
02 Oct, 2014
1 commit
-
Schema.java: Code cleanup git-svn-id: https://svn.forgerock.org/opendj/trunk@11077 41b1ffd8-f28e-4786-ab96-9950f0a78031
30 Sep, 2014
4 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11072 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Makeldif template branch definitions now need object classes attributes. This fix also mentions that you can omit the number from subordinateTemplate definitions to allow generation to continue indefinitely. git-svn-id: https://svn.forgerock.org/opendj/trunk@11071 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11070 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11069 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Sep, 2014
1 commit
-
* org.forgerock.opendj.ldap package: ** Rename FutureResult to LdapPromise ** Rename FutureResultImpl to LdapPromiseImpl and move it to org.forgerock.opendj.ldap.spi ** Rename the util class FutureResultWrapper to LdapPromises and move it to org.forgerock.opendj.ldap.spi package ** Solve some bugs in HeartBeatConnectionFactory class org.forgerock.opendj.ldap.spi ** Merge old LDAPFutureResultImpl and AbstractLDAPFutureResultImpl and rename it as ResultLdapPromiseImpl ** Remove AbstractLDAPFutureResultImpl, LDAPFutureResultImpl and LDAPCompareFutureResultImpl ** Rename LDAP[Bind | Extended | Search]FutureResultImpl to [Bind | Extended | Search]ResultLdapPromiseImpl ** Add static methods in LdapPromises to return *LdapPromiseImpl instances git-svn-id: https://svn.forgerock.org/opendj/trunk@11065 41b1ffd8-f28e-4786-ab96-9950f0a78031
24 Sep, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11064 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* update to MapDB 2.0.0-SNAPSHOT * simplify MapDB backend. git-svn-id: https://svn.forgerock.org/opendj/trunk@11063 41b1ffd8-f28e-4786-ab96-9950f0a78031
23 Sep, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11058 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Lock entry ID keys in descending order (children then parents) in order to be consistent with id2subtree updates performed for single entry add and delete operations. git-svn-id: https://svn.forgerock.org/opendj/trunk@11056 41b1ffd8-f28e-4786-ab96-9950f0a78031
22 Sep, 2014
4 commits
-
CR-3727 Add method ByteStringBuilder#append(DataInput, int) to avoid byte array copy git-svn-id: https://svn.forgerock.org/opendj/trunk@11047 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11035 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11033 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11028 41b1ffd8-f28e-4786-ab96-9950f0a78031
19 Sep, 2014
2 commits
-
replication server configuration This parameter allow to choose the db implementation to use for changelog in directory server: either je or log file. Default is 'je'. git-svn-id: https://svn.forgerock.org/opendj/trunk@11022 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…and remove ErrorResultIOException git-svn-id: https://svn.forgerock.org/opendj/trunk@11019 41b1ffd8-f28e-4786-ab96-9950f0a78031
18 Sep, 2014
3 commits
-
…he same validations as normal searches Added validation for changes only persistent searches inside ChangelogBackend.registerPersistentSearches(). For cookie based searches, cookie is now stored on the CookieEntrySender object rather than as a search operation attachment. This makes code easier to read and understand. Backend.java In registerPersistentSearch(), now throws DirectoryException. LocalBackendSearchOperation.java: Consequence of the change to Backend.registerPersistentSearch(). ChangelogBackend.java: Added validatePersistentSearch() + called it from registerPersistentSearch(). Added cookie field and setCookie() to CookieEntrySender + removed COOKIE_ATTACHMENT constant + changed code that was using it + no longer pass cookie down method calls Renamed initializeAttachements() to initializeEntrySender() + fixed a bug with the starting phase. git-svn-id: https://svn.forgerock.org/opendj/trunk@11017 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Prevent race condition by proper synchronization in FileChangeLogDB#shutdownDB() method git-svn-id: https://svn.forgerock.org/opendj/trunk@11016 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11015 41b1ffd8-f28e-4786-ab96-9950f0a78031
17 Sep, 2014
3 commits
-
JEChangeNumberIndexDBTest.java: Also removed unused field previousCookie. git-svn-id: https://svn.forgerock.org/opendj/trunk@11014 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code was broken by the fix for OPENDJ-1541 Persistent search on cn=changelog can return duplicates. This change introduced a search phase enum and initialized all searches to the "initial search" phase. Current fix consist in directly initializing persistent searches with changesOnly=true to the "persistent search" phase. git-svn-id: https://svn.forgerock.org/opendj/trunk@11013 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
There is a mismatch between code before and after r10757. This is affecting 2.6.x and 2.6.next OpenDJ servers communicating with each other. Before r10757, serialized ModifyMsg included a zero separator after byte arrays, after r10757 it did not. This change is introducing back the zero separator. ModifyMsg.java: In getBytes_V45(), appended the zero byte separator after byte arrays + adapted decodeBody_V4() code for it. git-svn-id: https://svn.forgerock.org/opendj/trunk@11011 41b1ffd8-f28e-4786-ab96-9950f0a78031
16 Sep, 2014
2 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@11010 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* Implement a new matching strategy for cursors : LESS_THAN_OR_EQUAL_TO_KEY for both je and file-based implementations * Replace the previous cookie by the usage of an ECLMultiDomainDBCursor generated with the medium consistency CSN as start point and the LESS_THAN_OR_EQUAL_TO_KEY strategy in classes ChangeNumberIndexer and ChangelogBackend * Remove storage of the previous cookie in the log for both je and file-based implementations git-svn-id: https://svn.forgerock.org/opendj/trunk@11009 41b1ffd8-f28e-4786-ab96-9950f0a78031