Service Catalog - json schema reference 59/83159/1
authorromaingimbert <romain.gimbert@orange.com>
Mon, 25 Mar 2019 08:56:35 +0000 (09:56 +0100)
committerromaingimbert <romain.gimbert@orange.com>
Mon, 25 Mar 2019 08:56:35 +0000 (09:56 +0100)
-add test

Change-Id: I790913f3ff71d603dfeb7349f3023f3affcb8f46
Issue-ID: EXTAPI-105
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
src/test/resources/karatetest/features/00--ServiceCatalog.feature

index 27807ac..38807e2 100644 (file)
@@ -40,6 +40,34 @@ And match $.serviceSpecCharacteristic contains
 }
 """
 
+
+Scenario: testServiceCatalogInputSchema
+Given path 'serviceSpecification','462f84e5-f0e5-44c5-ab95-38fb4bf77064'
+When method get
+Then status 200
+Given path 'serviceSpecification','462f84e5-f0e5-44c5-ab95-38fb4bf77064','specificationInputSchema'
+When method get
+Then status 200
+And match $ contains
+"""
+{
+  "ServiceCharacteristics" : {
+    "required" : [ "sdwanconnectivity0_name", "sdwanconnectivity0_topology" ],
+    "properties" : {
+      "sdwanconnectivity0_topology" : {
+        "type" : "string",
+        "description" : "full mesh, hub-spoke"
+      },
+      "sdwanconnectivity0_name" : {
+        "type" : "string",
+        "description" : "the name of this VPM object"
+      }
+    }
+  }
+}
+"""
+
+
 Scenario: findServiceCatalog
 Given path 'serviceSpecification'
 When method get