Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

FewsPiService.properties

Table of Contents

Introduction

...

user environment variabledescription

FEWS_WS_CLIENT_CONFIG_FILE_NAME

Name of the client config file as available in the RootConfigFiles folder of the uploaded Delft-FEWS configuration. ClientType has to be: Web Services

FEWS_WS_DATABASE_URL

Database url, e.g.

jdbc:vjdbc:servlet:https://<host>:<port>/FewsDatabaseHttpsProxy
jdbc:postgresql://<host>:<port>/<databaseName>
jdbc:oracle:thin:@<host>:<port>:<sid> or 
jdbc:sqlserver://<host>:<port>;DatabaseName=<databaseName>
FEWS_WS_DATABASE_USERDatabase user name to connect with. The name should not be specified when using AD (Active Directory).
FEWS_WS_DATABASE_ENCRYPTED_PASSWORDEncrypted Database password. The password should be specified when using AD (Active Directory).
FEWS_WS_HOMEOptional. Folder where caches are stored. If not configured, it will be set to the "${catalina.home}/fews/Region_Home".

FEWS_WS_WEB_SERVICES_CONFIG_FILE_NAME

Optional. Name of the Web Services configuration file from the Delft-FEWS Configuration folder: PiServiceConfigFiles. Default is: WebServices. (N.B.: No .xml should be added to the name in the ENV variable) xml. Since 2022.02. See also: FEWS WebServices Configuration File (since 2022.02)
FEWS_WS_CLIENTCONFIGFILEIDOptional. Name of the client config file from the Delft-FEWS Configuration folder: PiClientConfigFiles. Default is: FewsPiService.properties. Deprecated since 2022.02. See also: FEWS Web Services Configuration FewsPiService.properties (deprecated since 2022.02)

...

Code Block
languagexml
titleExample: ENV variables
FEWS_WS_DATABASE_URL=jdbc:postgresql://dummy_hostname:6001/dummy_databasename
FEWS_WS_DATABASE_USER=dummy_username
FEWS_WS_DATABASE_ENCRYPTED_PASSWORD=dummy_password_encrypted
FEWS_WS_CLIENT_CONFIG_FILE_NAME=ws_clientConfig.xml
FEWS_WS_HOME=d:\fews-ws\region-home
FEWS_WS_WEB_SERVICES_CONFIG_FILE_NAME=WebServices.xml
#FEWS_WS_CLIENTCONFIGFILEID is deprecated since 2022.02. Use FEWS_WS_WEB_SERVICES_CONFIG_FILE_NAME instead:
#FEWS_WS_CLIENTCONFIGFILEID=CustomFewsPiService.properties

...