diff options
author | 2017-11-02 14:17:18 +0530 | |
---|---|---|
committer | 2017-11-02 14:17:18 +0530 | |
commit | d9a02d3c870e72755ad14bb717daa9ec236480ba (patch) | |
tree | 7f90fcfd50992d7cdd03c634916459d020484cf6 /plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-request-schema-1.1-moco.json | |
parent | 22554d46acba7dfb26dff3e346af40b54e7bca1f (diff) |
Test VF model in SDC and cerify it
CLI-57
Change-Id: I71903c7d5cf5a6eb6ad531b7151d33b49b009b36
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-request-schema-1.1-moco.json')
-rw-r--r-- | plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-request-schema-1.1-moco.json | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-request-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-request-schema-1.1-moco.json new file mode 100644 index 00000000..5160e68f --- /dev/null +++ b/plugins/sdc/src/test/resources/onap-cli-sample/vf/vf-model-certify-request-schema-1.1-moco.json @@ -0,0 +1,64 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc2/rest/v1/catalog/resources/66269482-0b27-40e3-9c4d-6a26fb67d9ff/lifecycleState/certificationRequest", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "onap-cli", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-bdb48dbf-757d-4ca0-afa6-e8cae0dc3a81", + "Content-Type" : "application/json" + }, + "json" : { + "userRemarks" : "Requesting certification via CLI" + } + }, + "response" : { + "status" : 200, + "json" : { + "uniqueId" : "66269482-0b27-40e3-9c4d-6a26fb67d9ff", + "name" : "kanag-cli-VLB", + "version" : "0.1", + "isHighestVersion" : true, + "creationDate" : 1509603052084, + "lastUpdateDate" : 1509603313829, + "description" : "VF created from CLI", + "lifecycleState" : "READY_FOR_CERTIFICATION", + "tags" : [ "CLI", "kanag-cli-VLB" ], + "icon" : "defaulticon", + "normalizedName" : "kanagclivlb", + "systemName" : "KanagCliVlb", + "contactId" : "cs0008", + "allVersions" : { + "0.1" : "66269482-0b27-40e3-9c4d-6a26fb67d9ff" + }, + "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" : "cs0008", + "creatorFullName" : "Carlos Santana", + "lastUpdaterUserId" : "cs0008", + "lastUpdaterFullName" : "Carlos Santana", + "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 |