- 22 Nov, 2016 9 commits
-
-
Christian Koops authored
Closes gh-7234
-
Andy Wilkinson authored
Closes gh-7448
-
Andy Wilkinson authored
See gh-6961
-
Andy Wilkinson authored
See gh-6961
-
Andy Wilkinson authored
-
Andy Wilkinson authored
See gh-7373
-
Stephane Nicoll authored
* pr/6961: Polish "Apache Kafka support" contribution Add Apache Kafka support
-
Stephane Nicoll authored
Closes gh-6961
-
Gary Russell authored
See gh-6961
-
- 21 Nov, 2016 8 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-7431
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, both HypermediaAutoConfiguration and HttpMessageConverters assumed that if Spring HATEOAS was on the class path, then Jackson would be too. When this was not the case, an application would fail to start. This commit updates both classes to back off appropriately when Spring HATEOAS is on the classpath but Jackson is not. Closes gh-7434
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-7435
-
- 20 Nov, 2016 2 commits
-
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-7364
-
- 19 Nov, 2016 1 commit
-
-
Phillip Webb authored
Migrate `ModifiedClassPathRunner` from `spring-boot` test source to its own module. Fixes gh-7420
-
- 18 Nov, 2016 13 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Madhura Bhave authored
This interceptor processes the response with CORS headers and apepars before the Cloud Foundry security interceptor. See gh-7108
-
Andy Wilkinson authored
-
Andy Wilkinson authored
We use some internal Mockito classes and some breaking API changes have been made to them in Mockito 2. This commit introduces a utility class, SpringBootMockUtil, to shield our code from these differences. Mockito 1 is called directly and Mockito 2 is called via reflection. To allow these changes to be tested, FilteredClassPathRunner has been enhanced to also support overriding a dependency on the class path. As a result it has been renamed to ModifiedClassPathRunner. The new ClassPathOverrides annotation can be used to provide the Maven coordinates of one or more dependencies that should be resolved and added to the class path. Such additions are added to the start of the class path so that they override any existing dependency that contains the same classes. Closes gh-6520
-
Andy Wilkinson authored
* gh-7279: Update to Jersey 2.24
-
Quentin Caillard authored
Closes gh-7279
-
Andy Wilkinson authored
Closes gh-7413
-
Andy Wilkinson authored
See gh-7391
-
Andy Wilkinson authored
Closes gh-7391
-
Stephane Nicoll authored
# Conflicts: # spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java # spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
-
Stephane Nicoll authored
This commit adds an extra property to the `server.tomcat.accesslog` to control the `reqestAttributesEnabled` flag. This flag sets request attributes for IP address, Hostname, protocol and port used for the request. Closes gh-7367
-
- 17 Nov, 2016 7 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, we just waited for the file to exist before trying to read the port from it. This left a window where the file existed but its contents had not be written which could result in a NumberFormatException. This commit now waits for the file to have a length that is greater than zero. See gh-7379
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, remote DevTools only correctly supported modifying existing classes. New classes that were added would be missed, and deleted classes could cause a failure as they would be found by component scanning but hidden by RestartClassLoader. This commit introduces a DevTools-specific ResourcePatternResolver that is installed as the application context's resource loader. This custom resolver is aware of the files that have been added and deleted and modifies the result returned from getResource and getResources accordingly. New intergration tests have been introduced to verify DevTools' behaviour. The tests cover four scenarios: - Adding a new controller - Removing an existing controller - Adding a request mapping to a controller - Removing a request mapping from a controller These four scenarios are tested with: - DevTools updating a local application - DevTools updating a remote application packaged in a jar file - DevTools updating a remote application that's been exploded Closes gh-7379
-
Stephane Nicoll authored
See gh-7357
-