-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
RICP_T1 Sprint C.P2
See the R4 AID - https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=20874584
- Check that the Mandatory fields exist - both in the ENB Node Object and in each of the Served Cells array (this array is mandatory also) - otherwise 400 Bad Request with 402 error
- Check that RAN exist - otherwise 404 Not found with 404 error
- Check that RAN is really eNB and not GNB - otherwise 400 Bad Request with 402 error
- Note that we enlarge the Cell Object with Additional Cell Information object. all are optional.
- If fail RNIB - 500 with 500 error
- Also Insert into the Cell "Table" the Cells. Take care to delete existing Cells that are no longer exist.
- When Update the RAN - User Set and Publish with the New Channel like we did in Insert (RAN NAME + action. In this case,. Action = Updated)
- If succeed - 200 OK with the same response as Get NodeB.
Test Plan
Given | When | Then |
enb is missing in request body OR enbType is missing in enb field in request body OR servedCells are missing in enb field in requestBody |
PUT /v1/nodeb/enb/test received with an invalid request body | 400 Bad Request{"errorCode": 402, "errorMessage": "Validation error"} |
DB is down | PUT /v1/nodeb/enb/test received with a valid request body (all mandatory fields exist) | 500 Internal Server Error{"errorCode": 500, "errorMessage": "RNIB error"} |
RAN name from URL doesn't exist in DB | PUT /v1/nodeb/enb/test received with a valid request body | 404 Not Found{"errorCode": 404, "errorMessage": "Resource not found"} |
RAN with 3 servedCells exists in DB | PUT /v1/nodeb/enb/test received with a valid request body, 2 servedCells | 200 OK
NodebInfo{}
|
- mentioned in
-
Page Loading...