-
Notifications
You must be signed in to change notification settings - Fork 23
CRUD API calls for scheduler #1214
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #1214 +/- ##
==========================================
- Coverage 79.29% 79.00% -0.30%
==========================================
Files 273 276 +3
Lines 13347 13471 +124
Branches 1312 1318 +6
==========================================
+ Hits 10584 10643 +59
- Misses 2482 2547 +65
Partials 281 281 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
CodSpeed Performance ReportMerging #1214 will not alter performanceComparing Summary
|
orchestrator/db/models.py
Outdated
| # NOTE: Cannot use standard APScheduler job ID here because the table might not exist on migration | ||
| # Deleting on cascade happens on event based apscheduler job removal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The apscheduler_jobs table is created in the migration before workflows_apscheduler_jobs is created, so isn't it always there?
orchestrator/schedules/service.py
Outdated
| if ( | ||
| not payload.trigger or | ||
| not payload.process_name or | ||
| not payload.name or |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't name default to the workflow name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what do you mean?
You need to provide these variables in order to create/update/delete, or am i missing something?
Adding CRUD api calls for scheduler, as mentioned here:
#1104