aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/karatetest/features/00--ServiceCatalog.feature
diff options
context:
space:
mode:
authoraleemraja <ar00500721@techmahindra.com>2020-07-16 21:46:19 +0530
committeraleemraja <ar00500721@techmahindra.com>2020-07-16 21:49:43 +0530
commit4dbd4fc629c4c3e8c491ed7fdd904e2ecfa4c0e0 (patch)
tree0d1c9385051b0699ab98497e0aaa744156fe6fd4 /src/test/resources/karatetest/features/00--ServiceCatalog.feature
parent24e99d433cfde855e3e4ce06b6f7fb00f47dad52 (diff)
Preparing the request payload for calling SO macro flow.
- Added JUnit Test cases and Kararte test for service catalog. - Added test case for Execution Task for Macro Flow. - Modified RequestDetails and RequestInfo to match with SO Macro request payload. - Added k8s configuration in application.properties. Issue-ID: EXTAPI-368 Signed-off-by: aleemraja <ar00500721@techmahindra.com> Change-Id: Ibbbbbd2d7021c16ea6291cc899e310ae26200833 Signed-off-by: aleemraja <ar00500721@techmahindra.com>
Diffstat (limited to 'src/test/resources/karatetest/features/00--ServiceCatalog.feature')
-rw-r--r--src/test/resources/karatetest/features/00--ServiceCatalog.feature19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/test/resources/karatetest/features/00--ServiceCatalog.feature b/src/test/resources/karatetest/features/00--ServiceCatalog.feature
index 25f15df..4894c99 100644
--- a/src/test/resources/karatetest/features/00--ServiceCatalog.feature
+++ b/src/test/resources/karatetest/features/00--ServiceCatalog.feature
@@ -81,6 +81,25 @@ And match $ contains
}
"""
+Scenario: testServiceCatalogGetServiceWithoutInstanceParamsAndVFModules
+Given path 'serviceSpecification','82c9fbb4-656c-4973-8c7f-172b22b5fa8f'
+When method get
+Then status 200
+And match $.resourceSpecification contains
+"""
+[{
+ "id": "35d7887d-3c35-4fb4-aed1-d15b4d9f4ccc",
+ "version": "1.0",
+ "name": "vLB_VSP",
+ "resourceInstanceName": "vLB_VSP 0",
+ "modelCustomizationName": "vLB_VSP 0",
+ "resourceInvariantUUID": "368371e6-1d2f-4f4a-b992-a9053c7c2f1e",
+ "resourceType": "VF",
+ "@type": "ONAPresource",
+ "modelCustomizationId": "86dcf0b6-5f76-4444-8392-23ca325fd1d9"
+}]
+"""
+
Scenario: findServiceCatalog
Given path 'serviceSpecification'