summaryrefslogtreecommitdiffstats
path: root/main/src/test/resources
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-06 23:26:20 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 12:42:00 +0530
commit7259212791972fc10e41210487ff0f780ab024a6 (patch)
tree7d324b6eeee6ccd8cc367d88532e60b7953d636d /main/src/test/resources
parent1845026e0f1ef61d64faf5ddab197f1bfc3a4f42 (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 'main/src/test/resources')
-rw-r--r--main/src/test/resources/open-cli-schema/sample-create-schema.yaml18
-rw-r--r--main/src/test/resources/sample-test-schema.yaml26
2 files changed, 22 insertions, 22 deletions
diff --git a/main/src/test/resources/open-cli-schema/sample-create-schema.yaml b/main/src/test/resources/open-cli-schema/sample-create-schema.yaml
index 3c1dda8d..23421b37 100644
--- a/main/src/test/resources/open-cli-schema/sample-create-schema.yaml
+++ b/main/src/test/resources/open-cli-schema/sample-create-schema.yaml
@@ -9,18 +9,18 @@ info:
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: node-ip
- description: Onap service running node IP
+ description: Oclip service running node IP
type: array
short_option: i
long_option: node-ip
- name: node-port
- description: Onap service running node port
+ description: Oclip service running node port
type: map
short_option: o
long_option: node-port
@@ -28,27 +28,27 @@ 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/main/src/test/resources/sample-test-schema.yaml b/main/src/test/resources/sample-test-schema.yaml
index f257bf69..d867d9f8 100644
--- a/main/src/test/resources/sample-test-schema.yaml
+++ b/main/src/test/resources/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
@@ -10,14 +10,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
@@ -25,40 +25,40 @@ 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
- 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
@@ -66,12 +66,12 @@ parameters:
default_value: http://localhost:8082/file.txt
- 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
- name: text-param
type: text
- description: Onap text file location param
+ description: Oclip text file location param
long_option: text-param
short_option: e
is_optional: true
@@ -79,10 +79,10 @@ 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