Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If a network slice with invalid name is created, the NMS stays loading #694

Closed
patriciareinoso opened this issue Dec 19, 2024 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@patriciareinoso
Copy link
Contributor

patriciareinoso commented Dec 19, 2024

Describe the bug

The webconsole does not have any restriction about the characters allowed in the network slice name but in the NMS we have this restriction ^[a-zA-Z0-9-_]+$

If we create a network slice using the swagger (which does not follow this restriction) and then, try to open the NMS, the page stays loading .. and does not show the network slice page.

image

To Reproduce

  1. Create a NS using the swagger UI or CURL command using invalid characters like {network-name
  2. Go to the Network Slices tab in the NMS.
  3. The Network slices page is not shown.

Expected behavior

The network slice pages is shown
image

Environment

webconsole and NMS from main branches.

Additional context

We may have the same issue with other resources: device groups, subscribers, upfs, gnbs.

I think that the issue here is that webconsole and the NMS are not aligned. The fastest solution would be to remove the restriction to the Getters, and keep those in the Post if we want.
Or we can revisit the webconsole and think if this is a restriction that we would like to impose there (more time)

@patriciareinoso patriciareinoso added the bug Something isn't working label Dec 19, 2024
@ghislainbourgeois
Copy link
Contributor

This issue has been added to the team backlog and will be worked on in the new year.

@Gmerold Gmerold self-assigned this Jan 21, 2025
@Gmerold
Copy link
Contributor

Gmerold commented Feb 10, 2025

Fixed in omec-project/webconsole#293

@Gmerold Gmerold closed this as completed Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants