faros-ai / airbyte-local-cli

CLI for running Airbyte sources & destinations locally without Airbyte server
Apache License 2.0
31 stars 3 forks source link

Discard check command output lines not containing the status #56

Closed ypc-faros closed 1 year ago

ypc-faros commented 2 years ago

Description

Found that the check connection command sometimes outputs more than just the status. E.g., for airbyte/source-gitlab I got

{"type": "LOG", "log": {"level": "INFO", "message": "Check succeeded"}}
{"type": "CONNECTION_STATUS", "connectionStatus": {"status": "SUCCEEDED"}}

Skips the lines which do not contain the CONNECTION_STATUS so that we check for status eq SUCCEEDED in the right json object.

Type of change

Related issues

Fix [#1]()

Migration notes

Describe migration notes if any

Extra info

Add any additional information