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 connection support #506

Merged
merged 16 commits into from
Oct 15, 2024
Merged

Add connection support #506

merged 16 commits into from
Oct 15, 2024

Conversation

kaidaguerre
Copy link
Contributor

No description provided.

kaidaguerre and others added 16 commits October 10, 2024 11:32
Add support for connection flag to all relevant commands
Validate only one of 'connection' and 'database' are provided
remove default for database arg
version
…ata and set the default connection

GetDefaultDatabaseConfig now returns error
Update GetDatabaseConfigForResource to handle cloud workspaces
Update GetDefaultDatabaseConfig to  handle cloud workspaces
add GetCloudWorkspaceConnectionString gets and caches cloud workspace conneciton strings
 Update PowerpipeConfig to cache cloud connection strings
@kaidaguerre
Copy link
Contributor Author

Add support for connections
Add PowerpipeConfig - load connection config
If the configured workspace is a cloud workspace, create cloud metadata and set the default connection
Add database property to Mod
database property (whereever it is set) supports connection string, cloud workspace, or connection reference
Update GetDatabaseConfigForResource to handle cloud workspaces
Update GetDefaultDatabaseConfig to handle cloud workspaces
Update PowerpipeConfig to cache cloud connection strings

@kaidaguerre kaidaguerre merged commit 541b69e into develop Oct 15, 2024
16 checks passed
@kaidaguerre kaidaguerre deleted the connection branch October 15, 2024 14:01
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