You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The log statement that is supposed to print the final URL being called logs only the last segment only.
DEBUG [io.qu.sp.cl.co.cl.ru.VertxSpringCloudConfigGateway] (main) Attempting to read configuration from '/myLabel'.
instead of DEBUG [io.qu.sp.cl.co.cl.ru.VertxSpringCloudConfigGateway] (main) Attempting to read configuration from 'http://myserver:8888/application-name/dev/myLabel'.
geoand
changed the title
Wrong logging of SprintCloudConfig server URL when using labels
Wrong logging of SpringCloudConfig server URL when using labels
Jan 29, 2024
Describe the bug
The log statement that is supposed to print the final URL being called logs only the last segment only.
DEBUG [io.qu.sp.cl.co.cl.ru.VertxSpringCloudConfigGateway] (main) Attempting to read configuration from '/myLabel'.
instead of
DEBUG [io.qu.sp.cl.co.cl.ru.VertxSpringCloudConfigGateway] (main) Attempting to read configuration from 'http://myserver:8888/application-name/dev/myLabel'.
Expected behavior
log statement prints the whole URL
Actual behavior
only label is printed
How to Reproduce?
use spring cloud config with a label
Quarkus version or git rev
latest
Additional information
@radcortez The issue is here:
quarkus/extensions/spring-cloud-config-client/runtime/src/main/java/io/quarkus/spring/cloud/config/client/runtime/VertxSpringCloudConfigGateway.java
Line 236 in 391ca5a
instead of appending to
finalURI
, it is replacing the value.The text was updated successfully, but these errors were encountered: