telefonicaid / telefonicaid/iotagent-node-lib

Payload for device provisioning

Open
#671 10 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.