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 test for consortium-manual plugin #1298

Conversation

elenaizaguirre
Copy link
Contributor

@elenaizaguirre elenaizaguirre commented Sep 1, 2021

Includes tests for endpoints getConsortiumJwsV1 and
getNodeJwsV1, each one of them with test cases:

  • Right request
  • Sending an invalid parameter

Closes: #1297

Relationed with #847

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

@elenaizaguirre elenaizaguirre force-pushed the openapi-validation-consortium-manual branch from efcfb03 to d47e244 Compare September 3, 2021 06:03
Includes tests for endpoints getConsortiumJwsV1 and
getNodeJwsV1, each one of them with test cases:
  - Right request
  - Sending an invalid parameter

closes hyperledger-cacti#1297

relationed with hyperledger-cacti#847

Signed-off-by: Elena Izaguirre <e.izaguirre.equiza@accenture.com>
@elenaizaguirre elenaizaguirre force-pushed the openapi-validation-consortium-manual branch from d47e244 to fa23aca Compare September 14, 2021 06:42
@elenaizaguirre elenaizaguirre changed the title fix: openapi-validation for consortium-manual plugin fix: openapi-validation test for consortium-manual plugin Sep 14, 2021
@petermetz petermetz marked this pull request as ready for review September 14, 2021 19:23
@petermetz petermetz requested review from takeutak and removed request for jonathan-m-hamilton September 14, 2021 19:23
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.

LGTM

@elenaizaguirre The CI is failing due to docker rate limits [1], I have an idea on how to fix it but it will take a minute to implement so please hang tight in the meantime.

[1]:

'toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit\r\n'

@codecov-commenter
Copy link

codecov-commenter commented Sep 16, 2021

Codecov Report

Merging #1298 (58c9e3c) into main (ba8a784) will not change coverage.
The diff coverage is n/a.

❗ Current head 58c9e3c differs from pull request most recent head d60cb2a. Consider uploading reports for the commit d60cb2a to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main    #1298   +/-   ##
=======================================
  Coverage   68.63%   68.63%           
=======================================
  Files         301      301           
  Lines       10948    10948           
  Branches     1347     1347           
=======================================
  Hits         7514     7514           
  Misses       2733     2733           
  Partials      701      701           

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 ba8a784...d60cb2a. Read the comment docs.

@petermetz petermetz merged commit c568ad3 into hyperledger-cacti:main Sep 17, 2021
@petermetz petermetz deleted the openapi-validation-consortium-manual branch September 17, 2021 21:14
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.

fix(plugin-consortium-manual): OpenAPI spec validation missing from plugin REST endpoints
4 participants