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: Update an AWS Thing Group #1795

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

Task: Update an AWS Thing Group #1795

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 and #1797

Users must be able to update a thing group.

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

Describe the solution you'd like

Users can only update the following properties of a thing group

  • Description
  • Attributes
  • Tags

Backend:

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

Frontend:

  • Create a new view to allow users to update a thing group
  • Validation on data must gate the send button
  • Users must be able alerted when an exception occurs
  • The view should also allow to delete the 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