Commit Graph

647 Commits

Author SHA1 Message Date
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
d92caa5db0 Merge pull request #295 from dsyer:feature/restdocs
* pr/295:
  Polish contribution
  Polish reference guide
  Fix bug with stale state in http request factory
  Polish contribution
  Initiate initializr documentation
2017-02-02 15:19:19 +01:00
Stephane Nicoll
e8dd74b8ed Polish contribution
Closes gh-295
2017-02-02 15:03:00 +01:00
Stephane Nicoll
b356e233a2 Polish reference guide
See gh-295
2017-02-02 14:55:59 +01:00
Dave Syer
6242df5b6e Fix bug with stale state in http request factory
If we don't re-use an existing factory, the label doesn't change and
all the snippets get generated with the same identifier.

Remove explicit version from wiremock test

Add snippets attribute to build config

See gh-295
2017-02-02 10:21:38 +01:00
Stephane Nicoll
c7953bf999 Polish contribution
Move documentation to a dedicated module (`initializr-docs`) with a test
that uses the stubs with the Spring Cloud Contract runner.

See gh-295
2017-02-02 10:21:38 +01:00
Dave Syer
b7d8d5c813 Initiate initializr documentation
This commit commit adds restdocs and stub generators and initiate
a reference guide for Initializr.

Most of the controller tests now use MockMvc via a custom version
of the MockMvcClientHttpRequestFactory (from spring-test). The
snippet names are auto-generated in the form

<HttpMethod>/<path>[/queries(/<name-value)*][/headers](/name-value)*]

when there is a comma-separated value in a header it is
abbreviated as <first-value>.MORE.

Wiremock stubs are generated in the same form under
snippets/stubs (with ".json" as the
file extension).

The controller tests that stayed as full stack use a different
base class AbstractFullStackInitializrIntegrationTests.

A long JSON body can be broken out into separate snippets
for each field (or rather a list of fields supplied by the
user). This feature was already used with hard-coded snippets
in the wiki.

See gh-295
2017-02-02 10:21:38 +01:00
Stephane Nicoll
6efcef1186 Upgrade Vaadin Spring integration to 1.2.0
Closes gh-362
2017-02-01 10:15:10 +01:00
Stephane Nicoll
ba3c82b064 Fix integration tests 2017-01-31 14:42:35 +01:00
Stephane Nicoll
7dbeaa9d8a Fix typo 2017-01-31 14:22:43 +01:00
Stephane Nicoll
48c1d26fb4 Upgrade Spring Cloud ranges for Dalston.M1 2017-01-31 14:17:26 +01:00
Stephane Nicoll
5df176341d Merge pull request #361 from sdeleuze:kotlin-reflect
* pr/361:
  Add kotlin-reflect dependency for Kotlin projects
2017-01-31 13:57:35 +01:00
Sebastien Deleuze
d703f13601 Add kotlin-reflect dependency for Kotlin projects
Closes gh-361
2017-01-31 13:56:28 +01:00
Stephane Nicoll
76ff795f3c Merge pull request #360 from shakuzen:patch-2
* pr/360:
  Fix typos
2017-01-31 13:55:47 +01:00
Tommy Ludwig
01e6966b6c Fix typos
link → links

Links seems to be the correct key name according to the code and
semantically for a list, so all instances of `link:` have been replaced
by `links:`. Additionally, the Actuator reference link was pointing to
the wrong section in the documentation and has been fixed.

ref → rel

The application failed on startup due to `rel` being required.

Closes gh-360
2017-01-31 13:54:03 +01:00
Stephane Nicoll
e707d14cd4 Merge pull request #359 from davsclaus:2182
* pr/359:
  Upgrade to Apache Camel 2.18.2
2017-01-31 09:53:39 +01:00
Claus Ibsen
5d0c5c18de Upgrade to Apache Camel 2.18.2
Closes gh-359
2017-01-31 09:53:12 +01:00
Stephane Nicoll
fe91ed63f8 Merge pull request #307 from stormpath:stormpath
* pr/307:
  Polish Stormpath entry
  Add Stormpath Default Spring Boot Starter
2017-01-31 08:37:39 +01:00
Stephane Nicoll
49bfaaeb66 Polish Stormpath entry
Closes gh-307
2017-01-31 08:33:45 +01:00
Micah Silverman
bbe5df248f Add Stormpath Default Spring Boot Starter
See gh-307
2017-01-31 08:18:46 +01:00
Stephane Nicoll
610f8c6f2b Add version range for Vaadin starter
Closes gh-358
2017-01-31 08:05:25 +01:00
Stephane Nicoll
44ce8daae8 Add version range for Gemfire starter
Closes gh-357
2017-01-31 08:05:06 +01:00
Stephane Nicoll
b0d211525a Add links for existing starters
Closes gh-354
2017-01-30 17:27:44 +01:00
Stephane Nicoll
bf306e5ecb Merge pull request #279 from dsyer:feature/url
* pr/279:
  Polish contribution
  Add optional links to a dependency
2017-01-30 17:26:46 +01:00
Stephane Nicoll
981b726a12 Polish contribution
This commit makes sure that each dependency link is HAL compliant (like
the project types in the metadata). Links are grouped by relation with
well known relations to be defined (i.e. 'how-to', 'reference', 'home'
and so forth).

Each link can be "templated" (in the HAL sense) and only `{bootVersion}`
is supported at the moment. This is useful if a precise documentation
section should reference to the actual Stpring Boot version chosen by the
user.

Closes gh-279
2017-01-30 17:26:25 +01:00
Dave Syer
d8a1927a36 Add optional links to a dependency
See gh-163
2017-01-30 15:30:41 +01:00
Stephane Nicoll
9c7bdcc5bf Fix project's version 2017-01-30 15:30:15 +01:00
Stephane Nicoll
c24269c2ec Add httpie example 2017-01-29 10:26:39 +01:00
Stephane Nicoll
c45b13f12f Fix git plugin definition 2017-01-27 18:22:14 +01:00
Stephane Nicoll
bda1376c23 Polish 2017-01-27 18:04:10 +01:00
Spring Buildmaster
dd02650e22 Next Development Version 2017-01-27 12:52:11 +00:00
Stephane Nicoll
b58c7a046b Switch version to 0.2.0.BUILD-SNAPSHOT
Closes gh-352
2017-01-27 13:40:45 +01:00
Stephane Nicoll
f0cdd856bf Upgrade to Spring Boot 1.4.4.RELEASE 2017-01-27 10:31:00 +01:00
Stephane Nicoll
3d0a3a7e14 Polish config metadata output 2017-01-27 10:22:15 +01:00
Stephane Nicoll
1aa10d39b0 Remove use of @since 2017-01-27 10:11:33 +01:00
Stephane Nicoll
5ca1d4d128 Polish 2017-01-25 14:29:10 +01:00
Stephane Nicoll
0cbe51157a Add specific order for Spring cloud BOMs
See gh-343
2017-01-17 19:20:40 +01:00
Stephane Nicoll
330cb13c64 Add support for BOM ordering
This commit adds an `order` attribute on `BillOfMaterials` that allows to
order BOMs in the generated project. Lowest value have higher priority.

When the project is generatede with a custom parent, the Spring Boot
dependencies BOM itself has an order of a 100. Any BOM that is added with
an order lower than 100 has higher priority, i.e. could potentially
override dependencies provided by the Spring Boot dependency mechanism.

This mechanism does not work reliably when using the
`spring-boot-starter-parent` so it should be used with care. However, it
can be useful when overriding dependencies that Spring Boot does not
manage itself.

Closes gh-343
2017-01-17 19:18:52 +01:00
Stephane Nicoll
1d16c49b76 Merge pull request #344 from dsyer:feature/scdf
* pr/344:
  Add task bom to scdf project
2017-01-17 11:23:16 +01:00
Dave Syer
c691ed6df2 Add task bom to scdf project
The additional bom fixes the version of spring cloud task
(which is different than the one in the main cloud BOM).

Fixes gh-342 some more.
Closes gh-344
2017-01-17 11:22:56 +01:00
Stephane Nicoll
c0526d160d Add support for Apache Kafka 2017-01-16 17:56:55 +01:00
Stephane Nicoll
2ec6c22521 Fix version range 2017-01-13 13:40:32 -05:00
Stephane Nicoll
d36ff253d6 Use Spring Cloud Task BOM
Closes gh-342
2017-01-13 12:51:59 -05:00
Stephane Nicoll
4afce8c4b2 Upgrade to Spring Cloud Camden SR4 2017-01-12 15:49:39 -05:00
Stephane Nicoll
a9e7096f3b Polish metadata (First 1.5 release is RC1) 2017-01-07 08:55:51 +01:00
Stephane Nicoll
34edae7a4f Deprecate crash support 2017-01-07 08:54:55 +01:00
Stephane Nicoll
a5f55d895e Merge pull request #338 from eddumelendez:data-ldap
* pr/338:
  Polish
  Add entry for LDAP
2017-01-07 08:51:21 +01:00
Stephane Nicoll
a2f984d3c7 Polish
Closes gh-338
2017-01-07 08:50:45 +01:00
Eddú Meléndez
f24b39498c Add entry for LDAP
See gh-338
2017-01-07 08:50:29 +01:00