aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/test/resources/onap-cli-sample/service-model/service-model-certify-complete-schema-1.1-moco.json
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-02 14:19:13 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-02 14:19:13 +0530
commitd110bd0295076517cb635c823073a253b91accb3 (patch)
tree3ee07b39837293ecfe451e4ae5908c2ab1bd0abe /plugins/sdc/src/test/resources/onap-cli-sample/service-model/service-model-certify-complete-schema-1.1-moco.json
parent1997f7cd489ebc16e384e9699904a85093fd36fc (diff)
Certify service model in SDC
CLI-57 Change-Id: I2f54fd934d88e0375659dbfcc9f70cdc684a2009 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sdc/src/test/resources/onap-cli-sample/service-model/service-model-certify-complete-schema-1.1-moco.json')
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/service-model/service-model-certify-complete-schema-1.1-moco.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/service-model/service-model-certify-complete-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/service-model/service-model-certify-complete-schema-1.1-moco.json
new file mode 100644
index 00000000..b7ea4ebf
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/service-model/service-model-certify-complete-schema-1.1-moco.json
@@ -0,0 +1,56 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/sdc2/rest/v1/catalog/services/7b427dbf-685b-4ba9-8838-a9b3b3c8e584/lifecycleState/certify",
+ "headers" : {
+ "Authorization" : "Basic am0wMDA3OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "jm0007",
+ "X-TransactionId" : "req-ec06b51c-9f76-4440-a6e8-7a14791b169a",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "userRemarks" : "Completing certification via CLI"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "uniqueId" : "ba5a19b1-3219-4f30-bfd3-3b2f700c0157",
+ "name" : "kanag-cli-VLB",
+ "version" : "1.0",
+ "isHighestVersion" : true,
+ "creationDate" : 1509606274213,
+ "lastUpdateDate" : 1509606440988,
+ "description" : "VLB created from CLI",
+ "lifecycleState" : "CERTIFIED",
+ "tags" : [ "CLI", "kanag-cli-VLB" ],
+ "icon" : "defaulticon",
+ "normalizedName" : "kanagclivlb",
+ "systemName" : "KanagCliVlb",
+ "contactId" : "cs0008",
+ "allVersions" : {
+ "1.0" : "ba5a19b1-3219-4f30-bfd3-3b2f700c0157"
+ },
+ "projectCode" : "kanag-123456",
+ "invariantUUID" : "c4425f23-fc9a-4cbf-a3b7-12e69054806b",
+ "componentType" : "SERVICE",
+ "categories" : [ {
+ "name" : "Network L1-3",
+ "normalizedName" : "network l1-3",
+ "uniqueId" : "serviceNewCategory.network l1-3"
+ } ],
+ "creatorUserId" : "jm0007",
+ "creatorFullName" : "Joni Mitchell",
+ "lastUpdaterUserId" : "jm0007",
+ "lastUpdaterFullName" : "Joni Mitchell",
+ "distributionStatus" : "DISTRIBUTION_NOT_APPROVED",
+ "ecompGeneratedNaming" : true,
+ "namingPolicy" : "",
+ "serviceType" : "",
+ "serviceRole" : "",
+ "uuid" : "660c524c-176b-43b1-a85b-1ef18011ca85"
+ }
+ }
+} ] \ No newline at end of file