Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
gwcelery
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
emfollow
gwcelery
Merge requests
!996
Add manual RAVEN alert in flask app
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add manual RAVEN alert in flask app
naresh.adhikari/gwcelery:raven-alert-initiate-flask
into
main
Overview
3
Commits
1
Pipelines
0
Changes
2
All threads resolved!
Show all comments
Merged
Naresh Adhikari
requested to merge
naresh.adhikari/gwcelery:raven-alert-initiate-flask
into
main
2 years ago
Overview
3
Commits
1
Pipelines
0
Changes
2
All threads resolved!
Show all comments
Expand
Added a function that applies 'RAVEN_ALERT' label in the GWCelery dashboard using Flask.
0
0
Merge request reports
Compare
main
version 3
b4d2cf24
2 years ago
version 2
a7139d8b
2 years ago
version 1
2e1b75a0
2 years ago
main (base)
and
version 2
latest version
0566a6e5
1 commit,
2 years ago
version 3
b4d2cf24
3 commits,
2 years ago
version 2
a7139d8b
2 commits,
2 years ago
version 1
2e1b75a0
1 commit,
2 years ago
2 files
+
74
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
gwcelery/templates/index.jinja2
+
53
−
0
Options
@@ -253,6 +253,59 @@
</form>
</div>
</div>
<div class="card mb-3">
<div class=card-header>
Designate External Coincidence
</div>
<div class=card-body>
<form method=post action="{{ url_for('apply_raven_labels') }}">
<div class=form-row>
<div class=form-group>
<div class=form-text>Applying RAVEN alert labels. This will launch a public alert if none has been issued for the superevent.</div>
</div>
</div>
<div class="form-row">
<div class="form-group col-md">
<label for=superevent_id>Superevent ID</label>
<input required name=superevent_id class="form-control typeahead">
</div>
<div class="form-group col-md">
<label for=ext_id>External event ID</label>
<input required name=ext_id class="form-control typeahead">
</div>
<div class="form-group col-md">
<label for=event_id>Preferred event ID</label>
<input required name=event_id class="form-control typeahead" data-typeahead-url-template="{{ url_for('typeahead_event_id', superevent_id='SUPEREVENT_ID') }}">
</div>
<div class="form-group col-md">
<label for=submit-button class=w-100> </label>
<button type=submit id=submit-button name=submit-button class="btn btn-primary">Submit</button>
</div>
</div>
<div class="modal fade" tabindex=-1 role=dialog aria-labelledby=apply_raven_labels>
<div class=modal-dialog role=document>
<div class=modal-content>
<div class=modal-header>
<h5 class=modal-title id=apply_raven_labels>
Really apply RAVEN alert label?
</h5>
<button type=button class=close data-dismiss=modal aria-label=Close>
<span aria-hidden="true">×</span>
</button>
</div>
<div class=modal-body>
Are you sure that you want to apply RAVEN alert label?
</div>
<div class=modal-footer>
<button type=button class="btn btn-secondary" data-dismiss=modal>Cancel</button>
<button type=submit class="btn btn-danger">Submit</button>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="card mb-3">
<div class=card-header>
Issue Mock Event
Loading