Gitlab - Argos ALM by PALO IT
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-poc-code-engine-tc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alberto Apodaca
car-poc-code-engine-tc
Commits
63f539b9
Commit
63f539b9
authored
Jul 27, 2023
by
Miguel Galindo Rodriguez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move properties to let devops configure mongo and kafka
parent
b4b96743
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
49 deletions
+13
-49
src/main/resources/application-local.properties
src/main/resources/application-local.properties
+3
-37
src/main/resources/application.properties
src/main/resources/application.properties
+10
-12
No files found.
src/main/resources/application-local.properties
View file @
63f539b9
server.port
=
9098
#Mongo configurations
spring.data.mongodb.database
=
carrefur-database
spring.data.mongodb.host
=
localhost
...
...
@@ -7,40 +9,4 @@ spring.data.mongodb.password=myPasswordMongo21c
spring.data.mongodb.authentication-database
=
admin
#Kafka configurations stream
spring.cloud.stream.kafka.binder.brokers
=
localhost:9092
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
spring.cloud.stream.kafka.binder.brokers
=
localhost:9092
\ No newline at end of file
src/main/resources/application.properties
View file @
63f539b9
#Mongo configurations
spring.data.mongodb.database
=
carrefur-database
spring.data.mongodb.host
=
${DB_HOSTNAME:56e4dce3-cd7e-481e-a150-d52b47dadebb-0.blijtlfd05jdimoomdig.databases.appdomain.cloud}
spring.data.mongodb.port
=
${DB_PORT:30301}
spring.data.mongodb.username
=
${USERNAME}
spring.data.mongodb.password
=
${PASSWORD}
spring.data.mongodb.authentication-database
=
admin
spring.application.name
=
@project.artifactId@
server.shutdown
=
graceful
spring.jmx.enabled
=
false
#Actuator
management.endpoints.jmx.exposure.exclude
=
*
...
...
@@ -18,15 +14,17 @@ management.endpoint.health.show-components=always
management.endpoint.health.show-details
=
always
#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
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
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment