Bug fixes from Integration Testing of OPA-PDP 44/140344/5
authorMurali Parthasarathy K <muraliparthasarathy.k@techmahindra.com>
Tue, 18 Mar 2025 14:00:14 +0000 (15:00 +0100)
committerMurali Parthasarathy K <muraliparthasarathy.k@techmahindra.com>
Wed, 19 Mar 2025 09:59:25 +0000 (10:59 +0100)
commit4778d6008521a3772c67f881b65f378237f98bcf
tree393887b5d6ce8223237e5c7ef4c2580244561393
parent32df16bed6c8607ac66afc6ae0321792a55c0eab
Bug fixes from Integration Testing of OPA-PDP

Issue-ID: POLICY-5316
Change-Id: I1c848efd1b6df616c0fefe6113c04c63ebde06ec
Signed-off-by: Murali Parthasarathy K <muraliparthasarathy.k@techmahindra.com>
68 files changed:
README.md
cmd/opa-pdp/opa-pdp.go
cmd/opa-pdp/opa-pdp_test.go
consts/constants.go
pkg/data/data-handler.go
pkg/data/data-handler_test.go
pkg/decision/decision-provider.go
pkg/decision/decision-provider_test.go
pkg/kafkacomm/handler/pdp_update_deploy_policy.go
pkg/kafkacomm/handler/pdp_update_undeploy_policy.go
pkg/kafkacomm/handler/pdp_update_undeploy_policy_test.go
pkg/kafkacomm/publisher/pdp-heartbeat.go
pkg/utils/sort.go [new file with mode: 0644]
pkg/utils/utils.go
pkg/utils/utils_test.go
test/Opagroup.json [deleted file]
test/README.md
test/config.json [deleted file]
test/config/opa-pdp/config.json [deleted file]
test/config/opa-pdp/groups.json [deleted file]
test/config/opa-pdp/policy-opa-pdp.sh [deleted file]
test/data/abac/data.json [deleted file]
test/data/account/data.json [deleted file]
test/data/action/data.json [deleted file]
test/data/blacklist/data.json [new file with mode: 0644]
test/data/cell/consistency/data.json [new file with mode: 0644]
test/data/docs/data.json [deleted file]
test/data/monitor/data.json [new file with mode: 0644]
test/data/organization/data.json [deleted file]
test/data/vehicle/data.json [deleted file]
test/data/zone/data.json [deleted file]
test/docker-compose.yml [deleted file]
test/policies/abac/policy.rego [deleted file]
test/policies/access_method/policy.rego [moved from test/policies/example/policy.rego with 89% similarity]
test/policies/account/policy.rego [deleted file]
test/policies/action/policy.rego [deleted file]
test/policies/blacklist/policy.rego [new file with mode: 0644]
test/policies/cell/consistency/policy.rego [new file with mode: 0644]
test/policies/cell/consistency/topology/policy.rego [new file with mode: 0644]
test/policies/data/abac/data.json [deleted file]
test/policies/data/account/data.json [deleted file]
test/policies/data/action/data.json [deleted file]
test/policies/data/organization/data.json [deleted file]
test/policies/data/role/data.json [deleted file]
test/policies/docs/policy.rego [deleted file]
test/policies/monitor/policy.rego [new file with mode: 0644]
test/policies/organization/policy.rego [deleted file]
test/policies/vehicle/policy.rego [deleted file]
test/policies/zone/policy.rego [deleted file]
test/policy-new.yaml [deleted file]
test/scripts.sh [deleted file]
test/scripts.txt [deleted file]
test/test_resources/policy_collab.yaml [deleted file]
test/test_resources/policy_conflict.yaml [deleted file]
test/test_resources/policy_deploy_single_policy.yaml [deleted file]
test/test_resources/policy_zone.yaml [deleted file]
test/test_resources/undeploy_batch_delete.json [deleted file]
test/toscapolicies/access_method/deploy_access_method.json [moved from test/test_resources/deploy_collab.json with 66% similarity]
test/toscapolicies/access_method/policy_access_method.yaml [new file with mode: 0644]
test/toscapolicies/blacklist/deploy_blacklist.json [moved from test/test_resources/deploy_conflict.json with 68% similarity]
test/toscapolicies/blacklist/policy_blacklist.yaml [new file with mode: 0644]
test/toscapolicies/cell/deploy_cell.json [new file with mode: 0644]
test/toscapolicies/cell/policy_cell.yaml [new file with mode: 0644]
test/toscapolicies/monitor/deploy_monitor.json [moved from test/test_resources/deploy_zone.json with 69% similarity]
test/toscapolicies/monitor/policy_monitor.yaml [new file with mode: 0644]
test/toscapolicies/role/deploy_role.json [moved from test/test_resources/deploy.json with 100% similarity]
test/toscapolicies/role/policy_role.yaml [new file with mode: 0644]
test/wait_for_port.sh [deleted file]