From 55e41f604677371525f4a17d539036285e8bd2b2 Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Mon, 28 Aug 2023 14:12:16 +0200 Subject: [PATCH 1/2] test(e2e): add dely for historical data --- features/DeviceToWebsocket.feature.md | 2 ++ features/HistoricalRequest.feature.md | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/features/DeviceToWebsocket.feature.md b/features/DeviceToWebsocket.feature.md index 05e60a76b..12e08ead5 100644 --- a/features/DeviceToWebsocket.feature.md +++ b/features/DeviceToWebsocket.feature.md @@ -8,6 +8,8 @@ needs: > Device messages published on nRF Cloud should be delivered to the websocket > API + + ## Verify a device sends a message to nRF Cloud, then I can receive the message via website Given I store `$millis()` into `ts` diff --git a/features/HistoricalRequest.feature.md b/features/HistoricalRequest.feature.md index b83baccbe..5ff0645df 100644 --- a/features/HistoricalRequest.feature.md +++ b/features/HistoricalRequest.feature.md @@ -36,6 +36,8 @@ And the device `${fingerprint_deviceId}` publishes this message to the topic | SOLAR | 3.58041 | 90000 | | SOLAR | 3.24925 | 120000 | + + ## Verify I can query gain historical device data When I connect to the websocket using fingerprint `${fingerprint}` @@ -112,6 +114,8 @@ And the device `${fingerprint_deviceId}` publishes this message to the topic | BATTERY | 21 | 90000 | | BATTERY | 22 | 120000 | + + ## Verify I can query battery historical device data When I connect to the websocket using fingerprint `${fingerprint}` @@ -177,6 +181,8 @@ Soon I should receive a message on the websocket that matches } ``` + + ## Request historical data for a week When I connect to the websocket using fingerprint `${fingerprint}` @@ -250,6 +256,8 @@ message | 63.42006573 | 10.44087654 | 528 | 90000 | | 63.42129386 | 10.44011945 | 524 | 120000 | + + ## Verify I can query location historical device data When I connect to the websocket using fingerprint `${fingerprint}` From 6caec27e033d1dc3b144009f4bbdaae4b6aec9ed Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 28 Aug 2023 12:33:38 +0000 Subject: [PATCH 2/2] fix(deps): update dependency @sinclair/typebox to v0.31.5 --- package-lock.json | 19 +++++++++++++++---- package.json | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 95b88e9e0..fb1d36ef3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,7 @@ "@middy/core": "4.6.0", "@nordicsemiconductor/from-env": "2.0.0", "@nordicsemiconductor/timestream-helpers": "5.0.0", - "@sinclair/typebox": "0.31.2", + "@sinclair/typebox": "0.31.5", "ajv": "8.12.0", "lodash-es": "4.17.21", "p-limit": "4.0.0", @@ -7941,6 +7941,11 @@ "npm": ">=9.0.0" } }, + "node_modules/@hello.nrfcloud.com/proto/node_modules/@sinclair/typebox": { + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.31.2.tgz", + "integrity": "sha512-+LlOCOcCcsq6zxt1Ld9VkOSTMY6189dBtHHxb2nUftYpiUFXX0mKuK/UgtX84haktCs/x8j8k29v//ohdjlToA==" + }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.10", "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.10.tgz", @@ -9235,6 +9240,12 @@ "npm": ">=9.0.0" } }, + "node_modules/@nordicsemiconductor/bdd-markdown/node_modules/@sinclair/typebox": { + "version": "0.31.2", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.31.2.tgz", + "integrity": "sha512-+LlOCOcCcsq6zxt1Ld9VkOSTMY6189dBtHHxb2nUftYpiUFXX0mKuK/UgtX84haktCs/x8j8k29v//ohdjlToA==", + "dev": true + }, "node_modules/@nordicsemiconductor/cloudformation-helpers": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/@nordicsemiconductor/cloudformation-helpers/-/cloudformation-helpers-8.0.0.tgz", @@ -9520,9 +9531,9 @@ } }, "node_modules/@sinclair/typebox": { - "version": "0.31.2", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.31.2.tgz", - "integrity": "sha512-+LlOCOcCcsq6zxt1Ld9VkOSTMY6189dBtHHxb2nUftYpiUFXX0mKuK/UgtX84haktCs/x8j8k29v//ohdjlToA==" + "version": "0.31.5", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.31.5.tgz", + "integrity": "sha512-4fbqH1ONle98ULTQakJFVNwGwSx+rv90HEnjZGt1GoApMKooUw1WXw3ub+Ew7rInmyDcwsjIxiHt39bkWzeCBA==" }, "node_modules/@sindresorhus/is": { "version": "4.6.0", diff --git a/package.json b/package.json index 6139eab4e..d46ef5970 100644 --- a/package.json +++ b/package.json @@ -122,7 +122,7 @@ "@middy/core": "4.6.0", "@nordicsemiconductor/from-env": "2.0.0", "@nordicsemiconductor/timestream-helpers": "5.0.0", - "@sinclair/typebox": "0.31.2", + "@sinclair/typebox": "0.31.5", "ajv": "8.12.0", "lodash-es": "4.17.21", "p-limit": "4.0.0",