diff options
author | 2019-09-30 23:39:44 +0000 | |
---|---|---|
committer | 2019-10-01 17:42:35 +0000 | |
commit | a52f00e9d0af1181d3e9c87508789fb4ced022f5 (patch) | |
tree | dfb05a7683f0cecf86783d0623dbcf1b85ade70d /products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm | |
parent | 1d4b83754009114523cae90c759daffa9188eb3e (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/vlm')
16 files changed, 470 insertions, 0 deletions
diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-elalto-moco.json new file mode 100644 index 00000000..6578b83d --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-elalto-moco.json @@ -0,0 +1,28 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models/8e1cffcf802941b1a88861ea71857fe2/versions/f6b115c0f4d8459f9422a21559025a7e/license-agreements", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-2495b81a-aa28-4c87-805f-a7bc98cf5666", + "Content-Type" : "application/json" + }, + "json" : { + "addedFeatureGroupsIds" : [ "0c81a6a0272546f49403d241bb4ce3b3" ], + "licenseTerm" : { + "choice" : "Fixed_Term", + "other" : "" + }, + "name" : "hpa-agreement-1" + } + }, + "response" : { + "status" : 200, + "json" : { + "value" : "8cadce750de14b72b37c4c94d41e2cfd" + } + } +} ]
\ No newline at end of file diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-elalto-sample.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-elalto-sample.yaml new file mode 100644 index 00000000..2c7e9fee --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-aggreement-create-schema-elalto-sample.yaml @@ -0,0 +1,14 @@ +open_cli_sample_version: 1.0 +name: vlm-aggreement-create +version: onap-elalto +samples: + sample1: + name: vlm-aggreement-create + input: -x hpa-agreement-1 -y 8e1cffcf802941b1a88861ea71857fe2 -e f6b115c0f4d8459f9422a21559025a7e -g 0c81a6a0272546f49403d241bb4ce3b3 -u cs0008 -p demo123456! -m https://10.12.5.110:30207/sdc1/feProxy + moco: vlm-aggreement-create-schema-elalto-moco.json + output: | + +----------+----------------------------------+ + |property |value | + +----------+----------------------------------+ + |id |8cadce750de14b72b37c4c94d41e2cfd | + +----------+----------------------------------+ diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-elalto-moco.json new file mode 100644 index 00000000..e9273e90 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-elalto-moco.json @@ -0,0 +1,31 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-e7c10692-db7b-43d9-81cb-007cb32459cb", + "Content-Type" : "application/json" + }, + "json" : { + "vendorName" : "hpa-vendor-1", + "description" : "", + "iconRef" : "icon" + } + }, + "response" : { + "status" : 200, + "json" : { + "itemId" : "8e1cffcf802941b1a88861ea71857fe2", + "version" : { + "id" : "f6b115c0f4d8459f9422a21559025a7e", + "name" : "1.0", + "description" : "Initial version", + "status" : "Draft" + } + } + } +} ]
\ No newline at end of file diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-elalto-sample.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-elalto-sample.yaml new file mode 100644 index 00000000..3239cfd1 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-create-schema-elalto-sample.yaml @@ -0,0 +1,16 @@ +open_cli_sample_version: 1.0 +name: vlm-create +version: onap-elalto +samples: + sample1: + name: vlm-create + input: -x hpa-vendor-1 -u cs0008 -p demo123456! -m https://10.12.5.110:30207/sdc1/feProxy + moco: vlm-create-schema-elalto-moco.json + output: | + +----------+----------------------------------+ + |property |value | + +----------+----------------------------------+ + |id |8e1cffcf802941b1a88861ea71857fe2 | + +----------+----------------------------------+ + |version |f6b115c0f4d8459f9422a21559025a7e | + +----------+----------------------------------+ diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-delete-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-delete-schema-elalto-moco.json new file mode 100644 index 00000000..d0a3ce6b --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-delete-schema-elalto-moco.json @@ -0,0 +1,23 @@ +[ { + "request" : { + "method" : "delete", + "uri" : "/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models/25a262cd648a4c639badc3d2e842d605", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-c81050ef-93bd-4b86-98d9-af6ee23bbc34", + "Content-Type" : "application/json" + }, + "json" : { + "vendorName" : "hpa-test", + "description" : "vendor license model", + "iconRef" : "icon" + } + }, + "response" : { + "status" : 200, + "json" : { } + } +} ]
\ No newline at end of file diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-delete-schema-elalto-sample.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-delete-schema-elalto-sample.yaml new file mode 100644 index 00000000..2dc28cb2 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-delete-schema-elalto-sample.yaml @@ -0,0 +1,9 @@ +open_cli_sample_version: 1.0 +name: vlm-delete +version: onap-elalto +samples: + sample1: + name: vlm-delete + input: -x hpa-test -y 25a262cd648a4c639badc3d2e842d605 -u cs0008 -p demo123456! -m https://10.12.5.110:30207/sdc1/feProxy + moco: vlm-delete-schema-elalto-moco.json + output:
\ No newline at end of file diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-elalto-moco.json new file mode 100644 index 00000000..39ee8e7b --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-elalto-moco.json @@ -0,0 +1,30 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models/8e1cffcf802941b1a88861ea71857fe2/versions/f6b115c0f4d8459f9422a21559025a7e/entitlement-pools", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-c3da7893-3169-4c91-a70d-9288fc86860c", + "Content-Type" : "application/json" + }, + "json" : { + "name" : "hpa-pool-1", + "time" : { + "choice" : "", + "other" : "" + }, + "startDate" : "09/30/2019", + "expiryDate" : "12/31/2040", + "manufacturerReferenceNumber" : "hpa-vendor-1" + } + }, + "response" : { + "status" : 200, + "json" : { + "value" : "8a13144a349e47989ba706681300e73c" + } + } +} ]
\ No newline at end of file diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-elalto-sample.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-elalto-sample.yaml new file mode 100644 index 00000000..7d7e6710 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-entitlement-pool-create-schema-elalto-sample.yaml @@ -0,0 +1,14 @@ +open_cli_sample_version: 1.0 +name: vlm-entitlement-pool-create +version: onap-elalto +samples: + sample1: + name: vlm-entitlement-pool-create + input: -x hpa-pool-1 -y 8e1cffcf802941b1a88861ea71857fe2 -e f6b115c0f4d8459f9422a21559025a7e -k hpa-vendor-1 -g 12/31/2040 -l 09/30/2019 -u cs0008 -p demo123456! -m https://10.12.5.110:30207/sdc1/feProxy + moco: vlm-entitlement-pool-create-schema-elalto-moco.json + output: | + +----------+----------------------------------+ + |property |value | + +----------+----------------------------------+ + |id |8a13144a349e47989ba706681300e73c | + +----------+----------------------------------+ diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-elalto-moco.json new file mode 100644 index 00000000..0f34345c --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-elalto-moco.json @@ -0,0 +1,26 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models/8e1cffcf802941b1a88861ea71857fe2/versions/f6b115c0f4d8459f9422a21559025a7e/feature-groups", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-ccb5f985-2d16-4d64-bbe8-dd9919a55f03", + "Content-Type" : "application/json" + }, + "json" : { + "name" : "hpa-feature-1", + "addedLicenseKeyGroupsIds" : [ "8a6fe24684294c468c7e88c42d2c898e" ], + "addedEntitlementPoolsIds" : [ "8a13144a349e47989ba706681300e73c" ], + "partNumber" : "hpa-part" + } + }, + "response" : { + "status" : 200, + "json" : { + "value" : "0c81a6a0272546f49403d241bb4ce3b3" + } + } +} ]
\ No newline at end of file diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-elalto-sample.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-elalto-sample.yaml new file mode 100644 index 00000000..70a6fa56 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-feature-group-create-schema-elalto-sample.yaml @@ -0,0 +1,14 @@ +open_cli_sample_version: 1.0 +name: vlm-feature-group-create +version: onap-elalto +samples: + sample1: + name: vlm-feature-group-create + input: -x hpa-feature-1 -y 8e1cffcf802941b1a88861ea71857fe2 -e f6b115c0f4d8459f9422a21559025a7e -g 8a6fe24684294c468c7e88c42d2c898e -b 8a13144a349e47989ba706681300e73c -c hpa-part -u cs0008 -p demo123456! -m https://10.12.5.110:30207/sdc1/feProxy + moco: vlm-feature-group-create-schema-elalto-moco.json + output: | + +----------+----------------------------------+ + |property |value | + +----------+----------------------------------+ + |id |0c81a6a0272546f49403d241bb4ce3b3 | + +----------+----------------------------------+ diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-elalto-moco.json new file mode 100644 index 00000000..fc7bf6d9 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-elalto-moco.json @@ -0,0 +1,24 @@ +[ { + "request" : { + "method" : "post", + "uri" : "/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models/8e1cffcf802941b1a88861ea71857fe2/versions/f6b115c0f4d8459f9422a21559025a7e/license-key-groups", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-9b2d80ae-1b4b-452c-9a5f-cba77df67500", + "Content-Type" : "application/json" + }, + "json" : { + "name" : "hpa-key-1", + "type" : "Universal" + } + }, + "response" : { + "status" : 200, + "json" : { + "value" : "8a6fe24684294c468c7e88c42d2c898e" + } + } +} ]
\ No newline at end of file diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-elalto-sample.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-elalto-sample.yaml new file mode 100644 index 00000000..08d10b58 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-key-group-create-schema-elalto-sample.yaml @@ -0,0 +1,14 @@ +open_cli_sample_version: 1.0 +name: vlm-key-group-create +version: onap-elalto +samples: + sample1: + name: vlm-key-group-create + input: -c 8e1cffcf802941b1a88861ea71857fe2 -e f6b115c0f4d8459f9422a21559025a7e -x hpa-key-1 -y Universal -u cs0008 -p demo123456! -m https://10.12.5.110:30207/sdc1/feProxy + moco: vlm-key-group-create-schema-elalto-moco.json + output: | + +----------+----------------------------------+ + |property |value | + +----------+----------------------------------+ + |id |8a6fe24684294c468c7e88c42d2c898e | + +----------+----------------------------------+ diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-elalto-moco.json new file mode 100644 index 00000000..7f0aa458 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-elalto-moco.json @@ -0,0 +1,126 @@ +[ { + "request" : { + "method" : "get", + "uri" : "/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-0e83b16c-98a3-4c11-8cdc-030d665b4fa6", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 200, + "json" : { + "listCount" : 13, + "results" : [ { + "id" : "25a262cd648a4c639badc3d2e842d605", + "type" : "vlm", + "name" : "hpa-test", + "description" : "", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "926452d0ce2c47768c738d8cb936bfd0", + "type" : "vlm", + "name" : "hpa-vendor", + "description" : "", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "380f0c9b81394bb28b86f3c14cd1d25a", + "type" : "vlm", + "name" : "hpa-vendor-00", + "description" : "", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "79fef92c2c274518bac5fd5197eba099", + "type" : "vlm", + "name" : "hpa-vendor-0", + "description" : "", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "88c609b8fa3346e185f803b169fe5d8c", + "type" : "vlm", + "name" : "8d3a7462-01d7-499d-9046", + "description" : "vendor license model", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "f8ce970cf8994873a8c56ffb7df8dd69", + "type" : "vlm", + "name" : "ae64828a-14aa-4ad9-b315", + "description" : "vendor license model", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "8dc3168ebd5e4808aab0f1a382b40665", + "type" : "vlm", + "name" : "adae68d4-e3cd-4b12-bce3", + "description" : "vendor license model", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "34a7da80a9ad4786b3a25c6743b39978", + "type" : "vlm", + "name" : "89fcd4ec-d432-4033-8ccb", + "description" : "vendor license model", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "0316337115104112b9250166e5655025", + "type" : "vlm", + "name" : "4f64997b-a9f1-44cd-8f1b", + "description" : "vendor license model", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "e8765688750d4923917136b7748df059", + "type" : "vlm", + "name" : "dcc3444f-805b-4315-b002", + "description" : "vendor license model", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "4bc079dd6db8495aa5a83e2bcdb83b58", + "type" : "vlm", + "name" : "533c7d38-d73c-455e-b0d0", + "description" : "vendor license model", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "812f9fe6c7134eed8030ceac087ea07b", + "type" : "vlm", + "name" : "71302b8b-1521-4157-be3c", + "description" : "vendor license model", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + }, { + "id" : "784b26f84d1e46e68d8da56ae22d2e9e", + "type" : "vlm", + "name" : "c3b14323-c7af-4468-8391", + "description" : "vendor license model", + "owner" : "cs0008", + "status" : "ACTIVE", + "properties" : { } + } ] + } + } +} ]
\ No newline at end of file diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-elalto-sample.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-elalto-sample.yaml new file mode 100644 index 00000000..bb63be41 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-list-schema-elalto-sample.yaml @@ -0,0 +1,71 @@ +open_cli_sample_version: 1.0 +name: vlm-list +version: onap-elalto +samples: + sample1: + name: vlm-list + input: --help + moco: vlm-list-schema-elalto-moco.json + output: | + usage: oclip vlm-list + + List the vendor license models in ONAP + + Product: onap-elalto + Service: sdc.onboarding + Author: ONAP HPA Integration Team (onap-discuss@lists.onap.org) + + Options:: + + [-m | --host-url] [-C | --no-catalog] [-f | --format] + [-h | --help] [-V | --verify] [-t | --no-title] + [-d | --debug] [-v | --version] [-s | --long] + [-D | --context] [-u | --host-username] [-a | --no-auth] + [-p | --host-password] + + where:: + + -m | --host-url host url in http(s). It is of type URL. By + default, it is read from environment variable + OPEN_CLI_HOST_URL. + -C | --no-catalog Whether to use given host-url directly or + discover it from catalog, it will override the + service->mode. It is of type BOOL. It is + optional. + -f | --format Output formats, supported formats such as table, + csv, json, yaml. It is of type STRING. + -h | --help print help message. It is of type BOOL. + -V | --verify Helps to verify the command using samples + provides under open-cli-samples directory. By + default, it goes with mock.To enable the + verification of samples in real time, set + DISABLE_MOCKING=true in the context parameter. It + is of type BOOL. It is optional. + -t | --no-title whether to print title or not. It is of type BOOL. + -d | --debug Enable debug output. It is of type BOOL. + -v | --version print service version. It is of type BOOL. + -s | --long whether to print all attributes or only short + attributes. It is of type BOOL. + -D | --context command context. It is of type MAP. It is + optional. + -u | --host-username Host user name. It is of type STRING. By default, + it is read from environment variable + OPEN_CLI_HOST_USERNAME. + -a | --no-auth Whether to authenticate user or not. It is of + type BOOL. + -p | --host-password Host user password. It is of type STRING. By + default, it is read from environment variable + OPEN_CLI_HOST_PASSWORD. Secured. + + + Results:: + + vlm-name name of the vendor license model and is of type + STRING. + vlm-id ID of the vendor license model and is of type + STRING. + + + Error:: + + On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE> diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-elalto-moco.json b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-elalto-moco.json new file mode 100644 index 00000000..9986e183 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-elalto-moco.json @@ -0,0 +1,21 @@ +[ { + "request" : { + "method" : "put", + "uri" : "/sdc1/feProxy/onboarding-api/v1.0/vendor-license-models/8e1cffcf802941b1a88861ea71857fe2/versions/f6b115c0f4d8459f9422a21559025a7e/actions", + "headers" : { + "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh", + "X-FromAppId" : "ONAP CLI", + "Accept" : "application/json", + "USER_ID" : "cs0008", + "X-TransactionId" : "req-15ee8f6f-cc17-4cdb-be68-860bf05a9795", + "Content-Type" : "application/json" + }, + "json" : { + "action" : "Submit" + } + }, + "response" : { + "status" : 200, + "json" : { } + } +} ]
\ No newline at end of file diff --git a/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-elalto-sample.yaml b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-elalto-sample.yaml new file mode 100644 index 00000000..2cb032d5 --- /dev/null +++ b/products/onap-elalto/features/sdc/src/main/resources/open-cli-sample/vlm/vlm-submit-schema-elalto-sample.yaml @@ -0,0 +1,9 @@ +open_cli_sample_version: 1.0 +name: vlm-submit +version: onap-elalto +samples: + sample1: + name: vlm-submit + input: -x 8e1cffcf802941b1a88861ea71857fe2 -y f6b115c0f4d8459f9422a21559025a7e -u cs0008 -p demo123456! -m https://10.12.5.110:30207/sdc1/feProxy + moco: vlm-submit-schema-elalto-moco.json + output:
\ No newline at end of file |