Fixed Template API (resourceId and resoourceType) input validation 77/129777/1
authorkuldipr <kuldip.rai@amdocs.com>
Fri, 17 Jun 2022 22:27:33 +0000 (18:27 -0400)
committerkuldipr <kuldip.rai@amdocs.com>
Mon, 4 Jul 2022 14:24:10 +0000 (10:24 -0400)
commit5c658a23e4f8d739ef879f7efa708d89fbdf3d29
tree4aa7968136307b3160c7a168eccc62a85975e52c
parentbe4b713c7bd80ac0ac98f3f1ea8bc8f477dcb3e2
Fixed Template API (resourceId and resoourceType) input validation

Validation was always checking for resolutionKey even when it is not
required when using resourceId and resourceType. Also artifactName
which is always required could not have been sent along with
resourceId and resourceType.

Issue-ID: CCSDK-3713
Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
Change-Id: I4a2945397f10bf5c57a698894df09ee4fc5891d0
ms/blueprintsprocessor/modules/inbounds/resource-api/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/resource/api/TemplateController.kt