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

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

Open
perweij opened this issue Mar 27, 2024 · 1 comment
Open

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

perweij opened this issue Mar 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@perweij
Copy link
Contributor

perweij commented Mar 27, 2024

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
@perweij perweij added the bug Something isn't working label Mar 27, 2024
@jave
Copy link

jave commented Mar 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants