grafana/pkg/api/pluginproxy
Victor Cinaglia 967e9b39e8
Fix panic when using complex dynamic URLs in app plugin routes (#27977)
* remove unused function to interpolate URLs

* share function to add headers between ds/plugin proxies

* stop performing unnecessary plugin setting lookup

* fix bug causing runtime errors when using complex templated URLs

* lower case util functions not used outside of pluginproxy package

* change test URL to a (valid) dummy URL to make intent clearer

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-17 10:56:42 +01:00
..
test-data dsproxy: allow multiple access tokens per datasource 2018-06-12 17:39:38 +02:00
access_token_provider_test.go Chore: Disable scopelint for tests (#25923) 2020-06-30 11:05:47 +02:00
access_token_provider.go Fix panic when using complex dynamic URLs in app plugin routes (#27977) 2020-11-17 10:56:42 +01:00
ds_auth_provider_test.go Fix panic when using complex dynamic URLs in app plugin routes (#27977) 2020-11-17 10:56:42 +01:00
ds_auth_provider.go Fix panic when using complex dynamic URLs in app plugin routes (#27977) 2020-11-17 10:56:42 +01:00
ds_proxy_test.go Data source proxy: Convert 401 from data source to 400 (#28962) 2020-11-13 13:21:43 +01:00
ds_proxy.go Data source proxy: Convert 401 from data source to 400 (#28962) 2020-11-13 13:21:43 +01:00
pluginproxy_test.go Fix panic when using complex dynamic URLs in app plugin routes (#27977) 2020-11-17 10:56:42 +01:00
pluginproxy.go Fix panic when using complex dynamic URLs in app plugin routes (#27977) 2020-11-17 10:56:42 +01:00
utils_test.go Fix panic when using complex dynamic URLs in app plugin routes (#27977) 2020-11-17 10:56:42 +01:00
utils.go Fix panic when using complex dynamic URLs in app plugin routes (#27977) 2020-11-17 10:56:42 +01:00