Commit Graph

58380 Commits

Author SHA1 Message Date
Phillip Webb 8017c04e30 Rename spring-boot-javadoc to spring-boot-docs
Renamed javadoc to a general purpose docs project that can be
automatically deployed.
2013-12-19 15:12:15 -08:00
Phillip Webb 36cdc41cb0 Attempt to automate javadoc deployment 2013-12-19 13:43:57 -08:00
Phillip Webb 657bd5573a Attempt to automate javadoc deployment 2013-12-19 12:49:21 -08:00
Phillip Webb ac5b8740cc Replace aggregate javadoc jar with zip 2013-12-19 10:32:20 -08:00
Phillip Webb 9c21ad5528 Restore javadoc artifact 2013-12-19 10:08:22 -08:00
Dave Syer 75af18df7d Add support for beans{} in CLI scripts
User can add (a single) beans{} DSL declaration (see GroovyBeanDefinitionReader
in Spring 4 for more detail) anywhere at the top level of an application source
file. It will be compiled to a closure and fed in to the application context
through a GroovyBeanDefinitionReader. Cool!

The example spring-boot-cli/samples/beans.groovy runs in an integration test
and passes (see SampleIntegrationTests).
2013-12-19 17:11:01 +00:00
Christian Dupuis 72ae5d5a97 Rename invoke JMX operation
Rename invoke JMX operation to getData for endpoints that provide actuator data. Special case for ShutdownEndpoint to provide a shutdown method.
2013-12-19 15:49:18 +01:00
Christian Dupuis 31f7807acf Change naming strategy for endpoint mbeans 2013-12-19 15:21:02 +01:00
Dave Syer e2c962ac28 Switch to thymeleaf-spring4 2013-12-19 13:40:24 +00:00
Spring Buildmaster 7956d16da5 Next development version 2013-12-19 00:46:35 -08:00
Dave Syer d9e326a3d3 Add @Value injection to JSP (WAR) sample 2013-12-19 08:28:06 +00:00
Christian Dupuis b694556483 Set JMX export on by default 2013-12-19 08:47:22 +01:00
Phillip Webb d04248a845 Use SHA1 checksum for homebrew 2013-12-18 23:19:24 -08:00
Phillip Webb 1931d6eb9d Fix broken homebrew 2013-12-18 23:09:34 -08:00
Phillip Webb d6dbbebc88 Polish 2013-12-18 22:39:37 -08:00
Phillip Webb dbec81cabe Disable jmx by default
Change JmxAutoConfiguration so that by default JMX exposure is not
enabled. This matches the Javdoc text.
2013-12-18 22:32:39 -08:00
Phillip Webb 625d36d050 Merge branch 'framework-endpoint' 2013-12-18 22:21:28 -08:00
Phillip Webb 7c78b74a76 Minor polish 2013-12-18 22:21:13 -08:00
Phillip Webb 43b820a7d3 Rename Endpoint path to ID 2013-12-18 21:00:37 -08:00
Dave Syer 451acb5679 Move JolokiaEndpoint so it is not an Endpoint 2013-12-18 20:05:34 -08:00
Dave Syer 7f1264bb65 Replace @FrameworkEndpoint with MvcEndpoint interface 2013-12-18 20:05:34 -08:00
Dave Syer 87e00cfae9 Extract MVC concerns completely from Endpoint implementations 2013-12-18 20:05:34 -08:00
Dave Syer 71ebcbff3e Add beans and autoconfig reports to shell 2013-12-18 20:05:34 -08:00
Dave Syer 6443800038 Add actuator-noweb sample 2013-12-18 20:05:33 -08:00
Dave Syer ab4dec58ef Rename packages in samples 2013-12-18 20:05:33 -08:00
Dave Syer 332f23a0ee Add parent properties to config props endpoint 2013-12-18 20:05:33 -08:00
Dave Syer bbac4ea9fb @FrameworkEndpoint replaces EndpointHandlerAdapter 2013-12-18 20:05:33 -08:00
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.
2013-12-18 22:42:06 +01:00
Christian Dupuis 0a04b74379 Allow configuration of domainName and key for endpoint JMX export 2013-12-18 21:12:24 +01:00
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
2013-12-18 10:46:49 -08:00
Christian Dupuis cd1a228210 Allow Endpoint JMX export to be switched off 2013-12-18 19:03:30 +01:00
Christian Dupuis 32818515b7 Expose endpoints via JMX
Actuator endpoints are now being exposed over JMX.
2013-12-18 19:03:30 +01:00
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
2013-12-18 09:55:06 -08:00
Dave Syer 0d0de05ae6 Add support for Groovy bean builder sources 2013-12-18 15:01:56 +00:00
Phillip Webb d635d8af72 Upgrade dependencies 2013-12-17 22:13:31 -08:00
Dave Syer 997b015d10 Split SecurityAutoConfiguration
Spring Security 3.2 has a new annotation @EnableWebMvcSecurity that we
should use if MVC is being used.
2013-12-17 17:17:05 +00:00
Dave Syer 72bfd4ce68 Protect HttpMessageConverters if MVC is not available 2013-12-17 17:17:05 +00:00
Dave Syer 5dab07d0b9 Upgrade Spring Security 2013-12-17 15:44:33 +00:00
Dave Syer 3789424f22 Add JodaModule bean if detected on classpath
Fixes gh-146
2013-12-17 14:22:18 +00:00
Dave Syer a79e3613d3 Add header as separator 2013-12-17 11:07:46 +00:00
Dave Syer 1194fc882b Add feature to SimpleJsonParser
Now it can parse nested lists as map values.

Fixes gh-169
2013-12-17 09:53:21 +00:00
Dave Syer bddf624bcb Merge EnableConfigurationPropertiesTests
Fixes gh-168
2013-12-17 09:40:34 +00:00
Dave Syer bdcb94a139 Remove initialization concerns fom HttpMessageConverters 2013-12-17 09:02:16 +00:00
Phillip Webb 513c6a1de2 Polish 2013-12-16 14:38:52 -08:00
Phillip Webb 85fb1cba0b Rework HttpMessageConverters 2013-12-16 14:38:48 -08:00
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.
2013-12-16 12:59:49 -08:00
Dave Syer 60cb5fd35c Add log4j starter and some documentation
As discussed in gh-162
2013-12-16 17:26:53 +00:00
johnou e9c649dfb2 Avoid double logging config init + support for slf4j-log4j. 2013-12-16 16:21:08 +00:00
Dave Syer b72002142d Split MessageConverters auto config out into separate class 2013-12-16 16:13:39 +00:00
Janne Valkealahti 9ffa6bced5 Readme updates for gradle plugin 2013-12-16 15:10:09 +00:00