application.properties 980 Bytes
Newer Older
Riabokon Stanislav(EPAM)[GCP]'s avatar
Riabokon Stanislav(EPAM)[GCP] committed
1
server.servlet.contextPath=/api/backup/v1
Rustam Lotsmanenko (EPAM)'s avatar
Rustam Lotsmanenko (EPAM) committed
2
server.port=8080
3

Rustam Lotsmanenko (EPAM)'s avatar
Rustam Lotsmanenko (EPAM) committed
4
logging.level.org.springframework=INFO
5
logging.level.org.springframework.boot.autoconfigure=INFO
Rustam Lotsmanenko (EPAM)'s avatar
Rustam Lotsmanenko (EPAM) committed
6
log.prefix=backup
7
8

#Core
Rustam Lotsmanenko (EPAM)'s avatar
Rustam Lotsmanenko (EPAM) committed
9
osdu.entitlements.url=https://os-entitlements-gcp-jvmvia5dea-uc.a.run.app/entitlements/v1
10
11

#Scheduler configuration
12
13
osdu.scheduler.tear-down-time-unit=hours
osdu.scheduler.tear-down-period=24
14
osdu.scheduler.backup-time-unit=hours
Rustam Lotsmanenko (EPAM)'s avatar
Rustam Lotsmanenko (EPAM) committed
15
osdu.scheduler.initial-delay=1
16
17
18
19
20

#GCP
gcp.backup-bucket=osdu-cicd-epam-backup-service
gcp.project-id=osdu-cicd-epam

21
spring.cloud.gcp.datastore.namespace=opendes
22
23
24
25
spring.cloud.gcp.sql.databaseName=postgres
spring.cloud.gcp.sql.instanceConnectionName=osdu-cicd-epam:us-central1:test-postgre

gcp.sql-backup-kind=sql#backupRun
Rustam Lotsmanenko (EPAM)'s avatar
Rustam Lotsmanenko (EPAM) committed
26
27
gcp.sql-restore-backup-kind=sql#restoreBackupContext

28
29
30
31
32
33
LOG_PREFIX=${log.prefix}

GOOGLE_AUDIENCES=.apps.googleusercontent.com
PARTITION_API=http://localhsot:8080/api/partition/v1
partition.api=${PARTITION_API}
google.audiences=${GOOGLE_AUDIENCES}