Comments (8)
Hi,
Concerning the {{api-key}}
question, first of all that's not exactly a URL, but a MQTT topic; and the MQTT message does not allow headers HTTP-style AFAIK. The use of the API-Key as a prefix for all the topics of a set of devices (or a service) let us easily divide the interactions for different services, allowing some degree of communication control at the broker level (e.g.: ACLs can be defined for different API-KEY prefixes, to allow security mechanisms such as credentials or certificates to authenticate the user).
About how to get the API-Key, there are two possible ways: the Agent can have one global public API-Key configured in the config.js
file, as explained in the configuration section. But the common way to get an API-Key would be to create a new configuration for a service, using the Configuration API, as described in the correspondent section of the IoT Agents Library Documentation.
This IoT Agent is still in an early stage, so the documentation is still to be completed. I will try to add some examples or tutorials to make it easier.
from iotagent-json.
Hi @dmoranj,
thanks for the answer!
I thought that api-key here is a security token, but if I understand you correctly - it is not, it is like a group-id?
Regarding documentation: we here from Mainflux project are decided to do transition to Fiware. We already have Dockerized Orion in place on our cloud, and we are are playing now with IoT Agents - both LWM2M and MQTT.
What I noticed here missing for iotagent-mqtt
is real concrete example - step by step in a few curl
lines, using some real example (like Orion is doing in this section: http://fiware-orion.readthedocs.org/en/develop/user/walkthrough_apiv1/index.html#context-management-using-ngsi10).
If you can help us posting this it will be real speed-up.
On the other hand we will help you prepare Docker image (we'll fork the repo and send you Pull Request) as soon as we figure out how this provisioning/registration/configuration/communication works :).
from iotagent-json.
Hi,
I have already created an issue to improve the documentation, and I expect to start working on that soon; but I want to finish some requested features before creating the step-bystep guides. I'll try to move it as soon as possible.
Thanks for the help with the Docker image, BTW.
from iotagent-json.
NP,
in the meantime I'll "use the source, Luke" ;)
from iotagent-json.
Concerning contributions, we also have to update the documentation with the contribution guidelines. They will be a copy of those in the LWM2M IOTA. Please read them and take them into account while contributing. Thanks.
from iotagent-json.
Yes, thanks. We at Mainflux adhere to even stricter set of rules, IMHO - take a look here at our CONTRIBUTING.md, and I suggest that these rules for iotagent-mqtt
end-up in some CONTRIBUTING.md
or reference some Fiware-wide conventions.
As for Inspiration about these "administrative metadata" files, I suggest you that you take a look at Docker project, they really did it well.
Question in the end - I am not an expert, but GPLv3 assures that project is patent-free (similar to Apache-2.0). When you accept contribution for this type of projects, I think that every commit must be signed-off with Developer Certificate of Origin (we use Linux' one) - to avoid CLA's and CCLA's, so that every contributor confirms that in his best knowledge he is not introducing some patent-burdened code. This is a good read on the subject: https://www.chef.io/blog/2009/08/11/why-we-chose-the-apache-license/
from iotagent-json.
@dmoranj #88 ready for your inspection.
from iotagent-json.
Closing this issue, as it seems to be a mix of the #84 issue and the #88 both implemented and closed.
from iotagent-json.
Related Issues (20)
- Support for ngsv2 payloads as measures HOT 1
- Subscribe to a specific MQTT topic HOT 1
- 400 when use ``` "entity_name": "'David:Prueba'" ``` HOT 2
- No plain text command return option HOT 1
- Payload measures are lost after reconnection with Orion.
- iotagent- json should be used in place of iotagent-ul in commandsPolling-test.js HOT 2
- existing entities are overwritten when creating a device HOT 4
- MongoDB connection, authentication failed HOT 9
- Fiware IoT Agent json is changing the service path of incoming messages if it is high load HOT 14
- Support of Content Type: application/soap+xml HOT 4
- iotaJsonTester.js is missing from the repository HOT 3
- Allow ingest ngsiv2/ngsild as measure for iotagent HOT 2
- Differences between `explicitAttrs` behaviour at lib and at agent level HOT 6
- Support \t in Content-Type header HOT 2
- constants.DEFAULT_ATTRIBUTE_TYPE is string instead of Text HOT 3
- include apikey error log at measure procesing HOT 1
- Keep order from a multimeasure to Orion CB HOT 4
- The agent does not send data to the Orion Context Broker with a request payload of 566 KB HOT 9
- Broken link in README.md HOT 2
- Attributes name & static attributes not mapped in Orion when inserted in the Device provisioning phase HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotagent-json.