-
Notifications
You must be signed in to change notification settings - Fork 202
f8-spring-boot-health-check ignores management context-path #1014
Comments
I found out one thing: I picked up the Then I added But then I moved So, I think its something related to how @rhuss any thoughts? |
I guess this is connected how f-m-p tries to detect the application.yml and it doesn't find it if in a non-'standard' place. @nicolaferraro could you have a look if time permits ? |
that will be awesome! @nicolaferraro plz let me know if we can help to fix it |
Indeed, the I've now seen here that (apart from directory location that we cannot manag in the plugin) the special It should not be difficult to fix it. The lookup mechanism is centralized in the @rasheedamir it would be awesome if you had some time to check the correct behaviour and fix this issue. Let me know 😉. |
@nicolaferraro let us take a look! |
@nicolaferraro @rasheedamir if i'm not wrong program has to lookup the properties file into Possible solutions
|
How about adding path, schema config for springboot-health-check? like wildfly-swarm-health-check has
Precedence here could be?
|
It seems there's already a way to define custom probes by providing a probeconfig resource (see here). I think we should check if it is working (and maybe include a it test) and document it properly, because custom probe definition should not be related to a particular enricher. |
oh nice :)
Are you talking about this? |
Yes, I can't recall when it has been added, but it should be fixed. I do remember there was a similar issue with a sibling config ( The solution was to move the code to a specific enricher, so that it could be applied no matter how the container is created... We can provide a "custom probe enricher" that has priority over the other enrichers if the current way of handling things is problematic. |
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions! |
@nicolaferraro do you think this is still an issue ? |
Duplicate of #1019 |
Description
f8-spring-boot-health-check produces probe but ignores the context-path.
It produces:
Whereas it must produce:
Info
3.5.22
mvn -v
) :Kubernetes / OpenShift setup and version :
Kubernetes 7.3
If it's a bug, how to reproduce :
Just clone the repo; and run the fabric8 maven plugin.
Sample project : [GitHub Clone URL]
As you can see that management.context-path has been defined but its ignored:
https://github.com/stakater-spring-microservice/MovieManager/blob/master/src/main/resources/config/application.yml#L2
The text was updated successfully, but these errors were encountered: