Commit Graph

4269 Commits (df0ba5c03a77e46403d682811584132a79da0e9d)
 

Author SHA1 Message Date
Phillip Webb df0ba5c03a Guard against metric failures in MetricsFilter
Update MetricsFilter so that failures to record metrics are logged and
ignored.

Fixes gh-2777
10 years ago
Phillip Webb 1d5a62b3df Show `endpoint.isEnabled` in `/configprops`
Update `ConfigurationPropertiesReportEndpoint` so that properties that
are set with a Boolean class but read with a boolean primitive still
appear in the report. The allows the Endpoint.isEnabled() property to
be displayed.

Fixes gh-2929
10 years ago
Phillip Webb 61bc876ae8 Upgrade to H2 v1.4.187
Fixes gh-2730
10 years ago
Phillip Webb aaa2ff54dd Extract @ConditionalOnEnabledEndpoint
Extract @ConditionalOnEnabledEndpoint to a top level class.

See gh-2798
10 years ago
Phillip Webb 968b68c322 Polish 10 years ago
Josh Thornhill 10f7031e46 Fix typo in documentation
Closes gh-3077
10 years ago
Phil Parker eb92dfbb3b Fix link to Groovy documentation
Closes gh-3054
10 years ago
Stephane Nicoll 4b825163a2 Upgrade to Tomcat 8.0.23
Closes gh-3058
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 160f2d341f Fix Gzip filter properties
Fix `excludeAgentPatterns`, `excludePaths` and `excludePathPatterns`
properties. Introduce `excludedMimeTypes` property.

Fixes gh-3042
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 c03e14bee4 Fix missing space in log message
Fixes gh-3033
10 years ago
Joe Kutner dbe310b806 Update Heroku deployment documentation
Closes gh-3000
10 years ago
Andy Wilkinson bb877ed579 Upgrade to Spring Batch 3.0.4.RELEASE
Closes gh-2950
10 years ago
Andy Wilkinson 6ad6cf0356 Upgrade to Spring Social 1.1.2.RELEASE
Closes gh-3015
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 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
Andy Wilkinson fc31115668 Rely soley on underlying logger for isEnabled in Liquibase logger
Previously, CommonsLoggingLiquibaseLogger referred to its
configured level and the underlying Commons Logging log when
determining if logging was enabled for a particular level. This did
not work as intended as setLogLevel was never called leaving the
configured level stuck at its default value of INFO. As a result of
this any logging at levels below INFO would not be output,
irrespective of the configuration of the underlying logging framework.

This commit updates CommonsLoggingLiquibaseLogger to rely purely on
the Commons Logging log when determining whether or not logging for
a particular level is enabled. This brings the implementation into
line with liquibase-slf4j [1] which provides similar functionality,
albeit using SLF4J rather than Commons Logging

Closes gh-2916

[1] https://github.com/mattbertolini/liquibase-slf4j/blob/master/src/main/java/liquibase/ext/logging/slf4j/Slf4jLogger.java
10 years ago
Andy Wilkinson 4977e48ec5 Don’t rely on deduction of main application class when running tests
Previously, when SpringApplicationContextLoader created a
SpringApplication and used it to load the test’s application context,
it relied upon SpringApplication correctly deducing the application’s
main class. This would result in the wrong class being deduced as the
application’s main method is not called so the test runner’s main method
would be found instead.

This commit updates SpringApplicationContextLoader to explicitly set
SpringApplication’s main class to be the current test’s class. While
not strictly the application’s main class, it is the next best thing
available in this situation and prevents misleading log messages and
application versions from being logged.

Fixes gh-2930
10 years ago
Andy Wilkinson 2053f4b2bf Clear JAVA_OPTS in CLI tests; avoid permsize config error with Java 8
When a Java 8 JVM is launched with -XX:MaxPermSize a warning message
is output indicating that the option will be ignored. This causes the
CLI tests that assert that no error output has been produced to fail.

This commit updates the CLI's integration test harness to remove
JAVA_OPTS from the environment of the CLI process. This prevents any
unwanted max perm size configuration from leaking into that
environment and breaking the build.
10 years ago
Mario A. Alvarez Garcia ca94bd4b94 Upgrade to Hibernate 4.3.9.Final
Closes gh-2928
10 years ago
Davide Angelocola 3179d278a2 Upgrade to SLF4J 1.7.12
Closes gh-2931
10 years ago
Andy Wilkinson d3d5b211ed Upgrade to Spring AMQP 1.4.5.RELEASE
Closes gh-2932
10 years ago
Andy Wilkinson 66be012e78 Upgrade to Undertow 1.1.4.Final
Closes gh-2754
10 years ago
Craig Walls 88d72e0598 Upgrade to Spring Social Facebook 2.0.1.RELEASE
While this is a breaking change, continuing with Spring Social
Facebook 1.1.x is also broken as it is no longer compatible with
Facebook's API. Upgrading to 2.0.1.RELEASE may require some changes
to be made to users' applications, but it will allow their
applications to use the Facebook API once again.

Closes gh-2837
10 years ago
pasali 1cc0b19f29 Upgrade to Dropwizard Metrics 3.1.2
Closes gh-2920
10 years ago
Andy Wilkinson ffcc854d42 Include exception in warning message when pid file cannot be created
Closes gh-2905
10 years ago
Josh Thornhill b16a973d6a Honor the endpoint.enabled property when registering MBeans
Fixes gh-2873
Closes gh-2890
10 years ago
yinheli ef49ced12a Polish Gradle example for using Undertow
Closes gh-2896
10 years ago
Dave Syer efa7ad8370 Only use PropertySource.getValue() as a fallback
It converts everything to a String so it isn't helpful to use
it as a default.

Fixes gh-2891.
10 years ago
Rob Winch b54960f072 Management Security uses Spring Realm
Previously ManagementSecurityAutoConfiguration used Spring Security's
default realm of "Realm" when authentication failed. This was confusing
because when prompted for authentication (i.e. no credentials provided)
the realm "Spring" was requested.

This commit ensures the Realm that is used is consistent for all of of the
security auto configuration.

Fixes #2466
10 years ago
Andy Wilkinson bc27a8aa6e Show different Gradle repository config for snapshots vs releases
Closes gh-2838
10 years ago
Andy Wilkinson 3e3395304b Upgrade to javax.mail:javax.mail-api 1.5.3
Closes gh-2835
10 years ago
izeye 68ed4dec9b Polish production ready features documentation
Closes gh-2832
10 years ago
izeye b8a45d9117 Fix typo in deployment documentation
Closes gh-2836
10 years ago
Kamil Szymanski 88d03b76e9 Fix Groovy templates ViewResolver class name and id in How-to docs
Closes gh-2846
10 years ago
Xiang Li 71ce0f6c95 Remove duplicate json.version property from spring-boot-parent pom.xml
Closes gh-2854
10 years ago
Andy Wilkinson dabbb02dfe Prevents tests that use Elasticsearch from polluting the filesystem
By default, Elasticsearch writes it data to ./data. This led to data
being left on the filesystem after a mvn clean which could cause
failures when moving between branches that use different versions of
Elasticsearch.

This commit updates the tests for the Elasticsearch sample and
the Elasticsearch auto-configuration classes to write the
Elasticsearch data and logs into the target directory.
10 years ago
Stephane Nicoll 326bdf29c2 Remove unused configuration map
Remove the configuration map defined in `GroovyTemplateProperties` which
isn't used. Ironically, that configuration map was exposed with the exact
same prefix as `GroovyMarkupConfigurer`, which broke IDEs support since
two entries had the exact same prefix.

Fixes gh-2840
10 years ago