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

Test framework for Camunda exporter #23886

Closed
2 tasks
Tracked by #23885
EuroLew opened this issue Oct 23, 2024 · 1 comment · Fixed by #24019
Closed
2 tasks
Tracked by #23885

Test framework for Camunda exporter #23886

EuroLew opened this issue Oct 23, 2024 · 1 comment · Fixed by #24019
Assignees
Labels
component/exporter component/zeebe Related to the Zeebe component/team kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. version:8.7.0-alpha1 Label that represents issues released on verions 8.7.0-alpha1

Comments

@EuroLew
Copy link
Contributor

EuroLew commented Oct 23, 2024

Description
The camunda exporter should support both Elasticsearch(ELS) and Opensearch(OS), to avoid repetitive tests due to the similarity of OS and ELS clients write a TestTemplateInvocationContextProvider which will do all scaffolding work to support test templates.

Tasks

Preview Give feedback
@EuroLew
Copy link
Contributor Author

EuroLew commented Oct 24, 2024

The test framework is split into 3 PRs which should be reviewed in order as they build upon each other
1 - #24021
2 - #24020
3 - #24019

github-merge-queue bot pushed a commit that referenced this issue Oct 28, 2024
## Description

Part of a trio of PRs to implement a camunda exporter testing framework.
PR 3/3

Create the `CamundaExporterITInvocationProvider` which provides a
framework for running test templates against both elasticsearch(ELS) and
opensearch(OS).

This also involves refactoring the `CamundaExporterIT` tests to use this
framework.

Success Critieria:
- [x] Invocation provider which starts both ELS and OS and can verify
the engine state. (PR 2/3)
- [x] Client adapter for both ELS and OS such that test templates can
query documents and indices. (PR 1/3)
- [x] Refactor `CamundaExporterIT` so tests use the invocation provider.

## Related issues

closes #23886
@camundait camundait added the version:8.7.0-alpha1 Label that represents issues released on verions 8.7.0-alpha1 label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/exporter component/zeebe Related to the Zeebe component/team kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. version:8.7.0-alpha1 Label that represents issues released on verions 8.7.0-alpha1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants