Add HTTP Client library and refactor Northbound IntegrationTest 08/1608/4
authorRyan Moats <rmoats@us.ibm.com>
Wed, 2 Oct 2013 15:11:17 +0000 (10:11 -0500)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 3 Oct 2013 20:17:51 +0000 (20:17 +0000)
commitc35484bda3c82b4e907d0496b01608e478dd00a0
tree0580b899ef1fb3116e43126e67bd380f5c8f2ab7
parent53dddf23bfb571973be6f3d96886aa0006c87fa8
Add HTTP Client library and refactor Northbound IntegrationTest

Create a new commons.httpclient library for bundles that need
to function as an HTTP client.  Refactor the existing NB
IntegrationTest code to use this new library.

Ammended - library is now a profile of apache httpclient classes
to ensure things like timeouts are set on default and resources
are correctly released when finished.

Change-Id: I76f513b77700213752f4183e917fe239a9c324ff
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
opendaylight/commons/httpclient/pom.xml [new file with mode: 0644]
opendaylight/commons/httpclient/src/main/java/org/opendaylight/controller/commons/httpclient/HTTPClient.java [new file with mode: 0644]
opendaylight/commons/httpclient/src/main/java/org/opendaylight/controller/commons/httpclient/HTTPRequest.java [new file with mode: 0644]
opendaylight/commons/httpclient/src/main/java/org/opendaylight/controller/commons/httpclient/HTTPResponse.java [new file with mode: 0644]
opendaylight/distribution/opendaylight/pom.xml
opendaylight/northbound/integrationtest/pom.xml
opendaylight/northbound/integrationtest/src/test/java/org/opendaylight/controller/northbound/integrationtest/NorthboundIT.java