Dave Syer
4c359e1a4d
Two choices are available to users for welcome page
...
* For a jar deployment add classpath:static/index.html
(works via Spring MVC mapping)
* For a war the same thing works, but so does adding
index.html to src/main/webapp (works via container
default servlet)
[Fixes #54092261 ] [bs-252]
2013-07-29 11:57:44 +01:00
Dave Syer
af798a2741
Use an include for logback
2013-07-29 10:20:47 +01:00
Phillip Webb
5e4238f38a
Create spring-loader-tools project
...
Create spring-loader-tools containing utilities that can be used
with both Maven and Gradle plugings.
Refactored existing Maven plugin to use the new project.
Issue: #53129653
2013-07-28 23:49:20 -07:00
Dave Syer
7ea433dce2
Fix broken logback.xml
2013-07-27 12:08:17 +01:00
Phillip Webb
65a9953c86
Fix a new remaining 'zero' and 'bootstrap' terms
...
Issue: #54095231
2013-07-26 14:14:51 -07:00
Phillip Webb
b665a2bb1d
Renamed packages
...
Issue: #54095231
2013-07-26 14:11:04 -07:00
Phillip Webb
3f2bb03fb8
Renamed some projects and polish POMs
...
Issue: #54095231
2013-07-26 12:31:37 -07:00
Dave Syer
06ddd92438
Fix spelling error in maven plugin name
2013-07-26 17:54:59 +01:00
Dave Syer
2098e23fca
Change package names zero->boot
...
* actuator -> boot-ops
* cli -> boot-cli
* launcher -> boot-load
* autoconfig -> boot-config
* bootstrap -> boot-strap
* starters -> boot-up
[#54095231 ] [bs-253] Refactor Zero->Boot
2013-07-26 14:13:41 +01:00
Dave Syer
b2873fbc2d
Add WebMvcAutoConfigurationTests
...
[Fixes #53027833 ]
2013-07-26 11:11:17 +01:00
Dave Syer
9e14409334
Improve test coverage in RelaxedDataBinder
2013-07-26 10:32:10 +01:00
Dave Syer
b1f4320c17
Added new logic to RelaxedDataBinder to deal with nested stuff
...
* Leverages existing behaviour of BeanWrapperImpl where possible
to autogrow collections and lists
* Logic for scanning and converting bean paths encapsulated in
BeanPath inner class
[Fixes #53947797 ] [bs-249]
@ConfigurationProperties cannot bind to Map<String,List<Thing>>
2013-07-26 10:10:31 +01:00
Dave Syer
2d1f758fd8
Autoconfigure MVC if HandlerMapping already defined
2013-07-25 10:09:11 +01:00
Phillip Webb
e695b4a6ea
Use Registrar to register BeanPostProcessors
...
Use a ImportBeanDefinitionRegistrar to register BeanPostProcessors
rather than using @Bean definitions. Prevents warnings about
beans not having all BeanPostProcessors applied.
2013-07-25 00:18:20 -07:00
Phillip Webb
132722100a
Turn down logging
2013-07-25 00:18:20 -07:00
Phillip Webb
da07cdf41f
Fix TomcatEmbeddedWebappClassLoader for Tomcat 8
...
Rework TomcatEmbeddedWebappClassLoader to deal with the fact that
the 'system' field is final in Tomcat 8.
Issue: #53945989
2013-07-25 00:18:20 -07:00
Dave Syer
1df48e23a2
Change @Conditional for reactor auto config
2013-07-24 21:58:17 +01:00
Dave Syer
683ddbf525
Add Reactor autoconfiguration
...
* Make Rector @Autowirable
* Create a ConsumerBeanPostProcessor so users can add
@On and @Reply to bean methods
* Added groovy auto compiler and script sample
[#53955419 ] [bs-250]
2013-07-24 18:02:50 +01:00
Dave Syer
a365b8c1b6
Added ignored test cases for binding to maps
...
[#53947797 ] [bs-249] @ConfigurationProperties cannot bind to
Map<String,List<Thing>> or Map<String,Thing>
2013-07-24 13:21:20 +01:00
Dave Syer
ca74168936
Exclude JSP classes by default
2013-07-24 11:44:40 +01:00
Dave Syer
abf36c30f9
Add back no-op setLoader to ServerProperties
...
Tomcat starts up with server.loader System property set so
we need to accept that.
[Fixes #50806851 ] [bs-141]
First class escape hatch from jar to war for web applications
2013-07-23 18:10:09 +01:00
Dave Syer
0793e18857
Tests fixed, removing comments
2013-07-23 17:41:00 +01:00
Dave Syer
08137cf4d6
Pin problematic dependency in local repo cache
2013-07-23 17:32:53 +01:00
Dave Syer
672aa71ef5
Add Assume for CI build
2013-07-23 17:22:20 +01:00
Dave Syer
d639763bd7
Another attempt at making the ui sample work
2013-07-23 15:47:26 +01:00
Dave Syer
db27620c6e
Fix interfaces in groovy configuration
2013-07-23 12:24:36 +01:00
Dave Syer
4ecfbf68bf
Allow multi-valued spring.config.name
...
Now accepts CSV list and later values override in the
implied map that is generated.
[Fixes #53785419 ] [bs-245]
2013-07-23 11:10:54 +01:00
Dave Syer
59a409de2a
Ignore failing test
2013-07-23 10:54:30 +01:00
Dave Syer
cd1cba0c95
Add mainClass to starter-parent
2013-07-23 10:51:11 +01:00
Dave Syer
41fa6c25b8
Add some debug logging to samples
2013-07-23 10:01:50 +01:00
Dave Syer
efe3bc1ecd
Add war voodoo to the right file this time
2013-07-22 18:39:23 +01:00
Dave Syer
b1c5b30de8
Add --classpath to CLI
2013-07-22 16:20:19 +01:00
Dave Syer
1c6cbad345
Add some useful imports to Mvc scripts
2013-07-22 15:43:28 +01:00
Dave Syer
a817e7b969
Add failOnMissingWebXml to starter parent
2013-07-22 13:38:00 +01:00
Dave Syer
0effd7f58e
Use security starter in CLI autocompile
...
[Fixes #53777677 ] [bs-244]
2013-07-22 12:21:05 +01:00
Dave Syer
01ebd6da08
Fix CLI script
2013-07-22 12:06:35 +01:00
Dave Syer
5d4f075011
Fix markdown rendering of bullets on homepage
2013-07-21 08:04:20 +01:00
Dave Syer
944fd4f4b8
Enhance some docs and add content to READMEs
2013-07-19 17:36:22 +01:00
Dave Syer
90c942387f
Add basic READMEs
2013-07-19 17:36:22 +01:00
Phillip Webb
8fdfe245ca
Add tests for session timeouts
...
Add unit tests for session timeouts and also added a convenience method
to set the time with a TimeUnit.
Issue: #53667353
2013-07-19 09:19:59 -07:00
Phillip Webb
100edf9a4b
Remove getters from ConfEmbServletContainerFactory
...
Only provide setters on the ConfigurableEmbeddedServletContainerFactory
interface.
2013-07-19 08:57:21 -07:00
Phillip Webb
adbbc35944
Reduce logging level for non-critical warning
2013-07-19 08:50:15 -07:00
Phillip Webb
b824d6309a
Hide hibernate validator version INFO logging
2013-07-19 08:50:15 -07:00
Phillip Webb
a885afb818
Switch jetty & tomcat samples to use starter POMs
2013-07-19 08:50:14 -07:00
Phillip Webb
1eca022073
Add JSP-API to tomcat starter
...
Add JSP API jar dependency to tomcat starter. Primarily to prevent
log warnings.
2013-07-19 08:50:14 -07:00
Dave Syer
ea3d2e74dd
Add sessionTimeout to embedded servlet containers
...
* ConfigurableEmbeddedServletContainerFactory now has a sessionTimeout
property
* The ServerProperties in Actuator supports it
[Fixes #53667353 ] [bs-243] Support setSessionTimeout
2013-07-19 09:37:35 +01:00
Phillip Webb
1b780beddd
Support mime type extension mappings
...
Add MimeMappings class to encapsulate mappings between file extensions
and mime types.
Issue: #51754753
2013-07-18 15:54:56 -07:00
Dave Syer
4469f36975
Format thread ID to be fixed width
...
...instead of...
[#53530203 ] [bs-237] Put [thread] at end of log line
2013-07-18 21:51:30 +01:00
Dave Syer
c84462b3d8
Remove unfixable FIXME
2013-07-18 21:50:45 +01:00
Phillip Webb
9ce3428597
Add EmbeddedServletContainer.start() method
...
Add EmbeddedServletContainer.start() method that is used to start the
embedded servlet container once the application context has finished
being refreshed.
Refactored existing EmbeddedServletContainerFactory implementations to
no longer keep server instances locally.
Issue: #53538787
2013-07-18 11:38:25 -07:00