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
File | Mode | Size |
---|---|---|
.bingo | ||
.github | ||
.husky | ||
.vim | ||
.vscode | ||
.yarn | ||
conf | ||
contribute | ||
cue | ||
cue.mod | ||
devenv | ||
docs | ||
e2e | ||
emails | ||
grafana-mixin | ||
packages | ||
packaging | ||
pkg | ||
plugins-bundled | ||
public | ||
scripts | ||
tools | ||
.bra.toml | -rw-r--r-- | 607 bytes |
.browserslistrc | -rw-r--r-- | 255 bytes |
.dockerignore | -rw-r--r-- | 243 bytes |
.drone.star | -rw-r--r-- | 1.2 KB |
.drone.yml | -rw-r--r-- | 110.0 KB |
.editorconfig | -rw-r--r-- | 453 bytes |
.eslintignore | -rw-r--r-- | 217 bytes |
.eslintrc | -rw-r--r-- | 745 bytes |
.gitattributes | -rw-r--r-- | 19 bytes |
.gitignore | -rw-r--r-- | 3.0 KB |
.linguirc | -rw-r--r-- | 539 bytes |
.nvmrc | -rw-r--r-- | 9 bytes |
.pa11yci-pr.conf.js | -rw-r--r-- | 3.0 KB |
.pa11yci.conf.js | -rw-r--r-- | 2.6 KB |
.prettierignore | -rw-r--r-- | 171 bytes |
.prettierrc.js | -rw-r--r-- | 95 bytes |
.yarnrc.yml | -rw-r--r-- | 2.3 KB |
CHANGELOG.md | -rw-r--r-- | 439.7 KB |
CHANGELOG_ARCHIVE.md | -rw-r--r-- | 191.1 KB |
CODE_OF_CONDUCT.md | -rw-r--r-- | 3.1 KB |
CONTRIBUTING.md | -rw-r--r-- | 4.5 KB |
Dockerfile | -rw-r--r-- | 2.7 KB |
Dockerfile.ubuntu | -rw-r--r-- | 2.4 KB |
GOVERNANCE.md | -rw-r--r-- | 12.7 KB |
ISSUE_TRIAGE.md | -rw-r--r-- | 24.9 KB |
LICENSE | -rw-r--r-- | 33.7 KB |
LICENSING.md | -rw-r--r-- | 624 bytes |
MAINTAINERS.md | -rw-r--r-- | 164 bytes |
Makefile | -rw-r--r-- | 5.0 KB |
NOTICE.md | -rw-r--r-- | 105 bytes |
PLUGIN_DEV.md | -rw-r--r-- | 1.9 KB |
README.md | -rw-r--r-- | 3.0 KB |
ROADMAP.md | -rw-r--r-- | 322 bytes |
SECURITY.md | -rw-r--r-- | 1.6 KB |
SUPPORT.md | -rw-r--r-- | 661 bytes |
UPGRADING_DEPENDENCIES.md | -rw-r--r-- | 3.2 KB |
WORKFLOW.md | -rw-r--r-- | 4.7 KB |
api-extractor.json | -rw-r--r-- | 920 bytes |
babel.config.json | -rw-r--r-- | 1.2 KB |
build.go | -rw-r--r-- | 182 bytes |
embed.go | -rw-r--r-- | 534 bytes |
go.mod | -rw-r--r-- | 13.1 KB |
go.sum | -rw-r--r-- | 341.8 KB |
jest.config.js | -rw-r--r-- | 1.8 KB |
latest.json | -rw-r--r-- | 52 bytes |
lerna.json | -rw-r--r-- | 118 bytes |
log | -rw-r--r-- | 0 bytes |
metadata.md | -rw-r--r-- | 0 bytes |
package.json | -rw-r--r-- | 14.5 KB |
stylelint.config.js | -rw-r--r-- | 1.5 KB |
tsconfig.json | -rw-r--r-- | 531 bytes |
yarn.lock | -rw-r--r-- | 1.2 MB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...