Skip to content

Commit f4a98b0

Browse files
authored
Update Sql schema migration and version package to new url (#27203)
* Update New-AzDataMigrationSqlServerSchema.ps1 * Update URL for console app version check * Update ChangeLog.md
1 parent b5d8e46 commit f4a98b0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/DataMigration/DataMigration.Autorest/custom/Cmdlets/New-AzDataMigrationSqlServerSchema.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function New-AzDataMigrationSqlServerSchema
8888
$TestExePath = Test-Path -Path $ExePath;
8989

9090
#Console app download address
91-
$ZipSource = "https://migrationapps.blob.core.windows.net/schemamigration/SqlSchemaMigration.zip";
91+
$ZipSource = "https://aka.ms/sqlschemamigrationpackage";
9292
$ZipDestination = Join-Path -Path $BaseFolder -ChildPath "SqlSchemaMigration.zip";
9393

9494
if(-Not $TestExePath)
@@ -108,7 +108,7 @@ function New-AzDataMigrationSqlServerSchema
108108

109109
# Get latest console app version
110110
Write-Host "Checking whether there is newer version...";
111-
$VersionFileSource = "https://migrationapps.blob.core.windows.net/schemamigration/consoleappversion.json";
111+
$VersionFileSource = "aka.ms/sqlschemamigrationversion";
112112
$VersionFileDestination = Join-Path -Path $BaseFolder -ChildPath "consoleappversion.json";
113113
Invoke-RestMethod -Uri $VersionFileSource -OutFile $VersionFileDestination;
114114
$jsonObj = Get-Content $VersionFileDestination | Out-String | ConvertFrom-Json;
@@ -186,4 +186,4 @@ function New-AzDataMigrationSqlServerSchema
186186
throw $_
187187
}
188188
}
189-
}
189+
}

src/DataMigration/DataMigration/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Updated Sql schema migration and version package to new url.
2122

2223
## Version 0.14.9
2324
* Upgraded nuget package to signed package.

0 commit comments

Comments
 (0)