Refactor Policy Enforcer to Policy Checker
- Renamed the `PolicyEnforcer` interface and related implementations to `PolicyChecker` for clarity and consistency. - Updated configuration keys in YAML files to reflect the new `checkPolicy` terminology. - Adjusted related code, tests, and documentation to support the new naming convention and ensure compatibility. - Enhanced comments and examples for the `checkPolicy` configuration to improve usability.
This commit is contained in:
@@ -23,7 +23,7 @@ plugins=(
|
||||
"schemav2validator"
|
||||
"signer"
|
||||
"signvalidator"
|
||||
"policyenforcer"
|
||||
"opapolicychecker"
|
||||
)
|
||||
|
||||
for plugin in "${plugins[@]}"; do
|
||||
|
||||
@@ -36,7 +36,6 @@ services:
|
||||
volumes:
|
||||
- ../config:/app/config
|
||||
- ../schemas:/app/schemas
|
||||
- ../policies:/app/policies
|
||||
command: ["./server", "--config=/app/config/local-beckn-one-bap.yaml"]
|
||||
|
||||
onix-bpp:
|
||||
@@ -58,7 +57,6 @@ services:
|
||||
volumes:
|
||||
- ../config:/app/config
|
||||
- ../schemas:/app/schemas
|
||||
- ../policies:/app/policies
|
||||
command: ["./server", "--config=/app/config/local-beckn-one-bpp.yaml"]
|
||||
|
||||
sandbox-bap:
|
||||
|
||||
@@ -36,7 +36,6 @@ services:
|
||||
volumes:
|
||||
- ../config:/app/config
|
||||
- ../schemas:/app/schemas
|
||||
- ../policies:/app/policies
|
||||
command: ["./server", "--config=/app/config/local-simple.yaml"]
|
||||
|
||||
# Vault - Key Management Service
|
||||
|
||||
Reference in New Issue
Block a user