Commit ee5a1f97 authored by Dave Syer's avatar Dave Syer

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.
parent 1f675c02
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment