-
Notifications
You must be signed in to change notification settings - Fork 6
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
Historize asset for each same measurements #290
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
You have successfully added a new CodeQL configuration |
fmauNeko
requested changes
Mar 31, 2023
Aschen
suggested changes
Mar 31, 2023
tdislay
commented
Apr 5, 2023
3b5b7d0
to
e451fa0
Compare
Aschen
approved these changes
Apr 11, 2023
fmauNeko
approved these changes
Apr 13, 2023
OlivierCavadenti
approved these changes
Apr 13, 2023
Aschen
suggested changes
Apr 13, 2023
2b9222f
to
3483d6f
Compare
f423bd6
to
de65792
Compare
fmauNeko
approved these changes
Apr 14, 2023
Aschen
suggested changes
Apr 14, 2023
Aschen
reviewed
Apr 17, 2023
Co-authored-by: Adrien Maret <Aschen@users.noreply.github.com>
Aschen
reviewed
Apr 17, 2023
Co-authored-by: Adrien Maret <Aschen@users.noreply.github.com>
Merged
Aschen
added a commit
that referenced
this pull request
Apr 17, 2023
# [2.2.0](https://github.com/kuzzleio/kuzzle-device-manager/releases/tag/2.2.0) (2023-04-17) #### Bug fixes - [ [#290](#290) ] Historize asset for each same measurements ([tdislay](https://github.com/tdislay)) - [ [#288](#288) ] Full path nested metadata when create/update assets ([OlivierCavadenti](https://github.com/OlivierCavadenti)) - [ [#286](#286) ] ModelService upsert -> createOrReplace ([fmauNeko](https://github.com/fmauNeko)) - [ [#282](#282) ] Fix engine creation ([Aschen](https://github.com/Aschen)) #### New features - [ [#296](#296) ] Export measures to CSV ([Aschen](https://github.com/Aschen)) - [ [#291](#291) ] Add type of measure linked in each links of asset measures. ([OlivierCavadenti](https://github.com/OlivierCavadenti)) #### Enhancements - [ [#295](#295) ] Export default mappings ([Aschen](https://github.com/Aschen)) - [ [#293](#293) ] Allow JSONObject in metadata ([Aschen](https://github.com/Aschen)) - [ [#287](#287) ] Update metadata in existing assets when the model is modified ([fmauNeko](https://github.com/fmauNeko)) - [ [#283](#283) ] Store reason of discarded payloads ([OlivierCavadenti](https://github.com/OlivierCavadenti)) #### Others - [ [#289](#289) ] Split tsconfig for tests ([fmauNeko](https://github.com/fmauNeko)) ---
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.
What does this PR do ?
This PR fix an issue when multiple same measurements sent over one payload were ingested, only the most recent measure would be
historized
.Also, it adds a
timestamp
property to assetHistoryContent. It allows you to sort documents by event emitted date rather that documentcreated_at
.I also used a
mCreate
in the asset history add event instead of a simplecreate