Informatievlaanderen / VSDS-LDES-E2E-testing

End-to-end tests and tooling needed for testing LDES components build as part of VSDS
European Union Public License 1.2
5 stars 2 forks source link

https://github.com/Informatievlaanderen/VSDS-LDES-E2E-testing/blob/main/tests/006.server-substring-fragment-ldes/config/addresses.by-name.ttl missing tree:memberLimit #377

Closed xdxxxdx closed 10 months ago

xdxxxdx commented 1 year ago
  1. LDES Server snapshot version: tag: ldes/ldes-server: 2.0.1-SNAPSHOT]
  2. E2E repo tag: 3c2cdc6132c5d667447e9511160c430405295317
  3. Post the content of https://github.com/Informatievlaanderen/VSDS-LDES-E2E-testing/blob/main/tests/006.server-substring-fragment-ldes/config/addresses.by-name.ttl
@prefix tree:   <https://w3id.org/tree#>.
@prefix xsd:    <http://www.w3.org/2001/XMLSchema#> .

</addresses/by-name> a tree:Node ; 
    tree:viewDescription [ a tree:ViewDescription ;
        tree:fragmentationStrategy ([
            a tree:SubstringFragmentation ;
            tree:fragmentationPath <https://data.vlaanderen.be/ns/adres#volledigAdres> ;
        ]) ;
        tree:pageSize "10"^^xsd:integer ;
    ] .

to the LDES Server endpoint

Got shacl validation error:

Shacl validation failed:

@prefix ldes:   <https://w3id.org/ldes#> .
@prefix rdf:    <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:   <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix sh:     <http://www.w3.org/ns/shacl#> .
@prefix tree:   <https://w3id.org/tree#> .
@prefix xsd:    <http://www.w3.org/2001/XMLSchema#> .

[ rdf:type     sh:ValidationReport ;
  sh:conforms  false ;
  sh:result    [ rdf:type                      sh:ValidationResult ;
                 sh:focusNode                  []  ;
                 sh:resultMessage              "minCount[1]: Invalid cardinality: expected min 1: Got count = 0" ;
                 sh:resultPath                 tree:memberLimit ;
                 sh:resultSeverity             sh:Violation ;
                 sh:sourceConstraintComponent  sh:MinCountConstraintComponent ;
                 sh:sourceShape                tree:MemberLimit
               ]
] .
xdxxxdx commented 10 months ago

Substring Fragmentations will be removed from VSDS solution