Commit Graph

75 Commits

Author SHA1 Message Date
Stephane Nicoll
9520100703 Add missing package-info.java files
Closes gh-886
2019-08-14 15:19:06 +02:00
HaiTao Zhang
71364408fa Rename versionRange attribute to compatibilityRange
See gh-968
2019-08-09 11:20:02 +02:00
Andy Wilkinson
7cb3462d1b Add support for mapping a dependency's starter setting
Closes gh-955
2019-07-14 08:45:10 +01:00
Madhura Bhave
dd43fb5fae Update ProjectGenerationStatPublisherTests to use actual timestamp
Instead of checking that the timestamp was between 2 seconds ago and now,
we can get the actual timestamp from the event and assert on that.

Closes gh-954
2019-07-12 11:58:09 -07:00
Stephane Nicoll
449b22403a Upgrade to spring-javaformat 0.0.15
Closes gh-949
2019-07-10 14:57:35 +02:00
Andy Wilkinson
deed4863fb Adopt Spring Java Format's JUnit 5 check
Closes gh-941
2019-07-04 09:57:35 +01:00
Stephane Nicoll
2f50cf1c8f Format source code
Closes gh-923
2019-06-12 14:46:53 +02:00
Stephane Nicoll
910fddaaa7 Upgrade to spring-javaformat 0.0.9
Closes gh-882
2019-04-03 12:26:24 +02:00
Stephane Nicoll
357313c7bf Upgrade to spring-javaformat 0.0.7
This commit upgrades to spring-javaformat 0.0.7 and checkstyle 8.18.
2019-03-20 17:34:50 +01:00
Stephane Nicoll
b80e3570d8 Switch initializr-generator-spring to test dependency where applicable
Closes gh-871
2019-03-17 11:26:29 +01:00
Stephane Nicoll
1ad3dae770 Polish 2019-03-15 14:24:25 +01:00
Stephane Nicoll
b97b9f9350 Migrate from slf4j to spring-jcl logger
Closes gh-819
2019-02-08 13:16:23 +01:00
Stephane Nicoll
478c0c41c6 Relocate Agent to web module 2019-02-08 10:56:41 +01:00
Stephane Nicoll
5e04746746 Add Spring-based project contributors
This commit adds an optional module that gathers the opinions that are
used to generate a Spring Boot project.

Closes gh-340

Co-authored-by: Madhura Bhave <mbhave@pivotal.io>
Co-authored-by: Andy Wilkinson <awilkinson@pivotal.io>
2019-02-08 09:50:35 +01:00
Stephane Nicoll
3fa03b8438 Move metadata to a dedicated module
This commit moves the `metadata` package to a dedicated
`initializr-metadata` module so that it can be shared.

Closes gh-804
2019-02-08 09:50:34 +01:00
Stephane Nicoll
6ccfb69692 Promote version infrastructure to dedicated package
This commit moves `Version` and related support classes to a dedicated
package

Closes gh-811
2019-02-08 09:50:34 +01:00
Madhura Bhave
e281480426 Switch project structure to use the new generator
This commit removes the former `ProjectGenerator` api based on mustache
template in favour of a new DSL infrastructure to be detailed in further
commits.

Event handling is now web-specific with a `ProjectRequest` and a
`WebProjectRequest` that gathers the base input from the request and
some additional web-specific metadata, respectively. As a consequence
the `initializr-actuator` module has now a dependency on the
`initializr-web` module.

See gh-340

Co-authored-by: Stephane Nicoll <snicoll@pivotal.io>
2019-02-08 09:50:26 +01:00
Madhura Bhave
1bd84fe0ce Use metadata used for project generation for stats
Closes gh-810
2019-02-06 11:39:05 -08:00
Madhura Bhave
857923b549 Remove ProjectGenerationMetricsListener
Fixes gh-809
2019-02-05 13:17:22 -08:00
Madhura Bhave
79dc5956d5 Fix POMS for the updated release process 2019-01-30 08:24:06 -08:00
Stephane Nicoll
6650dbad11 Improve stat document structure
Closers gh-787
2019-01-29 16:22:49 +01:00
Stephane Nicoll
2b6ab498cf Polish migration to JUnit5
See gh-802
2019-01-28 14:38:54 +01:00
Madhura Bhave
8ec763e0ba Polish 2019-01-24 10:08:30 -08:00
Madhura Bhave
ae937ca4bc Migrate tests to JUnit5
See gh-802
2019-01-24 10:04:00 -08:00
Stephane Nicoll
b9000f322d Allow to configure elasticsearch service with only a URI
Closes gh-789
2019-01-03 13:56:14 +01:00
Stephane Nicoll
8a4cd3d6a1 Fix use of deprecated API 2018-12-31 16:57:52 +01:00
Stephane Nicoll
b58df93e12 Polish 2018-12-27 16:53:03 +01:00
Stephane Nicoll
dbd865a526 Adapt test suite to more recent Spring Boot versions
See gh-763
2018-11-29 10:16:50 +01:00
Stephane Nicoll
da1655d183 Adapt test suite to more recent Spring Boot versions
See gh-763
2018-11-29 10:16:40 +01:00
Govinda
47d5bd25cd Polish local variables and lambda names
See gh-752
2018-10-28 07:24:38 +09:00
Stephane Nicoll
fc0b9207f0 Upgrade to spring-javaformat 0.0.6 2018-07-31 18:01:40 +02:00
Madhura Bhave
7e409bec12 Improve auto-configuration tests
Closes gh-484
2018-07-10 09:22:03 -07:00
Spring Buildmaster
34b518d49f Next Development Version 2018-07-10 12:29:54 +00:00
Phillip Webb
3f23096f27 Fix copyright header for files changed this year 2018-05-31 16:17:45 -07:00
Stephane Nicoll
432be66c5a Polish contribution
Closes gh-655
2018-04-16 16:21:30 +02:00
Phillip Webb
923fb58ffc Fix checkstyle violations
Fix checkstyle violations using a pre-release version of the
spring-javaformat rules.
2018-04-13 12:36:06 -07:00
Phillip Webb
eb5211960c Migrate tests to AssertJ
Refactor all existing tests to use AssertJ assertions.
2018-04-13 12:36:06 -07:00
Phillip Webb
6493eae015 Apply automatic cleanup rules
Apply code cleanup rules from Eclipse for better consistency.
2018-04-13 12:36:06 -07:00
Phillip Webb
3d4efbf525 Reformat code
Format code using a pre-release version of the spring-javaformat plugin.
2018-04-13 12:36:06 -07:00
Phillip Webb
0c0556c585 Add Eclipse IDE support files
Add additional files to make development with Eclipse easier.
2018-04-13 12:31:11 -07:00
Phillip Webb
6309b33ee5 Format POM.xml files
Reformat POM.xml files for consistency.
2018-04-13 12:30:14 -07:00
Stephane Nicoll
fe7650f2c8 Upgrade to Spring Boot 2.0.0
This commit upgrades to Spring Boot 2.0.0.

Please note that this commit does not change metrics names to use new
features of Micrometer yet (see gh-526)

Closes gh-611
2018-03-01 08:00:49 +01:00
Spring Buildmaster
0f67d2e583 Next Development Version 2018-02-27 15:17:36 +00:00
Stephane Nicoll
d4d06ec22b Upgrade to Spring Boot 1.5.9.RELEASE
Closes gh-503
2017-12-29 15:30:44 +01:00
Stephane Nicoll
63becddb94 Remove use of org.json
This commit removes all use of org.json in production code and moves
the json api to a test only dependency.

Closes gh-507
2017-12-29 15:30:44 +01:00
Stephane Nicoll
8e5b910af6 Polish 2017-12-29 15:30:44 +01:00
Spring Buildmaster
7f4db38cee Next Development Version 2017-09-18 16:00:41 +00:00
Stephane Nicoll
514399edbb Make sure the stats are published
This commit temporarily removes the `@ConditionalOnBean` condition that
was added in 1bf0d0f as it breaks stats support. As auto-configurations
are not properly ordered, the `@Bean` configuration was backing off even
if a `InitializrMetadataProvider` bean was eventually present.
2017-08-14 12:12:30 +02:00
Stephane Nicoll
1bf0d0fcde Allow for RestTemplate customization
This commit reuses the `RestTemplateBuilder` infrastructure wherever
a `RestTemplate` is required. This allows to customize the rest template
if necessary.

Closes gh-481
2017-08-14 11:26:34 +02:00
Stephane Nicoll
8832201c43 Add dependency range info
This commit improves the `info` endpoint to contain a
`dependency-ranges` entry that is similar than the `bom-ranges` entry
for BOMs.

Each dependency that has a version mapping is listed with the range and
the related version. Some dependencies weren't managed and are now. For
those a `managed` version is used to indicate which Spring Boot versions
do not require to specify a version for the dependency.

Closes gh-453
2017-06-25 10:34:23 +02:00