Commit Graph
346 Commits
Author SHA1 Message Date
Mariell Hoversholm ed0db3d0e0 feat: export metadata-less YAML resources (#96829)
* feat: export metadata-less YAML resources

* feat: add option to prefer YAML
2024-11-21 14:14:30 +01:00
Ryan McKinley 079f47221d POC/Provisioning: Parse and validate objects from repo (#96822) 2024-11-21 15:54:38 +03:00
Mariell Hoversholm d403f5255e POC/Prototype: Provisioning: add export endpoint (#96815)
* feat: add export endpoint

This is not at all complete, but acts as a good base.

* chore: more todos

* feat: fetch folders and their parents

* feat: export to folders

* refactor: use constant for folder key
2024-11-21 12:07:46 +01:00
Ryan McKinley f46ba6eba2 POC/Provisioning: rename "file" to "files" (#96814) 2024-11-21 12:09:10 +03:00
Ryan McKinley 303ea39218 no tabs in yaml 2024-11-21 11:13:32 +03:00
Ryan McKinley 738e1c983f no tabs in yaml 2024-11-21 11:13:32 +03:00
Ryan McKinley dedfcfd33f update 2024-11-21 11:13:32 +03:00
Adam Simpson 4a14befe91 ds-querier: account for -100 meaning __expr__ (#96565)
* ds-querier: account for -100 meaning __expr__

* temp debug log error parsing query

* var confusion

* log error
2024-11-21 11:13:32 +03:00
Ryan McKinley 82b47c3e79 POC/Provisioning: Return FileInfo from read (not just bytes) (#96813) 2024-11-21 10:37:32 +03:00
Ryan McKinley ac25114585 POC/Provisioning: update the worker identity every miniute (#96812) 2024-11-21 10:07:17 +03:00
Ryan McKinley 34be977c99 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2024-11-20 16:47:40 +03:00
Ryan McKinleyandRoberto Jimenez Sanchez dd7a0b4994 POC/Provisioning: use worker identity for webhook (#96758)
Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com>
2024-11-20 16:36:15 +03:00
Roberto Jiménez Sánchez 3d36ad42c0 [Prototyping] Implement write, delete and update operations for GitHub provisioning (#96757)
Implement delete, write and update for github provisioning
2024-11-20 14:14:23 +01:00
Ryan McKinley ffa47a9746 use admin 2024-11-20 16:02:16 +03:00
Ryan McKinley fbcc82ab17 POC/Provisioning: Add service for client with authorization (#96755) 2024-11-20 15:49:42 +03:00
Ryan McKinley b55cd2438c POC/Provisioning: Keep settings.Cfg out of the registry (#96746) 2024-11-20 14:05:11 +03:00
Roberto Jiménez Sánchez a9931ff283 [Provisioning] Add mutation hook to generate webhook URL and secret (#96742)
Add mutation hook to generate webhook URL and secret
2024-11-20 10:45:24 +01:00
Ryan McKinley 8fda03d3d5 POC/Provisioning: Add write hooks (#96670) 2024-11-19 17:25:45 +03:00
Roberto Jiménez Sánchez 76e494209f [Prototyping] automatically create github webhook in provisioning (#96645) 2024-11-19 14:54:29 +01:00
Stephanie Hingtgen 6571451a57 K8s: dashboards: fix conversion (#96648) 2024-11-19 05:32:05 -07:00
Ryan McKinley 7a2e9fc0c0 POC/Provisioning: Load local files (yaml or json) (#96653) 2024-11-19 11:08:43 +03:00
Mariell Hoversholm 1811e81900 chore: use slog instead of klog 2024-11-19 08:31:59 +01:00
Ryan McKinley d50afe3020 put back devenv 2024-11-19 06:18:32 +03:00
Ryan McKinley 9ca2d61620 fix tests 2024-11-19 05:54:34 +03:00
Ryan McKinley d6bd224040 POC/Provisioning: Split each implementation into an interface (#96638) 2024-11-18 18:28:39 +03:00
Ryan McKinley ce473e7d37 lint 2024-11-18 14:41:32 +03:00
Ryan McKinley c4b78ad824 Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync 2024-11-18 14:40:50 +03:00
Ryan McKinleyandMariell Hoversholm 8289c8a5eb POC/Provisioning: Add basic validation (#96615)
Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com>
2024-11-18 14:34:21 +03:00
Mariell Hoversholm 155d543520 feat: add last commit status with editing capability (#96604)
* feat: add a status with current git commit hash

* feat: allow editing status

* revert: undo some deleted code
2024-11-18 10:07:51 +01:00
Todd TreeceandStephanie Hingtgen 66d5c051aa Dashboards: Add v1alpha1 and v2alpha1 conversion (#96415)
---------

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2024-11-15 15:49:45 -05:00
Roberto Jiménez Sánchez cf15826360 [Prototype] Implement repository file read endpoint (#96569) 2024-11-15 17:33:40 +01:00
Ryan McKinley cc6d057a18 Provisioning: Rename k8s origin metadata to repo (#96524) 2024-11-15 17:26:14 +03:00
Ryan McKinley 4881ae063a POC/Provisioning: Add webhook and read stubs (#96540) 2024-11-15 17:24:06 +03:00
Arati R.andJean-Philippe Quéméner 2e62f75166 K8s/Folders: Allow recursive creation of DTO (#96439)
* Fix toDTO
* Remove conversion function for folder dto
* Convert toDTO to a standalone function

---------

Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com>
2024-11-15 15:21:57 +01:00
Ryan McKinley 264192a08b POC/Provisioning: update spec and examples (#96438) 2024-11-14 14:59:29 +03:00
Mariell Hoversholm 5213a801f2 test: integration test the helloworld subresource (#96443) 2024-11-14 12:01:04 +01:00
Mariell Hoversholm f2ab3dfa18 feat: add hello world subresource (#96425)
This adds the infrastructure we need for a basic subresource.
2024-11-14 09:25:02 +01:00
Mariell Hoversholm 59dc40ea0b feat: use standard registry storage 2024-11-14 08:36:05 +01:00
Mariell Hoversholm 0c169c8ed1 refactor: rename to provisioning 2024-11-13 15:05:18 +01:00
Mariell Hoversholm 53a9cccaa8 feat: use scope-like apiserver approach 2024-11-13 14:19:11 +01:00
Mariell Hoversholm fbe8151a9e feat: add repository type 2024-11-13 09:56:57 +01:00
Mariell Hoversholm f2fb4673df feat: register app 2024-11-13 08:30:21 +01:00
Mariell Hoversholm c39fbba42a feat: wire registry for app 2024-11-13 08:11:11 +01:00
Mariell Hoversholm 7a8ce1c0b9 feat: add register for app 2024-11-12 16:31:04 +01:00
Andres Martinez Gotor c3494614e3 PoC: Define userstorage API (#95557) 2024-11-12 12:56:41 +01:00
Georges Chaudy c3571752b6 Unitstore: Fix the Folder migration (#96078)
* UniStore: Add folder to the SQL backend

This reverts commit aaa4f4a23e.

* fix folder migration
2024-11-12 12:52:04 +01:00
Erik SundellandLevente Balogh 4c0dde6f2f Plugin Extensions: Streamline log messages (#95943)
* streamline log messages

* cleanup

* fix tests

* only log errors to the console

* more cleanup again

* cleanup

* Update public/app/features/plugins/extensions/errors.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* pr feedback

* remove white space

* Update public/app/features/plugins/extensions/registry/ExposedComponentsRegistry.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* revert touched file

* revert touched file

* fix tests

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2024-11-12 08:55:04 +01:00
Ryan McKinley c0de407fee K8s/Dashboards: Delegate large objects to blob store (#94943) 2024-11-09 08:09:46 +03:00
maicon b5e636b126 UniStore: Legacy List Folders must return all folders (#96062)
* UniStore: Legacy List Folders must return all folders

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2024-11-08 12:38:34 -03:00
Adam Simpson 9b0644e5c8 chore: move DatasourceUid parsing to ruler instead (#95972)
Reverts #95629

This reverts commit 3adc7c8771.
2024-11-07 21:48:29 -05:00