magistrala icon indicating copy to clipboard operation
magistrala copied to clipboard

Store OPC-UA subscriptions in Postgres

Open manuio opened this issue 4 years ago • 1 comments

Currently we are using a CSV file to store subscriptions. When the service restart this file is used in order to relaunch these subscriptions but CRUD operations are not updated and this can be a source of bugs.

We must replace this file by a DB and implement all CRUD.

We could then think about a system to fetch active subscriptions and stop or start them if needed.

manuio avatar Mar 11 '20 15:03 manuio

@manuio Maybe a better solution is not to use any additional database, but to use the things themselves, as the complete information for an OPC subscription is in the metadata of the thing

bbokun avatar Mar 15 '20 14:03 bbokun