From 364e8b53db2825b415acdb512a0094b622373aed Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Tue, 24 Oct 2017 19:11:35 +0530 Subject: Make auth login command parameters as part of cmd Now auth commands parameters are added into the command parameters list Issue-Id: CLI-66 Change-Id: If6d7629b9efeb773f90ba53fb2ed8d6e464f3a73 Signed-off-by: Kanagaraj Manickam k00365106 --- .../resources/open-cli-schema/testauth-login.yaml | 28 ++++++++++++++++++++++ .../resources/open-cli-schema/testauth-logout.yaml | 19 +++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 framework/src/test/resources/open-cli-schema/testauth-login.yaml create mode 100644 framework/src/test/resources/open-cli-schema/testauth-logout.yaml (limited to 'framework/src/test/resources/open-cli-schema') diff --git a/framework/src/test/resources/open-cli-schema/testauth-login.yaml b/framework/src/test/resources/open-cli-schema/testauth-login.yaml new file mode 100644 index 00000000..8f3a8339 --- /dev/null +++ b/framework/src/test/resources/open-cli-schema/testauth-login.yaml @@ -0,0 +1,28 @@ +open_cli_schema_version: 1.0 + +name: testauth-login + +description: basic login auth command + +info: + product: open-cli + service: test + type: auth + author: Kanagaraj Manickam mkr1481@gmail.com + +parameters: + - name: string-param + type: string + description: Oclip string param + long_option: string-param + short_option: c + is_optional: false + default_Value: test + +# followings are dummy simulator for http command +http: + request: + uri: / + method: GET + success_codes: + - 200 diff --git a/framework/src/test/resources/open-cli-schema/testauth-logout.yaml b/framework/src/test/resources/open-cli-schema/testauth-logout.yaml new file mode 100644 index 00000000..d8de7c6f --- /dev/null +++ b/framework/src/test/resources/open-cli-schema/testauth-logout.yaml @@ -0,0 +1,19 @@ +open_cli_schema_version: 1.0 + +name: testauth-logout + +description: basic logout auth command + +info: + product: open-cli + service: test + type: auth + author: Kanagaraj Manickam mkr1481@gmail.com + +# followings are dummy simulator for http command +http: + request: + uri: / + method: GET + success_codes: + - 200 \ No newline at end of file -- cgit 1.2.3-korg