3.0.0 - AS4CryptoProperties deprecation breaks ENV property loading #291
-
Version 3.0.0 introduced new way for handling properties which breaks standard of |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is a common problem. So I created phax/ph-commons#44 to add this functionality |
Beta Was this translation helpful? Give feedback.
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