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

ldes:amount instead of tree:amount #1173

Closed brechtvdv closed 6 months ago

brechtvdv commented 6 months ago

The documentation suggests to use "tree:amount" for version-based retention policy: https://informatievlaanderen.github.io/VSDS-LDESServer4J/configuration/retention-policies/version-based#example

This returns following error:

Cannot Create Version Based Retention Policy in which there is not exactly 1 https://w3id.org/ldes#amount statement.
ldes.curl.create.latest.view           |  Found 0 statements in :
ldes.curl.create.latest.view           | [ a                               <https://w3id.org/ldes#LatestVersionSubset>;
ldes.curl.create.latest.view           |   <https://w3id.org/tree#amount>  1
ldes.curl.create.latest.view           | ] .

Solution: change documentation to "ldes:amount"

Yalz commented 6 months ago

Documentation has been updated. It should indeed be ldes:amount apologies for the confusion