summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-delete-schema-1.1.yaml2
-rw-r--r--plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-create-schema-1.1.yaml2
-rw-r--r--plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-delete-schema-1.1.yaml4
-rw-r--r--plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-list-schema-1.1.yaml54
-rw-r--r--plugins/aai/src/main/resources/onap-cli-schema/esr/vim/vim-delete-schema-1.1.yaml2
-rw-r--r--plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml3
-rw-r--r--plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml2
-rw-r--r--plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml2
-rw-r--r--plugins/msb/src/test/resources/service-list-schema.yaml2
9 files changed, 11 insertions, 62 deletions
diff --git a/plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-delete-schema-1.1.yaml b/plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-delete-schema-1.1.yaml
index 45ffd35b..c703c651 100644
--- a/plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-delete-schema-1.1.yaml
+++ b/plugins/aai/src/main/resources/onap-cli-schema/esr/ems/ems-delete-schema-1.1.yaml
@@ -21,7 +21,7 @@ parameters:
is_optional: false
- name: resource-version
description: Onap vim resource version
- type: uuid
+ type: string
short_option: y
long_option: resource-version
is_optional: true
diff --git a/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-create-schema-1.1.yaml b/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-create-schema-1.1.yaml
index 83afd018..fe0d22a8 100644
--- a/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-create-schema-1.1.yaml
+++ b/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-create-schema-1.1.yaml
@@ -88,7 +88,7 @@ parameters:
http:
request:
- uri: /aai/v11/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/{sdnc-id}
+ uri: /aai/v11/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/${sdnc-id}
method: PUT
body: '{"thirdparty-sdnc-id":"${sdnc-id}","location":"${location}","product-name":"${product-name}","esr-system-info-list":{"esr-system-info":[{"esr-system-info-id":"${sdnc-id}","system-name":"${name}","type":"${type}","vendor":"${vendor}","version":"${sdnc-version}","service-url":"","user-name":"${username}","password":"${password}","system-type":"sdnc","protocal":"${protocal}","ssl-cacert":"","ssl-insecure":"","ip-address":"${ip-address}","port":"${port}","cloud-domain":"","default-tenant":""}]}}'
success_codes:
diff --git a/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-delete-schema-1.1.yaml b/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-delete-schema-1.1.yaml
index 3cee4726..eec0ca67 100644
--- a/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-delete-schema-1.1.yaml
+++ b/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-delete-schema-1.1.yaml
@@ -15,14 +15,14 @@ service:
parameters:
- name: sdnc-id
description: Onap VNFM unique id
- type: uuid
+ type: string
short_option: x
long_option: sdnc-id
is_optional: false
http:
request:
- uri: /aai/v11/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/{sdnc-id}
+ uri: /aai/v11/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/${sdnc-id}
method: DELETE
success_codes:
diff --git a/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-list-schema-1.1.yaml b/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-list-schema-1.1.yaml
index aa56b711..f84c480f 100644
--- a/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-list-schema-1.1.yaml
+++ b/plugins/aai/src/main/resources/onap-cli-schema/esr/sdnc/sdnc-list-schema-1.1.yaml
@@ -19,46 +19,6 @@ results:
description: Onap sdnc id
scope: short
type: string
- - name: location
- description: Onap sdnc id
- scope: short
- type: string
- - name: name
- description: Onap sdnc name
- scope: short
- type: string
- - name: type
- description: Onap sdnc type
- scope: short
- type: string
- - name: vendor
- description: Onap sdnc vendor
- scope: short
- type: string
- - name: version
- description: Onap sdnc version
- scope: short
- type: string
- - name: ip-address
- description: Onap sdnc ip-address
- scope: short
- type: string
- - name: port
- description: Onap sdnc port
- scope: short
- type: string
- - name: protocal
- description: Onap sdnc protocal
- scope: short
- type: string
- - name: username
- description: Onap sdnc username
- scope: long
- type: string
- - name: product-name
- description: Onap sdnc product-name
- scope: short
- type: string
- name: resource-version
description: Onap sdnc resource version
scope: short
@@ -71,18 +31,8 @@ http:
success_codes:
- 200
result_map:
- sdnc-id: $b{$.esr-sdnc.[*].sdnc-id
- location: $b{$.esr-sdnc.[*].location
- name: $b{$.esr-sdnc.[*].esr-system-info-list.esr-system-info.[0].system-name
- type: $b{$.esr-sdnc.[*].esr-system-info-list.esr-system-info.[0].type
- vendor: $b{$.esr-sdnc.[*].esr-system-info-list.esr-system-info.[0].vendor
- version: $b{$.esr-sdnc.[*].esr-system-info-list.esr-system-info.[0].version
- ip-address: $b{$.esr-sdnc.[*].esr-system-info-list.esr-system-info.[0].ip-address
- port: $b{$.esr-sdnc.[*].esr-system-info-list.esr-system-info.[0].port
- protocal: $b{$.esr-sdnc.[*].esr-system-info-list.esr-system-info.[0].protocal
- username: $b{$.esr-sdnc.[*].esr-system-info-list.esr-system-info.[0].user-name
- product-name: $b{$.esr-sdnc.[*].product-name
- resource-version: $b{$.esr-sdnc.[*].resource-version
+ sdnc-id: $b{$.esr-sdnc.[*].sdnc-id}
+ resource-version: $b{$.esr-sdnc.[*].resource-version}
sample_response:
body: '{"esr-sdnc":[{"sdnc-id":"example-sdnc-id-val-36878","location":"location","product-name":"example-remotepath-val-80493","esr-system-info-list":{"esr-system-info":[{"esr-system-info-id":"example-esr-system-info-id-val-44791","system-name":"example-system-name-val-48687","type":"example-type-val-95885","vendor":"example-vendor-val-41061","version":"example-version-val-38559","service-url":"example-service-url-val-2663","user-name":"example-user-name-val-26126","password":"example-password-val-33838","system-type":"sdnc","protocal":"","ssl-cacert":"","ssl-insecure":false,"ip-address":"","port":"","cloud-domain":"","default-tenant":""}]}}]}'
diff --git a/plugins/aai/src/main/resources/onap-cli-schema/esr/vim/vim-delete-schema-1.1.yaml b/plugins/aai/src/main/resources/onap-cli-schema/esr/vim/vim-delete-schema-1.1.yaml
index 55d1604f..ee74ead5 100644
--- a/plugins/aai/src/main/resources/onap-cli-schema/esr/vim/vim-delete-schema-1.1.yaml
+++ b/plugins/aai/src/main/resources/onap-cli-schema/esr/vim/vim-delete-schema-1.1.yaml
@@ -33,7 +33,7 @@ parameters:
is_optional: false
- name: resource-version
description: Onap vim resource version
- type: uuid
+ type: string
short_option: b
long_option: resource-version
is_optional: true
diff --git a/plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml b/plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml
index 1d0053fc..dd3aead1 100644
--- a/plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml
+++ b/plugins/msb/src/main/resources/onap-cli-schema/microservice-create-schema.yaml
@@ -53,7 +53,7 @@ results:
- name: status
description: Onap service status
scope: short
- type: long
+ type: digit
- name: nodes
description: Onap service running nodes
scope: long
@@ -83,4 +83,3 @@ http:
sample_response:
body: '{"serviceName":"test","version":"v1","url":"/api/test/v1","protocol":"REST","visualRange":"1","lb_policy":"hash","nodes":[{"ip":"127.0.0.1","port":"8012","ttl":0,"nodeId":"test_127.0.0.1_8012","expiration":"2017-02-10T05:33:25Z","created_at":"2017-02-10T05:33:25Z","updated_at":"2017-02-10T05:33:25Z"}],"status":"1"}'
-
diff --git a/plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml b/plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml
index 981d6190..b9bc3065 100644
--- a/plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml
+++ b/plugins/msb/src/main/resources/onap-cli-schema/microservice-list-schema.yaml
@@ -24,7 +24,7 @@ results:
- name: status
description: Onap service status
scope: short
- type: long
+ type: digit
- name: nodes
description: Onap service running nodes
scope: long
diff --git a/plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml b/plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml
index 919af2d7..437e5672 100644
--- a/plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml
+++ b/plugins/msb/src/main/resources/onap-cli-schema/microservice-show-schema.yaml
@@ -37,7 +37,7 @@ results:
- name: status
description: Onap service status
scope: short
- type: long
+ type: digit
- name: nodes
description: Onap service running nodes
scope: long
diff --git a/plugins/msb/src/test/resources/service-list-schema.yaml b/plugins/msb/src/test/resources/service-list-schema.yaml
index 3c97d30b..d6ec32fa 100644
--- a/plugins/msb/src/test/resources/service-list-schema.yaml
+++ b/plugins/msb/src/test/resources/service-list-schema.yaml
@@ -23,7 +23,7 @@ results:
- name: status
description: Onap service status
scope: short
- type: long
+ type: digit
- name: nodes
description: Onap service running nodes
scope: long