-
Notifications
You must be signed in to change notification settings - Fork 100
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Implements Create Mirror user flow - Tested happy path by running a successful PG-SF mirror - Snapshot fields appear only when initial copy is toggled - Staging path fields appear only when sync mode is avro - Frontend validation tested Fixes #432 and #433
- Loading branch information
1 parent
dd178cc
commit 1b0353c
Showing
28 changed files
with
933 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule sqlparser-rs
updated
4 files
+25 −9 | src/ast/mod.rs | |
+1 −1 | src/ast/visitor.rs | |
+24 −12 | src/parser.rs | |
+34 −11 | tests/sqlparser_postgres.rs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { | ||
CreateCDCFlowRequest, | ||
CreateCDCFlowResponse, | ||
} from '@/grpc_generated/route'; | ||
import { GetFlowServiceClientFromEnv } from '@/rpc/rpc'; | ||
|
||
export async function POST(request: Request) { | ||
const body = await request.json(); | ||
const { config } = body; | ||
const flowServiceClient = GetFlowServiceClientFromEnv(); | ||
const req: CreateCDCFlowRequest = { | ||
connectionConfigs: config, | ||
createCatalogEntry: true, | ||
}; | ||
const createStatus: CreateCDCFlowResponse = | ||
await flowServiceClient.createCdcFlow(req); | ||
if (!createStatus.worflowId) { | ||
return new Response('Failed to create CDC mirror'); | ||
} | ||
return new Response('created'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.