aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/karatetest/features/00--ServiceCatalog.feature
diff options
context:
space:
mode:
authorakanshad <akansha.dua@amdocs.com>2019-03-14 18:19:26 +0530
committerakanshad <akansha.dua@amdocs.com>2019-03-15 17:05:41 +0530
commit61bc7f0724de5df59d70ec32c8f11f62e7c42feb (patch)
tree12f157c4794083f7f9a38495f03f0de91ff77a6c /src/test/resources/karatetest/features/00--ServiceCatalog.feature
parent6df9f124121aa094bc69fddbe6840b278bdfc8e1 (diff)
Service Catalog - json schema reference
Issue-ID: EXTAPI-105 Change-Id: I4877636508135a2f7a77dab86dbe6a126070e9ff Signed-off-by: akanshad <akansha.dua@amdocs.com>
Diffstat (limited to 'src/test/resources/karatetest/features/00--ServiceCatalog.feature')
-rw-r--r--src/test/resources/karatetest/features/00--ServiceCatalog.feature17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/test/resources/karatetest/features/00--ServiceCatalog.feature b/src/test/resources/karatetest/features/00--ServiceCatalog.feature
index 2a40526..27807ac 100644
--- a/src/test/resources/karatetest/features/00--ServiceCatalog.feature
+++ b/src/test/resources/karatetest/features/00--ServiceCatalog.feature
@@ -23,7 +23,22 @@ 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' }
+And match $.serviceSpecCharacteristic contains
+"""
+{
+ name : 'vFW_ServiceCharacteristics',
+ description : 'This object describes all the inputs needed from the client to interact with the vFW Service Topology',
+ valueType : 'Object',
+ @type : 'ONAPServiceCharacteristic',
+ @schemaLocation : 'null',
+ serviceSpecCharacteristicValue :
+ {
+ valueType : 'Object',
+ @schemaLocation : '/serviceSpecification/462f84e5-f0e5-44c5-ab95-38fb4bf77064/specificationInputSchema',
+ @type : 'vFW_ServiceCharacteristic',
+ }
+}
+"""
Scenario: findServiceCatalog
Given path 'serviceSpecification'