Skip to content

Commit

Permalink
User/lukec/storeUrls (#185)
Browse files Browse the repository at this point in the history
Updated all of the printed storebroker URLs to use the new Partner Center url format:
dev.windows -> developer.microsoft -> partner.microsoft
iaps - > products

The existing link formats became broken after a change on the partner center end.
  • Loading branch information
cartwrightluke authored Apr 10, 2020
1 parent 9f884ff commit 0fbb6b9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion StoreBroker/StoreBroker.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
CompanyName = 'Microsoft Corporation'
Copyright = 'Copyright (C) Microsoft Corporation. All rights reserved.'

ModuleVersion = '1.19.2'
ModuleVersion = '1.19.3'
Description = 'Provides command-line access to the Windows Store Submission REST API.'

RootModule = 'StoreIngestionApi'
Expand Down
10 changes: 5 additions & 5 deletions StoreBroker/StoreIngestionApi.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1353,14 +1353,14 @@ function Start-SubmissionMonitor
if ($isIapSubmission)
{
$body += "Dev Portal URL"
$body += " https://dev.windows.com/en-us/dashboard/iaps/$IapId/submissions/$SubmissionId/"
$body += " https://partner.microsoft.com/en-us/dashboard/products/$IapId/submissions/$SubmissionId/"
$body += "StoreBroker command"
$body += " Get-InAppProductSubmission -IapId $IapId -SubmissionId $SubmissionId"
}
else
{
$body += "Dev Portal URL"
$body += " https://dev.windows.com/en-us/dashboard/apps/$AppId/submissions/$SubmissionId/"
$body += " https://partner.microsoft.com/en-us/dashboard/apps/$AppId/submissions/$SubmissionId/"
$body += "StoreBroker command"
if ($isFlightingSubmission)
{
Expand Down Expand Up @@ -1510,9 +1510,9 @@ function Open-DevPortal

Write-Log -Message "Opening Dev Portal in default web browser."

$appUrl = "https://developer.microsoft.com/en-us/dashboard/apps/$AppId"
$submissionUrl = "https://developer.microsoft.com/en-us/dashboard/apps/$AppId/submissions/$SubmissionId/"
$flightUrl = "https://developer.microsoft.com/en-us/dashboard/Application/GetFlight?appId=$AppId&submissionId=$SubmissionId"
$appUrl = "https://partner.microsoft.com/en-us/dashboard/apps/$AppId"
$submissionUrl = "https://partner.microsoft.com/en-us/dashboard/apps/$AppId/submissions/$SubmissionId/"
$flightUrl = "https://partner.microsoft.com/en-us/dashboard/Application/GetFlight?appId=$AppId&submissionId=$SubmissionId"

if ($ShowFlight)
{
Expand Down
4 changes: 2 additions & 2 deletions StoreBroker/StoreIngestionApplicationApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ function Update-ApplicationSubmission
Write-Log -Message @(
"Successfully cloned the existing submission and modified its content.",
"You can view it on the Dev Portal here:",
" https://dev.windows.com/en-us/dashboard/apps/$AppId/submissions/$submissionId/",
" https://partner.microsoft.com/en-us/dashboard/apps/$AppId/submissions/$submissionId/",
"or by running this command:",
" Get-ApplicationSubmission -AppId $AppId -SubmissionId $submissionId | Format-ApplicationSubmission",
"",
Expand Down Expand Up @@ -1971,7 +1971,7 @@ function Complete-ApplicationSubmission
"This is just the beginning though.",
"It still has multiple phases of validation to get through, and there's no telling how long that might take.",
"You can view the progress of the submission validation on the Dev Portal here:",
" https://dev.windows.com/en-us/dashboard/apps/$AppId/submissions/$submissionId/",
" https://partner.microsoft.com/en-us/dashboard/apps/$AppId/submissions/$submissionId/",
"or by running this command:",
" Get-ApplicationSubmission -AppId $AppId -SubmissionId $submissionId | Format-ApplicationSubmission",
"You can automatically monitor this submission with this command:",
Expand Down
8 changes: 4 additions & 4 deletions StoreBroker/StoreIngestionFlightingApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ function Format-ApplicationFlight
{
# We are including a URL to view the Group because there currently exists no way to
# get Flight Group information via the API
$output += "$(" " * $indentLength)$groupId | https://developer.microsoft.com/en-us/dashboard/groups/editgroup/$groupId"
$output += "$(" " * $indentLength)$groupId | https://partner.microsoft.com/en-us/dashboard/groups/editgroup/$groupId"
}

$output += "Last Published Submission : $(if ($null -eq $ApplicationFlightData.lastPublishedFlightSubmission.id) { "---" } else { $ApplicationFlightData.lastPublishedFlightSubmission.id } )"
Expand Down Expand Up @@ -359,7 +359,7 @@ function Get-FlightGroups
Write-Log -Message "`n$($global:SBInternalGroupIds | Format-Table Name, @{ label="FlightGroupId"; Expression={ $_.Value }; }| Out-String)"
}

Start-Process -FilePath "https://developer.microsoft.com/en-us/dashboard/groups"
Start-Process -FilePath "https://partner.microsoft.com/en-us/dashboard/groups"
}

function New-ApplicationFlight
Expand Down Expand Up @@ -1395,7 +1395,7 @@ function Update-ApplicationFlightSubmission
Write-Log -Message @(
"Successfully cloned the existing submission and modified its content.",
"You can view it on the Dev Portal here:",
" https://dev.windows.com/en-us/dashboard/apps/$AppId/submissions/$submissionId/",
" https://partner.microsoft.com/en-us/dashboard/apps/$AppId/submissions/$submissionId/",
"or by running this command:",
" Get-ApplicationFlightSubmission -AppId $AppId -FlightId $FlightId -SubmissionId $submissionId | Format-ApplicationFlightSubmission",
"",
Expand Down Expand Up @@ -1895,7 +1895,7 @@ function Complete-ApplicationFlightSubmission
"This is just the beginning though.",
"It still has multiple phases of validation to get through, and there's no telling how long that might take.",
"You can view the progress of the submission validation on the Dev Portal here:",
" https://dev.windows.com/en-us/dashboard/apps/$AppId/submissions/$submissionId/",
" https://partner.microsoft.com/en-us/dashboard/apps/$AppId/submissions/$submissionId/",
"or by running this command:",
" Get-ApplicationFlightSubmission -AppId $AppId -Flight $FlightId -SubmissionId $submissionId | Format-ApplicationFlightSubmission",
"You can automatically monitor this submission with this command:",
Expand Down
4 changes: 2 additions & 2 deletions StoreBroker/StoreIngestionIapApi.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,7 @@ function Update-InAppProductSubmission
Write-Log -Message @(
"Successfully cloned the existing submission and modified its content.",
"You can view it on the Dev Portal here:",
" https://dev.windows.com/en-us/dashboard/iaps/$IapId/submissions/$submissionId/",
" https://partner.microsoft.com/en-us/dashboard/products/$IapId/submissions/$submissionId/",
"or by running this command:",
" Get-InAppProductSubmission -IapId $IapId -SubmissionId $submissionId | Format-InAppProductSubmission",
"",
Expand Down Expand Up @@ -1877,7 +1877,7 @@ function Complete-InAppProductSubmission
"This is just the beginning though.",
"It still has multiple phases of validation to get through, and there's no telling how long that might take.",
"You can view the progress of the submission validation on the Dev Portal here:",
" https://dev.windows.com/en-us/dashboard/iaps/$IapId/submissions/$submissionId/",
" https://partner.microsoft.com/en-us/dashboard/products/$IapId/submissions/$submissionId/",
"or by running this command:",
" Get-InAppProductSubmission -IapId $IapId -SubmissionId $submissionId | Format-InAppProductSubmission",
"You can automatically monitor this submission with this command:",
Expand Down

0 comments on commit 0fbb6b9

Please sign in to comment.