Closed jochemthart1 closed 2 years ago
I had to make small changes to models.py and healthcheck.py to make it work differently to other "OGC:" service probes. (similar to OGC:WFS3)
Yes, that is always the case for new service types!
This PR is meant for issue #381
@jochemthart1 let me know if you are ready for merge, my comments are minor.
@justb4 This is now ready for merge. I did implement some changes based on your review.
@jochemthart1 some more patience: see my minor comments above.
@jochemthart1 almost there, still a flake8 error:
./GeoHealthCheck/plugins/probe/ogc3dtiles.py:11:80: E501 line too long (84 > 79 characters)
Error: Process completed with exit code 1.
@jochemthart1 ok, here we go, thanks for patience!
And on demo server: https://demo.geohealthcheck.org/resource/412?lang=en
This PR adds a probe for OGC 3D Tile services. (#381 )
It requests the tileset.json, retrieves the tile data url from the json and requests the tile data url as well.
Currently, it is written as one probe that checks both the tileset.json and the data url. Another probe could be added if only the tileset.json should be checked.
Both requests are checked for http4/500 errors using the GHC HttpStatusNoError check.
I had to make small changes to
models.py
andhealthcheck.py
to make it work differently to other "OGC:" service probes. (similar toOGC:WFS3
)