osf.io
osf.io copied to clipboard
[ENG-5430] ENABLE_GV feature flipping for `get_addon`
Purpose
Allows us to feature flip between our current system and the new GravyValet addon service. Should change files
related routes to use new set up.
Changes
- new
get_addon
functions for AbstractNode and OsfUser waffled to return mock config - creates mock config
GravyValetAddonAppConfig
to serve as addon proxy object - add tests and modifes some existing for new mocks
- now responds to 401 and 403 from WB https://github.com/CenterForOpenScience/osf.io/pull/10610/files#diff-7b7eef8ad639532cbf555abca69f06d4dc59096b5b60402f3b6ad7b6057fed95R67
QA Notes
Please make verification statements inspired by your code and what your code touches.
- Verify
- Verify
What are the areas of risk?
Any concerns/considerations/questions that development raised?
Documentation
Side Effects
Ticket
https://openscience.atlassian.net/browse/ENG-5430