Merged in feature/permit-policy-cleanup (pull request #210)

cleanup permit policies and correct documentation

* docs

* policy cleanup

* refactor

* Merge remote-tracking branch 'origin/feature/permit-policy-cleanup' into feature/permit-policy-cleanup

* docs and edits
This commit is contained in:
Jay Brown
2026-02-19 20:22:59 +00:00
parent 58912a66d4
commit 6dccf494f8
70 changed files with 785 additions and 2221 deletions
@@ -0,0 +1,15 @@
#!/bin/bash
set -e
echo "Waiting for OPA to be ready..."
until curl -f http://localhost:8181/v1/data > /dev/null 2>&1; do
echo "OPA not ready yet, waiting..."
sleep 2
done
echo "Loading policy data into OPA..."
curl -X PUT http://localhost:8181/v1/data/static \
-H "Content-Type: application/json" \
-d @policy-data.json
echo "Policy data loaded successfully!"