Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 29 additions & 18 deletions iam-voms-aa/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,32 +15,43 @@
#

server:
address: localhost
port: 15000
address: 0.0.0.0
port: 8080
use-forward-headers: true
max-http-header-size: 16000



spring:
flyway:
table: schema_version

main:
banner-mode: "off"
allow-circular-references: true
banner-mode: "off"

jpa:
open-in-view: false
open-in-view: true

datasource:
dataSourceClassName: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
url: jdbc:mysql://${IAM_DB_HOST}:${IAM_DB_PORT:3306}/${IAM_DB_NAME}?useLegacyDatetimeCode=false&serverTimezone=UTC&useSSL=false
username: ${IAM_DB_USERNAME}
password: ${IAM_DB_PASSWORD}
max-active: ${IAM_DB_MAX_ACTIVE:10}
max-idle: ${IAM_DB_MAX_IDLE:5}
initial-size: ${IAM_DB_INITIAL_SIZE:1}
test-while-idle: ${IAM_DB_TEST_WHILE_IDLE:true}
test-on-borrow: ${IAM_DB_TEST_ON_BORROW:true}
validation-query: ${IAM_DB_VALIDATION_QUERY:SELECT 1}
time-between-eviction-runs-millis: ${IAM_DB_TIME_BETWEEN_EVICTION_RUNS_MILLIS:5000}
min-evictable-idle-time-millis: ${IAM_DB_MIN_EVICTABLE_IDLE_TIME_MILLIS:60000}

flyway:
enabled: false

voms:
tls:
certificate-path: /etc/grid-security/voms/hostcert.pem
private-key-path: /etc/grid-security/voms/hostkey.pem
certificate-path: /certs/hostcert.pem
private-key-path: /certs/hostkey.pem
trust-anchors-dir: /etc/grid-security/certificates
trust-anchors-refresh-interval-secs: 14400
aa:
host: ${server.address}
port: ${server.port}
vo-name: test
optional-group-label: wlcg.optional-group
voms-role-label: voms.role
use-legacy-fqan-encoding: false
host: ${VOMS_AA_HOST:undefined}
port: ${VOMS_AA_PORT:undefined}
vo-name: ${VOMS_AA_VO:undefined}
use-legacy-fqan-encoding: ${VOMS_AA_USE_LEGACY_FQAN_ENCODING:true}
Loading