Open rasmusei opened 1 year ago
Before there is an active chat session established
After there is an active chat session established
@rasmusei a few questions regarding GUI:
@ceirowe
@turnerrainer Uses existing /healthz endpoint on ruuter?
@turnerrainer Uses existing /healthz endpoint on ruuter?
No, this one needs a lot more attention. Maybe needs an additional grooming?
Just pinging definitely Ruuter won't do.
Rasa bot should have a /health or /healthcheck endpoint, will double check today/tomorrow
@turnerrainer GUI needs a way to test changes against working Ruuter.
Ruuter components already covered with existing v1 conf:
The existing conf https://github.com/buerokratt/Buerokratt-Chatbot/blob/main/DSL.Ruuter-v1.private/cs-get-components-healthz-status.json, which internally uses https://github.com/buerokratt/Buerokratt-Chatbot/blob/main/DSL.Ruuter-v1.private/cs-get-resql-healthz.json to check resql through an extra step. Don't remember the precise technical reason for that, likely due to http status response codes, Ruuter wants to return 200 almost always.
The existing endpoint responds with
{"data":{"set_healthz_response":{"data":[{"name":"TIM","version":"1.0"},{"name":"RUUTER","version":"1.0"},{"name":"DMAPPER","version":"1.0"},{"name":"RESQL","version":"1.0"}]}},"error":null}
Version will be an empty string "" if any component is down and of course ther will be no response from the endpoint if ruuter itself is down.
@turnerrainer Uses existing /healthz endpoint on ruuter?
No, this one needs a lot more attention. Maybe needs an additional grooming?
Just pinging definitely Ruuter won't do.
@joonasroosalung I'll take it back - the current /healthz
endpoint is sufficient in case it's also available for public Ruuter as well.
AS AN End User I WANT TO have a clear understanding if Bürokratt is not working SO THAT I could make contact using other channels
Acceptance Criteria
Business requirements
GUI
/healthz
or similar endpointHTTP 200
response from Ruuter30 seconds
(period must be configurable)Endpoints
Service
/healthz/chat
/healthz/chat
endpoint is provided by DSL developments/healthz/chat
endpoint within a predefined timeframe/healthz/chat
endpoint responds withHTTP 200 OK
/healthz/chat
endpoint responds withHTTP 503 Service Unavailable