Revision eab68184c8db1157e7ba2a27112c659016ac5829 authored by Alexander Weaver on 04 February 2022, 19:23:19 UTC, committed by grafanabot on 04 February 2022, 19:24:07 UTC
* Simplistic store API for provenance lookups on arbitrary types

* Add a few notes in comments

* Improved type safety for provisioned objects

* Clean-up TODOs for future PRs

* Clean up provisioning model

* Clean up tests

* Restrict allowable types in interface

* Fix linter error

* Move AlertRule domain methods to same file as AlertRule definition

* Update pkg/services/ngalert/models/provisioning.go

Co-authored-by: George Robinson <george.robinson@grafana.com>

* Complete interface rename

* Pass context through store API

* More idiomatic method names

* Better error description

* Improve code-docs

* Use ORM language instead of raw sql

* Add support for records in different orgs

* ResourceTypeID -> ResourceType since it's not an ID

Co-authored-by: George Robinson <george.robinson@grafana.com>
(cherry picked from commit 935059a37648ae114d6754b59c4f5b89efee4865)
1 parent ce185ce
Raw File
.gitattributes
* text=auto eol=lf
back to top