Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ingest - types testing #1129

Merged
merged 8 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions ci/it/configs/quesma-ingest-types.yml.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
frontendConnectors:
- name: elastic-ingest
type: elasticsearch-fe-ingest
config:
listenPort: 8080
- name: elastic-query
type: elasticsearch-fe-query
config:
listenPort: 8080
backendConnectors:
- name: my-minimal-elasticsearch
type: elasticsearch
config:
url: "http://{{ .elasticsearch_host }}:{{ .elasticsearch_port }}"
user: elastic
password: quesmaquesma
- name: my-clickhouse-instance
type: clickhouse-os
config:
url: clickhouse://{{ .clickhouse_host }}:{{ .clickhouse_port }}
ingestStatistics: true
processors:
- name: my-query-processor
type: quesma-v1-processor-query
config:
indexes:
"*":
target:
- my-clickhouse-instance

- name: my-ingest-processor
type: quesma-v1-processor-ingest
config:
indexes:
"*":
target:
- my-clickhouse-instance

pipelines:
- name: my-elasticsearch-proxy-read
frontendConnectors: [ elastic-query ]
processors: [ my-query-processor ]
backendConnectors: [ my-minimal-elasticsearch, my-clickhouse-instance ]
- name: my-elasticsearch-proxy-write
frontendConnectors: [ elastic-ingest ]
processors: [ my-ingest-processor ]
backendConnectors: [ my-minimal-elasticsearch, my-clickhouse-instance ]

5 changes: 3 additions & 2 deletions ci/it/configs/quesma-ingest.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ processors:
- my-clickhouse-instance
"*":
target:
- my-minimal-elasticsearch
- my-clickhouse-instance
nablaone marked this conversation as resolved.
Show resolved Hide resolved
- name: my-ingest-processor
type: quesma-v1-processor-ingest
config:
Expand Down Expand Up @@ -179,7 +179,8 @@ processors:
- my-clickhouse-instance
"*":
target:
- my-minimal-elasticsearch
- my-clickhouse-instance

pipelines:
- name: my-elasticsearch-proxy-read
frontendConnectors: [ elastic-query ]
Expand Down
5 changes: 5 additions & 0 deletions ci/it/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,8 @@ func TestABTestcase(t *testing.T) {
testCase := testcases.NewABTestcase()
runIntegrationTest(t, testCase)
}

func TestIngestTypesTestcase(t *testing.T) {
testCase := testcases.NewIngestTypesTestcase()
runIntegrationTest(t, testCase)
}
Loading
Loading