Commit Graph

204 Commits

Author SHA1 Message Date
Andy Wilkinson 638561d8f8 Remove dependency management for groovy-binary 2014-05-07 12:01:01 +01:00
Phillip Webb 75494d2f5e User hard-coded spring-boot.version
Replace the `spring-boot.version` property with a hard-coded value,
rather than relying on the parent version. Allows locally installed
snapshots to be used as the parents of projects with a different version
number.
2014-05-07 11:02:43 +01:00
Andy Wilkinson 1fc6bbda4f Upgrade to Spring AMQP 1.3.2
Upgrade to latest release of Spring AMQP and provide dependency
management for all of its modules

Closes #799
2014-05-07 10:45:06 +01:00
Greg Turnquist 5eb08dc32e Upgrade to ActiveMQ 5.9.1
Closes #397 and #717
2014-05-07 10:21:57 +01:00
Dave Syer 9ba88cf6b4 Add JPA to flyway sample 2014-05-06 18:03:15 -07:00
Andy Wilkinson f4fc9bb1fb Upgrade to Groovy 2.3.0
Upgrade Boot to use Groovy 2.3.0 and provide dependency management
for all of Groovy's modules.

Closes #647
2014-05-06 10:06:32 +01:00
Phillip Webb a13404c670 Fixup POM harmonization
Fix POM harmonization so that the release process now
prepares the dependencies POM rather than starter-parent
2014-05-05 14:29:01 +01:00
Stephane Nicoll 33082fd56d Harmonized maven dependency management
This commit harmonizes the dependency management of internal modules
so that versions can be omitted everywhere. Update the maven coordinates
to provide the full groupId for consistency
2014-05-05 14:29:01 +01:00
Phillip Webb 34b7bb20fd Add maven implicit plugin group ID
Add previously implicit <groupId>org.apache.maven.plugins</groupId>
to plugin declarations.
2014-05-02 23:03:31 +01:00
Phillip Webb a3b422ffc8 Upgrade to Spring 4.0.4
Fixes gh-759
2014-05-02 17:11:03 +01:00
Dave Syer 41395d08e3 Upgrade flyway to 3.0
Fixes gh-771
2014-05-02 15:52:08 +01:00
Dave Syer f95ee7abc0 Downgrade Liquibase to 3.0.8
There are some issues with 3.1.1. Performance is one
(according to JIRA https://liquibase.jira.com/browse/CORE-1706),
but the biggest is that there is a package change for the main
ChangeLogHistoryService provider and it's package
(liquibase.channgelog) is not included in the service locator
scan by default. For some reason this only manifests itself
when using the SpringPackageScanClassResolver.

Fixes gh-687
2014-05-02 11:15:38 +01:00
Dave Syer 5548b24c4c Add autoconfig support for Flyway migrations
Flyway starts up with its default settings if it is on the classpath.
You can also ask Boot to barf if the migration scripts are missing.

Fixes gh-730
2014-05-02 11:15:33 +01:00
Phillip Webb 524e95eeb2 Upgrade to Groovy 2.3.0-rc-4 2014-05-01 22:02:59 +01:00
Andy Wilkinson b568cb1b79 Provide dependency management for all of Reactor
Boot provided dependency management for reactor-core. This commit
adds the other modules in the org.projectreactor group.

Closes #763
2014-05-01 16:04:34 +01:00
Andy Wilkinson fe97e66e2a Provide dependency management for all of Spring Security
Previously, spring-boot-dependencies listed a subset of Spring
Security's modules. This commit updates it to import Spring Security's
bom instead, thereby providing dependency management for every
module in Spring Security.

Closes #760
2014-05-01 10:44:23 +01:00
Artem Bilan ce3aafa7a9 Upgrade to Spring Integration 4.0
Closes #751
2014-05-01 10:07:17 +01:00
Dave Syer 50190a4de7 Add support for HikariDataSource
We still prefer Tomcat if it is available (that can change
if the community asks loudly enough). Hikari is supported
via the same spring.datasource.* properties as Tomcat (and
DBCP), with some modifications:

* The validation and timeout settings are not as fine-grained
in Hikari, so many of them will simply be ignored. The most
common options (url, username, password, driverClassName) all
work as expected.

* The Hikari team recommends using a vendor-specific DataSource
via spring.datasource.dataSourceClassName and supplying it with
Properties (spring.datasource.hikari.*).

Hikari prefers the JDBC4 isValid() API (encapsulates vendor-
specific queries) which is probably a good thing, but we
haven't provided any explicit support or testing for that yet.

Fixes gh-418
2014-04-30 11:52:47 +01:00
Dave Syer f46d281b22 Upgrade to Reactor 1.1
Fixes gh-706
2014-04-30 11:27:29 +01:00
Andy Wilkinson 7c91176186 Add FreeMarker support
This commit adds auto-configuration and a starter,
spring-boot-starter-freemarker, for using FreeMarker view templates in
a web application.

A new abstraction, TemplateAvailabilityProvider, has been introduced.
This decouples ErrorMvcAutoConfiguration from the various view
technologies that Spring Boot now supports, allowing it to determine
when a custom error template is provided without knowing the details of
each view technology.

Closes #679
2014-04-29 19:46:09 +01:00
Andy Wilkinson 8390df2b0d Upgrade to Groovy 2.3.0-rc-2 2014-04-29 10:59:18 +01:00
Andy Wilkinson b6cd2c970c Use Jedis rather than Lettuce as preferred Redis client
Salvatore has indicated that Jedis is his Java Redis client of choice.
This commit updates the auto-configuration support, actuator and
Redis starter accordingly.

Completes #745
2014-04-28 14:06:40 +01:00
Dave Syer b20262c1a7 Backout couchbase changes 2014-04-28 12:21:58 +01:00
Andy Wilkinson 02d6879b52 Polish dependencies pom
- Consistent use of tabs
 - Consistent ordering
2014-04-28 09:23:19 +01:00
John Blum 34cbe1e60b Created a Spring Data GemFire Starter POM
... as well as a Spring Boot Sample Application with associated tests
for demonstrating how to get started using both Spring Data GemFire
and GemFire.
2014-04-28 08:28:37 +01:00
Dave Syer 898698a681 Upgrade to Tomcat 7.0.53 (fixes gh-632) 2014-04-27 16:39:07 +01:00
TimmyStorms a1d4d63dd1 Added spring-boot-starter-data-neo4j module.
Fixes gh-631
2014-04-26 18:07:59 +01:00
Andy Wilkinson 81740a759d Upgrade to Groovy 2.3.0-rc-1 2014-04-25 18:05:01 +01:00
Dave Syer 84b8966173 Add couchbase client dependencies 2014-04-25 12:38:11 +01:00
Michael Nitschinger 78ce06ccc7 Add support for spring-data-couchbase
Fixes gh-124
2014-04-25 12:05:15 +01:00
Oliver Gierke 26c5a3edb2 Import Spring Data release train BOM instead of individual modules.
The dependencies pom.xml now declares an import to the spring-data-releasetrain BOM pom.xml which in turn constraints version numbers for a dedicated release train release. This has the effect of users being able to upgrade to a certain release train by redeclaring the spring-data-releasetrain.version property to e.g. Dijkstra-M1. Individual modules can be upgraded by simply declaring the dependency in the desired version manually in a <dependencies /> or <dependencyManagement /> block.

Removed the explicit declaration for Spring HATEOAS as it is pulled in transitively by Spring Data REST anyway and thus makes sure it's in a compatible version.
2014-04-25 10:20:02 +01:00
Roy Clarkson 6ad7257baf Add auto-configuration for @EnableHypermediaSupport
If Spring HATEOAS is on the class path, then @EnableHypermediaSupport
will be auto-configured with HAL support.
2014-04-25 09:52:27 +01:00
Phillip Webb 64a835e91a Move master to 1.1.0.BUILD-SNAPSHOT 2014-04-24 12:45:20 +01:00
Spring Buildmaster d3954a1703 Next development version 2014-04-24 02:24:28 -07:00
Phillip Webb c714359b25 Upgrade dependencies
Upgrade third party dependencies (when appropriate) to the latest
maintenance releases.
2014-04-24 09:46:58 +01:00
Phillip Webb d87f452a96 Upgrade Spring Batch dependency to 2.2.6
Fixes gh-720
2014-04-23 22:08:25 +01:00
Spring Buildmaster a5864ebcd0 Next development version 2014-04-06 22:43:18 -07:00
Andy Wilkinson dcdeadf3eb Upgrade to Logback 1.1.2 2014-04-03 16:39:07 +01:00
Spring Buildmaster 15e9dbe98b Next development version 2014-04-01 03:05:51 -07:00
Phillip Webb 0af7f7e347 Add missing POM info 2014-04-01 02:07:42 -07:00
Phillip Webb 6f9bb233ad Revert "Next development version"
This reverts commit b67bb70ee3.
2014-04-01 00:38:48 -07:00
Spring Buildmaster b67bb70ee3 Next development version 2014-03-31 22:38:42 -07:00
Phillip Webb ac4cdd33c3 Revert "Next development version"
This reverts commit 1d0eea12eb.
Returning to 1.0.0.BUILD-SNAPSHOT for an updated release.
2014-03-31 17:14:30 -07:00
Spring Buildmaster 1d0eea12eb Next development version 2014-03-28 11:47:09 -07:00
Phillip Webb 1664cef469 Upgrade some third party dependencies
Upgrade Jackson and Reactor

Fixes gh-597
2014-03-27 13:16:41 -07:00
Phillip Webb 3b592fc25c Upgrade to Spring 4.0.3
Fixes gh-564
2014-03-26 22:53:16 -07:00
Phillip Webb 142a3107f4 Upgrade to Spring 4.0.3.BUILD-SNAPSHOT
Upgrade to the snapshot version of spring for sanity testing.
2014-03-25 22:20:46 -07:00
Phillip Webb 52dc7b8727 Upgrade to Spring Security 3.2.3
Fixed gh-567
2014-03-25 15:24:45 -07:00
Phillip Webb 1dcd4ddf9e Restore Spring Framework version
Remove accidentally committed SNAPSHOT dependency.
2014-03-25 14:38:43 -07:00
Phillip Webb 44d708ef7a Polish 2014-03-25 14:33:27 -07:00
Phillip Webb 75548c1205 Remove spring-data-commons
Remove direct reference to spring-data-commons, instead favoring
transitive dependency.

Fixes gh-557
2014-03-24 23:29:59 -07:00
Greg Turnquist aca019622f Remove unnecessary optional flag 2014-03-18 08:19:03 +00:00
Greg Turnquist ed6a9ac5b3 Set version for Spring Data Commons 2014-03-18 08:19:03 +00:00
Oliver Gierke bb3ea39d80 Upgraded to Spring Data Codd SR1.
Fixes gh-490
2014-03-14 12:04:41 +00:00
Dave Syer 08aacf72e0 Update Spring Security to 3.2.2 2014-03-12 11:06:58 +00:00
Dave Syer d4083e46fe Add exlcusion to httpcomponents dependency 2014-03-11 11:07:52 +00:00
Spring Buildmaster b0d4e8ae69 Next development version 2014-03-03 22:46:12 -08:00
Spring Buildmaster cb8668a151 Release version 1.0.0.RC4 2014-03-03 22:46:05 -08:00
Phillip Webb 468728a2c0 Polish 2014-03-03 17:50:19 -08:00
Marten Deinum 8e8237a93e Spring Data Rest Starter Project
Fixes gh-60
2014-02-27 09:44:12 +00:00
Dave Syer 42f363dc12 Explicitly manager javassist version
Hibernate is picky about javassist, but unfortunately that
library is used by other parts of our stack (Thymeleaf!?), so
we need a policy for resolving the dependency transitively.
I fixed it to the version in Hibernate 4.3.1 (our current
best foot forward), but it will have to be updateed whenever
Hibernate is.

Fixes gh-402
2014-02-26 14:01:51 +00:00
Phillip Webb 083cb388c0 Upgrade to Spring Security 3.2.1
Fixes gh-392
2014-02-24 21:54:33 -08:00
Phillip Webb 2669d81433 Upgrade 3rd-Party Dependencies
Fixes gh-393
2014-02-24 21:26:39 -08:00
Phillip Webb 0322c5f55d Support EL without jasper by using tomcat-embed-el
Add `tomcat-embed-el` dependency (newly released as part of Tomcat
7.0.52) allowing EL usage without jasper.

Fixes gh-248
2014-02-24 15:00:42 -08:00
Phillip Webb c44f902a7c Upgrade to Tomcat 7.0.52
Fixes gh-245
2014-02-24 14:56:18 -08:00
Oliver Gierke af458cb253 Upgrade to Spring Data Codd GA release.
Adapt auto-configuration code to use the new constructor introduced
in Spring Data Commons' AnnotationConfigurationSource.

Fixes gh-365
2014-02-24 14:06:37 -08:00
Phillip Webb b69c659d8f Polish 2014-02-18 21:58:09 -08:00
Andy Wilkinson 05fd50d190 Dependency version upgrades
- spring-integration-core 3.0.1.RELEASE (closes #360)
 - Logback 1.1.1 (closes #361)
 - maven-settings-builder 3.1.1 (closes #359)
 - maven-aether-provider 3.1.1 (closes #356)
 - jopt-simple 4.6 (closes #357)
 - SLF4J 1.7.6 (closes #318)
2014-02-17 11:05:28 +00:00
Spring Buildmaster 1367d57e8c Next development version 2014-02-13 13:19:12 -08:00
Spring Buildmaster eaff1677a7 Release version 1.0.0.RC3 2014-02-13 13:18:56 -08:00
Oliver Gierke 929bd902be Upgraded to Spring Data Codd
Update AbstractRepositoryConfigurationSourceSupport to use the newly
introduced RepositoryConfigurationDelegate instead of effectively
reimplementing Spring Data Commons functionality which was prone to
changes in the API (code that wasn't considered to be API in the first
place).

Switch from implementing BeanClassLoaderAware to ResourceLoaderAware
to avoid having to set up a DefaultResourceLoader which should also
improve IDE integration.

Fixes gh-236
2014-02-12 01:18:58 -08:00
Oliver Gierke cf4df1befb Improve Mongo auto-configuration
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
2014-02-05 17:29:39 -08:00
Phillip Webb 9d35004fff Upgrade to logback 1.1.0
Fixes gh-288
2014-01-30 13:02:13 -08:00
Oliver Gierke 760a174998 Added starter for Spring Data MongoDB.
Fixes gh-272
2014-01-30 08:52:59 +00:00
Phillip Webb a99a38966f Switch to Spring Framework 4.0.1.RELEASE 2014-01-28 17:50:50 -08:00
Dave Syer bfff4654df Upgrade spring-data-redis to 1.1.1
Fixes gh-258
2014-01-28 16:02:18 +00:00
Phillip Webb ac0ff3c0b8 Upgrade to Spring Framework 4.0.1 SNAPSHOT
Upgrade to the latest 4.0.x SNAPSHOT of the Spring Framework in
preparation for the 4.0.1 release.
2014-01-27 14:41:03 -08:00
Dave Syer 8d05cd1fb6 Allow hibernate.version as synonym in dependency management 2014-01-27 10:02:27 +00:00
Phillip Webb 49ef1cd236 Update CLI to use spring-boot-dependency-tools
Update `GroovyCompiler` and `AetherGrapeEngineFactory` to use the
recently added `spring-boot-dependency-tools` in favor of loading
dependency information from a generated properties file.
2014-01-24 22:51:40 -08:00
Phillip Webb ab4baa3c43 Allow gradle builds without version numbers
Add a gradle `ResolutionStrategy` that resolves missing version numbers
using the `spring-boot-dependencies` POM.

This commit also introduces a new `spring-boot-dependency-tools` module
that provides programmatic access to the `dependencyManagement` section
of the dependencies POM.

Fixed gh-262
2014-01-24 22:48:49 -08:00
Dave Syer 8f4059147c Revert "Upgrade to Tomcat 7.0.50"
This reverts commit 3d60696b9b.
2014-01-21 12:18:12 +00:00
Phillip Webb 68293f34af Upgrade version to 1.0.0.BUILD-SNAPSHOT
Fixes fg-243
2014-01-21 00:43:54 -08:00
Phillip Webb 3d60696b9b Upgrade to Tomcat 7.0.50
Upgrade to Tomcat 7.0.50, working around the potential
NullPointerException by also adding dependencies to
tomcat-embedded-jasper (which is now also required for Hibernate
Validator 5.0, see commit 377953babd)

Fixes gh-245
2014-01-20 23:45:27 -08:00
Phillip Webb 377953babd Upgrade to Hibernate Validator 5.0.2
Update Hibernate Validator dependency to 5.0.2 and also include
Tomcat Jasper dependency. Jasper is required as it provides the
default ExpressionFactory implementation class
(org.apache.el.ExpressionFactoryImpl) which is indirectly
instantiated by Hibernate Validator.

Fixes gh-173
2014-01-20 22:59:42 -08:00
Phillip Webb 618bfc65ac Upgrade to Groovy 2.2.1
Fixes gh-126
2014-01-20 22:28:24 -08:00
Phillip Webb e38f10d7a6 Upgrade CRaSH shell to 1.3.0-beta14 2014-01-20 22:18:28 -08:00
Phillip Webb e33eae5b54 Upgrade various 3rd-party dependencies 2014-01-20 22:17:51 -08:00
Phillip Webb 0e413c3b48 Update to latest maven plugins 2014-01-13 22:26:47 -08:00
Dave Syer 47a0df1e3d Add groovy to dependency management 2014-01-03 08:34:14 +00:00
Dave Syer aa2b020660 Refactor metrics to expose richer feature set
Main user-facing interface is still Counter/GaugeService but the
back end behind that has more options. The Default*Services write
metrics to a MetricWriter and there are some variants of that, and
also variants of MetricReader (basic read-only actions).

MetricRepository is now a combination of MetricReader, MetricWriter
and some more methods that make it a bit more repository like.

There is also a MultiMetricReader and a MultiMetricRepository for
the common case where metrics are stored in related (often open
ended) groups. Examples would be complex metrics like histograms
and "rich" metrics with averages and statistics attached (which
are both closed) and "field counters" which count the occurrences
of values of a particular named field or slot in an incoming message
(e.g. counting Twitter hastags, open ended).

In memory and redis implementations are provided for the repositories.
Generally speaking the in memory repository should be used as a
local buffer and then scheduled "exports" can be executed to copy
metric values accross to a remote repository for aggregation.
There is an Exporter interface to support this and a few implementations
dealing with different strategies for storing the results (singly or
grouped).

Codahale metrics are also supported through the MetricWriter interface.
Currently implemented through a naming convention (since Codahale has
a fixed object model this makes sense): metrics beginning with "histogram"
are Histograms, "timer" for Timers, "meter" for Meters etc.

Support for message driven metric consumption and production are provided
through a MetricWriterMessageHandler and a MessageChannelMetricWriter.

No support yet for pagination in the repositories, or for HATEOAS style
HTTP endpoints.
2013-12-30 10:32:42 +00:00
Dave Syer 5d8e58d12c Remove support for Integration DSL (milestone only) 2013-12-30 07:39:36 +00:00
Oliver Gierke 88d4d8d7f6 Added missing dependency management declaration for spring-aspects. 2013-12-28 10:34:37 +01:00
Phillip Webb 3f25fec65f Fix accidental hibernate-validator downgrade 2013-12-20 11:58:10 -08:00
Phillip Webb 9c21ad5528 Restore javadoc artifact 2013-12-19 10:08:22 -08:00
Dave Syer e2c962ac28 Switch to thymeleaf-spring4 2013-12-19 13:40:24 +00:00
Phillip Webb d635d8af72 Upgrade dependencies 2013-12-17 22:13:31 -08:00
Dave Syer 5dab07d0b9 Upgrade Spring Security 2013-12-17 15:44:33 +00:00
Dave Syer 766bb8aa4f Update Spring Integration to 3.0 2013-12-16 15:09:58 +00:00
Dave Syer 492bab8c81 Upgrade Spring 2013-12-12 17:19:51 +00:00
Dave Syer faf8742f07 Upgrade Jackson 2013-12-12 15:07:34 +00:00