Add Google k8n engine files and finish project...
This commit is contained in:
@@ -16,13 +16,11 @@ spring:
|
|||||||
datasource:
|
datasource:
|
||||||
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=customer&binaryTransfer=true&reWriteBatchedInserts=true
|
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=customer&binaryTransfer=true&reWriteBatchedInserts=true
|
||||||
username: postgres
|
username: postgres
|
||||||
password: postgres
|
password: admin
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
sql:
|
platform: postgres
|
||||||
init:
|
schema: classpath:init-schema.sql
|
||||||
mode: always
|
initialization-mode: always
|
||||||
schema-locations: classpath:init-schema.sql
|
|
||||||
platform: postgres
|
|
||||||
|
|
||||||
kafka-config:
|
kafka-config:
|
||||||
bootstrap-servers: localhost:19092, localhost:29092, localhost:39092
|
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:
|
server:
|
||||||
port: 3232
|
port: 8181
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
com.food.order.system : DEBUG
|
com.food.order.system : DEBUG
|
||||||
@@ -24,13 +24,11 @@ spring:
|
|||||||
datasource:
|
datasource:
|
||||||
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=order&binaryTransfer=true&reWriteBatchedInserts=true&stringtype=unspecified
|
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=order&binaryTransfer=true&reWriteBatchedInserts=true&stringtype=unspecified
|
||||||
username: postgres
|
username: postgres
|
||||||
password: postgres
|
password: admin
|
||||||
driverClassName: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
sql:
|
platform: postgres
|
||||||
init:
|
schema: classpath:init-schema.sql
|
||||||
platform: postgres
|
initialization-mode: always
|
||||||
mode: always
|
|
||||||
schema-locations: classpath:init-schema.sql
|
|
||||||
|
|
||||||
kafka-config:
|
kafka-config:
|
||||||
bootstrap-servers: localhost:19092, localhost:29092, localhost:39092
|
bootstrap-servers: localhost:19092, localhost:29092, localhost:39092
|
||||||
|
|||||||
@@ -87,9 +87,9 @@ CREATE INDEX "payment_outbox_saga_status"
|
|||||||
ON "order".payment_outbox
|
ON "order".payment_outbox
|
||||||
(type, outbox_status, saga_status);
|
(type, outbox_status, saga_status);
|
||||||
|
|
||||||
--CREATE UNIQUE INDEX "payment_outbox_saga_id"
|
CREATE UNIQUE INDEX "payment_outbox_saga_id"
|
||||||
-- ON "order".payment_outbox
|
ON "order".payment_outbox
|
||||||
-- (type, saga_id, saga_status);
|
(type, saga_id, saga_status);
|
||||||
|
|
||||||
DROP TABLE IF EXISTS "order".restaurant_approval_outbox CASCADE;
|
DROP TABLE IF EXISTS "order".restaurant_approval_outbox CASCADE;
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ spring:
|
|||||||
datasource:
|
datasource:
|
||||||
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=payment&binaryTransfer=true&reWriteBatchedInserts=true&stringtype=unspecified
|
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=payment&binaryTransfer=true&reWriteBatchedInserts=true&stringtype=unspecified
|
||||||
username: postgres
|
username: postgres
|
||||||
password: postgres
|
password: admin
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
platform: postgres
|
platform: postgres
|
||||||
schema: classpath:init-schema.sql
|
schema: classpath:init-schema.sql
|
||||||
|
|||||||
2
pom.xml
2
pom.xml
@@ -32,6 +32,8 @@
|
|||||||
<spring-kafka.version>2.8.2</spring-kafka.version>
|
<spring-kafka.version>2.8.2</spring-kafka.version>
|
||||||
<kavka-avro.serializer.version>7.0.1</kavka-avro.serializer.version>
|
<kavka-avro.serializer.version>7.0.1</kavka-avro.serializer.version>
|
||||||
<avro.version>1.11.0</avro.version>
|
<avro.version>1.11.0</avro.version>
|
||||||
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
|
|||||||
@@ -22,14 +22,12 @@ spring:
|
|||||||
datasource:
|
datasource:
|
||||||
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=restaurant&binaryTransfer=true&reWriteBatchedInserts=true&stringtype=unspecified
|
url: jdbc:postgresql://localhost:5432/postgres?currentSchema=restaurant&binaryTransfer=true&reWriteBatchedInserts=true&stringtype=unspecified
|
||||||
username: postgres
|
username: postgres
|
||||||
password: postgres
|
password: admin
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
sql:
|
platform: postgres
|
||||||
init:
|
schema: classpath:init-schema.sql
|
||||||
platform: postgres
|
data: classpath:init-data.sql
|
||||||
mode: always
|
initialization-mode: always
|
||||||
data-locations: classpath:init-data.sql
|
|
||||||
schema-locations: classpath:init-schema.sql
|
|
||||||
|
|
||||||
kafka-config:
|
kafka-config:
|
||||||
bootstrap-servers: localhost:19092, localhost:29092, localhost:39092
|
bootstrap-servers: localhost:19092, localhost:29092, localhost:39092
|
||||||
|
|||||||
Reference in New Issue
Block a user