Commit Graph

1817 Commits (20510aef20403b3ea546d6451820a13f7f7fa1d6)
 

Author SHA1 Message Date
Phillip Webb 20510aef20 Fixup starter parent following release 11 years ago
Dave Syer 8f640c549f Correct copy-paste error in log4j config snippet 11 years ago
Spring Buildmaster d3954a1703 Next development version 11 years ago
Phillip Webb c714359b25 Upgrade dependencies
Upgrade third party dependencies (when appropriate) to the latest
maintenance releases.
11 years ago
Phillip Webb 6268322c76 Tighten up documentation on SSL and HTTPS
Fixes gh-640
11 years ago
Phillip Webb 59496abf85 Add mvnDebug how-to
Fixes gh-713
11 years ago
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
11 years ago
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
11 years ago
Phillip Webb 63aa5457b0 Merge pull request #718 from scottfrederick/master
* pull718:
  Update Cloud Foundry deployment documentation
11 years ago
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
11 years ago
Phillip Webb d87f452a96 Upgrade Spring Batch dependency to 2.2.6
Fixes gh-720
11 years ago
Phillip Webb 51b0451ada Fix broken test due to random port change 11 years ago
Phillip Webb 4119ef5cf4 Use random ports for tests
Update remaining tests to use random ports.

Fixes gh-337
11 years ago
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
11 years ago
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
11 years ago
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).
11 years ago
Phillip Webb fad5ce45db Polish 11 years ago
Phillip Webb 316cb87583 Create ApplicationPid and remove SystemUtils
Create a new ApplicationPid class to remove the need for SystemUtils
and refactor existing calls.
11 years ago
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
11 years ago
Dave Syer 3304dd1cc9 Add spring.datasource.separator (default ";")
Fixes gh-715
11 years ago
Dave Syer 34604a9602 Add assertion about non-special resource 11 years ago
Patrick Radtke 80652007b5 RelaxedDataBinder handling for untyped map
Fixes gh-709
11 years ago
Hugo Flambo a77fee9f18 Fix typo and use *PropertySource* instead *ProperySource*
Fixes gh-705
11 years ago
Dave Syer f7c16764e6 Add setter for security.user.role
Fixes gh-700
11 years ago
Dave Syer 0aa93036fa Fix secure method configuration global authentication
This fixes a bug in the sample, where the AuthenticationManager it builds
is a local one for the filter chain containing "/login", whereas it was
expecting to override the Boot default, which is "global". The fix is
to extract the authentication configuration out into a
GlobalAuthenticationConfigurerAdapter.

Fixes gh-699
11 years ago
Dave Syer e4b8e174e8 Add test case for gh-699 11 years ago
Dave Syer 359315568a Clarify handling and binding or YAML lists
The docs related to YAML lists were out of date and
lacked an example making it clear how to bind to them.

See gh-501
11 years ago
Marcel Overdijk f78f836fc0 Add fixedlocaleresolver based on application property
If the user sets spring.mvc.locale and doesn't provide a @Bean
of type LocaleResolver then a FixedLocaleResolver will be provided.

Fixes gh-697, fixes gh-669
11 years ago
Dave Syer 00b85e8c42 Ensure path starts with "/" in ErrorController
When mapping the ErrorController path to Spring Security it's
important that it starts with "/". This change ensures that is
the case even if the user has omitted the leading "/".

Fixes gh-694
11 years ago
Mattias Severson 506e57663a Relaxed <requireJavaVersion> configuration of the maven-enforcer-plugin
This commit resolves #695 by changing the configuration so that all Java versions from 1.7 and above are allowed.
11 years ago
Dave Syer 0ed1642989 Tweak autoconfigs in websocket support 11 years ago
Dave Syer ac16aa1757 Add SpringWebsocketCompilerAutoConfiguration
Fixes gh-693
11 years ago
Dave Syer e72f8fa646 Add test for TestRestTemplate 11 years ago
Dave Syer 4ec059eaa5 Ensure authentication is added to customized request factory
Fixes gh-692
11 years ago
Dave Syer 7401f7c643 Correct impression that DataSource platform is discovered automatically
... it isn't: you have to set spring.datasource.platform
11 years ago
Dave Syer 7b07fe8ce0 Convert remaining samples to use random port
Partial fix for gh-337. See also gh-607 which complements this, but might
conflict on a merge.
11 years ago
Dave Syer f134e96053 Convert Actuator sample to dynamic ports 11 years ago
Dave Syer 559009b8cf Support for random ports in @IntegrationTest
User can now set up default properties in the Environment using
@IntegrationTest("foo:bar", "x:y") etc. Using "server.port:0" you
can get Tomcat or Jetty to spin up on a random port. We also add
a test listener that populates "local.server.port" with the actual
port the server started on so you can @Value("${local.server.port}")
inject it into the test case.

See gh-607 (this should make the extension of that PR to samples
much easier)
11 years ago
Dave Syer 2d16c59147 Clarify usage of run.arguments with Maven plugin 11 years ago
Dave Syer 0d44e6e0d2 Ensure response is committed after ErrorPageFilter
Otherwise Tomcat will go ahead and uncommit it and handle it again
in the ErrorReportValve (duh!)

Fixes gh-684
11 years ago
Dave Syer d613cc795e SpringSource->spring-projects 11 years ago
Dave Syer 29d965fdf0 Add new thymeleaf property to docs
See gh-671
11 years ago
Lukasz Kryger 9907e70609 Minor documentation fixes 11 years ago
Andy Wilkinson 283f1b169f Ensure that local file dependencies are packaged by the Gradle plugin
Prior to this commit, a dependency on a local file was not being
packaged by the Gradle plugin. This was a regression from the behaviour
in 0.5.0.M6 caused by the move to using a ResolvedConfiguration and
ResolvedArtifacts (4f677bec) to gain access to an artifact's type so
that non-jar artefacts could be filtered out. Since then, the approach
to filtering has been changed (38585bf3) and access to an artifact's
type is no longer needed.

This commit updates ProjectLibraries to restore its use of a
FileCollection rather than a ResolvedConfiguration when getting hold of
the files in a configuration. This means that the resulting jar will
now include dependencies that aren't resolved, such as those that are
provided as local files. The filtering that is applied to the files
is unaffected by this change and only files that are zip files will be
included.

Fixes #672
11 years ago
Dave Syer fb29a3c318 Expand Error Handling section in docs a bit
Fixes gh-513
11 years ago
Dave Syer 0b89402240 Add spring.thymeleaf.contentType (defaults to HTML)
User can specify the content type in external properties now, optionally
ommitting the charset (since that is duplicated). If charset is not
appended by user Spring will do it.

Fixes gh-671
11 years ago
Dave Syer 1e0c1d1564 Add support for .yaml file extensions
Apparently yaml.org prefers .yaml, but the internet seems
to be more aligned with .yml, so I guess we should support both
out of the box.

Fixes gh-675
11 years ago
Dave Syer 78f8575850 Special case for deferred start based on Handler type
Fixes gh-673
11 years ago
Jakub Kubrynski 3ebaf11550 Extended documentation for applicaiton pid monitoring 11 years ago
Dave Syer 620d8eb87e Re-order if blocks in RunMojo
Avoids loading a class if not needed, but doesn't seem to solve
any actual problems. I'll leave it in in case it helps later.

Testing gh-648
11 years ago