diff options
author | Matthieu Geerebaert <matthieu.geerebaert@orange.com> | 2019-03-26 09:47:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-03-26 09:47:47 +0000 |
commit | ab3fe2b8e2a08a2e138d269d68d7f48288f9464d (patch) | |
tree | 7634a1412abd2e611482afa96dd788fce2188209 /src | |
parent | 7638d1ce560f7dccb15ae5f9900dc12e756a8784 (diff) | |
parent | b0dba75608be034fc836c1fac8a4bcef38046c10 (diff) |
Merge "Service Catalog - json schema reference"
Diffstat (limited to 'src')
-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 |