diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-09-26 23:38:29 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-14 14:39:16 +0530 |
commit | d39f12c5af170277b2c3daf8cff86553e3a0d2ec (patch) | |
tree | 468e7898c00b844b41896362d7404e8356448173 /plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml | |
parent | abf5898650417a9726c8eb8924b4b3aaebf54523 (diff) |
Re-org plugins into tree of product versions
Issue-Id: CLI-66
Change-Id: I2591bc380387200f727aae7e5db851a3c3a19fc3
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml')
-rw-r--r-- | plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml new file mode 100644 index 00000000..f8a73841 --- /dev/null +++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/service-type/service-type-create-schema.yaml @@ -0,0 +1,33 @@ +open_cli_schema_version: 1.0 +name: service-type-create +description: Add a service type in Onap +version: onap-1.0 +service: + name: aai + version: v8 + auth: basic + mode: direct + +parameters: + - name: service-type + description: Onap service type + type: string + short_option: x + long_option: service-type + is_optional: false + - name: service-type-id + description: Onap service type uuid + type: uuid + short_option: y + long_option: service-type-id + is_optional: true + +http: + request: + uri: /aai/v8/service-design-and-creation/services/service/${service-type-id} + method: PUT + body: '{"service-description": "${service-type}", "service-id": "${service-type-id}"}' + success_codes: + - 201 + sample_response: + body: '' |