summaryrefslogtreecommitdiffstats
path: root/plugins/sdc/src/test/resources/onap-cli-sample/vsp
diff options
context:
space:
mode:
authorBharath Thiruveedula <bharath_ves@hotmail.com>2017-08-07 08:28:13 +0530
committerBharath Thiruveedula <bharath_ves@hotmail.com>2017-08-26 00:02:33 +0530
commita7a64477c28b433ba05afbe65155450d6ae3cba8 (patch)
tree103e4301b0831fe81193b65971ed66ebbd56828d /plugins/sdc/src/test/resources/onap-cli-sample/vsp
parent42ad121a52d01dd203c529f2ba7753f82d45ec21 (diff)
Add VSP lifecycle commands
Change-Id: Ibdc78b3ab1921c160f8ee193fcd47be0c75f94a9 Issue-ID: CLI-16 Signed-off-by: Bharath T<bharath.thiruveedula@verizon.com>
Diffstat (limited to 'plugins/sdc/src/test/resources/onap-cli-sample/vsp')
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-checkin-sample.yaml8
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-sample.yaml14
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-sample.yaml18
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-show-sample.yaml14
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-submit-sample.yaml8
-rw-r--r--plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-upload-sample.yaml8
6 files changed, 70 insertions, 0 deletions
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
new file mode 100644
index 00000000..6e3263e3
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-checkin-sample.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: vsp-checkin
+
+samples:
+ sample1:
+ name: Checkin the Vendor Software Product
+ input: --onap-username cs0008 --onap-password demo123456! --host-url http://localhost:8080 --vsp-id E563CB23A6BE49AF9A84CF579DAFB929
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
new file mode 100644
index 00000000..c261899d
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-create-sample.yaml
@@ -0,0 +1,14 @@
+onap_cli_sample_version: 1.0
+
+name: vsp-create
+
+samples:
+ sample1:
+ name: Create the Vendor Software Product
+ input: --onap-username cs0008 --onap-password demo123456! --host-url http://locahost:8080 --vsp-name demo-vsp2 --vsp-vendor-name 5aa8a88c --vsp-vendor-id DBB202617952486691C1E35C9 621CD4E --license-agreement-id E19DBDDB137B494385F9535325BFD585 --feature-group-id 94835F096DAF4ED78781A394A4F22AD1
+ output: |
+ +----------+----------------------------------+
+ |property |value |
+ +----------+----------------------------------+
+ |ID |6897DFFF8E864F84AD17A34B7FB936A3 |
+ +----------+----------------------------------+
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
new file mode 100644
index 00000000..82013df6
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-list-sample.yaml
@@ -0,0 +1,18 @@
+onap_cli_sample_version: 1.0
+
+name: vsp-list
+
+samples:
+ sample1:
+ name: List Vendor Software Products
+ input: --onap-username cs0008 --onap-password demo123456! --host-url http://localhost:8080
+ output: |
+ +----------------------------------+------------+
+ |ID |name |
+ +----------------------------------+------------+
+ |E563CB23A6BE49AF9A84CF579DAFB929 |demo-vsp2 |
+ +----------------------------------+------------+
+ |79E62AA736C34E359B869E757D3DDBBE |demo-vsp1 |
+ +----------------------------------+------------+
+ |928B828EE3CC46B99B92D7B9A2AB2118 |demo-vsp |
+ +----------------------------------+------------+
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
new file mode 100644
index 00000000..f599b747
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-show-sample.yaml
@@ -0,0 +1,14 @@
+onap_cli_sample_version: 1.0
+
+name: vsp-show
+
+samples:
+ sample1:
+ name: Show the details of Vendor Software Products
+ input: --onap-username cs0008 --onap-password demo123456! --host-url http://localhost:8080 --vsp-id 2DEB6CB4B082415BB7A697C9CD1273BA
+ output: |
+ +----------+----------------------------------+--------------------------+
+ |name |ID |description |
+ +----------+----------------------------------+--------------------------+
+ |test-vsp |2DEB6CB4B082415BB7A697C9CD1273BA |vendor software product |
+ +----------+----------------------------------+--------------------------+
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
new file mode 100644
index 00000000..19f3d7d0
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-submit-sample.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: vsp-submit
+
+samples:
+ sample1:
+ name: Submit the Vendor Software Product
+ input: --onap-username cs0008 --onap-password demo123456! --host-url http://localhost:8080 --vsp-id E563CB23A6BE49AF9A84CF579DAFB929
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
new file mode 100644
index 00000000..7fecc8a0
--- /dev/null
+++ b/plugins/sdc/src/test/resources/onap-cli-sample/vsp/vsp-upload-sample.yaml
@@ -0,0 +1,8 @@
+onap_cli_sample_version: 1.0
+
+name: vsp-upload
+
+samples:
+ sample1:
+ name: upload the zip file to Vendor Software Product
+ input: --onap-username cs0008 --onap-password demo123456! --host-url http://localhost:8080 --vsp-id E563CB23A6BE49AF9A84CF579DAFB929 --vsp-file /home/user/vFW.zip