aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-bdd/resources/json/operation
diff options
context:
space:
mode:
authormojahidi <mojahidul.islam@amdocs.com>2018-04-25 18:39:53 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-05-01 05:56:22 +0000
commit65204c69a3eee5e8eeeccf9b1ed9503cdce63db5 (patch)
treee713c3389bc2a55dd293ec4851b219572ced6d34 /openecomp-bdd/resources/json/operation
parent802bd2af2e3c6ba92eb1ce0180a13b11018f6695 (diff)
Flow test for IntefaceOperation
Added flow tests for IntefaceOperation Change-Id: Ic2f35dc20f997cef583a0fffc94cef16a3742bea Issue-ID: SDC-1060 Signed-off-by: mojahidi <mojahidul.islam@amdocs.com>
Diffstat (limited to 'openecomp-bdd/resources/json/operation')
-rw-r--r--openecomp-bdd/resources/json/operation/createOperation.json16
-rw-r--r--openecomp-bdd/resources/json/operation/createVF_From_Catalog.json70
-rw-r--r--openecomp-bdd/resources/json/operation/updateOperation.json17
3 files changed, 103 insertions, 0 deletions
diff --git a/openecomp-bdd/resources/json/operation/createOperation.json b/openecomp-bdd/resources/json/operation/createOperation.json
new file mode 100644
index 0000000000..87c12f265f
--- /dev/null
+++ b/openecomp-bdd/resources/json/operation/createOperation.json
@@ -0,0 +1,16 @@
+{
+ "interfaceOperations": {
+ "create": {
+ "description": "create operation",
+ "inputParams": {
+ "listToscaDataDefinition": [
+ {
+ "paramName": "inp1",
+ "paramId": "68443b9d-9405-458e-811f-b62dd4975fcb.nf_naming"
+ }
+ ]
+ },
+ "operationType": "create"
+ }
+ }
+} \ No newline at end of file
diff --git a/openecomp-bdd/resources/json/operation/createVF_From_Catalog.json b/openecomp-bdd/resources/json/operation/createVF_From_Catalog.json
new file mode 100644
index 0000000000..7dcafc63c1
--- /dev/null
+++ b/openecomp-bdd/resources/json/operation/createVF_From_Catalog.json
@@ -0,0 +1,70 @@
+{
+ "artifacts": {
+
+ },
+ "toscaArtifacts": {
+
+ },
+ "contactId": "cs0008",
+ "categories": [
+ {
+ "name": "Allotted Resource",
+ "normalizedName": "allotted resource",
+ "uniqueId": "resourceNewCategory.allotted resource",
+ "icons": null,
+ "subcategories": [
+ {
+ "name": "Tunnel XConnect",
+ "normalizedName": "tunnel xconnect",
+ "uniqueId": "resourceNewCategory.allotted resource.tunnel xconnect",
+ "icons": [
+ "tunnel_x_connect"
+ ],
+ "groupings": null,
+ "ownerId": null,
+ "empty": false
+ }
+ ],
+ "ownerId": null,
+ "empty": false
+ }
+ ],
+ "description": "sd",
+ "icon": "defaulticon",
+ "componentInstancesProperties": {
+
+ },
+ "componentInstancesAttributes": {
+
+ },
+ "name": "REPLACE",
+ "tags": [
+ "REPLACE"
+ ],
+ "capabilities": {
+
+ },
+ "requirements": {
+
+ },
+ "deploymentArtifacts": {
+
+ },
+ "componentType": "RESOURCE",
+ "vendorName": "vendor",
+ "vendorRelease": "vendor release",
+ "componentInstances": [
+
+ ],
+ "inputs": [ ],
+ "properties": [
+
+ ],
+ "attributes": [
+
+ ],
+ "groups": [
+
+ ],
+ "resourceType": "VF"
+} \ No newline at end of file
diff --git a/openecomp-bdd/resources/json/operation/updateOperation.json b/openecomp-bdd/resources/json/operation/updateOperation.json
new file mode 100644
index 0000000000..b74262f9f4
--- /dev/null
+++ b/openecomp-bdd/resources/json/operation/updateOperation.json
@@ -0,0 +1,17 @@
+{
+ "interfaceOperations": {
+ "create": {
+ "description": "create operation_Updated",
+ "inputParams": {
+ "listToscaDataDefinition": [
+ {
+ "paramName": "inp1",
+ "paramId": "REPLACE FROM CONTEXT"
+ }
+ ]
+ },
+ "operationType": "create",
+ "uniqueId": "REPLACE FROM CONTEXT"
+ }
+ }
+} \ No newline at end of file