From 03ebe837936803f61f3778213f0a000619063e24 Mon Sep 17 00:00:00 2001 From: Lars Falk-Petersen Date: Wed, 11 Sep 2024 15:33:08 +0200 Subject: [PATCH] Expand readme --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 43f31e4..4d94a46 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # SEDR - An OGC EDR validator -An experiment to validate OGC EDR APIs using schemathesis. +An experiment to validate OGC EDR APIs using schemathesis, and give good feedback to developers. ## Who is responsible? @@ -18,7 +18,7 @@ Run docker image: - `docker run -it --rm docker.io/library/sedr --openapi https://edrisobaric.k8s.met.no/api --url https://edrisobaric.k8s.met.no` -Debug logging: +Debug logging will show every request and it's status: - Create a directory: `mkdir ./logs` - Run container, mounting the new directory at /logs, and tell container to output log there: `docker run -it --rm -v ./logs:/logs docker.io/library/sedr --openapi https://edrisobaric.k8s.met.no/api --url https://edrisobaric.k8s.met.no --log-file /logs/debug.log @@ -26,20 +26,26 @@ Debug logging: ### Results testing existing services - [edrisobaric](https://edrisobaric.k8s.met.no) works - - ...................... + - ...................... - [FMI](https://opendata.fmi.fi/edr/) some tests works, some fails - - .F...FF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.FFF......FF.........................................F...............F................................................ + - .F...FF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.FFF......FF.........................................F...............F................................................ - [UK metoffice](https://labs.metoffice.gov.uk/edr) - fails due to /{service_id}/collections, /{service_id}/conformance? ### Use it for production +Not production ready. + ## Overview of architecture ## Documentation +Schemathesis and pytest are the main components. Stateful tests are not used, as they require openapi links in the spec. + ## How to contribute +Create an issue or start a discussion. + ## Documentation Template This document is based on the [Met-norway-readme](https://gitlab.met.no/maler/met-norway-readme)-template.