Commit Graph

2967 Commits (5455b42d3279665fff9c1857e6f6e5dee9a7c6cc)
 

Author SHA1 Message Date
Andy Wilkinson 2892247491 Upgrade to Spring Security 3.2.5
Closes #1398
10 years ago
Andy Wilkinson 2668e152ff Upgrade to Hibernate 4.3.6
Closes #1389
10 years ago
Stephane Nicoll 8e38c9cb18 Merge pull request #1396 from matsev/cleaning-up-maven-plugin-dependencies
* cleaning-up-maven-plugin-dependencies:
  Delete duplicate version numbers of Maven plugins
10 years ago
Mattias Severson 326516a305 Delete duplicate version numbers of Maven plugins
The Maven plugin version numbers are defined in the pluginManagement
of the spring-boot-dependencies pom.xml. Consequently, they can be
deleted in the spring-boot-starter-parent pom.xml to avoid version
conflicts and duplicated version management.
10 years ago
Dave Syer eb4aee6c45 Improve error logging in InstallCommand 10 years ago
Phillip Webb 54625cc2a0 Make LaunchedURLClassLoader lock provider static
Fixes gh-1380
10 years ago
Phillip Webb fc7823bc42 Merge branch '1.1.x' 10 years ago
Phillip Webb 7685d18ed8 Add clean support for samples
Use ant-run to clean spring-boot-samples when `clean` is invoked on
the main project.
10 years ago
Phillip Webb 5c34b07742 Fix DefaultCounterService.reset
Fix DefaultCounterService.reset to call the reset method of the
underlying MetricWriter.

Fixes gh-1391
10 years ago
Phillip Webb baec9f50a8 Merge branch '1.1.x' 10 years ago
Phillip Webb 2188e3553c Prevent tests from picking up empty starter dirs
Update StarterDependenciesIntegrationTests to only consider starter
folders that contain POM files.

Fixes gh-1395
10 years ago
Phillip Webb 83bd36d8e0 Merge branch '1.1.x'
Conflicts:
	spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/orm/jpa/JpaProperties.java
10 years ago
Phillip Webb eb721b1e9f Find 'messages*.properties' in all jar URLs
Update the the PathMatchingResourcePatternResolver used in the
MessageSourceAutoConfiguration condition to deal with the fact
that `classpath*:` patterns do not work with URLClassLoaders when
the pattern doesn't include a folder.

The ExtendedPathMatchingResourcePatternResolver works by searching
all classpath URLs when the `findAllClassPathResources` method is
called with an empty location.

Fixes gh-1378
10 years ago
Dave Syer 1fe1399959 Add install command
Fixes gh-1393
10 years ago
Phillip Webb 6e6bc25c44 Polish 10 years ago
Dave Syer 457cea60e6 Add ServiceLoader for AST transformations
The loading is via a marker interface SpringBootAstTransformation
to avoid clashing with other services registered as org.groovy.*

Fixes gh-1392
10 years ago
Dave Syer 91d3edc220 Tidy imports 10 years ago
Andy Wilkinson ecdd291254 Upgrade to Joda Time 2.4
Closes #1388
10 years ago
Andy Wilkinson 5338dc2ade Upgrade to Jackson 2.4.2
Closes #1387
10 years ago
Phillip Webb b3ba86390f Relax EntityManagerFactoryBuilder Map generic
Relax the generic signature on EntityManagerFactoryBuilder.properties
so that any object type can be added.

Fixed gh-1376
10 years ago
Phillip Webb ebd0d265f8 Polish 10 years ago
Phillip Webb 8476a79dd2 Add support for RelaxedDataBinder aliases
Update RelaxedDataBinder to support property aliases and change
DataSourceBuilder to use them.

Fixes gh-1384
10 years ago
Phillip Webb a6e6e1e07a Rename Banner.write method to printBanner
Rename Banner.write to Banner.printBanner for consistency with the
now deprecated SpringApplication.printBanner method.
10 years ago
Phillip Webb d0231d0dbe Merge pull request #1363 from Stummi/master
* pull1363:
  Support programmatic banners via setter
10 years ago
Michael Stummvoll 36ab01c048 Support programmatic banners via setter
Introduce an easy way for the user to provide an custom programmatic
banner to the Application as alternative to the static banner.txt file,
without the need to override SpringApplication class.

Fixes gh-1363
10 years ago
Phillip Webb 12fb834814 Attempt to fix travis 10 years ago
Phillip Webb c47024ce23 Attempt to fix travis 10 years ago
Phillip Webb 7643c29961 Attempt to fix travis 10 years ago
Phillip Webb f14a27c692 Merge pull request #1274 from raphinesse/feature-configurable-ansioutput
* feature-configurable-ansioutput:
  Allow ANSI output to be configured by properties
10 years ago
Raphael von der Grün a35a79e1a3 Allow ANSI output to be configured by properties
Add AnsiOutputApplicationListener which configures AnsiOutput.enabled
based on a `spring.output.ansi.enabled` property.

Fixes gh-1243
10 years ago
Phillip Webb 45c8eca4f2 Add @ConditionalOnMissingBean(MongoDbFactory)
Update MongoAutoConfiguration to be conditional on a missing
MongoDbFactory bean. The assumption is that if the user has declared
a MongoDbFactory they will either use it directly, or they will also
register a Mongo bean.

If the MongoDbFactory class cannot be found the existing Mongo
auto-configuration still applies. This ensures that users that do
not have Spring Data can still access a Mongo bean.

Fixes gh-1341
10 years ago
Phillip Webb e0c3dd79f9 Add String type attribute to OnBean conditions
Fixes gh-1381
10 years ago
Phillip Webb a9bd720fb3 Merge pull request #1324 from ramnivas/spring-cloud-autoconfig
* spring-cloud-autoconfig:
  Add auto-configuration for Spring Cloud
10 years ago
Ramnivas Laddad 912d5cf40b Add auto-configuration for Spring Cloud
Enable if all of the following are true:
- spring-cloud is on the classpath
- There is no Cloud bean present
  (usually done by extending AbstractCloudConfig)
- The "cloud" profile is active

Fixes gh-1302

Autoconfigure spring-cloud
10 years ago
Phillip Webb 21995cc85d Polish 10 years ago
Dave Syer 330be01984 Merge branch '1.1.x'
Conflicts:
	spring-boot-docs/src/main/asciidoc/production-ready-features.adoc
10 years ago
Dave Syer 481cf775d8 Refer explicitly to double asterix in metrics docs
Fixes gh-1358
10 years ago
Dave Syer e63bad3c4e Merge branch '1.1.x' 10 years ago
Dave Syer 0a3a00e9e5 Fix property keys in shell docs (consistent with appendix)
Fixes gh-1371
10 years ago
Dave Syer c556175381 Merge branch '1.1.x' 10 years ago
Dave Syer 2fae4afe95 Ensure status in ErrorPageFilter defaults to 200
Fixes gh-1369. Note that this is caused by the ErrorPageFilter, so
only a problem when deployed as a WAR.
10 years ago
Phillip Webb 6634af6a25 Fix broken parent POM version
Update the parent POM version in spring-boot-sample-web-secure-custom
10 years ago
Dave Syer 300910f7d5 Merge branch '1.1.x' 10 years ago
Dave Syer 0cf1c6f0e5 Refactor AuthenticationManagerConfiguration to make sure it works
if user also adds @EnableWebMvcSecurity. The problem is that the ordering
of the init() and configure() methods in the Spring Security configurers
can force things to happen too early unless we are careful. It's still a bit
twitchy I would say, but this relatively small change seems to fix the GS guide
and not break any existing tests.

I added a sample which mimic ths GS guide so we get an integration test that
executes the new code paths.

Fixes gh-1364
10 years ago
Phillip Webb 029b9dba23 Merge remote-tracking branch 'springsource/1.1.x'
Conflicts:
	spring-boot/src/test/java/org/springframework/boot/context/properties/ConfigurationPropertiesBindingPostProcessorTests.java
10 years ago
Phillip Webb 9a7a4a46c9 Don't cause early FactoryBean instantiation
Update ConfigurationPropertiesBindingPostProcessor to use
`getBeansOfType` with `allowEagerInit=false` rather than `getBean`.

This prevents FactoryBeans from being instantiated early when their
type is not known.

Fixed gh-1365
10 years ago
Phillip Webb acb621e84f Polish 10 years ago
Phillip Webb 7d0a3ddcce Rename VanillaHealthIndicator to Application...
Rename `VanillaHealthIndicator` to `ApplicationHealthIndicator` and
changed the exposed bean name from `statusHealthIndicator` to
`applicationHealthIndicator`.

This provides less confusing JSON output:

  {"status":"UP","application":{"status":"UP"}}

vs:

  {"status":"UP","status":{"status":"UP"}}

Fixes gh-1291
10 years ago
Stephane Nicoll d089685935 Add auto configuration for Spring 4.1 JMS features
This commit adds two additional auto-configuration items that are new
in Spring 4.1

* A JmsMessagingTemplate is automatically created if none is present
* A default JmsListenerContainerFactory is automatically created if
  @EnableJms has been triggered and no default has been set manually

Fixes gh-1298
10 years ago
Stephane Nicoll 6217c1b095 polishing 10 years ago