Comments (2)
hi @rdebusscher, the readiness check is indeed configurable like this:
@Container
public static MicroProfileApplication app = new MicroProfileApplication()
.withAppContextRoot("/myservice")
.withReadinessPath("/myservice/people");
If withReadinessPath
is not specified, we attempt to auto-select a readiness path which is described in the javadoc:
/**
* Sets the path to be used to determine container readiness. The readiness check will
* timeout after a sensible amount of time has elapsed.
* If unspecified, the readiness path with defailt to either:
* <ol><li>The MicroProfile Health 2.0 readiness endpoint <code>/health/readiness</code>,
* if MP Health 2.0 API is accessible</li>
* <li>Otherwise, the application context root</li>
* </ol>
*
* @param readinessUrl The HTTP endpoint to be polled for readiness. Once the endpoint
* returns HTTP 200 (OK), the container is considered to be ready.
* @return the current instance
*/
public MicroProfileApplication withReadinessPath(String readinessUrl) {
So if the test framework can load MP Health 2.0 API, it assumes in impl is available to the app. I'm guessing you ran into this issue trying to run one of the samples in this repo with Payara? It may have gotten mixed up because the test apps have MP Health 2.0 API on their test classpath, but if Payara doesn't support MP Health 2.0 3.0, then it would not really be correct for a Payara user to be adding MP Health 2.0 API on their test classpath.
from microshed-testing.
resolved by #59
from microshed-testing.
Related Issues (20)
- Microshed with quarkus 1.12.2-Final cant initialize PostgreSQLContainer HOT 1
- Sample application for Payara Microshed JWT (microshed-testing-jaxrs-mpjwt) is not working
- Tests all fail with mvn verify when there is an application tag in server.xml HOT 6
- [Quarkus] yaml configuration not supported
- Support Podman for container runtime HOT 1
- Building rest client fails with "java.lang.IllegalArgumentException: <FQCN> is not an interface." HOT 1
- Bump liberty adapter base image to support Java 11 or 17 HOT 4
- Support Jakarta namespace HOT 6
- Testing JWT endpoint with RESTassured HOT 1
- Is this resitory still active? HOT 2
- Release 0.9.2 [Proposal] HOT 11
- Update dependabot to non-preview version
- WithExposedPorts fails integrationtests HOT 1
- Create seperate Dockerfile for sample applications
- Get test space upload working for pushes to main branch only
- Update gradle wrapper to support future Java 17
- DCO step in CI removal HOT 2
- Local build on ARM fails HOT 1
- Jakarta first refactor HOT 5
- Upgrade to Java 17 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microshed-testing.