Skip to content

Commit

Permalink
Prepare for release 2.2.0 (#1848)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandur committed Oct 14, 2022
1 parent db518ee commit f774184
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ public sealed class ApiVersion

public static ApiVersion Version_2022_03_04 { get; }

/// <summary>
/// Gets2022_09_01 version
/// Enable outside of Edge support
/// Not backward compatible.
/// </summary>
public static ApiVersion Version_2022_09_01 { get; }

/// <summary>
/// Gets the version that is assumed in case none is specified.
/// </summary>
Expand All @@ -136,6 +143,7 @@ public static IEnumerable<ApiVersion> ApiVersions
yield return Version_2020_08_11;
yield return Version_2020_10_09;
yield return Version_2022_03_04;
yield return Version_2022_09_01;
}
}

Expand Down Expand Up @@ -205,6 +213,9 @@ static ApiVersion()

Version_2022_03_04 = new ApiVersion("2022-03-04");
Version_2022_03_04.MinCompatibleVersion = Version_2022_03_04;

Version_2022_09_01 = new ApiVersion("2022-09-01");
Version_2022_09_01.MinCompatibleVersion = Version_2022_09_01;
}

/// <summary>
Expand Down
6 changes: 3 additions & 3 deletions Template/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@
"firmwareUpgradesContainerName": "fwupgrades",
"functionAppName": "[concat(parameters('uniqueSolutionPrefix'), 'function')]",
"gitUsername": "Azure",
"functionZipBinary": "https://github.com/Azure/iotedge-lorawan-starterkit/releases/download/v2.1.0/function-2.1.0.zip",
"discoveryServiceZipBinary": "https://github.com/Azure/iotedge-lorawan-starterkit/releases/download/v2.1.0/discoveryservice-2.1.0.zip",
"gitBranch": "v2.1.0",
"functionZipBinary": "https://github.com/Azure/iotedge-lorawan-starterkit/releases/download/v2.2.0/function-2.2.0.zip",
"discoveryServiceZipBinary": "https://github.com/Azure/iotedge-lorawan-starterkit/releases/download/v2.2.0/discoveryservice-2.2.0.zip",
"gitBranch": "v2.2.0",
"storageAccountId": "[concat(resourceGroup().id, '/providers/', 'Microsoft.Storage/storageAccounts/', variables('storageAccountName'))]",
"iotHubOwnerPolicyName": "iothubowner",
"appInsightName": "[concat(parameters('uniqueSolutionPrefix'), 'insight')]",
Expand Down
8 changes: 4 additions & 4 deletions Template/deviceConfiguration.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"edgeAgent": {
"type": "docker",
"settings": {
"image": "mcr.microsoft.com/azureiotedge-agent:1.2.2",
"image": "mcr.microsoft.com/azureiotedge-agent:1.2.6",
"createOptions": "{}"
}
},
"edgeHub": {
"type": "docker",
"settings": {
"image": "mcr.microsoft.com/azureiotedge-hub:1.2.2",
"image": "mcr.microsoft.com/azureiotedge-hub:1.2.6",
"createOptions": "{ \"HostConfig\": { \"PortBindings\": {\"8883/tcp\": [ {\"HostPort\": \"8883\" } ], \"443/tcp\": [ { \"HostPort\": \"443\" } ], \"5671/tcp\": [ { \"HostPort\": \"5671\" }] } }}"
},
"env": {
Expand All @@ -46,7 +46,7 @@
"LoRaWanNetworkSrvModule": {
"type": "docker",
"settings": {
"image": "loraedge/lorawannetworksrvmodule:2.1.0",
"image": "loraedge/lorawannetworksrvmodule:2.2.0",
"createOptions": "{\"ExposedPorts\": { \"5000/tcp\": {}}, \"HostConfig\": { \"PortBindings\": {\"5000/tcp\": [ { \"HostPort\": \"5000\", \"HostIp\":\"172.17.0.1\" } ]}}}"
},
"version": "1.0",
Expand All @@ -64,7 +64,7 @@
"LoRaBasicsStationModule": {
"type": "docker",
"settings": {
"image": "loraedge/lorabasicsstationmodule:2.1.0",
"image": "loraedge/lorabasicsstationmodule:2.2.0",
"createOptions": " {\"HostConfig\": {\"NetworkMode\": \"host\", \"Privileged\": true }, \"NetworkingConfig\": {\"EndpointsConfig\": {\"host\": {} }}}"
},
"env": {
Expand Down

0 comments on commit f774184

Please sign in to comment.