Skip to content

Commit

Permalink
Update to latest NuGets and remove UA Cloud Twin from deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnstee committed Dec 11, 2024
1 parent e625fc3 commit f58fc94
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 54 deletions.
53 changes: 0 additions & 53 deletions Deployment/arm.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,59 +81,6 @@
"zoneRedundant": false
}
},
{
"type": "Microsoft.Web/sites",
"apiVersion": "2021-02-01",
"name": "[concat(parameters('resourcesName'), '-UA-Cloud-Twin')]",
"location": "[resourceGroup().location]",
"properties": {
"httpsOnly": true,
"serverFarmId": "[resourceId('Microsoft.Web/serverfarms', concat(parameters('resourcesName'), '-AppService'))]",
"siteConfig": {
"numberOfWorkers": 1,
"linuxFxVersion": "DOCKER|ghcr.io/digitaltwinconsortium/ua-cloudtwin:main",
"minTlsVersion": "1.2",
"ftpsState": "FtpsOnly",
"acrUseManagedIdentityCreds": false,
"alwaysOn": true,
"http20Enabled": false,
"functionAppScaleLimit": 0,
"minimumElasticInstanceCount": 0
}
},
"identity": {
"type": "UserAssigned",
"userAssignedIdentities": {
"[resourceId('Microsoft.ManagedIdentity/userAssignedIdentities', concat(parameters('resourcesName'), '-Identity'))]": {}
}
},
"dependsOn": [
"[resourceId('Microsoft.Web/serverfarms', concat(parameters('resourcesName'), '-AppService'))]",
"[resourceId('Microsoft.EventHub/namespaces', concat(parameters('resourcesName'), '-EventHubs'))]",
"[resourceId('Microsoft.Kusto/clusters/databases', variables('adxClusterName'), 'ontologies')]"
],
"resources": [
{
"apiVersion": "2015-08-01",
"location": "[resourceGroup().location]",
"name": "appsettings",
"properties": {
"ADMIN_PASSWORD": "[parameters('adminPassword')]",
"ADMIN_USERNAME": "[parameters('adminUsername')]",
"AZURE_CLIENT_ID": "[reference(concat(parameters('resourcesName'), '-Identity')).clientId]",
"AZURE_TENANT_ID": "[subscription().tenantId]",
"USE_ADX": "1",
"ADX_INSTANCE_URL": "[reference(resourceId('Microsoft.Kusto/clusters', variables('adxClusterName')), '2022-02-01').uri]",
"ADX_DB_NAME": "ontologies",
"ADX_TABLE_NAME": "DTDL_models"
},
"type": "config",
"dependsOn": [
"[concat('Microsoft.Web/sites/', concat(parameters('resourcesName'), '-UA-Cloud-Twin'))]"
]
}
]
},
{
"type": "Microsoft.Web/sites",
"apiVersion": "2021-02-01",
Expand Down
2 changes: 1 addition & 1 deletion Tools/FactorySimulation/Station/Station.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

<ItemGroup>
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua" Version="1.5.374.126" />
<PackageReference Include="OPCFoundation.NetStandard.Opc.Ua" Version="1.5.374.158" />
</ItemGroup>

</Project>

0 comments on commit f58fc94

Please sign in to comment.