fix: application listing returns 404 - #131
Merged
Merged
Conversation
VinShurik
force-pushed
the
fix/applications-get-all
branch
from
August 19, 2026 11:46
98d5cd1 to
76c018b
Compare
adubovik
previously approved these changes
Aug 19, 2026
VinShurik
enabled auto-merge (squash)
August 19, 2026 11:54
adubovik
approved these changes
Aug 19, 2026
adubovik
pushed a commit
that referenced
this pull request
Aug 19, 2026
Co-authored-by: Oleksandr Gubarets <oleksandr_gubarets@epam.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Applicable issues
Fix 404 for list of applications
Currently, the client sends a request to /openai/applications/ (with a trailing slash), which causes the server to route the request to a different handler method that expects an application name parameter. As a result, it attempts to look up an application with an empty name and returns a 404 error.
According to the ApplicationController.java implementation, the correct endpoint for listing applications should be /openai/applications (without the trailing slash).
This PR updates the request path to match the server's expected format, aligning the behavior with the existing implementation in deployments.py.
Changes:
Removed trailing slash from the applications list endpoint URL
Impact:
Fixes 404 errors when fetching the applications list
Ensures consistent behavior with other resource endpoints (e.g., deployments)
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.