Commit Graph

37 Commits (5f7f69ad9308fc7497b8ab3d00fe30eb9f947091)

Author SHA1 Message Date
Dave Syer 5f7f69ad93 [bs-132] Actuator should use delegating version of MVC support
The delegating version delegates to other configurers, and it's what
@EnableWebMvc uses.  You effectively switch off the delegation if you
use the base class by mistake.

[Fixes #50267017] [bs-132] Static resources in /css/**
cannot be served by Actuator project
12 years ago
Dave Syer 29a81b8795 [bs-130] Prevent double registration
* A simple check to see if it is already registered
fixed the original problem
* Also removed the need to have @ConfigurationProperties
on a bean class (unless you want to specify the target name
etc.)

[Fixes #50256421] [bs-130] When actuator app starts the
@ConfigurationProperties are registered with the bean
factory several times
12 years ago
Dave Syer ab121dc91b [bs-127] Add DataSourceTransactionManager if no others are in use
* If the auto config class has a high Order it can check for
an existing transaction manager
* Unit tests added, and checked also witrh petclinic

[Fixes #50064347]
12 years ago
Dave Syer 00c227ac01 Add favicon.ico 12 years ago
Dave Syer 10573d2c74 Remove dependency-reduced-pom.xml 12 years ago
Dave Syer 6d844eb978 Allow mvn launch and shade plugin of UI sample 12 years ago
Dave Syer a1dd6e3293 Fix data sample (needed an enum for spring.jpa.ddl_auto) 12 years ago
Dave Syer 430ec347fd Tweak dependency versions 12 years ago
Dave Syer 6d21ff71ba Add some dependencies to starters 12 years ago
Dave Syer 53078c320e [bs-118], [bs-119]: add UI builder features
* MessageSource created automatically (location
spring.messages.basename:messages)
* Thymeleaf configured automatically to look for
templates in classpath:/templates
* Added static resource handlers for classpath:/static
and classpath:/

[Fixes #49832165] [bs-118] Support for thymeleaf templates
12 years ago
Dave Syer e24ffa7e64 Fix samples to include integration as a submodule 12 years ago
Dave Syer 202dae3213 Fix missing version for spring-core 12 years ago
Dave Syer 13cb224b0a [bs-113] Remove dependency on slf4j for core jars
Also added explicit version for starter dependencies.

[Fixes #49588267]
12 years ago
Dave Syer c0148b4536 Skip deployment for samples 12 years ago
Phillip Webb cafded9e7e Polish JavaDoc 12 years ago
Dave Syer 4a292bd93f [bs-97] Support adding management endpoints to a different network
* ManagementProperties and ServerProperties now support an address property
* For example set management.port=9001,management.address=127.0.0.1 to listen
on port 9001 but only for connections from the localhost

[Fixes #49395783]
12 years ago
Dave Syer 8231377113 [bs-85] Move round and rename some actuator packages
[#49047535]
12 years ago
Dave Syer a5810af882 Add mvn deployment gumf 12 years ago
Dave Syer 694a1dd408 Bump version to 0.5.0.BUILD-SNAPSHOT 12 years ago
Dave Syer b897f35cad [bs-85] New name for production-ready features = "actuator"
[#49047535]
12 years ago
Dave Syer bd35fd9306 [bs-98] Add MySQL data source to service sample
[#49393511] [bs-98] Add support for Tomcat database pool
12 years ago
Dave Syer 81d0f14080 [bs-52] ensure "mvn exec:java" works in trad web sample
[#48386505] [bs-52] Support for running "traditional" webapps in place
12 years ago
Dave Syer b462bc6e6c [bs-96] Switch off m2e errors about /eclipse path
* Uploaded m2e eclipse baggage to http://static.springsource.org
* Changed location in parent pom
* Removed all main.basedir properties from poms

[Fixes #49285987]
12 years ago
Dave Syer bd79ec2362 [bs-22] Move @ConfigurationProperties processing to main jar
Also add unit tests.  Note also the start.groovy for the service
sample now works.

[#48127729]
12 years ago
Dave Syer 30087cf6b9 [bs-55] Add strategy for setting system exit code
* Added ExitCodeGenerator and SpringApplication.exit
convenience method
* User can add bean of type ExitCodeGenerator or supply
one in the call to exit()

[Fixes #48475971]
12 years ago
Dave Syer 5501adc862 [bs-35] Add @ConfigurationProperties EndpointsProperties and bind to application.yml
[Fixes #48245695]
12 years ago
Dave Syer ce2a2beab4 [bs-83] Rename "container" -> "server"
* Also extracted ManagementServerProperties into a separate
bean
* TraceRepository was still causing problems during startup,
fixed that
* Allow management endpoints to be switched off with port=0

[Fixes #49046013]
12 years ago
Dave Syer ec0e9b17ad More ordering issues in service apps
* The TraceAutoConfiguration in the service project
was loading too early because it contains a BPP
* It also had a Spring Security dependency without any
@Conditional* configuration
* Fixed by nesting the BPP in a class with @Conditional*
12 years ago
Dave Syer 833b13bbbc [bs-80] Add configurable / switchable web request trace logging (headers etc)
* Added a bean post processor for the Spring Security filter chain
(so you only get traces by default if security is on)
* Every request is logged at trace level if the dump requests flag is
on
* Requests are also dumped to a TraceRepository for later analysis (very
useful for tracing problems in real time when a support call comes in)

[Fixes #48976001]
12 years ago
Dave Syer 361f500ed5 [bs-28] Add /shutdown endpoint to service apps
Disabled by default use container.allow_shutdown=true to switch
it on.  Then POST to /shutdown to shut down the app.

[#48059059]
12 years ago
Dave Syer 628a8c79aa [bs-19] Medley of changes supporting integration apps
* Use file adapters in sample instead of internal flow
* Add Exception to signature of CommandLineRunner for
implementation convenience
* Updates for Security snapshots
12 years ago
Dave Syer 61fa55b524 [bs-62] Add assertions to CLI integration tests
[Fixes #48658503]
12 years ago
Dave Syer bcf86b320e [bs-72], [bs-75] Add Batch plugin features
* Auto config in main bootstrap jar
* Compiler enhancements in groovy cli
* Sample script in cli samples

[Fixes #48716881], [Fixes #48788313]
12 years ago
Dave Syer 83e0ea22c1 [bs-19] Add samples and CLI support for Spring Integration
$ cd spring-bootstrap-cli
    $ export SPRING_HOME=target
    $ src/main/scripts/spring run samples/integration.groovy

The big disadvantage at the moment is that there is no goo way to
detect Spring Integration in the AST (at least not as good as @Enable*).
So for now we are looking for @MessageEndpoint or a class name with
SpringIntegration in it.

[#48151147]
12 years ago
Dave Syer 38f0cf1ed2 [bs-62] Add integration tests for CLI samples
[Fixes #48658503]
12 years ago
Dave Syer c91e83c7d2 [bs-59] Add zip packaging for cli module
* Also added "spring" shell script (in zip), so you can
unzip it and run out of the box
* To run in developer mode use SPRING_HOME, e.g.

        $ cd spring-bootstrap-cli
        $ SPRING_HOME=target src/main/scripts/spring run samples/web.groovy
* Also added "clean" command to remove spring bootstrap grapes
(useful to force a refresh of snapshot jars)

[#48644271]
12 years ago
Dave Syer fb6b224470 Fast forward existing prototype work 12 years ago