Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
ddms-h2-service-slave
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arie Valdano
ddms-h2-service-slave
Commits
167f66c7
Commit
167f66c7
authored
Mar 13, 2025
by
Arie Valdano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIXING : Organize Application Properties Setup
parent
d9509348
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
13 deletions
+47
-13
application-dev.properties
src/main/resources/application-dev.properties
+13
-7
application-prod.properties
src/main/resources/application-prod.properties
+30
-5
application.properties
src/main/resources/application.properties
+4
-1
No files found.
src/main/resources/application-dev.properties
View file @
167f66c7
server.port
=
8081
# DATABASE - POSTGRE
#-----------------------------------------------------------------------------------------------------------------------
## Host, Username and Password Setup
spring.datasource.url
=
jdbc:postgresql://localhost:5432/postgres
spring.datasource.username
=
postgres
spring.datasource.password
=
password.1
## System Config
spring.jpa.generate-ddl
=
false
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.properties.hibernate.dialect
=
org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.format_sql
=
true
logging.level.org.hibernate.SQL
=
DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder
=
TRACE
ddms.auth.token
=
Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiJ9.5BG9SEVOGo_xRhtT8IkyoSy60kPg8HM9Vpvb0TdNew4
# SERVICE - SPRINGBOOT
#-----------------------------------------------------------------------------------------------------------------------
## POINTING
##
##
##
#
Kafka Config
#-----------------------------------------------------------------------
#
KAFKA
#-----------------------------------------------------------------------
------------------------------------------------
# Kafka Bootstrap Server
spring.kafka.bootstrap-servers
=
localhost:9092
...
...
src/main/resources/application-prod.properties
View file @
167f66c7
server.port
=
8081
# DATABASE - POSTGRE
#-----------------------------------------------------------------------------------------------------------------------
## Host, Username and Password Setup
spring.datasource.url
=
jdbc:postgresql://localhost:5432/postgres
spring.datasource.username
=
postgres
spring.datasource.password
=
password.1
## System Config
spring.jpa.generate-ddl
=
false
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.properties.hibernate.dialect
=
org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.format_sql
=
true
logging.level.org.hibernate.SQL
=
ERROR
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
logging.level.org.hibernate.SQL
=
DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder
=
TRACE
# SERVICE - SPRINGBOOT
#-----------------------------------------------------------------------------------------------------------------------
## POINTING
##
##
##
# KAFKA
#-----------------------------------------------------------------------------------------------------------------------
# Kafka Bootstrap Server
spring.kafka.bootstrap-servers
=
localhost:9092
# Kafka Producer Configuration
spring.kafka.producer.key-serializer
=
org.apache.kafka.common.serialization.StringSerializer
spring.kafka.producer.value-serializer
=
org.apache.kafka.common.serialization.StringSerializer
# Kafka Consumer Configuration
spring.kafka.consumer.group-id
=
my-group
spring.kafka.consumer.auto-offset-reset
=
earliest
spring.kafka.consumer.key-deserializer
=
org.apache.kafka.common.serialization.StringDeserializer
spring.kafka.consumer.value-deserializer
=
org.apache.kafka.common.serialization.StringDeserializer
# Kafka Topic Name
kafka.topic.name
=
pipeline-topic
\ No newline at end of file
src/main/resources/application.properties
View file @
167f66c7
#please define with dev-prod for profiles below
#
please define with dev-prod for profiles below
spring.profiles.active
=
dev
server.port
=
8081
ddms.auth.token
=
Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiJ9.5BG9SEVOGo_xRhtT8IkyoSy60kPg8HM9Vpvb0TdNew4
...
...
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