Make the AutoConfigurationReportEndpoint path a bit shorter

pull/118/merge
Dave Syer 11 years ago
parent 6849640cba
commit b39ab925cf

@ -40,14 +40,14 @@ import com.fasterxml.jackson.annotation.JsonPropertyOrder;
* @author Greg Turnquist
* @author Phillip Webb
*/
@ConfigurationProperties(name = "endpoints.autoconfigurationreport", ignoreUnknownFields = false)
@ConfigurationProperties(name = "endpoints.autoconfig", ignoreUnknownFields = false)
public class AutoConfigurationReportEndpoint extends AbstractEndpoint<Report> {
@Autowired
private AutoConfigurationReport autoConfigurationReport;
public AutoConfigurationReportEndpoint() {
super("/autoconfigurationreport");
super("/autoconfig");
}
@Override

@ -42,8 +42,8 @@ public class AutoConfigurationReportEndpointTests extends
AbstractEndpointTests<AutoConfigurationReportEndpoint> {
public AutoConfigurationReportEndpointTests() {
super(Config.class, AutoConfigurationReportEndpoint.class,
"/autoconfigurationreport", true, "endpoints.autoconfigurationreport");
super(Config.class, AutoConfigurationReportEndpoint.class, "/autoconfig", true,
"endpoints.autoconfig");
}
@Test

Loading…
Cancel
Save