-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add provisionning catalog #92
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Aschen
changed the title
Add provisionning catalog
[breaking] Add provisionning catalog
Aug 12, 2021
Aschen
changed the title
[breaking] Add provisionning catalog
Add provisionning catalog
Aug 12, 2021
jenow
approved these changes
Aug 23, 2021
Merged
Aschen
added a commit
that referenced
this pull request
Sep 6, 2021
# [0.3.0](https://github.com/kuzzleio/kuzzle-plugin-device-manager/releases/tag/0.3.0) (2021-09-06) #### Breaking changes - [ [#90](#90) ] [breaking] Allows to skip payloads ([Aschen](https://github.com/Aschen)) - [ [#84](#84) ] Returning standard response on device-manager/device:search ([xbill82](https://github.com/xbill82)) #### Bug fixes - [ [#79](#79) ] Fix registering of multiple mappings for the same tenantGroup ([Aschen](https://github.com/Aschen)) #### New features - [ [#92](#92) ] Add provisionning catalog ([Aschen](https://github.com/Aschen)) #### Enhancements - [ [#89](#89) ] Rename tenantGroup to group ([Aschen](https://github.com/Aschen)) - [ [#88](#88) ] Trigger tenant events after payload processing ([Aschen](https://github.com/Aschen)) #### Others - [ [#81](#81) ] Update deps ([rolljee](https://github.com/rolljee)) - [ [#73](#73) ] Fix some typing issues in documentation ([rolljee](https://github.com/rolljee)) ---
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Provisioning Policy
The plugin offer two policies for registering devices when receiving a new payload:
This can be changed by modifying the plugin config document in the
config
collection of the administration index:::: info
The document ID is
plugin--device-manager
.:::
Provisioning Catalog
Administrator can create catalog entries to allows devices to register.
Those entries must be created in the
config
collection of the administration index.Each entry must contain at least the
deviceId
property (e.g.Abeeway-12345
).If the
authorized
property is set tofalse
, then the device will not be allowed to register.::: warning
If
autoProvisioning
is set tofalse
in the config document, the plugin will only register devices listed in the provisioning catalog.:::
Automatically attach tenant
A provisioning catalog entry can also contain a
tenantId
property so the device will be automatically attached to a tenant after registration.Automatically link asset
A provisioning catalog entry can also contain a
assetId
property so the device will be automatically linked to an asset after registration. This property must contain the unique identifier of an asset present in the tenant index.Other changes
config
collection of thedevice-manager
index (An automatic migration has been setup)