summaryrefslogtreecommitdiffstats
path: root/src/test/resources/karatetest/features
diff options
context:
space:
mode:
authoraosull01 <adrian.osullivan@huawei.com>2019-03-05 10:43:15 +0000
committeraosull01 <adrian.osullivan@huawei.com>2019-03-05 11:13:55 +0000
commitc28c83fbe81f11ba5b636da29f969b72d58df9b5 (patch)
tree5da61d9ecf8ed91b01b8898428769bf862bbc9f4 /src/test/resources/karatetest/features
parent54f4f123ca4fd37ded22dc7887a4bb7bb468f01b (diff)
Use SDC Tosca Jar to extract and parse SDC CSAR
Change-Id: I0e8261ed338eaafa35bb663f95a19fe97be57652 Issue-ID: EXTAPI-205 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
Diffstat (limited to 'src/test/resources/karatetest/features')
-rw-r--r--src/test/resources/karatetest/features/00--ServiceCatalog.feature7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/resources/karatetest/features/00--ServiceCatalog.feature b/src/test/resources/karatetest/features/00--ServiceCatalog.feature
index 31fd148..2a40526 100644
--- a/src/test/resources/karatetest/features/00--ServiceCatalog.feature
+++ b/src/test/resources/karatetest/features/00--ServiceCatalog.feature
@@ -18,6 +18,13 @@ And match $.resourceSpecification[0] contains { name : 'vFW-vSINK', resourceInst
And match $.resourceSpecification == '#[2]'
And match $.attachment == '#[5]'
+Scenario: testServiceCatalogGetServiceWithToscaInput
+Given path 'serviceSpecification','462f84e5-f0e5-44c5-ab95-38fb4bf77064'
+When method get
+Then status 200
+And match $ contains { id : '462f84e5-f0e5-44c5-ab95-38fb4bf77064' , name : 'vFW' , invariantUUID : 'b58a118e-eeb9-4f6e-bdca-e292f84d17df' , toscaModelURL : '/sdc/v1/catalog/services/462f84e5-f0e5-44c5-ab95-38fb4bf77064/toscaModel' , distributionStatus : 'DISTRIBUTED' , version : '2.0' , lifecycleStatus : 'CERTIFIED' , @type : 'ONAPservice' , attachment : '#array' , relatedParty : '#notnull' , resourceSpecification : '#array' }
+And match $.serviceSpecCharacteristic[0] contains { name : 'sdwanconnectivity0_topology', description : 'full mesh, hub-spoke', valueType : 'string', required : '#boolean', serviceSpecCharacteristicValue : '#null' }
+
Scenario: findServiceCatalog
Given path 'serviceSpecification'
When method get