Skip to content

Commit 0573202

Browse files
committed
#82 mainly documentation
1 parent dc95a87 commit 0573202

7 files changed

Lines changed: 348 additions & 6 deletions

File tree

GeoHealthCheck/plugins/probe/owsgetcaps.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ class OwsGetCaps(Probe):
77
Fetch OWS capabilities doc
88
"""
99

10+
AUTHOR = 'GHC Team'
1011
NAME = 'OWS GetCapabilities'
1112
DESCRIPTION = 'Perform GetCapabilities Operation and check validity'
1213
# Abstract Base Class for OGC OWS GetCaps Probes

GeoHealthCheck/probe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Probe(Plugin):
2525
Type of GHC Resource e.g. 'OGC:WMS', default not applicable.
2626
"""
2727

28-
# Request attributes, defaults, subclassses override
28+
# Request attributes, defaults, subclasses override
2929
REQUEST_METHOD = 'GET'
3030
"""
3131
HTTP request method capitalized, GET (default) or POST.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.0-plugindevs82
1+
0.2.0-plugindevs82

docs/admin.rst

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,16 @@ Hint: see `tests/data` for example JSON data files.
4444
export data
4545
...........
4646

47-
TODO: export data to .json file with or without runs.
47+
Exporting database-data to a .json file with or without Runs is still to be done.
48+
49+
Exporting Resource and Run data from a running GHC instance can be effected via
50+
a REST API, for example:
51+
52+
* all Resources: http://demo.geohealthcheck.org/json (or `as CSV <http://demo.geohealthcheck.org/csv>`_)
53+
* one Resource: http://demo.geohealthcheck.org/resource/1/json (or `CSV <http://demo.geohealthcheck.org/resource/1/csv>`_)
54+
* all history (Runs) of one Resource: http://demo.geohealthcheck.org/resource/1/history/json (or `in csv <http://demo.geohealthcheck.org/resource/1/history/csv>`_)
55+
56+
NB for detailed reporting data only JSON is supported.
4857

4958
User Management
5059
---------------
@@ -71,6 +80,7 @@ The folowing resource types are available:
7180
- Tile Map Service (TMS)
7281
- Web Accessible Folder (WAF)
7382
- Sensor Observation Service (SOS)
83+
- `SensorThings API <http://docs.opengeospatial.org/is/15-078r6/15-078r6.html>`_ (STA)
7484

7585

7686
Deleting Resources

docs/index.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ Links
2727

2828
- website: http://geohealthcheck.org
2929
- GitHub: https://github.com/geopython/geohealthcheck
30-
- Demo: http://demo.geohealthcheck.org
30+
- Demo: http://demo.geohealthcheck.org (official demo)
31+
- DevDemo: http://dev.geohealthcheck.org (latest development demo)
3132
- Presentation: http://geohealthcheck.org/presentation
3233
- Gitter Chat: https://gitter.im/geopython/GeoHealthCheck
3334

docs/install.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ An existing GHC database installation can be upgraded with:
8181
Notes:
8282

8383
* **Always backup your database first!!**
84+
* make sure Flask-Migrate is installed (see requirements.txt), else: `pip install Flask-Migrate==2.0.3`
8485
* upgrading should be "smart": only performed when required
86+
* when upgrading from pre-v0.2.0 (first version with Plugins) adapt your `config_site.py` to Plugin settings from `config_main.py`
8587

8688

8789
Running

0 commit comments

Comments
 (0)