Skip to content

Commit

Permalink
rego cleanup (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel authored Feb 16, 2024
1 parent 97c84bb commit d81770b
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 2,018 deletions.
12 changes: 7 additions & 5 deletions apps/authz/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,13 @@ authz/rego/build:
authz/rego/eval:
npx ts-node \
--compiler-options "{\"module\":\"CommonJS\"}" \
${AUTHZ_PROJECT_DIR}/src/opa/rego/script.ts
${AUTHZ_PROJECT_DIR}/src/opa/script/evaluation.script.ts

authz/rego/translate:
npx dotenv -e ${AUTHZ_PROJECT_DIR}/.env -- \
ts-node -r tsconfig-paths/register \
--project ${AUTHZ_PROJECT_DIR}/tsconfig.app.json ${AUTHZ_PROJECT_DIR}/src/opa/script/translate-legacy-policy.script.ts


authz/rego/test:
opa test \
Expand All @@ -91,7 +97,3 @@ authz/rego/test:
authz/rego/test/watch:
make authz/rego/test ARGS=--watch

authz/rego/translate-legacy-policy:
npx dotenv -e ${AUTHZ_PROJECT_DIR}/.env -- \
ts-node -r tsconfig-paths/register \
--project ${AUTHZ_PROJECT_DIR}/tsconfig.app.json ${AUTHZ_PROJECT_DIR}/src/opa/template/translate-legacy-policy.script.ts
69 changes: 0 additions & 69 deletions apps/authz/src/opa/poc/entities.json

This file was deleted.

52 changes: 0 additions & 52 deletions apps/authz/src/opa/poc/input_admin_transfer_token.json

This file was deleted.

This file was deleted.

Loading

0 comments on commit d81770b

Please sign in to comment.