veraison / services

Attestation verification services based on Veraison components
Apache License 2.0
26 stars 14 forks source link

Add support for MySQL/MariaDB and Postgres + fixes #254

Closed setrofim closed 3 months ago

setrofim commented 3 months ago

Add support for "mysql" and "pgx" drivers (for MySQL/MariaDB and Postgres, respectively). This required the following changes to the "sql" kvstore backend:

Documentation for KVStore has been amended to reflect that only three drivers can be enabled via configuration for the services, and the described support for other drivers is in the context of other code using the KVStore implementation. (Plus minor line length re-formatting.)

Native deployment has been augmented with optional config/init scripts for the other SQL drivers, and documentation on how to enable them.

Additionally:

yogeshbdeshpande commented 3 months ago

I do not have additional comments, I looked at the code and I had same questions as asked by Thomas so once you address them, I am fine with the change!