Commit Graph

4994 Commits (8b5d44a56d839c4002294547688f2cae06b00ea5)
 

Author SHA1 Message Date
Phillip Webb e5f111100a Simplify Base64 Encoding
Replace the internal `Base64` class taken from Spring Security with a
simpler `Base64Encoder` version that doesn't handle decoding.

Closes gh-3078
10 years ago
Phillip Webb a0087170e0 Polish 10 years ago
Stephane Nicoll 18d7634947 Add basic cache metrics support for Infinispan
Closes gh-3066
10 years ago
Stephane Nicoll 28d2955d03 Fix Hazelcast cache statistics condition
Make sure the Hazelcast statistics support is not triggered if the Spring
support is not present. The Hazelcast dependency alone may be used with
JCache and this should not trigger the support of the native Hazelcast
metrics infra.

See gh-2633
10 years ago
Stephane Nicoll fc0eed97cf Fix build 10 years ago
Dave Syer 33f06e1cb0 Ensure redis export properties are actually set using a @Value()
Previously the @Value annotation was not on a top level @Bean field
(it was nested inside). Manually constructing the bean in a separate
configuration class seems like the best way to get it to actually bind
at runtime.
10 years ago
Stephane Nicoll eef027a4f0 Polish cache sample
Update single cache sample with all supported cache providers. Add README
to shortly explain how to get started with them.

See gh-2633
10 years ago
Eddú Meléndez 23a278451a Add cache sample
See gh-2633
10 years ago
Stephane Nicoll 91ce0abe48 Fix Redis cache auto-configuration
Add an explicit link to the `RedisAutoConfiguration` to make sure it is
applied before the cache counter-part. Request the general
`redisTemplate` so that non String-values can be handled by default as
well.

See gh-2633
10 years ago
Stephane Nicoll 6ea27024c3 Expose RedisTemplate with explicit type
Fixes gh-3075
10 years ago
Dave Syer 8a83bd12bd Refactor annotations for metric export
Users can add @ExportMetric[Reader,Writer] to readers and writers that
they want to participate in the default exporter. There is also still an
@ActuatorMetricWriter that is used for the legacy (non-Java8) Gauge and
CounterServices.
10 years ago
Dave Syer 80ff92919c Add redis properties as convenience in spring.metrics.export
The redis export and aggregate use case is a lot nicer with this
shared data between the two component types.

Also made MetricExportProperties itself a Trigger (so the default
delay etc. can be configured via spring.metrics.export.*).
10 years ago
Stephane Nicoll e8e89f3738 Merge pull request #3068 from nomack84/patch-2
* patch-2:
  Uprade to Spring Integration 4.2.0.M1
10 years ago
Mario A. Alvarez Garcia 3b82be59d6 Uprade to Spring Integration 4.2.0.M1
Closes gh-2498, gh-3068
10 years ago
Stephane Nicoll 5b00d7d89c Merge pull request #3070 from eddumelendez/gh-2633-infinispan-version
* gh-2633-infinispan-version:
  Upgrade Infinispan to 7.2.2.Final
10 years ago
Eddú Meléndez b036c87372 Upgrade Infinispan to 7.2.2.Final
Closes gh-3070
10 years ago
Dave Syer a49901f0dc Tweak conditions on metric export to make it easier to override 10 years ago
Dave Syer 88c640ee3c Fix logic error in BeanPath relating to lists of beans
There was a counting error affecting bean paths like
nested[0].foo[1].bar (needed to reset a counter to 0).
Tests seem fine and I added a couple of new ones for that
use case.

Fixes gh-3065
10 years ago
Stephane Nicoll 4c54647460 Merge pull request #3064 from izeye/patch-13
* patch-13:
  Fix redudant assertion in test
10 years ago
izeye 8f0fd21f11 Fix redudant assertion in test
Closes gh-3064
10 years ago
Stephane Nicoll c6ff911257 Merge pull request #3063 from izeye/patch-11
* patch-11:
  Add default value for endpoints.cors.max-age
10 years ago
izeye da8f3ec9b8 Add default value for endpoints.cors.max-age
Closes gh-3063
10 years ago
Stephane Nicoll 1457a55e41 Remove spring.cache.config property
Remove `spring.cache.config`  as it is too generic and does not express
enough what is configured. This property is replaced by cache library
specific properties, that is `spring.cache.ehcache.config`,
`spring.cache.hazelcast.config`, `spring.cache.infinispan.config` and
`spring.cache.jcache.config`.

See gh-2633
10 years ago
Stephane Nicoll 6575b31fb1 Merge pull request #3059 from izeye/patch-12
* patch-12:
  Fix allowCredentials property handling
10 years ago
izeye 88612393f3 Fix allowCredentials property handling
Closes gh-3059
10 years ago
Stephane Nicoll fc067d1b75 Merge branch '1.2.x' 10 years ago
Phil Parker eb92dfbb3b Fix link to Groovy documentation
Closes gh-3054
10 years ago
Stephane Nicoll 845f620c5a Merge branch '1.2.x'
Conflicts:
	spring-boot-dependencies/pom.xml
10 years ago
Stephane Nicoll 4b825163a2 Upgrade to Tomcat 8.0.23
Closes gh-3058
10 years ago
Stephane Nicoll cd77b15302 Merge pull request #3030 from aheusingfeld/master
* pull3030:
  Allow auto-reload of log4j2 config
10 years ago
Alexander Heusingfeld 04776232f7 Allow auto-reload of log4j2 config
Log4j2 can auto-reload its configuration file as long as the reference
to a `java.io.File` is provided in the `ConfigurationSource`. Previously,
we always created such `ConfigurationSource` with only the URL regardless
of its type.

Detect when the configuration URL points to a File and create the
`ConfigurationSource` accordingly.

The `spring-boot-sample-actuator-log4j2` has been updated to reload the
logging configuration every 30 sec if necessary.

Fixes gh-3024, gh-3030
10 years ago
Stephane Nicoll f0b203f6da Update doc for schema creation
See gh-446
10 years ago
Stephane Nicoll 9f9feeb00c Merge pull request #3050 from aahlenst/fix-security-config
* fix-security-config:
  Fix spring-security versions
10 years ago
Andreas Ahlenstorf 9805643e41 Fix spring-security versions
Closes gh-3050
10 years ago
Stephane Nicoll b838513fda Upgrade to Spring Framework 4.2.0.RC1
Closes gh-2947
10 years ago
Stephane Nicoll c5566e2755 Fix broken build
Update EnableAutoConfigurationImportSelectorTests to match the new
`excludeName` property.

Closes gh-2660
10 years ago
Stephane Nicoll a6f671be3e Add excludeName to EnableAutoConfiguration
Allow user to exclude an auto-configuration class by specifying the fully
qualified name instead of the class reference.

Closes gh-2660
10 years ago
Stephane Nicoll fc61f2e837 Improve documentation for JMX related keys
Closes gh-2747
10 years ago
Stephane Nicoll 51e6eda88a Update documentation for spring.main.sources
Closes gh-2851
10 years ago
Stephane Nicoll 97cf86801b Fix example structure 10 years ago
Stephane Nicoll e3a124d0f9 Expose additional RabbitMQ settings
Allow SSL to be configured via standard configuration as well as the
requestedHeartbeat. Switch to RabbitConnectionFactoryBean.

Closes gh-2655, gh-2676
10 years ago
Stephane Nicoll ab55331863 Improve configuration keys documentation 10 years ago
Stephane Nicoll 4ec519fd08 Merge branch '1.2.x' 10 years ago
Stephane Nicoll f25ce8a381 Fix artifact extension retrieval
Do not rely on the packaging type to figure out what the extension of the
main artifact will be. So far, using `jar` and `war` packaging for `.jar`
and `.war` files worked by chance.

We know retrieve the actual extension as provided by Maven's
`ArtifactHandler`.

Fixes gh-2762
10 years ago
Stephane Nicoll 9f010ed8c0 Merge branch '1.2.x' 10 years ago
Stephane Nicoll 160f2d341f Fix Gzip filter properties
Fix `excludeAgentPatterns`, `excludePaths` and `excludePathPatterns`
properties. Introduce `excludedMimeTypes` property.

Fixes gh-3042
10 years ago
Stephane Nicoll 3423972c40 Merge branch '1.2.x' 10 years ago
Stephane Nicoll 676b7d713a Refine log message
Rework c03e14b to avoid an extra empty space in log message

See gh-3033
10 years ago
Stephane Nicoll e0d34b9402 Fix build 10 years ago
Stephane Nicoll 04d7df92cc Merge pull request #3040 from izeye/patch-10
* patch-10:
  Fix broken link in doc
10 years ago