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

Replace Incident timestamp with start_time and end_time #92

Merged
merged 5 commits into from
Aug 4, 2020

Conversation

ddabble
Copy link
Contributor

@ddabble ddabble commented Aug 4, 2020

Resolves #52.

Resolves #45, with the following solution: Posted incidents don't have any default "active" value. Instead, if end_time with a non-null value is provided, the incident is stateful (and implicitly "active" if end_time is "infinity"); if end_time is omitted (or set to null), the incident has no state.

@ddabble ddabble requested review from jorgenbele and hmpf August 4, 2020 11:47
@hmpf hmpf merged commit d7a021b into Uninett:master Aug 4, 2020
@ddabble ddabble deleted the feature/incident-endtime branch August 4, 2020 12:49
@ddabble
Copy link
Contributor Author

ddabble commented Aug 4, 2020

Removing the ActiveIncident model will be done in an upcoming PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants