telefonicaid / telefonicaid/iotagent-node-lib
Payload for device provisioning
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 62
- Forks
- 90
- Avg merge
- 2h 35m
- Merged PRs (30d)
- 1
Description
If I add a new device with iot/devices POST request, I receive an error (WRONG_SYNTAX) when I use "forbidden" chars inside value of object_id field (patterns are defined into createDevice.json and updateDevice.json file).
Why? Whereas I understand this pattern on other fields (such as name and type) linked with NorthBound world (and OCB forbidden characters), the object_id should be linked to the SouthBound world so I expect to not have constraints (pattern) over object_id value.
What do you think?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading createDevice.json and updateDevice.json, then trace the validation used by the iot/devices POST request. Determine the agreed behavior for forbidden characters in object_id; done means the schema and provisioning response consistently accept or reject those values without an unintended WRONG_SYNTAX error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100