8000 SEAB-6083: Remove deprecated properties from Entry by svonworl · Pull Request #5811 · dockstore/dockstore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

SEAB-6083: Remove deprecated properties from Entry #5811

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 2 commits into from
Feb 22, 2024

Conversation

svonworl
Copy link
Contributor
@svonworl svonworl commented Feb 16, 2024

Description
This PR removes two deprecated accessors/properties, author and email, from Entry.

I checked the latest develop versions of the UI and CLI against my local deployment of this PR, and they appeared to work without issue. I thought the CLI might bomb when I retrieved the information for a workflow, but it appears to have been weaned off the deprecated properties in dockstore/dockstore-cli#269.

Branch name contains the wrong ticket name/number, my copy-paste was errant.

Review Instructions
Check openapi.yaml and confirm that the properties are no longer present.

Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-6083

Security and Privacy
No concerns.

Please make sure that you've checked the following before submitting your pull request. Thanks!

  • Check that you pass the basic style checks and unit tests by running mvn clean install
  • Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
  • Follow the existing JPA patterns for queries, using named parameters, to avoid SQL injection
  • If you are changing dependencies, check the Snyk status check or the dashboard to ensure you are not introducing new high/critical vulnerabilities
  • Assume that inputs to the API can be malicious, and sanitize and/or check for Denial of Service type values, e.g., massive sizes
  • Do not serve user-uploaded binary images through the Dockstore API
  • Ensure that endpoints that only allow privileged access enforce that with the @RolesAllowed annotation
  • Do not create cookies, although this may change in the future
  • If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.

Copy link
codecov bot commented Feb 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0de8f19) 74.40% compared to head (03b5c4a) 74.39%.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #5811      +/-   ##
=============================================
- Coverage      74.40%   74.39%   -0.01%     
+ Complexity      5267     5265       -2     
=============================================
  Files            365      365              
  Lines          19046    19042       -4     
  Branches        2021     2021              
=============================================
- Hits           14171    14167       -4     
  Misses          3917     3917              
  Partials         958      958              
Flag Coverage Δ
bitbuckettests 27.04% <ø> (-0.02%) ⬇️
integrationtests 58.25% <ø> (-0.01%) ⬇️
languageparsingtests 10.83% <ø> (-0.02%) ⬇️
localstacktests 21.47% <ø> (-0.02%) ⬇️
toolintegrationtests 30.38% <ø> (-0.02%) ⬇️
unit-tests_and_non-confidential-tests 28.72% <ø> (-0.02%) ⬇️
workflowintegrationtests 38.64% <ø> (-0.02%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@denis-yuen
Copy link
Member

I checked the latest develop versions of the UI and CLI against my local deployment of this PR, and they appeared to work without issue. I thought the CLI might bomb when I retrieved the information for a workflow, but it appears to have been weaned off the deprecated properties in dockstore/dockstore-cli#269.

Cool, thanks for double-checking!

@svonworl svonworl merged commit cb6f9dd into develop Feb 22, 2024
@svonworl svonworl deleted the feature/dock-2376/remove-deprecated-entry-fields branch February 22, 2024 16:20
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
0