Commit Graph

8095 Commits (e1cafb16ba478b28598900b51e50e3923ef597b4)
 

Author SHA1 Message Date
Andy Wilkinson e1cafb16ba Ignore check goal of duplicate-finder-maven-plugin in Eclipse
See gh-6163
9 years ago
Andy Wilkinson d839e1ec00 Remove redundant restart-compatible Redis serializer
Previously, Spring Data Redis assumed that the class loader that loaded
its classes would also be able to load the application’s classes. This
assumption is faulty when there are multiple class loaders involved
such as when using dev tools or when Spring Data Redis is installed as
a shared library in a servlet container.

DATAREDIS-427 and DATAREDIS-501 removed this assumption by making the
default serialiser use the bean class loader. DevTools configures this
class loader to be the restart class loader which can load the
application’s classes. As a result of moving to Hopper SR2 snapshots,
these fixes are now available and we can remove our custom serialised.

Closes gh-5760
9 years ago
Stephane Nicoll 1b252c3e82 Merge branch '1.3.x' 9 years ago
Stephane Nicoll ed2586d38d Upgrade Apache HTTP components to 4.4.5
Closes gh-6165
9 years ago
Andy Wilkinson c5d8eec033 Verify that starters do not pull in duplicate classes and resources
Closes gh-6163
9 years ago
Andy Wilkinson 82c0f5dcdf Update Jersey starter to depend on single copy of Tiger Types classes
Closes gh-6162
9 years ago
Andy Wilkinson f2be37e60b Update Security starter to depend on single copy of AOP Alliance classes
As of Spring Framework 4.3, spring-aop now embeds the classes from the
aopalliance:aopalliance jar. This means that the transitive dependency
on aopalliance:aopalliance is redundant and it can be excluded.

Closes gh-6159
9 years ago
Andy Wilkinson 32f694be06 Update Data MongoDB starter to depend on single Mongo driver artifact
Closes gh-6161
9 years ago
Andy Wilkinson 1c8ede44ba Update Narayana JTA starter to depend on single JTA API artifact
Closes gh-6158
9 years ago
Andy Wilkinson f21354dd87 Update Data JPA starter to depend on single JTA API artifact
Closes gh-6157
9 years ago
Andy Wilkinson f4d197c245 Make Jest available to javadoc generation
See gh-6032
9 years ago
Dave Syer a3b29b0e42 Add /webjars/** to default list of unsecured resources
Fixes gh-2460
9 years ago
Dave Syer 9e8beb7323 Merge remote-tracking branch 'origin/1.3.x' 9 years ago
Dave Syer 6b6f4e2263 Fix JSON syntax
(according to Eclipse it was broken)
9 years ago
Dave Syer e4b544bd39 Create PID_FOLDER if it doesn't exist
In fact the folder was already created if the app is running as
a different user, but not if running as the current user, so it
was just a question of moving one line out of an if block.

Fixes gh-5986
9 years ago
Stephane Nicoll 1dd77141d0 Add more dependency management for Selenium
Closes gh-6150
9 years ago
Stephane Nicoll b7a6697fcd Merge pull request #6155 from izeye:polish-20160614
* pr/6155:
  Polish
9 years ago
Johnny Lim a70a8635f9 Polish
Closes gh-6155
9 years ago
Stephane Nicoll ed96d142b8 Upgrade to Spring Integration 4.3.0.RELEASE
Closes gh-5079
9 years ago
Stephane Nicoll 64bbefd3ac Add Jest-based health indicator
This commit adds a Jest-based health indicator for ElasticSearch. If both
Jest and the Spring Data are available, the latter takes precedence as it
provides more information.

Closes gh-3178
9 years ago
Stephane Nicoll 7afe1d16a6 Add Jest support
This commit adds auto-configuration support for Jest, an HTTP client for
Elasticsearch. If Jest is present, a `JestClient` targeting a local
elasticsearch instance is auto-configured. Several properties from the
`spring.jest.*` namespace allows to tune the client.

Closes gh-6032
9 years ago
Andy Wilkinson 50ca35bdae Remove use of deprecated API in REST Docs auto-config test
Closes gh-6128
9 years ago
Stephane Nicoll 0fd7739ec7 Polish doc
See gh-6147
9 years ago
Stephane Nicoll a4035f6b93 Merge pull request #6117 from mkopylec:master
* pr/6117:
  Charon reverse proxy starter added to docs
9 years ago
Mariusz Kopylec d01e3044eb Charon reverse proxy starter added to docs
Closes gh-6117
9 years ago
Phillip Webb ee319a6d8b Merge branch '1.3.x' 9 years ago
Phillip Webb b11457f5a2 Merge pull request #6118 from joshiste/1.3.x-liquibase-endpoint
* 1.3.x-liquibase-endpoint:
  Close connection after use in LiquibaseEndpoint
9 years ago
Johannes Edmeier e89063cc07 Close connection after use in LiquibaseEndpoint
Update LiquibaseEndpoint so that connections are closed and returned to
the pool after use.

Fixes gh-6118
9 years ago
Phillip Webb 10f8a2f6bd Merge branch '1.3.x' 9 years ago
Phillip Webb 452281ca8d Fix property detection in SpringApplicationBuilder
Update SpringApplicationBuilder so that properties of the form
`abc=d:e:f` are correctly parsed. Prior to this commit the `:` delimiter
would always be chosen over `=`, even if `=` occurred first.

Fixes gh-6121
9 years ago
Phillip Webb 9f30633921 Use AssertJ in merged 1.3.x tests 9 years ago
Phillip Webb e27bc9ddea Merge branch '1.3.x' 9 years ago
Phillip Webb f27bdcb737 Prevent APT crashes on older Java versions
Update TypeUtils to guard against the use of older Java versions.
Both `Collection` and `Map` type lookups now fallback to generic free
versions of the classes.

Prior to this commit using `xmlbeans-maven-plugin` in combination with
Spring Boot's annotation processor could result in
`IllegalArgumentException: Incorrect number of type arguments`.

Fixes gh-6122
9 years ago
Phillip Webb a9b98cada5 Allow loading from package names without dots
Update BeanDefinitionLoader to support loading from package names that
do not contain dots.

Prior to this commit `new BeanDefinitionLoader(registry, "somepackage")`
would fail because "somepackage" exists and is a resource but does not
contain valid XML. Somewhat surprisingly the InputStream returned by
the resource actually contains the listing of files in the package.

Fixes gh-6126
9 years ago
Ivan Sopov 1528764194 Fix potential offset errors in BasicJsonParser
Update BasicJsonParser to fix potential exceptions if strings happen
to be empty.

Fixes gh-6136
9 years ago
Phillip Webb ed6f11d60d Polish 9 years ago
Brian Clozel 6dc0ecb182 Add WebMvcRegistrations for custom MVC components
Add `WebMvcRegistrations` which can be used to provide custom
instances of `RequestMappingHandlerMapping`,
`RequestMappingHandlerAdapter` and `ExceptionHandlerExceptionResolver`.
Those instances are then used and processed by the Boot MVC
configuration.

Prior to this commit, developers could provide their custom instances
of MVC infrstructure components such as `RequestMappingHandlerMapping`
and `RequestMappingHandlerAdapter` only by using advanced configuration
strategies. Those advanced configurations involved subclassing
`WebMvcConfigurationSupport` which effectively turns off MVC
auto-configuration in Boot.

Fixes gh-5004
Closes gh-6100
9 years ago
Stephane Nicoll 5250fb127a Fix broken condition
See gh-6041
9 years ago
Stephane Nicoll f9288a3af1 Revert "Polish maven repositories definition"
This commit reverts 62fa602fea

See gh-6031
9 years ago
Stephane Nicoll 6cf878424f Fix SSL cipher configuration with Jetty 9.3
Previously, if a list of ciphers were configured, the default excludes
were still applied. Prior to Jetty 9.3, there were no default exclude but
Jetty 9.3 introduced some and they override the includes.

This commit makes sure that the exclude ciphers are cleared if at least
one cipher is explicitly configured.

Closes gh-6041
9 years ago
Stephane Nicoll 62fa602fea Polish maven repositories definition
Previously, Maven repositories definition was specified in a profile that
is active by default. It means that as soon as any profile is enabled by
the user, said profile is no longer enabled. This has the nasty
consequences of having copy/paste in several places to make sure our own
profiles still have the proper repositories definition.

This commit creates a single "repositories" profile that is always active
unless a given property is explicitely specified. This allows to remove
the duplication and make things more consistent.

Some Gradle-specific repositories were also hard-coded in two modules
without any profile at all, meaning they were polluting the build of
anybody using it. While the impacted modules are gradle specific, that
repository has been shared in the new "repositories" profile as well.

Closes gh-6031
9 years ago
Stephane Nicoll 76cdf2212b Upgrade to Spring Framework 4.3.0.RELEASE
Closes gh-6049
9 years ago
Phillip Webb 57bed2e5f6 Use fully qualified checkstyle class names
Update `checkstyle.xml` to use fully qualified class names. This reduces
the number of warning log messages when running `mvn -X` and should also
be slightly faster.
9 years ago
Phillip Webb f19e261bcf Move AnsiOutputApplicationListenerTests
Move AnsiOutputApplicationListenerTests to the correct package.
9 years ago
Phillip Webb 99c6194e17 Don't use MockitoJUnitRunner
Replace `@RunWith(MockitoJUnitRunner.class)` with direct Mockito
initialization since the running doesn't support parallel test
execution.
9 years ago
Phillip Webb 77f6b4c983 Formatting 9 years ago
Phillip Webb c66da65e23 Refine ApplicationHome detection logic
Update the detection logic used in ApplicationHome to:
- Deal with `!/` elements in URLs so that `BOOT-INF/classes` packaging
  works as expected.
- Use the `start-class` when no explicit source class is provided to
  prevent accidentally picking a home next to a `spring-boot.jar` that
  happens to be on the classpath.
- Ignore search logic when running from a unit test.

Fixes gh-6129
9 years ago
Stephane Nicoll 17dfec7c4e Resume building against Spring Data Hopper snapshots
See gh-6132
9 years ago
Stephane Nicoll 40ff3f420a Upgrade to Spring HATEOAS 0.20.RELEASE
Closes gh-5759
9 years ago
Stephane Nicoll 8ea5524d6a Polish 9 years ago