Commit Graph
681 Commits
Author SHA1 Message Date
Phillip Webb 63b70363a2 Add travis CI build status image 2013-08-25 08:55:57 -07:00
Phillip Webb db216fd960 Merge pull request #38 from bijukunjummen/mvnpluginphase
# By Biju Kunjummen
* mvnpluginphase:
  Added an @Execute annotation to RunMojo
2013-08-25 08:30:18 -07:00
Biju Kunjummen 0d9f186da1 Added an @Execute annotation to RunMojo
Update RunMojo to include an @Execute annotation. Allows the use of
`mvn spring-boot:run` without having to compile/package first. Now a
command like `mvn clean spring-boot:run` works.

The phase for @Execute annotation is along the lines of what is used
for the `jetty:run` plugin.
2013-08-25 08:27:14 -07:00
Phillip Webb a974ef351d Remove superfluous ivy log output 2013-08-25 08:24:04 -07:00
Phillip Webb 351c66c8c2 Use managed spring-integration-groovy-dsl
Update SpringIntegrationCompilerAutoConfiguration to use the managed
version of spring-integration-groovy-dsl.
2013-08-25 08:22:49 -07:00
Phillip Webb 78351f0fbc Fixup CLI POM
Fix classloader issues by excluding spring JARs from test classpath
and also include spring-integration-groovy-dsl as a managed dependency.
2013-08-25 08:20:32 -07:00
Phillip Webb de02a84792 Polish JSR-303 detection 2013-08-25 08:19:10 -07:00
Phillip Webb e5637a6175 Travis CI tweaks 2013-08-25 08:15:16 -07:00
Phillip Webb b1ebec3781 Set source/target version to 1.6 for int. tests 2013-08-24 19:57:20 -07:00
Phillip Webb 0ee1bdeffd Stream maven-invoker-plugin logs 2013-08-24 19:32:06 -07:00
Phillip Webb d4f04eed24 Fix NoClassDefFoundError with OutputCapture 2013-08-24 19:24:28 -07:00
Phillip Webb 3906a01df5 Merge pull request #35 from dbuchko/master
# By Daniel L. Buchko
* pull35:
  Prevent test failures under Windows
  Fixed handling of spaces in file paths
2013-08-24 18:52:34 -07:00
Daniel L. Buchko 08f1abce7b Prevent test failures under Windows
Cleaned up file separators to prevent tests failing on Windows.
2013-08-24 16:31:02 -07:00
Daniel L. Buchko 2d43781c5c Fixed handling of spaces in file paths
Update Launcher to correctly handle spaced in file paths.
2013-08-24 16:31:02 -07:00
Phillip Webb 8b4a87d20b Use OutputCapture for log tests and disable ANSI
Refactor JavaLoggerSystemTests to make use of OutputCapture and ensure
that captured output never includes ANSI symbols.
2013-08-24 13:24:19 -07:00
Phillip Webb 148dd2cc3f Merge pull request #37 from adrianpillinger/master
# By Adrian Pillinger
* pull37:
  Fixing typo in the documentation that incorrectly named a property.
2013-08-24 13:02:30 -07:00
Adrian Pillinger 6b0a4a5755 Fixing typo in the documentation that incorrectly named a property.
The spring property should have been spring.profiles.active instead of
spring.active.profiles.
2013-08-24 13:02:24 -07:00
Phillip Webb 13b6301c54 Fix JSP EL support with Tomcat
Fix TomcatEmbeddedServletContainerFactory to set a MERGED_WEB_XML
attribute when JSPs are used. This is required for EL support with
JSPs since Jasper checks the version number in the web.xml. Without
any web.xml Jasper default to disabling EL.

Issue: #55752948
2013-08-24 13:01:38 -07:00
Phillip Webb 6779435ed7 Delegate ClassLoader with Tomcat
Use standard class loading delegation with Tomcat.
2013-08-24 13:01:38 -07:00
Phillip Webb 8dbaa4a466 Add support for web-jar resources
Include resource mapping for web-jar resources.

Issue: #55752928
2013-08-24 13:01:38 -07:00
Phillip Webb fd2bfc0f42 Add config file property sources after existing
Change ConfigFileApplicationContextInitializer to add config file
property sources after existing sources. This allows environment
variables and system properties to override file properties.

Issue: #55739594
2013-08-23 12:07:35 -07:00
Phillip Webb 5cf6cd6dd7 Merge pull request #33 from bijukunjummen/jodatimedep
# By Biju Kunjummen
* jodatimedep:
  Added Joda-time managed dependency
2013-08-23 11:41:39 -07:00
Biju Kunjummen f8ba015712 Added Joda-time managed dependency 2013-08-23 11:41:05 -07:00
Phillip Webb 859b2663a3 Remove '/resources/**' mapping and default servlet
Remove '/resources/**' mapping since it can cause problems with the
'/**' when the developer defines their own 'resources' sub-folder.

Also remove default servlet config since the resources mapping renders
it redundant.

Issue: #55494446
2013-08-23 09:59:40 -07:00
Dave Syer e55fc9443e Remove compiler warnings 2013-08-23 09:41:46 +01:00
Dave Syer 367fffe39e Merge branch 'gh-pages-upstream'
$ git checkout gh-pages-upstream
    $ git pull --rebase
    $ git checkout master
    $ git merge -s subtree gh-pages-upstream
2013-08-23 09:22:17 +01:00
Dave Syer 5cdf8e94e4 Merge upstream gh-pages
$ git remote add gh-pages-upstream git://...
        $ git merge -s ours --no-commit gh-pages-upstream
        $ git read-tree --prefix=src/pages/ -u gh-pages-upstream
        $ git commit -m "..."
2013-08-23 09:18:29 +01:00
Dave Syer d7e75dbdda Adapt docs pages to new site format (unfinished) 2013-08-23 09:15:09 +01:00
Phillip Webb e1bbbf3c1b Added 'Application started in XX seconds' logging
Added logging to INFO SpringApplication to log when the application has
fully started and how long it took to load.
2013-08-22 17:16:01 -07:00
Phillip Webb e85597f31b Update logging to check level is enabled 2013-08-22 16:54:53 -07:00
Phillip Webb 97cc5a7fc6 Support for liquibase in executable jars
Create LiquibaseServiceLocatorInitializer to replace the standard
liquibase classpath scanning logic with SpringPackageScanClassResolver
which will work correctly in Spring Boot packaged executable JARs.

Issue: #55580628
2013-08-22 16:31:51 -07:00
Phillip Webb a4143b88c2 Polish pattern resolving in BeanDefinitionLoader 2013-08-22 10:33:41 -07:00
Phillip Webb 507c4ec7b6 Code formatting 2013-08-22 10:33:41 -07:00
Dave Syer 0f012c581b Don't set deefault password if empty or unresolved 2013-08-22 17:06:07 +01:00
Dave Syer ec779495d5 Switch off CSRF filter
Might need to revisit later.
2013-08-22 16:52:30 +01:00
Chris Beams f1cd797fd3 Fix "Fork me on GitHub" ribbon URL 2013-08-22 14:22:44 +02:00
Chris Beams 00119e8b87 Populate "Fork me on GitHub" ribbon URL 2013-08-22 14:20:04 +02:00
Chris Beams 5fa6949bd1 Rename github => github_repo_url 2013-08-22 14:18:30 +02:00
Chris Beams 7b8ed80500 Ignore vim swap files 2013-08-22 13:42:16 +02:00
Chris Beams 82213342c5 Clarify project_aggregator.md sample 2013-08-22 13:41:43 +02:00
Dave Syer d852f2996a Fix security config
The management endpoints were still all mixed up
with the user endpoints. Fixed that and extracted
user endpoints in to conditional block so not
protected if path explicitly set to empty string.

[#53029715]
2013-08-22 11:43:22 +01:00
Dave Syer b39e02cc74 Add logger for default password 2013-08-22 10:50:57 +01:00
Gonçalo Silva and Nick Street cec3179104 Restructuring sidebar related resources panel
[Finishes #55621314]
2013-08-22 10:48:29 +01:00
Phillip Webb 53bd5627fc Add sample yml to docs 2013-08-22 02:37:14 -07:00
Phillip Webb d0494f5247 Rework database auto-configure
Rework several aspects of database auto-configuration:

- Use RelaxedPropertyResolver to obtain property values
- Extract EmbeddedDatabaseConnection from EmbeddedDatabaseConfiguration
- Rename several configuration classes for consistency

Issue: #53028397
2013-08-22 02:37:14 -07:00
Phillip Webb 3bbdc75fb3 Use RelaxedPropertyResolver in auto-configuration
Update several existing auto-configuration classes to use the new
RelaxedPropertyResolver.

This commit also rename the spring.template property to spring.thymeleaf
in case we wish to support more templating engines in the future.
2013-08-22 02:37:14 -07:00
Phillip Webb ae330c19d5 Create RelaxedPropertyResolver
Create RelaxedPropertyResolver class that can be used to get values
from another PropertyResolver (probably an Environment) using the
same relaxed rules as the RelaxedDataBinder.

The commit extracts the relaxed naming rules from RelaxedDataBinder
into a new RelaxedNames class.

Issue: #55621278
2013-08-22 02:37:14 -07:00
Phillip Webb c33f7e2c17 Fix DataSourceConfiguration isTestOnReturn()
Fix setTestOnReturn to use isTestOnReturn.
2013-08-22 02:37:14 -07:00
Dave Syer a899e1cacf ManagementServerConfiguration security
Management endpoints are still secure by default if
Spring Security is present, but now the default
user details have an ADMIN role, and a random password
(which is logged at INFO level if not overridden).

To override you add management.user.password (name, role)
to external properties.

[Fixes #53029715] [bs-203]
2013-08-22 10:34:40 +01:00
Dave Syer 8f3c4808ba /info endpoint should be open by default
[#53029715] [bs-203] ManagementServerConfiguration security
2013-08-22 09:54:51 +01:00