Merged in feature/docresult (pull request #105)

Document Result Endpoint

* testing

* cleantesting

* progress

* query

* lint

* readme

* dockerclient

* api

* passtest

* tests

* test
This commit is contained in:
Michael McGuinness
2025-03-17 18:14:15 +00:00
parent f7c41c4ef3
commit 555b6d420b
105 changed files with 3276 additions and 2484 deletions
+11 -6
View File
@@ -22,12 +22,13 @@ type Container struct {
}
type containerConfig struct {
Name string
Cfg serviceconfig.ConfigProvider
Network *testcontainers.DockerNetwork
Env map[string]string
WaitForMsg string
ExposedPorts []nat.Port
Name string
Cfg serviceconfig.ConfigProvider
Network *testcontainers.DockerNetwork
DownstreamQueues []RunnerName
Env map[string]string
WaitForMsg string
ExposedPorts []nat.Port
}
func createContainer(t testing.TB, ctx context.Context, cfg *containerConfig) (testcontainers.Container, func()) {
@@ -53,6 +54,10 @@ func createContainer(t testing.TB, ctx context.Context, cfg *containerConfig) (t
}
}
for _, e := range cfg.DownstreamQueues {
env[GetRunnerEnvFromName(e)] = GetQueueURL(cfg.Cfg, e)
}
req := testcontainers.ContainerRequest{
Image: "queryorchestration:latest",
Env: env,