This is a geoserver datadir parser, which tries to gather as much info as possible from the contents of the datadir, in order to check for the datadir consistency. It uses information from the internal XML files, and the geospatial datas found in the datadir.
It is more or less a python port from a previous project.
store for raster datas, analysis currently supports:
GeoTIFFImageMosaic
store for vector datas, analysis currently supports:
ShapefileDirectory of shapfilesGeopackagePostgis (JNDI)
plain postgis not supported since we can't decrypt hashed passwords.. postgis (JNDI) only works if the JNDI information can be retrieved from the tomcat configuration files.
intermediary object between coveragestore and layer
intermediary object between datastore and layer
links a layer with its styles. a geoserver layer consists of a layer
object tied to a coverage or a featuretype, depending if it is a RASTER
layer or VECTOR layer.
describes a style object, currently only SLD is supported.
analyses a Shapefile or a Geopackage found in the data/ subdir.
analyses TIFF files found in the data/ subdir.
parses an SLD and tries to analyse its first rule title.
the process running the checks needs to be able to read the geoserver
datadir, as well as the conf/server.xml tomcat configuration file. use the
right unix user, or give the user the right group membership.
the checks are done by a celery task checking each object for each category.
the checkgsd.py script at the toplevel of the repository can be run standalone (eg outside of gaia/georchestra), pointing at the path of a given datadir.