Future Plans

OET and integration with TMC

Currently, this repository provides an environment to manually test the integration of the applications and for the stakeholders to access persistent deployments. The requirements mainly came from wanting to look at interfaces like the ODT, PHT and PTT. However, being able to use the OET API to execute SBDefinitions in the same environment would be a useful exercise, even if this execution was only against a simulated TMC.

The OET application is included in this chart, however sending a request to execute an SBDefinition will only confirm that the SBDefinition can be fetched from the ODA and then will fail as the OET is not configured to connect to a TMC instance.

ska-oso-scripting now includes some integration tests which run against a simulated TMC. A similar simulated TMC could be included in the ska-oso-integration chart, which could then be used to check the OET can handle the SBDefinitions created in the ODT and also check the SBDefinition -> SBInstance -> ExecutionBlock entity contents and relationships.

Integration tests

Individual applications will perform integration tests in their own pipelines against components they directly interact with. However, there could be value in adding some end to end tests to this repository which test some whole OSO workflows.

For example a BDD style test that:

  1. Creates a Proposal in the ODA using the PHT

  2. Generates the SBDefinition in the ODA from the Proposal

  3. Makes some changes to the SBDefinition in the ODT

  4. Executes the SBDefinition with the OET

  5. Examines the resulting SBInstance and ExecutionBlock in the ODA