diff options
author | Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com> | 2020-03-06 14:06:48 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2020-04-01 06:55:30 +0000 |
commit | 888614e469ca672ddac67cdc2b57ce48497da441 (patch) | |
tree | 9db2188d058097967f2b96795f70cc583e94139f /robot/assets/templates | |
parent | 9f863418055651d4b6fa9772e1f9a94c3efe8c6c (diff) |
Extend PnF registrate test cases for GR API
Issue-ID: INT-1477
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: If7ade6850bd59799d5445cebe27db5c948522e06
Diffstat (limited to 'robot/assets/templates')
-rw-r--r-- | robot/assets/templates/so/create_pnf_service_building_block.jinja | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/robot/assets/templates/so/create_pnf_service_building_block.jinja b/robot/assets/templates/so/create_pnf_service_building_block.jinja new file mode 100644 index 00000000..15fae640 --- /dev/null +++ b/robot/assets/templates/so/create_pnf_service_building_block.jinja @@ -0,0 +1,70 @@ +{ + "requestDetails":{ + "modelInfo":{ + "modelInvariantId": "{{service_model_invariant_uuid}}", + "modelVersionId":"{{service_model_uuid}}", + "modelName":"{{service_model_name}}", + "modelType":"service", + "modelVersion":"1.0" + }, + "owningEntity":{ + "owningEntityId":"{{owningEntityId}}", + "owningEntityName":"{{owningEntityName}}" + }, + "subscriberInfo":{ + "globalSubscriberId":"{{full_customer_name}}" + }, + "requestInfo":{ + "instanceName":"{{service_name}}", + "productFamilyId":"{{productFamilyId}}", + "source":"VID", + "suppressRollback": False, + "requestorId":"demo" + }, + "requestParameters":{ + "subscriptionServiceType":"{{service}}", + "aLaCarte": False, + "userParams":[ + { + "service":{ + "modelInfo":{ + "modelVersionId":"{{service_model_uuid}}", + "modelName":"{{service_model_name}}", + "modelType":"service" + }, + "instanceName":"{{service_name}}", + "instanceParams":[ + ], + "resources":{ + "pnfs":[ + { + "modelInfo":{ + "modelCustomizationName":"{{nf_resource_name}}", + "modelCustomizationId":"{{nf_resource_uuid}}", + "modelInvariantId":"{{nf_model_invariant_uuid}}", + "modelVersionId":"{{nf_model_uuid}}", + "modelName":"{{nf_model_name}}", + "modelType":"pnf", + "modelVersion":"1.0" + }, + "platform":{ + "platformName":"{{platformName}}" + }, + "lineOfBusiness":{ + "lineOfBusinessName":"{{lineOfBusinessName}}" + }, + "productFamilyId":"{{productFamilyId}}", + "instanceParams":[], + "instanceName":"{{nf_instance_name}}" + }, + ] + } + } + }, + { + "Homing_Solution":"none" + } + ] + } + } +}
\ No newline at end of file |