Skip to content
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

Create jobs from new endpoints #375

Merged
merged 14 commits into from
Aug 15, 2024
Merged

Create jobs from new endpoints #375

merged 14 commits into from
Aug 15, 2024

Conversation

Pasarus
Copy link
Member

@Pasarus Pasarus commented Aug 15, 2024

Closes #332, Closes #364.

Description

This is the culmination of a chunk of work around restructuring data models, and allowing jobs to be created by the FIA-API via the JobCreator

Adds 2 new endpoints.

/jobs/simple
/jobs/rerun

Both take arguments as part of the body. Both require both the runner_image and script inputs, then the rerun requires a job_id as well.

Copy link

codecov bot commented Aug 15, 2024

Codecov Report

Attention: Patch coverage is 93.75000% with 5 lines in your changes missing coverage. Please review.

Project coverage is 86.69%. Comparing base (5c767b7) to head (e7e2775).
Report is 1 commits behind head on main.

Files Patch % Lines
fia_api/router.py 77.77% 4 Missing ⚠️
fia_api/core/services/job.py 95.83% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #375       +/-   ##
===========================================
- Coverage   97.40%   86.69%   -10.72%     
===========================================
  Files          25       26        +1     
  Lines         694      774       +80     
===========================================
- Hits          676      671        -5     
- Misses         18      103       +85     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Pasarus Pasarus merged commit bb89334 into main Aug 15, 2024
7 checks passed
@Pasarus Pasarus deleted the run_job_endpoints branch August 15, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add runner image value to reduction endpoints Create jobs from API
2 participants