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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user