Commit Graph

5742 Commits

Author SHA1 Message Date
Stephane Nicoll
a33deee9f3 Merge pull request #3235 from izeye/ehcache
* ehcache:
  Polish
  Fix EhCache hit/miss ratio
2015-06-16 10:31:32 +02:00
Stephane Nicoll
8c7b8afedb Polish 2015-06-16 10:31:24 +02:00
izeye
2b9775d593 Fix EhCache hit/miss ratio
The hitRatio is the ratio of two windowed rates that are calculated
independently. They are not updated or read transactionally, hence the
ratio of the two can drift slightly from what might be expected.

We now make sure that the hit or miss ratio can't be higher than 1

Closes gh-3235
2015-06-16 10:11:46 +02:00
Stephane Nicoll
bbb27cf272 Merge pull request #3247 from eddumelendez/hornetq-typos
* hornetq-typos:
  Fix typos
2015-06-16 10:03:36 +02:00
Eddú Meléndez
6d5ff33bdf Fix typos
Closes gh-3247
2015-06-16 10:00:47 +02:00
Phillip Webb
93a7dc21da Merge branch '1.2.x' 2015-06-15 18:09:41 -07:00
Phillip Webb
cca0b76ac8 Support Velocity toolbox configurations from jar
Create an EmbeddedVelocityToolboxView which supports loading toolbox.xml
files from the application classpath as well as the ServletContext. The
VelocityAutoConfiguration class has been updated to use the new view.

This change allows the `spring.velocity.toolbox-config-location`
property to work with embedded servlet containers.

Fixes gh-2912
2015-06-15 18:08:17 -07:00
Phillip Webb
79179a7773 Merge branch '1.2.x' 2015-06-15 12:41:11 -07:00
Oliver Gierke
1cfc6f64f6 Allow multiple @EntityScan annotations to be used
Update EntityScanRegistrar so that multiple @EntityScan annotations can
be used with a single application. Previously, when an application used
multiple annotations only the first one found would get applied. This
changes alters that to augment the packages that will be scanned.

Fixes gh-2757
2015-06-15 12:21:22 -07:00
Phillip Webb
49039c33ea Polish 2015-06-15 11:44:44 -07:00
Phillip Webb
d87f2713af Merge branch '1.2.x' 2015-06-15 11:38:24 -07:00
Artur Mkrtchyan
d6e24a15de Update logging.path documentation sample
Update appendix example to use the more common `/var/log` folder rather
than `/var/logs`.

Fixes gh-3225
2015-06-15 11:36:03 -07:00
Phillip Webb
20d39f7af2 Polish 2015-06-15 11:31:33 -07:00
Ben Hale
818d3bd230 VcapApplicationListener Boolean Credentials
Previously, the VcapApplicationListener would discard any service
credential value that wasn't a String, Number, Map, Collection, or
null.  This was particularly a problem for services that exposed a
value as a JSON boolean.  This change takes booleans in the credential
payload into account, converting them to Strings so that they will
pass through the properties system properly.  There's no real downside
to this as Spring will coerce them back into Booleans if needed, by
the application.

Fixes gh-3237
2015-06-15 11:24:13 -07:00
Phillip Webb
75ffd1b017 Polish 2015-06-15 11:19:47 -07:00
Phillip Webb
a83d999f27 Add missing MultipartProperties.enabled property
Fixes gh-3209
2015-06-15 11:18:01 -07:00
Phillip Webb
135e9d10a6 Polish 2015-06-15 10:52:02 -07:00
Andy Wilkinson
49e538248b Add dependency management for ActiveMQ’s other modules
Closes gh-3206
2015-06-15 14:43:07 +01:00
Andy Wilkinson
eab599bd38 Merge branch '1.2.x' 2015-06-15 14:25:41 +01:00
Andy Wilkinson
0253f21f2f Update the link to Bitronix's documentation
Closes gh-3207
2015-06-15 14:25:24 +01:00
Stephane Nicoll
961350735b Add test for CacheConfigFileCondition
CacheConfigFileCondition was not properly tested, leading to various
potential source of errors (that last one being gh-3233). This condition
is now tested properly.
2015-06-15 12:06:10 +02:00
Stephane Nicoll
ac14072dba Fix typo in documentation
See gh-3232
2015-06-15 11:29:38 +02:00
Stephane Nicoll
b7742a7267 Merge branch '1.2.x' 2015-06-15 11:21:22 +02:00
Stephane Nicoll
321a149297 Only associate JTA transaction manager
This is related to 38cca9c but for the Rabbit support. Update
RabbitAnnotationDrivenConfiguration to only associate a JTA transaction
manager, if any.

Closes gh-3222
2015-06-15 11:20:03 +02:00
Stephane Nicoll
d93a76cc57 Merge pull request #3227 from izeye/cache-config
* cache-config:
  Fix typo in cache auto-configurations
2015-06-15 09:39:19 +02:00
izeye
0112260767 Fix typo in cache auto-configurations
Make sure that the EhCache support is triggered if
`spring.cache.ehcache.config` is set and the cache type is set to `auto`.

Same thing for Hazelcast.

Closes gh-3227
2015-06-15 09:37:55 +02:00
Stephane Nicoll
79adcc9421 Merge pull request #3224 from eddumelendez/jackson-om-doc
* jackson-om-doc:
  Add documentation for serialization-inclusion
2015-06-15 08:55:54 +02:00
Eddú Meléndez
0682660387 Add documentation for serialization-inclusion
Document `spring.jackson.serialization-inclusion`.

Closes gh-3224
2015-06-15 08:53:26 +02:00
Stephane Nicoll
c2b606de4c Merge branch '1.2.x' 2015-06-14 10:04:20 +02:00
Stephane Nicoll
dc94fafaaa Fix dependency of AmqpAdmin
AmqpAdmin does not require a CachingConnectionFactory. Using the more
general CachingConnectionFactory provides more flexibility.

Closes gh-3220
2015-06-14 10:04:06 +02:00
Stephane Nicoll
bb4c89592d Merge branch '1.2.x' 2015-06-14 09:36:25 +02:00
Stephane Nicoll
01ba732a73 Consistent use of "=" for property key
Closes gh-3218
2015-06-14 09:36:10 +02:00
Stephane Nicoll
253da6f3fe Merge pull request #3211 from izeye/patch-21
* patch-21:
  Fix meta-data for spring.jmx.server
  Fix mbean server property
2015-06-13 18:21:26 +02:00
Stephane Nicoll
bc4ae336f9 Fix meta-data for spring.jmx.server
See gh-3211
2015-06-13 18:20:53 +02:00
izeye
952f34b828 Fix mbean server property
`spring.jmx.server` was incorrectlyt documented as
`spring.jmx.mbean-server` in the documentation.

Closes gh-3211
2015-06-13 18:20:13 +02:00
Stephane Nicoll
641ceca3a9 Lower logging level of audit events
Closes gh-3107
2015-06-12 17:56:21 +02:00
Stephane Nicoll
b384f0360c Use proper product name for Intellij IDEA 2015-06-12 17:08:50 +02:00
Dave Syer
2c829c7229 Add support for Spring Retry in CLI 2015-06-12 14:55:07 +01:00
Dave Syer
d1e6c3b5c0 All JDK 1.8 as a lower limit 2015-06-12 14:42:22 +01:00
Phillip Webb
6b92160295 Enforce Java 8 for compiling 2015-06-11 22:45:56 -07:00
Phillip Webb
dc071fa246 Restore remote support in devtools-sample 2015-06-11 21:46:38 -07:00
Phillip Webb
099db11754 Don't quit application on restart failures
Update `Restarter` to support a `FailureHandler` strategy that can be
used to determine how to deal with errors. The
`LocalDevToolsAutoConfiguration` now uses a strategy that doesn't quit
the application, but instead continues to wait for further file changes.

This helps make restart much more usable in situations where you
accidentally break code.

Fixes gh-3210
2015-06-11 21:46:21 -07:00
Phillip Webb
24fc94461b Polish 2015-06-11 10:44:52 -07:00
Dave Syer
462c5f29b1 UserInfoTokenServices should not throw UserRedirectRequiredException
It can just catch all exceptions from the remote /user endpoint
because in a resource server it needs to throw `InvalidTokenException`
and in an SSO setting it will never be called.

Fixes gh-3205
2015-06-11 12:59:25 +01:00
Stephane Nicoll
34e4163ebc Improve configuration keys documentation 2015-06-11 11:17:36 +02:00
Stephane Nicoll
982b74a9b0 Fix property duplication 2015-06-11 10:32:06 +02:00
Stephane Nicoll
fcb45a4bb7 Polish devtools documentation
See gh-3088
2015-06-11 09:33:09 +02:00
Phillip Webb
e687c9456f Fix documentation bookmarks 2015-06-10 23:32:30 -07:00
Phillip Webb
992a56957f Document spring-boot-devtools module
Fixes gh-3088
2015-06-10 22:06:19 -07:00
Phillip Webb
f0bba46d45 Tweak devtools restart exclusion patterns 2015-06-10 22:06:03 -07:00