diff options
author | 2023-01-09 05:09:04 +0000 | |
---|---|---|
committer | 2023-04-12 09:51:46 +0000 | |
commit | 88b7bcd9aafd7f60acde56259fdb419af100ac78 (patch) | |
tree | 03100d0a7208edb449cb580d74f96473a3054f6f /src/onapsdk/so/templates/upgrade_service.json.j2 | |
parent | 17177d481a178c0ecea55f35f8ef785d47195ca8 (diff) |
API support for Upgrade Scenarios
-API Support in Automation- ONAPSDK for
-Service Upgrade
-CNF Upgrade
Issue-ID: INT-2187
Change-Id: I09f42f825b818b770f02f1d801bcd0084b8b8bab
Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
Diffstat (limited to 'src/onapsdk/so/templates/upgrade_service.json.j2')
-rw-r--r-- | src/onapsdk/so/templates/upgrade_service.json.j2 | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/onapsdk/so/templates/upgrade_service.json.j2 b/src/onapsdk/so/templates/upgrade_service.json.j2 new file mode 100644 index 0000000..b2e1c95 --- /dev/null +++ b/src/onapsdk/so/templates/upgrade_service.json.j2 @@ -0,0 +1,38 @@ +{ + "requestDetails": { + "subscriberInfo": { + "globalSubscriberId": "{{ service_instance.service_subscription.customer.global_customer_id }}" + }, + "requestInfo": { + "suppressRollback": "false", + "productFamilyId": "1234", + "requestorId": "demo", + "instanceName": "{{ service_instance.instance_name }}", + "source": "VID" + }, + "cloudConfiguration": { + "tenantId": "{{ service_instance.service_subscription.tenant.tenant_id }}", + "cloudOwner": "{{ service_instance.service_subscription.cloud_region.cloud_owner }}", + "lcpCloudRegionId": "{{ service_instance.service_subscription.cloud_region.cloud_region_id }}" + }, + "requestParameters": { + "subscriptionServiceType": "{{ service.name }}", + "userParams": [], + "aLaCarte": "false" + }, + "project": { + "projectName": "{{ project }}" + }, + "owningEntity": { + "owningEntityId": "{{ owning_entity.owning_entity_id }}", + "owningEntityName": "{{ owning_entity.name }}" + }, + "modelInfo": { + "modelVersion": "{{ service_instance.sdc_service.version }}", + "modelVersionId": "{{ service_instance.sdc_service.identifier }}", + "modelInvariantId": "{{ service_instance.sdc_service.unique_uuid }}", + "modelName": "{{ service_instance.sdc_service.name }}", + "modelType": "service" + } + } + }
\ No newline at end of file |