-
Notifications
You must be signed in to change notification settings - Fork 181
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
Bump io.smallrye.config:smallrye-config from 3.4.1 to 3.4.2 #2372
Bump io.smallrye.config:smallrye-config from 3.4.1 to 3.4.2 #2372
Conversation
Bumps [io.smallrye.config:smallrye-config](https://github.com/smallrye/smallrye-config) from 3.4.1 to 3.4.2. - [Release notes](https://github.com/smallrye/smallrye-config/releases) - [Commits](smallrye/smallrye-config@3.4.1...3.4.2) --- updated-dependencies: - dependency-name: io.smallrye.config:smallrye-config dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
@radcortez it breaks again:
|
@radcortez please do not bump in Quarkus before investigating what's wrong here. |
No worries, I've noticed it and fixed it with a new version. There is a 3.4.3 available with another fix. |
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Hum, this may be something different. Let me check. |
Due to some edge cases, I've restricted some environment names matching that made these tests pass, but they now fail. Consider: export MP_MESSAGING_INCOMING_FOO_AT_TR=value Because of the keys split in the internal If I remember correctly, everything you get after I'll probably argue that tests that lookup connector attributes in their environment variable format are not correct, especially because Docker (and I've learn that recently, which caused the edge cases), can set environment variables as: mp.messaging.incoming.foo.AT_TR=foo
MP_MESSAGING_INCOMING_FOO_AT_TR=bar Which are two completely separate properties with different values. But other systems like Overall, I think we should be fine with those changes and just remove the tests that check for the environment variable format. |
Let me also have a look into other scenarios. |
We do not control the set of connector attribute. It’s an open set.
And yes, we know about docker and docker compose. Even worse… kube secrets.
However I ran some tests and we got the expected results.
…On Wed 8 Nov 2023 at 18:38, Roberto Cortez ***@***.***> wrote:
Let me also have a look into other scenarios.
—
Reply to this email directly, view it on GitHub
<#2372 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADCG7NHHQM4BLIPIPB4X7LYDO7RDAVCNFSM6AAAAAA7B4OP2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBSGM2TOMZVGA>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
It is ok to be an open set. My comment was that the test generates inconsistent configuration names (which did work before). Even if it worked and someone is using it, we shouldn't allow it. For instance, if you have the attribute
But this shouldn't be accepted:
If we agree with this, are we ok to remove some of these asserts? If not, I guess I'll have to find another way to readd those variations :) |
Unfortunately, the POSIZ rules seem to be ignored by many popular systems: https://docs.docker.com/engine/reference/builder/#environment-replacement (Look at the examples: use lowercase). You can also find references of mixed cases: https://stackoverflow.com/questions/75110404/how-can-i-set-a-lower-case-environment-variable-in-docker-compose-yml. I don't mind not supporting these cases anymore, but we need to be ready to get issues opened. This should be considered as a breaking change and be documented as such. We will likely have application breakage. |
Bumps io.smallrye.config:smallrye-config from 3.4.1 to 3.4.2.
Release notes
Sourced from io.smallrye.config:smallrye-config's releases.
Commits
b0d7f34
[maven-release-plugin] prepare release 3.4.213b2b43
Release 3.4.2 (#1047)9824707
Ignore .env folder in the .env Config providercba3d94
Do not rely on order to assert mapping toString resultaad0659
Case-sensitive EnvPropertybf9969f
Fix StringUtil.skewer to properly convert camelCase and upper case names4709cce
Match dotted dashed property names in Environment Variables92c4fe6
SmallRyeConfigBuilderCustomizer documentation6c085f9
@WithDefaults
documentationf1dd9ab
[maven-release-plugin] prepare for next development iterationDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)