summaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources/open-cli-schema
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-11 20:34:44 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-12-12 15:48:55 +0530
commit0d97a835fa2052ded5a31e8921baf641c8e9bb57 (patch)
tree800584529f77c8ff26f05a73abd3fa71205a69a7 /framework/src/main/resources/open-cli-schema
parent03c54a40daf75644ec0bcbc73636e3eb427c1604 (diff)
Make Http as separate plugin
Issue-ID: CLI-66 Change-Id: I8ad78f417f6dbb00e29effdd3ed8ec1939aee81d Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/main/resources/open-cli-schema')
-rw-r--r--framework/src/main/resources/open-cli-schema/http/basic-login.yaml19
-rw-r--r--framework/src/main/resources/open-cli-schema/http/basic-logout.yaml19
-rw-r--r--framework/src/main/resources/open-cli-schema/http/catalog.yaml44
-rw-r--r--framework/src/main/resources/open-cli-schema/http/default_input_parameters_http.yaml36
4 files changed, 0 insertions, 118 deletions
diff --git a/framework/src/main/resources/open-cli-schema/http/basic-login.yaml b/framework/src/main/resources/open-cli-schema/http/basic-login.yaml
deleted file mode 100644
index 36473df7..00000000
--- a/framework/src/main/resources/open-cli-schema/http/basic-login.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-open_cli_schema_version: 1.0
-
-name: basic-login
-
-description: basic login auth command
-
-info:
- product: open-cli
- service: basic-auth
- type: auth
- author: Kanagaraj Manickam kanagaraj.manickam@huawei.com
-
-results:
- direction: portrait
- attributes:
- - name: Authorization
- description: Authorization
- scope: short
- type: string
diff --git a/framework/src/main/resources/open-cli-schema/http/basic-logout.yaml b/framework/src/main/resources/open-cli-schema/http/basic-logout.yaml
deleted file mode 100644
index f4acc0ae..00000000
--- a/framework/src/main/resources/open-cli-schema/http/basic-logout.yaml
+++ /dev/null
@@ -1,19 +0,0 @@
-open_cli_schema_version: 1.0
-
-name: basic-logout
-
-description: basic logout auth command
-
-info:
- product: open-cli
- service: basic-auth
- type: auth
- author: Kanagaraj Manickam kanagaraj.manickam@huawei.com
-
-parameters:
- - name: host-username
- is_include: false
- - name: host-password
- is_include: false
- - name: no-auth
- is_include: false \ No newline at end of file
diff --git a/framework/src/main/resources/open-cli-schema/http/catalog.yaml b/framework/src/main/resources/open-cli-schema/http/catalog.yaml
deleted file mode 100644
index 508955f5..00000000
--- a/framework/src/main/resources/open-cli-schema/http/catalog.yaml
+++ /dev/null
@@ -1,44 +0,0 @@
-open_cli_schema_version: 1.0
-
-name: catalog
-
-description: cli catalog command to find the base path for service.
-
-info:
- product: open-cli
- service: catalog
- type: catalog
- author: Kanagaraj Manickam kanagaraj.manickam@huawei.com
-
-parameters:
- - name: catalog-service-name
- type: string
- description: service name registered in catalog service
- short_option: l
- long_option: catalog-service-name
- is_optional: false
- - name: catalog-service-version
- type: string
- description: service version registered in catalog service
- short_option: i
- long_option: catalog-service-version
- is_optional: false
- - name: host-username
- is_include: false
- - name: host-password
- is_include: false
- - name: no-auth
- is_include: false
-results:
- direction: portrait
- attributes:
- - name: catalog-service-host-url
- description: Service connection url
- scope: short
- type: string
- default_value: ${host-url}
- - name: catalog-service-base-path
- description: service base path, to append with host-url for connecting the service.
- scope: short
- type: string
- default_value: / \ No newline at end of file
diff --git a/framework/src/main/resources/open-cli-schema/http/default_input_parameters_http.yaml b/framework/src/main/resources/open-cli-schema/http/default_input_parameters_http.yaml
deleted file mode 100644
index d7fbe03c..00000000
--- a/framework/src/main/resources/open-cli-schema/http/default_input_parameters_http.yaml
+++ /dev/null
@@ -1,36 +0,0 @@
-open_cli_schema_version: 1.0
-
-info:
- product: open-cli
- service: default-param
- ignore: true
-
-parameters:
- - name: host-username
- type: string
- description: Host user name
- short_option: u
- long_option: host-username
- default_value: $s{env:OPEN_CLI_HOST_USERNAME}
- is_optional: false
- - name: host-password
- type: string
- description: Host user password
- short_option: p
- long_option: host-password
- default_value: $s{env:OPEN_CLI_HOST_PASSWORD}
- is_secured: true
- is_optional: false
- - name: host-url
- type: url
- description: host url in http(s)
- short_option: m
- long_option: host-url
- is_optional: false
- default_value: $s{env:OPEN_CLI_HOST_URL}
- - name: no-auth
- type: bool
- description: whether to authenticate user or not
- short_option: a
- long_option: no-auth
- default_value: false \ No newline at end of file