diggsweden / DCAT-AP-SE-Processor

GNU General Public License v3.0
9 stars 8 forks source link

4/9 test reference input files cannot be processed #32

Open perweij opened 3 months ago

perweij commented 3 months ago

Contact Details

No response

What happened?

Processing the reference input files under src/main/resources/metadataExample/{multiple,testFiles,single}/ with the DCAT processor gives mixed results - 4/9 fails.

Steps To Reproduce

Build the jar file, then run (I use bash as shell here):

$ for F in $(find src/main/resources/metadataExample/{multiple,testFiles,single} -type f | grep -v catalog.json ); do 
> echo -ne "### $F:\t"
> java -jar target/dcat-ap-processor-0.0.2-SNAPSHOT.jar -f $F | grep -q "Kunde inte generera en dcat fil" && echo "FAIL" || echo "PASS"
> done

What did you expect?

I expect to be able to process all 9 reference input files succesfully.

Version

Branch: 18-förvaltning-av-gamla-beroenden-1 Commit: f9ca2de

(main HEAD does not currently build, so I run this branch)

Optional Screenshots

No response

Relevant log output

### src/main/resources/metadataExample/multiple/full_example_oas.yaml:  FAIL
### src/main/resources/metadataExample/multiple/full_example_oas.json:  FAIL
### src/main/resources/metadataExample/multiple/full_example.raml:  FAIL
### src/main/resources/metadataExample/multiple/full_example.json:  FAIL
### src/main/resources/metadataExample/testFiles/full_test_raml_spec.raml:  PASS
### src/main/resources/metadataExample/single/full_example_oas.yaml:    PASS
### src/main/resources/metadataExample/single/full_example_oas.json:    PASS
### src/main/resources/metadataExample/single/full_example.raml:    PASS
### src/main/resources/metadataExample/single/full_example.json:    PASS
jave commented 3 months ago

It would be nice to have a reliable test suite when building dcat deliverables such as the jar