- 15 Aug, 2016 3 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, if mvn spring-boot:run with a forked JVM was killed with CTRL+C, the run would be considered unsuccessful. This commits updates the run mojo to consider a forked JVM that exists with 130 (the exit code produced when exiting due to SIGINT which is what CTRL+C sends) to be successful. Closes gh-6498
-
Stephane Nicoll authored
Closes gh-6650
-
- 14 Aug, 2016 2 commits
-
-
Stephane Nicoll authored
* pr/6644: Upgrade to Spring Security 4.1.2.RELEASE
-
Eddú Meléndez authored
Closes gh-6644
-
- 13 Aug, 2016 3 commits
-
-
Stephane Nicoll authored
* pr/6540: Polish contribution Fix health endpoint security
-
Stephane Nicoll authored
Closes gh-6540
-
Eddú Meléndez authored
Commit b02aba4c has renamed `management.security.role` to `management.security.roles`. Unfortunately, the `HealthMvcEndpoint` was still looking at the old property. This commit makes sure that the proper key is used and any custom role is applied rather than an unconditional `ADMIN` role. See gh-6540
-
- 12 Aug, 2016 12 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-6623: Use 'travis_wait' to prevent Travis CI from aborting builds
-
Nick Pillitteri authored
Builds use the '-q' flag to suppress most output due to a limit of 4MB of logs on Travis CI. However, Travis will also abort builds that don't generate any output for 10 minutes. Thus we also use the 'travis_wait' function to make sure builds aren't aborted for up to 30 minutes. Fixes gh-6621 Closes gh-6623
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-6604: Ensure that @LiquibaseDataSource is preferred to “normal” DataSource Allow a DataSource to be marked as being specifically for Liquibase
-
Andy Wilkinson authored
Closes gh-6604
-
Eddú Meléndez authored
This commit allows to configure a special DataSource to be used by Liquibase by annotating it with @LiquibaseDataSource. Closes gh-6614
-
Andy Wilkinson authored
-
Andy Wilkinson authored
The unpack location is (largely) an implementation detail and the Repackage Mojo was the only place where it was explicity documented. Rather than updating the outdated location, this commit removes it entirely to avoid encouraging people to rely on the location. Closes gh-6624
-
Andy Wilkinson authored
Closes gh-6508
-
Stephane Nicoll authored
* pr/6556: Upgrade to Elasticsearch 2.3.5
-
Raja Dilip Kolli authored
Closes gh-6556
-
- 11 Aug, 2016 5 commits
-
-
Andy Wilkinson authored
Closes gh-6628
-
Andy Wilkinson authored
Closes gh-6549
-
Andy Wilkinson authored
-
Phillip Webb authored
Call afterPropertiesSet on the delegate `ResourceHttpRequestHandler` to prevent an NPE. This change is required for compatibility with Spring Framework 4.3 following SPR-13834. Closes gh-6592
-
Andy Wilkinson authored
Previously, CLI extensions where installed into the CLI's lib directory which meant that they were on the class path of the app class loader. Following the change to an executable jar's packaging, this meant that they could not see classes in the CLI and a ClassNotFoundException would result. This commit updates the CLI to install extensions into lib/ext and load commands using a new ClassLoader that has all of the jars in lib/ext on its class path and that uses the launch class loader as its parent. Closes gh-6615
-
- 10 Aug, 2016 9 commits
-
-
Andy Wilkinson authored
Previously, if a single FailureAnalyzer failed to load, no failure analysis would be performed. This commit updates FailureAnalyzers to load the analysers defensively so that all but the problematic analyzer are used for analysis. Closes gh-6606
-
Andy Wilkinson authored
Previously, MetricExportAutoConfiguration consumed ExportMetricWriter-annotated GaugeWriter beans in its constructor and also produced such a bean from one of its @Bean methods. This cycle caused a BeanCurrentlyInCreationException to be thrown when the bean method was active (the spring.metrics.export.statsd.host property was set). This commit break the cycle by moving the bean method into a separate, nested configuration class. It also updates the existing test for auto-configuration of a Statsd writer to catch any possible cycles and to verify that the writer has be registered with the MetricsExporter. Closes gh-6544
-
Andy Wilkinson authored
META-INF/INDEX.LIST files are pointless in an executable jar and moving application classes from the root of the jar to BOOT-INF/classes breaks the index, resulting in an InvalidJarIndexException being thrown. This commit updates the Repackager to automatically remove a META-INF/INDEX.LIST file from a jar file that is being repackaged. Closes gh-6601
-
Andy Wilkinson authored
Previously, MockitoPostProcessor would fail to replace a factory bean with a mock if the factory bean didn't return a matching type from getObjectType(). This prevented Spring Data respoitories from being replaced with a mock as Spring Data's repository factory beans generally do not know the specific repository type that they will produce when MockPostProcesser (a bean factory post-processor) is running. Spring Data has been updated to add a factoryBeanObjectType attribute to its factory bean definitions. MockitoPostProcessor has been updated to look for FactoryBeans with this attribute and to use its value to determine whether or not the factory bean produces a bean of the required type and, therefore, should be replaced with a mock. Closes gh-6541
-
Stephane Nicoll authored
Closes gh-6576
-
Stephane Nicoll authored
* pr/6589: Document webjar-locator usage with JBoss
-
drumonii authored
Closes gh-6589
-
Stephane Nicoll authored
* pr/6600: Apply sytem properties on HttpClient
-
nagarajasr authored
Closes gh-6600
-
- 09 Aug, 2016 1 commit
-
-
Stephane Nicoll authored
See gh-6536
-
- 08 Aug, 2016 5 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, a NullPointerException would occur if endpoints.docs.curies.enabled was true and the default value was being used for either server.port or management.port. EndpointWebMvcHypermediaManagementContextConfiguration has been restructured to ensure that the DocsMvcEndpoint bean is defined before the condition on its existence is evaluated. Previously this was dependant on the class’s bean methods being processed in a particular ordering, something that would be ok when using ASM but would vary when using reflection. Closes gh-6584
-
Andy Wilkinson authored
Closes gh-6567 See gh-6583
-
Andy Wilkinson authored
Closes gh-6552
-
Stephane Nicoll authored
* pr/6580: Polish contribution Add reference to Apache CXF integration
-