diff --git a/iam-voms-aa/src/main/resources/application.yml b/iam-voms-aa/src/main/resources/application.yml index b17c6bfe60..86659a7913 100644 --- a/iam-voms-aa/src/main/resources/application.yml +++ b/iam-voms-aa/src/main/resources/application.yml @@ -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 \ No newline at end of file + 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}