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

Add unique index for Device model #1705

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AlvaroVega
Copy link
Member

@AlvaroVega AlvaroVega commented Mar 27, 2025

Unique index for Device model + handle duplicated mongo error when device is autoprovisioned.

Issue #1576

Related with https://github.com/telefonicaid/iotagent-node-lib/blob/master/doc/api.md#uniqueness-of-groups-and-devices

and fixes: telefonicaid/iotagent-json#865

@AlvaroVega AlvaroVega marked this pull request as ready for review March 27, 2025 10:21
@AlvaroVega AlvaroVega requested a review from fgalan March 31, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicated Devices when burst MQTT measures and non provisoned Device
1 participant