add timeout to apih for the camunda activity check 05/97905/1
authorPlummer, Brittany <brittany.plummer@att.com>
Mon, 4 Nov 2019 13:19:09 +0000 (08:19 -0500)
committerBenjamin, Max (mb388a) <mb388a@att.com>
Mon, 4 Nov 2019 13:19:09 +0000 (08:19 -0500)
commit6c90e1cb04a4cb7e08f1036f6b071d5d82d89959
tree4c5bd9b0443834d2309f2d485c34ac9d52d1a0cc
parent47cb6260f222c2f0cb0c95a53646e3196a930a8b
add timeout to apih for the camunda activity check

Added timeout for camunda history lookups
Added error strings to be returned on task information lookup
Renamed method for getTaskInformation
Removed retry for taskInformation and updated logging for errors
Added spring logging interceptors to restTemplate
Made timeout and retry timeout configurable

Issue-ID: SO-2508
Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
Change-Id: Ibd5101fc2e0a933a2f8070077c40b02bbbcfea6f
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/CamundaRequestHandler.java
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/RequestHandlerUtils.java
mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/CamundaRequestHandlerTest.java
mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/CamundaRequestHandlerUnitTest.java [new file with mode: 0644]