Return tqe2 testcontainers implementation#86
Draft
dkasimovskiy wants to merge 4 commits into
Draft
Conversation
4931800 to
e323bb8
Compare
bitgorbovsky
requested changes
Jun 3, 2026
| CONSUMER("consumer"), | ||
|
|
||
| PRODUCER("producer"); | ||
| PRODUCER("producer"), |
Contributor
There was a problem hiding this comment.
Думаю, лучше сделать по другому:
enum GrpcRole {
CONSUMER("consumer"),
PRODUCER("producer", "publisher"),
private final List<String> roleAliases;
GrpcRole(String... aliases) {
this.aliases = Arrays.asList(aliases);
}
...
}1e711c8 to
4457b28
Compare
…ementations Add TQE 2.x (message-queue-ee 2.x) integration with separate cluster, configurator, and gRPC layer. Refactor TQE 3.x into versioned structure alongside TQE 2.x, extract AbstractTQECluster with Template Method pattern, migrate from xolstice to ascopes protobuf-maven-plugin. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add shared helpers (loadConfig, createInvalidGrpcConfigStream, createInvalidConfigsPathsStream) to AbstractTQETest and simplify static config loading and data providers in all four test classes. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
…QEClusterTest Move shared cluster tests (testMultiplyRestart, testRestartMethod, testInvalidQueueConfigShouldThrow, testInvalidGrpcConfig) into a new AbstractTQEClusterTest base class. TQE2ClusterImplTest and TQE3ClusterImplTest now extend it, eliminating duplication. Also revert FileTQEConfigurator to eager initialization (fields back to final) and extract inline YAML configs to resource files. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
bcdb62d to
4d5c877
Compare
…rized tests Replace AbstractTQETest/AbstractTQEClusterTest hierarchy with a flat structure using @ParameterizedTest. Common tests for TQE2/TQE3 now run via TQETestHelper.TQETestParams parameterization, eliminating inheritance and duplication. - Add TQETestHelper with TQETestParams record and shared helpers - Add TQEClusterTest with parameterized common cluster tests - Add FileTQEConfiguratorTest with parameterized configurator tests - Simplify TQE2/TQE3ClusterImplTest to only version-specific tests - Remove AbstractTQETest, AbstractTQEClusterTest, FileTQE2/3ConfiguratorTest, and invalid-config resource files - Inline YAML configs restored as in original tests Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Описание
Обновление реализаций контейнеров TQE2 и TQE3 с улучшенной обработкой ошибок и конфигурацией. Добавлены
абстрактные классы для лучшей организации кода.
Основные изменения
Файлы
I haven't forgotten about:
Related issues: