I need to set applcation properties variable with system variable Ex.
my system variable enviroment on widows is USER_NAME = admin
I want that set spring.datasource.username with USER_NAME
I tryed to do this mode:
in application.properties file spring.datasource.username={USER_NAME}
but dind't set.
anybody knows how to do?