Compare commits
2 Commits
cqrs-patte
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f9eae22ef | ||
|
|
c1fda2654f |
@@ -16,13 +16,11 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=customer&binaryTransfer=true&reWriteBatchedInserts=true
|
||||
username: postgres
|
||||
password: postgres
|
||||
password: admin
|
||||
driver-class-name: org.postgresql.Driver
|
||||
sql:
|
||||
init:
|
||||
mode: always
|
||||
schema-locations: classpath:init-schema.sql
|
||||
platform: postgres
|
||||
platform: postgres
|
||||
schema: classpath:init-schema.sql
|
||||
initialization-mode: always
|
||||
|
||||
kafka-config:
|
||||
bootstrap-servers: localhost:19092, localhost:29092, localhost:39092
|
||||
|
||||
1
food-order-system-infra
Submodule
1
food-order-system-infra
Submodule
Submodule food-order-system-infra added at 9a47979f37
@@ -1,5 +1,5 @@
|
||||
server:
|
||||
port: 3232
|
||||
port: 8181
|
||||
logging:
|
||||
level:
|
||||
com.food.order.system : DEBUG
|
||||
@@ -24,13 +24,11 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=order&binaryTransfer=true&reWriteBatchedInserts=true&stringtype=unspecified
|
||||
username: postgres
|
||||
password: postgres
|
||||
driverClassName: org.postgresql.Driver
|
||||
sql:
|
||||
init:
|
||||
platform: postgres
|
||||
mode: always
|
||||
schema-locations: classpath:init-schema.sql
|
||||
password: admin
|
||||
driver-class-name: org.postgresql.Driver
|
||||
platform: postgres
|
||||
schema: classpath:init-schema.sql
|
||||
initialization-mode: always
|
||||
|
||||
kafka-config:
|
||||
bootstrap-servers: localhost:19092, localhost:29092, localhost:39092
|
||||
|
||||
@@ -87,9 +87,9 @@ CREATE INDEX "payment_outbox_saga_status"
|
||||
ON "order".payment_outbox
|
||||
(type, outbox_status, saga_status);
|
||||
|
||||
--CREATE UNIQUE INDEX "payment_outbox_saga_id"
|
||||
-- ON "order".payment_outbox
|
||||
-- (type, saga_id, saga_status);
|
||||
CREATE UNIQUE INDEX "payment_outbox_saga_id"
|
||||
ON "order".payment_outbox
|
||||
(type, saga_id, saga_status);
|
||||
|
||||
DROP TABLE IF EXISTS "order".restaurant_approval_outbox CASCADE;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=payment&binaryTransfer=true&reWriteBatchedInserts=true&stringtype=unspecified
|
||||
username: postgres
|
||||
password: postgres
|
||||
password: admin
|
||||
driver-class-name: org.postgresql.Driver
|
||||
platform: postgres
|
||||
schema: classpath:init-schema.sql
|
||||
|
||||
2
pom.xml
2
pom.xml
@@ -32,6 +32,8 @@
|
||||
<spring-kafka.version>2.8.2</spring-kafka.version>
|
||||
<kavka-avro.serializer.version>7.0.1</kavka-avro.serializer.version>
|
||||
<avro.version>1.11.0</avro.version>
|
||||
<maven.compiler.source>17</maven.compiler.source>
|
||||
<maven.compiler.target>17</maven.compiler.target>
|
||||
</properties>
|
||||
|
||||
<dependencyManagement>
|
||||
|
||||
@@ -22,14 +22,12 @@ spring:
|
||||
datasource:
|
||||
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=restaurant&binaryTransfer=true&reWriteBatchedInserts=true&stringtype=unspecified
|
||||
username: postgres
|
||||
password: postgres
|
||||
password: admin
|
||||
driver-class-name: org.postgresql.Driver
|
||||
sql:
|
||||
init:
|
||||
platform: postgres
|
||||
mode: always
|
||||
data-locations: classpath:init-data.sql
|
||||
schema-locations: classpath:init-schema.sql
|
||||
platform: postgres
|
||||
schema: classpath:init-schema.sql
|
||||
data: classpath:init-data.sql
|
||||
initialization-mode: always
|
||||
|
||||
kafka-config:
|
||||
bootstrap-servers: localhost:19092, localhost:29092, localhost:39092
|
||||
|
||||
Reference in New Issue
Block a user