From 65204c69a3eee5e8eeeccf9b1ed9503cdce63db5 Mon Sep 17 00:00:00 2001 From: mojahidi Date: Wed, 25 Apr 2018 18:39:53 +0530 Subject: Flow test for IntefaceOperation Added flow tests for IntefaceOperation Change-Id: Ic2f35dc20f997cef583a0fffc94cef16a3742bea Issue-ID: SDC-1060 Signed-off-by: mojahidi --- .../resources/json/operation/createOperation.json | 16 +++++ .../json/operation/createVF_From_Catalog.json | 70 ++++++++++++++++++++++ .../resources/json/operation/updateOperation.json | 17 ++++++ 3 files changed, 103 insertions(+) create mode 100644 openecomp-bdd/resources/json/operation/createOperation.json create mode 100644 openecomp-bdd/resources/json/operation/createVF_From_Catalog.json create mode 100644 openecomp-bdd/resources/json/operation/updateOperation.json (limited to 'openecomp-bdd/resources') 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 -- cgit 1.2.3-korg