Dave Syer
bd5fea0d8c
Updates for Security snapshots
2013-05-18 16:38:48 +01:00
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 ]
2013-05-18 16:20:22 +01:00
Dave Syer
8dae41f24c
Fix missing trailing / in resource paths
2013-05-18 16:03:27 +01:00
Dave Syer
a12f0dcd12
[bs-51] Add support for h2 and Derby embedded database
...
Also included support for database shutdown in @PreDestroy
[Fixes #48387903 ]
2013-05-17 17:57:56 +01:00
Dave Syer
1a0902b32a
Improve logging for @Conditional processing
...
[Fixes #49989913 ] [bs-125] @Conditional* seem to get processed multiple times?
2013-05-17 17:31:31 +01:00
Dave Syer
00c227ac01
Add favicon.ico
2013-05-17 16:12:06 +01:00
Dave Syer
10573d2c74
Remove dependency-reduced-pom.xml
2013-05-17 16:10:59 +01:00
Dave Syer
6d844eb978
Allow mvn launch and shade plugin of UI sample
2013-05-17 16:08:55 +01:00
Dave Syer
a1dd6e3293
Fix data sample (needed an enum for spring.jpa.ddl_auto)
2013-05-17 16:07:40 +01:00
Dave Syer
369b0834a0
Re-order spring.factories so vanilla JPA users get component scan detection
2013-05-17 13:58:09 +01:00
Dave Syer
50f3a2c614
Add logging to BasicDataSourceConfiguration
2013-05-17 12:11:42 +01:00
Dave Syer
2dc296caa9
[bs-98] Add support for Tomcat database pool
...
* If Tomcat jdbc is available and the driverClassName and url
are provided or can be guessed (e.g. for HSQL) it is used.
Properties spring.database.{driverClassName,url} are consulted.
* If Commons DBCP is available it is used (if Tomcat is not)
* Otherwise an EmbeddedDatabase is created if all the bits are
available
* A JdbcOperations and a NamedParameterJdbcOperations are
available by default if a DataSource is created
* The data source is initialized from spring.database.schema (csv
of resource patterns)
[Fixes #49393511 ]
2013-05-17 11:57:02 +01:00
Dave Syer
74fffeba73
Rename LoggingInitializer to be consistent with others
2013-05-17 11:56:30 +01:00
Dave Syer
83b5240a0f
Add some dependencies
2013-05-17 11:54:52 +01:00
Dave Syer
430ec347fd
Tweak dependency versions
2013-05-16 16:38:59 +01:00
Dave Syer
73f28a3809
[bs-22] Add tests for JPA auto configuration
...
* Extracted the component scan detector so it can be used
without @EnableAutoConfiguration
* Added unit tests
* Improve logging in @Conditional processing
[#48127729 ]
2013-05-16 14:05:07 +01:00
Dave Syer
ad2e311f2f
[bs-124] Add tests for @ConditionalOnBean
...
[#49989537 ] [bs-124] @ConditionalOnBean doesn't work
2013-05-16 12:14:46 +01:00
Dave Syer
6d21ff71ba
Add some dependencies to starters
2013-05-16 12:13:53 +01:00
Dave Syer
728b4887c1
[bs-107] Remove "z" suffix from management endpoints
...
* /varz->/metrics
* /healthz->/health
* all actuator endpoints are now in a subpackage
[Fixes #49496887 ]
2013-05-15 16:13:23 +01:00
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
2013-05-15 15:58:18 +01:00
Dave Syer
ceea71fc38
[bs-53] Fix class loading problem with Log in a Condition
2013-05-13 17:36:07 +01:00
Dave Syer
71c0fdd22d
Add service wrappers as main theme
2013-05-13 15:58:48 +01:00
Dave Syer
ad3076784d
[bs-53] Aid for users debugging auto-configuration failures
...
Add logging to Condition implementations.
[Fixes #48389533 ]
2013-05-13 14:27:43 +01:00
Dave Syer
6fb8ae3d3b
Add brief description of resource filtering
2013-05-12 21:58:54 +01:00
Dave Syer
ef5c8aa304
[bs-115] Add EmbeddedServletContainerCustomizer as a callback
...
* All instances are called before the container is started in
a bean post processor
* Users still have to be careful because the customizer is
called very early in the ApplicationContext lifecycle (e.g.
might have to do a lookup for some dependencies instead of
@Autowired)
[Fixes #49671463 ] User-hook for customizing embedded servlet container
2013-05-10 17:20:08 +01:00
Dave Syer
56865ab260
Fix integration sample (no web dependencies)
2013-05-10 16:21:30 +01:00
Dave Syer
eb2adc0b99
More fixes for @Configuration processing
2013-05-10 15:52:53 +01:00
Dave Syer
ad19edf03b
Fix bug introduced by Spring @Configuration processing
2013-05-10 15:45:12 +01:00
Dave Syer
fc8240ac88
Fix ordering problem with validator being null
2013-05-10 14:45:18 +01:00
Dave Syer
e24ffa7e64
Fix samples to include integration as a submodule
2013-05-09 17:37:06 +01:00
Dave Syer
202dae3213
Fix missing version for spring-core
2013-05-09 16:14:16 +01:00
Dave Syer
13cb224b0a
[bs-113] Remove dependency on slf4j for core jars
...
Also added explicit version for starter dependencies.
[Fixes #49588267 ]
2013-05-09 15:32:31 +01:00
Dave Syer
9f4eb6befc
Re-instate README
2013-05-09 14:15:14 +01:00
Dave Syer
5aeb3fe6ca
Remove dependency on slf4j for core jars
...
[Fixes #49588267 ]
2013-05-09 14:11:01 +01:00
Dave Syer
21d55b231d
[bs-108] Feature documentation: just a list and brief description
...
[Fixes #49502657 ]
2013-05-09 13:55:29 +01:00
Dave Syer
c65a224f4d
[bs-85] Change name of groovy sample script
2013-05-09 13:14:21 +01:00
Dave Syer
c0148b4536
Skip deployment for samples
2013-05-09 12:49:59 +01:00
Dave Syer
a0e51d06ea
[bs-111] Extract TraceFilterConfiguration into separate file
...
We want the traces to be collected for the main app, but reported
in the management app, so the confi has to be separate.
[#49578819 ]
2013-05-09 12:37:23 +01:00
Dave Syer
ceab9b9b33
[bs-111] Extract trace logging from Security config
...
It's not really a security feature (just logging request headers),
so better to put it in the main actuator autoconfig.
[Fixes #49578819 ] [bs-111] Unresolvable cycle when separating management.port
2013-05-09 12:21:47 +01:00
Dave Syer
bff41d51ff
[bs-108] Feature documentation: just a list and brief description
...
[#49502657 ]
2013-05-09 09:53:36 +01:00
Dave Syer
7800ebbdc7
Make management.port default to server.port
2013-05-09 09:41:24 +01:00
Dave Syer
e1c3dae8a1
Restore README for Actuator
2013-05-09 09:06:12 +01:00
Dave Syer
018ee3e8b2
Add real dependencies to starter projects
2013-05-09 09:05:46 +01:00
Phillip Webb
c8f37a95c9
[bs-18] Unhack direct field access
...
Remove reflection hacks from ConfigurationPropertiesBindingConfiguration
following updates to Spring 4.0
2013-05-08 20:55:20 -07:00
Phillip Webb
0bc2b5673c
Use Spring 4.0 now that bootstrap branch is merged
2013-05-08 20:53:56 -07:00
Phillip Webb
7624b6a9f6
Include jcl-over-slf4j with autoconfigure
2013-05-08 14:46:43 -07:00
Phillip Webb
44947b13a8
Polish calling of ExitCodeGenerators
2013-05-08 14:45:58 -07:00
Phillip Webb
589ef1868d
Update hardcoded bootstrap references to 0.5.0
2013-05-08 14:41:52 -07:00
Phillip Webb
a0fb085102
Refactor to work with Spring 4.0
...
Refactor code to work with Spring 4.0 M1
2013-05-08 14:41:51 -07:00
Phillip Webb
a8d6b435a4
Minor Javadoc polish
2013-05-08 14:41:51 -07:00