Skip to content

Update DataMigration PS to 2018-07-15-preview for Sync Migrations #7287

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

Merged
merged 15 commits into from
Sep 28, 2018

Conversation

huang91shu
Copy link
Contributor

@huang91shu huang91shu commented Sep 18, 2018

Link to design review:

https://github.com/Azure/azure-powershell-cmdlet-review-pr/issues/155

Description

This new migration type allows an ongoing migration to continuously sync changes between the source and target until the customer completes the migration. This new scenario currently supports two source-target pairs. 1) Sql -> SqlDb, 2) MySql -> MySqlAzure

Checklist

@@ -47,9 +47,12 @@
<PropertyGroup>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Powershell|AnyCPU'">
<OutputPath>bin\Powershell\</OutputPath>
</PropertyGroup>
Copy link
Contributor

Choose a reason for hiding this comment

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

What is this for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed. Unintentional by visualstudio.

@@ -19,6 +19,11 @@
-->
## Current Release

## Version 0.1.7
Copy link
Contributor

Choose a reason for hiding this comment

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

Just put the new changelog notes under Current Release. I'll generate a new header/version when I make the preview module.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@@ -55,7 +55,7 @@ The above example retrieves the Azure Database Migration project based on PSPro
The credentials, account, tenant, and subscription used for communication with azure.

```yaml
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
Type: IAzureContextContainer
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor Author

@huang91shu huang91shu Sep 19, 2018

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The build below is failing because I did not provide an online version of the help documentation.

Copy link
Contributor

@MiYanni MiYanni Sep 20, 2018

Choose a reason for hiding this comment

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

@huang91shu ValidateHelpIssues.csv from the build tells you which files need which URLs. Just paste the corresponding URLs into the online version header at the top of those files.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So the files which need new URLs are the modified cmdlets which require updated online documentation.

New-AzureRmDataMigrationSelectedDBObject.md
New-AzureRmDataMigrationSyncSelectedDBObject.md

This documentation should not currently exist. The new Invoke-Command[...] also does not have online documentation yet.

Copy link
Contributor

Choose a reason for hiding this comment

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

The URLs are the URLs where the online documentation will be published. You just copy/paste the URLs into the files. The help files become the online documentation. Please, just paste the URLs it provides in the .csv into the top of the files in the online version tag.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Gotcha. I misunderstood where to find the URLs. Done.

…edDb cmdlets, sourceDatabase parameter alias
@MiYanni
Copy link
Contributor

MiYanni commented Sep 20, 2018

@huang91shu Please update the help docs so we can see if the build passes. I'd like to possibly get the preview module out to the test gallery today.

@MiYanni
Copy link
Contributor

MiYanni commented Sep 20, 2018

@huang91shu All of your tests failed. Can you take a look? You might need to re-record them.

@MiYanni
Copy link
Contributor

MiYanni commented Sep 21, 2018

Note

This PR is not for Ignite.

@MiYanni
Copy link
Contributor

MiYanni commented Sep 24, 2018

@azuresdkci Retest this please

@MiYanni
Copy link
Contributor

MiYanni commented Sep 25, 2018

@huang91shu Looks like 1 test is still failing, TestMigrateSqlSqlDbMi.

@MiYanni
Copy link
Contributor

MiYanni commented Sep 26, 2018

@huang91shu Do you want these changes to go into our next release? If so, I'd just change the target branch back to preview.

@huang91shu
Copy link
Contributor Author

Will switch to preview branch once the build passes. Thanks.

@huang91shu huang91shu changed the base branch from AzureRM.DataMigration-preview to preview September 27, 2018 22:00
@huang91shu
Copy link
Contributor Author

@MiYanni

I have a passing build and have switched the branch to preview. Let me know if there is anything pending on our side.

@MiYanni
Copy link
Contributor

MiYanni commented Sep 27, 2018

@huang91shu I'll check over this tomorrow. If it looks good, I'll merge it.

…his will be part of a normal release. Added cmdlets/aliases to Az psd1.
@MiYanni MiYanni merged commit 2924738 into Azure:preview Sep 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants