1344 Commits

Author SHA1 Message Date
Stephane Nicoll
0ea6fb3261 Improve error page documentation
Closes gh-5722
2016-04-19 13:17:23 +02:00
Johnny Lim
61b47079a4 Remove duplicate words
Closes gh-5731
2016-04-19 08:21:58 +02:00
Andy Wilkinson
1da9e4d80a Merge branch '1.3.x' 2016-04-18 17:42:44 +01:00
Andy Wilkinson
432969e61e Correct documented spring.factories key for management context config
Closes gh-5664
2016-04-18 17:41:44 +01:00
Johnny Lim
6d48ee9593 Polish
Closes gh-5714
2016-04-17 09:26:05 +02:00
Stephane Nicoll
03fff6df79 Polish
See gh-5706
2016-04-16 10:43:11 +02:00
Phillip Webb
5881c9c74f Polish 2016-04-15 22:39:35 -07:00
Stephane Nicoll
cc0fc07c0e Move shell.* to management.shell.*
This commit moves the `shell` namespace to `management.shell`

Closes gh-5703
2016-04-15 18:12:35 +02:00
Stephane Nicoll
6d11d73cbc Move shell.auth to shell.auth.type
This commit moves the `shell.auth` property to `shell.auth.type`. The
previous situation was unfortunate since `shell.auth` was both a group
and a particular property.

Closes gh-5139
2016-04-15 18:12:35 +02:00
Stephane Nicoll
f561d9d9d8 Polish auto-configuration for Spring Web Services
Closes gh-5645
2016-04-15 11:01:15 +02:00
Stephane Nicoll
e4106e592a Polish doc
Closes gh-5675
2016-04-15 08:58:18 +02:00
Stephane Nicoll
5bc290eac6 Improve Hibernate 5 specific documentation
Closes gh-5694
2016-04-15 08:54:35 +02:00
Phillip Webb
99ea724c71 Polish docs 2016-04-12 22:45:43 -07:00
Phillip Webb
296bbbc7bd Polish docs 2016-04-12 21:24:44 -07:00
Phillip Webb
29900b48ea Polish docs 2016-04-12 21:23:22 -07:00
Phillip Webb
2d71b08eef Fix copy/paste error in documentation 2016-04-12 20:06:35 -07:00
Johnny Lim
030096c490 Polish
Closes gh-5661
2016-04-12 07:41:09 +02:00
Stephane Nicoll
3156b17f8a Polish 2016-04-12 07:34:29 +02:00
Andy Wilkinson
5677b222d2 Document using @TestConfiguration to customize app's primary config
Closes gh-5566
2016-04-11 21:15:06 +01:00
Venil Noronha
1def64e49e Add Jetty acceptors and selectors support
Add support for Jetty `acceptors` and `selectors` configuration, either
directly on the `JettyEmbeddedServletContainerFactory` or via
`server.jetty.acceptors`/`server.jetty.selectors` server properties.

Fixes gh-5380
Closes gh-5649
2016-04-11 11:30:55 -07:00
Michael J. Simons
aaed87d176 Register printed banner in ApplicationContext
Update SpringApplication to store the banner that was actually printed
as a bean named `springBootBanner`.

Closes gh-5636
2016-04-11 10:54:22 -07:00
Andy Wilkinson
f87defe15a Document FlywayMigrationStrategy
Closes gh-5656
2016-04-11 17:30:49 +01:00
Stephane Nicoll
99ae6dac53 Customize Couchbase's socket connect timeout
Our Windows build is failing currently because the couchbase server does
not handle a socket connection within a second (the default). This commit
adds a property to customize this option and set it to 10 sec in the
sample.

While investigating this issue, it turns out that while
`CouchbaseConfiguration` is public, it is not really possible to extend
it in user's configuration. This commit fixes this problem and add a test
that demonstrates how it can be used.

Closes gh-5657
2016-04-11 18:23:27 +02:00
Stephane Nicoll
c38bb9657d Polish 2016-04-11 16:11:51 +02:00
Phillip Webb
a39d351eed Polish profile negation in YAML sub-documents
Closes gh-4953
2016-04-10 23:23:59 -07:00
Matt Benson
bd010494c9 Support profile negation in YAML sub-documents
See gh-4953
2016-04-10 23:22:31 -07:00
Johnny Lim
a0c8d1f5b5 Polish 2016-04-10 22:18:28 -07:00
Phillip Webb
ea44ae6a35 Polish contribution 2016-04-10 10:27:06 -07:00
Stephane Nicoll
3d9ac6ea57 Polish 2016-04-10 18:06:15 +02:00
Phillip Webb
0c0be1e626 Polish contribution 2016-04-10 07:48:31 -07:00
Stephane Nicoll
725ae2c834 Fix typo 2016-04-09 19:59:15 +02:00
Stephane Nicoll
fbe53be6c1 Polish Hibernate 5 support
Closes gh-2763
2016-04-08 14:13:23 +02:00
Stephane Nicoll
99dae09f84 Improve caching documentation
Add a note regarding the use of `@EnableCaching(proxyTargetClass=true)`
for beans that are not interface based.

Closes gh-5527
2016-04-08 13:01:50 +02:00
Phillip Webb
d058ddbe3b Add image banner documentation
Closes gh-4647
2016-04-07 23:21:18 -07:00
Andy Wilkinson
436da1d5fd Polish contribution 2016-04-07 15:27:07 +01:00
Johnny Lim
3b5ecbd066 Polish
Closes gh-5627
2016-04-07 14:47:18 +01:00
Phillip Webb
75c76838b5 Add Narayana reference documentation
Closes gh-5552
2016-04-06 19:16:34 -07:00
Phillip Webb
ec33c59f6b Polish 2016-04-06 18:15:12 -07:00
Phillip Webb
48800f1818 Polish contribution 2016-04-06 17:05:01 -07:00
Gytis Trikleris
a2adc5a130 Add Narayana JTA support
Add support for JBoss Narayana.

Fixes gh-5552
2016-04-06 17:02:53 -07:00
Andy Wilkinson
fc6c57413b Update docs to fully reflect BOOT-INF executable archive layout changes
Closes gh-5195
2016-04-06 10:56:47 +01:00
Johnny Lim
a55315b5b5 Polish
Closes gh-5614
2016-04-06 10:25:45 +02:00
sebastiankirsch
a15684e67e Allow per-http-method MetricsFilter submissions
Add `endpoints.metrics.filter.gauge-submissions` and
`endpoints.metrics.filter.counter-submissions` properties which can be
used to fine-tune how MetricsFilter submits metrics.

Use `per-http-method` to group by the the HTTP method, `merged` to
combine or both (`merged,per-http-method`) to submit both in forms.

Closes gh-5102
2016-04-05 22:41:45 -07:00
Stephane Nicoll
520448cd9c Add support for publisher confirms/returns
Closes gh-3945
2016-04-05 14:25:18 +02:00
Stephane Nicoll
05ef0818f8 Polish contribution
Closes gh-5511
2016-04-05 12:38:04 +02:00
Andy Wilkinson
487f7310fd Polish contribution 2016-04-05 11:03:03 +01:00
Quinten De Swaef
34eb3695e4 Allow Tomcat's minimum threads to be configured via the environment
Closes gh-5572
2016-04-05 10:56:11 +01:00
Phillip Webb
b398b3319c Rename @SpringApplicationTest -> @SpringBootTest
Rename @SpringApplicationTest to SpringBootTest and
@SpringApplicationContextLoader to @SpringBootContextLoader.

Fixes gh-5562
2016-04-04 22:36:58 -07:00
Phillip Webb
b0b190b362 Delete @SpringApplicationConfiguration
Remove the @SpringApplicationConfiguration annotation since it offers
little value over @SpringApplicationTest.

See gh-5562
2016-04-04 22:36:58 -07:00
Andy Wilkinson
eb3180d581 Provide test auto-configuration for Spring REST Docs
This commit introduces a new annotation, @AutoConfigureRestDocs,
which can be used to enable auto-configuration of Spring REST Docs.
The auto-configuration removes the need to use Spring REST Docs' JUnit
rule and will automatically configure MockMvc. Combined with the new
auto-configuration for MockMvc it allows a test class to be free of
boilerplate configuration:

@RunWith(SpringRunner.class)
@WebMvcTest
@AutoConfigureRestDocs(outputDir = "target/generated-snippets",
        uriScheme = "https", uriHost = "api.example.com",
        uriPort = 443)
public class ExampleDocumentationTests {

    @Autowired
    private MockMvc mvc;

    @Test
    public void documentIndex() {
        // …
    }

}

For more advanced customization a RestDocsMockMvcConfigurationCustomizer
bean can be used.

If a RestDocumentationResultHandler is found in the context, it will
be passed to the ConfigurableMockMvcBuilder's alwaysDo method as part
of its customization.

Closes gh-5563
2016-04-04 17:19:51 +01:00