Add unit tests for ExternalAPIUtil 45/72645/8
authorMichal Kabaj <michal.kabaj@nokia.com>
Thu, 15 Nov 2018 12:48:36 +0000 (13:48 +0100)
committerMichal Kabaj <michal.kabaj@nokia.com>
Wed, 21 Nov 2018 07:21:23 +0000 (08:21 +0100)
commit7d6e1ae492d91b74c6db995f42ef665d9e375245
tree9535d0b17eb10d96b976004c08753ee4a4c01271
parent4bae647a66bd08422ae2d9b8dec226434270eb5c
Add unit tests for ExternalAPIUtil

-Add unit tests for ExternalAPIUtil
-Add dependency injection via constructor
-Add factory for creating ExternalAPIUtil and RESTClient

Change-Id: Ied89afa3612de8d51424c95239341a57387ad94f
Issue-ID: SO-1195
Signed-off-by: Michal Kabaj <michal.kabaj@nokia.com>
bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/ExternalAPIUtil.groovy
bpmn/MSOCommonBPMN/src/main/groovy/org/onap/so/bpmn/common/scripts/ExternalAPIUtilFactory.groovy [new file with mode: 0644]
bpmn/MSOCommonBPMN/src/test/groovy/org/onap/so/bpmn/common/scripts/ExternalAPIUtilTest.groovy [new file with mode: 0644]
bpmn/mso-infrastructure-bpmn/pom.xml
bpmn/pom.xml
bpmn/so-bpmn-building-blocks/pom.xml
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/Create3rdONAPE2EServiceInstance.groovy
bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/Delete3rdONAPE2EServiceInstance.groovy
common/src/main/java/org/onap/so/client/HttpClientFactory.java [new file with mode: 0644]
pom.xml