Service level workflow retrieving API 43/109543/7
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>
Wed, 24 Jun 2020 12:51:28 +0000 (13:51 +0100)
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>
Wed, 8 Jul 2020 14:35:41 +0000 (15:35 +0100)
commit76e89e2d541404b074f28865fd8ca1f426f9ce07
tree2fa0f52fb3b257ea1117faf113ce7953f518929b
parentcf5b7493eb7dffdeb211af056ce8459ede89292a
Service level workflow retrieving API

This commit implements the below API in SO.
Get /workflowSpecifications/v1/workflows?resourceTarget={service}

It adds functionality to query the workflows using resourceTarget as query param

  - Modified existing workflow API to accommodate resourceTarget queryParam

Issue-ID: SO-2929
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I785cdd588b6094387906edb495e53b01596f5046
mso-api-handlers/mso-api-handler-infra/src/main/java/org/onap/so/apihandlerinfra/WorkflowSpecificationsHandler.java
mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap/so/apihandlerinfra/WorkflowSpecificationsHandlerTest.java
mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/catalogdb/WorkflowSpecificationsForService.json [new file with mode: 0644]
mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/catalogdb/WorkflowSpecificationsForServiceWorkflows_Response.json [new file with mode: 0644]