Skip to content

Commit

Permalink
update yml indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bdegraaf1234 committed Nov 8, 2023
1 parent 01c1292 commit dc2f453
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 194 deletions.
14 changes: 7 additions & 7 deletions src/main/resources/config/application-e2e-prod-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
# ===================================================================

spring:
profiles:
active: prod,api-docs,e2e-prod-test
datasource:
username: radarbase
password: radarbase
liquibase:
contexts: dev
profiles:
active: prod,api-docs,e2e-prod-test
datasource:
username: radarbase
password: radarbase
liquibase:
contexts: dev
160 changes: 80 additions & 80 deletions src/main/resources/config/application-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,46 +13,46 @@
# http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html
# ===================================================================
spring:
devtools:
restart:
enabled: false
livereload:
enabled: false
datasource:
type: com.zaxxer.hikari.HikariDataSource
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/managementportal
# name: managementportal
# username: radarbase
# password: radarbase
# hikari:
# data-source-properties:
# cachePrepStmts: true
# prepStmtCacheSize: 250
# prepStmtCacheSqlLimit: 2048
# useServerPrepStmts: true
jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect
database: POSTGRESQL
show-sql: false
properties:
hibernate.id.new_generator_mappings: true
hibernate.cache.use_second_level_cache: true
hibernate.cache.use_query_cache: false
hibernate.generate_statistics: false
hibernate.cache.region.factory_class: com.hazelcast.hibernate.HazelcastCacheRegionFactory
hibernate.cache.hazelcast.instance_name: ManagementPortal
hibernate.cache.use_minimal_puts: true
hibernate.cache.hazelcast.use_lite_member: true
mail:
host: smtp
port: 25
protocol: smtp
properties.mail.smtp:
auth: false
starttls.enable: false
thymeleaf:
cache: true
devtools:
restart:
enabled: false
livereload:
enabled: false
datasource:
type: com.zaxxer.hikari.HikariDataSource
driverClassName: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/managementportal
# name: managementportal
# username: radarbase
# password: radarbase
# hikari:
# data-source-properties:
# cachePrepStmts: true
# prepStmtCacheSize: 250
# prepStmtCacheSqlLimit: 2048
# useServerPrepStmts: true
jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect
database: POSTGRESQL
show-sql: false
properties:
hibernate.id.new_generator_mappings: true
hibernate.cache.use_second_level_cache: true
hibernate.cache.use_query_cache: false
hibernate.generate_statistics: false
hibernate.cache.region.factory_class: com.hazelcast.hibernate.HazelcastCacheRegionFactory
hibernate.cache.hazelcast.instance_name: ManagementPortal
hibernate.cache.use_minimal_puts: true
hibernate.cache.hazelcast.use_lite_member: true
mail:
host: smtp
port: 25
protocol: smtp
properties.mail.smtp:
auth: false
starttls.enable: false
thymeleaf:
cache: true

# ===================================================================
# To enable SSL, generate a certificate using:
Expand All @@ -72,40 +72,40 @@ spring:
# keyAlias: ManagementPortal
# ===================================================================
server:
port: 8080
servlet:
context-path: /managementportal
session:
cookie:
path: /
port: 8080
servlet:
context-path: /managementportal
session:
cookie:
path: /


# ===================================================================
# ManagementPortal specific properties
#
# ===================================================================
managementportal:
common:
baseUrl: http://my-server-url-to-change-here # Modify according to your server's URL
managementPortalBaseUrl: http://localhost:8080/managementportal
privacyPolicyUrl: http://info.thehyve.nl/radar-cns-privacy-policy
adminPassword:
activationKeyTimeoutInSeconds: 86400
mail: # specific JHipster mail property, for standard properties see MailProperties
from: ManagementPortal@localhost
frontend:
clientId: ManagementPortalapp
clientSecret:
accessTokenValiditySeconds: 14400
refreshTokenValiditySeconds: 259200
sessionTimeout : 86400
oauth:
clientsFile: /mp-includes/config/oauth_client_details.csv
metaTokenTimeout: PT1H #timeout should be specified as the ISO-8601 duration format {@code PnDTnHnMn.nS}.
persistentMetaTokenTimeout: P31D #timeout should be specified as the ISO-8601 duration format {@code PnDTnHnMn.nS}.
catalogueServer:
enableAutoImport: false
serverUrl:
common:
baseUrl: http://my-server-url-to-change-here # Modify according to your server's URL
managementPortalBaseUrl: http://localhost:8080/managementportal
privacyPolicyUrl: http://info.thehyve.nl/radar-cns-privacy-policy
adminPassword:
activationKeyTimeoutInSeconds: 86400
mail: # specific JHipster mail property, for standard properties see MailProperties
from: ManagementPortal@localhost
frontend:
clientId: ManagementPortalapp
clientSecret:
accessTokenValiditySeconds: 14400
refreshTokenValiditySeconds: 259200
sessionTimeout: 86400
oauth:
clientsFile: /mp-includes/config/oauth_client_details.csv
metaTokenTimeout: PT1H #timeout should be specified as the ISO-8601 duration format {@code PnDTnHnMn.nS}.
persistentMetaTokenTimeout: P31D #timeout should be specified as the ISO-8601 duration format {@code PnDTnHnMn.nS}.
catalogueServer:
enableAutoImport: false
serverUrl:

# ===================================================================
# JHipster specific properties
Expand All @@ -114,19 +114,19 @@ managementportal:
# ===================================================================

jhipster:
http:
cache: # Used by the CachingHttpHeadersFilter
timeToLiveInDays: 1461
cache: # Cache configuration
hazelcast: # Hazelcast distributed cache
time-to-live-seconds: 3600
backup-count: 1
logging:
logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
enabled: false
host: localhost
port: 5000
queue-size: 512
http:
cache: # Used by the CachingHttpHeadersFilter
timeToLiveInDays: 1461
cache: # Cache configuration
hazelcast: # Hazelcast distributed cache
time-to-live-seconds: 3600
backup-count: 1
logging:
logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration
enabled: false
host: localhost
port: 5000
queue-size: 512

# ===================================================================
# Application specific properties
Expand Down
Loading

0 comments on commit dc2f453

Please sign in to comment.