aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-accept-schema-elalto-moco.json
diff options
context:
space:
mode:
authorItohan <itohan.ukponmwan@intel.com>2019-09-30 23:39:44 +0000
committerItohan <itohan.ukponmwan@intel.com>2019-10-01 17:42:35 +0000
commita52f00e9d0af1181d3e9c87508789fb4ced022f5 (patch)
treedfb05a7683f0cecf86783d0623dbcf1b85ade70d /products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-accept-schema-elalto-moco.json
parent1d4b83754009114523cae90c759daffa9188eb3e (diff)
Minor bug fixes in CLI
- Added USER_ID header for SDC - Changed multicloud url - Added samples for commands - Fixed Bug in service-create command Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com> Issue-ID: CLI-229 Change-Id: I9ec94d6dd390d2b5bf059c2f8a82c67b65fbeb34
Diffstat (limited to 'products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-accept-schema-elalto-moco.json')
-rw-r--r--products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-accept-schema-elalto-moco.json62
1 files changed, 62 insertions, 0 deletions
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-accept-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-accept-schema-elalto-moco.json
new file mode 100644
index 00000000..a230f80d
--- /dev/null
+++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/service-model/service-model-test-accept-schema-elalto-moco.json
@@ -0,0 +1,62 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/sdc2/rest/v1/catalog/services/12eac43a-d95a-4383-8d97-12da68053b66/lifecycleState/certify",
+ "headers" : {
+ "Authorization" : "Basic am0wMDA3OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "USER_ID" : "jm0007",
+ "X-TransactionId" : "req-7488d49e-5457-4c6c-94b7-77eee29ae27d",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "userRemarks" : "accepted"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "uniqueId" : "a74efd34-1874-4069-9ac6-fcffa28bc29a",
+ "name" : "vfw-hpa-01",
+ "version" : "1.0",
+ "isHighestVersion" : true,
+ "creationDate" : 1569874783975,
+ "lastUpdateDate" : 1569874814770,
+ "description" : "hpa service model",
+ "lifecycleState" : "CERTIFIED",
+ "tags" : [ "vfw-hpa-01" ],
+ "icon" : "defaulticon",
+ "normalizedName" : "vfwhpa01",
+ "systemName" : "VfwHpa01",
+ "contactId" : "cs0008",
+ "allVersions" : {
+ "1.0" : "a74efd34-1874-4069-9ac6-fcffa28bc29a"
+ },
+ "projectCode" : "000000",
+ "invariantUUID" : "51e3401d-2924-40e7-827f-ca7ec567e5de",
+ "componentType" : "SERVICE",
+ "categories" : [ {
+ "name" : "Network L1-3",
+ "normalizedName" : "network l1-3",
+ "uniqueId" : "serviceNewCategory.network l1-3",
+ "empty" : false
+ } ],
+ "creatorUserId" : "jm0007",
+ "creatorFullName" : "Joni Mitchell",
+ "lastUpdaterUserId" : "jm0007",
+ "lastUpdaterFullName" : "Joni Mitchell",
+ "archiveTime" : 0,
+ "distributionStatus" : "DISTRIBUTION_NOT_APPROVED",
+ "ecompGeneratedNaming" : true,
+ "namingPolicy" : "",
+ "serviceType" : "",
+ "serviceRole" : "",
+ "environmentContext" : "General_Revenue-Bearing",
+ "instantiationType" : "A-la-carte",
+ "vspArchived" : false,
+ "uuid" : "a9031c62-bb9e-4db4-bee0-691768ed94f4",
+ "archived" : false
+ }
+ }
+} ] \ No newline at end of file