mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-26 08:20:06 +00:00
feat: forward create body config over gRPC (cdc.3) for CDC destinations
The pipeline create body carries `config.tables[].destinations`, which the CDC path in pi-factory needs to honor a user-supplied raw Snowflake table name. The gRPC PipelineV2CreateRequest previously had no `config` field, so `...body` dropped it on the wire. Bump protospack to cdc.3 (adds optional `config` string). Serialize `body.config` into the create request the same way `properties` is handled, and add `config?` to the ICreatePipelineV2Req DTO so it's typed. Add a spec asserting the gRPC request carries a stringified config with the destination intact. Co-Authored-By: WOZCODE <contact@withwoz.com> Claude-Session: https://claude.ai/code/session_01145m1zZMfx8RSJBxAhySdg
This commit is contained in:
@@ -31,6 +31,8 @@ export class IPipelineV2 {
|
||||
tags?: string[];
|
||||
@ApiPropertyOptional()
|
||||
properties?: any;
|
||||
@ApiPropertyOptional()
|
||||
config?: any;
|
||||
|
||||
@ApiProperty()
|
||||
connector_name: string;
|
||||
|
||||
Reference in New Issue
Block a user