View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006308 | 10000-014: PubSub | Spec | public | 2020-12-09 14:35 | 2023-03-21 22:31 |
Reporter | Martin Regen | Assigned To | Matthias Damm | ||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.04 | ||||
Target Version | 1.05.03 RC1 | Fixed in Version | 1.05.03 RC1 | ||
Summary | 0006308: Clarify how a JSON PubSub message is encoded | ||||
Description | Currently by looking at the spec it is not obvious how the output of a encoded JSON NetworkMessae/DataSetMessage should look like. There is risk many 'flavors' are invented to what should be a standard. i) Specifically it is unclear how the 'FieldName' should be populated. Now adding to the confusing is some personal communication between Erich and Randy which revealed: Now looking at the MQTT prototype in the UA.-NET Standard repo there is also the DataValue encoded as reversible JSON. Question: Is the spec correct ? Is the sample correct? Is the personal communication correct? In fact, imho it would be preferred to follow the spec and publish the DataValue as non-reversible to reduce redundant information to be sent which is already in a meta data frame. Preferable would be a clarification or a sample in the spec. | ||||
Additional Information | https://github.com/Azure/iot-edge-opc-publisher#opc-publisher-telemetry-format Here is a flavor which is currently produced by the publisher 2.7.199: { | ||||
Tags | No tags attached. | ||||
Commit Version | |||||
Fix Due Date | |||||
related to | 0007762 | closed | Matthias Damm | Clarification for JSON DataSetMessage |
related to | 0007425 | closed | Matthias Damm | Restrictions for event JSON DataSetMessages |
related to | 0007424 | closed | Matthias Damm | PubSub JSON encoding for DataSetMessage needs reversible encoding for DataValue |
related to | 0004505 | assigned | Matthias Damm | Unclear encoding of integer PublisherId-s in JSON NetworkMessage |
related to | 0007036 | closed | Matthias Damm | Timestamp and Status in keep-alive JSON DataSetMessage not clearly specified |
related to | 0008714 | closed | Matthias Damm | JSON DataSetMessage needs option to include PublisherId in header |
|
We decided in the UA WG meeting this week to solve this issue with the definition of JSON Header Layouts including sample messages. There is a proposal from the PubSub WG that needs to be integrated into Part 14 |
|
Note that the example here in "Additional Information" is invalid, due to this part: "DataSetWriterId": "uat46f9f8f82fd5c1b42a7de31b5dc2c11ef418a62f", I have encountered this kind of invalid DataSetWriterId many times in various interops, it probably comes from code base that is used in Azure but also elsewhere. I notified the developers but nobody seemed to care fixing it so far. |
|
Added JSON header layout profiles and examples to clarify JSON message encoding and define default header settings.
Input was developed and reviewed by PubSub prototyping WG and MQTT WG. Added in OPC 10000-14 - UA Specification Part 14 - PubSub 1.05.03 Draft1.docx |
|
Agreed to changes edited in Dallas meeting. |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-09 14:35 | Martin Regen | New Issue | |
2021-09-14 17:14 | Jim Luth | Assigned To | => Matthias Damm |
2021-09-14 17:14 | Jim Luth | Status | new => assigned |
2022-03-10 18:41 | Matthias Damm | Severity | minor => feature |
2022-03-10 18:41 | Matthias Damm | Product Version | => 1.04 |
2022-03-10 18:41 | Matthias Damm | Target Version | => 1.05.02 RC1 |
2022-03-10 18:41 | Matthias Damm | Note Added: 0016316 | |
2022-03-10 18:41 | Matthias Damm | Relationship added | related to 0007762 |
2022-03-10 18:42 | Matthias Damm | Relationship added | related to 0007425 |
2022-03-10 18:42 | Matthias Damm | Relationship added | related to 0007424 |
2022-03-10 18:46 | Matthias Damm | Relationship added | related to 0004505 |
2022-03-10 18:46 | Matthias Damm | Relationship added | related to 0007036 |
2022-03-11 07:08 | Zbynek Zahradnik | Note Added: 0016336 | |
2022-07-05 14:15 | Jim Luth | Target Version | 1.05.02 RC1 => 1.05.03 RC1 |
2023-02-26 20:56 | Matthias Damm | Status | assigned => resolved |
2023-02-26 20:56 | Matthias Damm | Resolution | open => fixed |
2023-02-26 20:56 | Matthias Damm | Fixed in Version | => 1.05.03 RC1 |
2023-02-26 20:56 | Matthias Damm | Note Added: 0018798 | |
2023-02-26 21:05 | Matthias Damm | Relationship added | related to 0008714 |
2023-03-21 22:31 | Jim Luth | Status | resolved => closed |
2023-03-21 22:31 | Jim Luth | Note Added: 0018953 |