blindnet-io / privacy-computation-engine

Interpret sensitive data access rights and handle Privacy Requests
MIT License
7 stars 1 forks source link

build: configuration by scripts #17

Closed nweldev closed 2 years ago

nweldev commented 2 years ago

replace configuration via SQL with a script calling the configuration API

curl script generated using the OpenAPI definition in Insomnia with help from @m4rk055

I'm however keeping the configuration via DB (therefore introducing some duplication) to ease development, as requested by @m4rk055 (to avoid running the init-config script all the time). I think this can be improved later on by @m4rk055 or me.

nweldev commented 2 years ago

LGTM now too :slightly_smiling_face:

@m4rk055: it seems like you changed in scripts/insert.sql on develop which conflict with the version here. You can resolve this conflict and then merge the PR at your convenience (I'll update the docs in parallel, considering it's done).