Closed krkappa closed 2 months ago
Endpoint state API remained for backwards compatibility, but not supported anymore in 2.9. Is there a particular scenario you need it for, or is this just for testing?
Thanks for the fast reply. Did I understand the point correctly that the EndpointInfo model remains unchanged, but the information (endpointState, notSeenSince) is no longer output or supported? Which query can I use to get the status of the endpoint (ready, disconnected, ...)? Or can this information be obtained from the execution of other queries (browse node)?
If you need it, then we can change this to a feature request to have an API (or a way to add it back to the endpoint model through signaling). This was easy in 2.8 because each endpoint was a OPC Twin device identity in IoT Hub, so the twin had the endpoint state. While easy, it was also not very reliable, but since we moved away from channeling device identities for endpoints to the edge, we need to replace the old way.
Thanks for the replies. We currently only need the feature for testing purposes. It would be helpful to adapt the API documentation to determine which functions are supported in version 2.9 and which are still available due to backwards compatibility. The issue ticket can be closed. Thanks.
Describe the bug I have deployed the current version (2.9.2) with option "-type all". When testing the Web API (with Postman), I never get the information about endpointState / notSeenSince by calling
At the time of the call, I am already connected to the OPC server and, for example, can browse the root node.
To Reproduce
Expected behavior If the connection to the OPC server is successfully established, the respone of includes the current information for "endpointState" and "notSeenSince".