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.
pull/4334/merge
Dave Syer 9 years ago
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…
Cancel
Save