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

create_deployment endpoint checks #3

Open
2 tasks
albags opened this issue Sep 6, 2024 · 0 comments
Open
2 tasks

create_deployment endpoint checks #3

albags opened this issue Sep 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@albags
Copy link
Contributor

albags commented Sep 6, 2024

At the moment, it creates a new location_id and a new system_id every time a new deployment is created. However, some checks are missing:

  • Check if the location name, lat, and lon exist already, if so, assign the same location_id to the new deployment. (This is when a new AMI is deployed to a location that had another AMI before)
  • Check if the camera ID already exists, if so, assign the same system_id to the new deployment. (This happens when an AMI is moved to a new location).
@albags albags changed the title create_deployment endpoint create_deployment endpoint checks Sep 6, 2024
@albags albags added this to AMBER Sep 6, 2024
@github-project-automation github-project-automation bot moved this to 🥚 Todo in AMBER Sep 6, 2024
@albags albags added the bug Something isn't working label Sep 6, 2024
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
Status: 🥚 Todo
Development

No branches or pull requests

3 participants