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

[breaking] Prepare version 2.0 stable #232

Merged
merged 17 commits into from
Nov 16, 2022
Merged

Commits on Oct 18, 2022

  1. Refactor asset crud ok

    Aschen committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    d266b44 View commit details
    Browse the repository at this point in the history
  2. Device crud wip

    Aschen committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    9ad95a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2022

  1. Refactor with separation of concerns: TS ok

    Aschen committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    d42a13e View commit details
    Browse the repository at this point in the history
  2. prepare tests

    Aschen committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    86785e3 View commit details
    Browse the repository at this point in the history
  3. Prettier

    Aschen committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    6603d21 View commit details
    Browse the repository at this point in the history
  4. Fix todo + clean

    Aschen committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    5ce758b View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2022

  1. Avoid race condition in ingestion pipeline

    Aschen committed Oct 23, 2022
    Configuration menu
    Copy the full SHA
    8ba58f1 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2022

  1. Feature OK: Asset, Decoder

    Aschen committed Oct 24, 2022
    Configuration menu
    Copy the full SHA
    d59debe View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2022

  1. Tests ok

    Aschen committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    71458a0 View commit details
    Browse the repository at this point in the history
  2. merge ok

    Aschen committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    54c6fb6 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2022

  1. remove consolelog

    Aschen committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    b2b3847 View commit details
    Browse the repository at this point in the history
  2. merge ok

    Aschen committed Oct 27, 2022
    Configuration menu
    Copy the full SHA
    e18d9d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2022

  1. [breaking] Add Model module to manage customization of Device, Asset …

    …and Measure (#231)
    
    
    This PR add a `Model` module to manage 
     - Asset: declare models and register metadata for them
     - Device: register metadata for device models
     - Measure: declare new measure types
    
    Models can be registered on the framework with one of the `plugin.models.registerXXXX` method or at runtime with the `ModelController`:
     - writeAsset|Device|Measure: upsert a model
     - deleteAsset|Device|Measure: delete a model
     - listAsset|Device|Measure: list models
    
    Decoder are now registered alongside with a Device model
    ```
    deviceManager.models.registerDevice("DummyTemp", new DummyTempDecoder(), {
      color: { type: "keyword" },
    });
    ```
    
    ----
    
    Add default roles to manage plugin ressources. Admins roles can do everything and reader can only read.
     - `assets.admin`
     - `assets.reader`
     - `device.admin`: this role cannot attach and detach devices from engines
     - `device.reader`
     - `decoders.admin`
     - `measures.reader`
     - `measures.admin` 
    
     - device and asset models now have `defaultValues` for their metadata. Those values will be copied into assets and devices upon creation
     - fix bug that prevented metadata to be propagated and saved in measures collection
    
     --- 
    
    Changes:
    
        measures document
        remove measure unit
        embedded measures
        measure names
        measures definition in digital twin models
    
    Co-authored-by: Aschen <amaret@kuzzle.io>
    Adrien Maret and Aschen committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    5b3c40b View commit details
    Browse the repository at this point in the history
  2. Merge branch '2-stable' of github.com:kuzzleio/kuzzle-device-manager …

    …into 2-stable
    Aschen committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    a0e302e View commit details
    Browse the repository at this point in the history
  3. merge master

    Aschen committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    80b1055 View commit details
    Browse the repository at this point in the history
  4. fix ok

    Aschen committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    893b73e View commit details
    Browse the repository at this point in the history
  5. fix tests

    Aschen committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    ac842dc View commit details
    Browse the repository at this point in the history