Commit Graph

51 Commits

Author SHA1 Message Date
Ritesh
13a7a18e17 Fix: address policy checker review feedback 2026-03-24 17:59:48 +05:30
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
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
Manendra Pal Singh
59aa058920 Feat: update the pr as per comment 2026-02-27 19:05:09 +05:30
Manendra Pal Singh
9d57d3b8f1 Feat : Update PR as comment 2026-02-26 14:45:35 +05:30
Manendra Pal Singh
18303eb1b5 Fix : update the matric arrtibute 2026-02-24 13:35:44 +05:30
Manendra Pal Singh
c2f3dbce2c fix: sender and recipient.id 2026-02-23 23:16:49 +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
Manendra Pal Singh
176b8f3043 update the as per the comment 2025-12-18 12:30:28 +05:30
Manendra Pal Singh
89ebaf69e4 update and merged with latest master 2025-12-15 10:09:39 +05:30
Mayuresh A Nirhali
6f64879821 Merge pull request #578 from Beckn-One/570-transportwrapper
570 - transport wrapper initial checkin
2025-12-08 16:48:12 +05:30
ameersohel45
57f6eae070 Issue 569 - fix : Remove payload byte array from error logs 2025-12-08 15:36:07 +05:30
Mayuresh Nirhali
6fffe7411d added a test case with no nil transport wrapper 2025-12-08 14:33:19 +05:30
Mayuresh Nirhali
20a924d43e 570 - transport wrapper initial checkin 2025-12-08 12:23:36 +05:30
Manendra Pal Singh
6b62f91c91 update the PR 2025-12-03 17:52:37 +05:30
Manendra Pal Singh
1227a6b6be fix the test case in main_test.go and module_test.go 2025-12-02 23:11:51 +05:30
Manendra Pal Singh
8fd7afb54a update as per the PR comment 2025-12-02 21:14:02 +05:30
Manendra Pal Singh
88eef682df can create matric in there respective module. 2025-11-24 10:25:26 +05:30
Manendra Pal Singh
8ef4904076 make changes as per the doc 2025-11-21 16:01:59 +05:30
Manendra Pal Singh
610353aac1 add the feature for observability 2025-11-13 13:16:34 +05:30
Manendra Pal Singh
a29e97b035 update the main_test.go and module_test.go add the mock for registry 2025-11-13 11:23:58 +05:30
ameersohel45
c49f2cf601 Add : unit test for newHTTPClient 2025-09-26 16:46:15 +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
cc552e865e Issue 511 - Initial commit part 2 2025-09-17 00:09:12 +05:30
ameersohel45
afeffeefad chore: update import statements from beckn to beckn-one in beckn-onix 2025-09-15 22:58:23 +05:30
shreyvishal
7a0a78d43d Added: Bug Fixes 2025-06-25 16:30:47 +05:30
shreyvishal
c59db0c9d6 Revert "bug fixes" 2025-06-25 15:39:06 +05:30
shreyvishal
789fda2666 bug fixes 2025-06-23 06:55:54 +00:00
MohitKatare-protean
1db8aa48ac Resolved PR review comments 2025-05-28 11:25:11 +05:30
MohitKatare-protean
3ebf4e9815 updated steps to use updated keymanager interface function 2025-05-27 10:51:40 +05:30
MohitKatare-protean
d329a31d45 Merge pull request #446 from beckn/feature/error_handling
changes for error in request flow
2025-04-09 21:34:42 +05:30
MohitKatare-protean
cfdf589f43 Resolved linitng issue 2025-04-09 08:25:05 +05:30
MohitKatare-protean
da93ca2326 Merge branch 'beckn-onix-v1.0-develop' of https://github.com/beckn/beckn-onix into feature/contex_id 2025-04-09 08:22:56 +05:30
MohitKatare-protean
0a210d4f31 update on the review comments 2025-04-08 16:28:33 +05:30
MohitKatare-protean
ec62a3242b resolved reqpreprocessing review comments
1. added logs for contextKey parsing and unmarshaling yml file.
2. resolved router test case issue.
2. resolved logger test case issues.
2025-04-06 17:09:59 +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
MohitKatare-protean
cf4b397249 changes for error in request flow 2025-04-03 15:31:55 +05:30
MohitKatare-protean
b879cb8faa updated code as per the review comment
1. changed struct to httpConfig
2. Removed initLogger func var
3. Removed mocked registryClient from registry test code
2025-04-01 15:26:38 +05:30
MohitKatare-protean
450f13cf34 updated code as per the review comments 2025-04-01 12:31:43 +05:30
MohitKatare-protean
2fe39a2c0a resolved linting issues 2025-03-31 23:16:26 +05:30
MohitKatare-protean
bbb1dbc843 Update on the review comments 2025-03-31 22:40:59 +05:30
MohitKatare-protean
f0e39e34e7 updated as per the review comments 2025-03-30 19:13:02 +05:30
MohitKatare-protean
f8253c184c add test case for registry client 2025-03-29 18:36:35 +05:30
MohitKatare-protean
9bfb65079e Update on review comments
1. changed implementations from camelcase to lowercase
2. added removed initSteps.
3. updated rout struct for model.go
2025-03-29 16:08:28 +05:30
MohitKatare-protean
7055c1c0d8 updated code.
1. Resolved merge conflicts.
2. Resolved go linting issues.
2025-03-28 22:45:58 +05:30
MohitKatare-protean
be30b522b5 Update on the Review Comments
1. Resolved review comments.
2. Resolved Go linting issues.
3. Increase coverage from 93 to 96 percentage for module.
2025-03-27 12:24:17 +05:30
MohitKatare-protean
75883c6f6a Resolved linting issues 2025-03-26 14:33:32 +05:30
MohitKatare-protean
ff680dacbb Added Test cases for the module
- Code coverage for Module is 93.1%
2025-03-26 11:54:27 +05:30