Yuri Tseretyan
f561e71de8
Alerting: decouple api models from domain\dto models: separate Provenance status + converters ( #63594 )
...
* move conversions of domain models to api models and reverse from definition package to api package
2023-02-27 17:57:15 -05:00
Serge Zaitsev
d6d4097567
Chore: Fix goimports grouping in alerting ( #62424 )
...
* fix goimports
* fix goimports order
2023-01-30 09:55:35 +01:00
Jean-Philippe Quéméner
d88f1c8e35
Alerting: validate am config changes before persisting ( #54908 )
2022-09-09 10:05:52 +02:00
Jean-Philippe Quéméner
8de4ffe61f
Alerting: only delete mute time if not used by route ( #50193 )
...
* Alerting: only delete mute time if not used by route
* add a testcase
* import package only once
* replace apimodels with definitions
2022-06-04 07:48:24 +02:00
Alexander Weaver
909ebcf979
Alerting: Endpoints for provisioning mute timings ( #49635 )
...
* Add validator for mute timing and make it provisionable
* Add tests to ensure prometheus validators are running and errors are propagated
* Internal API for manipulating mute timings
* Define and generate API layer
* Wire up generated code
* Implement API handlers
* Tests for golang layer
* Fix reference bug
* Fix linter and auth tests
* Resolve semantic errors and regenerate
* Remove pointless comment
* Extract out provisioning path param keys, simplify
* Expected number of paths
2022-05-26 14:24:34 -05:00
Alexander Weaver
a92f85a87b
Alerting: Factor out shared code for working with configs in provisioning package ( #49419 )
...
* Factor out shared code for working with configs
* Refactor in notification policies and contact points
* Better file ordering
* Address feedback
2022-05-23 18:16:03 -05:00
Alexander Weaver
9af30f6570
Alerting: Provisioning GET routes for mute timings ( #49044 )
...
* Define GET routes and run codegen
* Wire up forked and non-generated API
* Implement and wire
* Tests, authorization
* Fix linter error
2022-05-17 13:42:48 -05:00