Added sleep before GET call 75/22075/2
authorShailendra Borale <sb8915@att.com>
Fri, 3 Nov 2017 22:36:06 +0000 (18:36 -0400)
committerShailendra Borale <sb8915@att.com>
Sat, 4 Nov 2017 16:54:02 +0000 (12:54 -0400)
commit8110f18571f6792ddd9ab21a63d0b13089f55f76
tree48c1979bd322706ab4ca8503c9daf091d960fbb3
parentbf5586a18a786767bc84f512bf6e4cafe9ed3ee8
Added sleep before GET call

Added 30 second sleep to take care of AAI replication issue
Changed calls to toJsonString to toJsonStringNoRootName. toJsonString adds additional braces causing parsing error
Added code to skip wait in case of unit testing. added debug prints to test cases

Change-Id: I25461da8051f96ea2c8f6c5fde386a0ba0b66e43
IssueId: SO-303
Signed-off-by: Shailendra Borale <sb8915@att.com>
bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/vcpe/scripts/CreateVcpeResCustService.groovy
bpmn/MSOInfrastructureBPMN/src/main/groovy/org/openecomp/mso/bpmn/vcpe/scripts/DoCreateAllottedResourceTXC.groovy
bpmn/MSOInfrastructureBPMN/src/test/groovy/org/openecomp/mso/bpmn/vcpe/scripts/CreateVcpeResCustServiceTest.groovy
bpmn/MSOInfrastructureBPMN/src/test/java/org/openecomp/mso/bpmn/vcpe/CreateVcpeResCustServiceTest.java