grafana-delivery-bot[bot]
2a87c627ad
[release-12.1.0] Alerting: Fix active time intervals when time interval is renamed ( #108547 )
...
Alerting: Fix active time intervals when time interval is renamed (#108534 )
(cherry picked from commit cc869e7668 )
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-07-23 18:26:50 +01:00
Stephanie Hingtgen
df07305465
Revert: Future-proofing query and data source model in Dashboard Sche… ( #107985 )
...
* Revert: Future-proofing query and data source model in Dashboard Schema v2
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2025-07-10 15:13:14 -05:00
Stephanie Hingtgen
f25d2fe7e2
Revert "Schema V2: Simplify annotations v1<->v2 conversions" ( #107984 )
...
Revert "Schema V2: Simplify annotations v1<->v2 conversions (#107390 )"
This reverts commit d5a1781fb6 .
2025-07-10 15:13:13 -05:00
Gabriel MABILLE
0417533b61
iam: add description field to roles (#107888 )
...
* iam: add description field to roles
* Openapi gen
* Revert launch change
2025-07-10 15:13:13 -05:00
maicon
4228ed789b
Folders: disable TestIntegrationFoldersGetAPIEndpointK8S ( #107897 )
...
* Folders: disable TestIntegrationFoldersGetAPIEndpointK8S
it's breaking the enteprise CI pipeline
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Run only against sqlite
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* noop: force backend change
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-07-09 15:44:20 +00:00
Daniele Stefano Ferru
d7f7a19c56
Dashboard permissions: Update integration tests to take into account kubernetesDashboards flag value ( #107706 )
...
Dashboard permissions: Update integration tests to take into account flag value
2025-07-09 08:46:27 +02:00
maicon
79ebe2dc10
Folders: Ensure all folder tests under /pkg/tests/apis/folders are handled as integrations tests ( #107801 )
...
Folders: ensure integration tests are executed in our CI pipeline
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-07-08 16:32:41 -03:00
maicon
53537148e1
Folders: reenable unit tests ( #107751 )
...
* Folders: reenable unit test TestFoldersCreateAPIEndpointK8S
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* reenable unit test TestFoldersGetAPIEndpointK8S
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-07-08 11:26:45 -03:00
Dominik Prokop
d5a1781fb6
Schema V2: Simplify annotations v1<->v2 conversions ( #107390 )
...
* Initial migration pending to test
* Update tests
* apply feedback
* Remove unnecessary types
* Fix types
* Update tests
* fixing tests
* Default DS for transformer
* Update the default DS
* Update the generated sdk files
* Restore commented tests
* Update tests
* Updating snapshots
* fix
* Do not preserve empty datasource in panel spec
* update provisioning v2 sample dashboard
* Fix test
* Prettier
* Fix import e2e
* Prettier
* restore commented tests
* Update to support annotations
* Lint
* Make gen apps
* Make the build pass
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
* Update grafana-app-sdk to 0.39.2
* Workspace update
* make gen-cue
* Runtime error fix
* Update dashboard spec
* Update go workspaces
* Schema V2: Simplify annotations v1<->v2 conversions
* Update public/app/features/dashboard-scene/serialization/transformSceneToSaveModelSchemaV2.ts
* Cleanup and some more tests
* test improvement
* Update public/app/features/dashboard-scene/serialization/transformSceneToSaveModelSchemaV2.ts
* Update go.sum
* make generate
* Update public/app/features/dashboard-scene/serialization/transformSceneToSaveModelSchemaV2.ts
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com >
* ts
* make gen-apps
* Update response transformers to correctly handle v2->v1 annotations
* Update dashboards openapi snapshot
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: spinillos <selenepinillos@gmail.com >
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com >
2025-07-08 14:42:30 +02:00
Yuri Tseretyan
d15e1ad8d0
Alerting: Fix route validation in provisioning service ( #107550 )
...
* introduce ExtraConfigsCrypto
* delete getLastConfiguration and move all code into method Get
* update legacy store to encrypt ExtraConfigs same way we do in MultiOrgAlertmanager
* update legacy store init
* delete PersistConfig
* remove unnecessary unmarshalling
* add better error
* add tests for legacy store
* add tests that cover extra config validation
* add integration test for conflicting routes
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-07-07 12:16:31 -04:00
Todd Treece
37c480def4
K8s: Add support for stored subresources in app runner ( #105481 )
2025-07-07 11:25:23 -04:00
Ivan Ortega Alba
075770070e
Future-proofing query and data source model in Dashboard Schema v2 ( #104194 )
...
---------
Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Igor Suleymanov <igor.suleymanov@grafana.com >
Co-authored-by: spinillos <selenepinillos@gmail.com >
2025-07-07 15:31:25 +02:00
Misi
713f6d1551
IAM: Move resource definitions to apps/iam step 1 ( #107389 )
...
* wip
* Use serviceaccount model from /apps/iam
* revert version update
* Add tembinding, userteam, other improvements
* Change serviceaccounttoken spec
* Revert the change of ServiceAccountToken
* Revert the change of UserTeam
* Clean up
* Remove files that are not needed for now
* Lint
* Update sql query's integration tests
* Fix tests
* update openapi spec
* Move LastSeenAt to the annotations
* Updte openapi_snapshots
* Change lastSeenAt annotation name
2025-07-04 11:07:48 +02:00
Andrej Ocenas
e76f470b44
NestedFolderPicker: Migrate to app platform API ( #106926 )
...
* Add /children endpoint
* Update folder client
* Add comment
* Add feature toggle
* Add new version of useFoldersQuery
* Error handling
* Format
* Rename feature toggle
* Remove options and move root folder constant
* Fix feature toggle merge
* Add feature toggle again
* Rename useFoldersQuery files
* Update API spec
* Fix test
* Add test
* Better typings
---------
Co-authored-by: Clarity-89 <homes89@ukr.net >
2025-07-03 16:15:23 +02:00
Ryan McKinley
acabe86153
APIServer: Exclude internal GroupVersionKind from openapi ( #107551 )
2025-07-02 19:32:01 -07:00
Matheus Macabu
7614089077
Secrets: Only register dependencies to start up ( #107504 )
2025-07-02 14:02:52 +02:00
Ryan McKinley
8b9e57f2f6
OFREP: Enable with standard aggregation ( #107349 )
2025-07-01 09:17:36 -07:00
Andres Martinez Gotor
2294620b2e
Advisor: Include optional more info in failures ( #107244 )
2025-07-01 10:49:16 +02:00
Dana Axinte
b46e305cb2
SecureValues: Remove actor prefix from decrypters ( #107433 )
...
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-07-01 08:40:26 +01:00
Stephanie Hingtgen
b1d3155b60
K8s: Library Panels: Add rerouting for get ( #107362 )
2025-06-30 13:26:24 -05:00
maicon
55e29d4405
Unistore: Reenable integration tests ( #107340 )
...
* Unistore: Reenable integration tests
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2025-06-30 10:32:12 -03:00
Roberto Jiménez Sánchez
9a95430815
Provisioning: Increase timeout for flaky CreateGithubRepository integration test ( #107091 )
...
Increase timeout CreateGithubRepository test
2025-06-24 08:49:59 +00:00
Stephanie Hingtgen
63bc65fa4c
Dashboards: Fix history list for dashboard uids that end in - ( #107073 )
2025-06-22 06:56:45 -06:00
Stephanie Hingtgen
ef6e28b955
K8s: Make v0alpha1 opt-in ( #107056 )
2025-06-20 16:37:17 -05:00
Arati R.
0b7e2f5601
K8s/Dashboards: Add mode 1, 2 to dashboard TestIntegrationValidation ( #107018 )
...
* Add mode 1 to dashboard TestIntegrationValidation
* Reject update with version conflict also in mode 1
* Add integration testing for mode 2
2025-06-20 13:11:26 +02:00
Roberto Jiménez Sánchez
3cb62e370b
Provisioning: Add pure git repository type ( #106815 )
...
* Add repository type git to spec
* Register git type
* Update test checks
2025-06-18 09:05:37 +02:00
Dana Axinte
dbe815ee68
SecretsManager: keepers with secure values credentials ( #106761 )
...
* SecretsManager: keepers with secure values
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
* Keepers: Refactor extract secure values remove extra helper functions
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-06-16 14:37:36 +01:00
Roberto Jiménez Sánchez
0ae635974e
App Platform Provisioning: Fix flaky test to assert dashboards deletion on repository deletion ( #106753 )
...
Use assert instead of require within eventually
2025-06-16 11:46:09 +02:00
Dana Axinte
6097841e67
SecretsManager: add secure value store ( #106708 )
...
* SecretsManager: add secure value model and sql templates
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
* SecretsManager: secure value rest layer to use store
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
* SecretsManager: temporary add actor prefix to decrypters
* Remove list securevalue by namefor now
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
2025-06-16 10:19:44 +01:00
Stephanie Hingtgen
feeced9618
K8s: Dashboards /apis: Fix library element connections ( #106734 )
2025-06-13 21:40:39 +02:00
Jean-Philippe Quéméner
5f21f320f7
fix(unified-storage): use continue token containing both formats for dualwriter ( #106525 )
2025-06-13 15:59:46 +02:00
Will Browne
edb0865caa
Chore: Ensure we save correct default admin user in integration test DB setup ( #105752 )
...
* fix helper + amend tests
* fix import + remove unused var
* remove more users
* remove unused code
* update test comment
2025-05-28 11:25:01 +01:00
Ryan McKinley
10f2b76156
Chore: Update apps codegen to v0.38.2 ( #106111 )
2025-05-28 12:35:44 +03:00
Ryan McKinley
d4c446f42c
Chore: Update k8s.io to v0.33.1 ( #105307 )
2025-05-28 00:13:18 +03:00
Oscar Kilhed
4f18ad30c9
SchemaV2: Remove legacy rows from schema v2. ( #105238 )
...
* save transparent setting
* make sure we test both transparent and non transparent
* no more legacy rows
* schema changes
* Add testing, fix first row offset
* Remove legacy row from transform test
* Remove panel that's not present in layout
* Remove expects after removing the row, fix lint issues
* Remove unused commit
* update codegen
* update openapi snapshot
* Fix snapshot
* add missing default prop
* Fix repeating, fix first row, fix not flushing last row
* Use correct repeater
* fix lint, remove unused empty check
* update codegen
* update openapi test snapshot
2025-05-26 14:33:30 +02:00
Peter Štibraný
c4d3eb1cd0
Remove support for Google Spanner database. ( #105846 )
...
* Remove support for Google Spanner database.
2025-05-23 11:35:59 +02:00
Dana Axinte
7f2923d4ed
SecretsManager: Introduce keeper store ( #105557 )
...
* SecretsManager: Introduce secret database wrapper
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* SecretsManager: Introduce db migrator with keeper table
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* SecretsManager: Introduce keeper store
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
* new line
* without query listByNameSecureValue
* remove unused extractSecureValues for now
* SecretsManager: Add keeper integration tests
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
---------
Co-authored-by: PoorlyDefinedBehaviour <brunotj2015@hotmail.com >
Co-authored-by: Leandro Deveikis <leandro.deveikis@gmail.com >
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2025-05-22 14:26:47 +01:00
Alexa V
b1a6860f52
Dashboards: Schema V2 - Rename Annotations 'options' to 'legacyOptions' and Fix stale props ( #105266 )
...
* Rename Annotations 'Options' to 'legacyOptions'
* use new legacyOptions in StandardAnnotationQueryEditor
* use new legacyOptions in transformSaveModelSchemaToScene
* use legacyOptions in transformSceneToSaveModelSchemaV2
* Fix bug with ds query editors not taking the latest state
* update snapshot
2025-05-20 17:55:30 +02:00
Sergej-Vlasov
03f1bb950b
DashboardSchemaV2: add missing allowCustomValue property in variables ( #105416 )
...
* add missing allowCustomValue property to variables in schema V2
* fix K8s Codegen Check
* updade snapshots for backend tests
2025-05-20 11:50:46 +01:00
Jean-Philippe Quéméner
002f46736a
refactor(unified-storage): move generated protos to own pkg ( #105356 )
2025-05-15 21:36:52 +02:00
Ryan McKinley
441fa18590
Chore: Update golang.org/x/ and do not omitempty Items ( #105371 )
...
* deps and omitempty Items
* update apis
2025-05-14 14:31:45 +03:00
Gilles De Mey
c78ae5cb76
Alerting: Move alerting codegen to --grouping=group ( #105068 )
2025-05-08 12:59:33 +00:00
Yuri Tseretyan
3e2296acd3
Alerting: Support for active time intervals in notification policies ( #104252 )
...
* add active_time_intervals to route model
* update k8s compat layer
* update notification policies service to validate active time intervals
* update integration tests
* update openapi
* add active time interval to model
* update route generator to include active time interval
* Update storage list and rename methods to handle active intervals
* update api model
* update provisioning and export models
* update ui to allow active timing config
* update i18n
* fix snapshots for ui tests
* run prettier
* Alerting: Active time intervals UI naming (#104402 )
* update naming in UI
* update naming in the edit page title
* update translations
* update alerting module
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
2025-05-07 19:19:33 -04:00
Yuri Tseretyan
85344e30c0
Alerting: Migrate notifications API to app-platform SDK application ( #104424 )
...
* introduce alerting notification app
* move code as is and remove from old registry
* update api server registration
* update make file and remove unnecessary args, copy some useful make commands from dashboards
* update codeowners
* move constants inside module and remove dependency from grafana
* add support for selectors to the app builder
2025-04-30 10:23:56 -04:00
Stephanie Hingtgen
129e8bb1e4
Dashboards: Fix moving to general folder ( #104655 )
2025-04-30 03:03:57 +03:00
Stephanie Hingtgen
43d0053c80
K8s: Dashboards: Fix transformation between v1 and v2 ( #104502 )
2025-04-25 05:06:49 -06:00
Ryan McKinley
2e51096eb4
Provisioning: Export dashboards with conversion errors ( #104369 )
2025-04-24 14:16:25 +01:00
Andres Martinez Gotor
edeff68645
Advisor: Allow to retry checks for a single element ( #104279 )
2025-04-24 12:00:32 +02:00
Victor Marin
faa33e30a9
Schema: Add origin property to AdHocFilterWithLabels ( #104320 )
...
* add origin to AdHocFilterWithLabels
* typo
* fix
* use singular for FilterOrigin
* run ./hack/update-codegen.sh
* add canary scenes to verify typechecks
* update dashboard schema json snapshot
* fix
* fix
* update canaries
* fix
* bump scenes version
2025-04-24 11:13:17 +03:00
Ryan McKinley
b09d79b21c
K8s/Dashboard: Promote from alpha1 to beta1 ( #104009 )
2025-04-23 20:54:35 +03:00