diff options
author | Chris Donley <christopher.donley@huawei.com> | 2018-05-30 19:55:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-05-30 19:55:33 +0000 |
commit | e65155cab8d6d74989f1dd0bd1a493e1c91a30d9 (patch) | |
tree | 9112d60bee675751d2bfe0e029929ec8960f49cc /vnftest/onap/onboard/add_service.yaml | |
parent | bfb67b927b59525028420e4477b1310fb6a69335 (diff) | |
parent | 82aeca18c66dc4c312a57f24ed3c4c33a2063070 (diff) |
Merge "Refactor api definition yamls to support jinja2"
Diffstat (limited to 'vnftest/onap/onboard/add_service.yaml')
-rw-r--r-- | vnftest/onap/onboard/add_service.yaml | 111 |
1 files changed, 43 insertions, 68 deletions
diff --git a/vnftest/onap/onboard/add_service.yaml b/vnftest/onap/onboard/add_service.yaml index 9602a6b..91a6eff 100644 --- a/vnftest/onap/onboard/add_service.yaml +++ b/vnftest/onap/onboard/add_service.yaml @@ -12,71 +12,46 @@ # the License ############################################################################## --- -method: "POST" -url: "http://{sdc_ip}:{sdc_catalog_port}/sdc1/feProxy/rest/v1/catalog/services" -headers: { - "Content-Type": "application/json", - "Authorization": "Basic YmVlcDpib29w", - "USER_ID": "{sdc_designer_user}", - "Accept": "application/json" - } -body: { - "artifacts": { - - }, - "toscaArtifacts": { - - }, - "contactId": "{sdc_designer_user}", - "categories": [ - { - "name": "Network L4+", - "normalizedName": "network l4+", - "uniqueId": "serviceNewCategory.network l4+", - "icons": [ - "network_l_4" - ], - "subcategories": null, - "ownerId": null - } - ], - "description": "service test", - "icon": "defaulticon", - "componentInstancesProperties": { - - }, - "componentInstancesAttributes": { - - }, - "name": "{service_name}", - "tags": [ - "{service_name}" - ], - "capabilities": { - - }, - "requirements": { - - }, - "deploymentArtifacts": { - - }, - "componentType": "SERVICE", - "projectCode": "100100", - "componentInstances": [ - - ], - "properties": [ - - ], - "attributes": [ - - ], - "groups": [ - - ], - "ecompGeneratedNaming": "true", - "serviceApiArtifacts": { - - } - } +method: POST +url: http://{{sdc_ip}}:{{sdc_catalog_port}}/sdc1/feProxy/rest/v1/catalog/services +headers: + Content-Type: application/json + Authorization: Basic YmVlcDpib29w + USER_ID: {{sdc_designer_user}} + Accept: application/json + +body: + artifacts: + toscaArtifacts: + contactId: {{sdc_designer_user}} + categories: + - + name: Network L4+ + normalizedName: network l4+ + uniqueId: serviceNewCategory.network l4+ + icons: + - + network_l_4 + + subcategories: null + ownerId: null + description: service test + icon: defaulticon + componentInstancesProperties: + componentInstancesAttributes: + name: {{service_name}} + tags: + - + {{service_name}} + + capabilities: + requirements: + deploymentArtifacts: + componentType: SERVICE + projectCode: 100100 + componentInstances: [] + properties: [] + attributes: [] + groups: [] + ecompGeneratedNaming: true + serviceApiArtifacts: |