-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.yml
44 lines (39 loc) · 1.41 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
server:
port: 8080
error:
include-stacktrace: never
spring:
application:
name: vas-payment-api-client
jackson:
serialization.write_dates_as_timestamps: false
default-property-inclusion: non_null
datasource:
type: com.zaxxer.hikari.HikariDataSource
url: jdbc:postgresql://localhost:5432/postgres
username: test
password: test
jpa:
open-in-view: true
show_sql: false
hibernate:
ddl-auto: validate
properties:
hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect
hibernate:
temp:
use_jdbc_metadata_defaults: false
application:
vas-payment-server-api:
base-url: "${VAS_PAYMENT_SERVER_API_URL:https://stage-evc.payex.com/payment-api/api/payments}"
api-timeout: 20000
api-key: "${API_KEY:Systemtest}" # Used for HMAC (provided by Swedbank Pay)
api-secret: "${API_SECRET:Systemtest}" # Used for HMAC (provided by Swedbank Pay)
vas-payment-api:
oauth2:
client:
grantType: client_credentials
clientId: "${CLIENT_ID:systemtest}" # Provided by Swedbank Pay
clientSecret: "${CLIENT_SECRET:systemtest}" # Provided by Swedbank Pay
accessTokenUri: "${VAS_AUTH_SERVER_URL:https://stage-evc.payex.com/authorization/oauth/token}"
scope: publicapi