diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-06 23:26:20 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-20 12:42:00 +0530 |
commit | 7259212791972fc10e41210487ff0f780ab024a6 (patch) | |
tree | 7d324b6eeee6ccd8cc367d88532e60b7953d636d /framework/src/test/resources | |
parent | 1845026e0f1ef61d64faf5ddab197f1bfc3a4f42 (diff) |
Onap to Oclip text migration
Issue-Id: CLI-66
Change-Id: I58e98952c61902e34585e9defabc36d1233a99a4
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'framework/src/test/resources')
17 files changed, 199 insertions, 199 deletions
diff --git a/framework/src/test/resources/onap-test-schema.yaml b/framework/src/test/resources/onap-test-schema.yaml index 9f1bf0e2..496cb023 100644 --- a/framework/src/test/resources/onap-test-schema.yaml +++ b/framework/src/test/resources/onap-test-schema.yaml @@ -1,6 +1,6 @@ open_cli_schema_version: 1.0 name: sample-test -description: Onap sample command to test the command features +description: Oclip sample command to test the command features info: product: open-cli @@ -11,14 +11,14 @@ info: parameters: - name: bool-param type: bool - description: Onap boolean param, by default its always false. + description: Oclip boolean param, by default its always false. short_option: b long_option: bool is_optional: true default_value: false - name: secure-param type: string - description: Onap secure param such as password + description: Oclip secure param such as password short_option: x long_option: secure is_secured: true @@ -26,59 +26,59 @@ parameters: default_Value: pass123# - name: string-param type: string - description: Onap string param + description: Oclip string param long_option: string-param short_option: c is_optional: false default_Value: test - name: yaml-param type: json - description: Onap yaml file location param + description: Oclip yaml file location param long_option: yaml-param short_option: y is_optional: false - name: json-param type: json - description: Onap json file location param + description: Oclip json file location param long_option: json-param short_option: j is_optional: false - name: long-param type: digit - description: Onap long param + description: Oclip long param short_option: l long_option: long-opt is_optional: false default_value: 10 - name: url-param type: url - description: Onap url param + description: Oclip url param short_option: r long_option: url is_optional: false default_value: http://localhost:8082/file.txt - name: env-param type: string - description: Onap env param. + description: Oclip env param. short_option: z long_option: env is_optional: false default_value: ${ENV_VAR} - name: positional-args type: string - description: Onap positional args, if no short option and no long option given for it + description: Oclip positional args, if no short option and no long option given for it is_optional: false default_value: http://localhost:8082/file.txt results: direction: portrait attributes: - name: output-1 - description: Onap output attribute marked in short + description: Oclip output attribute marked in short scope: short type: string is_secured: true - name: output-2 - description: Onap output attribute marked in long + description: Oclip output attribute marked in long scope: short is_secured: false type: string
\ No newline at end of file diff --git a/framework/src/test/resources/open-cli-schema/sample-test-schema.yaml b/framework/src/test/resources/open-cli-schema/sample-test-schema.yaml index e3b415b1..347e9123 100644 --- a/framework/src/test/resources/open-cli-schema/sample-test-schema.yaml +++ b/framework/src/test/resources/open-cli-schema/sample-test-schema.yaml @@ -1,6 +1,6 @@ open_cli_schema_version: 1.0 name: sample-test -description: Onap sample command to test the command features +description: Oclip sample command to test the command features info: product: open-cli service: test @@ -9,7 +9,7 @@ info: parameters: - name: bool-param type: bool - description: Onap boolean param, by default its always false. + description: Oclip boolean param, by default its always false. short_option: b long_option: bool is_optional: true @@ -17,7 +17,7 @@ parameters: is_include: true - name: secure-param type: string - description: Onap secure param such as password + description: Oclip secure param such as password short_option: x long_option: secure is_secured: true @@ -25,61 +25,61 @@ parameters: default_Value: pass123# - name: string-param type: string - description: Onap string param + description: Oclip string param long_option: string-param short_option: c is_optional: true default_Value: test - name: yaml-param type: json - description: Onap yaml file location param + description: Oclip yaml file location param long_option: yaml-param short_option: y is_optional: true - name: json-param type: json - description: Onap json file location param + description: Oclip json file location param long_option: json-param short_option: j is_optional: true is_secured: false - name: long-param type: digit - description: Onap long param + description: Oclip long param short_option: l long_option: long-opt is_optional: true default_value: 10 - name: url-param type: url - description: Onap url param + description: Oclip url param short_option: r long_option: url is_optional: true default_value: http://localhost:8082/file.txt - name: env-param type: string - description: Onap env param. + description: Oclip env param. short_option: z long_option: env is_optional: true default_value: ${ENV_VAR} - name: positional-args type: string - description: Onap positional args, if no short option and no long option given for it + description: Oclip positional args, if no short option and no long option given for it is_optional: true default_value: http://localhost:8082/file.txt results: direction: portrait attributes: - name: output-1 - description: Onap output attribute marked in short + description: Oclip output attribute marked in short scope: short type: string is_secured: true default_value: req-$s{uuid} - name: output-2 - description: Onap output attribute marked in long + description: Oclip output attribute marked in long scope: short is_secured: false type: string diff --git a/framework/src/test/resources/open-cli-schema/sample-test1-schema-http.yaml b/framework/src/test/resources/open-cli-schema/sample-test1-schema-http.yaml index b96a498b..72c7dc55 100644 --- a/framework/src/test/resources/open-cli-schema/sample-test1-schema-http.yaml +++ b/framework/src/test/resources/open-cli-schema/sample-test1-schema-http.yaml @@ -1,6 +1,6 @@ open_cli_schema_version: 1.0 name: sample-test1 -description: Onap sample command to test the command features +description: Oclip sample command to test the command features info: product: open-cli @@ -11,14 +11,14 @@ info: parameters: - name: bool-param type: bool - description: Onap boolean param, by default its always false. + description: Oclip boolean param, by default its always false. short_option: b long_option: bool is_optional: true default_value: false - name: secure-param type: string - description: Onap secure param such as password + description: Oclip secure param such as password short_option: x long_option: secure is_secured: true @@ -26,47 +26,47 @@ parameters: default_Value: pass123# - name: string-param type: string - description: Onap string param + description: Oclip string param long_option: string-param short_option: c is_optional: false default_Value: test - name: yaml-param type: json - description: Onap yaml file location param + description: Oclip yaml file location param long_option: yaml-param short_option: y is_optional: false - name: json-param type: json - description: Onap json file location param + description: Oclip json file location param long_option: json-param short_option: j is_optional: false - name: long-param type: digit - description: Onap long param + description: Oclip long param short_option: l long_option: long-opt is_optional: false default_value: 10 - name: url-param type: url - description: Onap url param + description: Oclip url param short_option: r long_option: url is_optional: false default_value: http://localhost:8082/file.txt - name: env-param type: string - description: Onap env param. + description: Oclip env param. short_option: z long_option: env is_optional: false default_value: ${ENV_VAR} - name: positional-args type: string - description: Onap positional args, if no short option and no long option given for it + description: Oclip positional args, if no short option and no long option given for it is_optional: false default_value: http://localhost:8082/file.txt http: diff --git a/framework/src/test/resources/sample-cmd-test-help.txt b/framework/src/test/resources/sample-cmd-test-help.txt index fd36587d..bc1305cb 100644 --- a/framework/src/test/resources/sample-cmd-test-help.txt +++ b/framework/src/test/resources/sample-cmd-test-help.txt @@ -1,8 +1,8 @@ usage: oclip sample-test -Onap sample command to test the command features +Oclip sample command to test the command features -Onap service: sample v1 +Oclip service: sample v1 Options: [-h | --help] [-v | --version] [-d | --debug] @@ -12,9 +12,9 @@ Options: [-l | --long-opt] [-r | --url] [-z | --env] <positional-args> where, --h | --help Onap command help message. It is of type STRING. +-h | --help Oclip command help message. It is of type STRING. By default, it is false. --v | --version Onap command service version. It is of type +-v | --version Oclip command service version. It is of type STRING. By default, it is false. -d | --debug Enable debug output. It is of type BOOL. By default, it is false. @@ -26,34 +26,34 @@ where, false. -t | --no-title whether to print title or not. It is of type BOOL. By default, it is false. --b | --bool Onap boolean param, by default its always false. +-b | --bool Oclip boolean param, by default its always false. It is of type BOOL. It is optional. By default, it is false. --x | --secure Onap secure param such as password. It is of +-x | --secure Oclip secure param such as password. It is of type STRING. Secured. --c | --string-param Onap string param. It is of type STRING. --y | --yaml-param Onap yaml file location param. It is of type +-c | --string-param Oclip string param. It is of type STRING. +-y | --yaml-param Oclip yaml file location param. It is of type JSON. It's recommended to input the complete path of the file, which is having the value for it. --j | --json-param Onap json file location param. It is of type +-j | --json-param Oclip json file location param. It is of type JSON. It's recommended to input the complete path of the file, which is having the value for it. --l | --long-opt Onap long param. It is of type LONG. By default, +-l | --long-opt Oclip long param. It is of type LONG. By default, it is 10. --r | --url Onap url param. It is of type URL. By default, +-r | --url Oclip url param. It is of type URL. By default, it is http://localhost:8082/file.txt. --z | --env Onap env param. It is of type STRING. By +-z | --env Oclip env param. It is of type STRING. By default, it is read from environment variable ENV_VAR. -positional-args Onap positional args, if no short option and no +positional-args Oclip positional args, if no short option and no long option given for it. It is of type STRING. By default, it is http://localhost:8082/file.txt. Results: -output-1 Onap output attribute marked in short and is of +output-1 Oclip output attribute marked in short and is of type STRING. It is secured. -output-2 Onap output attribute marked in long and is of +output-2 Oclip output attribute marked in long and is of type STRING. diff --git a/framework/src/test/resources/sample-test-info.yaml b/framework/src/test/resources/sample-test-info.yaml index 58e7268d..b80bfad7 100644 --- a/framework/src/test/resources/sample-test-info.yaml +++ b/framework/src/test/resources/sample-test-info.yaml @@ -1,6 +1,6 @@ open_cli_schema_version: 1.0 name: sample-test-info -description: Onap sample command to test the command features +description: Oclip sample command to test the command features info: product: open-cli diff --git a/framework/src/test/resources/sample-test-invalid-schema-duplicate-longoption.yaml b/framework/src/test/resources/sample-test-invalid-schema-duplicate-longoption.yaml index bf2ce3f3..a0fb0d56 100644 --- a/framework/src/test/resources/sample-test-invalid-schema-duplicate-longoption.yaml +++ b/framework/src/test/resources/sample-test-invalid-schema-duplicate-longoption.yaml @@ -1,6 +1,6 @@ open_cli_schema_version: 1.0 name: sample-test -description: Onap sample command to test the command features +description: Oclip sample command to test the command features info: product: open-cli @@ -11,14 +11,14 @@ info: parameters: - name: bool-param type: bool - description: Onap boolean param, by default its always false. + description: Oclip boolean param, by default its always false. short_option: b long_option: bool is_optional: true default_value: false - name: secure-param type: string - description: Onap secure param such as password + description: Oclip secure param such as password short_option: x long_option: secure is_secured: true @@ -26,57 +26,57 @@ parameters: default_Value: pass123# - name: string-param type: string - description: Onap string param + description: Oclip string param long_option: secure short_option: c is_optional: false default_Value: test - name: yaml-param type: json - description: Onap yaml file location param + description: Oclip yaml file location param long_option: yaml-param short_option: y is_optional: false - name: json-param type: json - description: Onap json file location param + description: Oclip json file location param long_option: json-param short_option: j is_optional: false - name: long-param type: digit - description: Onap long param + description: Oclip long param short_option: l long_option: long-opt is_optional: false default_value: 10 - name: url-param type: url - description: Onap url param + description: Oclip url param short_option: r long_option: url is_optional: false default_value: http://localhost:8082/file.txt - name: env-param type: string - description: Onap env param. + description: Oclip env param. short_option: z long_option: env is_optional: false default_value: ${ENV_VAR} - name: positional-args type: string - description: Onap positional args, if no short option and no long option given for it + description: Oclip positional args, if no short option and no long option given for it is_optional: false default_value: http://localhost:8082/file.txt results: direction: portrait attributes: - name: output-1 - description: Onap output attribute marked in short + description: Oclip output attribute marked in short scope: short type: string - name: output-2 - description: Onap output attribute marked in long + description: Oclip output attribute marked in long scope: short type: string
\ No newline at end of file diff --git a/framework/src/test/resources/sample-test-invalid-schema-duplicate-name.yaml b/framework/src/test/resources/sample-test-invalid-schema-duplicate-name.yaml index 239c5360..0718f315 100644 --- a/framework/src/test/resources/sample-test-invalid-schema-duplicate-name.yaml +++ b/framework/src/test/resources/sample-test-invalid-schema-duplicate-name.yaml @@ -1,6 +1,6 @@ open_cli_schema_version: 1.0 name: sample-test -description: Onap sample command to test the command features +description: Oclip sample command to test the command features info: product: open-cli service: test @@ -10,21 +10,21 @@ info: parameters: - name: bool-param type: bool - description: Onap boolean param, by default its always false. + description: Oclip boolean param, by default its always false. short_option: b long_option: bool is_optional: true default_value: false - name: bool-param type: bool - description: Onap boolean param, by default its always false. + description: Oclip boolean param, by default its always false. short_option: b long_option: bool is_optional: true default_value: false - name: secure-param type: string - description: Onap secure param such as password + description: Oclip secure param such as password short_option: x long_option: secure is_secured: true @@ -32,57 +32,57 @@ parameters: default_Value: pass123# - name: string-param type: string - description: Onap string param + description: Oclip string param long_option: string-param short_option: c is_optional: false default_Value: test - name: yaml-param type: json - description: Onap yaml file location param + description: Oclip yaml file location param long_option: yaml-param short_option: y is_optional: false - name: json-param type: json - description: Onap json file location param + description: Oclip json file location param long_option: json-param short_option: j is_optional: false - name: long-param type: digit - description: Onap long param + description: Oclip long param short_option: l long_option: long-opt is_optional: false default_value: 10 - name: url-param type: url - description: Onap url param + description: Oclip url param short_option: r long_option: url is_optional: false default_value: http://localhost:8082/file.txt - name: env-param type: string - description: Onap env param. + description: Oclip env param. short_option: z long_option: env is_optional: false default_value: ${ENV_VAR} - name: positional-args type: string - description: Onap positional args, if no short option and no long option given for it + description: Oclip positional args, if no short option and no long option given for it is_optional: false default_value: http://localhost:8082/file.txt results: direction: portrait attributes: - name: output-1 - description: Onap output attribute marked in short + description: Oclip output attribute marked in short scope: short type: string - name: output-2 - description: Onap output attribute marked in long + description: Oclip output attribute marked in long scope: short type: string
\ No newline at end of file diff --git a/framework/src/test/resources/sample-test-invalid-schema-duplicate-shortoption.yaml b/framework/src/test/resources/sample-test-invalid-schema-duplicate-shortoption.yaml index 4c6b27e4..d61bf6e9 100644 --- a/framework/src/test/resources/sample-test-invalid-schema-duplicate-shortoption.yaml +++ b/framework/src/test/resources/sample-test-invalid-schema-duplicate-shortoption.yaml @@ -1,6 +1,6 @@ open_cli_schema_version: 1.0 name: sample-test -description: Onap sample command to test the command features +description: Oclip sample command to test the command features info: product: open-cli service: test @@ -9,14 +9,14 @@ info: parameters: - name: bool-param type: bool - description: Onap boolean param, by default its always false. + description: Oclip boolean param, by default its always false. short_option: b long_option: bool is_optional: true default_value: false - name: secure-param type: string - description: Onap secure param such as password + description: Oclip secure param such as password short_option: x short_option: y long_option: secure @@ -25,57 +25,57 @@ parameters: default_Value: pass123# - name: string-param type: string - description: Onap string param + description: Oclip string param long_option: string-param short_option: c is_optional: false default_Value: test - name: yaml-param type: json - description: Onap yaml file location param + description: Oclip yaml file location param long_option: yaml-param short_option: y is_optional: false - name: json-param type: json - description: Onap json file location param + description: Oclip json file location param long_option: json-param short_option: j is_optional: false - name: long-param type: digit - description: Onap long param + description: Oclip long param short_option: l long_option: long-opt is_optional: false default_value: 10 - name: url-param type: url - description: Onap url param + description: Oclip url param short_option: r long_option: url is_optional: false default_value: http://localhost:8082/file.txt - name: env-param type: string - description: Onap env param. + description: Oclip env param. short_option: z long_option: env is_optional: false default_value: ${ENV_VAR} - name: positional-args type: string - description: Onap positional args, if no short option and no long option given for it + description: Oclip positional args, if no short option and no long option given for it is_optional: false default_value: http://localhost:8082/file.txt results: direction: portrait attributes: - name: output-1 - description: Onap output attribute marked in short + description: Oclip output attribute marked in short scope: short type: string - name: output-2 - description: Onap output attribute marked in long + description: Oclip output attribute marked in long scope: short type: string
\ No newline at end of file diff --git a/framework/src/test/resources/sample-test-invalid-schema.yaml b/framework/src/test/resources/sample-test-invalid-schema.yaml index 05da6ce7..06c45daa 100644 --- a/framework/src/test/resources/sample-test-invalid-schema.yaml +++ b/framework/src/test/resources/sample-test-invalid-schema.yaml @@ -1,6 +1,6 @@ open_cli_schema_version: 1.0 name: sample-test -description: Onap sample command to test the command features +description: Oclip sample command to test the command features info: product: open-cli service: test @@ -9,14 +9,14 @@ info: parameters: - name: bool-param type: bool - description: Onap boolean param, by default its always false. + description: Oclip boolean param, by default its always false. short_option: b long_option: bool is_optional: true default_value: false - name: secure-param type: string - description: Onap secure param such as password + description: Oclip secure param such as password short_option: x long_option: secure is_secured: true @@ -24,57 +24,57 @@ parameters: default_Value: pass123# - name: string-param type: string - description: Onap string param + description: Oclip string param long_option: string-param short_option: c is_optional: false default_Value: test - name: yaml-param type: json - description: Onap yaml file location param + description: Oclip yaml file location param long_option: yaml-param short_option: y is_optional: false - name: json-param type: json - description: Onap json file location param + description: Oclip json file location param long_option: json-param short_option: j is_optional: false - name: long-param type: digit - description: Onap long param + description: Oclip long param short_option: l long_option: long-opt is_optional: false default_value: 10 - name: url-param type: url - description: Onap url param + description: Oclip url param short_option: r long_option: url is_optional: false default_value: http://localhost:8082/file.txt - name: env-param type: string - description: Onap env param. + description: Oclip env param. short_option: z long_option: env is_optional: false default_value: ${ENV_VAR} - name: positional-args type: string - description: Onap positional args, if no short option and no long option given for it + description: Oclip positional args, if no short option and no long option given for it is_optional: false default_value: http://localhost:8082/file.txt results: direction: portrait attributes: - name: output-1 - description: Onap output attribute marked in short + description: Oclip output attribute marked in short scope: short type: string - name: output-2 - description: Onap output attribute marked in long + description: Oclip output attribute marked in long scope: short type: string
\ No newline at end of file diff --git a/framework/src/test/resources/sample-test-schema-auth-required.yaml b/framework/src/test/resources/sample-test-schema-auth-required.yaml index e7f5419a..062388f1 100644 --- a/framework/src/test/resources/sample-test-schema-auth-required.yaml +++ b/framework/src/test/resources/sample-test-schema-auth-required.yaml @@ -1,6 +1,6 @@ open_cli_schema_version: 1.0 name: sample-test -description: Onap sample command to test the command features +description: Oclip sample command to test the command features info: product: open-cli service: test @@ -9,7 +9,7 @@ info: parameters: - name: bool-param type: bool - description: Onap boolean param, by default its always false. + description: Oclip boolean param, by default its always false. short_option: b long_option: bool is_optional: true diff --git a/framework/src/test/resources/sample-test-schema-http.yaml b/framework/src/test/resources/sample-test-schema-http.yaml index 60b45e80..b5d91604 100644 --- a/framework/src/test/resources/sample-test-schema-http.yaml +++ b/framework/src/test/resources/sample-test-schema-http.yaml @@ -8,65 +8,65 @@ info: author: Kanagaraj Manickam mkr1481@gmail.com parameters: - name: service-name - description: Onap service name + description: Oclip service name type: string short_option: x long_option: service-name is_optional: false - name: service-version - description: Onap service version + description: Oclip service version type: string short_option: y long_option: service-version is_optional: false - name: service-url - description: Onap service base url + description: Oclip service base url type: url short_option: r long_option: service-url is_optional: false - name: status - description: Onap service status + description: Oclip service status type: digit short_option: z long_option: service-status is_optional: true default_value: 1 - name: node-ip - description: Onap service running node IP + description: Oclip service running node IP type: string - name: node-port - description: Onap service running node port + description: Oclip service running node port type: string - name: create-or-update - description: Onap service create or update + description: Oclip service create or update type: bool default_value: true results: direction: portrait attributes: - name: name - description: Onap service name + description: Oclip service name scope: short type: string - name: version - description: Onap service version + description: Oclip service version scope: short type: string - name: url - description: Onap service base url + description: Oclip service base url scope: short type: url - name: status - description: Onap service status + description: Oclip service status scope: short type: digit - name: nodes - description: Onap service running nodes + description: Oclip service running nodes scope: long type: string - name: location - description: Onap service location + description: Oclip service location scope: long type: url http: diff --git a/framework/src/test/resources/sample-test-schema-swagger.yaml b/framework/src/test/resources/sample-test-schema-swagger.yaml index 0c52c71c..2d8086e5 100644 --- a/framework/src/test/resources/sample-test-schema-swagger.yaml +++ b/framework/src/test/resources/sample-test-schema-swagger.yaml @@ -9,7 +9,7 @@ info: parameters: - name: user type: string - description: Onap user + description: Oclip user short_option: n long_option: username is_optional: false @@ -17,7 +17,7 @@ results: direction: portrait attributes: - name: name - description: Onap user + description: Oclip user scope: short type: string exec: diff --git a/framework/src/test/resources/schema-validate-basic.yaml b/framework/src/test/resources/schema-validate-basic.yaml index a4219049..14104879 100644 --- a/framework/src/test/resources/schema-validate-basic.yaml +++ b/framework/src/test/resources/schema-validate-basic.yaml @@ -8,64 +8,64 @@ info: author: Kanagaraj Manickam mkr1481@gmail.com parameters: - name: service-name1 - description: Onap service name + description: Oclip service name type: string short_option: x long_option: service-name is_optional: false - name: service-version - description: Onap service version + description: Oclip service version type: string short_option: x long_option: service-version is_optional: false - name: service-url - description: Onap service base url + description: Oclip service base url type: url1 short_option: u long_option: service-url is_optional: false1 - name: status - description: Onap service status + description: Oclip service status type: digit short_option: z long_option: service-version is_optional: true default_value: 1 - name: node-ip - description: Onap service running node IP + description: Oclip service running node IP type: string - name: node-port - description: Onap service running node port + description: Oclip service running node port type: string - name: create-or-update - description: Onap service create or update + description: Oclip service create or update type: cfbcv default_value: true results: direction: portrait1 attributes: - name: name - description: Onap service name + description: Oclip service name scope: short type: string - name: version - description: Onap service version + description: Oclip service version scope: short type: string - name: status - description: Onap service base url + description: Oclip service base url scope: short type: url - name: status - description: Onap service status + description: Oclip service status scope: short1 type: digit - name: nodes - description: Onap service running nodes + description: Oclip service running nodes scope: long type: string - name: location - description: Onap service location + description: Oclip service location scope: long type: url
\ No newline at end of file diff --git a/framework/src/test/resources/schema-validate-http.yaml b/framework/src/test/resources/schema-validate-http.yaml index 544de82b..8228b179 100644 --- a/framework/src/test/resources/schema-validate-http.yaml +++ b/framework/src/test/resources/schema-validate-http.yaml @@ -9,65 +9,65 @@ info: parameters: - name: service-name1 - description: Onap service name + description: Oclip service name type: string short_option: x long_option: service-name is_optional: false - name: service-version - description: Onap service version + description: Oclip service version type: string short_option: x long_option: service-version is_optional: false - name: service-url - description: Onap service base url + description: Oclip service base url type: url1 short_option: u long_option: service-url is_optional: false1 - name: status - description: Onap service status + description: Oclip service status type: digit short_option: z long_option: service-version is_optional: true default_value: 1 - name: node-ip - description: Onap service running node IP + description: Oclip service running node IP type: string - name: node-port - description: Onap service running node port + description: Oclip service running node port type: string - name: create-or-update - description: Onap service create or update + description: Oclip service create or update type: cfbcv default_value: true results: direction: portrait attributes: - name: name - description: Onap service name + description: Oclip service name scope: short type: string - name: version - description: Onap service version + description: Oclip service version scope: short type: string - name: status - description: Onap service base url + description: Oclip service base url scope: short type: url - name: status - description: Onap service status + description: Oclip service status scope: short1 type: digit - name: nodes - description: Onap service running nodes + description: Oclip service running nodes scope: long type: string - name: location - description: Onap service location + description: Oclip service location scope: long type: url http: diff --git a/framework/src/test/resources/schema-validate-invalid.yaml b/framework/src/test/resources/schema-validate-invalid.yaml index 11aaaca0..166e146b 100644 --- a/framework/src/test/resources/schema-validate-invalid.yaml +++ b/framework/src/test/resources/schema-validate-invalid.yaml @@ -8,56 +8,56 @@ info: author: Kanagaraj Manickam mkr1481@gmail.com parameters: - name: name - description: Onap SDNC name + description: Oclip SDNC name scope: short type: string short_option: n long_option: name is_optional: false - name: vendor - description: Onap SDNC vendor + description: Oclip SDNC vendor scope: short type: string short_option: e long_option: vendor is_optional: false - name: type - description: Onap SDNC type + description: Oclip SDNC type scope: short type: string short_option: y long_option: type is_optional: false - name: sdnc-version - description: Onap SDNC version + description: Oclip SDNC version scope: short type: string short_option: r long_option: sdnc-version is_optional: false - name: url - description: Onap SDNC base url + description: Oclip SDNC base url scope: short type: url short_option: l long_option: url is_optional: false - name: description - description: Onap SDNC description + description: Oclip SDNC description scope: short type: string short_option: i long_option: description is_optional: false - name: username - description: Onap SDNC username + description: Oclip SDNC username scope: short type: string short_option: g long_option: username is_optional: false - name: password - description: Onap SDNC password + description: Oclip SDNC password scope: short type: string is_secured: true @@ -65,14 +65,14 @@ parameters: long_option: password is_optional: false - name: product-name - description: Onap SDNC product-name + description: Oclip SDNC product-name scope: short type: string short_option: o long_option: product-name is_optional: false - name: protocol - description: Onap SDNC protocol + description: Oclip SDNC protocol scope: short type: string short_option: k @@ -82,52 +82,52 @@ results: direction: portrait attributes: - name: id - description: Onap SDNC ID + description: Oclip SDNC ID scope: short type: string - name: name - description: Onap SDNC name + description: Oclip SDNC name scope: short type: string - name: vendor - description: Onap SDNC vendor + description: Oclip SDNC vendor scope: short type: string - name: type - description: Onap SDNC type + description: Oclip SDNC type scope: short type: string - name: version - description: Onap SDNC version + description: Oclip SDNC version scope: short type: string - name: url - description: Onap SDNC base url + description: Oclip SDNC base url scope: short type: url - name: description - description: Onap SDNC description + description: Oclip SDNC description scope: short type: string - name: username - description: Onap SDNC username + description: Oclip SDNC username scope: short type: string - name: password - description: Onap SDNC password + description: Oclip SDNC password scope: short type: string is_secured: true - name: product-name - description: Onap SDNC product name + description: Oclip SDNC product name scope: short type: string - name: protocol - description: Onap SDNC protocol + description: Oclip SDNC protocol scope: short type: string - name: create-time - description: Onap SDNC create-time + description: Oclip SDNC create-time scope: long type: string http: diff --git a/framework/src/test/resources/schema-validate-invalidschematype.yaml b/framework/src/test/resources/schema-validate-invalidschematype.yaml index 25e1cb5e..0d5e34ce 100644 --- a/framework/src/test/resources/schema-validate-invalidschematype.yaml +++ b/framework/src/test/resources/schema-validate-invalidschematype.yaml @@ -9,65 +9,65 @@ info: name: schema-validate parameters: - name: service-name1 - description: Onap service name + description: Oclip service name type: string short_option: x long_option: service-name is_optional: false - name: service-version - description: Onap service version + description: Oclip service version type: string short_option: x long_option: service-version is_optional: false - name: service-url - description: Onap service base url + description: Oclip service base url type: url1 short_option: u long_option: service-url is_optional: false1 - name: status - description: Onap service status + description: Oclip service status type: digit short_option: z long_option: service-version is_optional: true default_value: 1 - name: node-ip - description: Onap service running node IP + description: Oclip service running node IP type: string - name: node-port - description: Onap service running node port + description: Oclip service running node port type: string - name: create-or-update - description: Onap service create or update + description: Oclip service create or update type: cfbcv default_value: true results: direction: portrait attributes: - name: name - description: Onap service name + description: Oclip service name scope: short type: string - name: version - description: Onap service version + description: Oclip service version scope: short type: string - name: status - description: Onap service base url + description: Oclip service base url scope: short type: url - name: status - description: Onap service status + description: Oclip service status scope: short1 type: digit - name: nodes - description: Onap service running nodes + description: Oclip service running nodes scope: long type: string - name: location - description: Onap service location + description: Oclip service location scope: long type: url http: diff --git a/framework/src/test/resources/schema-validate-pass.yaml b/framework/src/test/resources/schema-validate-pass.yaml index 73795206..28da9547 100644 --- a/framework/src/test/resources/schema-validate-pass.yaml +++ b/framework/src/test/resources/schema-validate-pass.yaml @@ -9,56 +9,56 @@ info: parameters: - name: name - description: Onap SDNC name + description: Oclip SDNC name scope: short type: string short_option: n long_option: name is_optional: false - name: vendor - description: Onap SDNC vendor + description: Oclip SDNC vendor scope: short type: string short_option: e long_option: vendor is_optional: false - name: type - description: Onap SDNC type + description: Oclip SDNC type scope: short type: string short_option: y long_option: type is_optional: false - name: sdnc-version - description: Onap SDNC version + description: Oclip SDNC version scope: short type: string short_option: r long_option: sdnc-version is_optional: false - name: url - description: Onap SDNC base url + description: Oclip SDNC base url scope: short type: url short_option: l long_option: url is_optional: false - name: description - description: Onap SDNC description + description: Oclip SDNC description scope: short type: string short_option: i long_option: description is_optional: false - name: username - description: Onap SDNC username + description: Oclip SDNC username scope: short type: string short_option: g long_option: username is_optional: false - name: password - description: Onap SDNC password + description: Oclip SDNC password scope: short type: string is_secured: true @@ -66,14 +66,14 @@ parameters: long_option: password is_optional: false - name: product-name - description: Onap SDNC product-name + description: Oclip SDNC product-name scope: short type: string short_option: o long_option: product-name is_optional: false - name: protocol - description: Onap SDNC protocol + description: Oclip SDNC protocol scope: short type: string short_option: k @@ -83,52 +83,52 @@ results: direction: portrait attributes: - name: id - description: Onap SDNC ID + description: Oclip SDNC ID scope: short type: string - name: name - description: Onap SDNC name + description: Oclip SDNC name scope: short type: string - name: vendor - description: Onap SDNC vendor + description: Oclip SDNC vendor scope: short type: string - name: type - description: Onap SDNC type + description: Oclip SDNC type scope: short type: string - name: version - description: Onap SDNC version + description: Oclip SDNC version scope: short type: string - name: url - description: Onap SDNC base url + description: Oclip SDNC base url scope: short type: url - name: description - description: Onap SDNC description + description: Oclip SDNC description scope: short type: string - name: username - description: Onap SDNC username + description: Oclip SDNC username scope: short type: string - name: password - description: Onap SDNC password + description: Oclip SDNC password scope: short type: string is_secured: true - name: product-name - description: Onap SDNC product name + description: Oclip SDNC product name scope: short type: string - name: protocol - description: Onap SDNC protocol + description: Oclip SDNC protocol scope: short type: string - name: create-time - description: Onap SDNC create-time + description: Oclip SDNC create-time scope: long type: string http: |