Informatievlaanderen / VSDS-LDESServer4J

Linked Data Event Streams Server for Java
https://informatievlaanderen.github.io/VSDS-LDESServer4J
European Union Public License 1.2
9 stars 8 forks source link

API POST /admin/api/v1/{collection}/snapshots: Unable to create snapshot. member xx does not have a valid timestampPath or versionOfPath #727

Closed xdxxxdx closed 9 months ago

xdxxxdx commented 1 year ago

Prerequisites:

To Reproduce Steps to reproduce the behavior:

  1. Go to http://localhost:8080/v1/swagger-ui/index.html#/Snapshots/createSnapshot
  2. Click on 'Snapshot' API, POST /admin/api/v1/{collection}/snapshots image
  3. sent a POST request to the admin API to ask for a snapshot for the observations collection

Expected behavior A snapshot is created, 200 OK is returned.

Current behavior Error: response status is 500 Unable to create snapshot. Cause: Member observations/urn:ngsi-ld:WaterQualityObserved:woq:1/2023-03-12T18:31:17.003Z does not have a valid timestampPath or versionOfPath

Screenshots image

Tomvbe commented 1 year ago

I don't know how well this is documented but having these properties is a prerequisite of snapshotting. Without them, it is not possible to make a snapshot. The current implementation of snapshots are version and timebased.

ASDasd341 commented 1 year ago

can i check into this issue?

Yalz commented 9 months ago

Snapshotting is discontinued