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 stac validation to metadata of integrationtests #588

Open
jdries opened this issue Nov 17, 2023 · 2 comments
Open

add stac validation to metadata of integrationtests #588

jdries opened this issue Nov 17, 2023 · 2 comments
Assignees

Comments

@jdries
Copy link
Contributor

jdries commented Nov 17, 2023

we have a lot of integrationtests that are batch jobs
it should be simple to add stac validation to all of them, using stac validation library

@soxofaan
Copy link
Member

and ideally: also do that kind of validation in the unit tests of openeo-geopyspark-driver , where the develop-test cycle is significantly faster

@jdries
Copy link
Contributor Author

jdries commented Feb 20, 2024

I already added it to openeo-python-driver to catch basic stuff.

Getting basics working is trivial:

            import pystac
            stac_validator = pystac.validation.stac_validator.JsonSchemaSTACValidator()
            stac_validator.validate(resp.json, pystac.STACObjectType.COLLECTION, stac_version="1.0.0", extensions=[])

still need to figure out support for extensions.

jdries added a commit to Open-EO/openeo-python-driver that referenced this issue Feb 20, 2024
jdries added a commit that referenced this issue Feb 21, 2024
jdries added a commit that referenced this issue Feb 21, 2024
soxofaan added a commit to Open-EO/openeo-python-driver that referenced this issue Feb 21, 2024
soxofaan added a commit to Open-EO/openeo-aggregator that referenced this issue Feb 21, 2024
tcassaert pushed a commit that referenced this issue Feb 27, 2024
tcassaert pushed a commit that referenced this issue Feb 27, 2024
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

No branches or pull requests

3 participants