Skip to content

Commit

Permalink
Adding dual_write_proxy_v2.go a new quesma v2 http entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
pdelewski committed Nov 29, 2024
1 parent c344ae7 commit 4c23724
Show file tree
Hide file tree
Showing 3 changed files with 584 additions and 10 deletions.
3 changes: 2 additions & 1 deletion quesma/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ func constructQuesma(cfg *config.QuesmaConfiguration, sl clickhouse.TableDiscove
if cfg.TransparentProxy {
return quesma.NewQuesmaTcpProxy(phoneHomeAgent, cfg, quesmaManagementConsole, logChan, false)
} else {
return quesma.NewHttpProxy(phoneHomeAgent, lm, ip, sl, im, schemaRegistry, cfg, quesmaManagementConsole, abResultsrepository, indexRegistry)
const quesma_v2 = true
return quesma.NewHttpProxy(phoneHomeAgent, lm, ip, sl, im, schemaRegistry, cfg, quesmaManagementConsole, abResultsrepository, indexRegistry, quesma_v2)
}
}
Loading

0 comments on commit 4c23724

Please sign in to comment.