window.CDN_PATH = 'https://d3uf7shreuzboy.cloudfront.net'
Welcome to the IBM TechXchange Community, a place to collaborate, share knowledge, & support one another in everyday challenges. Connect with your fellow members through forums, blogs, files, & face-to-face networking.
IBM Application Runtimes Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
@Health
HealthCheckResponseBuilder.state(Boolean UP)
HealthCheckResponseBuilder.status(Boolean UP)
@SchemaProperty
@RequestBodySchema
@APIResponseSchema
To make use of MicroProfile 4.0 you must add the feature to both pom.xml and server.xml. Add the following Maven dependency to your pom.xml:
<dependency> <groupId>org.eclipse.microprofile</groupId> <artifactId>microprofile</artifactId> <version>4.0.1</version> <type>pom</type> <scope>provided</scope> </dependency>
or, if you use Gradle:
dependencies { providedCompile 'org.eclipse.microprofile:microprofile:4.0.1' }
Please note: you need to use the version 4.0.1 as the version 4.0 does not pull in any dependencies (see here for more details).
4.0.1
4.0
Also, make sure to configure your Liberty server with the microProfile-4.0 feature in the server.xml:
microProfile-4.0
<server> <featureManager> <feature>microProfile-4.0</feature> <!-- ... --> </featureManager> <!-- ... --> </server>