Commit Graph

45343 Commits (619a0f3b350d0438cb444c5828ef0d533723f6be)
 

Author SHA1 Message Date
Dave Syer 3c44fda782 Switch off ws sample tests 11 years ago
Dave Syer 05e678acb3 Clean out grapes 11 years ago
Dave Syer 5ead60a7e1 Comment out websocket sample (fails in CI) 11 years ago
Sergey Shcherbakov 0277ce7ab2 Added wildcard and property placeholder support in SpringApplication
* When a config source is a String it can now be a pattern
* Default resource loaded in the BeanDefinitionLoader has been
changed to PathMatchingResourcePatternResolver;
* A check for the ResourcePatternLoader similar to that in
AbstractBeanDefinitionReader and property placeholder resolution
has been added to the load(CharSequence) method of the
BeanDefinitionLoader;
* Added a unit test illustrating the issue;
11 years ago
Dave Syer 767aa43e31 Add WebSocketAutoConfiguration
Opinionated defaults for WebSockets:

* If spring-websocket is on the classpath and so is
the Tomcat WSci initializer then it is added to the context
* A DefaultSockJsService is added if none is present
* User has only to define @Beans of type WebSocketHandler with
name starting "/"
* Each one is converted to a SockJsHttpRequestHandler and
mapped to "/<beanName>/**"
11 years ago
Dave Syer 6e8cbbde3b Use reflection hack for error page in Tocmat 8 11 years ago
Sergey Shcherbakov b4542f722f Support for embedded Tomcat 8 container parallel to the current Tomcat 7 11 years ago
ggerard 322b5e5c2b Typo (mvn -> curl) 11 years ago
Phillip Webb 94b182cc81 Allow hibernate naming strategy to be specified
Issue: #53028397
11 years ago
Biju Kunjummen 9d9b005c9f Fixed typo in LoggingApplicationContextInitalizer initializeLogLeve->initializeLogLevel 11 years ago
Biju Kunjummen fa3b593568 Removed spring-boot related version from dependencies of samples 11 years ago
Dave Syer d88e1b4b7a Add test case for ivy customization
A bug in ivy (tickled by maven leaving a pom
but no jar in the local repo) would make the
default Grapes ivy config fail (cannot grab...).
Phil's workaround now has a test case.
11 years ago
Phillip Webb 39aea5d944 Ensure localm2 ivy repo can resolve artifacts
Fix the localm2 repository to only consider that a pom exists when
its artifact is contained in the repository.

This prevents a download error that can occur when the local m2
repository contains a POM file but not a JAR.

Issue: #55532358
11 years ago
Phillip Webb a10abffe9f Add MultiPartConfigFactory
Issue: #55528242
11 years ago
Phillip Webb 71946f9d83 Update WebMvcAutoConfiguration conditional bean
Change WebMvcAutoConfiguration to use WebMvcConfigurationSupport instead
of HanderAdapter as the @ConditionalOnMissingBean. This allows MVC to
be auto-configured even if you define additional HanderAdapters.

Issue: #55493342
11 years ago
Phillip Webb d4fe320254 Update trace logging to include Hibernate SQL 11 years ago
Phillip Webb 6858c3987e Use Hibernate ImprovedNamingStrategy by default
Update HibernateJpaAutoConfiguration to use the ImprovedNamingStrategy
for better table and column names.

Issue: #55261888
11 years ago
Phillip Webb 7e3cb50a22 Polish 11 years ago
Phillip Webb 021fe45d83 Exclude spring-data-rest package from being stored
Update AutoConfigurationUtils to specifically exclude spring-data-rest
packages from being stored. This prevent missing class errors caused
when Spring Boot attempts to use @ComponentScan packages as the source
for JPA entities and reads annotations that are not on the classpath.

Issue: #55489346
11 years ago
Phillip Webb fc841e0269 Move inner class to end of file for consistency 11 years ago
Dave Syer bd45d68a63 Rename SpringServletInitializer
[Fixes #55388726] [bs-292]
11 years ago
Dave Syer b720f7e688 Startup time for CLI app much quicker now
The Boot resolver didn't transfer enough of the settings
of the default ChainResolver. Adding a boolean flag was
enough to make the chatter die down for dependencies
that were unneeded.

[Fixes #55358344] [bs-291]
11 years ago
Phil Webb 3690ab16ba Fix README.md typo 11 years ago
Dave Syer 0993f3da0a Restore Tomcat in CLI
Seems to work. I think the problem was the race conditions
that we hopefully already eliminated. I got an out of memory
error running the samples tests in Eclipse, but then it went
away again (something to look out for).

[Fixes #54925992] [bs-280]
11 years ago
Dave Syer 52144fbbb6 Remove commons-logging dependency for starter projects 11 years ago
Dave Syer d205d9404a Add additional ViewResolver configuration
The DispatcherServlet adds a default InternalViewResolver
which was used by some apps, but when the actuator was
available it added an "/error" bean and effectively
switched off the default view resolver. The net fix was
to add an InternalViewResolver at the same time as
adding any other ViewResolvers.

[Fixes #55357516] [bs-290] Actuator UI app cannot serve static index.html
11 years ago
Dave Syer 4c4e013c5e Avoid NPE in error controller 11 years ago
Phillip Webb 3fc8752a37 Update autoconfigure README.md with `--debug` info 11 years ago
Phillip Webb 840fdeb50f Create common SpringBootCondition base class
Create a new SpringBootCondition that will log why a condition has
or has not been applied. The removes the need for ConditionLogUtils
and simplifies many of the existing condition implementations.

Issue: #55203236
11 years ago
Phillip Webb c9b3af09b4 Support --debug and --trace increased logging
Update LoggingApplicationContextInitializer to detect the presence of
'--debug' and '--trace' arguments to increase log output.

Using '--debug' will set 'org.springframework.boot' loggers to DEBUG.

Using '--trace' will set 'org.springframework', 'org.apache.tomcat' and
'org.eclipse.jetty' loggers to TRACE.

Issue: #55202588
11 years ago
Phillip Webb 87b0cea6f6 Pass args to SpringApplicationInitializers
Change SpringApplicationInitializer interface to include run() args.
Allow initializers to make additional configurations based on the user
supplied arguments.

Issue: #55202588
11 years ago
Phillip Webb 76bda7e3b4 Rename SpringApplication.defaultCommandLineArgs
Rename SpringApplication.defaultCommandLineArgs to defaultArgs for
consistency with the run() method arguments.

Issue: #55202844
11 years ago
Phillip Webb 5b77028f04 Support programmatic setting of log levels
Provide a common way to programmatically set log levels regardless of
the underlying log implementation.

Issue: #55202588
11 years ago
Phillip Webb 5446a20a90 Add managed dependency to Spring Data Mongo 11 years ago
Phillip Webb 0fdafa885f Upgrade to Spring Data 1.3.4 11 years ago
Dave Syer c25736d84f Add test for nested properties 11 years ago
Phillip Webb 4e83826b41 Polish 11 years ago
Phillip Webb 82ed7a676d Readme for auto-configuration 11 years ago
Phillip Webb 1ff76459db Polish ConditionalOn annotations
Update ConditionalOn annotations :
- Use consistent attribute names for OnClass and OnMissingClass
- Update javadoc
- Rename tests to reflect the annotation rather than the interface
11 years ago
Dave Syer 0d583deb27 Add CLASSPATH elements back to spring CLI script
Also add @WebConfiguration as a shortcut for groovy
scripts to get MVC behaviour (without a @Controller)

[#54926366]
11 years ago
Phillip Webb 8e347cddff Merge pull request #23 from chanwit/master
# By Chanwit Kaewkasi
* pull23:
  Fix a line ending issue for building on Windows
11 years ago
Chanwit Kaewkasi 1b38cddeae Fix a line ending issue for building on Windows 11 years ago
Phillip Webb e7689fd7c9 Revert "Add repository declarations to parent poms"
This reverts commit e8430f6119.
11 years ago
Dave Syer 68e84f7d02 Add pool parameters to AbstractDataSourceConfiguration
* Exposed common pool properties in the base class for data source configuration
* Made it @ConfigurationProperties so it binds in strongly typed sense

[Fixes #53028455] [bs-214] Add pool parameters to AbstractDataSourceConfiguration
11 years ago
Dave Syer 56f5b3ad0f Add logging to dispatcher servlet condition 11 years ago
Dave Syer 0af9d2022a Allow user to supply servlets and filters and still get default DispatcherServlet
Instead of not installing one at all if there is any ServletContextInitializer,
Spring Boot will now install a DispatcherServlet if context does not contain one
already with the magic name "dispatcherServlet".

[Fixes #54674870] [bs-277]
11 years ago
Dave Syer 86064f48e0 Add GVM instructions to README 11 years ago
Dave Syer e8430f6119 Add repository declarations to parent poms 11 years ago
Phillip Webb 81541643fd Fix accidentally committed errors in README.md 11 years ago
Phillip Webb 878ff13620 Documentation updates 11 years ago