Skip to content

Commit

Permalink
polish local properties
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Dec 26, 2024
1 parent b575f9e commit d462b30
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
spring.rabbitmq.password=guest

Check failure

Code scanning / SonarCloud

Credentials should not be hard-coded High

Revoke and change this password, as it is compromised. See more on SonarQube Cloud

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

Check failure

Code scanning / SonarCloud

Credentials should not be hard-coded High

Revoke and change this password, as it is compromised. See more on SonarQube Cloud
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
spring.application.name=boot-rabbitmq-theymeleaf
spring.application.name=boot-rabbitmq-thymeleaf

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

#spring.rabbitmq.host=localhost
#spring.rabbitmq.port=5672
#spring.rabbitmq.username=guest
#spring.rabbitmq.password=guest

# Additional RabbitMQ properties
spring.rabbitmq.publisher-confirmType=CORRELATED
spring.rabbitmq.listener.simple.retry.enabled=true
Expand All @@ -19,15 +14,15 @@ 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=5
spring.rabbitmq.template.retry.multiplier=2

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

spring.testcontainers.beans.startup=parallel

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

################ Database #####################
Expand Down

0 comments on commit d462b30

Please sign in to comment.