Commit Graph

735 Commits

Author SHA1 Message Date
rupinder-syngh
c5bfd0a122 feat: decryption plugin (#430)
* feat: Implemented decryption plugin

* fix: Removed interface test file

* fix: Test case

* fix: Test case for plugin

* fix: test case change

* fix: resolved pr comments

* fix: resolved pr comments

* fix: removed mock dcrypter

* fix: formatting

* fix: removed config, close function, enhanced test cases

* fix: test cases enhancement, formatting
2025-03-21 19:23:40 +05:30
rupinder-syngh
d6ba0edb27 feat: encryption plugin (#429)
* feat: Implement encryption plugin.

* fix: Removed interface test file

* fix: Test case changes

* fix: Test case for encryption

* fix: formatting changes

* fix: lint change

* fix: shared renamed to pkg

* fix: shared rename to pkg

* fix: resolved pr comments

* fix: indentation, formatting

* fix: removed config, ctx check, test enhancements

* fix: removed close function

* fix: remove config and enhance test cases

* fix: formatting changes, test case enhancement
2025-03-21 17:18:51 +05:30
mayur.popli
7894f673b1 fix: logging module comments 2025-03-21 12:27:52 +05:30
mayur.popli
6faf6d35e4 fix: logging module comments 2025-03-21 12:20:47 +05:30
mayur.popli
6547ffc370 fix: logging module comments 2025-03-21 12:19:05 +05:30
mayur.popli
6ba266ad3a fix: logging module comments 2025-03-21 12:17:35 +05:30
shreyvishal
e07a6cdad9 Merge pull request #434 from rupinder-syngh/feat/publisher
Feat/publisher plugin
2025-03-21 12:01:32 +05:30
rupinder-syngh
6b8d902b83 fix: formatting changes 2025-03-21 10:37:21 +05:30
mayur.popli
d4b2c95df8 feat: req preprocessor 2025-03-21 10:16:51 +05:30
mayur.popli
c4e84286bf Merge branch 'beckn-onix-v1.0-develop' of https://github.com/beckn/beckn-onix into ft/logging_module 2025-03-21 04:47:04 +05:30
mayur.popli
02fb7c0897 feat: added role for bap and bpp 2025-03-21 04:44:58 +05:30
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