0.2.0 • Published 4 years ago

geoserver-checker v0.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

geoserver-checker

Script to check if a GeoServer instance is up and running correctly.

Use the script

Prerequisites

  • Node.js and npm have to be installed on your system
  • Clone or download this repository
  • Open a terminal and navigate to the checkout / download
  • Install dependencies with npm install

Execute the script

Check a GeoServer at http://localhost:9999/geoserver/ by performing a login to the web inteface with GeoServer default credentials:

GS_CHECKER_BASEURL=http://localhost:9999/geoserver/ \
npm start

Check a GeoServer at http://localhost:9999/geoserver/ by performing a login to the web inteface with the given credentials:

GS_CHECKER_BASEURL=http://localhost:9999/geoserver/ \
GS_CHECKER_USER=kalle \
GS_CHECKER_PWD=123456 \
npm start

Check a GeoServer at http://localhost:9999/geoserver/ by performing a login to the web inteface with the given credentials and test if the given workspaces exists in the GeoServer instance:

GS_CHECKER_BASEURL='http://localhost:9999/geoserver/' \
GS_CHECKER_USER=kalle \
GS_CHECKER_PWD=123456 \
GS_CHECKER_WS='ws_1,ws_2,ws_foo,ws_bar' \
npm start