Skip to content

Commit

Permalink
adds linux endings for properties file
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Jan 5, 2025
1 parent 44482cc commit 954ed9e
Show file tree
Hide file tree
Showing 13 changed files with 193 additions and 192 deletions.
3 changes: 2 additions & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.xml text eol=lf
*.yaml text eol=lf
*.yaml text eol=lf
*.properties text eol=lf
12 changes: 6 additions & 6 deletions boot-grafana-lgtm/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
spring.application.name=boot-grafana-lgtm
spring.threads.virtual.enabled=true

management.endpoints.web.exposure.include=env,health,info,logfile,loggers,metrics,prometheus
management.tracing.sampling.probability=1.0
management.prometheus.metrics.export.step=1s
management.metrics.distribution.percentiles-histogram.all=true
spring.threads.virtual.enabled=true

management.endpoints.web.exposure.include=env,health,info,logfile,loggers,metrics,prometheus
management.tracing.sampling.probability=1.0
management.prometheus.metrics.export.step=1s
management.metrics.distribution.percentiles-histogram.all=true
management.metrics.distribution.percentiles-histogram.http.server.requests=true
108 changes: 54 additions & 54 deletions boot-rabbitmq-thymeleaf/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
spring.application.name=boot-rabbitmq-thymeleaf

logging.level.com.poc.boot.rabbitmq=debug

# Additional RabbitMQ properties
spring.rabbitmq.publisher-confirmType=CORRELATED
spring.rabbitmq.publisher-returns=true

spring.rabbitmq.listener.simple.concurrency=4
spring.rabbitmq.listener.simple.max-concurrency=8
spring.rabbitmq.listener.simple.retry.enabled=true
spring.rabbitmq.listener.simple.retry.initial-interval=1s
spring.rabbitmq.listener.simple.retry.max-attempts=3
spring.rabbitmq.listener.simple.retry.multiplier=1.5
spring.rabbitmq.listener.simple.retry.max-interval=2s
spring.rabbitmq.listener.simple.acknowledge-mode=auto
spring.rabbitmq.listener.simple.observation-enabled=true

spring.rabbitmq.template.retry.enabled=true
spring.rabbitmq.template.retry.multiplier=1.5
spring.rabbitmq.template.mandatory=true
spring.rabbitmq.template.observation-enabled=true

spring.mvc.problemdetails.enabled=true
spring.threads.virtual.enabled=true

spring.testcontainers.beans.startup=parallel

################ Actuator #####################
management.endpoints.web.exposure.include=health,info,metrics,prometheus
management.endpoint.health.show-details=always
management.metrics.tags.application=${spring.application.name}
management.metrics.enable.spring.rabbitmq=true

################ Database #####################
spring.jpa.show-sql=false
spring.jpa.open-in-view=false
spring.data.jpa.repositories.bootstrap-mode=deferred
spring.datasource.hikari.auto-commit=false
spring.datasource.hikari.pool-name=HikariPool-${spring.application.name}
spring.datasource.hikari.data-source-properties.ApplicationName=${spring.application.name}
spring.jpa.hibernate.ddl-auto=validate
#spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
spring.jpa.properties.hibernate.generate_statistics=false
spring.jpa.properties.hibernate.jdbc.batch_size=25
spring.jpa.properties.hibernate.order_inserts=true
spring.jpa.properties.hibernate.order_updates=true
spring.jpa.properties.hibernate.query.fail_on_pagination_over_collection_fetch=true
spring.jpa.properties.hibernate.query.in_clause_parameter_padding=true
spring.jpa.properties.hibernate.query.plan_cache_max_size=4096
spring.jpa.properties.hibernate.connection.provider_disables_autocommit=true
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true

spring.application.name=boot-rabbitmq-thymeleaf

logging.level.com.poc.boot.rabbitmq=debug

# Additional RabbitMQ properties
spring.rabbitmq.publisher-confirmType=CORRELATED
spring.rabbitmq.publisher-returns=true

spring.rabbitmq.listener.simple.concurrency=4
spring.rabbitmq.listener.simple.max-concurrency=8
spring.rabbitmq.listener.simple.retry.enabled=true
spring.rabbitmq.listener.simple.retry.initial-interval=1s
spring.rabbitmq.listener.simple.retry.max-attempts=3
spring.rabbitmq.listener.simple.retry.multiplier=1.5
spring.rabbitmq.listener.simple.retry.max-interval=2s
spring.rabbitmq.listener.simple.acknowledge-mode=auto
spring.rabbitmq.listener.simple.observation-enabled=true

spring.rabbitmq.template.retry.enabled=true
spring.rabbitmq.template.retry.multiplier=1.5
spring.rabbitmq.template.mandatory=true
spring.rabbitmq.template.observation-enabled=true

spring.mvc.problemdetails.enabled=true
spring.threads.virtual.enabled=true

spring.testcontainers.beans.startup=parallel

################ Actuator #####################
management.endpoints.web.exposure.include=health,info,metrics,prometheus
management.endpoint.health.show-details=always
management.metrics.tags.application=${spring.application.name}
management.metrics.enable.spring.rabbitmq=true

################ Database #####################
spring.jpa.show-sql=false
spring.jpa.open-in-view=false
spring.data.jpa.repositories.bootstrap-mode=deferred
spring.datasource.hikari.auto-commit=false
spring.datasource.hikari.pool-name=HikariPool-${spring.application.name}
spring.datasource.hikari.data-source-properties.ApplicationName=${spring.application.name}
spring.jpa.hibernate.ddl-auto=validate
#spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
spring.jpa.properties.hibernate.generate_statistics=false
spring.jpa.properties.hibernate.jdbc.batch_size=25
spring.jpa.properties.hibernate.order_inserts=true
spring.jpa.properties.hibernate.order_updates=true
spring.jpa.properties.hibernate.query.fail_on_pagination_over_collection_fetch=true
spring.jpa.properties.hibernate.query.in_clause_parameter_padding=true
spring.jpa.properties.hibernate.query.plan_cache_max_size=4096
spring.jpa.properties.hibernate.connection.provider_disables_autocommit=true
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
spring.data.redis.cluster.nodes=localhost:7000,localhost:7001,localhost:7002
spring.data.redis.cluster.max-redirects=2
spring.data.redis.lettuce.cluster.refresh.adaptive=true
spring.data.redis.cluster.nodes=localhost:7000,localhost:7001,localhost:7002
spring.data.redis.cluster.max-redirects=2
spring.data.redis.lettuce.cluster.refresh.adaptive=true
10 changes: 5 additions & 5 deletions boot-ultimate-redis/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cache.timeout=60
cache.cacheExpirations.myControlledCache=180

spring.mvc.problemdetails.enabled=true
spring.threads.virtual.enabled=true
cache.timeout=60
cache.cacheExpirations.myControlledCache=180

spring.mvc.problemdetails.enabled=true
spring.threads.virtual.enabled=true
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
spring.application.name=boot-restclient

spring.mvc.problemdetails.enabled=true
spring.threads.virtual.enabled=true

application.external-call-url=https://jsonplaceholder.typicode.com

spring.http.client.factory=jdk
spring.http.client.connect-timeout=PT30S
spring.http.client.read-timeout=PT1M
spring.application.name=boot-restclient

spring.mvc.problemdetails.enabled=true
spring.threads.virtual.enabled=true

application.external-call-url=https://jsonplaceholder.typicode.com

spring.http.client.factory=jdk
spring.http.client.connect-timeout=PT30S
spring.http.client.read-timeout=PT1M
60 changes: 30 additions & 30 deletions jpa/boot-jpa-jooq-sample/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
spring.application.name=boot-jpa-jooq-sample
server.port=8080
server.shutdown=graceful
spring.jmx.enabled=false
spring.mvc.problemdetails.enabled=true

################ Actuator #####################
management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,metrics,prometheus
management.endpoint.health.access=read_only

################ Database #####################
spring.jpa.show-sql=false
spring.jpa.open-in-view=false
spring.data.jpa.repositories.bootstrap-mode=deferred
spring.datasource.hikari.auto-commit=false
spring.datasource.hikari.pool-name=HikariPool-${spring.application.name}
spring.datasource.hikari.data-source-properties.ApplicationName=${spring.application.name}
spring.jpa.hibernate.ddl-auto=none
#spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
spring.jpa.properties.hibernate.generate_statistics=false
spring.jpa.properties.hibernate.jdbc.batch_size=25
spring.jpa.properties.hibernate.order_inserts=true
spring.jpa.properties.hibernate.order_updates=true
spring.jpa.properties.hibernate.query.fail_on_pagination_over_collection_fetch=true
spring.jpa.properties.hibernate.query.in_clause_parameter_padding=true
spring.jpa.properties.hibernate.query.plan_cache_max_size=4096
spring.jpa.properties.hibernate.connection.provider_disables_autocommit=true
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
spring.threads.virtual.enabled=true
spring.application.name=boot-jpa-jooq-sample
server.port=8080
server.shutdown=graceful
spring.jmx.enabled=false
spring.mvc.problemdetails.enabled=true

################ Actuator #####################
management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,metrics,prometheus
management.endpoint.health.access=read_only

################ Database #####################
spring.jpa.show-sql=false
spring.jpa.open-in-view=false
spring.data.jpa.repositories.bootstrap-mode=deferred
spring.datasource.hikari.auto-commit=false
spring.datasource.hikari.pool-name=HikariPool-${spring.application.name}
spring.datasource.hikari.data-source-properties.ApplicationName=${spring.application.name}
spring.jpa.hibernate.ddl-auto=none
#spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
spring.jpa.properties.hibernate.generate_statistics=false
spring.jpa.properties.hibernate.jdbc.batch_size=25
spring.jpa.properties.hibernate.order_inserts=true
spring.jpa.properties.hibernate.order_updates=true
spring.jpa.properties.hibernate.query.fail_on_pagination_over_collection_fetch=true
spring.jpa.properties.hibernate.query.in_clause_parameter_padding=true
spring.jpa.properties.hibernate.query.plan_cache_max_size=4096
spring.jpa.properties.hibernate.connection.provider_disables_autocommit=true
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true
spring.threads.virtual.enabled=true
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5432/appdb
spring.datasource.username=appuser
spring.datasource.password=secret

spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://localhost:5432/appdb
spring.datasource.username=appuser
spring.datasource.password=secret

Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
spring.application.name=boot-data-window-paginiation
server.port=8080
server.shutdown=graceful
spring.jmx.enabled=false
spring.mvc.problemdetails.enabled=true
spring.threads.virtual.enabled=true

################ Actuator #####################
management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,metrics,prometheus
management.endpoint.health.show-details=always

################ Database #####################
spring.jpa.show-sql=false
spring.jpa.open-in-view=false
spring.data.jpa.repositories.bootstrap-mode=deferred
spring.datasource.hikari.auto-commit=false
spring.datasource.hikari.data-source-properties.ApplicationName=${spring.application.name}
spring.jpa.hibernate.ddl-auto=none
#spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
spring.jpa.properties.hibernate.generate_statistics=false
spring.jpa.properties.hibernate.jdbc.batch_size=25
spring.jpa.properties.hibernate.order_inserts=true
spring.jpa.properties.hibernate.order_updates=true
spring.jpa.properties.hibernate.query.fail_on_pagination_over_collection_fetch=true
spring.jpa.properties.hibernate.query.in_clause_parameter_padding=true
spring.jpa.properties.hibernate.query.plan_cache_max_size=4096
spring.jpa.properties.hibernate.connection.provider_disables_autocommit=true
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true

jdbc.datasource-proxy.query.enable-logging=true
jdbc.datasource-proxy.logging=slf4j
jdbc.datasource-proxy.include-parameter-values=true
jdbc.datasource-proxy.query.logger-name=query-logger

spring.application.name=boot-data-window-paginiation
server.port=8080
server.shutdown=graceful
spring.jmx.enabled=false
spring.mvc.problemdetails.enabled=true
spring.threads.virtual.enabled=true

################ Actuator #####################
management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,metrics,prometheus
management.endpoint.health.show-details=always

################ Database #####################
spring.jpa.show-sql=false
spring.jpa.open-in-view=false
spring.data.jpa.repositories.bootstrap-mode=deferred
spring.datasource.hikari.auto-commit=false
spring.datasource.hikari.data-source-properties.ApplicationName=${spring.application.name}
spring.jpa.hibernate.ddl-auto=none
#spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.jdbc.time_zone=UTC
spring.jpa.properties.hibernate.generate_statistics=false
spring.jpa.properties.hibernate.jdbc.batch_size=25
spring.jpa.properties.hibernate.order_inserts=true
spring.jpa.properties.hibernate.order_updates=true
spring.jpa.properties.hibernate.query.fail_on_pagination_over_collection_fetch=true
spring.jpa.properties.hibernate.query.in_clause_parameter_padding=true
spring.jpa.properties.hibernate.query.plan_cache_max_size=4096
spring.jpa.properties.hibernate.connection.provider_disables_autocommit=true
spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true

jdbc.datasource-proxy.query.enable-logging=true
jdbc.datasource-proxy.logging=slf4j
jdbc.datasource-proxy.include-parameter-values=true
jdbc.datasource-proxy.query.logger-name=query-logger

18 changes: 9 additions & 9 deletions open-api-spring-boot/src/main/resources/application.properties
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
server.port=8080

## When using Feign
#customerController.url=http://localhost:8081
## When deployed in server, provide correct URL
#openapi.springBootJpaCustomsequence.base-path=http://localhost:8081

spring.jackson.date-format=org.openapitools.RFC3339DateFormat
server.port=8080

## When using Feign
#customerController.url=http://localhost:8081
## When deployed in server, provide correct URL
#openapi.springBootJpaCustomsequence.base-path=http://localhost:8081

spring.jackson.date-format=org.openapitools.RFC3339DateFormat
spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false
spring.threads.virtual.enabled=true
spring.threads.virtual.enabled=true
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
spring.application.name=boot-r2dbc-reactive-cache
spring.application.name=boot-r2dbc-reactive-cache
spring.jmx.enabled=false
spring.threads.virtual.enabled=true
spring.webflux.problemdetails.enabled=true

server.port=8080
server.shutdown=graceful

################ Actuator #####################
management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,metrics,prometheus
management.endpoint.health.show-details=always

spring.flyway.locations=classpath:/db/migration/{vendor}

###### Docker Compose Configuration ######
spring.docker.compose.lifecycle-management=start_and_stop
spring.docker.compose.file=${user.dir}/r2dbc/boot-reactive-cache/compose.yaml
spring.docker.compose.skip.in-tests=true
#spring.docker.compose.profiles.active=dev
spring.threads.virtual.enabled=true
spring.webflux.problemdetails.enabled=true

server.port=8080
server.shutdown=graceful

################ Actuator #####################
management.endpoints.web.exposure.include=configprops,env,health,info,logfile,loggers,metrics,prometheus
management.endpoint.health.show-details=always

spring.flyway.locations=classpath:/db/migration/{vendor}

###### Docker Compose Configuration ######
spring.docker.compose.lifecycle-management=start_and_stop
spring.docker.compose.file=${user.dir}/r2dbc/boot-reactive-cache/compose.yaml
spring.docker.compose.skip.in-tests=true
#spring.docker.compose.profiles.active=dev
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
spring.r2dbc.url=r2dbc:postgresql://localhost:5432/appdb?maxIdleTime=PT60S
spring.r2dbc.username=appuser
spring.r2dbc.password=secret

#liquibase
spring.liquibase.url=jdbc:postgresql://localhost:5432/appdb?maxIdleTime=PT60S
spring.liquibase.user=${spring.r2dbc.username}
spring.r2dbc.url=r2dbc:postgresql://localhost:5432/appdb?maxIdleTime=PT60S
spring.r2dbc.username=appuser
spring.r2dbc.password=secret

#liquibase
spring.liquibase.url=jdbc:postgresql://localhost:5432/appdb?maxIdleTime=PT60S
spring.liquibase.user=${spring.r2dbc.username}
spring.liquibase.password=${spring.r2dbc.password}
Loading

0 comments on commit 954ed9e

Please sign in to comment.