csw-config-server
A HTTP server application that hosts Configuration Service.
Prerequisites
The HTTP server hosting Configuration Service needs to be part of csw-cluster so that it can be consumed by other components. A required check before starting configuration service is to ensure the csw-cluster is setup and location server are available. Kindly refer to CSW Location Server for more information about location server setup.
Command line parameter options
--initRepois an optional parameter. When supplied, server will try to initialize a repository if it does not exist.--portis an optional parameter. When specified the HTTP server will start on this port. Default will be 4000.--helpprints the help message.--versionprints the version of the application.
Examples
-
Start HTTP server on default port 4000. Initialize repository if it does not exist and register it with Location Servicecsw-config-server --initRepo -
csw-config-server --initRepo --port 4001Start HTTP server on port 4001. Initialize repository if it does not exist and register it with Location Service
-
csw-config-server --helpPrints help message
-
csw-config-server --versionPrints application version
Before running csw-config-server, make sure that csw-location-server is running on local machine at localhost:7654. As config server uses local HTTP location client which expect location server running locally.