Andy Wilkinson
6920c39349
Merge branch '1.3.x' into 1.4.x
6 years ago
Andy Wilkinson
0e009ef047
Use HTTPS to link to the Apache license
6 years ago
Spring Operator
e2837843e1
Update build and setup configuration to use HTTPS
...
See gh-16244
6 years ago
Spring Operator
7c314122f7
Update build and setup configuration to use HTTPS
...
See gh-16243
6 years ago
Spring Buildmaster
88e43c8421
Next Development Version
8 years ago
Spring Buildmaster
d719d2cbbc
Next Development Version
8 years ago
Spring Buildmaster
2a83e80a9b
Next Development Version
8 years ago
Spring Buildmaster
ed1ce140c0
Next Development Version
8 years ago
Spring Buildmaster
9057f9ae1f
Next development version
8 years ago
Phillip Webb
357d072a60
Polish
8 years ago
Stephane Nicoll
5e604437d7
Restore proper scope for spring-hateoas
...
Closes gh-7489
8 years ago
Spring Buildmaster
e712a9ba8c
Next Development Version
8 years ago
Stephane Nicoll
6d50e26b70
Polish contribution
...
Closes gh-7215
8 years ago
Johnny Lim
1546cd4072
Update documentation on Actuator hypermedia support
...
Spring Boot Actuator hypermedia support has been disabled by default via
c7c685f
, but its documentation wasn't updated.
This commit updates the documentation related to the change.
See gh-7215
8 years ago
Stephane Nicoll
6bd670edbc
Initiate 1.4.x branch
8 years ago
Spring Buildmaster
5f959b074f
Next Development Version
8 years ago
Phillip Webb
3172d434a7
Polish
...
Closes gh-6835
8 years ago
Johnny Lim
524edaea51
Polish
...
Closes gh-6728
8 years ago
Spring Buildmaster
334baaeffd
Next development version
8 years ago
Spring Buildmaster
a89ef5df6e
Next Development Version
8 years ago
Phillip Webb
4a1e0d4544
Extend @AutoConfigureMockMvc print support
...
Update @AutoConfigureMockMvc to support extended print options including
`System.err` and `log.debug`. In addition the "default" print option
can now be overridden by adding `spring.test.mockmvc.print=...` to
`src/test/resources/application.properties`.
Fixes gh-6455
8 years ago
Phillip Webb
225502f7ca
Fix Java 6 compatibility
...
See gh-5849
8 years ago
Phillip Webb
05cde789e1
Reduce noise in /end actuator docs
...
Update the `/env` sample used in the actuator docs to use only a limited
set of keys.
Fixes gh-5849
8 years ago
Spring Buildmaster
2216369348
Next Development Version
9 years ago
Lari Hotari
9f07e94450
Add MVC actuator endpoint for heap dumps
...
Add MVC only endpoint to obtain GZip compressed heap dump files.
See gh-5670
9 years ago
Johnny Lim
70adefc87b
Polish
...
Closes gh-6046
9 years ago
Phillip Webb
1bb2c4fc00
Fixup test following dependency change
...
Since spring-boot-actuator-docs should not depend on a starter the log
file is now simulated.
9 years ago
Phillip Webb
cf6212b955
Polish
9 years ago
Spring Buildmaster
819a9574a6
Next Development Version
9 years ago
Spring Buildmaster
376bbe68d8
Next Development Version
9 years ago
Andy Wilkinson
f8a4459aa1
Ensure that logfile endpoint documentation has some log entries to use
...
Closes gh-5848
9 years ago
Phillip Webb
b398b3319c
Rename @SpringApplicationTest -> @SpringBootTest
...
Rename @SpringApplicationTest to SpringBootTest and
@SpringApplicationContextLoader to @SpringBootContextLoader.
Fixes gh-5562
9 years ago
Phillip Webb
4d404b214c
Migrate away from @SpringApplicationConfiguration
...
Refactor internal tests to no longer use @SpringApplicationConfiguration
See gh-5562
9 years ago
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
9 years ago
Phillip Webb
c28f552883
Migrate SpringJUnit4ClassRunner to SpringRunner
...
Replace all existing SpringJUnit4ClassRunner references with the new
SpringRunner alias.
Fixes gh-5292
9 years ago
Phillip Webb
2f815a907a
Migrate existing tests from deprecated package
...
Update the existing tests to use the relocated `spring-boot-test`
classes. Restructuring was achieved using the following command:
find . -type f -name '*.java' -exec sed -i '' \
-e s/org.springframework.boot.test.ConfigFileApplicationContextInitializer/\
org.springframework.boot.test.context.ConfigFileApplicationContextInitializer/g \
-e s/org.springframework.boot.test.EnvironmentTestUtils/\
org.springframework.boot.test.util.EnvironmentTestUtils/g \
-e s/org.springframework.boot.test.IntegrationTest/\
org.springframework.boot.test.context.IntegrationTest/g \
-e s/org.springframework.boot.test.IntegrationTestPropertiesListener/\
org.springframework.boot.test.context.IntegrationTestPropertiesListener/g \
-e s/org.springframework.boot.test.OutputCapture/\
org.springframework.boot.test.rule.OutputCapture/g \
-e s/org.springframework.boot.test.SpringApplicationConfiguration/\
org.springframework.boot.test.context.SpringApplicationConfiguration/g \
-e s/org.springframework.boot.test.SpringApplicationContextLoader/\
org.springframework.boot.test.context.SpringApplicationContextLoader/g \
-e s/org.springframework.boot.test.SpringBootMockServletContext/\
org.springframework.boot.test.mock.web.SpringBootMockServletContext/g \
-e s/org.springframework.boot.test.TestRestTemplate/\
org.springframework.boot.test.web.client.TestRestTemplate/g \
-e s/org.springframework.boot.test.WebIntegrationTest/\
org.springframework.boot.test.context.web.WebIntegrationTest/g {} \;
See gh-5293
9 years ago
Spring Buildmaster
225d877ab9
Next Development Version
9 years ago
Andy Wilkinson
44ddfcc7fa
Upgrade copyright headers of all files changed in 2016
9 years ago
Andy Wilkinson
03ebef58fb
Merge branch '1.3.x'
9 years ago
Andy Wilkinson
b1afd091c2
Document log file endpoint's support for using Range header
...
Closes gh-5062
9 years ago
Phillip Webb
89b7704977
Extract spring-boot-test.jar
...
Relocate the `org.springframework.boot.test` package from the
`spring-boot.jar` to `spring-boot-test.jar`.
Fixes gh-5184
9 years ago
Andy Wilkinson
a81cd5df74
Upgrade to Spring REST Docs 1.1.0.M1
...
Closes gh-5160
9 years ago
Stephane Nicoll
ebffa493e4
Harmonize ConfigurationProperties bean name
...
When `@EnableConfigurationProperties` is defined, Spring Boot
automatically registers a bean in the context for each class specified
on the annotation. Previously, the name of the bean only included the
prefix which leads to conflict if two different classes use the same
prefix.
This commit changes the bean name structure to be <prefix>-<fqn> where
prefix is the prefix used on the annotation and <fqn> the fully qualified
name of the target class.
Closes gh-4395
9 years ago
Phillip Webb
fbaf209240
Move master to 1.4.0.BUILD-SNAPSHOT
9 years ago
Spring Buildmaster
504d3e97ba
Next development version
9 years ago
Andy Wilkinson
2aff82bb64
Merge branch '1.2.x'
9 years ago
Spring Buildmaster
8db59059a5
Next Development Version
9 years ago
Andy Wilkinson
0088300eca
Prevent spring-boot-actuator-docs from pulling in H2
...
Closes gh-4658
9 years ago
Johnny Lim
da16d6d306
Polishing
...
Closes gh-4503
9 years ago
Spring Buildmaster
3f6f57a80e
Next Development Version
9 years ago