Commit Graph

23481 Commits

Author SHA1 Message Date
Michael Nitschinger
78ce06ccc7 Add support for spring-data-couchbase
Fixes gh-124
2014-04-25 12:05:15 +01:00
Stephane Nicoll
c4ffe721c7 Fix JmsTemplate default pubSubDomain setting
Prior to this commit, a JmsTemplate bean created automatically by Boot
had its "pubSubDomain" flag enabled. It's far more usual to fallback on
queue rather than topic.

This commit flips the default value of the configuration property.
2014-04-25 11:16:27 +01:00
Rob Winch
ae7098ae1d Add RepositoryRestMvcAutoConfiguration
Fixes gh-626
2014-04-25 11:13:31 +01:00
Dave Syer
63f2d6ab15 Remove compiler warnings related to Batch upgrade 2014-04-25 10:59:52 +01:00
Dave Syer
3173646635 Fix another test from gh-708 2014-04-25 10:57:12 +01:00
Oliver Gierke
26c5a3edb2 Import Spring Data release train BOM instead of individual modules.
The dependencies pom.xml now declares an import to the spring-data-releasetrain BOM pom.xml which in turn constraints version numbers for a dedicated release train release. This has the effect of users being able to upgrade to a certain release train by redeclaring the spring-data-releasetrain.version property to e.g. Dijkstra-M1. Individual modules can be upgraded by simply declaring the dependency in the desired version manually in a <dependencies /> or <dependencyManagement /> block.

Removed the explicit declaration for Spring HATEOAS as it is pulled in transitively by Spring Data REST anyway and thus makes sure it's in a compatible version.
2014-04-25 10:20:02 +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
Dave Syer
d597cc3387 Fix test broken in gh-708 2014-04-25 10:16:19 +01:00
Roy Clarkson
6ad7257baf Add auto-configuration for @EnableHypermediaSupport
If Spring HATEOAS is on the class path, then @EnableHypermediaSupport
will be auto-configured with HAL support.
2014-04-25 09:52:27 +01:00
Josh Long
e8e59ea657 MultipartConfigElement autoconfig support.
Fixes gh-708
2014-04-25 09:33:43 +01:00
Dave Syer
5be3f1d57f Update spring-boot-starter-parent version 2014-04-25 09:06:56 +01:00
Phillip Webb
64a835e91a Move master to 1.1.0.BUILD-SNAPSHOT 2014-04-24 12:45:20 +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
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
2014-04-20 10:18:04 -07:00
Dave Syer
e4b8e174e8 Add test case for gh-699 2014-04-20 10:00:34 -07:00
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
2014-04-20 08:30:39 -07:00
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
2014-04-19 19:38:51 -07:00
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
2014-04-19 19:21:45 -07:00
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.
2014-04-19 10:42:14 +02:00
Dave Syer
0ed1642989 Tweak autoconfigs in websocket support 2014-04-18 13:38:30 -07:00
Dave Syer
ac16aa1757 Add SpringWebsocketCompilerAutoConfiguration
Fixes gh-693
2014-04-18 13:23:01 -07:00
Dave Syer
e72f8fa646 Add test for TestRestTemplate 2014-04-18 13:10:14 -07:00
Dave Syer
4ec059eaa5 Ensure authentication is added to customized request factory
Fixes gh-692
2014-04-18 10:47:39 -07:00
Dave Syer
7401f7c643 Correct impression that DataSource platform is discovered automatically
... it isn't: you have to set spring.datasource.platform
2014-04-18 10:46:16 -07:00
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.
2014-04-17 20:29:04 -07:00