Skip to content

Commit e89d00a

Browse files
committed
chore(release): '2-dev' into beta
2 parents 6d46cde + f69c0a7 commit e89d00a

File tree

6 files changed

+25
-14
lines changed

6 files changed

+25
-14
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# [2.5.0-dev.2](https://github.com/kuzzleio/kuzzle-device-manager/compare/v2.5.0-dev.1...v2.5.0-dev.2) (2024-11-18)
2+
3+
4+
### Bug Fixes
5+
6+
* backport fix ([#380](https://github.com/kuzzleio/kuzzle-device-manager/issues/380)) ([5392b56](https://github.com/kuzzleio/kuzzle-device-manager/commit/5392b56a9478b1c1932845ee44965d5978197350))
7+
* getAsset should search in commons assets too ([#380](https://github.com/kuzzleio/kuzzle-device-manager/issues/380)) ([d588a93](https://github.com/kuzzleio/kuzzle-device-manager/commit/d588a93b0dd5b270199083cfb0856e34b57afa66))
8+
19
# [2.5.0-beta.1](https://github.com/kuzzleio/kuzzle-device-manager/compare/v2.4.3...v2.5.0-beta.1) (2024-11-12)
210

311

@@ -12,6 +20,13 @@
1220

1321
* **measure:** allow measures to be pushed on Assets via API (no devices) ([#344](https://github.com/kuzzleio/kuzzle-device-manager/issues/344)) ([c1073c1](https://github.com/kuzzleio/kuzzle-device-manager/commit/c1073c1f0ccb4cfc7cee64d86c51a4999617fd41))
1422

23+
## [2.4.4](https://github.com/kuzzleio/kuzzle-device-manager/compare/v2.4.3...v2.4.4) (2024-11-18)
24+
25+
26+
### Bug Fixes
27+
28+
* getAsset should search in commons assets too ([#380](https://github.com/kuzzleio/kuzzle-device-manager/issues/380)) ([d588a93](https://github.com/kuzzleio/kuzzle-device-manager/commit/d588a93b0dd5b270199083cfb0856e34b57afa66))
29+
1530
## [2.4.3](https://github.com/kuzzleio/kuzzle-device-manager/compare/v2.4.2...v2.4.3) (2024-10-25)
1631

1732

lib/modules/model/ModelService.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,12 @@ export class ModelService extends BaseService {
608608
): Promise<KDocument<AssetModelContent>> {
609609
const query = {
610610
and: [
611-
{ equals: { engineGroup } },
611+
{
612+
or: [
613+
{ equals: { engineGroup } },
614+
{ equals: { engineGroup: "commons" } },
615+
],
616+
},
612617
{ equals: { type: "asset" } },
613618
{ equals: { "asset.model": model } },
614619
],

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kuzzle-device-manager",
3-
"version": "2.5.0-beta.1",
3+
"version": "2.5.0-dev.2",
44
"description": "Manage your IoT devices and assets. Choose a provisioning strategy, receive and decode payload, handle your IoT business logic.",
55
"author": "The Kuzzle Team (support@kuzzle.io)",
66
"repository": {

tests/scenario/modules/models/asset-model.test.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,6 @@ describe("ModelsController:assets", () => {
110110
_id: "model-asset-Plane",
111111
_source: { asset: { model: "Plane" } },
112112
});
113-
114-
const getAssetNotExist = sdk.query({
115-
controller: "device-manager/models",
116-
action: "getAsset",
117-
engineGroup: "other_engine",
118-
model: "Plane",
119-
});
120-
121-
await expect(getAssetNotExist).rejects.toMatchObject({ status: 404 });
122113
});
123114

124115
it("List asset models only from the requested engine group and the common ones", async () => {

types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kuzzle-device-manager-types",
3-
"version": "2.5.0-beta.1",
3+
"version": "2.5.0-dev.2",
44
"description": "Shared types for Kuzzle Device Manager",
55
"author": "The Kuzzle Team (support@kuzzle.io)",
66
"main": "index.js",

0 commit comments

Comments
 (0)