Commit Graph

4536 Commits (a065b80e5787729b4c109ce6f5c8d18d77409260)
 

Author SHA1 Message Date
Dave Syer a065b80e57 Add MetricsEndpointMetricReader for exporting all metrics
User can add a bean of type MetricsEndpointMetricReader to opt in
to exporting all metrics via the MetricsEndpoint (instead of via
MetricReaders). There are disadvantages (like no accurate timestamps)
so it's best to leave it as an opt in.

Also improved tests for metric auto configuration a bit.
10 years ago
Dave Syer 5ceb35473d Allow multiple readers/writers to be @ActuatorMetric*
In principle you might have multiple "system" repositories, all
of which you want to go to public metrics or not be metrics exporters.
This change adds a new annotation and renames the old one, so that
reades and writers can be distinguished, and also changes the
autowiring of them to accept multiple values.

Also adds automatic public metrics for Spring Integration.
10 years ago
Stephane Nicoll 6f38b54800 Merge pull request #2997 from Riggs333/patch-1
* patch-1:
  Fix typo in javadoc
10 years ago
Thomas Traude 8b7f318d6b Fix typo in javadoc
Closes gh-2997
10 years ago
Andy Wilkinson 5cd18e121b Merge branch '1.2.x' 10 years ago
Andy Wilkinson c5b5932c0c Upgrade to thymeleaf-extras-springsecurity3 2.1.2.RELEASE
Closes gh-2975
10 years ago
Andy Wilkinson 615e1afe80 Upgrade to Spring Loaded 1.2.3.RELEASE
Closes gh-2974
10 years ago
Andy Wilkinson 3d68216bf7 Upgrade to Liquibase 3.3.3
Closes gh-2973
10 years ago
Andy Wilkinson 83d718de79 Upgrade to HornetQ 2.4.7.Final
Closes gh-2972
10 years ago
Andy Wilkinson f9b8c85de1 Upgrade to Hibernate 4.3.10.Final
Closes gh-2971
10 years ago
Andy Wilkinson fc2b4ea8c3 Upgrade to Jetty 9.2.10
Closes gh-2970
10 years ago
Andy Wilkinson 28bfdef325 Upgrade to ActiveMQ 5.10.2
Closes gh-2969
10 years ago
Andy Wilkinson cdac992ff5 Upgrade to thymeleaf-layout-dialect 1.2.8
Closes gh-2968
10 years ago
Andy Wilkinson b2f5b1ed46 Upgrade to mysql-connector-java 5.1.35
Closes gh-2967
10 years ago
Andy Wilkinson ffabf16a02 Upgrade to Jackson 2.4.6
Closes gh-2966
10 years ago
Andy Wilkinson c2476e039f Fix SpringApplicationTests.customBannerWithProperties on Windows
Closes gh-2964
10 years ago
Andy Wilkinson f1266130fa Remove dependency management for spring-erlang
spring-erlang is no longer part of Spring AMQP so the dependency
management for it is no longer required.

Closes gh-2946
10 years ago
Andy Wilkinson 8fcc66939c Merge branch '1.2.x' 10 years ago
Andy Wilkinson b7d27145e8 Upgrade to Spring Integration 4.1.4.RELEASE
Fixes gh-2811
10 years ago
Andy Wilkinson e5451ab4fe Upgrade to Tomcat 8.0.22
Closes gh-2955
10 years ago
Andy Wilkinson 18d8564d85 Upgrade to Spring Social 1.1.1.RELEASE
Closes gh-2954
10 years ago
Stephane Nicoll b96e878305 Switch to Apache US mirror 10 years ago
Stephane Nicoll 9a15d0533c Upgrade to Tomcat 8.0.22
Closes gh-2955
10 years ago
Stephane Nicoll 80ecb8220d Add explicit dependency to CacheAutoConfiguration
Make sure that the cache statistics auto-configuration is evaluated after
the cache auto-configuration itself.

See gh-2633
10 years ago
Stephane Nicoll 62a2dd659b Add display-name option
Allow the display-name of the application to be customized when deployed
in an embedded container via the `server.display-name` property.

Closes gh-2600
10 years ago
Stephane Nicoll 0a9b8cbb41 Polish Infinispan support
Updated to the `EmbeddedCacheManager` interface and added support for
default cache configuration.

Added dependencies management for the JCache support with tests

Fixes gh-2906, see gh-2633
10 years ago
Eddú Meléndez 76ac781a65 Add support for Infinispan
Include auto-configuration support for Infinispan. It is possible
to specify the caches to create via `spring.cache.cache-names`.
Provider also allow to set configuration file via `spring.cache.config`.

See gh-2633
10 years ago
Stephane Nicoll d63d2dded8 polish
Improve documentation of cors settings.

See gh-2936
10 years ago
Andy Wilkinson b45a2bcfc0 Update javadoc following removal of deprecated APIs
See gh-2697
10 years ago
Andy Wilkinson e3a53cb087 Remove classes and methods deprecated since 1.2 and earlier
Closes gh-2697
10 years ago
Andy Wilkinson 9243faa354 Upgrade to Reactor and Reactor Spring 2.0.1.RELEASE
Closes gh-2719
10 years ago
Andy Wilkinson 5b8a9bbe90 Upgrade to Spock 1.0
Closes gh-2951
10 years ago
Andy Wilkinson 04c68427d8 Upgrade to Spring Plugin 1.2.0.RELEASE
Closes gh-2605
10 years ago
Andy Wilkinson 3abac59e9c Add dependency management for jackson-dataformat-csv
Closes gh-2760
10 years ago
Andy Wilkinson f3af9a81c7 Upgrade to HikariCP 2.3.7
Closes gh-2863
10 years ago
Andy Wilkinson aa1f84d037 Make OnBeanCondition package private again
It was accidentally made public in 45b579c.

Closes gh-2741
10 years ago
Andy Wilkinson 296a9d6cf0 Upgrade to Spring AMQP 1.5.0.M1
Closes gh-2946
10 years ago
Andy Wilkinson 291173ddc6 Upgrade to JsonPath 2.0.0
Closes gh-2720
10 years ago
Andy Wilkinson 84d3a34c49 Add CORS support to the actuator’s endpoints
This commit adds CORS support to the Actuator’s MVC endpoints. CORS
support is disabled by default and is only enabled once the
endpoints.cors.allowed-origins property has been set.

The new properties to control the endpoints’ CORS configuration are:

endpoints.cors.allow-credentials
endpoints.cors.allowed-origins
endpoints.cors.allowed-methods
endpoints.cors.allowed-headers
endpoints.cors.exposed-headers

The changes to enable Jolokia-specific CORS support (57a51ed) have been
reverted as part of this commit. This provides a consistent approach
to CORS configuration across all endpoints, rather than Jolokia using
its own configuration.

See gh-1987
Closes gh-2936
10 years ago
Stephane Nicoll b466229231 Restore proper customization of JCache CacheManager
Work in 1b3efd4 actually introduced a regression: if a CacheManager is
created via a custom configuration file, it is no longer post-processed.

This commit makes sure to also customize a CacheManager that was
created that way.

See gh-2848
10 years ago
Stephane Nicoll c0e9ed1e34 Fix typo 10 years ago
Andy Wilkinson 7a47c4b594 Add dependency management for org.apache.httpcomponents:httpcore
Without dependency management for org.apache.httpcomponents:httpcore,
it’s possible to get mismatched versions of httpcore and httpclient.

Closes gh-2941
10 years ago
Tommy Ludwig a88be00b6c Upgrade to Log4j2 version 2.2
Closes gh-2938
10 years ago
Davide Angelocola c82224831a Add dependency management for slf4j-simple
Closes gh-2934
10 years ago
Andy Wilkinson 5717c38c63 Upgrade to Apache HTTP Client 4.4.1
Closes gh-2941
10 years ago
Andy Wilkinson a012538955 Merge branch 'feature/metrics' 10 years ago
Dave Syer 64af3272a1 Extract metric export into a separate autoconfig class
This avoids a potential problems with ordering between Dropwizard and
normal repository configuration. A Dropwizard sample has been added to
verify the behaviour.
10 years ago
Dave Syer 7be13b28bd Add tests for new features 10 years ago
Dave Syer 270d5e3205 Add @ActuatorMetricRepository to qualify the "native" repository
Primarily when it is needed for metric export.
10 years ago
Dave Syer 2f2750e713 Extract metric writers into a MetricExporters composite
Adds a separate exporter per MetricWriter and allows individual
configuration of exporters for fine-grained control of schedules
and patterns etc.
10 years ago