Skip to content

Commit

Permalink
Fix #1212 - Modify deployment template (#1214)
Browse files Browse the repository at this point in the history
  • Loading branch information
kbeaugrand authored Sep 11, 2022
1 parent 2b291ff commit 4c3d8d3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/AzureIoTHub.Portal.sln
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "templates", "templates", "{3F7A2982-4F0B-45F9-9FCA-923D5A7A1511}"
ProjectSection(SolutionItems) = preProject
..\templates\azuredeploy.json = ..\templates\azuredeploy.json
..\templates\portalDeploy.json = ..\templates\portalDeploy.json
..\templates\azuredeployUI.json = ..\templates\azuredeployUI.json
..\templates\portalDeployWithLoRa.json = ..\templates\portalDeployWithLoRa.json
..\templates\portalDeployWithoutLoRa.json = ..\templates\portalDeployWithoutLoRa.json
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ISSUE_TEMPLATES", "ISSUE_TEMPLATES", "{4B89F192-EA33-4121-9809-D99621C40F3B}"
Expand Down
2 changes: 1 addition & 1 deletion templates/portalDeployWithLoRa.json
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
{
"name": "PostgreSQL__ConnectionString",
"type": "Custom",
"connectionString": "[concat('User ID=', parameters('pgsqlAdminLogin'), ';Password=', parameters('pgsqlAdminPassword'), ';Host=', concat(variables('pgsqlServerName'), '.postgres.database.azure.com') ,';Port=5432;Database=', variables('siteName') ,';Pooling=true;Min Pool Size=0;Max Pool Size=100;Connection Lifetime=0;"
"connectionString": "[concat('Server=', variables('pgsqlServerName') ,'.postgres.database.azure.com;Database=', variables('siteName') ,';Port=5432;User Id=', parameters('pgsqlAdminLogin') ,'@', variables('pgsqlServerName') ,';Password=', parameters('pgsqlAdminPassword'), ';Pooling=true;Connection Lifetime=0;Command Timeout=0;Ssl Mode=VerifyFull;')"
}
],
"appSettings": [
Expand Down
2 changes: 1 addition & 1 deletion templates/portalDeployWithoutLoRa.json
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
{
"name": "PostgreSQL__ConnectionString",
"type": "Custom",
"connectionString": "[concat('User ID=', parameters('pgsqlAdminLogin'), ';Password=', parameters('pgsqlAdminPassword'), ';Host=', concat(variables('pgsqlServerName'), '.postgres.database.azure.com') ,';Port=5432;Database=', variables('siteName') ,';Pooling=true;Min Pool Size=0;Max Pool Size=100;Connection Lifetime=0;"
"connectionString": "[concat('Server=', variables('pgsqlServerName') ,'.postgres.database.azure.com;Database=', variables('siteName') ,';Port=5432;User Id=', parameters('pgsqlAdminLogin') ,'@', variables('pgsqlServerName') ,';Password=', parameters('pgsqlAdminPassword'), ';Pooling=true;Connection Lifetime=0;Command Timeout=0;Ssl Mode=VerifyFull;')"
}
],
"appSettings": [
Expand Down

0 comments on commit 4c3d8d3

Please sign in to comment.