[
https://issues.apache.org/jira/browse/KNOX-2955?focusedWorklogId=879489&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-879489
]
ASF GitHub Bot logged work on KNOX-2955:
----------------------------------------
Author: ASF GitHub Bot
Created on: 08/Sep/23 13:37
Start Date: 08/Sep/23 13:37
Worklog Time Spent: 10m
Work Description: smolnar82 commented on code in PR #792:
URL: https://github.com/apache/knox/pull/792#discussion_r1319883557
##########
gateway-service-health/src/main/java/org/apache/knox/gateway/service/health/PingResource.java:
##########
@@ -81,7 +87,26 @@ private Response getPingResponse() {
}
String getPingContent() {
- return CONTENT;
+ return OK;
+ }
+
+ @GET
+ @Produces({TEXT_PLAIN})
+ @Path("gateway-status")
+ public Response status() {
+ response.setStatus(HttpServletResponse.SC_OK);
Review Comment:
Ignore this comment, please.
Issue Time Tracking
-------------------
Worklog Id: (was: 879489)
Time Spent: 20m (was: 10m)
> Knox Readiness Awareness and Notification
> -----------------------------------------
>
> Key: KNOX-2955
> URL: https://issues.apache.org/jira/browse/KNOX-2955
> Project: Apache Knox
> Issue Type: Bug
> Reporter: Attila Magyar
> Assignee: Attila Magyar
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Currently, Knox is unable to accurately report its readiness to handle
> requests (e.g., all topology deployments have completed).
> Knox needs a more reliable means by which to know that all of the topologies
> have been completely deployed before reporting that it is "ready".
> Knox also needs a new built-in endpoint for querying this readiness, which
> does not require authentication.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)