The Network Slice is not found (404 error) even if it exists in the DB:
2024-11-07T17:21:00.891+0100 INFO configapi/api_default.go:192 Get Network Slice by name {"component": "WebUI", "category": "WebUI"}
2024-11-07T17:21:00.893+0100 INFO logger/logger.go:92 | 404 | ::1 | GET | /config/v1/network-slice/test1 | {"component": "WebUI", "category": "GIN"}
After the fix on https://github.com/omec-project/webconsole/pull/244/files (configmodels/model_slice.go), the name of the network slice is stored as slice-name but on the rest of the code SliceName is still used as a filter to retrieve the Network Slices from the DB.
The issue
The Network Slice is not found (404 error) even if it exists in the DB:
DB:
Get Network Slice by Name and Delete were broken.
The Fix
After the fix on https://github.com/omec-project/webconsole/pull/244/files (configmodels/model_slice.go), the name of the network slice is stored as
slice-name
but on the rest of the codeSliceName
is still used as a filter to retrieve the Network Slices from the DB.