"GET status information about multiple VNF LCM Operation OCC" VNF LCM OP OCC, test case fails during validation of VnfLcmOpOccs schema json
[Issue]:
"GET status information about multiple VNF LCM Operation OCC" VNF LCM OP OCC, test case fails during validation of VnfLcmOpOccs schema json.
[Issue Detail]
· Executed “GET status information about multiple VNF LCM Operation OCC” compliance test in Tacker.
· Sol_compliance: SOL003
· API: VNFLifecycleManagement-API
· Robot File: VnfLcmOperationOccurences.robot
· Testcase Title: GET status information about multiple VNF LCM Operation OCC
· Test ID: 7.3.1.11.2
· Error message:
<status status="FAIL" starttime="20241016 04:58:04.977" endtime="20241016 04:58:05.908" critical="yes">ValidationError: Validation error for schema VnfLcmOpOccs.schema.json: 'operationParams' is a required property</status>
· Error location:
[Cause]
Note: As per our understanding, if a parameter has cardinality 0..1, it is not a required parameter. Required parameter has cardinality 1.
· As per ETSI specification, ‘operationParams’ has cardinality 0..1 which means it is not a required parameter but, in VnfLcmOpOccs schema json, ‘operationParams’ is in required parameters list. Thus, testcase gets failed during validation because ‘operationParams’ is not present in Tacker’s output response.
[Fix Proposal]
· Correct VnfLcmOpOccs schema json and remove ‘operationParams’ from required parameters list in SOL003 v2.6.1-fix-plu branch.