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

Task: Delete an AWS Thing Group #1797

Open
Tracked by #1867
hocinehacherouf opened this issue Feb 22, 2023 · 0 comments
Open
Tracked by #1867

Task: Delete an AWS Thing Group #1797

hocinehacherouf opened this issue Feb 22, 2023 · 0 comments
Labels

Comments

@hocinehacherouf
Copy link
Contributor

hocinehacherouf commented Feb 22, 2023

Is your feature request related to a problem? Please describe.

Blocked by #1794

Users must be able to delete an existing thing group

Documentation: https://docs.aws.amazon.com/iot/latest/developerguide/thing-groups.html

Describe the solution you'd like

Backend:

  • Create/update a service that:
    • Sends a request to AWS to delete a thing group: You can use the method DeleteThingGroupAsync to do that
    • If the request is successful, the thing group should be deleted from the database using EF
    • Otherwise an exception should thrown with a human readable message
  • Create a REST endpoint that allow HTTP clients to delete a thing group
    • ⚠️ Use DTO for data exchange between controllers and services layers. Controllers should never handle AWS or internal objects.

Frontend:

  • Add a method on service layer that calls the backend to delete a thing group.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 📝 Todo
Development

No branches or pull requests

4 participants