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

Limit hourlies endpoint to only store ffmc files #3563

Merged
merged 3 commits into from
Apr 25, 2024

Conversation

conbrad
Copy link
Collaborator

@conbrad conbrad commented Apr 25, 2024

  • Checks that the received file on the hourlies endpoint is an ffmc and only puts it on S3 if it is

Test Links:

Landing Page
MoreCast
Percentile Calculator
MoreCast
C-Haines
FireBat
FireBat bookmark
Auto Spatial Advisory (ASA)
HFI Calculator

@conbrad conbrad requested review from brettedw and dgboss April 25, 2024 00:03
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.45%. Comparing base (6b96008) to head (6f48c6c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3563   +/-   ##
=======================================
  Coverage   80.45%   80.45%           
=======================================
  Files         288      288           
  Lines       10370    10371    +1     
  Branches      507      507           
=======================================
+ Hits         8343     8344    +1     
  Misses       1885     1885           
  Partials      142      142           

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

'Create-time': datetime.now().isoformat()})
# We should get a 200 response if the file is uploaded successfully.
assert response.status_code == 200
# We should have called put_object once.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Comment should say put_object shouldn't be called.

Copy link

sonarcloud bot commented Apr 25, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@conbrad conbrad temporarily deployed to production April 25, 2024 16:33 Inactive
@conbrad conbrad merged commit 3e3f092 into main Apr 25, 2024
24 checks passed
@conbrad conbrad deleted the task/sfms-limit-hourlies branch April 25, 2024 16:54
vanislekahuna pushed a commit to vanislekahuna/wps that referenced this pull request Sep 19, 2024
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.

3 participants