diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-08-29 18:15:10 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-08-30 11:02:07 +0530 |
commit | a4cd2403a5a171d6ab6aa6b1b0b1aae83345121b (patch) | |
tree | 21646bed2f1dd2974ed24756c1f04855362219eb /plugins/sdc | |
parent | 56ecabe9f1e7fca51d919df2836811b378c0e7df (diff) |
Add versioning for command
By allowing to add version to the YAML, helps to
create same command for multiple versions of
product say onap 1.0, 1.1
CLI-37
Change-Id: Ic3982ea912045ff4f422fcf093cbd98ecd99716d
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sdc')
12 files changed, 12 insertions, 12 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-checkin-schema.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-checkin-schema.yaml index a845deb5..4bd8b1f4 100644 --- a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-checkin-schema.yaml +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-checkin-schema.yaml @@ -1,7 +1,7 @@ onap_cmd_schema_version: 1.0 name: vsp-checkin description: Checkin Vendor Software Product - +version: onap-1.0 service: name: sdc version: v1.0 diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-create-schema.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-create-schema.yaml index 6f460884..f090b035 100644 --- a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-create-schema.yaml +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-create-schema.yaml @@ -1,7 +1,7 @@ onap_cmd_schema_version: 1.0 name: vsp-create description: Create Vendor Software Product - +version: onap-1.0 service: name: sdc version: v1.0 diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-list-schema.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-list-schema.yaml index 9fe2564e..1055f297 100644 --- a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-list-schema.yaml +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-list-schema.yaml @@ -1,7 +1,7 @@ onap_cmd_schema_version: 1.0 name: vsp-list description: List of the Vendor Software Products - +version: onap-1.0 service: name: sdc version: v1.0 diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-show-schema.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-show-schema.yaml index 0f400b74..83e11139 100644 --- a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-show-schema.yaml +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-show-schema.yaml @@ -1,7 +1,7 @@ onap_cmd_schema_version: 1.0 name: vsp-show description: Details of the Vendor Software Product - +version: onap-1.0 service: name: sdc version: v1.0 diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-submit-schema.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-submit-schema.yaml index 95572939..631e204d 100644 --- a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-submit-schema.yaml +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-submit-schema.yaml @@ -1,7 +1,7 @@ onap_cmd_schema_version: 1.0 name: vsp-submit description: Submit Vendor Software Product - +version: onap-1.0 service: name: sdc version: v1.0 diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-upload-schema.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-upload-schema.yaml index bc0bc4c7..5786531c 100644 --- a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-upload-schema.yaml +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-upload-schema.yaml @@ -1,7 +1,7 @@ onap_cmd_schema_version: 1.0 name: vsp-upload description: Upload the CSAR file to VSP - +version: onap-1.0 service: name: sdc version: v1.0 diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-checkin-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-checkin-sample.yaml index 6e3263e3..c5d64917 100644 --- a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-checkin-sample.yaml +++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-checkin-sample.yaml @@ -1,7 +1,7 @@ onap_cli_sample_version: 1.0 name: vsp-checkin - +version: onap-1.0 samples: sample1: name: Checkin the Vendor Software Product diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-sample.yaml index c261899d..c96a76fd 100644 --- a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-sample.yaml +++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-sample.yaml @@ -1,7 +1,7 @@ onap_cli_sample_version: 1.0 name: vsp-create - +version: onap-1.0 samples: sample1: name: Create the Vendor Software Product diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-sample.yaml index 82013df6..4cfa64af 100644 --- a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-sample.yaml +++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-sample.yaml @@ -1,7 +1,7 @@ onap_cli_sample_version: 1.0 name: vsp-list - +version: onap-1.0 samples: sample1: name: List Vendor Software Products diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-show-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-show-sample.yaml index f599b747..4938c0cb 100644 --- a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-show-sample.yaml +++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-show-sample.yaml @@ -1,7 +1,7 @@ onap_cli_sample_version: 1.0 name: vsp-show - +version: onap-1.0 samples: sample1: name: Show the details of Vendor Software Products diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-submit-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-submit-sample.yaml index 19f3d7d0..568fdf72 100644 --- a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-submit-sample.yaml +++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-submit-sample.yaml @@ -1,7 +1,7 @@ onap_cli_sample_version: 1.0 name: vsp-submit - +version: onap-1.0 samples: sample1: name: Submit the Vendor Software Product diff --git a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-upload-sample.yaml b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-upload-sample.yaml index 7fecc8a0..1fd10340 100644 --- a/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-upload-sample.yaml +++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-upload-sample.yaml @@ -1,7 +1,7 @@ onap_cli_sample_version: 1.0 name: vsp-upload - +version: onap-1.0 samples: sample1: name: upload the zip file to Vendor Software Product |