window.CDN_PATH = 'https://d3uf7shreuzboy.cloudfront.net'
Getting Started
IBM TechXchange Dev Day: Virtual Agents
Join us 23 January from 11 AM - 6 PM ET as over 30 speakers from IBM and key AI industry leaders discuss the latest AI trends.
@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>