Commit Graph

4288 Commits (dc94fafaaa5fceb5a2ccaae7342bdf4030e05d14)
 

Author SHA1 Message Date
Stephane Nicoll dc94fafaaa Fix dependency of AmqpAdmin
AmqpAdmin does not require a CachingConnectionFactory. Using the more
general CachingConnectionFactory provides more flexibility.

Closes gh-3220
10 years ago
Stephane Nicoll 01ba732a73 Consistent use of "=" for property key
Closes gh-3218
10 years ago
Andy Wilkinson defceec90c Reinstate support for spring.groovy.template.configuration.*
Previously, spring.groovy.template.configuration.* was mapped onto both
GroovyTemplateProperties.configuration and GroovyMarkupConfigurer. The
former being a Map and the latter being specific type with getters and
setters. This clash caused problems with the IDE support.

GroovyTemplateProperties.configuration appeared to be dead code so it
was removed in 326bdf2. Unfortunately this broke the use of
spring.groovy.template.configuration.* properties as
GroovyTemplateProperties uses a prefix of spring.groovy.template and it
no longer had a configuration property.

This commit addresses the problem by updating GroovyTemplateProperties
to ignore unknown fields. This allows
spring.groovy.template.configuration.* properties to be used and bound
to GroovyMarkupConfigurer without reintroducing the clash which prompted
the initial change.

Closes gh-3198
10 years ago
Andy Wilkinson ad7a1d9a69 Upgrade to Spring Integration 4.1.5.RELEASE
Closes gh-3176
10 years ago
Andy Wilkinson 4b02896b1d Upgrade to Jetty 9.2.11.v20150529
Closes gh-3191
10 years ago
Andy Wilkinson 0ad93c77d3 Update to AspectJ 1.8.6
Closes gh-3190
10 years ago
Lugi Cardito a37e983296 Create output directory if necessary
If the `repackage` goal defines an output directory that does not exist,
the maven plugin now creates it.

Closes gh-3136
10 years ago
Andy Wilkinson 4a36c2e041 Increase the timeout period for container startup in deployment tests
The build currently fails intermittently when an external container,
usually TomEE or Wildfly, fails to start within the default timeout
period of two minutes. This commit updates the timeout to 5 minutes for
all containers (Tomcat, TomEE and Wildfly) in the hope that it will
help to stabilise the CI build.
10 years ago
Andy Wilkinson b95a7cbdc4 Polishing: use tabs, not spaces 10 years ago
Eddú Meléndez 827c84169b Upgrade to Liquibase 3.3.5
Closes gh-3122
10 years ago
Stephane Nicoll 5a57913732 Tune spring-boot-actuator logging config
Closes gh-3060
10 years ago
Stephane Nicoll 7fc9c2afdf Fix indent 10 years ago
Stephane Nicoll e16f5d03ab Add reference to Mustache to documentation
Closes gh-3121
10 years ago
Stephane Nicoll 38cca9c1f3 Only associate JTA transaction manager to JMS factory
The JMS MessageListenerContainer supports the PlatformTransactionManager
abstraction with either a `JmsTransactionManager` for local transactions
or `JtaTransactionManager` for distributed transactions. The former is
kind of deprecated (`setTransacted` should be used instead). In any case,
any other `PlatformTransactionManager` implementation is not supported.

Update JmsAnnotationDrivenConfiguration to only associated a JTA
transaction manager, if any.

Closes gh-3150
10 years ago
Dave Syer 1c0bcc13cf Set UserDetailsService in default AuthenticationManagerBuilder
Only affects the default AuthenticationManagerBuilder (so when users
are not overriding the default global user details). Makes the
UserDetailsService effectively available as it would be if we used
AuthenticationManagerBuilder.inMemoryAuthentication() as a
shared object in the HttpSecurity.

Fixes gh-3152
10 years ago
izeye c7103bf2a4 Add missing slash
`endpoints.jolokia.path` requires the path to start with a slash.

Closes gh-2864
10 years ago
Stephane Nicoll b847b6fa4b Fixup version numbers following release 10 years ago
Spring Buildmaster 5d81c87b43 Next Development Version 10 years ago
Phillip Webb df8c311280 Add OrderedHiddenHttpMethodFilter
Add OrderedHiddenHttpMethodFilter and use it in WebMvcAutoConfiguration
to ensure that it is applied before Spring Security.

Fixes gh-2773
10 years ago
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