prominence-eosc / imc

PROMINENCE infrastructure provisioner
Apache License 2.0
0 stars 0 forks source link

Remove clouds from OPA if JSON file removed #49

Closed alahiff closed 2 years ago

alahiff commented 4 years ago

If the JSON description of a cloud is removed from /etc/prominence/clouds, the OPA entry should be removed.

See https://www.openpolicyagent.org/docs/latest/rest-api/#delete-a-document

alahiff commented 4 years ago

Implemented in https://github.com/prominence-eosc/imc/commit/153a7551730daf40234c020b5344aa8d947b69d4 https://github.com/prominence-eosc/imc/commit/5b67d8c0f31c9462cdd85d85ccbfb39a7ae9e5d0

Not tested yet...

alahiff commented 2 years ago

OPA no longer used