grafana/pkg/api
idafurjes e822c8a24d
CloudMonitoring: Migrate to use backend plugin SDK contracts (#38650)
* Use SDK contracts for cloudmonitoring

* Get build running, tests passing and do some refactoring (#38754)

* fix build+tests and refactor

* remove alerting stuff

* remove unused field

* fix plugin fetch

* end to end

* resp rename

* tidy annotations

* reformatting

* update refID

* reformat imports

* fix styling

* clean up unmarshalling

* uncomment + fix tests

* appease linter

* remove spaces

* remove old cruft

* add check for empty queries

* update tests

* remove pm as dep

* adjust proxy route contract

* fix service loading

* use UNIX val

* fix endpoint + resp

* h@ckz for frontend

* fix resp

* fix interval

* always set custom meta

* remove unused param

* fix labels fetch

* fix linter

* fix test + remove unused field

* apply pr feedback

* fix grafana-auto intervals

* fix tests

* resolve conflicts

* fix bad merge

* fix conflicts

* remove bad logger import

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
Co-authored-by: Will Browne <will.browne@grafana.com>
2021-10-08 14:46:35 +02:00
..
apierrors Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
avatar Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
datasource Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00
dtos Allow white labeling loading logo (#36174) 2021-07-02 14:17:10 +02:00
frontendlogging PluginManager: Make remaining plugin state non-global (#32094) 2021-03-18 13:53:01 +01:00
navlinks AccessControl: frontend changes for adding FGAC to licensing (#39484) 2021-10-05 14:54:26 +01:00
pluginproxy CloudMonitoring: Migrate to use backend plugin SDK contracts (#38650) 2021-10-08 14:46:35 +02:00
response [Alerting] Forking LoTex ruler (#32138) 2021-03-19 10:32:13 -04:00
routing Macaron cleanup (#37795) 2021-08-30 11:48:34 +02:00
static Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
acl.go Chore: Propagate context for dashboard guardian (#39201) 2021-09-23 17:43:32 +02:00
admin_provisioning_test.go Revert "Revert "AccessControl: Implement a way to register fixed roles (#35641)" (#37397)" (#37535) 2021-08-04 14:44:37 +02:00
admin_provisioning.go Chore: Add context for dashboards (#39844) 2021-10-05 13:26:24 +02:00
admin_test.go Access Control: Add fine-grained access control to GET stats and settings handlers (#35622) 2021-06-14 17:36:48 +02:00
admin_users_test.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
admin_users.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
admin.go Chore: Add context to star and stats (#39591) 2021-09-28 17:54:45 +02:00
alerting_test.go Search: add sort information in dashboard results (#30609) 2021-02-11 08:49:16 +01:00
alerting.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
annotations_test.go Annotations: Adds tags endpoint (#36199) 2021-06-30 13:42:54 +02:00
annotations.go Chore: Propagate context for dashboard guardian (#39201) 2021-09-23 17:43:32 +02:00
api.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
apikey.go Return 404 when deleting non-existing API key (#33346) 2021-04-28 13:30:09 +02:00
app_routes.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
basic_auth_test.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
basic_auth.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
common_test.go Create search filters by interface (#39843) 2021-10-07 16:06:16 +02:00
dashboard_permission_test.go Chore: Propagate context for dashboard guardian (#39201) 2021-09-23 17:43:32 +02:00
dashboard_permission.go Chore: Propagate context for dashboard guardian (#39201) 2021-09-23 17:43:32 +02:00
dashboard_snapshot_test.go Chore: Refactor securedata to remove global encryption calls from dashboard snapshots (#38714) 2021-09-01 13:05:15 +02:00
dashboard_snapshot.go Fix static path matching issue in macaron (#40023) 2021-10-05 19:38:09 +02:00
dashboard_test.go Chore: Cleanup usageStatsMock duplication (#39710) 2021-09-29 09:59:02 +03:00
dashboard.go LibraryPanels: Refactor to use context.Context instead of models.ReqContext (#39561) 2021-09-27 09:04:36 +02:00
dataproxy.go Data Source Proxy: Migrate proxy to its own service and make more extensible (#31927) 2021-03-17 13:10:40 -04:00
datasources_test.go Access control: Add a scope to Data Sources GET endpoint (#38933) 2021-09-07 17:13:11 +02:00
datasources.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
fakes.go PluginManager: Make remaining plugin state non-global (#32094) 2021-03-18 13:53:01 +01:00
folder_permission_test.go Chore: Propagate context for dashboard guardian (#39201) 2021-09-23 17:43:32 +02:00
folder_permission.go Chore: Propagate context for dashboard guardian (#39201) 2021-09-23 17:43:32 +02:00
folder_test.go Chore: GetDashboardQuery should be dispatched using DispatchCtx (#36877) 2021-09-14 16:08:04 +02:00
folder.go LibraryPanels: Refactor to use context.Context instead of models.ReqContext (#39561) 2021-09-27 09:04:36 +02:00
frontend_logging_test.go PluginManager: Make remaining plugin state non-global (#32094) 2021-03-18 13:53:01 +01:00
frontend_logging.go Logging: sourcemap support for frontend stacktraces (#30590) 2021-02-04 08:37:28 +02:00
frontend_metrics.go FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus (#32593) 2021-04-01 20:04:02 +02:00
frontendsettings_test.go AccessControl: frontend changes for adding FGAC to licensing (#39484) 2021-10-05 14:54:26 +01:00
frontendsettings.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
grafana_com_proxy.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
health_test.go Backend: Migrate to using non-global configuration (#31856) 2021-03-10 12:41:29 +01:00
health.go API: Query database from /api/health endpoint (#28349) 2020-10-21 11:06:19 +02:00
http_server_test.go Tests: Batch of GoConvey to Testify conversions (#27008) 2020-08-14 14:43:25 +02:00
http_server.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
index.go NavBar: Order App plugins alphabetically (#40078) 2021-10-07 10:08:47 +01:00
ldap_debug_test.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
ldap_debug.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
login_oauth.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
login_test.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
login.go Encryption: Refactor securejsondata.SecureJsonData to stop relying on global functions (#38865) 2021-10-07 17:33:50 +03:00
metrics.go Grafana: include a built-in backend datasource (#38571) 2021-09-10 07:44:47 -07:00
org_invite.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
org_users_test.go Create search filters by interface (#39843) 2021-10-07 16:06:16 +02:00
org_users.go Chore: Add context to org users (#39526) 2021-09-27 16:43:16 +02:00
org.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
password.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
playlist_play.go Search: add sort information in dashboard results (#30609) 2021-02-11 08:49:16 +01:00
playlist.go Chore: Moves common and response into separate packages (#30298) 2021-01-15 14:43:20 +01:00
plugins_test.go track signature files + add warn log (#38938) 2021-09-08 08:49:05 +02:00
plugins.go LibraryPanels: Refactor to use context.Context instead of models.ReqContext (#39561) 2021-09-27 09:04:36 +02:00
preferences.go API: Add theme validation (#38432) 2021-08-24 08:41:15 +02:00
quota.go Chore: Propagate context for quotas (#39205) 2021-09-20 17:05:30 +02:00
render.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
roles.go AccessControl: Extend scope parameters with extra params from context (#39722) 2021-10-06 13:15:09 +02:00
search.go Search: add sort information in dashboard results (#30609) 2021-02-11 08:49:16 +01:00
short_url_test.go Chore: Refactor short url api test (#35051) 2021-06-01 20:34:59 +02:00
short_url.go Chore: pass url parameters through context.Context (#38826) 2021-09-14 18:34:56 +02:00
signup.go Login: Replace command dispatch by explicit call (#32088) 2021-03-18 17:16:56 +01:00
stars.go Profile: Fixes profile preferences being accessible when anonymous access was enabled (#31516) 2021-02-27 18:04:28 +01:00
team_members_test.go Add an option to hide certain users in the UI (#28942) 2020-11-24 12:10:32 +01:00
team_members.go Chore: Replace Command dispatches by explicit calls (#32131) 2021-03-19 09:14:14 +01:00
team_test.go Macaron: remove custom Request type (#37874) 2021-09-01 11:18:30 +02:00
team.go Chore: Replace Command dispatches by explicit calls (#32131) 2021-03-19 09:14:14 +01:00
user_test.go Create search filters by interface (#39843) 2021-10-07 16:06:16 +02:00
user_token_test.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
user_token.go add context to getsignedinUser calls (#35963) 2021-06-21 07:51:33 +02:00
user.go Chore: Add context to user (#39649) 2021-10-04 15:46:09 +02:00
utils.go Permissions: Validate against Team/User permission role update (#29101) 2020-11-18 15:36:41 +01:00