I'm trying to automate the process of reproducing an existing GeoServer instance in an 'infrastructure as code' scenario. Ideally I'd like the ability to re-publish the contents of an existing GeoServer instance from configuration files stored in GitHub.
I've written the code to create a workspace, data store and layers programatically based on a config file, so now I need to know how to keep the config file up-to-date.
How can I detect when any changes are made to GeoServer's contents?
For example when someone publishes a new layer, is there an event fired by any processes, etc? I would listen for this event, and back up the current configuration at that time.
<WMS_Capabilities version="1.3.0" updateSequence="155"I do not know what all changes are increasing the version number and how reliable it is. @iant probably knows it better than me or can check it from the code. – user30184 Jun 19 '17 at 08:08