Add airflow version for info endpoint, enable stable API for gcp (GONRG-3777)
- Nov 25, 2021
-
-
Rustam Lotsmanenko (EPAM) authored
Signed-off-by: Rustam_Lotsmanenko <Rustam_Lotsmanenko@epam.com>
-
Issue: #132 (closed)
Add a version of Airflow into an endpoint 'info' for Workflow Service.
A version of Airflow will be requested only when enabled stable API osdu.airflow.version2=true
.
Enable stable API for gcp.
Functionality can be testes with a request:
curl --location --request GET 'https://com.osdu.club/api/workflow/info' \
Response example:
{
"groupId": "org.opengroup.osdu",
"artifactId": "workflow-gcp",
"version": "0.13.0-SNAPSHOT",
"buildTime": "2021-11-25T12:29:41.581Z",
"branch": "add-airflow-version-for-info-endpoint",
"commitId": "5e0816ea1088e6205fae839db389ebf403dc7885",
"commitMessage": "Add airflow version for info endpoint, enable stable API for gcp",
"connectedOuterServices": [
{
"name": "Airflow",
"version": "2.1.2+composer"
}
]
}
Signed-off-by: Rustam_Lotsmanenko <Rustam_Lotsmanenko@epam.com>