03 Apr, 2013
7 commits
-
* invoke result handlers outside of locks in order to avoid potential deadlocks when chaining updates from within a search result handler * remove read lock. git-svn-id: https://svn.forgerock.org/opendj/trunk@8680 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add some basic unit tests git-svn-id: https://svn.forgerock.org/opendj/trunk@8679 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8678 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8677 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8676 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add Iterables.isEmpty() and Iterables.size() and modify AttributeFilter to use Iterables.size() - as per suggestion from Jean-Noel. git-svn-id: https://svn.forgerock.org/opendj/trunk@8675 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
This adds more semantic before adding opendj.test.jars too. git-svn-id: https://svn.forgerock.org/opendj/trunk@8674 41b1ffd8-f28e-4786-ab96-9950f0a78031
02 Apr, 2013
2 commits
-
* add types only support for searches * make attribute filtering easier to debug by adding toString() method to returned iterables. git-svn-id: https://svn.forgerock.org/opendj/trunk@8673 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Adding back offline building despite checking for the latest snapshot jars. Example command line to invoke for building offline: ant resolve -Dbuild.offline= git-svn-id: https://svn.forgerock.org/opendj/trunk@8672 41b1ffd8-f28e-4786-ab96-9950f0a78031
29 Mar, 2013
6 commits
-
* add attribute filtering support to memory backend. git-svn-id: https://svn.forgerock.org/opendj/trunk@8671 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8670 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add another internal connection method to make it easier to bind connections to the memory backend during testing. git-svn-id: https://svn.forgerock.org/opendj/trunk@8669 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* remove very many duplicated or unnecessary Javadoc comments git-svn-id: https://svn.forgerock.org/opendj/trunk@8668 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add java.io.Reader and java.io.Writer based constructors to LDIF readers and writers * remove very many duplicated or unnecessary Javadoc comments git-svn-id: https://svn.forgerock.org/opendj/trunk@8667 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8666 41b1ffd8-f28e-4786-ab96-9950f0a78031
28 Mar, 2013
4 commits
-
Implemented async search operation. Added support for canceling tasks. SdkConnectionAdapter.java: ADDED CollectClientConnectionsFilter.java: Hooked the async implementation instead of the synchronous InternalClientConnection. HTTPClientConnection.java: Implemented sendResponse(), sendSearchEntry(), sendSearchReference(), disconnect(), getOperationsInProgress(), getOperationInProgress(), removeOperationInProgress(), cancelOperation(), cancelAllOperations(), cancelAllOperationsExcept(), getNumberOfOperations(). Added addOperationInProgress() and isConnectionValid(). procotol*.properties: Renamed MILD_WARN_LDAP_CLIENT_DISCONNECT_IN_PROGRESS_166 to MILD_WARN_CLIENT_DISCONNECT_IN_PROGRESS_166. Removed INFO_HTTP_CONNHANDLER_STARTTLS_NOT_SUPPORTED_1515. git-svn-id: https://svn.forgerock.org/opendj/trunk@8665 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8664 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* add more internal connection factory methods to make it easier to bind connections to the memory backend during testing. git-svn-id: https://svn.forgerock.org/opendj/trunk@8663 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* added class MemoryBackend * added Entries.modifyEntry() and included support for increment * added Connection.deleteSubtree() * added Request.containsControl() and Response.containsControl() * aligned attributes APIs in Post/Pre read controls with SearchRequest (i.e. use List) * refactored server example to use new memory backend git-svn-id: https://svn.forgerock.org/opendj/trunk@8662 41b1ffd8-f28e-4786-ab96-9950f0a78031
27 Mar, 2013
5 commits
-
AsynchronousFutureResult.java: getRequestHandler() => getResultHandler() git-svn-id: https://svn.forgerock.org/opendj/trunk@8661 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
AsynchronousFutureResult.java: Added a generic type parameter for the ResultHandler. Added getRequestHandler() method. Made all the necessary changes due to introducing this change. git-svn-id: https://svn.forgerock.org/opendj/trunk@8660 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
AsynchronousFutureResult.java: Added a generic type parameter for the ResultHandler. Added getRequestHandler() method. Made all the necessary changes due to introducing this change. git-svn-id: https://svn.forgerock.org/opendj/trunk@8659 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Tested on Servlet 2.x and 3.0. git-svn-id: https://svn.forgerock.org/opendj/trunk@8658 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixing nightly build, hopefully this time it will be good. git-svn-id: https://svn.forgerock.org/opendj/trunk@8655 41b1ffd8-f28e-4786-ab96-9950f0a78031
26 Mar, 2013
11 commits
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8653 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code cleanup: More AbstractOperation => Operation. Converted java comments to javadocs. Added @Override annotations. git-svn-id: https://svn.forgerock.org/opendj/trunk@8652 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Code cleanup: Changed code from using AbstractOperation abstract class to using Operation interface instead. Operation.java Now extends Runnable. OperationWrapper.java Consequence of the change to Operation.java. WorkQueue.java: In submitOperation(), used Operation interface instead of AbstractOperation abstract class. DirectoryServer.java: In enqueueRequest() used Operation interface instead of AbstractOperation abstract class. Removed CLASS_NAME constant, used this class's name in getClassName(). ParallelWorkerThread.java: Changed instance member operation from AbstractOperation abstract class to Operation interface. ParallelWorkQueue.java: Changed instance member opQueue from ConcurrentLinkedQueue<AbstractOperation> to ConcurrentLinkedQueue<Operation>. In submitOperation(), nextOperation() and retryNextOperation(), used Operation interface instead of AbstractOperation abstract class. TraditionalWorkerThread.java Changed instance member operation from AbstractOperation abstract class to Operation interface. In shutDown() used Operation interface instead of AbstractOperation abstract class. TraditionalWorkQueue.java Changed instance member opQueue from LinkedBlockingQueue<AbstractOperation> to LinkedBlockingQueue<Operation>. In initializeWorkQueue(), submitOperation(), nextOperation(), retryNextOperation() and applyConfigurationChange(), used Operation interface instead of AbstractOperation abstract class. In applyConfigurationChange(), remove a duplicate condition check. All files: Converted java comments to javadocs. Added @Override annotations. git-svn-id: https://svn.forgerock.org/opendj/trunk@8651 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
… always final anyway). opendj-rest2ldap-servlet: svn ignored eclipse generated files. git-svn-id: https://svn.forgerock.org/opendj/trunk@8650 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
…able to modify entries git-svn-id: https://svn.forgerock.org/opendj/trunk@8649 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixing build with precommit. git-svn-id: https://svn.forgerock.org/opendj/trunk@8648 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Renamed StaticUtils.java to Converters.java. Did the same for the test. Added javadocs to Converters.java . Adapters.java: Consequence of the change to Converters.java . git-svn-id: https://svn.forgerock.org/opendj/trunk@8647 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8646 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
git-svn-id: https://svn.forgerock.org/opendj/trunk@8645 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
HTTPConnectionHandlerConfiguration.xml: Removed the advanced attribute from ds-cfg-config-file property. This should be accessible from normal use. git-svn-id: https://svn.forgerock.org/opendj/trunk@8644 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Fixing nightly build. git-svn-id: https://svn.forgerock.org/opendj/trunk@8643 41b1ffd8-f28e-4786-ab96-9950f0a78031
25 Mar, 2013
5 commits
-
* expose all headers as constants in their respective request/response class * rename Request.getFieldFilters to Request.getFields to align with REST API * rename REST query parameter "_filter" to "_queryFilter" to align with Java API git-svn-id: https://svn.forgerock.org/opendj/trunk@8642 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Thanks to Laszlo for the patch. git-svn-id: https://svn.forgerock.org/opendj/trunk@8641 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* update sample JSON config to use search+simple * add some additional documentation git-svn-id: https://svn.forgerock.org/opendj/trunk@8640 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
* don't use ServletRequest.getServletContext() since it is Servlet 3 only git-svn-id: https://svn.forgerock.org/opendj/trunk@8639 41b1ffd8-f28e-4786-ab96-9950f0a78031
-
Added support for using the Rest2LDAP servlet from OpenDJ HTTPConnectionHandler. HTTPConnectionHandler.java: Added support for using the Rest2LDAP servlet + removed the FakeServlet. Added the JSON_MAPPER constant to parse the JSON config file for Rest2LDAP. Added getClientConnectionsMap() getter. Added getConnectionFactory() method, heavily inspired from org.forgerock.opendj.rest2ldap.servlet.Rest2LDAPConnectionFactoryProvider.getConnectionFactory(). In startHttpServer(), silenced Grizzly logging + set the IOThreadStrategy to be single threaded + changed the access path to the servlet. CollectClientConnectionsFilter.java: Added support for using the Rest2LDAP servlet. Removed clientConnections instance member, now get this value from the HTTPConnectionHandler. config.ldif, 02-config.ldif, HTTPConnectionHandlerConfiguration.xml, HTTPConnectionHandlerCfgDefn.properties: Added ds-cfg-config-file property to ds-cfg-http-connection-handler objectClass. http-config.json: ADDED (copied from opendj-rest2ldap-servlet project) ivy.xml: Added dependencies to Rest2LDAP. ivysettings.xml: Added support for updating SNAPSHOTS. git-svn-id: https://svn.forgerock.org/opendj/trunk@8638 41b1ffd8-f28e-4786-ab96-9950f0a78031