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

DESENG-484: Adding max age for cors #2379

Merged
merged 5 commits into from
Feb 12, 2024
Merged

DESENG-484: Adding max age for cors #2379

merged 5 commits into from
Feb 12, 2024

Conversation

VineetBala-AOT
Copy link
Collaborator

Issue #: https://apps.itsm.gov.bc.ca/jira/browse/DESENG-484

Description of changes:
- Introduces a new configuration variable to specify the maximum age for Cross-Origin Resource Sharing (CORS)
- Modified the CORS preflight method to utilize this newly introduced variable.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

@codecov-commenter
Copy link

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (23faaae) 71.80% compared to head (a2c9b39) 71.81%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2379   +/-   ##
=======================================
  Coverage   71.80%   71.81%           
=======================================
  Files         509      509           
  Lines       16916    16921    +5     
  Branches     1288     1288           
=======================================
+ Hits        12147    12152    +5     
  Misses       4529     4529           
  Partials      240      240           
Flag Coverage Δ
metapi 86.42% <83.33%> (+<0.01%) ⬆️

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

Files Coverage Δ
met-api/src/met_api/config.py 97.29% <100.00%> (+0.03%) ⬆️
met-api/src/met_api/utils/util.py 83.78% <80.00%> (-1.07%) ⬇️

... and 1 file with indirect coverage changes

@VineetBala-AOT VineetBala-AOT marked this pull request as ready for review February 9, 2024 01:40
@Baelx
Copy link
Collaborator

Baelx commented Feb 12, 2024

I'm guessing this PR was submitted again due to a merging error?

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues

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

See analysis details on SonarCloud

@VineetBala-AOT VineetBala-AOT merged commit 11e14f9 into main Feb 12, 2024
11 checks passed
NatSquared pushed a commit that referenced this pull request Feb 12, 2024
* DESENG-484: Adding max age for cors (#2377)
@VineetBala-AOT VineetBala-AOT deleted the feature/deseng-484 branch February 15, 2024 23:49
ratheesh-aot pushed a commit to ratheesh-aot/met-public that referenced this pull request Feb 16, 2024
* DESENG-484: Adding max age for cors (bcgov#2377)
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