npm.io
0.2.0 • Published 6 years ago

geoserver-checker

Licence
MIT
Version
0.2.0
Deps
2
Size
13 kB
Vulns
0
Weekly
0
Stars
1

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

Keywords