Peter Štibraný and GitHub
7fd9ab9481
Replace check for integration tests. ( #110707 )
...
* Replace check for integration tests.
* Revert changes in pkg/tsdb/mysql packages.
* Fix formatting of few tests.
2025-09-08 15:49:49 +02:00
Matheus Macabu and GitHub
f2b96593ea
SQL: close rows to release connection ( #97147 )
...
* SQL: close rows to release connection
* dont return err from rows.Close()
2024-11-28 14:28:55 +01:00
Ryan McKinley and GitHub
9563c896ee
Playlists: limit the total number of playlists ( #92132 )
2024-08-21 14:49:28 +03:00
Dan Cech and GitHub
790e1feb93
Chore: Update test database initialization ( #81673 )
...
* streamline initialization of test databases, support on-disk sqlite test db
* clean up test databases
* introduce testsuite helper
* use testsuite everywhere we use a test db
* update documentation
* improve error handling
* disable entity integration test until we can figure out locking error
2024-02-09 09:35:39 -05:00
Ryan McKinley and GitHub
539bc6d31b
Playlist: Implement a more efficient List command to support k8s list ( #79820 )
2023-12-21 15:03:12 -08:00
Ryan McKinley and GitHub
dd773e74f1
K8s: Implement playlist api with k8s client ( #77405 )
2023-10-31 10:26:39 -07:00
Kristin Laemmert and GitHub
15c1d5f636
chore: add basic tracing to playlist service ( #77165 )
2023-10-26 09:25:31 -04:00
Ryan McKinley and GitHub
29cf60988b
Playlist: Use a different go struct for sql service vs k8s ( #76393 )
2023-10-12 08:29:06 -07:00
Ryan McKinley and GitHub
c26e3d80e3
Playlist: Add create+update timestamps to the database ( #76295 )
2023-10-10 12:46:12 -07:00
Ryan McKinley and GitHub
bbdd1fc3b1
Playlist: Remove unused/deprecated api and unused wrapper ( #75503 )
2023-09-27 15:28:16 +00:00
Dan Cech and GitHub
85a207fceb
Chore: Replace entity GRN with infra/grn GRN ( #74198 )
...
replace entity GRN with infra/grn GRN
2023-08-31 15:43:35 -04:00
Selene and GitHub
7ace44c8b5
Chore: Update oapi-codegen library ( #62962 )
...
* Update oapi library and thema
* Use fork commit to fix elasticsearch and cloudwatch generators
* Update thema
* Fixes
* Update thema with last fixes
* Sync
* Fix test
* Update thema and schemas
* Update thema
2023-02-21 12:34:24 +01:00
Kristin Laemmert and GitHub
dd147a3c31
chore: move entity models into entity store service ( #62145 )
2023-01-25 12:43:22 -05:00
Kat Yang and GitHub
9a14a7db03
Chore: Remove star model duplicates ( #61191 )
2023-01-10 09:56:33 -05:00
Ryan McKinley and GitHub
d036225f7b
Chore: get user from appcontext rather than store utility ( #59926 )
...
user from appcontext
2022-12-07 07:38:23 -08:00
Ryan McKinley and GitHub
fb98a97efa
EntityStore: Move slug+folder to summary metadata ( #59620 )
2022-12-01 14:45:08 -05:00
Ryan McKinley and GitHub
14a080ec12
EntityStore: Rename ObjectStore to EntityStore (part 2) ( #59616 )
2022-11-30 17:52:15 -05:00
Ryan McKinley and GitHub
5dc7b01f9d
EntityStore: Rename ObjectStore to EntityStore (part 1) ( #59613 )
2022-11-30 13:42:42 -08:00
Ryan McKinley and GitHub
b4b843be66
ObjectStore: Replace path model with folder, uid, and slug model ( #59452 )
2022-11-30 12:10:35 -08:00
Dan Cech and GitHub
9ea6a43089
Build: clean up and document integration test convention ( #58170 )
...
* clean up and document integration test convention
* clarify integration test conventions
* clean up integration tests that don't follow convention
* mark testIntegration* functions as helpers to avoid confusion
2022-11-04 10:14:21 -04:00
Ryan McKinley and GitHub
3dfa49b376
Playlist: cleanup object store implementation ( #58201 )
2022-11-03 16:35:20 -07:00
Ryan McKinley and GitHub
3527cad9dc
Store: protobuf based GRN/identifier ( #57714 )
2022-10-31 07:26:16 -07:00
Ryan McKinley and GitHub
a3acfb1a48
Chore: Register a feature flag for "newDBLibrary" ( #57468 )
2022-10-25 18:20:41 -07:00
Ryan McKinley and GitHub
e6575bab76
Playlist: allow using object store as the backend ( #57467 )
2022-10-25 16:51:01 -07:00
Kristin Laemmert and GitHub
05709ce411
chore: remove sqlstore & mockstore dependencies from (most) packages ( #57087 )
...
* chore: add alias for InitTestDB and Session
Adds an alias for the sqlstore InitTestDB and Session, and updates tests using these to reduce dependencies on the sqlstore.Store.
* next pass of removing sqlstore imports
* last little bit
* remove mockstore where possible
2022-10-19 09:02:15 -04:00
ba97b268d0
Playlist: Split PlaylistItem into standalone TS type ( #56343 )
...
* playlist: Split PlaylistItem into standalone TS type
* update playlist model
* actually set the title
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-10-04 16:08:26 -04:00
Ryan McKinley and GitHub
3b1a8d45ed
Playlist: update service so it supports both read+write ( #55959 )
2022-10-04 11:11:18 -04:00
sam boyer and GitHub
9ec7b202b6
playlist: introduce coremodel schema, swap in for backend DTO types ( #56048 )
...
* Add simplest possible playlist schema
* Add @grafana(decisionNeeded) attributes
* playlistid, not playlist_id
2022-09-30 06:33:11 -04:00
ying-jeanne and GitHub
25de383540
Chore: Replace xorm with sqlx ( #52575 )
...
* Change of sqlstore to use sqlx
* Use sqlx in the playlist store
* Refectory of the interface
* update playlist service
* go mod tidy
* some refectory on interface
* fix kyle
2022-08-16 13:17:14 -05:00
ying-jeanne and GitHub
af09638a0d
remove the sqlstore playlist methods ( #53415 )
2022-08-08 11:06:06 -05:00
Sofia Papagiannaki and GitHub
fb379ae436
Chore: Introduce playlist service ( #52252 )
...
* Store: Introduce playlist service
* Integrate playlist service
* Update swagger
2022-07-18 05:26:35 -04:00