Commit Graph

23523 Commits (96f85a40de377f947fb3462581e2b35bbe4c45b1)
 

Author SHA1 Message Date
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 8dae41f24c Fix missing trailing / in resource paths 12 years ago
Dave Syer a12f0dcd12 [bs-51] Add support for h2 and Derby embedded database
Also included support for database shutdown in @PreDestroy

[Fixes #48387903]
12 years ago
Dave Syer 1a0902b32a Improve logging for @Conditional processing
[Fixes #49989913] [bs-125] @Conditional* seem to get processed multiple times?
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 369b0834a0 Re-order spring.factories so vanilla JPA users get component scan detection 12 years ago
Dave Syer 50f3a2c614 Add logging to BasicDataSourceConfiguration 12 years ago
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]
12 years ago
Dave Syer 74fffeba73 Rename LoggingInitializer to be consistent with others 12 years ago
Dave Syer 83b5240a0f Add some dependencies 12 years ago
Dave Syer 430ec347fd Tweak dependency versions 12 years ago
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]
12 years ago
Dave Syer ad2e311f2f [bs-124] Add tests for @ConditionalOnBean
[#49989537] [bs-124] @ConditionalOnBean doesn't work
12 years ago
Dave Syer 6d21ff71ba Add some dependencies to starters 12 years ago
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]
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 ceea71fc38 [bs-53] Fix class loading problem with Log in a Condition 12 years ago
Dave Syer 71c0fdd22d Add service wrappers as main theme 12 years ago
Dave Syer ad3076784d [bs-53] Aid for users debugging auto-configuration failures
Add logging to Condition implementations.

[Fixes #48389533]
12 years ago
Dave Syer 6fb8ae3d3b Add brief description of resource filtering 12 years ago
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
12 years ago
Dave Syer 56865ab260 Fix integration sample (no web dependencies) 12 years ago
Dave Syer eb2adc0b99 More fixes for @Configuration processing 12 years ago
Dave Syer ad19edf03b Fix bug introduced by Spring @Configuration processing 12 years ago
Dave Syer fc8240ac88 Fix ordering problem with validator being null 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 9f4eb6befc Re-instate README 12 years ago
Dave Syer 5aeb3fe6ca Remove dependency on slf4j for core jars
[Fixes #49588267]
12 years ago
Dave Syer 21d55b231d [bs-108] Feature documentation: just a list and brief description
[Fixes #49502657]
12 years ago
Dave Syer c65a224f4d [bs-85] Change name of groovy sample script 12 years ago
Dave Syer c0148b4536 Skip deployment for samples 12 years ago
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]
12 years ago
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
12 years ago
Dave Syer bff41d51ff [bs-108] Feature documentation: just a list and brief description
[#49502657]
12 years ago
Dave Syer 7800ebbdc7 Make management.port default to server.port 12 years ago
Dave Syer e1c3dae8a1 Restore README for Actuator 12 years ago
Dave Syer 018ee3e8b2 Add real dependencies to starter projects 12 years ago
Phillip Webb c8f37a95c9 [bs-18] Unhack direct field access
Remove reflection hacks from ConfigurationPropertiesBindingConfiguration
following updates to Spring 4.0
12 years ago
Phillip Webb 0bc2b5673c Use Spring 4.0 now that bootstrap branch is merged 12 years ago
Phillip Webb 7624b6a9f6 Include jcl-over-slf4j with autoconfigure 12 years ago
Phillip Webb 44947b13a8 Polish calling of ExitCodeGenerators 12 years ago
Phillip Webb 589ef1868d Update hardcoded bootstrap references to 0.5.0 12 years ago
Phillip Webb a0fb085102 Refactor to work with Spring 4.0
Refactor code to work with Spring 4.0 M1
12 years ago
Phillip Webb a8d6b435a4 Minor Javadoc polish 12 years ago
Phillip Webb 88a1c1de41 Fix broken ServerPropertiesTests on OSX
Fixed ServerPropertiesTests to use InetAddress.getByName("127.0.0.1")
instead of InetAddress.getLocalHost().
12 years ago