diff options
Diffstat (limited to 'products/openecomp/features/sdc/src/test')
7 files changed, 79 insertions, 0 deletions
diff --git a/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-checkin-sample.yaml b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-checkin-sample.yaml new file mode 100644 index 00000000..6d703741 --- /dev/null +++ b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-checkin-sample.yaml @@ -0,0 +1,8 @@ +open_cli_sample_version: 1.0 + +name: vsp-checkin +version: openecomp +samples: + sample1: + name: Checkin the Vendor Software Product + input: --host-username cs0008 --host-password demo123456! --host-url http://localhost:8080 --vsp-id E563CB23A6BE49AF9A84CF579DAFB929 diff --git a/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-checkout-sample.yaml b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-checkout-sample.yaml new file mode 100644 index 00000000..b935cd20 --- /dev/null +++ b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-checkout-sample.yaml @@ -0,0 +1,9 @@ +open_cli_sample_version: 1.0 + +name: vsp-checkout +version: onap-amsterdam + +samples: + sample1: + name: Checkout the Vendor Software Product + input: --host-username cs0008 --host-password demo123456! --host-url http://localhost:8080 --vsp-id E563CB23A6BE49AF9A84CF579DAFB929 diff --git a/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-create-sample.yaml b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-create-sample.yaml new file mode 100644 index 00000000..3fb85e48 --- /dev/null +++ b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-create-sample.yaml @@ -0,0 +1,14 @@ +open_cli_sample_version: 1.0 + +name: vsp-create +version: openecomp +samples: + sample1: + name: Create the Vendor Software Product + input: --host-username cs0008 --host-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/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-list-sample.yaml b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-list-sample.yaml new file mode 100644 index 00000000..50ba22db --- /dev/null +++ b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-list-sample.yaml @@ -0,0 +1,18 @@ +open_cli_sample_version: 1.0 + +name: vsp-list +version: openecomp +samples: + sample1: + name: List Vendor Software Products + input: --host-username cs0008 --host-password demo123456! --host-url http://localhost:8080 + output: | + +----------------------------------+------------+ + |ID |name | + +----------------------------------+------------+ + |E563CB23A6BE49AF9A84CF579DAFB929 |demo-vsp2 | + +----------------------------------+------------+ + |79E62AA736C34E359B869E757D3DDBBE |demo-vsp1 | + +----------------------------------+------------+ + |928B828EE3CC46B99B92D7B9A2AB2118 |demo-vsp | + +----------------------------------+------------+ diff --git a/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-show-sample.yaml b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-show-sample.yaml new file mode 100644 index 00000000..4af221e3 --- /dev/null +++ b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-show-sample.yaml @@ -0,0 +1,14 @@ +open_cli_sample_version: 1.0 + +name: vsp-show +version: openecomp +samples: + sample1: + name: Show the details of Vendor Software Products + input: --host-username cs0008 --host-password demo123456! --host-url http://localhost:8080 --vsp-id 2DEB6CB4B082415BB7A697C9CD1273BA + output: | + +----------+----------------------------------+--------------------------+ + |name |ID |description | + +----------+----------------------------------+--------------------------+ + |test-vsp |2DEB6CB4B082415BB7A697C9CD1273BA |vendor software product | + +----------+----------------------------------+--------------------------+ diff --git a/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-submit-sample.yaml b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-submit-sample.yaml new file mode 100644 index 00000000..3cf101bc --- /dev/null +++ b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-submit-sample.yaml @@ -0,0 +1,8 @@ +open_cli_sample_version: 1.0 + +name: vsp-submit +version: openecomp +samples: + sample1: + name: Submit the Vendor Software Product + input: --host-username cs0008 --host-password demo123456! --host-url http://localhost:8080 --vsp-id E563CB23A6BE49AF9A84CF579DAFB929 diff --git a/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-upload-sample.yaml b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-upload-sample.yaml new file mode 100644 index 00000000..b615bd66 --- /dev/null +++ b/products/openecomp/features/sdc/src/test/resources/open-cli-sample/vsp/vsp-upload-sample.yaml @@ -0,0 +1,8 @@ +open_cli_sample_version: 1.0 + +name: vsp-upload +version: openecomp +samples: + sample1: + name: upload the zip file to Vendor Software Product + input: --host-username cs0008 --host-password demo123456! --host-url http://localhost:8080 --vsp-id E563CB23A6BE49AF9A84CF579DAFB929 --vsp-file /home/user/vFW.zip |