Skip to content
New issue

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

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

Already on GitHub? # to your account

The use of mutable lookup values for endpoints makes consistency... difficult. #529

Open
terjekv opened this issue Apr 27, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@terjekv
Copy link
Collaborator

terjekv commented Apr 27, 2024

So, we have names as endpoint lookup values multiple places, like for hosts. Ie, we api/v1/hosts/foo.bar.com. The thing is, hostnames are mutable. However, we can't look up hosts via the ID without doing a query (api/v1/hosts/?id=42). This means that after we have changed the name of foo.bar.com the resource has moved to a different URL.

This problem also applies to at the very least:

  • Hosts
  • Networks
  • Cnames
  • HInfo
  • Loc
  • ForwardZones
  • ReverseZones
  • ...

This is... not great.

@terjekv terjekv added the bug Something isn't working label Apr 27, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant