Skip to content
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

Include Connection to Dependencies in Readiness Check #1161

Open
3 tasks
nicoprow opened this issue Dec 13, 2024 · 0 comments
Open
3 tasks

Include Connection to Dependencies in Readiness Check #1161

nicoprow opened this issue Dec 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@nicoprow
Copy link
Contributor

Description

As a tester I want a golden record process that is starting up to indicate when it is ready to be tested.

Acceptance Criteria

  • Upon startup the Pool is ready when a successful connection to the Orchestrator has been made.
  • Upon startup the Cleaning Service Dummy is ready when a successful connection to the Orchestrator has been made.
  • Upon startup the Gate is ready when a successful connection to the Orchestrator and Pool has been made.

Additional Information

A BPDM application signals with a readiness endpoint whether the application is working fine and is ready to accept traffic. Upon startup the BPDM applications reach the ready state upon successfully connecting to the Postgres and Keycloak. However, there is no check for BPDM applications successfully connecting to other BPDM applications. This may lead to the application showing a successful ready state even though connection errors occur to its dependencies. However, I would expect the Pool for example only be ready if the Orchestrator is ready. A Gate, in turn, should only be ready if the Orchestrator and Pool are.

This behaviour is important during Helm Chart installation and testing. Here, the ready state indicates whether a BPDM deployment has been successfully set up. However, without the connection checks for readiness the deployment may indicate its working fine while the components are not being able to connect with each other.

This, in turn, makes automatic chart testing more difficult as there is currently no reliable way to tell, when the whole golden record process is actually working and ready to accept tests.

@nicoprow nicoprow added the enhancement New feature or request label Dec 13, 2024
@nicoprow nicoprow added this to the BPDM v6.3.0 / R25.03. milestone Dec 13, 2024
@nicoprow nicoprow moved this to New in BPDM Kanban Dec 13, 2024
@nicoprow nicoprow moved this from New to 🔖 Refined in BPDM Kanban Dec 13, 2024
@SujitMBRDI SujitMBRDI moved this from 🔖 Refined to 🏗 In progress in BPDM Kanban Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 🏗 In progress
Development

No branches or pull requests

2 participants