On Fri, 17 Dec 2021 at 10:42, Jan Hoskens <jan.hosk...@aca-it.be> wrote:
> When using Geoserver in a containerized environment, there should be some > way to monitor the application. Simple liveness would be, can I access the > server throught REST api and get a 200 OK. > > But that is not all. GeoServer is using a DB and perhaps more external > resources, or it might have different modules/workspaces that are needed. > Therefore it should be able to report that everything is available and the > complete system is usable. This in order to monitor if the container is up > and running, but also able to respond to queries. > > The status REST api looked a step in that direction, but the response did > not give any other information than a URL that is even not available when > used. The documentation is telling another story (out of sync with > implementation?) and shows more information. Now with the previous comment > about hard coded json, I get the feeling that GeoServer is not completely > ready to run in a containerized environment. > > I said nothing about hard coded JSON, I meant that the available and enabled flags are always going to be `true` if the module is present (at least in all the modules that I updated to appear in that list) - I think that you are looking for something that is not expected to be in the status API, for databases you need to be looking in the datastores section rather than the GeoServer status. Ian -- Ian Turton
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users