Commit Graph

102 Commits

Author SHA1 Message Date
Nirmal N R
e029ebe1f2 Unit tests for excludeAction
Added unit tests for the following:
- For target type URL:
    - ExcludeAction explicitly set true
    - ExcludeAction explicitly set to false
    - ExcludeAction omitted
- ExcludeAction when target type is BPP
- ExcludeAction when target type is BAP
- ExcludeAction when target type is Publisher
2025-09-24 12:16:20 +05:30
Nirmal N R
c5edd7f572 feat(router): add excludeAction option for URL routing
- Add ExcludeAction field to target struct in routing configuration
- When excludeAction is true, skip appending action to URL path
- Provides flexibility for routing scenarios where action should not be part of URL path
- Maintains backward compatibility by defaulting to existing behavior

This change allows routing rules to be configured with excludeAction: true when the target URL should not have the action appended to its path.
2025-09-19 17:12:17 +05:30
ameersohel45
afeffeefad chore: update import statements from beckn to beckn-one in beckn-onix 2025-09-15 22:58:23 +05:30
Mayuresh Nirhali
175b617e3e 513 - Add README to explain how to use schemavalidator plugin 2025-09-14 10:47:52 +05:30
Mayuresh A Nirhali
d92c03c85d Update README.md
removed ref to pem keys.
2025-09-13 08:43:27 +05:30
Mayuresh Nirhali
e7abcbdbb7 Initial commit for Issue503 2025-09-13 08:11:32 +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
Tanya Madaan
8e778d6f9b Merge branch 'beckn-onix-v1.0-develop' into feature/redis-plugin 2025-06-16 12:38:45 +05:30
MohitKatare-protean
d9984c46a2 Resolved PR review comments
Resolved merge conflict with the develop branch
2025-06-05 14:55:11 +05:30
MohitKatare-protean
1ac7447455 Merge pull request #466 from beckn/feature/publisherPlugin
Publisher plugin implementation
2025-06-02 11:40:56 +05:30
MohitKatare-protean
56f804c0ca Added logs, comments and issue fix
Fixed issue for the interface not implemented for the provider while loading the plugin
2025-05-28 17:12:09 +05:30
MohitKatare-protean
3fc1ef53f0 Resolved linting issue 2025-05-28 11:28:40 +05:30
MohitKatare-protean
1db8aa48ac Resolved PR review comments 2025-05-28 11:25:11 +05:30
MohitKatare-protean
ea872338f6 change in the keymanager interface 2025-05-22 12:53:54 +05:30
MohitKatare-protean
0eb0cc572f fixed linting issue for not checked 2025-05-20 12:12:36 +05:30
MohitKatare-protean
019b526b6f Resolved linting issues 2025-05-20 12:10:58 +05:30
MohitKatare-protean
63e1bc44d9 added test cases for keymanager and plugin 2025-05-20 12:01:14 +05:30
MohitKatare-protean
0101fe80c5 Initial commit for the keymanager plugin 2025-05-16 18:06:12 +05:30
Atharva Zade
04ba311628 Comment Resolve Redis Plugin 2025-05-14 17:00:37 +05:30
MohitKatare-protean
20883902fb Resolved review comments 2025-05-14 16:11:28 +05:30
Atharva Zade
1b79156693 Initial Commit of Redis Plugin with Unit Test cases 2025-05-13 16:47:34 +05:30
Atharva Zade
21e823b955 Initial Commit of Redis Plugin with Unit Test cases 2025-05-13 15:39:31 +05:30
Atharva Zade
afd157d123 Initial Commit of Redis Plugin with Unit Test cases 2025-05-13 14:59:19 +05:30
Atharva Zade
ec69ecd50d Initial Commit of Redis Plugin with Unit Test cases 2025-05-13 14:47:01 +05:30
Atharva Zade
7d613ed495 Initial commit for Cache Plugin 2025-05-13 13:01:09 +05:30
MohitKatare-protean
ed32b57a80 fixed linting issues 2025-05-13 12:33:32 +05:30
MohitKatare-protean
e5cccc30f8 Resolved PR Review comments 2025-05-13 12:30:34 +05:30
MohitKatare-protean
2e0b5834d7 added updated test case for the publisher implementation 2025-05-06 12:08:56 +05:30
MohitKatare-protean
72f8be52fa added test case 2025-05-06 10:29:23 +05:30
AshwiniK-protean
a5ab4caf5f remove the extra fields from Context struct 2025-04-30 11:53:22 +05:30
MohitKatare-protean
ae98cc992f Publisher plugin implementation 2025-04-29 15:45:26 +05:30
AshwiniK-protean
13eb6f945f removed camelcase folder 2025-04-29 11:33:16 +05:30
AshwiniK-protean
a209df9c8f resolved pr comments 2025-04-29 10:58:28 +05:30
AshwiniK-protean
a939d7d8ae add errors for context in schemavalidato.go 2025-04-24 10:37:47 +05:30
AshwiniK-protean
d5467e8bf0 solve schema validation conflicts 2025-04-23 18:28:47 +05:30
AshwiniK-protean
914d6f47f2 add error statement for context 2025-04-23 18:06:19 +05:30
mayur.popli
37a72d79a3 fix: context keys test case 2025-04-11 15:13:29 +05:30
mayur.popli
949a8d47c3 fix: linting errors 2025-04-11 11:35:48 +05:30
mayur.popli
bd3a836bdb feat: added contextKeys and domain in schema error 2025-04-10 15:30:02 +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
e50dd96a34 Update reqpreprocessor.go 2025-04-09 08:21:32 +05:30
MohitKatare-protean
0f9ca0cd62 resolved linting issue 2025-04-08 16:35:50 +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
57c841b9be Merge branch 'beckn-onix-v1.0-develop' of https://github.com/beckn/beckn-onix into fix/publisher 2025-04-04 16:35:01 +05:30
mayur.popli
bb737505d4 fix: resolved comments 2025-04-04 16:34:43 +05:30
MohitKatare-protean
278e217c64 added const for contextKey 2025-04-04 16:15:16 +05:30
MohitKatare-protean
f3a3b5230f fixes as per the review comments 2025-04-04 16:12:37 +05:30
MohitKatare-protean
fc296b8ef3 code fix as per the review comments 2025-04-04 15:45:15 +05:30