summaryrefslogtreecommitdiffstats
path: root/vnftest/onap/onboard/add_resource_instance.yaml
diff options
context:
space:
mode:
authorChris Donley <christopher.donley@huawei.com>2018-05-30 19:55:33 +0000
committerGerrit Code Review <gerrit@onap.org>2018-05-30 19:55:33 +0000
commite65155cab8d6d74989f1dd0bd1a493e1c91a30d9 (patch)
tree9112d60bee675751d2bfe0e029929ec8960f49cc /vnftest/onap/onboard/add_resource_instance.yaml
parentbfb67b927b59525028420e4477b1310fb6a69335 (diff)
parent82aeca18c66dc4c312a57f24ed3c4c33a2063070 (diff)
Merge "Refactor api definition yamls to support jinja2"
Diffstat (limited to 'vnftest/onap/onboard/add_resource_instance.yaml')
-rw-r--r--vnftest/onap/onboard/add_resource_instance.yaml35
1 files changed, 17 insertions, 18 deletions
diff --git a/vnftest/onap/onboard/add_resource_instance.yaml b/vnftest/onap/onboard/add_resource_instance.yaml
index a1af66c..e217bd7 100644
--- a/vnftest/onap/onboard/add_resource_instance.yaml
+++ b/vnftest/onap/onboard/add_resource_instance.yaml
@@ -13,21 +13,20 @@
##############################################################################
---
-method: "POST"
-url: "http://{sdc_ip}:{sdc_catalog_port}/sdc1/feProxy/rest/v1/catalog/services/{sdc_service_id}/resourceInstance"
-headers: {
- "Content-Type": "application/json",
- "Authorization": "Basic YmVlcDpib29w",
- "USER_ID": "{sdc_designer_user}",
- "Accept": "application/json"
- }
-body: {
- "uniqueId": "{resource_instance_unique_id}",
- "posX": "500",
- "posY": "100",
- "name": "{resource_instance_name}",
- "componentVersion": "1.0",
- "originType": "VF",
- "icon": "defaulticon",
- "componentUid": "{resource_version_id}"
- } \ No newline at end of file
+method: POST
+url: http://{{sdc_ip}}:{{sdc_catalog_port}}/sdc1/feProxy/rest/v1/catalog/services/{{sdc_service_id}}/resourceInstance
+headers:
+ Content-Type: application/json
+ Authorization: Basic YmVlcDpib29w
+ USER_ID: {{sdc_designer_user}}
+ Accept: application/json
+
+body:
+ uniqueId: {{resource_instance_unique_id}}
+ posX: 500
+ posY: 100
+ name: {{resource_instance_name}}
+ componentVersion: 1.0
+ originType: VF
+ icon: defaulticon
+ componentUid: {{resource_version_id}}