OPCFoundation / UA-CloudLibrary

OPC UA Information Model database with a REST and GraphQL interface, as well as user management. The global instance of this (hosted by the OPC Foundation) can be found at https://uacloudlibrary.opcfoundation.org.
Other
37 stars 18 forks source link

Allow accessing and downloading unpublished/unapproved NodeSets of a registered user #181

Closed muenchris closed 1 year ago

muenchris commented 1 year ago

I am writing an OPC UA Server that exposes a digital twin based on a NodeSet that I also wrote.

To test my server, I would like to query the CloudLib for that NodeSet and get it returned as if it would be published. Since the query has my credentials that I used to "request the publication" of my NodeSet, the server should be able to find my unpublished NodeSet and return it in my query.

That way I can test my UA Server against an unpublished NodeSet, make changes to the NodeSet while I still work on the Server and the NodeSet, continue testing until all works as expected and then "Request the Approval" for the NodeSet to be published.

The unpublished NodeSet should only return on queries if they come from the account that has originally requested the publication.

MarkusHorstmann commented 1 year ago

This can be done using existing client APIs (Chris, let's talk offline on how it's done in the CESMII cloudlibrary resolver).

We could however make it easier in the CloudLibrary Client to request unapproved nodesets to be included (GraphQL parameter, REST parameter).

barnstee commented 1 year ago

Chris said it was fine. Closing.