globus / globus/globus-compute
Wrap Redis Interactions in Adapter Class
Open
- Dominant language
- Python
- Stars
- 162
- Forks
- 53
- Avg merge
- 15h 29m
- Merged PRs (30d)
- 26
Description
# Problem
The WebService interacts with Redis throughout the resources. This makes it hard to see how redis is used and impossible to mock for unit testing
# Approach
Create a RedisAdaptor class and migrate all of the redis interactions into there
Contributor guide
Research direction
Start by locating the WebService resources and cataloguing their Redis interactions. Then review the proposed RedisAdaptor class boundary and migrate each interaction into it, with mocking for unit tests as the completion criteria. The issue names no files or tests, so the relevant entry points must be found in the repository.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, redis
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100