- 12 Feb, 2014 2 commits
-
-
Phillip Webb authored
Update ConfigFileApplicationListener so that custom names and custom locations use consistent ordering. i.e. earlier items take precedence (same as @ProperySource).
-
Phillip Webb authored
Add "my.property" to `application.properties` in order to test ordering or property sources. Also use hamcrest for assertions.
-
- 11 Feb, 2014 8 commits
-
-
Phillip Webb authored
Update javadoc to consistently use the "code" style with <pre> blocks. Also include the latest spring-javadoc.css formatting file. Fixes gh-332
-
Phillip Webb authored
Change `EmbeddedWebApplicationContext` to no longer automatically call `registerShutdownHook()`. Shutdown hooks must now be registered by the caller (for users of SpringApplication this will happen automatically). Fixes gh-314
-
Phillip Webb authored
-
Dave Syer authored
* pull336: Now custom SpringApplication class can be used when extending SpringApplicationContextLoader
-
Jakub Kubrynski authored
-
Dave Syer authored
Previously the core Spring processing of @PropertySource would resolve placeholders in the location attribute, but the pre-loading of the property source by Spring Boot didn't do that. Now implemented using Environment.resolvePlaceholders() (N.B. at a time when the only Environment entries available are system properties and OS env vars). E.g. @Configuration @PropertySource("classpath:/${source.location}.properties") protected static class WithPropertySourcePlaceholders { ... }
-
Andy Wilkinson authored
When binding a nested map structure, RelaxedDataBinder pre-populates the target object with default empty maps. Previously, when these structures overlapped, each step in pre-population process could potentially overwrite what had come before it. This led to the output of the pre-population process being incomplete which would lead to a binding failure. This commit updates the pre-population process so that it checks to see if a property's value has already been set by an earlier step in the process. If it has been set, the existing value is now reused rather than being overwritten by a new empty map. Fixes #328
-
Dave Syer authored
-
- 10 Feb, 2014 1 commit
-
-
Andy Wilkinson authored
Previously, the Gradle plugin would package all of a project's dependencies in the jar's lib directory, irrespective of each dependency's type. This led to non-jar artifacts being packaged in the lib directory where only jar dependencies are expected. See #334 for an example failure. This commit updates the Gradle plugin such that it only packages dependencies of type jar, ejb, ejb-client, test-jar, or bundle. This brings the Gradle plugin into line with the Maven plugin. Fixes #334.
-
- 07 Feb, 2014 3 commits
-
-
Phillip Webb authored
Ignore JMS sample which intermittently fails to run on CI. See gh-323
-
Phillip Webb authored
-
Phillip Webb authored
Update the `ArtifactsLibraries` used by the maven plugin to filter based on artifact types. This prevent `.pom` files from accidentally being packaged in `/libs` and ultimately resulting in 'Unable to find ZIP central directory records' errors. Fixes gh-324
-
- 06 Feb, 2014 18 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
Revert commit a97bcfe3 as adding profiles automatically may be problematic. Updates gh-296
-
Christian Dupuis authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
* gradle-mainclass: Add mainClass option for Repackage task
-
Janne Valkealahti authored
Add `mainClass` property option to the Repackage task. If the property is defined within a task, it works in the same way as if it defined within the springBoot{} 'ext' properties section. Option is valid only for that specific task where it is defined, and will override option defined in springBoot{} ext properties. Fixes gh-283
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
* patch-1: Prevent 404s in README.md links
-
Adam Brodziak authored
Fix links to ensure that they don't cause 404 errors when published to Github Pages. Fixes gh-304
-
Phillip Webb authored
* pull313: Document that applicaiton.yml requires snakeyaml
-
Ben authored
Update documentation to reference the need for a yaml library to be on the classpath. Fixes gh-313
-
Phillip Webb authored
Add a setRegisterShutdownHook option to SpringApplication allowing the shutdown hook to not be registered. Also update SpringApplicationBuilder to automatically disable shutdown hooks for child contexts. Fixes gh-314
-
Phillip Webb authored
Fix `EmbeddedServletContainerAutoConfiguration` so that it does not accidentally eagerly initialize factory beans. Fixes gh-306
-
Phillip Webb authored
Extract all inner @ConfigurationProperties classes from @Configuration classes for consistency.
-
Phillip Webb authored
Extract Mongo auto-configuration classes from Spring Data specific auto-configuration, allowing Mongo to be used without Spring Data if require.
-
Oliver Gierke authored
Disable Mongo auto-configuation when @EnableMongoRepositories is used and adapt the test helper classes accordingly. Change the property prefix and dependency management version property from `...mongo` to `...mongodb` for consistency with Spring Data. Fixes gh-315
-
- 05 Feb, 2014 3 commits
-
-
Phillip Webb authored
Update javadoc and method names to indicate that ApplicationInitializer and ApplicationListeners are `Order` sorted before being invoked. Also remove specific sorting from SpringApplicationBuilder, relying instead on the Order sorting. Fixes gh-316
-
Phillip Webb authored
Prefer Ordered HIGHEST_PRECEDENCE and LOWEST_PRECEDENCE constants to Integer MAX_VALUE or MIN_VALUE.
-
Phillip Webb authored
Improve package structure and attempt to co-locate related classes.
-
- 04 Feb, 2014 5 commits
-
-
Phillip Webb authored
Restore the previous `spring.profiles.active` logic effectively reverting commit 37069d91. This ensures that active profiles defined in a higher `PropertySource` replace those lower down. In addition, add support for a `+` prefix that can be used to indicate that a profile should be added to the active set. For example: # application-prod.properties spring.profiles.active=+proddb,+prodmq Fixed gh-308, gh-309
-
Phillip Webb authored
Update ErrorMvcAutoConfiguration thymeleaf condition to use the `spring4` package. Fixes gh-310
-
Phillip Webb authored
Fixes gh-312
-
Phillip Webb authored
-
Phillip Webb authored
Update `EndpointWebMvcAutoConfiguration` to use '-1' to indicate that the management context should be disabled. This brings consistency between the server settings and the management settings and allows '0' to be used to pick a random port. Fixed gh-311
-