Commit Graph

453 Commits

Author SHA1 Message Date
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
AshwiniK-protean
4559ac3e5f update schemas and create a validateHandler function 2025-03-02 18:44:16 +05:30
AshwiniK-protean
4b940d9e51 changes in Initialse method as adding AddResource function 2025-02-28 18:02:20 +05:30
AshwiniK-protean
26c97c5774 add new schema folder 2025-02-27 15:07:30 +05:30
AshwiniK-protean
113aadbb0a add new schemas 2025-02-27 10:23:49 +05:30
AshwiniK-protean
87d546ea8a add changes for multiple schemas in one json file 2025-02-20 16:52:41 +05:30
AshwiniK-protean
05259b3824 craete initialize() to get each schema from .json 2025-02-18 13:35:55 +05:30
AshwiniK-protean
50f93d8239 created a plugin for schema validation and related unit test 2025-02-14 11:05:54 +05:30
Faiz Mohammed
d035d4c7c2 Create CODEOWNERS
code owners file created and configured
2025-02-13 12:44:13 +05:30
Faiz Mohammed
0d4cee69f6 Create ci.yml
created ci.yml file for configuring the ci workflow
2025-02-13 12:43:03 +05:30
Viraj
91f0b16b5c Create mobility-services-sandbox.postman_collection.json
Postman collection for mobility-services-sandbox.postman_collection.json
2024-12-19 15:01:27 +05:30
Viraj
7c8171cc65 Create mobility_ondemandride_1.1.0_openapi_3.1.yaml
L2 Config for mobility_ondemandride_1.1.0_openapi_3.1.yaml
2024-12-19 14:58:10 +05:30
Ravi Prakash
6691a8f582 Initialized empty repo with essential files and folders 2024-12-04 11:55:03 +05:30
prasad-takale-eminds
b542e11071 Merge pull request #143 from beckn/logger
Update the docker-compose file to create the docker logs volume
2024-11-27 16:16:01 +05:30
rajaneeshk90
23d7a2dbd9 Merge pull request #255 from rajaneeshk90/add-mobility-l2-config
fixing indentation in the cancel request rule
2024-10-11 11:08:12 +05:30
Rajaneesh
ad198a9c2c fixing indentation in the cancel request rule 2024-10-11 11:05:42 +05:30
rajaneeshk90
360da3e4dd Merge pull request #254 from rajaneeshk90/add-mobility-l2-config
Adding mobility layer2 config created with ONDC rules
2024-10-10 20:16:21 +05:30
Rajaneesh
36c8ebc0fc adding mobility layer2 config created with ONDC rules 2024-10-10 20:07:58 +05:30
rajaneeshk90
d8ba848be4 Merge pull request #253 from beckn/Specification-Markdown
Adding the markdown version of the Beckn Specification document in the repo
2024-10-10 13:13:13 +05:30
rajaneeshk90
607b4a8dda Merge pull request #251 from beckn/swagger-integration
Swagger integration
2024-10-10 13:11:45 +05:30
rajaneeshk90
a54d5a5873 Merge pull request #247 from rajaneeshk90/add-specification-doc
Add Markdown version of Beckn-ONIX Specification
2024-10-07 20:57:42 +05:30
Rajaneesh
ee75116623 adding a specification level readme file 2024-10-07 20:47:04 +05:30