-
Notifications
You must be signed in to change notification settings - Fork 288
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(cactus-plugin-keychain-vault): Implement tests for openapi validation #1329
Comments
elenaizaguirre
added a commit
to elenaizaguirre/cactus
that referenced
this issue
Sep 14, 2021
Includes tests for endpoints setKeychainEntryV1, getKeychainEntryV1, deleteKeychainEntryV1 and hasKeychainEntryV1, each of them, when appropiate, with test cases: - Right request - Request including an invalid parameter - Request without a required parameter Closes hyperledger-cacti#1329 Relationed with hyperledger-cacti#847 Signed-off-by: Elena Izaguirre <[email protected]>
elenaizaguirre
added a commit
to elenaizaguirre/cactus
that referenced
this issue
Sep 17, 2021
Includes tests for endpoints setKeychainEntryV1, getKeychainEntryV1, deleteKeychainEntryV1 and hasKeychainEntryV1, each of them, when appropiate, with test cases: - Right request - Request including an invalid parameter - Request without a required parameter Closes hyperledger-cacti#1329 Relationed with hyperledger-cacti#847 Signed-off-by: Elena Izaguirre <[email protected]>
petermetz
pushed a commit
that referenced
this issue
Sep 18, 2021
Includes tests for endpoints setKeychainEntryV1, getKeychainEntryV1, deleteKeychainEntryV1 and hasKeychainEntryV1, each of them, when appropiate, with test cases: - Right request - Request including an invalid parameter - Request without a required parameter Closes #1329 Relationed with #847 Signed-off-by: Elena Izaguirre <[email protected]>
izuru0
pushed a commit
to izuru0/cactus
that referenced
this issue
Oct 1, 2021
Includes tests for endpoints setKeychainEntryV1, getKeychainEntryV1, deleteKeychainEntryV1 and hasKeychainEntryV1, each of them, when appropiate, with test cases: - Right request - Request including an invalid parameter - Request without a required parameter Closes hyperledger-cacti#1329 Relationed with hyperledger-cacti#847 Signed-off-by: Elena Izaguirre <[email protected]>
brioux
pushed a commit
to brioux/cactus
that referenced
this issue
Oct 4, 2021
Includes tests for endpoints setKeychainEntryV1, getKeychainEntryV1, deleteKeychainEntryV1 and hasKeychainEntryV1, each of them, when appropiate, with test cases: - Right request - Request including an invalid parameter - Request without a required parameter Closes hyperledger-cacti#1329 Relationed with hyperledger-cacti#847 Signed-off-by: Elena Izaguirre <[email protected]>
RafaelAPB
pushed a commit
to RafaelAPB/blockchain-integration-framework
that referenced
this issue
Mar 9, 2022
Includes tests for endpoints setKeychainEntryV1, getKeychainEntryV1, deleteKeychainEntryV1 and hasKeychainEntryV1, each of them, when appropiate, with test cases: - Right request - Request including an invalid parameter - Request without a required parameter Closes hyperledger-cacti#1329 Relationed with hyperledger-cacti#847 Signed-off-by: Elena Izaguirre <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
After implement openapi validation in plugins endpoints in cmd-api-server (#847), we must ensure that all endpoints in cactus-plugin-keychain-vault are validated according package openapi specs.
Specific tests are needed.
To Reproduce
Call endpoints throught package API client with right and wrong requests.
Expected behavior
Right requests should return status code 200 and wrong requests should return status code 400.
Hyperledger Cactus Plugins/Connectors Used
The text was updated successfully, but these errors were encountered: