Skip to content

Move common utils to Coriolis core#449

Open
petrutlucian94 wants to merge 2 commits into
cloudbase:masterfrom
petrutlucian94:deduplicate
Open

Move common utils to Coriolis core#449
petrutlucian94 wants to merge 2 commits into
cloudbase:masterfrom
petrutlucian94:deduplicate

Conversation

@petrutlucian94
Copy link
Copy Markdown
Member

There are a few utility functions that are shared by most providers:

  • initializing the backup writers and corresponding constants
  • polling for an instance to become reachable using SSH or WinRM

That being considered, we'll move them to Coriolis core, aiming to reduce provider code duplication.

The Coriolis providers currently duplicate the code that initializes
the backup writers and returns the backup writer connection info.

We'll move that along with the corresponding constants to Coriolis
core.

Coriolis providers are free to define custom backup providers if
necessary.
Most providers use a copy of those helpers, which poll until
the instance can be accessed using SSH or WINRM.

For this reason, we'll move them to the Coriolis core utils.
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.

1 participant