Skip to content

Make connection id validation consistent across interface#31282

Merged
potiuk merged 4 commits into
apache:mainfrom
astronomer:validate_conn_id
May 18, 2023
Merged

Make connection id validation consistent across interface#31282
potiuk merged 4 commits into
apache:mainfrom
astronomer:validate_conn_id

Conversation

@pankajastro

Copy link
Copy Markdown
Member

recently, we added the connection id validation
if the user creates a connection from UI but
this improvement is missing in CLI and API.
This PR make sure that connection id validation is consistent
across interfaces like CLI, API, and UI.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

recently, we added the connection id validation
if the user creates a connection from UI but
this improvement is missing in CLI and API.
This PR make sure that connection id validation is consistent
across interfaces like CLI, API, and UI.
@boring-cyborg boring-cyborg Bot added area:API Airflow's REST/HTTP API area:CLI labels May 15, 2023
Comment thread airflow/cli/commands/connection_command.py Outdated
@pankajastro pankajastro marked this pull request as ready for review May 15, 2023 16:47
@pankajastro pankajastro requested a review from ephraimbuddy as a code owner May 15, 2023 16:47
@eladkal eladkal added this to the Airflow 2.6.2 milestone May 17, 2023
@eladkal eladkal added the type:improvement Changelog: Improvements label May 17, 2023
@pankajastro pankajastro requested a review from uranusjr May 17, 2023 20:35
@potiuk potiuk merged commit 7bf5339 into apache:main May 18, 2023
@pankajastro pankajastro deleted the validate_conn_id branch June 5, 2023 07:29
eladkal pushed a commit that referenced this pull request Jun 8, 2023
* Make connection id validation consistent across interface

recently, we added the connection id validation
if the user creates a connection from UI but
this improvement is missing in CLI and API.
This PR make sure that connection id validation is consistent
across interfaces like CLI, API, and UI.

(cherry picked from commit 7bf5339)
@eladkal eladkal added type:misc/internal Changelog: Misc changes that should appear in change log and removed type:improvement Changelog: Improvements labels Jun 8, 2023
eladkal pushed a commit that referenced this pull request Jun 9, 2023
* Make connection id validation consistent across interface

recently, we added the connection id validation
if the user creates a connection from UI but
this improvement is missing in CLI and API.
This PR make sure that connection id validation is consistent
across interfaces like CLI, API, and UI.

(cherry picked from commit 7bf5339)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:CLI type:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants