summaryrefslogtreecommitdiffstats
path: root/vnftest/onap/onboard/add_service.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'vnftest/onap/onboard/add_service.yaml')
-rw-r--r--vnftest/onap/onboard/add_service.yaml111
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: