Skip to content
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: openapi validation for keychain-aws-sm plugin #1514

Conversation

elenaizaguirre
Copy link
Contributor

Includes tests for endpoints setKeychainEntry, getKeychainEntryV1,
hasKeychainEntryV1 and deleteKeychainEntryV1, each of them with
test cases:

  • Right request
  • Request including an invalid parameter
  • Request without a required parameter

Relationed with #847

Signed-off-by: Elena Izaguirre e.izaguirre.equiza@accenture.com

@elenaizaguirre elenaizaguirre force-pushed the openapi-validation-keychain-aws-sm branch 2 times, most recently from 5e4921f to 5d2c052 Compare November 5, 2021 09:22
@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2021

Codecov Report

Merging #1514 (aebff7b) into main (51bf753) will increase coverage by 0.01%.
The diff coverage is 84.61%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1514      +/-   ##
==========================================
+ Coverage   70.03%   70.04%   +0.01%     
==========================================
  Files         368      368              
  Lines       14108    14108              
  Branches     1701     1701              
==========================================
+ Hits         9880     9882       +2     
+ Misses       3299     3298       -1     
+ Partials      929      928       -1     
Impacted Files Coverage Δ
...pescript/generated/openapi/typescript-axios/api.ts 84.09% <83.33%> (ø)
...ript/webservices/set-keychain-entry-endpoint-v1.ts 84.84% <100.00%> (ø)
...s-sm/src/main/typescript/plugin-keychain-aws-sm.ts 78.21% <0.00%> (+1.98%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 51bf753...aebff7b. Read the comment docs.

@elenaizaguirre elenaizaguirre marked this pull request as ready for review November 5, 2021 11:35
Includes tests for endpoints setKeychainEntry, getKeychainEntryV1,
hasKeychainEntryV1 and deleteKeychainEntryV1, each of them with
test cases:
  - Right request
  - Request including an invalid parameter
  - Request without a required parameter

Relationed with hyperledger-cacti#847

Signed-off-by: Elena Izaguirre <e.izaguirre.equiza@accenture.com>
@elenaizaguirre elenaizaguirre force-pushed the openapi-validation-keychain-aws-sm branch from 5d2c052 to 59f06d4 Compare November 8, 2021 15:39
Copy link
Contributor

@petermetz petermetz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@petermetz petermetz merged commit b270d28 into hyperledger-cacti:main Nov 9, 2021
@elenaizaguirre elenaizaguirre deleted the openapi-validation-keychain-aws-sm branch November 23, 2021 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants