Skip to content

Commit

Permalink
Merge pull request #11667 from Azure/gcp-aws-code-update-for-ccp
Browse files Browse the repository at this point in the history
Packaging tool changes for GCP kind of CCP connectors
  • Loading branch information
v-dvedak authored Jan 28, 2025
2 parents 4ace156 + be24dbf commit 30c8bcb
Show file tree
Hide file tree
Showing 5 changed files with 490 additions and 221 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -320,5 +320,5 @@ try {
}
}
catch {
Write-Host "Error occured in catch of createSolutionV3 file Error details are $_"
Write-Host "Error occurred in catch of createSolutionV3 file Error details are $_"
}
Original file line number Diff line number Diff line change
Expand Up @@ -3112,6 +3112,9 @@ function PrepareSolutionMetadata($solutionMetadataRawContent, $contentResourceDe
if ($null -ne $global:baseCreateUiDefinition.parameters.steps -and
$($global:baseCreateUiDefinition.parameters.steps).GetType() -ne [System.Object[]]) {
$global:baseCreateUiDefinition.parameters.steps = @($global:baseCreateUiDefinition.parameters.steps)
} elseif ($null -eq $global:baseCreateUiDefinition.parameters.steps) {
# when there is no content then create ui fails as step is null
$global:baseCreateUiDefinition.parameters.steps = @(@{}) # [{}]
}
$global:baseCreateUiDefinition | ConvertTo-Json -Depth $jsonConversionDepth | Out-File $createUiDefinitionOutputPath -Encoding utf8
}
Expand Down
Loading

0 comments on commit 30c8bcb

Please sign in to comment.