Commit Graph

8098 Commits (07d78132a9cd536a065cf1078c7587bd2e25149d)
 

Author SHA1 Message Date
Johnny Lim 189f96687d Rename AutoConfigurationJson to AutoConfigureJson
Closes gh-6007
9 years ago
Stephane Nicoll 4213c1575a Polish doc
Closes gh-5999
9 years ago
Stephane Nicoll c3201a1e91 Revert "Cache resolved error template view names"
See gh-5989
9 years ago
Stephane Nicoll 6698af08df Replace Starter POM to Starter in the documentation
"Starter POM" is a confusing term as it implies the starter may be a
POM while it's actually a jar artifact like any other dependency. To
reduce the confusion (especially in the way such starter should be
declared in the build), the term Starter POM has been renamed to Starter.

Closes gh-5966
9 years ago
Stephane Nicoll dcf3a56bd5 Polish 9 years ago
Stephane Nicoll 3805fc7455 Polish 9 years ago
Phillip Webb f3e630933a Add OAuth PrincipalExtractor strategy interface
Update `UserInfoTokenServices` to use a PrincipalExtractor interface
to extract the principal.

Fixes gh-5186
9 years ago
Phillip Webb 7f45485e61 Provide explicit force request/response properties
Update HttpEncodingProperties to offer explicit `force-request` and
`force-reponse` properties in additional to the existing `force`
property.

Closes gh-5459
9 years ago
Phillip Webb 68983400fb Propogate startup failures to management context
Update EndpointWebMvcAutoConfiguration so that ApplicationFailedEvents
cause the management context to close.

Prior to this commit if an application failed to start (for example
because `server.port` was already in use) the management context would
remain open and the application would not exit.

Fixes gh-5388
9 years ago
Phillip Webb f0b6d346d7 Filter scoped target proxy beans from Mockito
Update MockitoPostProcessor to filter bean names that match
`ScopedProxyUtils.isScopedTarget` from the candidates list.

Fixes gh-5724
9 years ago
Phillip Webb 682f20ebf7 Merge pull request #5972 from izeye/test-20160514
* pr/5972:
  Fix Mockito tests to align with name and comments
9 years ago
Johnny Lim 5759f685e5 Fix Mockito tests to align with name and comments
Fixup Mockto tests where the test implementation didn't align with the
name of the test or the test Javadoc.

Closes gh-5972
9 years ago
Phillip Webb 2fc86b2d5a Only attempt mock reset on instantiated singletons
Update ResetMocksTestExecutionListener to only attempt a mock reset when
a singleton has actually been created.

Fixes gh-5870
9 years ago
Phillip Webb bcfa2e6676 Make TestRestTemplate not extend RestTemplate
Update TestRestTemplate so that it no longer directly extends
RestTemplate. Prior to this commit it was possible that TestRestTemplate
could interfere with user defined RestTemplate beans.

TestRestTemplate offers the same methods as RestTemplate so should be
a drop-in replacement. If access is needed to the actual underlying
template the `getRestTemplate()` method should be used.

Fixes gh-5915
9 years ago
Andy Wilkinson 1947b92481 Avoid exception from dropping non-existent constraint in Data REST sample
Hibernate 5.1 logs an ugly but benign exception when using an in-memory
HSQL database when it tries to drop a non-existent constraint.

This commit changes the Spring Data REST sample to use H2 rather than
HSQL. This prevents the unwanted exception from occurring as Hibernate's
H2 dialect returns false from dropConstraints.
9 years ago
Phillip Webb 00fbb5c3d9 Polish 9 years ago
Dave Syer 46134b58b8 Fix stupid checkstyle violations 9 years ago
Dave Syer 684c8c81a3 Extract user info rest template into a factory
Instead of using a @Bean, it is better to use an opaque factory
for an internal dependency that users are not going to want in
the context. OAuth2RestTemplate is a common enough bean type that
creating on in autoconfig makes it hard for users to add their own
for business use.

See gh-5967
9 years ago
Stephane Nicoll 3734b666df Merge pull request #5975 from caseyscarborough:remove-unchecked-casts
* pr/5975:
  Remove unchecked casts
9 years ago
Casey Scarborough 84d3b6a41a Remove unchecked casts
Closes gh-5975
9 years ago
Phillip Webb 4023637b07 Remove accidentally comitted SampleTest 9 years ago
Phillip Webb cd365bcae1 Improve @PropertyMapping error message
Improve the message thrown when a @PropertyMapping is used in
combination with a @Component to include the actual annotations that
are causing the problem.

Fixes gh-5897
9 years ago
Phillip Webb 66b69f4346 Deprecate setProperties on ConfigurationFactory
Deprecate `PropertiesConfigurationFactory.setProperties()` since it was
only being used in tests.

Fixes gh-5930
9 years ago
Phillip Webb c15c146021 Cache resolved error template view names
Fixes gh-5933
9 years ago
Johnny Lim 29898c73d3 Remove superflous `if` in MockitoPostProcessor
The `if` in registerSpies() is not required as it's covered by the
Assert check.

Closes gh-5889
9 years ago
Phillip Webb 6cdbdf9ad3 Polish 9 years ago
Vedran Pavic a1ac934bee Ignore special variable related JVM output in CommandLineInvoker
Closes gh-5883
9 years ago
Andy Wilkinson 9e4eb037f6 Improve diagnostics for start failures in TomcatStarter
Closes gh-5934
9 years ago
Stephane Nicoll 00f9adafd7 Stop creating a primary `Oauth2RestTemplate`
This commit removes the creation of a `@Primary` `OAuth2RestTemplate`
and updates the documentation accordingly.

Once #5507 is implemented we could revisit this area to provide a way for
users to easily create such a bean.

Closes gh-5202
9 years ago
Andy Wilkinson c11b28c3c7 Align default for OPTIONS request dispatching with Spring Framework 4.3
Closes gh-5965
9 years ago
Stephane Nicoll dcb4fe8304 Add JMX support to the Spring Integration starter
Closes gh-1440
9 years ago
Andy Wilkinson c820d94f1a Upgrade to Webjars Locator 0.31
Closes gh-5964
9 years ago
Andy Wilkinson 0838a37fad Upgrade to Neo4J OGM 2.0.2
Closes gh-5963
9 years ago
Andy Wilkinson 1c9721102e Upgrade to MariaDB Java Client 1.4.4
Closes gh-5962
9 years ago
Andy Wilkinson a4f3843fc1 Upgrade to Liquibase 3.5.1
Closes gh-5961
9 years ago
Andy Wilkinson 769c1206c8 Upgrade to JBoss Transaction SPI 7.3.1.Final
Closes gh-5960
9 years ago
Andy Wilkinson 78d65f793a Upgrade to Inifispan 8.2.1.Final
Closes gh-5959
9 years ago
Andy Wilkinson 7ee4aa4f14 Upgrade to SolrJ 5.5.1
Closes gh-5958
9 years ago
Andy Wilkinson 62eeeb8af7 Upgrade to ActiveMQ 5.13.3
Closes gh-5957
9 years ago
Andy Wilkinson dfb422a7ce Upgrade to Thymeleaf Layout Dialect 1.4.0
Closes gh-5955
9 years ago
Andy Wilkinson eab9b246cd Upgrade to Hazelcast 3.6.2
Closes gh-5953
9 years ago
Andy Wilkinson 3ab3fe8dc4 Upgrade to App Engine API 1.9.37
Closes gh-5952
9 years ago
Andy Wilkinson 3cb2f92810 Upgrade to Caffeine 2.3.0
Closes gh-5951
9 years ago
Andy Wilkinson f39c402e09 Upgrade to Couchbase Java Client 2.2.7
Closes gh-5950
9 years ago
Andy Wilkinson 9cca866c11 Upgrade to jOOQ 3.8.0
Closes gh-5940
9 years ago
Andy Wilkinson 87a2f4cbb9 Merge branch '1.3.x' 9 years ago
Andy Wilkinson ae89cb0355 Upgrade to Spring Integration 4.2.6.RELEASE
Closes gh-5949
9 years ago
Andy Wilkinson b07fa75664 Upgrade to jOOQ 3.7.4
Closes gh-5947
9 years ago
Andy Wilkinson 1b8ffe8f74 Upgrade to MySQL Java Connector 5.1.39
Closes gh-5946
9 years ago
Andy Wilkinson 5484000651 Upgrade to HikariCP 2.4.6
Closes gh-5945
9 years ago