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

Add metadata validation and publication #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hwbllmnn
Copy link
Collaborator

@hwbllmnn hwbllmnn commented Feb 4, 2025

Adds an endpoint that generates ISO metadata, runs the GDI-DE testsuite on it and returns the validation errors as a list of strings. Example:

curl -k https://localhost/api/metadata/iso/validate/1d1e7b5d-4d86-3ad7-8570-5245b55b6b33 -H "Authorization: Bearer <token>"

Also adds an endpoint that publishes the ISO metadata via CSW-T:

curl -k https://localhost/api/metadata/iso/publish/1d1e7b5d-4d86-3ad7-8570-5245b55b6b33 -H "Authorization: Bearer <token>"

Publication does not set the records public yet, this will be done in a followup. Insert/Update requests sometimes fail for some unknown reason with a null pointer in the GNOS, this needs to be further analyzed (but can be addressed in a followup as well).

@KaiVolland Please review.

@hwbllmnn hwbllmnn changed the title Add metadata validation Add metadata validation and publication Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants