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

92 clean up task technical debt clean up #118

Merged
merged 16 commits into from
Dec 3, 2024

Conversation

Omega65536
Copy link
Contributor

All TODOs done:

  • Switch to decimal numbers (frontend, backend, analyzer) (have noticed there are also some backups < 1 MB)
  • Check for duplicate alarms in the backend
  • alarmLimit should be optional QueryParam according to REST style
  • We need an env variable in the backend to activate/deactivate the mailing, otherwise it's super annoying
  • Actually, the analyzer should only check new backups that have not yet been checked:
    The backend offers an API to query the last alert created for a specific alert type and backup type. The analyzer only sends alerts for new backups created after that time.
  • Do not only import FULL backups, so that alerts can also be linked to them. But do not deliver them to the frontend

heskil and others added 16 commits November 29, 2024 15:45
…ical-debt-clean-up

# Conflicts:
#	apps/analyzer/metadata_analyzer/simple_rule_based_analyzer.py
Signed-off-by: Florian Oberndörfer <[email protected]>
Signed-off-by: Florian Oberndörfer <[email protected]>
…ical-debt-clean-up

# Conflicts:
#	apps/backend/src/app/alerting/alerting.controller.ts
Signed-off-by: engelharddirk <[email protected]>
Signed-off-by: Oliver Schnell <[email protected]>
…:amosproj/amos2024ws02-backup-metadata-analyzer into 92-clean-up-task-technical-debt-clean-up
…ical-debt-clean-up

# Conflicts:
#	apps/backend/src/app/alerting/alerting.controller.ts
#	apps/backend/src/app/alerting/alerting.service.ts
Signed-off-by: Florian Oberndörfer <[email protected]>
@heskil heskil self-requested a review December 3, 2024 11:13
Copy link
Contributor

@heskil heskil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes that were not authored by me are appropriate and cleaner than before. Further changes are needed for correctly implementing analysis of only new data, but that will be adressed next sprint.

@Omega65536
Copy link
Contributor Author

I reviewed the code written by @heskil. The changes meet the requirements and the code looks great.

@Omega65536 Omega65536 merged commit 3f449a7 into dev Dec 3, 2024
2 checks passed
@flo0852 flo0852 deleted the 92-clean-up-task-technical-debt-clean-up branch December 5, 2024 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants