-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
feat(nc): expand reduced information model to support generated models #4882
base: master
Are you sure you want to change the base?
feat(nc): expand reduced information model to support generated models #4882
Conversation
The usage of generated models was not possible before with the reduced information model. By adding couple of nodes, that is possible now.
Move the node OptionalPlaceholder to the reduced inforamation model Opc.Ua.NodeSet2.Reduced.xml and remove it from the PubSub information model.
I noticed now with my change that in both datatypes_pubsub.txt and datatypes_minimal.txt we have
My question is if I should remove them from the pubsub file, or it is ok if they are defined in both files? |
Nice! I’d the type is already in _minimal, then you don’t have to add it here. Many of the additions concern loading of information models at runtime. Have a look at UA_ENABLE_DIAGNOSTICS where we add nodeset definitions and types based on the feature flag in the CMakeLists.txt. |
Move all information modeling types into a separate xml file, rather then having them in the main reduced information model file.
Cool, can you have a look at the failing tests? |
@jpfr I fixed the failing tests which I understood, would you please mind checking what exactly is the error in the test "continuous-integration/appveyor/pr". I will gladly fix it, but somehow I cannot find what exactly the problem is. Thank you so much for your help. |
It seems to function after the merge commit, seems that everything is good. |
Hi @jpfr , would you mind reviewing it? Thanks a lot. |
Thanks for this. I fear that we are creating more and more our own ad-how information model “profiles”. Because these build flags become part of the interface we don’t want to change very often. @andreasebner pulling you into the loop as well. @epetrevska Sorry if this is now stalling this PR for a bit. |
The usage of generated models was not possible before with the reduced
information model. By adding couple of nodes, that is possible now.