${session}= Create Session policy ${GLOBAL_POLICY_SERVER_PROTOCOL}://${POLICY_PAP_IP}:${GLOBAL_POLICY_HEALTHCHECK_PORT} auth=${auth}
Log Creating session ${GLOBAL_POLICY_SERVER_PROTOCOL}://${POLICY_PAP_IP}:${GLOBAL_POLICY_HEALTHCHECK_PORT}
${headers}= Create Dictionary Accept=application/json Content-Type=application/json
- ${resp_deployed_policy}= GET On Session policy ${POLICY_PAP_STATUS_QUERY} headers=${headers}
+ ${resp_deployed_policy}= GET On Session policy ${POLICY_PAP_STATUS_QUERY} headers=${headers} expected_status=any
Log Received response from policy status ${resp_deployed_policy.text}
Return From Keyword If ${resp_deployed_policy.status_code}==404
Should Be Equal As Strings ${resp_deployed_policy.status_code} 200
Set To Dictionary ${arguments} productFamilyId ${productFamilyId}
Set To Dictionary ${arguments} nf_instance_name ${pnf_correlation_id}
${request_id} ${service_instance_id}= Create PNF Service Using GR Api ${arguments}
- Wait Until Keyword Succeeds 180 20s Validate Service Instance ${service_instance_id} ${service} ${full_customer_name}
- Wait Until Keyword Succeeds 180 20s Check PNF orchestration status in A&AI ${pnf_correlation_id} Register
+ Wait Until Keyword Succeeds 360 20s Validate Service Instance ${service_instance_id} ${service} ${full_customer_name}
+ Wait Until Keyword Succeeds 360 20s Check PNF orchestration status in A&AI ${pnf_correlation_id} Register
[Return] ${service_instance_id} /onap/so/infra/orchestrationRequests/v7/${request_id} ${full_customer_name}
[Arguments] ${customer_name} ${customer_id} ${customer_type} ${service_type} ${cloud_owner} ${tenant_id} ${cloud_region_id}
Create Service If Not Exists ${service_type}
${resp}= Create Customer ${customer_name} ${customer_id} ${customer_type} ${service_type} ${cloud_owner} ${cloud_region_id} ${tenant_id}
- Should Be Equal As Strings ${resp} 201
\ No newline at end of file
+ Should Be Equal As Strings ${resp} 201