grafana/pkg/services/ngalert/api
gotjosh c9e5088e8b
Alerting: Cleanup and move legacy to a legacy file (#32803)
* Alerting: Cleanup and move legacy to a legacy file

A quick cleanup of the ngalert/api directory, optimising for an easy
removal of what is will be considered legacy at some point. A quick
summary of what's done is:

- Add a prefix `generated` prefix to files that are auto-generated by
  our swagger definitions.
- Create a legacy file to place all the legacy API routes implementation
  and helpers. Deleting files that where no longer needed after this
move.
- Rename the `lotex` file to `lotex_ruler`
- Adding a couple of comments here and there.

With this, I hope to organise our code in this directory a bit better
given there's a lot going on.
2021-04-09 05:55:41 -04:00
..
swagger-codegen Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
test-data Alerting: Allow querying of Alerts from notifications (#32614) 2021-04-08 07:27:59 -04:00
api_alertmanager.go Alerting: Allow querying of Alerts from notifications (#32614) 2021-04-08 07:27:59 -04:00
api_prometheus.go Alerting: Return cached alerts for prometheus/api/v1/alerts (#32654) 2021-04-05 15:05:39 -07:00
api_ruler.go AlertingNG: Temp endpoint to translate dashboard alert into rule group (#32694) 2021-04-07 14:28:06 +02:00
api_testing_mock.go AlertingNG: Unified alerting API mock (#32040) 2021-03-17 12:47:03 +02:00
api.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
fork_ruler.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
forked_am.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
forked_prom.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
generated_base_api_alertmanager.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
generated_base_api_prometheus.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
generated_base_api_ruler.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
generated_base_api_testing.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
legacy_api_routes.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
legacy_trans_dev.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
lotex_am.go safer, more idiomatic proxy helper (#32732) 2021-04-07 15:36:50 -04:00
lotex_prom.go safer, more idiomatic proxy helper (#32732) 2021-04-07 15:36:50 -04:00
lotex_ruler.go Alerting: Cleanup and move legacy to a legacy file (#32803) 2021-04-09 05:55:41 -04:00
util_test.go [Alerting]: implement backend checking for forking to Lotex ruler (#32208) 2021-03-23 18:08:57 +02:00
util.go Alerting: Allow querying of Alerts from notifications (#32614) 2021-04-08 07:27:59 -04:00