Closed c0c0n3 closed 1 year ago
I came across this:
and in fact I had the exact same issue when provisioning devices through HTTP calls, but I don't think it's actually related to my issue with static types?
The capability of specifying groups statically by configuration along with memory device registry is no longer supported. They both were used in the early days when IOTA development started, but at the present moment we don't use or support them.
Having said that, if you are still interested in it, we will be more than happy to review contributions to fix/improve this in the form of PRs. You can have a look to this testing PR if you want and continue work based on it: PR https://github.com/telefonicaid/iotagent-node-lib/pull/1299.
hi @fgalan :-)
The capability of specifying groups statically by configuration along with memory device registry is no longer supported.
Oh deary, deary :-) I worked on a couple of deployments where I was hoping to use this feature since it's documented in the manual---https://iotagent-node-lib.readthedocs.io/en/latest/api.html#type-configuration. Maybe that section should be removed from the docs?
you can have a look to this testing PR if you want and continue work based on it
Cool, thanks for this. I'll have a look. I think static type config would be really useful in GitOps scenarios where you could keep the whole config in git and have a repo monitor (e.g. Argo CD) instantiate a working system from the repo.
Maybe that section should be removed from the docs?
Yes, we should tell in documentation that memory device registry is deprecated.
In addition, groups statically defined by configuration are also deprecated. In the case of needing them, the MongoDB collection can be statically pre-provisioned with the static configuration.
Document modification to tell about this deprecation will be done in a next PR.
@fgalan great, thanks for the heads up!
That PR is this one: https://github.com/telefonicaid/iotagent-node-lib/pull/1318
Hello, I'm trying to configure UL Agent (Docker image:
fiware/iotagent-ul:1.24.0
) w/ static types but it looks like the agent isn't able to pick up my config. Possibly something I got wrong, not sure this is a bug actually.I start the agent with the config below
Then I try sending some data
But I get back this error message
The log file says
Any idea what's going on? Any help would be greatly appreciated!!