telefonicaid / telefonicaid/iotagent-node-lib

Problems using bidirectional plugin

Open
#817 1 comment 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

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.