1
0
mirror of https://gitee.com/dcren/initializr.git synced 2025-04-24 18:04:58 +08:00
Commit Graph

114 Commits

Author SHA1 Message Date
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
Stephane Nicoll
35cfc8f139 Fix version range for Zipkin UI
Closes gh-216
2016-04-06 16:05:13 +02:00
Stephane Nicoll
d03a332ffa Remove reference to camel-parent
`camel-parent` is not a proper Bill Of Materials as it brings the whole
camel dependency management with it.
2016-04-02 08:12:55 +02:00
Josh Long
879fa0e31f Add support for data flow shell
Closes gh-212
2016-04-02 07:59:22 +02:00
Stephane Nicoll
d516687502 Polish contribution
Closes gh-208
2016-04-01 16:08:47 +02:00
Claus Ibsen
7c78e054e8 Add support for Apache Camel
Closes gh-207
2016-04-01 16:02:15 +02:00
Josh Long
ccdad4d394 Add zipkin-ui and zipkin-server
Fixes gh-213
2016-04-01 14:30:07 +01:00
Stephane Nicoll
f2b79052ea Add support for Neo4j 2016-03-25 13:17:58 +01:00
Spencer Gibb
35a24236d7 Update for Brixton.RC1
RC1 removed `spring-cloud-starter-bus-redis` because s-c-stream
is not supporting redis in production.

Fixes gh-205
2016-03-24 14:32:46 +00:00
Stephane Nicoll
0143de982f Polish 2016-03-09 09:51:52 +01:00
Venil Noronha
10cd880db7 Add spring-cloud-cluster-etcd
Closes gh-200
2016-03-09 09:46:43 +01:00
Stephane Nicoll
7598628165 Deprecate Velocity support 2016-03-08 09:03:57 +01:00
Stephane Nicoll
54b7f1d72a Upgrade to Vaadin 7.6.3 2016-02-29 11:00:31 +01:00
Stephane Nicoll
fab8edac44 Upgrade to Spring Boot 1.3.3.RELEASE 2016-02-28 18:11:41 +01:00
Stephane Nicoll
d9dba0fdd8 Upgrade to Spring Cloud Brixton.M5
Closes gh-198
2016-02-23 14:32:13 +01:00
Stephane Nicoll
73d1c24b3a Add entry for Couchbase 2016-02-16 14:13:33 +01:00
Stephane Nicoll
601b2ec65c Split SQL and NoSQL groups 2016-02-16 14:05:48 +01:00
Stephane Nicoll
5b3eb6ccf0 Polish contribution
Closes gh-161
2016-02-15 09:02:10 +01:00
Sebastien Deleuze
560333494c Add Kotlin support
Closes gh-147
2016-02-15 09:01:13 +01:00
Stephane Nicoll
4d2fbfe856 Publish stats on project generation
If an elastic instance is available, publish a document to a
configurable index every time a `ProjectRequest` is handled by the
service.

In practice, this means that every attempt to generate a project leads to
a new document in the index. The document gathers the settings of the
required project, including invalid ones if any. If an exception is
thrown, the message of the cause is made available.

CloudFlare is explicitely supported and the IP and country of the request
is added to the document. If that information is not available and the
request contains a `X-Forwarded-For` header, the value is also associated
with the document. If an IPv4 is detected, it is set in a separate
`requestIpv4` property.

If for some reason the document could not be indexed, we attempt to retry
a configurable amount of times.

Closes gh-185
2016-02-13 09:38:15 +01:00
Stephane Nicoll
7f6d348a3b Remove explicit binding to Redis
A redis instance is only required to export the metrics. Such feature is
not required for development and staging environment.
2016-02-10 13:49:02 +01:00
Dave Syer
de256e9caf Remove non-existent (for now) Consul Bus 2016-02-08 08:33:58 +00:00
Stephane Nicoll
953b4e8dd4 Polish contribution
`1.3.2.RELEASE` is available now so there is no need to have a version
range on the snapshot.  We don't need to copy/paste the version of the
bom in the actual dependency (that's the whole business of the bom
definition (including versions mapping according to the Spring Boot
version).

We want the `cloud-bom` to be automatically added when the data flow bom
is required so it is referenced as "additional BOM" as well.

Closes gh-189
2016-02-03 10:25:07 +01:00
Josh Long
85c2cd76a3 Add Spring Cloud Data Flow starter 2016-02-03 10:25:07 +01:00
Stephane Nicoll
9eeb1df4ba Use spring-cloud-dependencies
Previously, Spring Initializr was refering to
`spring-cloud-starter-parent` as the BOM source for any cloud-related
dependencies.

This pom actually inherits from a specific version of Spring Boot and
brings all its dependency management. If the chosen boot version and the
one that the cloud bom brings do not match, inconsistent versions can
appear in the project.

The underlying issue was fixed by providing a new BOM that only provides
dependency management for the cloud-related bits.

Closes gh-116
2016-02-03 10:22:24 +01:00
Stephane Nicoll
7522b933a7 Polish contribution
Closes gh-187
2016-02-02 15:12:46 +01:00
Josh Long
d3db322303 Add sleuth and zipkin stream dependencies
See gh-187
2016-02-02 15:12:46 +01:00
Stephane Nicoll
c520f85a1f Fix cloud version range 2016-02-02 15:12:32 +01:00
Stephane Nicoll
8b3cfcacf8 Upgrade to Spring Boot 1.3.2.RELEASE 2016-01-29 10:09:42 +01:00
Stephane Nicoll
dc2ad26865 Upgrade dependency management for lombok
As of Spring Boot 1.4, lombok is managed and we should no longer provide
a version for it. This commit makes sure to remove the version as of
Spring Boot 1.4

Closes gh-182
2016-01-27 11:10:39 +01:00
Stephane Nicoll
ca057da48e Support for spring-boot-starter-data-redis
Spring Boot 1.4 has renamed the `spring-boot-starter-redis` to
`spring-boot-starter-redis`. This commit adds support for the former up
to 1.4 (exclusive) and the later as from 1.4

Closes gh-174
2016-01-27 10:44:45 +01:00
Stephane Nicoll
8783ce013a Upgrade to Spring Boot 1.3.1.RELEASE 2015-12-30 09:30:52 +01:00
Stephane Nicoll
245fe8f07e Temporarily remove provided scope for Lombok
Spring Initializr does not support the provided scope properly with
Gradle as it relies on the `providedRuntime` configuration added by the
war plugin.

Lombok should be added with an optional flag anyway so until the
service properly supports it, lombok is defined again with the default
(compile) scope.

Closes gh-171
2015-12-26 09:46:19 +01:00
Dave Syer
8c6cc47b67 Bump Spring Cloud to Brixton.M4 2015-12-23 11:46:59 +00:00
Stephane Nicoll
6a30dac6a6 Fix version management for REST Docs
Closes gh-166
2015-12-11 16:54:57 +01:00
Stephane Nicoll
7d65a6fdda Fix version management for PostgreSQL
Closes gh-167
2015-12-11 16:47:36 +01:00
Stephane Nicoll
5fb8c84e5e Improve resources caching
Update controllers to add an ETag information so that meta-data is cached
on the client.

Also enables the compression for json, css and html resources.

Closes gh-165
2015-12-11 13:59:52 +01:00
Andy Wilkinson
22bec6d00d Upgrade Spring REST Docs to 1.0.1.RELEASE 2015-12-11 12:36:34 +00:00
Stephane Nicoll
991faf0839 Add support for Spring Session
Closes gh-151
2015-12-10 11:42:47 +01:00
Stephane Nicoll
bda0135857 Fix lombok support
Remove the cloud dependency until Spring Boot itself provides a
dependency management for it. Also fix the scope so that lombok does
not leak in other projects.

Closes gh-154
2015-12-09 15:34:25 +01:00
Stephane Nicoll
77ba0e4641 Add missing starter attribute 2015-12-09 15:18:58 +01:00
Stephane Nicoll
65916948dd Add support for spring-retry
Closes gh-149
2015-12-09 15:10:15 +01:00
Stephane Nicoll
fa7d9790a1 Upgrade to Spring Boot 1.3.0
Closes gh-123
2015-11-30 16:00:42 +01:00
Dave Syer
8733100aab Update Cloud to Brixton.M3 2015-11-18 15:21:27 +00:00
Stephane Nicoll
17447a3a67 Upgrade to Spring REST Docs 1.0.0.RELEASE 2015-11-18 11:50:01 +00:00
Dave Syer
6aea29f356 Remove spring-cloud-starter-bus-rabbit (non-existent starter) 2015-11-16 17:13:45 +00:00
Stephane Nicoll
f5e2de8f61 Allow to define "non starter" dependency
Previously, all dependencies were considered equal and enough to compile
and start the simple auto-generated boot application. There are some
corner cases such as the JDBC drivers and the new Ratpack integration.

This commit adds an extra flag on a dependency that determines if it is
a starter or not (the default is true). When no starter dependency has
been selected for the project, the root starter (`spring-boot-starter`)
is automatically added.

Closes gh-159
2015-11-16 10:44:45 +01:00
Dave Syer
736ef6d2fe Add Ratpack dependency 2015-11-13 15:18:06 +00:00
Dave Syer
e00bd10e52 Confusing name: OAuth2 -> Cloud OAuth2 2015-11-13 15:08:26 +00:00