Commit Graph

31 Commits (6636a2393064c96721a055dcb4f70a8fb9f95f84)

Author SHA1 Message Date
Spring Operator e2837843e1 Update build and setup configuration to use HTTPS
See gh-16244
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 334baaeffd Next development version 8 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
Andy Wilkinson f8a4459aa1 Ensure that logfile endpoint documentation has some log entries to use
Closes gh-5848
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 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
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
Spring Buildmaster 3f6f57a80e Next Development Version 9 years ago
Andy Wilkinson 05a2b53527 Add information about /liquibase and /flyway to Actuator's docs
Closes gh-3438
9 years ago
Andy Wilkinson 702b8d041f Remove code used for documentation generation from actuator-docs jar
Closes gh-3902
9 years ago
Andy Wilkinson b31e578489 Upgrade to Spring REST Docs 1.0.0.RC1 9 years ago
Stephane Nicoll 1a71eb1f3b Move spring-restdocs version to dependency management
Closes gh-3905
9 years ago
Phillip Webb 1fba24ffe4 Generate rest documentation in compile phase
Update `spring-boot-actuator-docs` to generate rest documentation in
the compile phase.
9 years ago
Phillip Webb e8085016ba Polish Actuator hypermedia support 10 years ago
Dave Syer 74e9e0749b Add support for Spring HATEOAS hypermedia in Actuator endpoints
If spring-hateoas is on the classpath and an MvcEndpoint returns a
@ResponseBody it will be extended and wrapped into a Resource with links.
All the existing endpoints that return sensible JSON data can be extended
this way (i.e. not /logfile). The HAL browser will also be added as an
endpoint if available on the classpath. Finally, asciidocs for the
Actuator endpoints are available as a separate jar file, which if
included in an app will also generate a new (HTTP) endpoint.

Fixes gh-1390
10 years ago