EOEPCA / resource-health

Apache License 2.0
0 stars 0 forks source link

Resource Health BB requirements clarification #11

Open dovydas-an opened 1 month ago

dovydas-an commented 1 month ago

Perform requirements clarification with other BB developing teams and stakeholders (end users) to clarify checking mechanisms/types and plans for their implementation. In addition, keep track of further development of other BBs to perform iterative requirements refinement of Resource Health BB.

dovydas-an commented 2 days ago

Further requirements clarifications have been performed with APEx and EarthCODE stakeholders (one virtual discussion and additional communication by email).

In terms of checking mechanisms that would be needed, expectations for the following types of functionality have been identified so far (the following list also includes types of functionality that has already been identified as needed in the SoW):

spinto commented 2 days ago

Hi @dovydas-an we need to generalize on top of the very specific cases you listed and extract general requirements for the BB. For example. from the listed types resources I can see these are all (except one, the hosting environment checks) generic API call/response checks, so the BB should allow the execution of programmatic tests written in Python, with custom python libraries (e.g. the OpenEO API client). From the types of checks you listed, I extract that there should be a timeout on the execution of these tests, and that they should probably return an "OK / WARNING / CRITICAL" levels, and the check developer should be able to set retries. These are the sort of requirements I would expect for the resource health BB.

dovydas-an commented 2 days ago

Hi @dovydas-an we need to generalize on top of the very specific cases you listed and extract general requirements for the BB. For example. from the listed types resources I can see these are all (except one, the hosting environment checks) generic API call/response checks, so the BB should allow the execution of programmatic tests written in Python, with custom python libraries (e.g. the OpenEO API client). From the types of checks you listed, I extract that there should be a timeout on the execution of these tests, and that they should probably return an "OK / WARNING / CRITICAL" levels, and the check developer should be able to set retries. These are the sort of requirements I would expect for the resource health BB.

Hi @spinto , thank you for your comment and guidance on how the requirements should be formulated. The list of expectations I included above is just there for contextual purposes only. The actual refined requirements, I will be including a bit later today.

As part of our proposal we included a list of 21 derived requirements from those that were presented in the SoW (BR125-BR131). Our intent is to continue working with them and clarify/update them according to the information we extracted above. It would be greatly appreciated, if you could review them as well.

spinto commented 2 days ago

Hi @dovydas-an , thank you for the answer, I have seen also now the list of the updated use cases in https://github.com/EOEPCA/resource-health/issues/12 . I will review the refined requirements once you include them. Thank you a lot!

dovydas-an commented 1 day ago

Low-level requirements linked to those outlined in the SoW: