Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.2.0 #74

Merged
merged 24 commits into from
May 11, 2021
Merged

Release 0.2.0 #74

merged 24 commits into from
May 11, 2021

Conversation

Yoann-Abbes
Copy link
Contributor

0.2.0 (2021-05-04)

Bug fixes

  • [ #70 ] Fix missing options on unlink (jenow)
  • [ #64 ] Allows to paginate search action for devices and assets (jenow)

New features

  • [ #61 ] Allows to define custom mappings for devices and assets for a tenant group only (Yoann-Abbes)
  • [ #60 ] Add device:mUnlink API action (rolljee)
  • [ #49 ] Add API actions to prune payloads collection (Yoann-Abbes)

Enhancements

  • [ #71 ] Smoll wording improvements (xbill82)
  • [ #69 ] Make keyword fields also filtrable (jenow)
  • [ #66 ] Add "refresh" option support to device controller (jenow)
  • [ #65 ] Pass options to all routes (jenow)
  • [ #63 ] Change separator for assets and devices IDs (Aschen)

Others


Aschen and others added 19 commits March 23, 2021 14:42
## Description

Remove multi tenancy pipe. They should be handled by KIoTP instead
Fix missing options on unlink
### What this PR does

This PR allows to have custom mapping for each tenant group for the `assets` and `devices` collections
#28
They are meant to be loaded at application startup

For `devices` collection, only `qos`, `measures`, and `metadata` fields are meant to be customized.
For `assets` collection, only `metadata` field is meant to be customized.

### How to test

1) Functional tests.

2) Clone KIoTP repo on branch `add-custom-mappings`
Install plugins and switch to the `add-custom-mappings` branch on the `device-plugin-manager`
Define your own mappings in `lib/plugins/device-manager/mappings/`
Register it in `lib/plugins/device-manager/index.ts` with the provided methods
Run KIoTP
Create and engine `kourou device-manager/engine:create -a group="groupTest" index="test"`
Verify the mappings are correctly added.

```ts
deviceManagerPlugin.devices.registerQos
deviceManagerPlugin.devices.registerMetadata
deviceManagerPlugin.devices.registerMeasure

deviceManagerPlugin.assets.registerMetadata

```
@Leodau Leodau added bug Something isn't working and removed bug Something isn't working labels May 7, 2021
@Yoann-Abbes Yoann-Abbes merged commit 252945c into master May 11, 2021
@Yoann-Abbes Yoann-Abbes deleted the 0.2.0-proposal branch May 11, 2021 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants