Skip to content

Json payload ignored when a tag is not found #484

@neildes2

Description

@neildes2

For MQTT Ingress, when any one of the tags is not found in the device file, the entire payload gets dumped. shdr does not work in this fashion. You can send any tag in shdr and it will just get ignored. MQTT ingest should function like shdr and just ignore the one tag.
Tested with Agent v2.3.0.16

ex.
In the json payload below, if the tag "blah" is not found in the device file, none of the other tags get processed. The entire payload and all its tags gets dumped. This is not a format error, it's just that one of the tags does not exist.

{
"exec": "ACTIVE",
"blah": "BLAH",
"avail": "AVAILABLE"
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions