|
<< Click to Display Table of Contents >> Navigation: pas_python - Skripte und Beispielcode > credentials.sh |
Diese Datei ist die zentrale Konfigurationsdatei einer Anwendung: sie dient der Konfiguration von projektspezifischen Namen und Einstellungen. Ausgeliefert mit dem Archiv wird eine "demo-credentials.sh", die kopiert wird als "credentials.sh", das "x"-Flag bekommt.
Anpassungen finden in "credentials.sh" statt.
#!/usr/bin/env bash
#
#
#
#
export PAS_STONE_NAME="test365_10"
export PAS_STONE_REGISTRY="work"
#
# Options for starting the monitor task of Gemstone
#
export PAS_STONE_STATMON_START="true"
export PAS_STONE_STATMON_INTERVALL=30
#
# Settings for HTTP - scheduling via Apache, here are the local ports
#
export PAS_STONE_NORMAL_PORT=19000
export PAS_STONE_LONG_PORT=19100
export PAS_STONE_MEMORY_PORT=19200
export PAS_STONE_LIMITED_PORT=19300
export PAS_STONE_EXTDB_PORT=19400
export PAS_STONE_NORMAL_MEMORY=100000
export PAS_STONE_LONG_MEMORY=200000
export PAS_STONE_MEMORYMEMORY=500000
export PAS_STONE_LIMITEDMEMORY=200000
export PAS_STONE_EXTDBMEMORY=50000
#
# Public address of the API - consider the apache configuration file
#
export PAS_STONE_API_ADR="http://localhost"
#
# Should the NETLDI be started
#
export PAS_STONE_NETLDI="false"
#
#
# Points to a directory, where ALL the Monticello packages for the runtime can be found
#
export PAS_RUNTIME_PACKAGES="http://feldtmann.ddns.net/pas_runtime/v100/sources"
#
# Application Specific stuff
#
export PAS_APP_MODEL_TOPAZ_FILE='test'
export PAS_APP_SERVICE_CLASS='TSTServiceClass'
export PAS_APP_PROJECT_CLASS='TSTProject'
export PAS_APP_TOPAPI_CLASS='TSTAPIGeneralObject'
export PAS_APP_TOPDOMAIN_CLASS='TSTGeneralDomain'
# e.g. TSTEnumErrorDefinition (from PUM) + LocaleErrorDefinition
export PAS_APP_ERROR_CLASS='TSTEnumErrorDefinitionLocaleErrorDefinition'
export PAS_APP_RESTCALL_CLASS='TSTRestClass'
export PAS_APP_DATA_CLASS='TestData'
export PAS_APP_PACKAGES="http://feldtmann.ddns.net/pum_apps/test/v00/sources/"
export PAS_APP_MDL_PACKAGE="Test"
export PAS_APP_EXT_PACKAGE="TestExtension"
export PAS_APP_SERVERTYPE="test-srvapp"
#
# migration file for the migration task
#
export PAS_STONE_MIGRATION_INSTANCES_FILE="$HOME/__temp_migration_classes.bm"
#
# directory path for the certification of OpenSSL. GsSecureSocket within Gemstone needs this informaation
#
export PAS_APP_SSL_CERT_PATH="/etc/ssl/certs"
#
# Connection information for the RabbitMQ System
#
export PAS_APP_RMQ_ADR="..."
export PAS_APP_RMQ_PORT=5672
export PAS_APP_RMQ_ACCOUNT="...."
export PAS_APP_RMQ_PASSWD="...."
export PAS_APP_RMQ_VHOST="/"
export PAS_APP_TLS="false"
export PAS_APP_RMQ_PRVKEY="/home/mf/ssl/privkey.pem"
export PAS_APP_RMQ_CERT_PATH="/home/mf/ssl/fullchain.pem"
export PAS_APP_RMQ_CACERT_PATH="/home/mf/ssl/all_cacerts.pem"
export PAS_APP_RMQ_PREFIXNME="pas."
#
# Connection information for the PostgreSQL
#
export PAS_APP_PSQL_ADR="..."
export PAS_APP_PSQL_PORT=5432
export PAS_APP_PSQL_ACCOUNT="blubber"
export PAS_APP_PSQL_PASSWD="blubber"
export PAS_APP_PSQL_DBNAME="blubber"
#
# RMQ Verbindung für PUM - für Transfer von Quelltexten für Methoden ... nicht Modellmethoden
#
export PUM_APP_RMQ_ADR="..."
export PUM_APP_RMQ_PORT=5672
export PUM_APP_RMQ_ACCOUNT="..."
export PUM_APP_RMQ_PASSWD="..."
export PUM_APP_RMQ_VHOST="/"
export PUM_APP_TLS="true"
export PUM_APP_RMQ_PRVKEY="/home/mf/ssl/privkey.pem"
export PUM_APP_RMQ_CERT_PATH="/home/mf/ssl/fullchain.pem"
export PUM_APP_RMQ_CACERT_PATH="/home/mf/ssl/all_cacerts.pem"
export PUMCONNECTORQUEUE="pum.es2025.source"