Gitlab - Argos ALM by PALO IT

Move properties to let devops configure mongo and kafka

parent b4b96743
server.port=9098
#Mongo configurations #Mongo configurations
spring.data.mongodb.database=carrefur-database spring.data.mongodb.database=carrefur-database
spring.data.mongodb.host=localhost spring.data.mongodb.host=localhost
...@@ -8,39 +10,3 @@ spring.data.mongodb.authentication-database=admin ...@@ -8,39 +10,3 @@ spring.data.mongodb.authentication-database=admin
#Kafka configurations stream #Kafka configurations stream
spring.cloud.stream.kafka.binder.brokers=localhost:9092 spring.cloud.stream.kafka.binder.brokers=localhost:9092
\ No newline at end of file
spring.cloud.function.definition=measureConsumer
#Producer
spring.cloud.stream.bindings.measureProducer.destination=measure
#Consumer
#spring.cloud.stream.bindings.measureConsumer-in-0.destination=measure
#spring.cloud.stream.bindings.measureConsumer-in-0.group=measureGroup
#Actuator
management.endpoints.jmx.exposure.exclude=*
management.endpoints.web.exposure.include=health,info,metrics,prometheus
management.info.git.enabled=true
management.info.java.enabled=true
management.info.os.enabled=true
# If it has security preferred when-authorized
management.endpoint.health.show-components=always
management.endpoint.health.show-details=always
#server configurations
server.port=9098
#logging
logging.pattern.level: "%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]"
spring.application.name=@project.artifactId@
server.shutdown=graceful
spring.jmx.enabled=false
# Web
spring.jackson.default-property-inclusion=non_empty
spring.jackson.visibility.field=any
spring.jackson.visibility.getter=none
spring.jackson.visibility.setter=none
spring.jackson.visibility.is-getter=none
\ No newline at end of file
#Mongo configurations spring.application.name=@project.artifactId@
spring.data.mongodb.database=carrefur-database server.shutdown=graceful
spring.data.mongodb.host=${DB_HOSTNAME:56e4dce3-cd7e-481e-a150-d52b47dadebb-0.blijtlfd05jdimoomdig.databases.appdomain.cloud} spring.jmx.enabled=false
spring.data.mongodb.port=${DB_PORT:30301}
spring.data.mongodb.username=${USERNAME}
spring.data.mongodb.password=${PASSWORD}
spring.data.mongodb.authentication-database=admin
#Actuator #Actuator
management.endpoints.jmx.exposure.exclude=* management.endpoints.jmx.exposure.exclude=*
...@@ -18,11 +14,8 @@ management.endpoint.health.show-components=always ...@@ -18,11 +14,8 @@ management.endpoint.health.show-components=always
management.endpoint.health.show-details=always management.endpoint.health.show-details=always
#logging #logging
logging.pattern.level: "%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]" logging.pattern.level=%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}]
spring.application.name=@project.artifactId@
server.shutdown=graceful
spring.jmx.enabled=false
# Web # Web
spring.jackson.default-property-inclusion=non_empty spring.jackson.default-property-inclusion=non_empty
...@@ -30,3 +23,8 @@ spring.jackson.visibility.field=any ...@@ -30,3 +23,8 @@ spring.jackson.visibility.field=any
spring.jackson.visibility.getter=none spring.jackson.visibility.getter=none
spring.jackson.visibility.setter=none spring.jackson.visibility.setter=none
spring.jackson.visibility.is-getter=none spring.jackson.visibility.is-getter=none
spring.cloud.function.definition=measureConsumer
#Producer
spring.cloud.stream.bindings.measureProducer.destination=measure
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment