mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Jean-Noel Rouvignac
14.37.2013 6a0f5da8fca5807b1e0d4e36091ae1f694ec098e
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, May 14, 2013 17:37 +0200
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Tuesday, May 14, 2013 17:37 +0200
commit6a0f5da8fca5807b1e0d4e36091ae1f694ec098e
tree 88e4e0c55356b17366836b3c38fcf499c288918f tree | zip | gz
parent bd75176a45bbd76ca47d96b8d690d01aac96c8a2 view | diff
OPENDJ-808 (CR-1685) Implement a simple commons REST based HTTP connection handler



Added support for ds-cfg-num-request-handlers in the HTTPConnectionHandler configuration to bring it at par with the LDAPConnectionHandler configuration.



02-config.ldif, HTTPConnectionHandlerConfiguration.xml, HTTPConnectionHandlerCfgDefn.properties:
Added ds-cfg-num-request-handlers.

HTTPConnectionHandler.java:
Set the SelectorRunnersCount in grizzly based on the numRequestHandlers property.

LDAPConnectionHandler.java, ConnectionHandler.java:
Moved getNumRequestHandlers() from LDAPConnectionHandler to ConnectionHandler.
6 files modified
129 ■■■■■ changed files
opendj-sdk/opends/resource/schema/02-config.ldif 2 ●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/defn/org/opends/server/admin/std/HTTPConnectionHandlerConfiguration.xml 34 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/admin/messages/HTTPConnectionHandlerCfgDefn.properties 3 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/api/ConnectionHandler.java 48 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/http/HTTPConnectionHandler.java 12 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/protocols/ldap/LDAPConnectionHandler.java 30 ●●●●● diff | view | raw | blame | history