Skip to content

Add a version of Airflow into an endpoint 'info' for Workflow Service(GONRG-3777)

Description:

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.

How to test:

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"
        }
    ]
}

Changes include:

  • Refactor (a non-breaking change that improves code maintainability).
  • Bugfix (a non-breaking change that solves an issue).
  • New feature (a non-breaking change that adds functionality).
  • Breaking change (a change that is not backward-compatible and/or changes current functionality).

Changes in:

  • GCP
  • Azure
  • AWS
  • IBM
  • Common code

Dev Checklist:

  • Added Unit Tests, wherever applicable.
  • Updated the Readme, if applicable.
  • Existing Tests pass
  • Verified functionality locally
  • Self Reviewed my code for formatting and complex business logic.

Merge request reports

Loading