diff options
author | romaingimbert <romain.gimbert@orange.com> | 2019-03-25 09:56:35 +0100 |
---|---|---|
committer | romaingimbert <romain.gimbert@orange.com> | 2019-03-25 09:56:35 +0100 |
commit | b0dba75608be034fc836c1fac8a4bcef38046c10 (patch) | |
tree | 7f7244a65ff0189be76c026acc3f31b4202d09a6 /src/test/resources/karatetest | |
parent | ce6facb8157453d34fe138c3d48901133a4639e4 (diff) |
Service Catalog - json schema reference
-add test
Change-Id: I790913f3ff71d603dfeb7349f3023f3affcb8f46
Issue-ID: EXTAPI-105
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
Diffstat (limited to 'src/test/resources/karatetest')
-rw-r--r-- | src/test/resources/karatetest/features/00--ServiceCatalog.feature | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/test/resources/karatetest/features/00--ServiceCatalog.feature b/src/test/resources/karatetest/features/00--ServiceCatalog.feature index 27807ac..38807e2 100644 --- a/src/test/resources/karatetest/features/00--ServiceCatalog.feature +++ b/src/test/resources/karatetest/features/00--ServiceCatalog.feature @@ -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 |