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

Configurable lookback window #170

Open
glennmatthews opened this issue Dec 7, 2021 · 0 comments
Open

Configurable lookback window #170

glennmatthews opened this issue Dec 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@glennmatthews
Copy link
Contributor

Environment

  • Nautobot version: 1.1.5
  • nautobot-circuit-maintenance version: 0.4.1

Proposed Functionality

When running the handle_notifications job, allow the user to optionally specify a lookback window relative to the last previously processed notification, instead of hard-coding this window to 1 day.

Use Case

For cases where an email or group of emails failed, and the parser libraries have now been updated to handle those emails, it would be useful to be able to manually re-run the job with a lookback window of N days so as to re-process those emails.

It might be necessary to manually delete the RawNotification records corresponding to the failed emails so that they get re-processed; another option would be to make the job smart enough to distinguish between "parsed successfully" and "parsing failed" notifications (by checking for the existence of a corresponding ParsedNotification record?) and re-processing the failed emails regardless?

@glennmatthews glennmatthews added the enhancement New feature or request label Dec 7, 2021
itdependsnetworks pushed a commit to itdependsnetworks/nautobot-app-circuit-maintenance that referenced this issue Apr 3, 2024
…autobot#170)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant