mitodl / odl-video-service

building blocks for a basic video service for ODL
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Use from_service_account_info instead of from_json_keyfile_dict for google credentials #1008

Closed mbertrand closed 1 year ago

mbertrand commented 1 year ago

Pre-Flight checklist

What are the relevant tickets?

Closes #1007

What's this PR do?

Switches from ServiceAccountCredentials.from_json_keyfile_dict (no longer supported) to ServiceAccountCredentials.from_service_account_info

How should this be manually tested?

codecov-commenter commented 1 year ago

Codecov Report

Merging #1008 (798dcf3) into master (f8e3d0d) will increase coverage by 1.41%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1008      +/-   ##
==========================================
+ Coverage   96.03%   97.44%   +1.41%     
==========================================
  Files         182      131      -51     
  Lines        7345     4781    -2564     
  Branches      251        0     -251     
==========================================
- Hits         7054     4659    -2395     
+ Misses        257      122     -135     
+ Partials       34        0      -34     
Impacted Files Coverage Δ
ui/utils.py
ui/constants.py
ui/exceptions.py
odl_video/celery.py
cloudsync/utils.py
cloudsync/views.py
odl_video/settings.py
mail/tasks.py
odl_video/models.py
odl_video/constants.py
... and 41 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.