From e43e3718794429168db1d0d306fec394b9f684d4 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam Date: Mon, 2 Mar 2020 12:33:33 +0530 Subject: Code clean up Issue-ID: CLI-249 Change-Id: I9364f7ee3640dd74358f43ed33cd8663c0397103 Signed-off-by: Kanagaraj Manickam k00365106 --- ...m-aggreement-create-schema-casablanca-moco.json | 56 +++++----- .../vlm/vlm-create-schema-casablanca-moco.json | 60 +++++------ ...tlement-pool-create-schema-casablanca-moco.json | 58 +++++------ ...eature-group-create-schema-casablanca-moco.json | 52 +++++----- ...lm-key-group-create-schema-casablanca-moco.json | 48 ++++----- .../vlm/vlm-submit-schema-casablanca-moco.json | 40 ++++---- .../vsp/vsp-create-schema-casablanca-moco.json | 80 +++++++-------- .../vsp/vsp-list-schema-casablanca-moco.json | 114 ++++++++++----------- 8 files changed, 254 insertions(+), 254 deletions(-) (limited to 'products/onap-casablanca/features/sdc/src/main') diff --git a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-casablanca-moco.json b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-casablanca-moco.json index b22f95cc..1acb32e6 100644 --- a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-casablanca-moco.json @@ -1,29 +1,29 @@ -[ { - "request" : { - "method" : "post", - "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/license-agreements", - "headers" : { - "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "USER_ID" : "cs0008", - "X-TransactionId" : "req-84977a57-d8dd-47a9-87fb-6171b3a02db8", - "Content-Type" : "application/json" - }, - "json" : { - "addedFeatureGroupsIds" : [ "e4ba1e16f22f44c59051dead1fa7d1cf" ], - "description" : "Huawei Test license", - "licenseTerm" : { - "choice" : "Fixed_Term", - "other" : "" - }, - "name" : "Test aggrement" - } - }, - "response" : { - "status" : 200, - "json" : { - "value" : "ddfcedccb72241a1b87c63be74896322" - } - } +[ { + "request" : { + "method" : "post", + "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/license-agreements", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-84977a57-d8dd-47a9-87fb-6171b3a02db8", + "Content-Type" : "application/json" + }, + "json" : { + "addedFeatureGroupsIds" : [ "e4ba1e16f22f44c59051dead1fa7d1cf" ], + "description" : "Huawei Test license", + "licenseTerm" : { + "choice" : "Fixed_Term", + "other" : "" + }, + "name" : "Test aggrement" + } + }, + "response" : { + "status" : 200, + "json" : { + "value" : "ddfcedccb72241a1b87c63be74896322" + } + } } ] \ No newline at end of file diff --git a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-casablanca-moco.json b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-casablanca-moco.json index b885f3f0..0ef60dc0 100644 --- a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-casablanca-moco.json @@ -1,31 +1,31 @@ -[ { - "request" : { - "method" : "post", - "uri" : "/onboarding-api/v1.0/vendor-license-models", - "headers" : { - "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "USER_ID" : "cs0008", - "X-TransactionId" : "req-4692c777-f63e-4e50-a994-b5c208b62a9a", - "Content-Type" : "application/json" - }, - "json" : { - "vendorName" : "Huawei IN", - "description" : "Huawei Test license", - "iconRef" : "icon" - } - }, - "response" : { - "status" : 200, - "json" : { - "itemId" : "d8c1362526414b9bbe25cdd972eebf0e", - "version" : { - "id" : "7afd0daa8271470db3b556fdedf074f4", - "name" : "1.0", - "description" : "Initial version", - "status" : "Draft" - } - } - } +[ { + "request" : { + "method" : "post", + "uri" : "/onboarding-api/v1.0/vendor-license-models", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-4692c777-f63e-4e50-a994-b5c208b62a9a", + "Content-Type" : "application/json" + }, + "json" : { + "vendorName" : "Huawei IN", + "description" : "Huawei Test license", + "iconRef" : "icon" + } + }, + "response" : { + "status" : 200, + "json" : { + "itemId" : "d8c1362526414b9bbe25cdd972eebf0e", + "version" : { + "id" : "7afd0daa8271470db3b556fdedf074f4", + "name" : "1.0", + "description" : "Initial version", + "status" : "Draft" + } + } + } } ] \ No newline at end of file diff --git a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-casablanca-moco.json b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-casablanca-moco.json index c4052efe..6ccb52c1 100644 --- a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-casablanca-moco.json @@ -1,30 +1,30 @@ -[ { - "request" : { - "method" : "post", - "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/entitlement-pools", - "headers" : { - "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "USER_ID" : "cs0008", - "X-TransactionId" : "req-f141aab8-be09-417a-9363-1ccf1f796280", - "Content-Type" : "application/json" - }, - "json" : { - "name" : "Test Pool", - "time" : { - "choice" : "", - "other" : "" - }, - "startDate" : "12/12/2018", - "expiryDate" : "10/11/2019", - "manufacturerReferenceNumber" : "123456" - } - }, - "response" : { - "status" : 200, - "json" : { - "value" : "3091c5af38bf4fc3b3e17371c9fecbda" - } - } +[ { + "request" : { + "method" : "post", + "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/entitlement-pools", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-f141aab8-be09-417a-9363-1ccf1f796280", + "Content-Type" : "application/json" + }, + "json" : { + "name" : "Test Pool", + "time" : { + "choice" : "", + "other" : "" + }, + "startDate" : "12/12/2018", + "expiryDate" : "10/11/2019", + "manufacturerReferenceNumber" : "123456" + } + }, + "response" : { + "status" : 200, + "json" : { + "value" : "3091c5af38bf4fc3b3e17371c9fecbda" + } + } } ] \ No newline at end of file diff --git a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-casablanca-moco.json b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-casablanca-moco.json index e2e4a1ad..dd07556f 100644 --- a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-casablanca-moco.json @@ -1,27 +1,27 @@ -[ { - "request" : { - "method" : "post", - "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/feature-groups", - "headers" : { - "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "USER_ID" : "cs0008", - "X-TransactionId" : "req-aec4e184-23a7-48ac-88fb-96202e971b25", - "Content-Type" : "application/json" - }, - "json" : { - "name" : "Test key group", - "addedLicenseKeyGroupsIds" : [ "f3fd5a1294694f8590051c2755a4a918" ], - "addedEntitlementPoolsIds" : [ "3091c5af38bf4fc3b3e17371c9fecbda" ], - "partNumber" : "654321", - "description" : "Huawei Test license" - } - }, - "response" : { - "status" : 200, - "json" : { - "value" : "e4ba1e16f22f44c59051dead1fa7d1cf" - } - } +[ { + "request" : { + "method" : "post", + "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/feature-groups", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-aec4e184-23a7-48ac-88fb-96202e971b25", + "Content-Type" : "application/json" + }, + "json" : { + "name" : "Test key group", + "addedLicenseKeyGroupsIds" : [ "f3fd5a1294694f8590051c2755a4a918" ], + "addedEntitlementPoolsIds" : [ "3091c5af38bf4fc3b3e17371c9fecbda" ], + "partNumber" : "654321", + "description" : "Huawei Test license" + } + }, + "response" : { + "status" : 200, + "json" : { + "value" : "e4ba1e16f22f44c59051dead1fa7d1cf" + } + } } ] \ No newline at end of file diff --git a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-casablanca-moco.json b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-casablanca-moco.json index d74f37b5..51f0e1f4 100644 --- a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-casablanca-moco.json @@ -1,25 +1,25 @@ -[ { - "request" : { - "method" : "post", - "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/license-key-groups", - "headers" : { - "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "USER_ID" : "cs0008", - "X-TransactionId" : "req-9247b01c-1707-42d5-bc83-3402d5c48501", - "Content-Type" : "application/json" - }, - "json" : { - "description" : "Huawei Test license", - "name" : "Test key group", - "type" : "Universal" - } - }, - "response" : { - "status" : 200, - "json" : { - "value" : "f3fd5a1294694f8590051c2755a4a918" - } - } +[ { + "request" : { + "method" : "post", + "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/license-key-groups", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-9247b01c-1707-42d5-bc83-3402d5c48501", + "Content-Type" : "application/json" + }, + "json" : { + "description" : "Huawei Test license", + "name" : "Test key group", + "type" : "Universal" + } + }, + "response" : { + "status" : 200, + "json" : { + "value" : "f3fd5a1294694f8590051c2755a4a918" + } + } } ] \ No newline at end of file diff --git a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-casablanca-moco.json b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-casablanca-moco.json index 7460914b..52d6fd29 100644 --- a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-casablanca-moco.json @@ -1,21 +1,21 @@ -[ { - "request" : { - "method" : "put", - "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/actions", - "headers" : { - "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "USER_ID" : "cs0008", - "X-TransactionId" : "req-bb4ab620-1c37-48f0-9fe1-96df9838c0ed", - "Content-Type" : "application/json" - }, - "json" : { - "action" : "Submit" - } - }, - "response" : { - "status" : 200, - "json" : { } - } +[ { + "request" : { + "method" : "put", + "uri" : "/onboarding-api/v1.0/vendor-license-models/d8c1362526414b9bbe25cdd972eebf0e/versions/7afd0daa8271470db3b556fdedf074f4/actions", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-bb4ab620-1c37-48f0-9fe1-96df9838c0ed", + "Content-Type" : "application/json" + }, + "json" : { + "action" : "Submit" + } + }, + "response" : { + "status" : 200, + "json" : { } + } } ] \ No newline at end of file diff --git a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-casablanca-moco.json b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-casablanca-moco.json index 7720cc9e..5d460755 100644 --- a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-create-schema-casablanca-moco.json @@ -1,41 +1,41 @@ -[ { - "request" : { - "method" : "post", - "uri" : "/onboarding-api/v1.0/vendor-software-products", - "headers" : { - "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "USER_ID" : "cs0008", - "X-TransactionId" : "req-2d36d422-79f1-4d8e-bada-dee0e32266c2", - "Content-Type" : "application/json" - }, - "json" : { - "category" : "resourceNewCategory.generic", - "vendorId" : "d8c1362526414b9bbe25cdd972eebf0e", - "subCategory" : "resourceNewCategory.generic.abstract", - "description" : "vFW sample vsp", - "licensingVersion" : "7afd0daa8271470db3b556fdedf074f4", - "licensingData" : { - "featureGroups" : [ "e4ba1e16f22f44c59051dead1fa7d1cf" ], - "licenseAgreement" : "ddfcedccb72241a1b87c63be74896322" - }, - "icon" : "icon", - "onboardingMethod" : "Manual", - "vendorName" : "Huawei IN", - "name" : "vFW software" - } - }, - "response" : { - "status" : 200, - "json" : { - "itemId" : "5223ac6156ce4a5fb3b33ab205f34c6e", - "version" : { - "id" : "0732aefa14634e398f16ccfdabc8ed0a", - "name" : "1.0", - "description" : "Initial version", - "status" : "Draft" - } - } - } +[ { + "request" : { + "method" : "post", + "uri" : "/onboarding-api/v1.0/vendor-software-products", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-2d36d422-79f1-4d8e-bada-dee0e32266c2", + "Content-Type" : "application/json" + }, + "json" : { + "category" : "resourceNewCategory.generic", + "vendorId" : "d8c1362526414b9bbe25cdd972eebf0e", + "subCategory" : "resourceNewCategory.generic.abstract", + "description" : "vFW sample vsp", + "licensingVersion" : "7afd0daa8271470db3b556fdedf074f4", + "licensingData" : { + "featureGroups" : [ "e4ba1e16f22f44c59051dead1fa7d1cf" ], + "licenseAgreement" : "ddfcedccb72241a1b87c63be74896322" + }, + "icon" : "icon", + "onboardingMethod" : "Manual", + "vendorName" : "Huawei IN", + "name" : "vFW software" + } + }, + "response" : { + "status" : 200, + "json" : { + "itemId" : "5223ac6156ce4a5fb3b33ab205f34c6e", + "version" : { + "id" : "0732aefa14634e398f16ccfdabc8ed0a", + "name" : "1.0", + "description" : "Initial version", + "status" : "Draft" + } + } + } } ] \ No newline at end of file diff --git a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-list-schema-casablanca-moco.json b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-list-schema-casablanca-moco.json index f66bcdb1..76a88f8a 100644 --- a/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-list-schema-casablanca-moco.json +++ b/products/onap-casablanca/features/sdc/src/main/resources/open-cli-sample/vsp/vsp-list-schema-casablanca-moco.json @@ -1,58 +1,58 @@ -[ { - "request" : { - "method" : "get", - "uri" : "/onboarding-api/v1.0/vendor-software-products", - "headers" : { - "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", - "X-FromAppId" : "ONAP CLI", - "Accept" : "application/json", - "USER_ID" : "cs0008", - "X-TransactionId" : "req-373a1f99-8c3a-43b8-8b27-7d2d75dc60bb", - "Content-Type" : "application/json" - }, - "json" : null - }, - "response" : { - "status" : 200, - "json" : { - "listCount" : 4, - "results" : [ { - "name" : "vFW software", - "description" : "vFW sample vsp", - "vendorName" : "Huawei IN", - "vendorId" : "d8c1362526414b9bbe25cdd972eebf0e", - "onboardingMethod" : "Manual", - "id" : "5223ac6156ce4a5fb3b33ab205f34c6e", - "owner" : "cs0008", - "status" : "ACTIVE" - }, { - "name" : "test123", - "description" : "test", - "vendorName" : "Huawei IN", - "vendorId" : "d8c1362526414b9bbe25cdd972eebf0e", - "onboardingMethod" : "Manual", - "id" : "83f9c5d846044f81b3b94e15aaaafb0b", - "owner" : "cs0008", - "status" : "ACTIVE" - }, { - "name" : "test", - "description" : "test", - "vendorName" : "hw", - "vendorId" : "efd7a4cece974be7ad8d7798b17f9621", - "onboardingMethod" : "NetworkPackage", - "id" : "3cf5d987d1d444be8b172b3744bcbe0c", - "owner" : "cs0008", - "status" : "ACTIVE" - }, { - "name" : "test1", - "description" : "test", - "vendorName" : "Huawei IN", - "vendorId" : "d8c1362526414b9bbe25cdd972eebf0e", - "onboardingMethod" : "Manual", - "id" : "3ee1964d46834c0eaa4f9909bf40b961", - "owner" : "cs0008", - "status" : "ACTIVE" - } ] - } - } +[ { + "request" : { + "method" : "get", + "uri" : "/onboarding-api/v1.0/vendor-software-products", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-373a1f99-8c3a-43b8-8b27-7d2d75dc60bb", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 200, + "json" : { + "listCount" : 4, + "results" : [ { + "name" : "vFW software", + "description" : "vFW sample vsp", + "vendorName" : "Huawei IN", + "vendorId" : "d8c1362526414b9bbe25cdd972eebf0e", + "onboardingMethod" : "Manual", + "id" : "5223ac6156ce4a5fb3b33ab205f34c6e", + "owner" : "cs0008", + "status" : "ACTIVE" + }, { + "name" : "test123", + "description" : "test", + "vendorName" : "Huawei IN", + "vendorId" : "d8c1362526414b9bbe25cdd972eebf0e", + "onboardingMethod" : "Manual", + "id" : "83f9c5d846044f81b3b94e15aaaafb0b", + "owner" : "cs0008", + "status" : "ACTIVE" + }, { + "name" : "test", + "description" : "test", + "vendorName" : "hw", + "vendorId" : "efd7a4cece974be7ad8d7798b17f9621", + "onboardingMethod" : "NetworkPackage", + "id" : "3cf5d987d1d444be8b172b3744bcbe0c", + "owner" : "cs0008", + "status" : "ACTIVE" + }, { + "name" : "test1", + "description" : "test", + "vendorName" : "Huawei IN", + "vendorId" : "d8c1362526414b9bbe25cdd972eebf0e", + "onboardingMethod" : "Manual", + "id" : "3ee1964d46834c0eaa4f9909bf40b961", + "owner" : "cs0008", + "status" : "ACTIVE" + } ] + } + } } ] \ No newline at end of file -- cgit 1.2.3-korg