diff options
author | Kanagaraj Manickam <mkr1481@gmail.com> | 2019-08-29 16:03:25 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2019-08-29 16:03:25 +0530 |
commit | 343affd4836a1e6a8e8336039e1eaab00f9e9502 (patch) | |
tree | c7195ffdca4721333a99bfcc08890f5cf90b1760 /products/onap-dublin/features/sdc/src/main/resources/open-cli-schema | |
parent | d5edf67b914052da0fa3c5011a46a34641d4a542 (diff) |
VLM Agreement creation updates
Issue-ID: CLI-166
Change-Id: Ia1476c6189206e1b967d69e5598f9ebde39ce3a2
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-schema')
-rw-r--r-- | products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-aggreement-create-schema-dublin.yaml | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-aggreement-create-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-aggreement-create-schema-dublin.yaml index d320848f..7d95c4a3 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-aggreement-create-schema-dublin.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vlm/vlm-aggreement-create-schema-dublin.yaml @@ -18,7 +18,7 @@ description: Create license aggreement info: product: onap-dublin - service: sdc + service: sdc.onboarding author: ONAP CLI Team onap-discuss@lists.onap.org parameters: @@ -40,12 +40,6 @@ parameters: short_option: e long_option: vlm-version is_optional: false - - name: description - description: Description for aggreement - type: string - short_option: z - long_option: description - is_optional: false - name: vlm-feature-group-id description: VLM feature group type: string @@ -56,7 +50,7 @@ parameters: results: direction: portrait attributes: - - name: ID + - name: id description: aggreement ID scope: short type: string @@ -69,10 +63,8 @@ http: request: uri: /onboarding-api/v1.0/vendor-license-models/${vlm-id}/versions/${vlm-version}/license-agreements method: POST - body: '{"addedFeatureGroupsIds": ["${vlm-feature-group-id}"], "description": "${description}", "licenseTerm": {"choice": "Fixed_Term", "other": ""}, "name": "${name}"}' + body: '{"addedFeatureGroupsIds": ["${vlm-feature-group-id}"], "licenseTerm": {"choice": "Fixed_Term", "other": ""}, "name": "${name}"}' success_codes: - 200 result_map: - ID: $b{$.value} - sample_response: - body: '{"value":"2DEB6CB4B082415BB7A697C9CD1273BA"}' + id: $b{$.value} |