Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Use Database as History Server #4610

Closed
hzy46 opened this issue Jun 8, 2020 · 0 comments
Closed

Use Database as History Server #4610

hzy46 opened this issue Jun 8, 2020 · 0 comments

Comments

@hzy46
Copy link
Contributor

hzy46 commented Jun 8, 2020

related issues: #3935 #3845

Main design:

  • API server stores active jobs, DB stores history job. Active job is defined as jobs which are finished in 1 day.
  • Rest-server
    • GET /api/v2/jobs: list all jobs (both active and inactive)
    • GET /api/v2/jobs/{user}~{job} only active jobs
    • GET /api/v2/jobs/{user}~{job}/config only active jobs
    • GET /api/v2/jobs/{uuid} all jobs
    • GET /api/v2/jobs/{uuid}/config all jobs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants