Skip to content

3.0.0 - AS4CryptoProperties deprecation breaks ENV property loading #291

Answered by phax
piotr-dajlido asked this question in Q&A
Discussion options

You must be logged in to vote

This is a common problem.
The way you are using it, follows the Spring Boot approach for variables: ${property:default-value}.
However, as phase4 is independent of Spring Boot, it also uses its own configuration system as defined in https://github.com/phax/ph-commons/wiki/ph-config and does not allow the provision of default value.
By accident (or unfortunately), Spring Boot and phase4 both share the name application.properties for their default configuration files. However, the resolution of the properties is different in the Spring part and in the phase4 part, which regularly creates issues.

So I created phax/ph-commons#44 to add this functionality

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@phax
Comment options

phax Dec 5, 2024
Maintainer

Answer selected by piotr-dajlido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants