cloudfoundry/stratos

View on GitHub
deploy/stratos-ui-release/jobs/backend/templates/config.properties.erb

Summary

Maintainability
Test Coverage
HTTP_CONNECTION_TIMEOUT_IN_SECS=10
HTTP_CLIENT_TIMEOUT_IN_SECS=30
HTTP_CLIENT_TIMEOUT_MUTATING_IN_SECS=120
HTTP_CLIENT_TIMEOUT_LONGRUNNING_IN_SECS=600
SKIP_SSL_VALIDATION=<%= p('stratos_ui.backend.skip_ssl_validation') %>
CONSOLE_PROXY_TLS_ADDRESS=<%= p('stratos_ui.backend.address') %>:<%= p('stratos_ui.backend.port') %>
CF_CLIENT=cf
CF_ADMIN_ROLE=cloud_controller.admin

UAA_ENDPOINT=<%= p('stratos_ui.backend.uaa_address') %>
CONSOLE_ADMIN_SCOPE=<%= p('stratos_ui.backend.console_admin_scope') %>
CONSOLE_CLIENT=<%= p('stratos_ui.backend.console_uaa_client') %>
ALLOWED_ORIGINS=<%= p('stratos_ui.backend.frontend_origin_address') %>

SESSION_STORE_SECRET=<%= p('stratos_ui.backend.session_store_secret') %>

<% if p('stratos_ui.backend.use_mysql') == true %>
DATABASE_PROVIDER=mysql
DB_USER=<%= p('stratos_ui.backend.mysql_user') %>
DB_PASSWORD=<%= p('stratos_ui.backend.mysql_user_password') %>
DB_DATABASE_NAME=<%= p('stratos_ui.backend.mysql_db') %>
DB_HOST=<%= p('stratos_ui.backend.mysql_host') %>
DB_PORT=<%= p('stratos_ui.backend.mysql_port') %>
<% end %>

<% if p('stratos_ui.backend.use_sqlite') == true %>
DATABASE_PROVIDER=sqlite
<% end %>
UPGRADE_VOLUME=<%= p('stratos_ui.backend.upgrade_volume_path') %>
UPGRADE_LOCK_FILENAME=<%= p('stratos_ui.backend.upgrade_volume_file') %>
ENCRYPTION_KEY_VOLUME=<%= p('stratos_ui.backend.encryption_key_volume') %>
ENCRYPTION_KEY_FILENAME=<%= p('stratos_ui.backend.encryption_key_filename') %>