From d39f12c5af170277b2c3daf8cff86553e3a0d2ec Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 26 Sep 2017 23:38:29 +0530 Subject: Re-org plugins into tree of product versions Issue-Id: CLI-66 Change-Id: I2591bc380387200f727aae7e5db851a3c3a19fc3 Signed-off-by: Kanagaraj Manickam k00365106 --- .../msb-create-service-sample-1.1.yaml | 20 ++++++++++++++++++++ .../msb-delete-service-sample-1.1.yaml | 8 ++++++++ .../open-cli-sample/msb-list-service-sample-1.1.yaml | 14 ++++++++++++++ .../open-cli-sample/msb-show-service-sample-1.1.yaml | 14 ++++++++++++++ 4 files changed, 56 insertions(+) create mode 100644 plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-create-service-sample-1.1.yaml create mode 100644 plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-delete-service-sample-1.1.yaml create mode 100644 plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-list-service-sample-1.1.yaml create mode 100644 plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-show-service-sample-1.1.yaml (limited to 'plugins/onap-1.1/features/msb/src/test/resources') diff --git a/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-create-service-sample-1.1.yaml b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-create-service-sample-1.1.yaml new file mode 100644 index 00000000..d316f388 --- /dev/null +++ b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-create-service-sample-1.1.yaml @@ -0,0 +1,20 @@ +onap_cli_sample_version: 1.0 + +name: microservice-create +version: onap-1.1 +samples: + sample1: + name: Create a service + input: --service-name test-service --service-version v1 --service-url /api/test/v1 --host-url http://192.168.17.23:80 23.14.15.156 80 + output: | + +----------+------------------------------------+ + |property |value | + +----------+------------------------------------+ + |name |test-service | + +----------+------------------------------------+ + |version |v1 | + +----------+------------------------------------+ + |url |/api/test/v1 | + +----------+------------------------------------+ + |status |1 | + +----------+------------------------------------+ \ No newline at end of file diff --git a/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-delete-service-sample-1.1.yaml b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-delete-service-sample-1.1.yaml new file mode 100644 index 00000000..2aaadb22 --- /dev/null +++ b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-delete-service-sample-1.1.yaml @@ -0,0 +1,8 @@ +onap_cli_sample_version: 1.0 + +name: microservice-delete +version: onap-1.1 +samples: + sample1: + name: Delete a service + input: --service-name test-service --service-version v1 --host-url http://192.168.17.23:80 --node-ip 23.14.15.156 --node-port 80 \ No newline at end of file diff --git a/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-list-service-sample-1.1.yaml b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-list-service-sample-1.1.yaml new file mode 100644 index 00000000..178a9c85 --- /dev/null +++ b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-list-service-sample-1.1.yaml @@ -0,0 +1,14 @@ +onap_cli_sample_version: 1.0 + +name: microservice-list +version: onap-1.1 +samples: + sample1: + name: List a service + input: --host-url http://192.168.17.23:80 + output: | + +--------------+----------+------------------------------------+--------+------------------+ + |name |version |url |status |nodes | + +--------------+----------+------------------------------------+--------+------------------+ + |test-service |v1 |/C:/Program Files/Git/api/test/v1 |1 |23.14.15.156:80 | + +--------------+----------+------------------------------------+--------+------------------+ \ No newline at end of file diff --git a/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-show-service-sample-1.1.yaml b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-show-service-sample-1.1.yaml new file mode 100644 index 00000000..abf1f110 --- /dev/null +++ b/plugins/onap-1.1/features/msb/src/test/resources/open-cli-sample/msb-show-service-sample-1.1.yaml @@ -0,0 +1,14 @@ +onap_cli_sample_version: 1.0 + +name: microservice-show +version: onap-1.1 +samples: + sample1: + name: Show a service + input: --service-name test-service --service-version v1 --host-url http://192.168.17.23:80 + output: | + +--------------+----------+------------------------------------+--------+------------------+ + |name |version |url |status |nodes | + +--------------+----------+------------------------------------+--------+------------------+ + |test-service |v1 |/C:/Program Files/Git/api/test/v1 |1 |23.14.15.156:80 | + +--------------+----------+------------------------------------+--------+------------------+ \ No newline at end of file -- cgit 1.2.3-korg