Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
ddms-h3-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-h3-service-slave
Commits
3ed1f3cc
Commit
3ed1f3cc
authored
Mar 17, 2025
by
Arie Valdano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
FIXING : Setup application properties
parent
aa7cf412
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
62 additions
and
42 deletions
+62
-42
application-dev.properties
src/main/resources/application-dev.properties
+28
-30
application-prod.properties
src/main/resources/application-prod.properties
+32
-7
application.properties
src/main/resources/application.properties
+2
-5
No files found.
src/main/resources/application-dev.properties
View file @
3ed1f3cc
server.port
=
8082
# DATABASE - POSTGRE
#-----------------------------------------------------------------------------------------------------------------------
## Host, Username and Password Setup
spring.datasource.url
=
${DATASOURCE_URL:jdbc:postgresql://149.129.246.61:1832/ddmsh2_cbr}
spring.datasource.username
=
${DATASOURCE_USERNAME:ddmsh2app}
spring.datasource.password
=
${DATASOURCE_PASSWORD:bandungh1h2h3}
## System Config
#spring.datasource.url = jdbc:postgresql://localhost:5432/postgres
#spring.datasource.username = postgres
#spring.datasource.password = password.1
spring.datasource.url
=
${DATASOURCE_URL:jdbc:postgresql://149.129.246.61:7532/ddmsh3_trn_cbr}
spring.datasource.username
=
${DATASOURCE_USERNAME:ddmsh3app}
spring.datasource.password
=
${DATASOURCE_PASSWORD:h1h2h3bandung}
spring.jpa.generate-ddl
=
false
spring.jpa.generate-ddl
=
false
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.properties.hibernate.dialect
=
org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.dialect
=
org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.format_sql
=
true
spring.jpa.properties.hibernate.format_sql
=
true
logging.level.org.hibernate.SQL
=
DEBUG
logging.level.org.hibernate.SQL
=
DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder
=
TRACE
logging.level.org.hibernate.type.descriptor.sql.BasicBinder
=
TRACE
ddms.auth.token
=
Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiJ9.5BG9SEVOGo_xRhtT8IkyoSy60kPg8HM9Vpvb0TdNew4
#Kafka Config
#-----------------------------------------------------------------------
## 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
dam.gigr.h3
=
${DAM_GIGR_H3:https://api-uat-b.eksad.com/gigr-h3/}
dam.gigr.h3
=
${DAM_GIGR_H3:https://api-uat-b.eksad.com/gigr-h3/}
dam.masterdata.h3
=
${DAM_MASTERDATA_H3:https://api-uat-b.eksad.com/masterdata-h3/}
dam.masterdata.h3
=
${DAM_MASTERDATA_H3:https://api-uat-b.eksad.com/masterdata-h3/}
dam.receipt.query
=
${DAM_RECEIPT_QUERY_H3:https://api-uat-b.eksad.com/receipt-query/}
dam.receipt.query
=
${DAM_RECEIPT_QUERY_H3:https://api-uat-b.eksad.com/receipt-query/}
dam.receipt.command
=
${DAM_RECEIPT_COMMAND_H3:https://api-uat-b.eksad.com/receipt-command/}
dam.receipt.command
=
${DAM_RECEIPT_COMMAND_H3:https://api-uat-b.eksad.com/receipt-command/}
\ No newline at end of file
# 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
spring.main.allow-circular-references
=
true
\ No newline at end of file
src/main/resources/application-prod.properties
View file @
3ed1f3cc
server.port
=
8081
# DATABASE - POSTGRE
#-----------------------------------------------------------------------------------------------------------------------
## Host, Username and Password Setup
spring.datasource.url
=
${DATASOURCE_URL:jdbc:postgresql://149.129.246.61:1832/ddmsh2_cbr}
spring.datasource.username
=
${DATASOURCE_USERNAME:ddmsh2app}
spring.datasource.password
=
${DATASOURCE_PASSWORD:bandungh1h2h3}
spring.datasource.url
=
jdbc:postgresql://localhost:5432/postgres
## System Config
spring.datasource.username
=
postgres
spring.datasource.password
=
password.1
spring.jpa.generate-ddl
=
false
spring.jpa.generate-ddl
=
false
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.hibernate.ddl-auto
=
none
spring.jpa.properties.hibernate.dialect
=
org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.dialect
=
org.hibernate.dialect.PostgreSQLDialect
spring.jpa.properties.hibernate.format_sql
=
true
spring.jpa.properties.hibernate.format_sql
=
true
logging.level.org.hibernate.SQL
=
ERROR
logging.level.org.hibernate.SQL
=
DEBUG
#logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
logging.level.org.hibernate.type.descriptor.sql.BasicBinder
=
TRACE
dam.gigr.h3
=
${DAM_GIGR_H3:https://api-uat-b.eksad.com/gigr-h3/}
dam.masterdata.h3
=
${DAM_MASTERDATA_H3:https://api-uat-b.eksad.com/masterdata-h3/}
dam.receipt.query
=
${DAM_RECEIPT_QUERY_H3:https://api-uat-b.eksad.com/receipt-query/}
dam.receipt.command
=
${DAM_RECEIPT_COMMAND_H3:https://api-uat-b.eksad.com/receipt-command/}
# 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
spring.main.allow-circular-references
=
true
\ No newline at end of file
src/main/resources/application.properties
View file @
3ed1f3cc
#please define with dev-prod for profiles below
#please define with dev-prod for profiles below
spring.profiles.active
=
dev
spring.profiles.active
=
dev
server.port
=
8082
ddms.auth.token
=
Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJhZG1pbiJ9.5BG9SEVOGo_xRhtT8IkyoSy60kPg8HM9Vpvb0TdNew4
\ 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