Commit Graph

1843 Commits

Author SHA1 Message Date
Phillip Webb
819b3b9761 Fix JasperInitializerLifecycleListener
Update JasperInitializerLifecycleListener to call JasperInitializer as
a ServletContainerInitializer (not a ServletContextInitializer).

Fixes gh-962
See gh-919
2014-05-28 10:21:10 +01:00
bjornerik
769ffe2834 Missing space destroys formatting in doc 2014-05-28 09:11:19 +01:00
Dave Syer
f659a2e253 Use the ServerProperties to add prefixes to paths
when server.servletPath is set we need to add prefixes to
the security filter paths, and the /error path.

Conflicts:
	spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementSecurityAutoConfiguration.java
2014-05-28 08:41:22 +01:00
Andy Wilkinson
362df05f65 Upgrade to Tomcat 7.0.54
Closes #960
2014-05-27 15:02:50 +01:00
Phillip Webb
6e82e8ede8 Fix Tomcat 8 warnings and Jasper initialization
Fix MalformedURLException warnings caused by Tomcat 8 adding additional
URLs to the TomcatEmbeddedWebappClassLoader.

Add JasperInitializerLifecycleListener to call Tomcat 8's
JasperInitializer which is now required for JSP rendering.

Fixes gh-919
2014-05-23 21:25:17 +01:00
Andy Wilkinson
7d6438ad9b Upgrade to Aether 0.9.1 2014-05-23 14:09:08 +01:00
Henryk Konsek
42be7abacc Fix typo in Javadoc
Fixes gh-938
2014-05-23 10:08:24 +01:00
Andy Wilkinson
8fa2286dd3 Upgrade to Spring Security 3.2.4.RELEASE 2014-05-22 12:24:14 +01:00
Andy Wilkinson
426c5680d4 Use Boot’s base Logback configuration in the Integration sample
Fixes #922
2014-05-21 16:38:02 +01:00
Andy Wilkinson
6dafa15eef Remove mouldy start.groovy from the actuator sample
Fixes #900
2014-05-21 13:55:07 +01:00
Andy Wilkinson
b9c80433bc Upgrade to Spring 4.0.5
Closes #891
2014-05-21 09:11:34 +01:00
Phillip Webb
6a644e2e23 Protect against malformed URLs on Windows
Update JarFile to correctly create system independent URLs to prevent
potential URISyntaxExceptions when running on Windows.

Fixes gh-836
2014-05-16 14:51:06 +01:00
Dave Syer
845a86d548 Monkey with JarUrlConnection to make it work when LANG unset
The problem all along has been in AsciiBytes, so the fix in
commit ce3aaf was just a stop gap for a system where multi-byte
characters are supported but the default encoding is not UTF-8 (e.g.
most Windows systems). The real solution is not to leave it to
chance and always pick an encoding for the JarEntry names (i.e.
in AsciiBytes).

(Cherry picked from commit 06e364a9ff)

Fixes gh-764
2014-05-16 14:50:11 +01:00
Christian Dupuis
cf2b2df2c8 Correctly decode URL coming into the Jolokia endpoint
fixes #869
2014-05-15 17:36:27 +02:00
Christian Dupuis
f65af2d502 Update CRaSH dependency to 1.3.0-beta20
fixes #849
2014-05-15 17:35:54 +02:00
Phillip Webb
fa7da5925b Remove checked exceptions from @PostConstructs
Update all @PostConstruct methods to ensure that they don't throw
checked exceptions. Required to allow deployment of Spring Boot
applications on Glassfish.

Fixes gh-868
2014-05-15 15:47:44 +01:00
Phillip Webb
08a6efff46 Update Thymeleaf dependencies
- thymeleaf-layout-dialect 1.2.4
- thymeleaf 2.1.3

Fixes gh-866
2014-05-15 15:04:04 +01:00
Phillip Webb
f8c1213f0a Add baseDir to git-commit-id-plugin
Fixed gh-873
2014-05-15 09:54:43 +01:00
Phillip Webb
e018f2af25 Add FilterRegistrationBean.setDispatcherTypes(...)
Add setDispatcherTypes method to FilterRegistrationBean.

Fixes gh-871
2014-05-15 09:30:22 +01:00
Andy Wilkinson
f761daf253 Upgrade to CRaSH 1.3.0-beta18
Closes #841
2014-05-12 10:35:20 +01:00
Phillip Webb
8eca40a388 Add explicit hamcrest-core dependency
Add an explicit dependency to `hamcrest-core` in the
`spring-boot-starter-test` POM. This prevents version 1.1 from
accidentally being pulled in via junit.

Fixes gh-810
2014-05-09 09:01:59 +01:00
Artem Bilan
471e6af2af Make loader Windows compatible
The encoding of UTF-8 (et al.) chars in the
JarUrlConnection has to be made explicit, otherwise
Wdinows apparently does not pick the default(?).

Fixes gh-711, Fixes gh-753
2014-04-30 22:05:47 +01:00
Dave Syer
f81c01d490 @WebApplication->@WebAppConfiguration
Fixed gh-746
2014-04-30 22:02:21 +01:00
Phillip Webb
33499e3d81 Merge pull request #728 from snicoll/dep-mgt
* dep-mgt:
  Add spring-boot-autoconfigure to starter parent
2014-04-25 10:19:39 +01:00
Stephane Nicoll
0b5600a99e Add spring-boot-autoconfigure to starter parent
Fixes gh-728
2014-04-25 10:18:33 +01:00
Phillip Webb
275cf6e6d2 Fixup starter parent following release 2014-04-25 10:17:52 +01:00
Phillip Webb
20510aef20 Fixup starter parent following release 2014-04-24 11:55:28 +01:00
Dave Syer
8f640c549f Correct copy-paste error in log4j config snippet 2014-04-24 11:28:48 +01:00
Spring Buildmaster
d3954a1703 Next development version 2014-04-24 02:24:28 -07:00
Phillip Webb
c714359b25 Upgrade dependencies
Upgrade third party dependencies (when appropriate) to the latest
maintenance releases.
2014-04-24 09:46:58 +01:00
Phillip Webb
6268322c76 Tighten up documentation on SSL and HTTPS
Fixes gh-640
2014-04-23 23:24:59 +01:00
Phillip Webb
59496abf85 Add mvnDebug how-to
Fixes gh-713
2014-04-23 23:09:53 +01:00
Phillip Webb
51c403b636 Document how to customize dependency versions
Add a section to the "how-to" on customizing third-party dependency
versions when using Maven.

Fixes gh-434
2014-04-23 23:01:21 +01:00
Phillip Webb
b5b2fd2377 Add note explaining gradle ResolutionStrategy
Update reference documentation to include a note explaining that
"blessed" versions a chosen based on the gradle plugin version, and
that builds are repeatable.

Fixes gh-619
2014-04-23 22:42:10 +01:00
Phillip Webb
63aa5457b0 Merge pull request #718 from scottfrederick/master
* pull718:
  Update Cloud Foundry deployment documentation
2014-04-23 22:19:23 +01:00
Scott Frederick
08a0c31105 Update Cloud Foundry deployment documentation
Update the Cloud Foundry section of the reference documentation to:

- Reflect the fact that the Cloud Foundry v6 CLI no longer has an
  interactive mode for application push.
- Update some of the CLI output.
- Change links to point to open-source CF docs instead of Pivotal
  commercial docs.
- Add a few links.

Fixes gh-718
2014-04-23 22:16:40 +01:00
Phillip Webb
d87f452a96 Upgrade Spring Batch dependency to 2.2.6
Fixes gh-720
2014-04-23 22:08:25 +01:00
Phillip Webb
51b0451ada Fix broken test due to random port change 2014-04-23 20:10:30 +01:00
Phillip Webb
4119ef5cf4 Use random ports for tests
Update remaining tests to use random ports.

Fixes gh-337
2014-04-23 19:11:54 +01:00
Stephane Nicoll
af33cc2b97 Use random port in spring-boot tests
Update several tests to use random ports instead of hard coding '8080'
or '8081'.

fixes gh-607
2014-04-23 19:10:42 +01:00
Phillip Webb
fca7a8dc96 Enforce Java 1.7 during the release
Add enforcer rules to ensure that only Java 1.7 is used during the
release.

Fixes gh-712
2014-04-23 16:51:02 +01:00
Phillip Webb
f847ed2b1f Remove getEmbeddedServletContainers()
Remove the mutable getEmbeddedServletContainers() Map from
EmbeddedWebApplicationContext and instead use the `namespace` to
distinguish the management container.

The ServerPortInfoApplicationContextInitializer class replaces the
previous TestExecutionListener to exposes port properties (by
listening for EmbeddedServletContainerInitializedEvents).
2014-04-23 15:41:56 +01:00
Phillip Webb
fad5ce45db Polish 2014-04-23 12:35:33 +01:00
Phillip Webb
316cb87583 Create ApplicationPid and remove SystemUtils
Create a new ApplicationPid class to remove the need for SystemUtils
and refactor existing calls.
2014-04-23 12:00:36 +01:00
Dave Syer
b291332cd4 Use CountDownLatch instead of Thread.sleep()
... to wait for ApplicationContext to close in the 3 tests
that we needed to do so.

Fixes gh-664
2014-04-23 10:14:38 +01:00
Dave Syer
3304dd1cc9 Add spring.datasource.separator (default ";")
Fixes gh-715
2014-04-22 17:34:54 +01:00
Dave Syer
34604a9602 Add assertion about non-special resource 2014-04-22 09:25:45 +01:00
Patrick Radtke
80652007b5 RelaxedDataBinder handling for untyped map
Fixes gh-709
2014-04-22 08:48:42 +01:00
Hugo Flambo
a77fee9f18 Fix typo and use *PropertySource* instead *ProperySource*
Fixes gh-705
2014-04-22 08:46:24 +01:00
Dave Syer
f7c16764e6 Add setter for security.user.role
Fixes gh-700
2014-04-21 14:42:34 +01:00