Skip to main content

Configuration

Provide this configuration with Web Admin application.yaml.


# standard application.yaml example

# EMBEDDED SERVER CONFIGURATION (ServerProperties)
server:
port: 8099
compression:
enabled: true
mime-types: text/html,text/css,application/javascript,application/json
spring:
mvc:
async:
request-timeout: 3600000 # 60 * 60 * 1000 = 1 hour
timebase:
url: dxtick://localhost:8011
readonly: false
flushPeriodMs: 500
user:
password:
streams:
include:
exclude: \#$ && \^metrics#
currencies:
grafana:
pluginsPackages:
- com.epam.deltix.grafana
enabled: true
streams:
include: .*
exclude:
security:
oauth2:
provider:
providerType: BUILT_IN_OAUTH # valid values: EXTERNAL_OAUTH, BUILT_IN_OAUTH, SSO
clientId: web
oauthServer: server URL
getTokenEndpoint: /oauth/token
checkTokenEndpoint: /oauth/check
clientId: web
secret: secret
authorizedGrantTypes:
- password
- refresh_token
users:
- username: admin
password: password
authorities: [TB_ALLOW_READ, TB_ALLOW_WRITE]
- username: test
password: password
authorities: [TB_ALLOW_READ, TB_ALLOW_WRITE]
scopes:
- trust
accessTokenValiditySeconds: 300 # 5 min
refreshTokenValiditySeconds: 86400 # one day
privateKey: |
-----BEGIN RSA PRIVATE KEY-----
<RSA private key>
-----END RSA PRIVATE KEY-----
publicKey: |
<RSA public key>