diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-02 14:20:41 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-11-02 14:20:41 +0530 |
commit | 9ec7fe8d80918d50dc223496c134595a7b1b1c64 (patch) | |
tree | a7f6ed983beff6c737e14850091844c1a5508a27 /plugins/sdc/src/main/resources/onap-cli-schema | |
parent | d981442aff336c2d2e71e7f3d1c07dc5340ef35b (diff) |
Distribute service model in SDC
CLI-57
Change-Id: I20014b8e212ae7fefc1ef41a04d4f0f5d6fb066c
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/sdc/src/main/resources/onap-cli-schema')
-rw-r--r-- | plugins/sdc/src/main/resources/onap-cli-schema/service-model/service-model-distribute-schema-1.1.yaml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/service-model/service-model-distribute-schema-1.1.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/service-model/service-model-distribute-schema-1.1.yaml new file mode 100644 index 00000000..f88925d4 --- /dev/null +++ b/plugins/sdc/src/main/resources/onap-cli-schema/service-model/service-model-distribute-schema-1.1.yaml @@ -0,0 +1,26 @@ +open_cli_schema_version: 1.0 +name: service-model-distribute +description: Distributes the Service model in SDC +version: onap-1.1 +service: + name: sdc + version: v1.0 + auth: basic + mode: direct + +parameters: + - name: service-model-id + description: Service model ID + type: string + long_option: service-model-id + short_option: b + is_optional: true + +http: + request: + uri: /sdc2/rest/v1/catalog/services/${service-model-id}/distribution/PROD/activate + method: POST + body: '{}' + success_codes: + - 200 + |