Commit Graph

17 Commits

Author SHA1 Message Date
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
Stephane Nicoll
d2033da88a Add flatten maven plugin support
This commit makes sure that poms are cleaned before publishing
2019-01-29 15:08:41 +01:00
Dave Syer
7203471d34 Add VScode to ignored stuff 2018-01-31 12:10:50 +00:00
Dave Syer
ad6430b92a Migrate initializr-actuator to Java 2017-02-25 09:31:03 +01:00
Stephane Nicoll
cd1e972bc2 Add Maven wrapper 2017-02-02 15:26:11 +01:00
Dave Syer
c2b15f72ea Add Eclipse stuff to ignores 2017-02-02 15:22:18 +01:00
Stephane Nicoll
1fd8e2c047 Migrate application to Maven
This commit migrates the `initializr-service` to a regular Maven project.

Closes gh-252
2016-07-12 09:18:58 +02:00
Stephane Nicoll
ac86ea7688 Ignore .jar.original files 2015-11-30 16:00:18 +01:00
Dave Syer
c17589d654 Add new cloud projects 2015-09-03 09:50:07 +01:00
Dave Syer
6f4d3f4e03 Add metrics exporter for initializr service
If a RedisConnectionFactory is detected the system will now export
metrics to redis every 5s (initializr.metrics.rateMillis). Metric
names are prefixed with <id>.<hex>. where <id> defaults to the
application name (initializr.metrics.id) and <hex> is unique. An
aggregator app can then pick up the values and (for instance)
continue counters across restarts.

The code is meant to be easier to upgrade Spring Boot 1.3

There are 2 beans that we can simply remove when we upgrade to 1.3.
Meanwhile, the app will run with 1.3 (or 1.2) for testing if you
uncomment the @ExportMetricWriter.
2015-06-04 13:32:44 +02:00
Stephane Nicoll
1ea33488f6 Initializr library
This commit splits the single file script in a library that can be
released and published to the central repository.

This allows anyone to start its own initializr instance with a
proper configuration file and the following simple script:

package app

@Grab('io.spring.initalizr:initializr:1.0.0.BUILD-SNAPSHOT')
class InitializerService { }

The integration tests have been migrated so that they run as
part of the build. Additional tests have been added to extract
the content of the generated archive and assert the directory
structure as well as the content of key files.

Fixes gh-20
2014-08-18 17:50:21 +02:00
Brian Clozel
4fbec9e0c0 Initializr UI update
This commit fully revisits the main UI of the service:

* upgrade to Twitter Bootstrap 3.2.x (CSS, theme, font, glyphs)
* add specific CSS
* add favicon

Besides, starters are now regrouped by themes and those themes
are nicely displayed in the UI

Fixes gh-23, gh-11
2014-08-18 14:31:28 +02:00
Stephane Nicoll
1db378281e Update to Boot 1.1.5
This commit updates the recommended version to Boot 1.1.5 and
provides an early access to boot 1.2.0 current build.
2014-08-12 10:56:23 +02:00
Christian Dupuis
8a5af855f0 add repository/ to .gitignore 2014-02-25 21:27:15 +01:00
Dave Syer
9d4a6bf6c5 Download starter.zip from home page 2013-07-22 14:40:50 +01:00
Dave Syer
8cd59a97ab Add cacerts and --local 2013-06-07 12:26:56 +01:00
Dave Syer
0e1a1d6879 Working app with maven pom generator and installer 2013-06-06 08:40:10 +01:00