Browse Source

Changing default properties name to work around changes in boot, see Spring Boot #17141

pull/583/head
Ryan Baxter 6 years ago
parent
commit
8b57f1995b
  1. 2
      spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/BootstrapApplicationListener.java
  2. 2
      spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/config/BootstrapConfigurationTests.java

2
spring-cloud-context/src/main/java/org/springframework/cloud/bootstrap/BootstrapApplicationListener.java

@ -84,7 +84,7 @@ public class BootstrapApplicationListener @@ -84,7 +84,7 @@ public class BootstrapApplicationListener
/**
* The name of the default properties.
*/
public static final String DEFAULT_PROPERTIES = "defaultProperties";
public static final String DEFAULT_PROPERTIES = "springCloudDefaultProperties";
private int order = DEFAULT_ORDER;

2
spring-cloud-context/src/test/java/org/springframework/cloud/bootstrap/config/BootstrapConfigurationTests.java

@ -21,7 +21,6 @@ import java.util.HashMap; @@ -21,7 +21,6 @@ import java.util.HashMap;
import java.util.Map;
import org.junit.After;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
@ -371,7 +370,6 @@ public class BootstrapConfigurationTests { @@ -371,7 +370,6 @@ public class BootstrapConfigurationTests {
}
@Test
@Ignore // FIXME 2.2.0.M1
public void includeProfileFromBootstrapProperties() {
this.context = new SpringApplicationBuilder().web(WebApplicationType.NONE)
.sources(BareConfiguration.class)

Loading…
Cancel
Save