Add support for conf/ folder configuration location#178
Merged
afalhambra-hivemq merged 2 commits intomasterfrom Feb 4, 2026
Merged
Add support for conf/ folder configuration location#178afalhambra-hivemq merged 2 commits intomasterfrom
afalhambra-hivemq merged 2 commits intomasterfrom
Conversation
1aafcb5 to
d277966
Compare
d277966 to
7bbe1b8
Compare
7bbe1b8 to
fde2bd3
Compare
fde2bd3 to
7f3b985
Compare
7f3b985 to
509b079
Compare
509b079 to
38ee02a
Compare
38ee02a to
b9b3763
Compare
b9b3763 to
e5a463a
Compare
e5a463a to
db7065b
Compare
db7065b to
e6373d9
Compare
e6373d9 to
1330602
Compare
1330602 to
606a100
Compare
606a100 to
bcc4efd
Compare
a14105c to
e580095
Compare
e580095 to
e12e72c
Compare
Donnerbart
reviewed
Feb 4, 2026
...om/hivemq/extensions/cluster/discovery/azure/callback/AzureClusterDiscoveryCallbackTest.java
Show resolved
Hide resolved
Donnerbart
reviewed
Feb 4, 2026
...om/hivemq/extensions/cluster/discovery/azure/callback/AzureClusterDiscoveryCallbackTest.java
Show resolved
Hide resolved
Donnerbart
reviewed
Feb 4, 2026
...om/hivemq/extensions/cluster/discovery/azure/callback/AzureClusterDiscoveryCallbackTest.java
Show resolved
Hide resolved
Donnerbart
reviewed
Feb 4, 2026
...om/hivemq/extensions/cluster/discovery/azure/callback/AzureClusterDiscoveryCallbackTest.java
Show resolved
Hide resolved
Donnerbart
reviewed
Feb 4, 2026
src/test/java/com/hivemq/extensions/cluster/discovery/azure/config/ConfigReaderTest.java
Show resolved
Hide resolved
Donnerbart
reviewed
Feb 4, 2026
src/test/java/com/hivemq/extensions/cluster/discovery/azure/config/ConfigResolverTest.java
Outdated
Show resolved
Hide resolved
Donnerbart
reviewed
Feb 4, 2026
src/main/java/com/hivemq/extensions/cluster/discovery/azure/config/ConfigReader.java
Outdated
Show resolved
Hide resolved
59e50fe to
a0aa858
Compare
a0aa858 to
993341b
Compare
993341b to
492bad1
Compare
492bad1 to
a8cea91
Compare
a8cea91 to
07a84ec
Compare
arm-quickstart-templates/hivemq-vm-cluster/scripts/hivemq_node_setup.sh
Outdated
Show resolved
Hide resolved
Support both legacy (azDiscovery.properties) and new (conf/config.properties) configuration paths based on extension version. Versions >= 1.2.8 use the new path, while earlier versions use the legacy path.
Donnerbart
approved these changes
Feb 4, 2026
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.
Summary
azDiscovery.propertiesasconfig.propertiesin theconf/subfolder of the extension home directoryChanges
ConfigResolverclass to resolve configuration file location with legacy fallbackConfigReaderto useConfigResolverwithCONFIG_PATHandLEGACY_CONFIG_PATHazDiscovery.propertiestoconf/config.propertiessubfolder in the extension ZIPSTORAGE_FILEtoLEGACY_CONFIG_PATHBehavior
conf/Testing
ConfigResolverTestwith 5 test cases covering all resolution scenariosconf/folder configuration test toConfigReaderTestAzureDiscoveryExtensionITto use newconf/path