Make SPRING_APPLICATION_JSON processing happen before config files
That way any properties that are needed for processing the config files will be available in time. Makes sense given that env vars is the main carrier of the inline JSON.
This commit is contained in:
parent
1f675c026f
commit
ee5a1f9722
|
@ -53,7 +53,7 @@ public class SpringApplicationJsonEnvironmentPostProcessor
|
|||
/**
|
||||
* The default order for the processor.
|
||||
*/
|
||||
public static final int DEFAULT_ORDER = Ordered.HIGHEST_PRECEDENCE + 20;
|
||||
public static final int DEFAULT_ORDER = Ordered.HIGHEST_PRECEDENCE + 5;
|
||||
|
||||
private int order = DEFAULT_ORDER;
|
||||
|
||||
|
|
Loading…
Reference in New Issue