moja-global / FLINT.Cloud

The project aims to demonstrate a continuous deployment pipeline for FLINT.
Mozilla Public License 2.0
27 stars 67 forks source link

feat: added a new endpoint to get the GCBM table names #168

Closed SanjaySinghRajpoot closed 2 years ago

SanjaySinghRajpoot commented 2 years ago

Pull Request Template

Description

A new endpoint is added to get all the GCBM table names. As on the frontend the user will be able to change the configuration file. This endpoint will provide them with a table scheme that can be modified and sent back to the /config endpoint. Which will store the new table data in the form of .db file. This makes the GCBM more dynamic in nature.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

For some reason, my pytest script gives syntax errors for every endpoint. I was unable to test using the pytest. However, I have used postman to make a GET request and got 200 as the response.

Screenshot from 2022-08-09 19-53-53

Additional Context (Please include any Screenshots/gifs if relevant)

Namyalg commented 2 years ago

LGTM