-
Notifications
You must be signed in to change notification settings - Fork 599
#1339 split OPCUA document into Extensions & Adapters doc #1340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1339 split OPCUA document into Extensions & Adapters doc #1340
Conversation
…s doc Signed-off-by: James Thompson <[email protected]>
9349fde
to
e7b5cc1
Compare
Signed-off-by: James Thompson <[email protected]>
e7b5cc1
to
bf4e72d
Compare
@koepalex any thoughts on this? I don't think this PR changes anything semantically, just organizationally. So, the questions that come to mind for me is: I'm leaning towards "1 doc is a better user experience". But I also wonder if this split between adapters and extensions is something we should have at all? Conceptually they are different things, one adds new attributes and one says how to leverage existing attributes, but (as this situation is pointing out) there may be situations where we do both. And I'm not keen on creating 2 docs each time this situation comes up just for the sake of "documentation purity". So, to me the choices come down to: If I had to pick one... my current thinking is option 1. Let's discuss on tomorrow's call. |
For me I much prefer option 2 as the hope I would have is when adapters are being prepared and an extension is identified as being needed it is defined in a generic manner where appropriate to foster reusage. What I mean by this is why couldn't we define an extension |
In this OPCUA case, do you see the OPCUA adapter being used w/o the extensions? Or visa-versa? I know the extension attributes are all tagged as OPTIONAL based on other bits of data, but if we assume that the criteria for their usage was actually met, do you still people seeing NOT using the extension attributes? I'm wondering how often one doc will be used w/o the other - and if NOT using both isn't an edge case then a split seems more reasonable. But I don't have the background in OPCUA to know which is more likely. |
I would hope it is rare that an adapter also needs extensions which are not reusable to other adapters. |
@thompson-tomo I'm not clear on whether this answers my question, and now I have some more :-)
|
@duglin hopefully I have answered them this time.
I would hope that the
Changes have been made to improve this and to clear it up. |
For me the use case to use the adapter without the extension is not yet clear, therefore I lean towards option 1 (as @duglin). Specific in OPC UA where headers (DatasetMessageHeader) are defined and we can define the mapping, what is the value of separating those, purely editorial? (sorry If I miss the point here...) |
I am very much a believer of consistency which in this case would be having all extensions defined in the same folder & structure. As per the adapter document, an extension is only needed in the event that the By the same measure I feel that as part of the request for a new extension it should be checked if a generic naming could be used. Hence making OPC UA a rare case of needing multiple docs. |
Are you suggesting that the OPCUA extensions are not needed, ever ? |
@duglin as per the current documentation the only required extension would be opcuastatus as the other 2 have the below constraint
If for OPCUA we state dataschema is required the version extensions would never be used. For the status I would see this as a candidate for a generic extension. |
re-opened as #1347 it got closed by mistake when fixing clo. |
Fixes #1339
Proposed Changes
Release Note