Skip to content

Commit

Permalink
Bump io.smallrye.config:smallrye-config from 3.3.4 to 3.4.1
Browse files Browse the repository at this point in the history
Bumps [io.smallrye.config:smallrye-config](https://github.com/smallrye/smallrye-config) from 3.3.4 to 3.4.1.
- [Release notes](https://github.com/smallrye/smallrye-config/releases)
- [Commits](smallrye/smallrye-config@3.3.4...3.4.1)

---
updated-dependencies:
- dependency-name: io.smallrye.config:smallrye-config
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and radcortez committed Oct 4, 2023
1 parent 1e97149 commit 9b697cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<microprofile-metrics-api.version>4.0.1</microprofile-metrics-api.version>
<microprofile-health-api.version>4.0</microprofile-health-api.version>

<smallrye-config.version>3.3.4</smallrye-config.version>
<smallrye-config.version>3.4.1</smallrye-config.version>
<smallrye-metrics.version>4.0.0</smallrye-metrics.version>
<smallrye-common.version>2.1.2</smallrye-common.version>
<smallrye-health.version>4.0.4</smallrye-health.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
@SetEnvironmentVariable(key = "MP_MESSAGING_CONNECTOR_SOME_CONNECTOR_ATTR1", value = "should not be used")
@SetEnvironmentVariable(key = "MP_MESSAGING_CONNECTOR_SOME_CONNECTOR_ATTR3", value = "used")
@SetEnvironmentVariable(key = "mp_messaging_connector_some_connector_attr4", value = "used")
@SetEnvironmentVariable(key = "mp_messaging_connector_SOME_CONNECTOR_mixedcase", value = "should not be used")
@SetEnvironmentVariable(key = "mp_messaging_connector_SOME_CONNECTOR_mixedcase", value = "used")
@DisabledForJreRange(min = JRE.JAVA_17, disabledReason = "Environment cannot be modified on Java 17")
public class ConnectorConfigTest {

Expand Down Expand Up @@ -85,7 +85,7 @@ public String getName() {
@SetEnvironmentVariable(key = "MP_MESSAGING_CONNECTOR_SOME_CONNECTOR_ATTR1", value = "should not be used")
@SetEnvironmentVariable(key = "MP_MESSAGING_CONNECTOR_SOME_CONNECTOR_ATTR3", value = "used")
@SetEnvironmentVariable(key = "mp_messaging_connector_some_connector_attr4", value = "used")
@SetEnvironmentVariable(key = "mp_messaging_connector_SOME_CONNECTOR_mixedcase", value = "should not be used")
@SetEnvironmentVariable(key = "mp_messaging_connector_SOME_CONNECTOR_mixedcase", value = "used")
@Test
public void testPropertyNames() {

Expand Down Expand Up @@ -126,7 +126,7 @@ public void testGetFromEnv() {
assertThat(config.getOptionalValue("ATTR4", String.class)).hasValue("used-2");
// Mixed case value in env should not be found as it does not match the key we're looking for
// either in its original casing, or after conversion to uppercase.
assertThat(config.getOptionalValue("mixedcase", String.class)).isEmpty();
assertThat(config.getOptionalValue("mixedcase", String.class)).hasValue("used");
}

@Test
Expand Down

0 comments on commit 9b697cf

Please sign in to comment.