Commit Graph

1209 Commits (3e6eb6fec89ecf5bd8f2cbc5309e53d5e4674228)
 

Author SHA1 Message Date
Dave Syer 87e00cfae9 Extract MVC concerns completely from Endpoint implementations 11 years ago
Dave Syer 71ebcbff3e Add beans and autoconfig reports to shell 11 years ago
Dave Syer 6443800038 Add actuator-noweb sample 11 years ago
Dave Syer ab4dec58ef Rename packages in samples 11 years ago
Dave Syer 332f23a0ee Add parent properties to config props endpoint 11 years ago
Dave Syer bbac4ea9fb @FrameworkEndpoint replaces EndpointHandlerAdapter 11 years ago
Christian Dupuis 5a978e2f31 Change strategy from ApplicationListener to SmartLifecycle to avoid multiple registration attempts for the same beans
When running with parent/child application contexts the previous implementation was trying to re-register the same beans with JMX which led to errors.
11 years ago
Christian Dupuis 0a04b74379 Allow configuration of domainName and key for endpoint JMX export 11 years ago
Phillip Webb fa1ff72fb1 Restore quiet logging on startup
Reinstate initializeWithSensibleDefaults() on AbstractLoggingSystem
beforeInitialize(). This is required to ensure no superfluous logging
output occurs when starting up a spring boot application from the
command line.

It appears that commit e9c649dfb2
modified the logic in an attempt to prevent double initialization.

fixes gh-174
11 years ago
Christian Dupuis cd1a228210 Allow Endpoint JMX export to be switched off 11 years ago
Christian Dupuis 32818515b7 Expose endpoints via JMX
Actuator endpoints are now being exposed over JMX.
11 years ago
Phillip Webb 7c57541d50 Filter duplicates from SpringFactories loading
Filter duplicate class names when loading spring.factories files. The
prevents errors if -source jars are included on the classpath.

fixes gh-161
11 years ago
Dave Syer 0d0de05ae6 Add support for Groovy bean builder sources 11 years ago
Phillip Webb d635d8af72 Upgrade dependencies 11 years ago
Dave Syer 997b015d10 Split SecurityAutoConfiguration
Spring Security 3.2 has a new annotation @EnableWebMvcSecurity that we
should use if MVC is being used.
11 years ago
Dave Syer 72bfd4ce68 Protect HttpMessageConverters if MVC is not available 11 years ago
Dave Syer 5dab07d0b9 Upgrade Spring Security 11 years ago
Dave Syer 3789424f22 Add JodaModule bean if detected on classpath
Fixes gh-146
11 years ago
Dave Syer a79e3613d3 Add header as separator 11 years ago
Dave Syer 1194fc882b Add feature to SimpleJsonParser
Now it can parse nested lists as map values.

Fixes gh-169
11 years ago
Dave Syer bddf624bcb Merge EnableConfigurationPropertiesTests
Fixes gh-168
11 years ago
Dave Syer bdcb94a139 Remove initialization concerns fom HttpMessageConverters 11 years ago
Phillip Webb 513c6a1de2 Polish 11 years ago
Phillip Webb 85fb1cba0b Rework HttpMessageConverters 11 years ago
Phillip Webb 983ef16eae Remove SystemProperties from tests in strict mode
Remove system properties when testing strict property binding. This
prevents test failures that can occur if the local environment happens
to have certain environment variables defined.
11 years ago
Dave Syer 60cb5fd35c Add log4j starter and some documentation
As discussed in gh-162
11 years ago
johnou e9c649dfb2 Avoid double logging config init + support for slf4j-log4j. 11 years ago
Dave Syer b72002142d Split MessageConverters auto config out into separate class 11 years ago
Janne Valkealahti 9ffa6bced5 Readme updates for gradle plugin 11 years ago
Dave Syer 766bb8aa4f Update Spring Integration to 3.0 11 years ago
Dave Syer 99fd32d408 Attempt to make URL comparison windoze proof 11 years ago
Dave Syer c78973e375 MessageConverters -> HttpMessageConverters 11 years ago
Dave Syer 370501f4a9 Add test and fix bug in MessageConverters 11 years ago
Dave Syer c2b499c775 Support for @Beans of type HttpMessageConverter, and Jackson specific details
You can contribute additional HttpMessageConverters
by simply adding beans of that type in a Spring Boot
context. If a bean you add is of a type that would have been included
by default anyway (like MappingJackson2HttpMessageConverter for JSON
conversions) then it will replace the default value. A convenience
bean is provided of type MessageConverters (always available if you
use the default MVC configuration) which has some useful methods to
access the default and user-enhanced message converters (useful, for
example if you want to manually inject them into a custom
RestTemplate).

There are also some convenient configuration shortcuts for Jackson2.
The smallest change that might work is to just add beans of type
Module to your context. They will be registered with the default
ObjectMapper and then injected into the default message
converter. In addition, if your context contains any beans of type
ObjectMapper then all of the Module beans will be registered with
all of the mappers.
11 years ago
Christian Dupuis 2b16a4af39 Fix failing test due to change in JMX export default setting 11 years ago
Dave Syer beef5cfd31 Prevent type not present exception when no security on classpath 11 years ago
Dave Syer c40d0aba0d Document switching off DispatcherServlet 11 years ago
Dave Syer 492bab8c81 Upgrade Spring 11 years ago
Christian Dupuis 5c6a0fd472 Enabled JMX export auto configuration by default 11 years ago
Dave Syer 9c2b34f188 Allow default DispatcherServlet to be switched off more easily
All a user has to do now is declare a bean with name "dispatcherServlet".
11 years ago
Dave Syer b05ffd1164 Add extra condition to security properties config 11 years ago
Dave Syer faf8742f07 Upgrade Jackson 11 years ago
Dave Syer 1db28e5b92 Prevent cryptic exception if SecurityProperties not created
Previously if a user happened to provide an @EnableWebSecurity bean
the SecurityProperties would not be created, which is fine until you
add the Actuator (which needs them). Fixed by adding an explicit
SecurityProperties @Bean if not already present.
11 years ago
Christian Dupuis b931cce386 Auto configuration support for JMX export 11 years ago
Dave Syer cf05a5d578 Fix @Conditional for Batch command line runner
Previously it was @ConditionalOnMissingBean(CommandLineRunner.class)
which caued obvious problems when user wanted to add an unrelated
CLR.

Extended feature set so that a JobRegistry can also be used (with
spring.batch.job.name) and the whole idea can be switched off with
spring.boot.job.enabled.
11 years ago
Dave Syer a8c69220c7 Only log startup info (PID etc) for root context
Fixes gh-153
11 years ago
Glenn Renfro 6cf3b91b2e Allow use of underscores in @ConfigurationProperties prefix
Currently the PropertiesConfigurationFilter filters them out.
Thus when deploying to IAAS these environment variables are ignored.

Fixes gh-154
11 years ago
VasylTretiakov 3a37ddb237 Fixed several typos in CONTRIBUTING.md
Fixes gh-158
11 years ago
VasylTretiakov 408e26482f Fixed two typos in README.md
Fixes gh-157
11 years ago
Dave Syer 76ea99ad0b Add instance id suffix to Tomcat Engine name
Fixes gh-160
11 years ago