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

Add commands for named connections #51

Merged
merged 8 commits into from
Apr 16, 2024
Merged

Conversation

garnold54
Copy link
Collaborator

This adds support for the /connections endpoint in the REST v4 API

@garnold54 garnold54 requested a review from jkerssens April 8, 2024 20:53
docs/fmeflow.md Outdated Show resolved Hide resolved
# Create a connection with the name "myConnection" and the category "PostgreSQL" and the type "database" with username "myUser" and password "myPassword"
fmeflow connections create --name myConnection --category database --type PostgreSQL --username myUser --password myPassword
# Create a PostgreSQL connection
fmeflow connections create --name myPGSQLConnection --category database --type PostgreSQL --parameter HOST=myDBHost --parameter PORT=5432 --parameter DATASET=dbname --parameter USER_NAME=dbuser --parameter SSL_OPTIONS="" --parameter SSLMODE=prefer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is setting SSL_OPTIONS to an empty string required here? That is, will the endpoint complain if we don't mention it at all?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it is required, even if it is an empty string 😄

Co-authored-by: jkerssens <[email protected]>
@garnold54 garnold54 merged commit d000d8e into main Apr 16, 2024
1 check passed
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