Commit Graph
64 Commits
Author SHA1 Message Date
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
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 BhaveandStephane Nicoll 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
Brian Clozel bb578d6fdf Derive package name from groupId and artifactId
This commit derives the package name of the application from the
artifact's `groupId` and `artifactId`. Previously sources were put in a
package that mirrors the groupId value.

This goes against the "unique package per application" policy that we
try to enforce. Even if the package name value can be customized
manually, deriving it automatically from the values provided in those
fields will help structure codebases.

With this change, the package name is derived like this:
* groupId `com.example`, artifactId `bookmarks` -> package
`com.example.bookmarks`
* groupId `com.example`, artifactId `user-management` -> package
`com.example.usermanagement`

This commit fixes the package name generation on the server, but also
in the web interfaces when the user updates the form fields.

Fixes gh-421
2017-05-11 14:36:47 +02:00
Stephane Nicoll 363eb25138 Polish 2017-04-30 19:21:01 +02:00
Stephane Nicoll 13766008b4 Remove metric export auto-configuration
This commit removes the auto-configuration that export metrics
automatically to Redis. This feature has been superseded by the stats
feature and can be restored at any time in a custom service.

Closes gh-373
2017-02-25 09:46:44 +01:00
Dave Syer 06f314dc8c Switch to Ant lib for tar/zip tasks
The commons wrapper we were using didn't support executable files
so Ant seems like the best choice ultimately, even if it has a
lot of features we don't use or need.
2017-02-25 09:31:04 +01:00
Stephane Nicoll 09fc98ef96 Polish contribution
Closes gh-349
2017-02-25 09:31:04 +01:00
Stephane Nicoll 5296d6a05f Code formatting 2017-02-25 09:31:03 +01:00
Dave Syer ec5a7da507 Migrate initializr-web to Java 2017-02-25 09:31:03 +01:00
Dave Syer 1385e82eb5 Additional visibility changes needed in new Java code 2017-02-25 09:31:03 +01:00
Dave Syer ad6430b92a Migrate initializr-actuator to Java 2017-02-25 09:31:03 +01:00
Spring Buildmaster e8bf50e662 Next development version 2017-02-03 13:55:17 +00:00
Stephane Nicoll e8dd74b8ed Polish contribution
Closes gh-295
2017-02-02 15:03:00 +01:00