From d9a02d3c870e72755ad14bb717daa9ec236480ba Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 2 Nov 2017 14:17:18 +0530 Subject: Test VF model in SDC and cerify it CLI-57 Change-Id: I71903c7d5cf5a6eb6ad531b7151d33b49b009b36 Signed-off-by: Kanagaraj Manickam k00365106 --- .../vf-model-certify-complete-schema-1.1-moco.json | 64 ++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-complete-schema-1.1-moco.json (limited to 'plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-complete-schema-1.1-moco.json') diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-complete-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-complete-schema-1.1-moco.json new file mode 100644 index 00000000..48df97c4 --- /dev/null +++ b/plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-complete-schema-1.1-moco.json @@ -0,0 +1,64 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc2/rest/v1/catalog/resources/66269482-0b27-40e3-9c4d-6a26fb67d9ff/lifecycleState/certify", + "headers" : { + "Authorization" : "Basic am0wMDA3OmRlbW8xMjM0NTYh", + "X-FromAppId" : "onap-cli", + "Accept" : "application/json", + "USER_ID" : "jm0007", + "X-TransactionId" : "req-73b3c203-84d7-4484-8d8e-7632856193dd", + "Content-Type" : "application/json" + }, + "json" : { + "userRemarks" : "Completing certification via CLI" + } + }, + "response" : { + "status" : 200, + "json" : { + "uniqueId" : "828be6cf-c11b-4759-ac37-b1b79f86a4b4", + "name" : "kanag-cli-VLB", + "version" : "1.0", + "isHighestVersion" : true, + "creationDate" : 1509603052084, + "lastUpdateDate" : 1509603385031, + "description" : "VF created from CLI", + "lifecycleState" : "CERTIFIED", + "tags" : [ "CLI", "kanag-cli-VLB" ], + "icon" : "defaulticon", + "normalizedName" : "kanagclivlb", + "systemName" : "KanagCliVlb", + "contactId" : "cs0008", + "allVersions" : { + "1.0" : "828be6cf-c11b-4759-ac37-b1b79f86a4b4" + }, + "csarUUID" : "f19cad8343794e93acb9cda2e4126281", + "csarVersion" : "2.0", + "importedToscaChecksum" : "NDQzNmIwOWE1NjQ2NjU2YTNkMWVmNzcxMTczMjRmNDE=", + "invariantUUID" : "2d455337-57eb-4edf-a8b9-9f87fd85bc0e", + "componentType" : "RESOURCE", + "categories" : [ { + "name" : "Generic", + "normalizedName" : "generic", + "uniqueId" : "resourceNewCategory.generic", + "subcategories" : [ { + "name" : "Abstract", + "normalizedName" : "abstract", + "uniqueId" : "resourceNewCategory.generic.abstract", + "icons" : [ "objectStorage", "compute" ] + } ] + } ], + "creatorUserId" : "jm0007", + "creatorFullName" : "Joni Mitchell", + "lastUpdaterUserId" : "jm0007", + "lastUpdaterFullName" : "Joni Mitchell", + "vendorName" : "Kanag-cli", + "vendorRelease" : "1.0", + "resourceVendorModelNumber" : "", + "resourceType" : "VF", + "toscaResourceName" : "org.openecomp.resource.vf.KanagCliVlb", + "uuid" : "46c89121-b37f-4192-8841-25c93165b843" + } + } +} ] \ No newline at end of file -- cgit 1.2.3-korg