03 Apr, 2013

7 commits


02 Apr, 2013

2 commits


29 Mar, 2013

6 commits


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
    JnRouvignac
     
  • git-svn-id: https://svn.forgerock.org/opendj/trunk@8664 41b1ffd8-f28e-4786-ab96-9950f0a78031
    JnRouvignac
     
  • * 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
    matthew
     
  • * 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
    matthew
     

27 Mar, 2013

5 commits


26 Mar, 2013

11 commits


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
    matthew
     
  • Thanks to Laszlo for the patch.
    
    
    git-svn-id: https://svn.forgerock.org/opendj/trunk@8641 41b1ffd8-f28e-4786-ab96-9950f0a78031
    matthew
     
  • * 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
    matthew
     
  • * 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
    matthew
     
  • 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
    JnRouvignac