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

[mongodb] Should implement ModifiablePersistenceService #16338

Closed
ulbi opened this issue Jan 29, 2024 · 2 comments · Fixed by #16333
Closed

[mongodb] Should implement ModifiablePersistenceService #16338

ulbi opened this issue Jan 29, 2024 · 2 comments · Fixed by #16333
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@ulbi
Copy link
Contributor

ulbi commented Jan 29, 2024

Using the REST API persistence methods against the MongoDB persistence is not possible when using mongodb persistence services.
Following REST API should become available as well:

  • unable to store historic value through (PUT /persistence/items/{itemname})
  • unable to remove persisted values throught (DELETE /persistence/items/{itemname})

Your Environment

  • Version used: latest openhab docker release 4.1-alpine
@ulbi ulbi added the enhancement An enhancement or new feature for an existing add-on label Jan 29, 2024
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 1, 2024
…xed compiler warnings

Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 1, 2024
…xed compiler warnings

Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 2, 2024
…xed compiler warnings

Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 10, 2024
Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 10, 2024
…xed compiler warnings

Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 10, 2024
…xed compiler warnings

Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 10, 2024
…xed compiler warnings

Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 10, 2024
…xed compiler warnings

Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 10, 2024
…xed compiler warnings

Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
ulbi added a commit to ulbi/openhab-addons that referenced this issue Feb 10, 2024
…e to be more robust and implemented the ModifiablePersistenceService

Signed-off-by: René Ulbricht <rene_ulbricht@outlook.com>
@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/mongo-db-cannot-be-cast-to-class-java-lang-number/153019/2

@lsiepel
Copy link
Contributor

lsiepel commented Feb 17, 2024

Pr is merged

@lsiepel lsiepel closed this as completed Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants