artificially limit edgeHub/properties.desired/schemaVeraion to 1.1 max

This commit is contained in:
Haitham Shami 2021-09-30 14:38:12 -07:00
Родитель 10e6072263
Коммит a19882d581
6 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -1,4 +1,8 @@
# Change Log
## 1.24.4 - 2021-10-01
### Changed
* Maximum version number for edgeHub/properties.desired.schemaVersion is artificially forced to be 1.1
## 1.24.3 - 2021-7-27
### Changed
* Allow user to select Edge Runtime version between 1.2

Просмотреть файл

@ -55,7 +55,7 @@
},
"$edgeHub": {
"properties.desired": {
"schemaVersion": "1.2",
"schemaVersion": "1.1",
"routes": {},
"storeAndForwardConfiguration": {
"timeToLiveSecs": 7200

2
package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{
"name": "azure-iot-edge",
"version": "1.24.2",
"version": "1.24.4-rc",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

Просмотреть файл

@ -2,7 +2,7 @@
"name": "azure-iot-edge",
"displayName": "Azure IoT Edge",
"description": "This extension is now a part of Azure IoT Tools extension pack. We highly recommend installing Azure IoT Tools to get full capabilities for Azure IoT development. Develop, deploy, debug, and manage your IoT Edge solution.",
"version": "1.24.3",
"version": "1.24.4-rc",
"publisher": "vsciot-vscode",
"aiKey": "95b20d64-f54f-4de3-8ad5-165a75a6c6fe",
"icon": "logo.png",

Просмотреть файл

@ -22,7 +22,7 @@ export class Versions {
const edgeHubSchemaVerMap: Map<string, string> = new Map([
["1.0", "1.0"],
["1.1", "1.1"],
["1.2", "1.2"],
["1.2", "1.1"],
]);
const verMap: Map<string, string> = new Map();

Просмотреть файл

@ -147,7 +147,7 @@
},
"$edgeHub": {
"properties.desired": {
"schemaVersion": "1.2",
"schemaVersion": "1.1",
"routes": {
"sensorToFilter": "FROM /messages/modules/SimulatedTemperatureSensor/outputs/temperatureOutput INTO BrokeredEndpoint(\"/modules/%MODULE%/inputs/input1\")",
"filterToIoTHub": "FROM /messages/modules/samplemodule/outputs/output1 INTO $upstream"