[Data Discovery] Trino integration in the Discovery Flow (DB Query Snapshot)
To integrate the current CERTH API with the Trino discovery flow, this issue outlines the sequence of API calls.
First analysis in the Miro Board:
Whole sequence (FrontEnd)
1 - DB Query selection (new button)
2 - Set DB connection: a) Create connection: fill in the connection information based on the target DB selected (PostgreSQL, Cassandra, etc.) b) Select existing connection (previously configured)
3 - Trino integration a) Create new query (CERTH API) b) Test query (CERTH API)
c) Save query (CERTH API) Stored in MariaDB through the CERTH API.
d) Run Query (integration with Governance and Storage)
Regarding the 'Run Query' feature, the table below outlines the sequence of API calls used to create the artifact in Governance, store the file generated by query execution, and trigger the pipeline.