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

Enhance DCAT interface to support MatVoc specifics #13

Open
2 tasks
TBoonX opened this issue Oct 23, 2020 · 11 comments
Open
2 tasks

Enhance DCAT interface to support MatVoc specifics #13

TBoonX opened this issue Oct 23, 2020 · 11 comments
Assignees
Labels
Important project extension WP4.2 Entwicklung und Test der DCAT-basierten Synchronisation und Aggregation WP4.3 Integration des Klassifikationsschema für Materialdaten​
Milestone

Comments

@TBoonX
Copy link
Member

TBoonX commented Oct 23, 2020

For

  • NOMAD
  • DMMS

This task is about using specifics of MatVoc like classification to enhance the DCAT interface.
The technical basis is the work for WP4.2.
The classification is the one from WP2.3

@TBoonX TBoonX added the WP4.2 Entwicklung und Test der DCAT-basierten Synchronisation und Aggregation label Oct 23, 2020
@TBoonX TBoonX added this to the Phase 2 milestone Oct 23, 2020
@TBoonX TBoonX added the WP4.3 Integration des Klassifikationsschema für Materialdaten​ label Dec 4, 2020
@TBoonX
Copy link
Member Author

TBoonX commented Jun 29, 2021

We need to specify with what and how much we will enhance the metadata aggregation.
I think we need to include our classification somehow for WP 4.3

@yoavnash
Copy link
Member

Hi @TBoonX, we now have the MatVoc representation of the tensile test datasets, which we would like to present to you in one of the next meetings (see an email from Matthias). In the mean time, can you provide us with details on how to extend the DSMS'S API so that it serves this information?

@TBoonX
Copy link
Member Author

TBoonX commented Sep 23, 2021

Dear @yoavnash , good to hear about progress.
In general we are free to include the triples we need into the DCAT interfaces/harvester. A first step would be to use the SKOS classification to enrich the DCAT data. On which objects we add the triples could be discussed in such a meeting but using dcat:theme to connect to SKOS triples would be the common start.
After adding the classification we are free to add what makes sense - what a researcher is interested in when searching through the metadata.

@TBoonX
Copy link
Member Author

TBoonX commented Nov 8, 2021

NOMAD DCAT API returns SSL error: ERR_INVALID_SIGNED_EXCHANGE
@markus1978 are you still the person to contact when something like this happens?

@markus1978
Copy link

I have a good idea why this happens. I can release a fixed version in a couple of days.

It is not an SSL or certificate issue. The API wrongly returns some HTTP headers that some browsers disallow in a HTTPS exchange. Until the fix, the API should still work in most "non-browser" use-cases, e.g. curl, requests, etc.

@TBoonX
Copy link
Member Author

TBoonX commented Nov 9, 2021

I encountered it with my python code which uses the API and it worked half a year ago.
Thanks, a fix would be nice.

@markus1978
Copy link

Mmh, the issue I am suggesting is in there for a loooong time. Maybe the underlying SSL impl got more restrictive. Or my initial analysis is wrong and it is something else. Anyhow, I investigate and try to fix it.

@markus1978
Copy link

It should be fixed now.

@TBoonX
Copy link
Member Author

TBoonX commented Nov 9, 2021

Thanks for the fast deployment.
It is working again in the browser even that there are issues with the certificate.
I assume that my docker container is using a newer version of python, thus the new error.
The same error occurs with sparql.stream-dataspace.net even that the certificate is alright.
I will have a look and try to resolve it on my code - I will give feedback when there is something new.

@markus1978
Copy link

This has to be something else? Yesterday, I was looking at Chrome. It was sending an accept header to the API with all kinds of mime types in it, including application/signed-exchange. The API tried to interpret this to determine in which format to return results. The bug was that the API reflected the same accept header back as content type including application/signed-exchange. This was not accepted by the chromes https implementation. This probably causes issues with other clients as well.

I just fixed the accept header handling and made sure that the returned content type is something meaningful like application/rdf or application/xml instead of application/signed-exchange.

If there are issues with the SSL certificates. I would need more information about the error. All checks I can do on the certs seem to be fine.

@TBoonX
Copy link
Member Author

TBoonX commented Nov 10, 2021

The browser now accepts the website and certificate completely.
My code has still issues which I have to investigate.
Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Important project extension WP4.2 Entwicklung und Test der DCAT-basierten Synchronisation und Aggregation WP4.3 Integration des Klassifikationsschema für Materialdaten​
Projects
None yet
Development

No branches or pull requests

5 participants