aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/test/resources/onap-cli-sample/vlm
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/sdc/src/test/resources/onap-cli-sample/vlm')
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-entitlement-pool-create-schema.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-entitlement-pool-show-schema.yaml16
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-group-create-schema.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-group-show-schema.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-model-create-schema.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-model-show-schema.yaml15
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-aggreement-create-schema-1.1-moco.json29
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-aggreement-create-schema-1.1-sample.yaml14
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkin-schema-1.1-moco.json21
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkin-schema-1.1-sample.yaml9
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkout-schema-1.1-moco.json21
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkout-schema-1.1-sample.yaml9
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-create-schema-1.1-moco.json25
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-create-schema-1.1-sample.yaml14
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-entitlement-pool-create-schema-1.1-moco.json44
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-entitlement-pool-create-schema-1.1-sample.yaml14
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-feature-group-create-schema-1.1-moco.json28
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-feature-group-create-schema-1.1-sample.yaml14
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-key-group-create-schema-1.1-moco.json25
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-key-group-create-schema-1.1-sample.yaml13
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-moco.json419
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-sample.yaml54
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-revert-schema-1.1-moco.json21
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-revert-schema-1.1-sample.yaml9
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-submit-schema-1.1-moco.json21
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-submit-schema-1.1-sample.yaml9
26 files changed, 904 insertions, 0 deletions
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-entitlement-pool-create-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-entitlement-pool-create-schema.yaml
new file mode 100644
index 00000000..2b1d78d9
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-entitlement-pool-create-schema.yaml
@@ -0,0 +1,15 @@
+onap_cli_sample_version: 1.0
+
+name: ep-create
+version: onap-1.0
+samples:
+ sample1:
+ name: create license entitlement Pool
+ input: --threshold-value 99 --license-model-id 4904E77EC4EF4CB18083E8ED7D283585 --ep-name demo121 --ep-description demo --threshold-unit Absolute --entitlement-metric CPU --operational-scope Availability_Zone --aggregation-function Peak --reference-number 12345 -u cs0008 -p demo123456! -m http://192.168.17.126:8080
+ moco: license-entitlement-pool-create-schema-moco.json
+ output: |
+ +----------+----------------------------------+
+ |property |value |
+ +----------+----------------------------------+
+ |ID |2366699475c943bdb283fc0b9106579c |
+ +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-entitlement-pool-show-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-entitlement-pool-show-schema.yaml
new file mode 100644
index 00000000..244c1d66
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-entitlement-pool-show-schema.yaml
@@ -0,0 +1,16 @@
+onap_cli_sample_version: 1.0
+
+name: ep-show
+version: onap-1.0
+samples:
+ sample1:
+ name: Get specific license key group
+ input: -u cs0008 -p demo123456! -m http://192.168.17.126:8080 --license-model-id 4904E77EC4EF4CB18083E8ED7D283585 --pool-id E19CDA7DA8A9462FB1A33166C28B11D2
+ moco: license-entitlement-pool-show-schema-moco.json
+ output: |
+ +----------+----------------------------------+--------------+
+ |name |ID |description |
+ +----------+----------------------------------+--------------+
+ |demo121 |E19CDA7DA8A9462FB1A33166C28B11D2 |demo |
+ +----------+----------------------------------+--------------+
+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-group-create-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-group-create-schema.yaml
new file mode 100644
index 00000000..21ab46d2
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-group-create-schema.yaml
@@ -0,0 +1,15 @@
+onap_cli_sample_version: 1.0
+
+name: license-key-group-create
+version: onap-1.0
+samples:
+ sample1:
+ name: create license key group
+ input: --license-model-id 2366699475c943bdb283fc0b9106579c -x htipl-key-grp -y Universal -z test --operational-scope Tenant -u cs0008 -p demo123456! -m http://192.168.17.126:8080
+ moco: license-group-create-moco.json
+ output: |
+ +----------+----------------------------------+
+ |property |value |
+ +----------+----------------------------------+
+ |ID |81997d7d4795485daea7418fae26c5d0 |
+ +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-group-show-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-group-show-schema.yaml
new file mode 100644
index 00000000..b927cd97
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-group-show-schema.yaml
@@ -0,0 +1,15 @@
+onap_cli_sample_version: 1.0
+
+name: license-group-show
+version: onap-1.0
+samples:
+ sample1:
+ name: Get specific license key group
+ input: -u cs0008 -p demo123456! -m http://192.168.17.126:8080 -x 4904E77EC4EF4CB18083E8ED7D283585 -y 3F57DDC6AF55420680D499CDAC047253
+ moco: license-key-group-show-schema-moco.json
+ output: |
+ +----------------+----------------------------------+--------------+
+ |name |ID |description |
+ +----------------+----------------------------------+--------------+
+ |demo-key-group |3F57DDC6AF55420680D499CDAC047253 | |
+ +----------------+----------------------------------+--------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-model-create-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-model-create-schema.yaml
new file mode 100644
index 00000000..10fc0510
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-model-create-schema.yaml
@@ -0,0 +1,15 @@
+onap_cli_sample_version: 1.0
+
+name: license-model-create
+version: onap-1.0
+samples:
+ sample1:
+ name: create license model
+ input: -x htipl -y "sample model" -u cs0008 -p demo123456! -m http://192.168.17.126:8080
+ moco: license-model-create-schema-moco.json
+ output: |
+ +----------+----------------------------------+
+ |property |value |
+ +----------+----------------------------------+
+ |ID |2366699475c943bdb283fc0b9106579c |
+ +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-model-show-schema.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-model-show-schema.yaml
new file mode 100644
index 00000000..18e4c297
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/license-model-show-schema.yaml
@@ -0,0 +1,15 @@
+onap_cli_sample_version: 1.0
+
+name: license-model-show
+version: onap-1.0
+samples:
+ sample1:
+ name: Get specific license model
+ input: -u cs0008 -p demo123456! -m http://192.168.17.126:8080 -x 4904E77EC4EF4CB18083E8ED7D283585
+ moco: license-model-show-schema-moco.json
+ output: |
+ +----------+----------------------------------+----------------------+--------+
+ |name |ID |description |status |
+ +----------+----------------------------------+----------------------+--------+
+ |5aa8a88c |4904E77EC4EF4CB18083E8ED7D283585 |vendor license model |Locked |
+ +----------+----------------------------------+----------------------+--------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-aggreement-create-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-aggreement-create-schema-1.1-moco.json
new file mode 100644
index 00000000..44038797
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-aggreement-create-schema-1.1-moco.json
@@ -0,0 +1,29 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/cf2d907d998e44698ce3b4cded5f66a7/versions/1.1/license-agreements",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-4edc751f-3742-4381-b58b-86e6cf50fe78",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "addedFeatureGroupsIds" : [ "3a2fb75b52a54e9c8093e7c154210f9e" ],
+ "description" : "kanag cli la",
+ "licenseTerm" : {
+ "choice" : "Fixed_Term",
+ "other" : ""
+ },
+ "name" : "kanag-cli-la"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "value" : "77e151d0503b45ecb7e40f5f5f1a887e"
+ }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-aggreement-create-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-aggreement-create-schema-1.1-sample.yaml
new file mode 100644
index 00000000..61e57bb4
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-aggreement-create-schema-1.1-sample.yaml
@@ -0,0 +1,14 @@
+onap_cli_sample_version: 1.0
+name: vlm-aggreement-create
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-aggreement-create
+ input: --name kanag-cli-la --description kanag cli la --vlm-feature-group-id 3a2fb75b52a54e9c8093e7c154210f9e --vlm-id cf2d907d998e44698ce3b4cded5f66a7 --vlm-version 1.1
+ moco: vlm-aggreement-create-schema-1.1-moco.json
+ ouput:|
+ +----------+----------------------------------+
+ |property |value |
+ +----------+----------------------------------+
+ |ID |77e151d0503b45ecb7e40f5f5f1a887e |
+ +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkin-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkin-schema-1.1-moco.json
new file mode 100644
index 00000000..c62f721c
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkin-schema-1.1-moco.json
@@ -0,0 +1,21 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/cf2d907d998e44698ce3b4cded5f66a7/versions/1.1/actions",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-beafede7-5380-474d-b53f-793545527f89",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "action" : "Checkin"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : { }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkin-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkin-schema-1.1-sample.yaml
new file mode 100644
index 00000000..93122103
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkin-schema-1.1-sample.yaml
@@ -0,0 +1,9 @@
+onap_cli_sample_version: 1.0
+name: vlm-checkin
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-checkin
+ input: --vlm-id cf2d907d998e44698ce3b4cded5f66a7 --vlm-version 1.1
+ moco: vlm-checkin-schema-1.1-moco.json
+ ouput: \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkout-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkout-schema-1.1-moco.json
new file mode 100644
index 00000000..164a59c7
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkout-schema-1.1-moco.json
@@ -0,0 +1,21 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/cf2d907d998e44698ce3b4cded5f66a7/versions/0.1/actions",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-0f5b7ef1-7f7a-4ccf-bbbf-b7eaf45fc573",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "action" : "Checkout"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : { }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkout-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkout-schema-1.1-sample.yaml
new file mode 100644
index 00000000..e0d9cf78
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-checkout-schema-1.1-sample.yaml
@@ -0,0 +1,9 @@
+onap_cli_sample_version: 1.0
+name: vlm-checkout
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-checkout
+ input: --vlm-id cf2d907d998e44698ce3b4cded5f66a7 --vlm-version 0.1
+ moco: vlm-checkout-schema-1.1-moco.json
+ ouput: \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-create-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-create-schema-1.1-moco.json
new file mode 100644
index 00000000..57445daf
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-create-schema-1.1-moco.json
@@ -0,0 +1,25 @@
+[ {
+ "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-dfe8f907-9276-45ad-8fa8-ff557d61f661",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "vendorName" : "kanag-cli",
+ "description" : "First License created from CLI",
+ "iconRef" : "icon"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "value" : "cf2d907d998e44698ce3b4cded5f66a7"
+ }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-create-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-create-schema-1.1-sample.yaml
new file mode 100644
index 00000000..c80ff044
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-create-schema-1.1-sample.yaml
@@ -0,0 +1,14 @@
+onap_cli_sample_version: 1.0
+name: vlm-create
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-create
+ input: --vendor-name kanag-cli --description First License created from CLI
+ moco: vlm-create-schema-1.1-moco.json
+ ouput:|
+ +----------+----------------------------------+
+ |property |value |
+ +----------+----------------------------------+
+ |ID |cf2d907d998e44698ce3b4cded5f66a7 |
+ +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-entitlement-pool-create-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-entitlement-pool-create-schema-1.1-moco.json
new file mode 100644
index 00000000..f40193ad
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-entitlement-pool-create-schema-1.1-moco.json
@@ -0,0 +1,44 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/cf2d907d998e44698ce3b4cded5f66a7/versions/0.1/entitlement-pools",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-381f2f59-c387-4730-a6b5-74a380acf1f3",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "aggregationFunction" : {
+ "choice" : "Peak",
+ "other" : ""
+ },
+ "description" : "kanag vlm ep",
+ "entitlementMetric" : {
+ "choice" : "CPU",
+ "other" : ""
+ },
+ "increments" : "1",
+ "manufacturerReferenceNumber" : "mkr123456",
+ "name" : "kanag-cli-ep",
+ "operationalScope" : {
+ "choices" : [ "Availability_Zone" ],
+ "other" : ""
+ },
+ "thresholdUnits" : "Absolute",
+ "thresholdValue" : "99",
+ "time" : {
+ "choice" : "Hour",
+ "other" : ""
+ }
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "value" : "aa61080fd965455ba5edbf60f4e375ef"
+ }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-entitlement-pool-create-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-entitlement-pool-create-schema-1.1-sample.yaml
new file mode 100644
index 00000000..6017aab8
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-entitlement-pool-create-schema-1.1-sample.yaml
@@ -0,0 +1,14 @@
+onap_cli_sample_version: 1.0
+name: vlm-entitlement-pool-create
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-entitlement-pool-create
+ input: --name kanag-cli-ep --vlm-id cf2d907d998e44698ce3b4cded5f66a7 --description kanag vlm ep --manufacture-reference-number mkr123456 -d --vlm-version 0.1
+ moco: vlm-entitlement-pool-create-schema-1.1-moco.json
+ ouput: |
+ +----------+----------------------------------+
+ |property |value |
+ +----------+----------------------------------+
+ |ID |aa61080fd965455ba5edbf60f4e375ef |
+ +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-feature-group-create-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-feature-group-create-schema-1.1-moco.json
new file mode 100644
index 00000000..d3b8c0d2
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-feature-group-create-schema-1.1-moco.json
@@ -0,0 +1,28 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/cf2d907d998e44698ce3b4cded5f66a7/versions/0.1/feature-groups",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-cd4bdcc4-2d36-4131-a863-8d56f96e9278",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "name" : "kanag-cli-fg",
+ "addedLicenseKeyGroupsIds" : [ "c37a1f205f444161a573f55dfec5f170" ],
+ "addedEntitlementPoolsIds" : [ "aa61080fd965455ba5edbf60f4e375ef" ],
+ "partNumber" : "123455",
+ "manufacturerReferenceNumber" : "mkr123456",
+ "description" : "Kanag cli feature group"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "value" : "3a2fb75b52a54e9c8093e7c154210f9e"
+ }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-feature-group-create-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-feature-group-create-schema-1.1-sample.yaml
new file mode 100644
index 00000000..3e498ca0
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-feature-group-create-schema-1.1-sample.yaml
@@ -0,0 +1,14 @@
+onap_cli_sample_version: 1.0
+name: vlm-feature-group-create
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-feature-group-create
+ input: --name kanag-cli-fg --description Kanag cli feature group --vlm-id cf2d907d998e44698ce3b4cded5f66a7 --vlm-version 0.1 --vlm-key-group-id c37a1f205f444161a573f55dfec5f170 --vlm-entitle-pool-id aa61080fd965455ba5edbf60f4e375ef --part-number 123455 --manufacture-reference-number mkr123456
+ moco: vlm-feature-group-create-schema-1.1-moco.json
+ ouput:|
+ +----------+----------------------------------+
+ |property |value |
+ +----------+----------------------------------+
+ |ID |3a2fb75b52a54e9c8093e7c154210f9e |
+ +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-key-group-create-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-key-group-create-schema-1.1-moco.json
new file mode 100644
index 00000000..4ac759e9
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-key-group-create-schema-1.1-moco.json
@@ -0,0 +1,25 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/cf2d907d998e44698ce3b4cded5f66a7/versions/0.1/license-key-groups",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-bf1823d9-7c60-4156-b22f-fa765af714fe",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "description" : "Kanag CLI key group",
+ "name" : "kanag-cli-kg",
+ "type" : "Universal"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "value" : "c37a1f205f444161a573f55dfec5f170"
+ }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-key-group-create-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-key-group-create-schema-1.1-sample.yaml
new file mode 100644
index 00000000..11f3509d
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-key-group-create-schema-1.1-sample.yaml
@@ -0,0 +1,13 @@
+onap_cli_sample_version: 1.0
+name: vlm-key-group-create
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-key-group-create
+ input: --vlm-id cf2d907d998e44698ce3b4cded5f66a7 --name kanag-cli-kg --description Kanag CLI key group -d --vlm-version 0.1
+ moco: vlm-key-group-create-schema-1.1-moco.json
+ ouput:|
+ |property |value |
+ +----------+----------------------------------+
+ |ID |c37a1f205f444161a573f55dfec5f170 |
+ +----------+----------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-moco.json
new file mode 100644
index 00000000..9f99a895
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-moco.json
@@ -0,0 +1,419 @@
+[ {
+ "request" : {
+ "method" : "get",
+ "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-45e743b7-f417-4159-9a1b-95af8b24aad2",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 200,
+ "json" : {
+ "listCount" : 21,
+ "results" : [ {
+ "vendorName" : "kanag-cli",
+ "description" : "First License created from CLI",
+ "iconRef" : "icon",
+ "id" : "cf2d907d998e44698ce3b4cded5f66a7",
+ "version" : {
+ "id" : "1.1",
+ "label" : "1.1"
+ },
+ "status" : "Locked",
+ "lockingUser" : "cs0008",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ }, {
+ "id" : "1.1",
+ "label" : "1.1"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "Test",
+ "description" : "test",
+ "iconRef" : "icon",
+ "id" : "144497a1b7924e0fa73004573730e1b8",
+ "version" : {
+ "id" : "0.1",
+ "label" : "0.1"
+ },
+ "status" : "Locked",
+ "lockingUser" : "cs0008",
+ "viewableVersions" : [ {
+ "id" : "0.1",
+ "label" : "0.1"
+ } ]
+ }, {
+ "vendorName" : "4718de22-00d3-4607-b666",
+ "description" : "vendor license model",
+ "iconRef" : "icon",
+ "id" : "9af398f516da4e63b4ec8d344866533b",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "Kanag",
+ "description" : "Kanagaraj M @ HTIPL",
+ "iconRef" : "icon",
+ "id" : "1173c7be5fea4db799b1a5ef9512e57e",
+ "version" : {
+ "id" : "4.0",
+ "label" : "4.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ }, {
+ "id" : "2.0",
+ "label" : "2.0"
+ }, {
+ "id" : "3.0",
+ "label" : "3.0"
+ }, {
+ "id" : "4.0",
+ "label" : "4.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ }, {
+ "id" : "2.0",
+ "label" : "2.0"
+ }, {
+ "id" : "3.0",
+ "label" : "3.0"
+ }, {
+ "id" : "4.0",
+ "label" : "4.0"
+ } ]
+ }, {
+ "vendorName" : "test-vendor",
+ "description" : "test ",
+ "iconRef" : "icon",
+ "id" : "fc0fdcc825a54ca3b08e40f473b72d05",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "0138a2e2-52bf-4f0b-81cd",
+ "description" : "vendor license model",
+ "iconRef" : "icon",
+ "id" : "b66c5e1b4af3432ca2f6cd05adf72340",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "48fa02ef-e79b-4707-895e",
+ "description" : "vendor license model",
+ "iconRef" : "icon",
+ "id" : "34c2c72e992742e3b7ceb78bfcd21ebb",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "1e5d1422-1f5f-42fe-a98e",
+ "description" : "vendor license model",
+ "iconRef" : "icon",
+ "id" : "4bbd11c581ce4bb187a0a37131e5bb60",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "3029be5e-9135-4083-bd2e",
+ "description" : "vendor license model",
+ "iconRef" : "icon",
+ "id" : "1329476d73014587839fd3ede08c3103",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "c6ba2ef6-fe82-4f32-ad50",
+ "description" : "vendor license model",
+ "iconRef" : "icon",
+ "id" : "2ca684a9805b40f9993239e77b82fb52",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "01eb54a1-f1ff-41a2-aafc",
+ "description" : "vendor license model",
+ "iconRef" : "icon",
+ "id" : "1a49df7b78654777a71f64f2c6c2468f",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "a920b10d-c516-4380-835a",
+ "description" : "vendor license model",
+ "iconRef" : "icon",
+ "id" : "5e571e8a25c8404da04f2a0ec179f576",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense7d8bbcab",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "4b1e1efd8bb944bdbc0c3e74a9402967",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense09c55d35",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "816c04fd4ee849f2b80435e0944189fa",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense6bfd9421",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "9408208f5b6d4eb997dff1b901f1fb95",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense81acf730",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "eda4e9d1cae14cad95befc1728629574",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicensef3f5a4fa",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "022140c2dc4e40bbae096aa1fb5cfbe9",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense9fddd8db",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "19f92b345cae423ab4ea6c5527d55ef6",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicense9a46fd22",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "492d9259fc3e493d8fa6afd488054508",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicensed955b6d7",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "a5da3e50ed72483fbfb134bac84b31f6",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ }, {
+ "vendorName" : "ciLicensef21d8db3",
+ "description" : "new vendor license model",
+ "iconRef" : "icon",
+ "id" : "9ff65b0b943141a7b99481bbcaedc294",
+ "version" : {
+ "id" : "1.0",
+ "label" : "1.0"
+ },
+ "status" : "Final",
+ "viewableVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ],
+ "finalVersions" : [ {
+ "id" : "1.0",
+ "label" : "1.0"
+ } ]
+ } ]
+ }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-sample.yaml
new file mode 100644
index 00000000..523431d8
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-list-schema-1.1-sample.yaml
@@ -0,0 +1,54 @@
+onap_cli_sample_version: 1.0
+name: vlm-list
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-list
+ input: --long
+ moco: vlm-list-schema-1.1-moco.json
+ ouput:|
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |id |vendor-name |vlm-version |status |description |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |cf2d907d998e44698ce3b4cded5f66a7 |kanag-cli |1.1 |Locked |First License created from CLI |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |144497a1b7924e0fa73004573730e1b8 |Test |0.1 |Locked |test |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |9af398f516da4e63b4ec8d344866533b |4718de22-00d3-4607-b666 |1.0 |Final |vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |1173c7be5fea4db799b1a5ef9512e57e |Kanag |4.0 |Final |Kanagaraj M @ HTIPL |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |fc0fdcc825a54ca3b08e40f473b72d05 |test-vendor |1.0 |Final |test |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |b66c5e1b4af3432ca2f6cd05adf72340 |0138a2e2-52bf-4f0b-81cd |1.0 |Final |vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |34c2c72e992742e3b7ceb78bfcd21ebb |48fa02ef-e79b-4707-895e |1.0 |Final |vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |4bbd11c581ce4bb187a0a37131e5bb60 |1e5d1422-1f5f-42fe-a98e |1.0 |Final |vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |1329476d73014587839fd3ede08c3103 |3029be5e-9135-4083-bd2e |1.0 |Final |vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |2ca684a9805b40f9993239e77b82fb52 |c6ba2ef6-fe82-4f32-ad50 |1.0 |Final |vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |1a49df7b78654777a71f64f2c6c2468f |01eb54a1-f1ff-41a2-aafc |1.0 |Final |vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |5e571e8a25c8404da04f2a0ec179f576 |a920b10d-c516-4380-835a |1.0 |Final |vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |4b1e1efd8bb944bdbc0c3e74a9402967 |ciLicense7d8bbcab |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |816c04fd4ee849f2b80435e0944189fa |ciLicense09c55d35 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |9408208f5b6d4eb997dff1b901f1fb95 |ciLicense6bfd9421 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |eda4e9d1cae14cad95befc1728629574 |ciLicense81acf730 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |022140c2dc4e40bbae096aa1fb5cfbe9 |ciLicensef3f5a4fa |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |19f92b345cae423ab4ea6c5527d55ef6 |ciLicense9fddd8db |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |492d9259fc3e493d8fa6afd488054508 |ciLicense9a46fd22 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |a5da3e50ed72483fbfb134bac84b31f6 |ciLicensed955b6d7 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
+ |9ff65b0b943141a7b99481bbcaedc294 |ciLicensef21d8db3 |1.0 |Final |new vendor license model |
+ +----------------------------------+--------------------------+--------------+--------+--------------------------------+
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-revert-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-revert-schema-1.1-moco.json
new file mode 100644
index 00000000..692cf4e1
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-revert-schema-1.1-moco.json
@@ -0,0 +1,21 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/cf2d907d998e44698ce3b4cded5f66a7/versions/0.1/actions",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-16ce9480-a0dc-4628-b49a-bc0f8aca4286",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "action" : "Undo_Checkout"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : { }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-revert-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-revert-schema-1.1-sample.yaml
new file mode 100644
index 00000000..e99d610f
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-revert-schema-1.1-sample.yaml
@@ -0,0 +1,9 @@
+onap_cli_sample_version: 1.0
+name: vlm-revert
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-revert
+ input: --vlm-id cf2d907d998e44698ce3b4cded5f66a7 --vlm-version 0.1
+ moco: vlm-revert-schema-1.1-moco.json
+ ouput: \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-submit-schema-1.1-moco.json b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-submit-schema-1.1-moco.json
new file mode 100644
index 00000000..b7811539
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-submit-schema-1.1-moco.json
@@ -0,0 +1,21 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/onboarding-api/v1.0/vendor-license-models/cf2d907d998e44698ce3b4cded5f66a7/versions/1.1/actions",
+ "headers" : {
+ "Authorization" : "Basic Y3MwMDA4OmRlbW8xMjM0NTYh",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "USER_ID" : "cs0008",
+ "X-TransactionId" : "req-18ac1e35-bf92-4597-bf15-aea0e240767b",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "action" : "Submit"
+ }
+ },
+ "response" : {
+ "status" : 200,
+ "json" : { }
+ }
+} ] \ No newline at end of file
diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-submit-schema-1.1-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-submit-schema-1.1-sample.yaml
new file mode 100644
index 00000000..a262b142
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vlm/vlm-submit-schema-1.1-sample.yaml
@@ -0,0 +1,9 @@
+onap_cli_sample_version: 1.0
+name: vlm-submit
+version: onap-1.1
+samples:
+ sample1:
+ name: vlm-submit
+ input: --vlm-id cf2d907d998e44698ce3b4cded5f66a7 --vlm-version 1.1
+ moco: vlm-submit-schema-1.1-moco.json
+ ouput: \ No newline at end of file