Commit 14bf901e authored by Hyunsu's avatar Hyunsu

DB 정보, Axon 정보 변경

Application name : showcase1-product
parent dbfae88f
......@@ -21,8 +21,6 @@ repositories {
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
// implementation 'mysql:mysql-connector-java'
implementation 'org.postgresql:postgresql'
implementation 'org.projectlombok:lombok'
runtimeOnly 'com.h2database:h2'
annotationProcessor 'org.projectlombok:lombok'
......@@ -30,8 +28,23 @@ dependencies {
// https://mvnrepository.com/artifact/org.axonframework/axon-spring-boot-starter
implementation group: 'org.axonframework', name: 'axon-spring-boot-starter', version: '4.5.14'
implementation group: 'org.axonframework', name: 'axon-configuration', version: "4.5.14"
// Postgresql
implementation 'org.postgresql:postgresql'
implementation group: 'org.postgresql', name: 'postgresql', version: '42.2.23' // 추가
runtimeOnly 'org.postgresql:postgresql' // 추가
}
// Default는 dev 로 지정
ext.profile = (!project.hasProperty('profile') || !profile) ? 'dev' : profile
// 리소스 폴더 지정
sourceSets {
main {
resources {
srcDirs "src/main/resources", "src/main/resources-${profile}"
}
}
}
tasks.named('test') {
useJUnitPlatform()
}
......@@ -2,19 +2,21 @@ axon:
serializer:
general: xstream
axonserver:
servers: localhost:8124
servers: 192.168.0.100:8124
server:
port : 9092
spring:
application:
name: showcase1-product
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/postgres
url: jdbc:postgresql://192.168.0.100:25432/showcase1
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://localhost:3306/msatest
username: postgres
password: admin
username: showcase1
password: deloitte01!
jpa:
# show-sql: true
......
axon:
serializer:
general: xstream
axonserver:
servers: 192.168.0.100:8124
server:
port : 9092
spring:
application:
name: showcase1-product
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://192.168.0.100:25432/showcase1
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://localhost:3306/msatest
username: showcase1
password: deloitte01!
jpa:
# show-sql: true
hibernate:
ddl-auto: update
# dialect: org.hibernate.dialect.H2Dialect
properties:
format_sql: true
\ 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