Commit 94df1e0
authored
feat: Add ExportManifest RPC to reconstruct manifest from live state (#1694)
Introduces an ExportManifest RPC on the ManifestHistoryService that
queries downstream services for their current resources and assembles
a complete Manifest proto. This enables migrating tenants configured
via direct gRPC calls into the manifest-first workflow.
Key design decisions:
- Collector interfaces per service section (instruments, account types,
sagas, market data, organizations, internal accounts, operational
gateway) allow the export to be assembled incrementally
- Sections without live service collectors (valuation_rules, mappings,
party_types, payment_rails, seed_data) fall back to the last applied
manifest version
- Collector errors produce warnings and graceful fallback rather than
failing the entire export
- Response includes section_sources map documenting data provenance
and SHA-256 checksum for content verification
- Read-only operation: no mutations, no manifest version created
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>1 parent 9476493 commit 94df1e0
6 files changed
Lines changed: 1284 additions & 4 deletions
File tree
- api/proto/meridian/control_plane/v1
- services/control-plane
- internal/manifest
- service
Lines changed: 63 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
50 | 63 | | |
51 | 64 | | |
52 | 65 | | |
| |||
251 | 264 | | |
252 | 265 | | |
253 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
0 commit comments