globus / globus/globus-compute

Wrap Redis Interactions in Adapter Class

Open
#290 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.