-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add system jobs interface w/ configurable data retention #9224
Merged
softwarefactory-project-zuul
merged 21 commits into
ansible:devel
from
jakemcdermott:add-mgmt-jobs
Feb 24, 2021
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d3f2ded
Add routing system for mgmt jobs
jakemcdermott 5d9d486
Resolve notification admin status with config
jakemcdermott 3f936cd
Add mgmt job schedules
jakemcdermott 45acd15
Add mgmt job notifications
jakemcdermott eaf5572
Add mgmt job list
jakemcdermott daaabd9
Add mgmt job launch
jakemcdermott a0bdf8c
Add default sysjob days
jakemcdermott 4c92d02
Add mgmt job details
jakemcdermott a95e554
Only render edit control if editable
jakemcdermott a07b1a1
Add system prompt and config
jakemcdermott a00c892
Remove default sysjob days
jakemcdermott 83b449f
Add sysjob data retention to schedules
jakemcdermott df7b168
Add actions column
jakemcdermott b545a65
Fix Data retention label
jakemcdermott 4985fb6
Add case insensitive search for Name
jakemcdermott 2f56a20
Add data retention field for schedule creation
jakemcdermott a9aa91d
Remove duplicate notification admin request
jakemcdermott a0beb9e
Remove instructions to add on empty mgmt jobs
jakemcdermott 5d51a4e
Fix system job list item key
jakemcdermott d337948
Use system job type as identifier
jakemcdermott 218b978
Fix schedule loading flicker
jakemcdermott File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import Base from '../Base'; | ||
import NotificationsMixin from '../mixins/Notifications.mixin'; | ||
import SchedulesMixin from '../mixins/Schedules.mixin'; | ||
|
||
const Mixins = SchedulesMixin(NotificationsMixin(Base)); | ||
|
||
class SystemJobTemplates extends Mixins { | ||
constructor(http) { | ||
super(http); | ||
this.baseUrl = '/api/v2/system_job_templates/'; | ||
} | ||
|
||
readDetail(id) { | ||
const path = `${this.baseUrl}${id}/`; | ||
|
||
return this.http.get(path).then(({ data }) => data); | ||
} | ||
|
||
launch(id, data) { | ||
return this.http.post(`${this.baseUrl}${id}/launch/`, data); | ||
} | ||
} | ||
|
||
export default SystemJobTemplates; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
🆒
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.
agree