Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Makes pipeline name required when creating connectors #189

Merged
merged 2 commits into from
Sep 7, 2021

Conversation

raulb
Copy link
Member

@raulb raulb commented Sep 1, 2021

Description of change

Fixes https://github.com/meroxa/product/issues/128

Type of change

  • New feature
  • Bug fix
  • Refactor
  • Documentation

How was this tested?

  • Unit Tests
  • Tested in staging

Demo

Before this pull-request

$ meroxa connector create from-my-postgres --from postgres --input $INPUT
(Creating connector in default pipeline...)

After this pull-request

$ meroxa connector create from-my-postgres --from postgres --input $INPUT
Error: required flag(s) "pipeline" not set

$ meroxa connector create from-my-postgres --from postgres --input $INPUT --pipeline my-pipeline
(Creating connector in my-pipeline...)

Documentation updated

https://github.com/meroxa/meroxa-docs/pull/37

@raulb raulb requested a review from anaptfox September 1, 2021 11:59
@raulb raulb self-assigned this Sep 1, 2021
@raulb raulb changed the title feat: Makes pipeline ID or name required when creating connectors feat: Makes pipeline name required when creating connectors Sep 1, 2021
Fixes meroxa/product#128

It also makes ID to be a valid input when creating pipelines
I believe this should be changed everywhere so users know accurately when it can be an ID or not.
@raulb raulb force-pushed the raul/pipeline-required branch from e10246b to b434b2b Compare September 6, 2021 14:29
@raulb raulb marked this pull request as ready for review September 6, 2021 14:30
@raulb raulb requested review from dianadoherty and lovromazgon and removed request for anaptfox September 6, 2021 14:30
@raulb raulb merged commit a84d31e into master Sep 7, 2021
@raulb raulb deleted the raul/pipeline-required branch September 7, 2021 13:42
@raulb
Copy link
Member Author

raulb commented Sep 7, 2021

I just realized this needed more work for the connect command + some wording I suggested in https://github.com/meroxa/meroxa-docs/pull/37. Will open a new pull-request for this.

raulb added a commit that referenced this pull request Sep 8, 2021
Something I forgot to push in #189 :hide:
@raulb raulb mentioned this pull request Sep 8, 2021
6 tasks
raulb added a commit that referenced this pull request Sep 9, 2021
* feat: Make pipeline required creating connectors

Fixes meroxa/product#128

It also makes ID to be a valid input when creating pipelines

* fix: Accept pipeline names only for now

I believe this should be changed everywhere so users know accurately when it can be an ID or not.

* feat: Update message

Something I forgot to push in #189 :hide:

* feat: requires pipeline in connect

Also updates wording
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants