-
Notifications
You must be signed in to change notification settings - Fork 15
Add INCIDENT_RESTART event #1504
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
Open
jladd-geant
wants to merge
12
commits into
Uninett:master
Choose a base branch
from
jladd-geant:incident-restart-event
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 5 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
ba2d95f
Add INCIDENT_RESTART event type
jladd-geant 54748f8
Implement INCIDENT_RESTART event type
jladd-geant 0734263
Add changelog
jladd-geant 46943b6
Add INCIDENT_RESTART to docs
jladd-geant 9a11c8e
fixup! Implement INCIDENT_RESTART event type
jladd-geant 2fc6736
fixup! fixup! Implement INCIDENT_RESTART event type
jladd-geant 61d17b2
Merge branch 'master' into incident-restart-event
jladd-geant 6b649a9
fixup! Add INCIDENT_RESTART event type
jladd-geant 9e989b8
Add tests for INCIDENT_RESTART
jladd-geant 6ae3ba4
fixup! fixup! fixup! Implement INCIDENT_RESTART event type
jladd-geant 8865704
Amend incident end docs
jladd-geant 6abdd2a
Combine duplicate test functionality
jladd-geant 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 hidden or 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 @@ | ||
Add INCIDENT_RESTART event type to allow source systems to reopen incidents |
This file contains hidden or 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
50 changes: 50 additions & 0 deletions
50
...us/incident/migrations/0002_alter_event_id_alter_event_type_alter_incident_id_and_more.py
This file contains hidden or 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,50 @@ | ||
# Generated by Django 5.2 on 2025-06-18 09:32 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("argus_incident", "0001_squashed_incident_20250514"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="event", | ||
name="id", | ||
field=models.BigAutoField(primary_key=True, serialize=False), | ||
), | ||
migrations.AlterField( | ||
model_name="event", | ||
name="type", | ||
field=models.TextField( | ||
choices=[ | ||
("STA", "Incident start"), | ||
("END", "Incident end"), | ||
("CHI", "Incident change"), | ||
("RES", "Incident restart"), | ||
("CLO", "Close"), | ||
("REO", "Reopen"), | ||
("ACK", "Acknowledge"), | ||
("OTH", "Other"), | ||
("LES", "Stateless"), | ||
] | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="incident", | ||
name="id", | ||
field=models.BigAutoField(primary_key=True, serialize=False), | ||
), | ||
migrations.AlterField( | ||
model_name="incidenttagrelation", | ||
name="id", | ||
field=models.BigAutoField(primary_key=True, serialize=False), | ||
), | ||
migrations.AlterField( | ||
model_name="tag", | ||
name="id", | ||
field=models.BigAutoField(primary_key=True, serialize=False), | ||
), | ||
] |
This file contains hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.