Skip to content

♻️Storage API specs are now autogenerated 🚨 #4413

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

Merged
merged 24 commits into from
Jun 26, 2023

Conversation

GitHK
Copy link
Contributor

@GitHK GitHK commented Jun 23, 2023

What do these changes do?

NOTE: the diff is big, but most of it is yaml changes.
If there is one spec file to inspect, that would be api/specs/webserver/openapi-storage.yaml

  • api/specs/storage/openapi.yaml is now automatically generated and contains all endpoints storage exposes

  • api/specs/webserver/openapi-storage.yaml is no longer handled manually and generated from previously out of date code

  • ♻️ Adjusted tests using the OpenAPI specs

  • 🚨 check interface in master for file uploads via file picker that it works

Related issue/s

How to test

DevOps Checklist

@GitHK GitHK self-assigned this Jun 23, 2023
@GitHK GitHK added a:storage issue related to storage service a:webserver issue related to the webserver service t:maintenance Some planned maintenance work changelog:♻️refactor labels Jun 23, 2023
@GitHK GitHK added this to the Watermelon milestone Jun 23, 2023
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8011 lines exceeds the maximum allowed for the inline comments feature.

@codecov
Copy link

codecov bot commented Jun 23, 2023

Codecov Report

Merging #4413 (3b2ae22) into master (86df645) will decrease coverage by 0.9%.
The diff coverage is 72.0%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master   #4413     +/-   ##
========================================
- Coverage    86.2%   85.3%   -0.9%     
========================================
  Files         995     911     -84     
  Lines       42595   40840   -1755     
  Branches     1009     845    -164     
========================================
- Hits        36730   34872   -1858     
- Misses       5633    5771    +138     
+ Partials      232     197     -35     
Flag Coverage Δ
integrationtests 61.1% <0.0%> (-6.8%) ⬇️
unittests 83.8% <72.0%> (+<0.1%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../service-library/src/servicelib/fastapi/openapi.py 67.6% <12.5%> (-8.2%) ⬇️
...-library/src/models_library/api_schemas_storage.py 91.4% <100.0%> (+0.3%) ⬆️
...r/src/simcore_service_webserver/storage/schemas.py 100.0% <100.0%> (ø)

... and 110 files with indirect coverage changes

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8021 lines exceeds the maximum allowed for the inline comments feature.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8023 lines exceeds the maximum allowed for the inline comments feature.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8043 lines exceeds the maximum allowed for the inline comments feature.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8105 lines exceeds the maximum allowed for the inline comments feature.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8600 lines exceeds the maximum allowed for the inline comments feature.

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8541 lines exceeds the maximum allowed for the inline comments feature.

@GitHK GitHK requested a review from matusdrobuliak66 as a code owner June 26, 2023 08:40
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8538 lines exceeds the maximum allowed for the inline comments feature.

Copy link
Collaborator

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

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

nice, thank you 👍

Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8537 lines exceeds the maximum allowed for the inline comments feature.

Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

very nice. thanks! just a few questions/comments.

@GitHK GitHK requested review from sanderegg and pcrespov June 26, 2023 09:27
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8567 lines exceeds the maximum allowed for the inline comments feature.

Copy link
Member

@sanderegg sanderegg left a comment

Choose a reason for hiding this comment

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

👍

@GitHK GitHK enabled auto-merge (squash) June 26, 2023 10:38
@GitHK GitHK disabled auto-merge June 26, 2023 13:31
Copy link

@codeclimate codeclimate bot left a comment

Choose a reason for hiding this comment

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

The PR diff size of 8424 lines exceeds the maximum allowed for the inline comments feature.

@codeclimate
Copy link

codeclimate bot commented Jun 26, 2023

Code Climate has analyzed commit 3b2ae22 and detected 0 issues on this pull request.

View more on Code Climate.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.1% 0.1% Duplication

@GitHK GitHK changed the title ♻️Storage API specs are now autogenerated ♻️Storage API specs are now autogenerated 🚨 Jun 26, 2023
@GitHK GitHK enabled auto-merge (squash) June 26, 2023 13:46
@GitHK GitHK merged commit b9d9903 into ITISFoundation:master Jun 26, 2023
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Jul 12, 2023
36 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:storage issue related to storage service a:webserver issue related to the webserver service t:maintenance Some planned maintenance work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants