Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

...

  • classpath: if the configuration files are on the classpath (packaged with the application)
  • filesystem: if the configuration files are on the FS
  • git repository: if the configuration files are stored in a git repository.
    However, smarthub-server access git raw content via a HTTP API (REST) which is not standard.
    Hence, currently only BitBucker BitBucket and Azure DevOps Git Repositories are supported. 

...

The main config file of the application, this is stored with the application sources and packaged with application. Stores configuration of the config source, default values and git repository access. 
Expressions denoted with ${} can refer to both environment variables or java system properites.

...

environment.stage=${GOCOMPLIANT_ENVIRONMENT}
dataInitializer.importSource=git:///import.json
ExternalSystem.defaults.maxParallelCalls=1
ExternalSystem.defaults.maxRetryAttempts=2
ExternalSystem.defaults.readTimeout=20
ExternalSystem.defaults.retryWaitSeconds=60
azure.git.url=https://dev.azure.com/goco/product/_apis/git/repositories/smarthub-config/items
azure.git.branch=${GOCOMPLIANT_ENVIRONMENT}
azure.username=${AZ_USERNAME}
azure.personalAccessToken=${AZ_PERSONAL_ACCESS_TOKEN}

SmartHub configuration root

Databases configuration

Database connection urls, usernames and passwords are read from the below environments variables:

  • SmartHub database: to store service configurations, invocations and intermittent responses
    • SMARTHUB_JDBC_URL
    • SMARTHUB_JDBC_USERNAME
    • SMARTHUB_JDBC_PASSWORD
  • ToolSuite database: to store the processed results
    • TOOLSUITE_JDBC_URL
    • TOOLSUITE_JDBC_USERNAME
    • TOOLSUITE_JDBC_PASSWORD

...