Commit Graph

10 Commits

Author SHA1 Message Date
Stephane Nicoll
5efc6dc947 Prepare for Spring Boot 1.5 compatibility 2017-01-06 13:06:31 +01:00
Stephane Nicoll
827b9d6e93 Auto-updatable version ranges
This commit improves the version format so that the minor and patch
elements can hold a special 'x' character besides the version, i.e.
`1.x.x.RELEASE` or `2.4.x.BUILD-SNAPSHOT`. A `VersionParser` now takes
care to resolve those against a list of known Spring Boot versions.

This is particularly useful in version ranges that have to change when
the latest Spring Boot versions change. Spring Initializr already auto-
udpates itself based on the sagan metadata. When a range is using this
feature, it is also automatically updated.

It might be hard to track the actual range values on a given instance so
an `InfoContributor` is now automatically exposed to list them.

Closes gh-328
2017-01-03 14:02:33 +01:00
Stephane Nicoll
12cca3d4c4 Polish contribution
Closes gh-312
2016-11-13 12:54:36 +01:00
Tommy Ludwig
51443f7fe5 Add configuration metadata for MetricsProperties
The configuration processor does not work on Groovy classes, so the
metadata for `MetricsProperties` was missing, which causes there to be no
auto-completion in the IDE when using these properties from the
initializr-actuator module. This commit adds the corresponding metadata
for `MetricsProperties`.

See gh-312
2016-11-13 12:48:58 +01:00
Stephane Nicoll
562ba8a5c0 Polish 2016-10-07 14:34:59 +02:00
Stephane Nicoll
4b25518554 Fix formatting 2016-10-07 14:34:35 +02:00
Dave Syer
1f9322d4e5 Migrate test to Spring Boot 1.4 2016-10-05 09:23:51 +02:00
Stephane Nicoll
af2ae44b8d Upgrade to Spring Boot 1.4.0.RELEASE
This commit upgrades to Spring Boot 1.4.0.RELEASE and bumps to Java8. It
also migrate the cache library from Guava to Caffeeine.

The git and build information are now exposed via the `info` endpoint.

Closes gh-251
2016-07-29 12:52:53 +02:00
Stephane Nicoll
abf16f8b1a Fix typo 2016-04-14 16:09:18 +02:00
Stephane Nicoll
542ee7d91b Modularize project structure
This commit splits the feature of Spring Initializr in several modules:

* `initializr-generator` is a standalone library that is responsible for
generating projects based on a `File` directory. It has a minimal set of
dependencies and is not web-related
* `initializr-web` provides the web integration (project generation,
meta-data, etc)
* `initializr-actuator` is an optional module that can be added to
support project-generation-specific statistics

Closes gh-214
2016-04-08 12:01:38 +02:00