Commit Graph

41 Commits

Author SHA1 Message Date
Ayush Rawat
80e7b299f1 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.
2026-03-23 04:08:13 +05:30
Ayush Rawat
ff4d909b7e Enhance Policy Enforcer Configuration and Add Benchmark Tests
- Added detailed comments and examples for the `policyPaths` configuration in both BAP and BPP YAML files to improve clarity on usage.
- Introduced a new benchmark test suite for the Policy Enforcer to evaluate performance under varying rule counts, measuring both evaluation and compilation times.
2026-03-05 15:31:34 +05:30
Ayush Rawat
dfbaf5c6c5 Refactor Policy Enforcer to Use Unified PolicyPaths
- Updated the Policy Enforcer to consolidate policy source configuration under a single `policyPaths` key, allowing for auto-detection of URLs, directories, and files.
- Removed deprecated keys such as `policyFile` and `policyUrls` from the configuration structure.
- Adjusted related code and tests to ensure compatibility with the new configuration format.
- Enhanced documentation to clarify the usage of `policyPaths` and provide examples for various configurations.
2026-03-03 18:49:17 +05:30
Ayush Rawat
a806af3228 Update Policy Enforcer Configuration Keys
- Changed configuration key from `policyDir` to `policyPaths` across multiple YAML files and related code to standardize the naming convention.
- Updated documentation to reflect the new key name and its usage for specifying local directories containing `.rego` policy files.
- Adjusted tests to ensure compatibility with the updated configuration structure.
2026-03-03 15:02:04 +05:30
Ayush Rawat
e22b79e137 Refactor Policy Enforcer Configuration
- Updated the Policy Enforcer configuration across multiple YAML files to use a unified `policyDir` instead of individual policy sources.
- Changed the step name from `enforcePolicy` to `policyEnforcer` for consistency.
- Enhanced the documentation to clarify the use of `policyUrls`, `policyDir`, and `policyFile` for policy sources.
- Adjusted related code and tests to accommodate the new configuration structure.
- Added documentation for using YAML folded scalar (>-) to keep long comma-separated policyUrls values readable across multiple lines.
2026-03-03 10:04:22 +05:30
Ayush Rawat
3617c9b4a6 Implement Policy Enforcer Plugin
- Added a new Policy Enforcer plugin to evaluate incoming messages against OPA policies.
- Configurable via YAML with options for policy sources, actions, and query.
- Integrated into existing configuration files for BAP and BPP.
- Updated related tests and documentation for the new functionality.
- Enhanced plugin manager to support Policy Enforcer instantiation.
2026-03-02 20:09:33 +05:30
Mayuresh A Nirhali
434e0e99d7 Merge pull request #605 from Beckn-One/feat/issues_585
Feat: Network Observability - OTelSetup plugin, Instrumentation in Core.
2026-02-27 21:15:30 +05:30
Manendra Pal Singh
1293c241f7 Fix : update the config 2026-02-26 15:00:28 +05:30
Manendra Pal Singh
80f1cc0f10 Fix : update the config 2026-02-26 14:57:38 +05:30
Manendra Pal Singh
9d57d3b8f1 Feat : Update PR as comment 2026-02-26 14:45:35 +05:30
Manendra Pal Singh
ab89102711 Feat: configure audit fields and metrics for onix adapter and add local configuration for onix adapterZ 2026-02-23 16:08:44 +05:30
Nirmal N R
0a0e5377ef Update registry URLs in local configuration files to use beckn.io domain 2026-01-30 10:45:25 +05:30
ameersohel45
9e2a151606 Issue 599 - fix config files 2026-01-23 12:44:53 +05:30
ameersohel45
61f1be6e47 Issue 587 - add: include schema-validator2 config for local network setup 2026-01-09 19:10:19 +05:30
Manendra Pal Singh
89ebaf69e4 update and merged with latest master 2025-12-15 10:09:39 +05:30
Nirmal N R
1f8d9c12d2 docs: update URL in example config files to beckn one registry URL 2025-12-08 11:55:59 +05:30
Nirmal N R
4885e75dec docs: updated URL in example config files to beckn one registry URL. 2025-12-08 11:52:09 +05:30
Manendra Pal Singh
d68da8907c update as per the PR comment 2025-12-02 23:05:03 +05:30
Manendra Pal Singh
8fd7afb54a update as per the PR comment 2025-12-02 21:14:02 +05:30
Manendra Pal Singh
4f2a137482 merged with latest main 2025-11-28 11:06:14 +05:30
Manendra Pal Singh
5e3170c859 update as per the comment in pr 2025-11-27 22:43:42 +05:30
ameersohel45
9a4e32e37e Issue 565 - Update configs with dediregistry retry params 2025-11-26 15:23:53 +05:30
ameersohel45
88e6ec279e Issue 559 - feat: add Beckn One setup option and update documentation 2025-11-25 12:17:19 +05:30
Manendra Pal Singh
8ef4904076 make changes as per the doc 2025-11-21 16:01:59 +05:30
Mayuresh Nirhali
fae20e031c 541 - add sample config for CDS 2025-10-28 06:10:48 +05:30
ameersohel45
8aa27ebe93 Add : validateSign to bapTxnReceiver 2025-10-07 23:37:22 +05:30
ameersohel45
ab5406f1df Issue 526 - fix : Implement automatic key sync for ONIX adapter deployment and add build plugin step. 2025-10-07 11:58:49 +05:30
ameersohel45
b825bc61f7 Issue 523 - config: add HTTP client performance tuning to all adapter configurations 2025-09-25 18:26:12 +05:30
ameersohel45
fc65e29590 Issue - 523 feat: Add configurable HTTP connection pooling for the adapter service 2025-09-25 16:37:13 +05:30
Mayuresh Nirhali
78074c34b4 Issue 511 - Fix review comments 2025-09-18 22:43:04 +05:30
Mayuresh Nirhali
979763b5ec Issue 511 - Fix config names, config file indentation. 2025-09-17 22:50:02 +05:30
Mayuresh Nirhali
5bbd6f3a3c Issue 511 - tests and config file changes 2025-09-17 21:51:42 +05:30
ameersohel45
cef960c622 Update BAPCaller gateway URL in docker installer (Fixes #505) 2025-09-15 17:46:21 +05:30
ameersohel45
0ad885552b Update: keyId in local-simple config file 2025-09-15 12:29:06 +05:30
ameersohel45
6eb35de168 Update local-simple config file 2025-09-15 11:56:32 +05:30
ameersohel45
81f969f4fa Add beckn_onix.sh, docker-compose, and local config files for setup 2025-09-15 11:29:56 +05:30
mayur.popli
2329efd562 fix: module id and linting issues 2025-04-04 15:39:05 +05:30
mayur.popli
d1e8716e15 ft: module_name wrapper middleware 2025-04-04 15:01:15 +05:30
rupinder-syngh
b33cf8c556 fix: routing files change, projectid, ip change 2025-03-27 12:19:51 +05:30
rupinder-syngh
63bf28acf8 feat: Implement BAP and BPP 2025-03-26 13:33:49 +05:30
rupinder-syngh
10c3d3d9b2 feat: added configs - onix, onix-bap, onix-bpp 2025-03-26 12:42:34 +05:30