Commit 3d74514
authored
[Streams] Merge AssetClient into QueryClient (elastic#242998)
It closes elastic#243479
## Summary
This PR merges `AssetClient` into `QueryClient`, simplifying the
codebase by removing an unnecessary abstraction layer.
### Background
The `AssetClient` was originally designed as a generic data access layer
for managing different asset types linked to streams. However, with the
introduction of `AttachmentClient` to handle dashboards, rules, and
SLOs, the only remaining asset type managed by `AssetClient` is `query`
(significant events).
Since `AssetClient` and `QueryClient` were always used together and
`query` is now the only asset type, maintaining two separate clients
added unnecessary complexity.1 parent 432dfd0 commit 3d74514
17 files changed
Lines changed: 418 additions & 525 deletions
File tree
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
Lines changed: 0 additions & 359 deletions
This file was deleted.
0 commit comments