-
Notifications
You must be signed in to change notification settings - Fork 8
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
Service for migrating tickets #84
Comments
|
Trace:
|
flowchart LR
subgraph API["Django REST API"]
endpoint["API Endpoint"]
publisher["Redis Publisher"]
end
subgraph Redis["Redis PubSub"]
channel["channel_migrate_issue_tickets"]
end
subgraph Service["Migration Service"]
subscriber["Redis Subscriber"]
processor["Ticket Migration Processor"]
end
subgraph GitHub["GitHub"]
source["Source Template Repository"]
target1["Student Repository 1"]
target2["Student Repository 2"]
targetN["Student Repository N"]
end
endpoint -->|"Create repos\nfor students"| GitHub
endpoint -->|"Trigger migration"| publisher
publisher -->|"Publish message\n{source_repo, target_repos}"| channel
channel -->|"Consume message"| subscriber
subscriber -->|"Process message"| processor
source -->|"Read issues"| processor
processor -->|"Clone issues"| target1
processor -->|"Clone issues"| target2
processor -->|"Clone issues"| targetN
classDef api fill:#f9f,stroke:#333,stroke-width:2px
classDef redis fill:#f96,stroke:#333,stroke-width:2px
classDef service fill:#9f9,stroke:#333,stroke-width:2px
classDef github fill:#69f,stroke:#333,stroke-width:2px
class endpoint,publisher api
class channel redis
class subscriber,processor service
class source,target1,target2,targetN github
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Purpose
The team currently uses a command-line tool, written in Python, to migrate tickets on the group project template to each of the students' repositories. While this take low effort to configure and run, it is still a separate process that should, instead, be automated on the Learning Platform.
Independent Service
The description of work below should be written as an indepdendant Python service that will be listening for a message (TBD) on a Redis queue that will be dispatched by the Learning Platform Django app.
See https://github.com/stevebrownlee/learn-ops-services for existing services.
Description
When a coach makes teams for a group project, the following steps should be taken.
Once that process is complete, the cohort's coach will need to manually add a Backlog column to each client-side repository and then add the issue tickets in the Github UI.
The text was updated successfully, but these errors were encountered: