diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-09-13 09:47:08 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-09-13 09:48:13 +0530 |
commit | 745a26defad16dcb89d6804ca02c11899f9205f0 (patch) | |
tree | 3613e11f232e3fe92df0c9b8f98f9a743fb06208 /plugins/aai/src/main/resources/onap-cli-schema/subscription/subscription-create-schema-1.1.yaml | |
parent | 4f8bc594e0bf21476aea79b4b916f12f31a12881 (diff) |
Fix subscription creation command
subscription-create has invalide PUT json
body and is fixed.
CLI-13
Change-Id: Ie5cae994606547c60ef07ea4a08dd5135fce62d0
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/aai/src/main/resources/onap-cli-schema/subscription/subscription-create-schema-1.1.yaml')
-rw-r--r-- | plugins/aai/src/main/resources/onap-cli-schema/subscription/subscription-create-schema-1.1.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/aai/src/main/resources/onap-cli-schema/subscription/subscription-create-schema-1.1.yaml b/plugins/aai/src/main/resources/onap-cli-schema/subscription/subscription-create-schema-1.1.yaml index 68bb9311..95f11308 100644 --- a/plugins/aai/src/main/resources/onap-cli-schema/subscription/subscription-create-schema-1.1.yaml +++ b/plugins/aai/src/main/resources/onap-cli-schema/subscription/subscription-create-schema-1.1.yaml @@ -44,7 +44,7 @@ http: request: uri: /aai/v11/business/customers/customer/${customer-name}/service-subscriptions/service-subscription/${service-type} method: PUT - body: '{"service-subscription":[{"relationship-list":{"relationship":[{"related-to":"tenant","relationship-data":[{"relationship-key":"cloud-region.cloud-owner","relationship-value":"${cloud-name}"},{"relationship-key":"cloud-region.cloud-region-id","relationship-value":"${cloud-region}"},{"relationship-key":"tenant.tenant-id","relationship-value":"${cloud-tenant-id}"}]}]},"service-type":"${service-type}"}]}' + body: '{"relationship-list":{"relationship":[{"related-to":"tenant","relationship-data":[{"relationship-key":"cloud-region.cloud-owner","relationship-value":"${cloud-name}"},{"relationship-key":"cloud-region.cloud-region-id","relationship-value":"${cloud-region}"},{"relationship-key":"tenant.tenant-id","relationship-value":"${cloud-tenant-id}"}]}]},"service-type":"${service-type}"}' success_codes: - 200 - 201 |