aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/main/resources')
-rw-r--r--framework/src/main/resources/open-cli-schema/default_input_parameters.yaml (renamed from framework/src/main/resources/default_input_parameters.yaml)6
-rw-r--r--framework/src/main/resources/open-cli-schema/http/basic-login.yaml (renamed from framework/src/main/resources/open-cli-schema/basic-login.yaml)0
-rw-r--r--framework/src/main/resources/open-cli-schema/http/basic-logout.yaml (renamed from framework/src/main/resources/open-cli-schema/basic-logout.yaml)0
-rw-r--r--framework/src/main/resources/open-cli-schema/http/catalog.yaml (renamed from framework/src/main/resources/open-cli-schema/catalog.yaml)0
-rw-r--r--framework/src/main/resources/open-cli-schema/http/default_input_parameters_http.yaml (renamed from framework/src/main/resources/default_input_parameters_http.yaml)6
-rw-r--r--framework/src/main/resources/open-cli-schema/schema-validate.yaml7
-rw-r--r--framework/src/main/resources/open-cli.properties2
-rw-r--r--framework/src/main/resources/version.info4
8 files changed, 22 insertions, 3 deletions
diff --git a/framework/src/main/resources/default_input_parameters.yaml b/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml
index a8d35eee..e8e08f46 100644
--- a/framework/src/main/resources/default_input_parameters.yaml
+++ b/framework/src/main/resources/open-cli-schema/default_input_parameters.yaml
@@ -1,4 +1,10 @@
open_cli_schema_version: 1.0
+
+info:
+ product: open-cli
+ service: default-param
+ ignore: true
+
parameters:
- name: help
type: string
diff --git a/framework/src/main/resources/open-cli-schema/basic-login.yaml b/framework/src/main/resources/open-cli-schema/http/basic-login.yaml
index dab9652e..dab9652e 100644
--- a/framework/src/main/resources/open-cli-schema/basic-login.yaml
+++ b/framework/src/main/resources/open-cli-schema/http/basic-login.yaml
diff --git a/framework/src/main/resources/open-cli-schema/basic-logout.yaml b/framework/src/main/resources/open-cli-schema/http/basic-logout.yaml
index ef60006c..ef60006c 100644
--- a/framework/src/main/resources/open-cli-schema/basic-logout.yaml
+++ b/framework/src/main/resources/open-cli-schema/http/basic-logout.yaml
diff --git a/framework/src/main/resources/open-cli-schema/catalog.yaml b/framework/src/main/resources/open-cli-schema/http/catalog.yaml
index d3ee9992..d3ee9992 100644
--- a/framework/src/main/resources/open-cli-schema/catalog.yaml
+++ b/framework/src/main/resources/open-cli-schema/http/catalog.yaml
diff --git a/framework/src/main/resources/default_input_parameters_http.yaml b/framework/src/main/resources/open-cli-schema/http/default_input_parameters_http.yaml
index 81656ea0..d7fbe03c 100644
--- a/framework/src/main/resources/default_input_parameters_http.yaml
+++ b/framework/src/main/resources/open-cli-schema/http/default_input_parameters_http.yaml
@@ -1,4 +1,10 @@
open_cli_schema_version: 1.0
+
+info:
+ product: open-cli
+ service: default-param
+ ignore: true
+
parameters:
- name: host-username
type: string
diff --git a/framework/src/main/resources/open-cli-schema/schema-validate.yaml b/framework/src/main/resources/open-cli-schema/schema-validate.yaml
index 65acfb0e..c17b3a08 100644
--- a/framework/src/main/resources/open-cli-schema/schema-validate.yaml
+++ b/framework/src/main/resources/open-cli-schema/schema-validate.yaml
@@ -21,6 +21,13 @@ parameters:
short_option: i
long_option: internal-schema
is_optional: false
+ - name: ocs-version
+ type: string
+ description: OCS version
+ short_option: b
+ long_option: ocs-version
+ is_optional: true
+ default_value: 1.0
results:
direction: landscape
diff --git a/framework/src/main/resources/open-cli.properties b/framework/src/main/resources/open-cli.properties
index 757b0259..813e46dd 100644
--- a/framework/src/main/resources/open-cli.properties
+++ b/framework/src/main/resources/open-cli.properties
@@ -8,7 +8,7 @@ cli.version=1.0
cli.schema.top_level_params_list=open_cli_schema_version,name,description,parameters,results,http,info
cli.schema.top_level_mandatory_list=open_cli_schema_version
-cli.schema.info_params_list=product,service,type,author
+cli.schema.info_params_list=product,service,type,author,ignore
cli.schema.info_params_mandatory_list=product,service
cli.schema.input_params_list=name,description,type,short_option,long_option, is_optional,default_value,is_secured,is_include
diff --git a/framework/src/main/resources/version.info b/framework/src/main/resources/version.info
index fc959d19..edfa61d6 100644
--- a/framework/src/main/resources/version.info
+++ b/framework/src/main/resources/version.info
@@ -3,5 +3,5 @@ Available products: __AVAILABLE_PRODUCT_VERSIONS__
Enabled product : __ENABLED_PRODUCT_VERSIONS__
To enable a product, use one of following methods:
-1. In scripting mode, Set environment variable OPEN_CLI_PRODUCT_IN_USE
-2. In interactive mode, set the directive 'use <product>'
+1. In scripting mode, set environment variable OPEN_CLI_PRODUCT_IN_USE
+2. In interactive mode, use the directive 'use <product>'