Commit Graph

324 Commits

Author SHA1 Message Date
rupinder-syngh
17152a9d16 fix: Remove implementation 2025-03-20 18:28:02 +05:30
rupinder-syngh
80993e2c6f fix: Merge conflicts 2025-03-20 17:45:16 +05:30
rupinder-syngh
5adae2e859 fix: Removed Implementation 2025-03-20 17:40:59 +05:30
tanyamadaan
fb1e948616 Removed debug logs 2025-03-20 13:42:32 +05:30
tanyamadaan
0e22016a26 New test cases added 2025-03-20 13:37:55 +05:30
rupinder-syngh
45fed198fb fix: removed converage file 2025-03-20 11:36:54 +05:30
rupinder-syngh
a606d385f4 fix: shared renamed to pkg, formatting changes 2025-03-20 11:33:20 +05:30
BushraS-Protean
aa0964f38b Update beckn_ci.yml
changed the coverage
2025-03-20 10:25:19 +05:30
mayur.popli
5e3422fb24 feat: req preprocessor 2025-03-20 09:07:43 +05:30
mayur.popli
aa10fcceaf feat: req preprocessor 2025-03-20 09:03:44 +05:30
mayur.popli
bc316ed39f feat: req preprocessor 2025-03-20 08:47:30 +05:30
mayur.popli
86bffa0844 feat: req preprocessor 2025-03-20 08:41:21 +05:30
tanyamadaan
8cd3c80ced Router plugin 2025-03-19 22:48:50 +05:30
rupinder-syngh
ed046d9ce4 feat: Implement Publisher 2025-03-19 19:51:53 +05:30
mayur.popli
33cb8db5e0 fix: linting error 2025-03-19 15:37:28 +05:30
mayur.popli
3afde2911d fix: linting error 2025-03-19 15:36:06 +05:30
tanyamadaan
d422743dcc Response Error struct added 2025-03-19 14:23:44 +05:30
tanyamadaan
84501b92f4 Changes to Response Error struct 2025-03-19 13:54:23 +05:30
shreyvishal
28d2ae3e35 Merge pull request #425 from MayurWitsLab/ft/response_processing
Ft/response processing
2025-03-19 07:57:37 +00:00
mayur.popli
18a72453fc fix: logging module lint 2025-03-19 11:13:52 +05:30
tanyamadaan
ef816b6e5f Schema validator plugin 2025-03-19 10:52:42 +05:30
BushraS-Protean
1be9d9e289 Update beckn_ci.yml
changes made
2025-03-18 13:20:13 +05:30
BushraS-Protean
0a610caf67 Update beckn_ci.yml
changes for coverage test
2025-03-18 13:16:21 +05:30
mayur.popli
bbb467f2f8 feat: logging added 2025-03-18 11:07:55 +05:30
mayur.popli
c315cd2c77 feat: logging added 2025-03-18 11:05:15 +05:30
mayur.popli
4ada80a361 fix: logging module 2025-03-17 23:56:12 +05:30
mayur.popli
7f47bd60be fix: changes in document added 2025-03-17 17:52:31 +05:30
mayur.popli
08ba115e7a add: response processing 2025-03-17 16:48:13 +05:30
AshwiniK-protean
d86d23d43d update test cases in plugin_test file 2025-03-13 18:38:53 +05:30
AshwiniK-protean
4b9813c11c update test cases for plugin file 2025-03-13 18:37:58 +05:30
MohitKatare-protean
9722c3bf68 Feature/signing plugin (#402)
* test commit

* delete test commit

* signing plugin - changes for review

* Initial commit : beckn Signing Plugin Module

* Added verification plugin

post review discussion with leads below changes are made
1. Commented out the signature expiration validation code for both the signing and verification plugins. will update it based on the confirmation.

* Create signing_plugin_test.go

Added Test Cases for Signing Plugin

* Signing and Verification Plugin

Added signing plugin and verification plugin with the unit test cases, achieving the following code coverage
Signing Plugin : 91.9%
Verification Plugin : 92.3%

* Added plugin.go to handle the dynamic loading and usage of the plugin implementation

* Update the code to meet the linting standards

* Added Test Cases for plugin.go

1.Added test cases for plugin.go for both signer and verifier.
2.Added new Function Close to release the resources (mock implementation)
3.Fixed camelCase Issue.

* Updated the code coverage for signing plugin

Raised code coverage from 85 to 92 for signing plugin

* Changes for review Comments

1. updated directory names from Signer to signer
2. Updated Verifier plugin to take header value
3. Updated the config to use a pointer in the signing plugin

* Updated directory name for signer and verifier

* Removed the Duplicate directories Signer and Verifier

* Updated the code to pass the timestamp as a parameter for the signing plugin

* Updates on the review comments

* Update on the Review Comments

* Test commit for code coverage

* Update on the review Comments

1. Renaming of NewSigner to New
2. Removed of .so files.
3. Removed external libraries.

* Test commit for code coverage

* udpate as per the golint standards

* update on the code review comments

1. Rename of Validator to Verifier
2. Removed as a pointer for plugins
3. comment updated for Signer

* Test Commit for the code coverage

* test commit for code coverage

* test commit for code coverage

* test commit for code coverage

* updated code on review comments

* update on review comments

* update on review comments

---------

Co-authored-by: mohit3367 <mohitkatare4@gmail.com>
2025-03-13 17:12:49 +05:30
AshwiniK-protean
e9cc670e3d updated the interface to return a Error struct and modified the function and tests accordingly 2025-03-13 11:16:45 +05:30
AshwiniK-protean
0488eccc3b update the file structure update Initialise function , update interface and update code and write table test cases 2025-03-13 07:55:54 +05:30
BushraS-Protean
b0c827fbd4 Update beckn_ci.yml
checking entire directory
2025-03-11 14:57:17 +05:30
AbhishekHS220
51f8548e01 Update beckn_ci.yml 2025-03-11 14:28:17 +05:30
AbhishekHS220
783712f642 Update beckn_ci.yml 2025-03-11 14:22:38 +05:30
BushraS-Protean
23132c22ab Update beckn_ci.yml
removed the syntax error
2025-03-11 14:10:16 +05:30
BushraS-Protean
3fab82bba3 Update beckn_ci.yml
testing for root directory and if test file not present
2025-03-11 14:04:57 +05:30
BushraS-Protean
4f1ba58ceb Update beckn_ci.yml
testing for multiple files
2025-03-11 12:20:25 +05:30
BushraS-Protean
bb93707bec Update beckn_ci.yml
testing specific to Mohit's feature branch
2025-03-11 11:14:32 +05:30
AbhishekHS220
2a1e28121f Update beckn_ci.yml 2025-03-10 13:14:39 +05:30
AshwiniK-protean
ced64648f6 change in Initialse function to read each folder and add test cases 2025-03-10 13:09:37 +05:30
BushraS-Protean
b2e27f2415 Update beckn_ci.yml
Testing for Signer
2025-03-10 13:02:34 +05:30
BushraS-Protean
f59b266646 Update beckn_ci.yml 2025-03-06 16:24:27 +05:30
AshwiniK-protean
19c8b35bdd Moved test schemas to testData folder, removed schemas folder from plugin, and deleted schema_die path from config 2025-03-05 15:54:44 +05:30
AbhishekHS220
7f707bfd52 Update beckn_ci.yml 2025-03-05 14:12:16 +05:30
BushraS-Protean
4126b47d96 Update beckn_ci.yml 2025-03-05 12:33:46 +05:30
BushraS-Protean
6a78249dd9 Update and rename beckn CI to beckn_ci.yml 2025-03-05 12:29:23 +05:30
BushraS-Protean
ecc4fed517 Create beckn CI
Testing of CI with Test App
2025-03-05 12:12:39 +05:30
AshwiniK-protean
02ebd9fd38 update nested map to flat map 2025-03-04 16:33:49 +05:30