telefonicaid / telefonicaid/iotagent-node-lib
Problems using bidirectional plugin
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 62
- Forks
- 90
- Avg merge
- 2h 35m
- Merged PRs (30d)
- 1
Description
Hello I am trying to implement the comunication between an Orion Context Broker and Fiware Iot Agent Mosquitto. Rest notifications sent by Orion Context Broker are the following:
url1 = /api/generalDevice/xxx/dispositiveId
and the notifications received by mosquitto server are the following:
url2 = /api/xxx/xxx/mpdi/id_Device
I have tried to map those urls using mosquitto and bidirectional plugin as it says here https://github.com/telefonicaid/iotagent-node-lib#datamapping
But I do not know how to map using the reverse clause from url1 to url2. Any idea on how to do it.
Thanks
Gorka
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 with the datamapping section linked in the iotagent-node-lib documentation and compare the reported url1 and url2 paths. Check how the bidirectional plugin's reverse clause is intended to map them; done means the valid configuration or its limitation is documented clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100