Commit 065ee36
committed
feat(repo): add RepoProxy service for element repository management
Introduce the exordos_core.repo module providing a proxy layer over
external element repositories (nginx HTTP and local bootstrap drivers)
with refresh/sync, lazy element actualization, and version/dependency
resolution.
- Add DM models (Repository, RepoElement, RepoArtifact), driver specs,
status enums and migration 0062-init-repo-tables
- Implement AbstractProxyRepoDriver with Bootstrap and Nginx drivers
- Add RepoProxyBuilderService and RepoElementBuilderService plus a
universal agent driver translating resource ops into EM manifest
lifecycle
- Expose /v1/repo/ user API with repository refresh/upload and element
install/uninstall/upgrade/edit actions
- Add exordos-repo-proxy-gservice (cmd, systemd unit, install/bootstrap
wiring, launchpad config)
- Refactor bootstrap to provision elements via RepoProxy instead of
direct EM manifest installation
- Extend EM Manifest.install/upgrade to return the created Element and
accept a session; simplify Manifest.uninstall filtering
Signed-off-by: Anton Kremenetsky <anton.kremenetsky@gmail.com>1 parent 6e96eba commit 065ee36
45 files changed
Lines changed: 4829 additions & 72 deletions
File tree
- etc
- exordos_core
- exordos_universal_agent
- systemd
- exordos_core
- cmd
- common
- compute/builders
- elements/dm
- repo
- agents
- universal
- drivers
- builders
- dm
- drivers
- tests
- functional/service
- unit/repo
- user_api
- api
- em/api
- repo
- api
- exordos
- images
- migrations
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
39 | 47 | | |
40 | 48 | | |
41 | 49 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
151 | 152 | | |
152 | 153 | | |
153 | 154 | | |
| 155 | + | |
154 | 156 | | |
155 | 157 | | |
156 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
0 commit comments