Skip to content

Fix: wrong key used to access log-cache root endpoint. Fix cloudfoundry#1251 #1252

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 13, 2025

Conversation

Lokowandtg
Copy link
Contributor

Fix #1251.
The key to access the log-cache URL hay a typo.
Add one testcase to the normal access with the key.
Add one testcase for the fallback if the root endpoint does not provide the value. This test shows that the letters "api" in the remaining URL are also replaced, leading to invalid results.

@@ -24,6 +24,7 @@
import org.cloudfoundry.logcache.v1.ReadRequest;
import org.cloudfoundry.logcache.v1.ReadResponse;
import org.cloudfoundry.reactor.ConnectionContext;
import org.cloudfoundry.reactor.RootProvider;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unused import, please remove

@anthonydahanne
Copy link
Contributor

please rebase on main

@Lokowandtg Lokowandtg force-pushed the fixLogCacheRootAccess branch from e35de47 to b2435fa Compare February 20, 2025 18:16
Copy link

linux-foundation-easycla bot commented Feb 20, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@Lokowandtg Lokowandtg force-pushed the fixLogCacheRootAccess branch from b2435fa to 6ec4124 Compare February 24, 2025 17:06
@Kehrlann Kehrlann self-assigned this May 28, 2025
@Kehrlann Kehrlann added this to the 6.0.0 release milestone May 28, 2025
@Lokowandtg Lokowandtg force-pushed the fixLogCacheRootAccess branch from 6ec4124 to 10b8c0d Compare June 11, 2025 20:29
@Kehrlann Kehrlann self-requested a review June 13, 2025 08:05
@Kehrlann Kehrlann merged commit 97aff65 into cloudfoundry:main Jun 13, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typo in key name when accessing log-cache from root endpoint
3 participants