-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
66 lines (47 loc) · 1.75 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
SHELL=/bin/bash
HOME := $(shell pwd)
KAFKA_BROKER := $(HOME)/kafka-broker
build/email-srv:
mvn -pl :emailService -am clean install -Dmaven.test.skip=true
run/email-srv:
mvn -pl :emailService spring-boot:run
build/inventory-srv:
mvn -pl :inventoryService -am clean install -Dmaven.test.skip=true
run/inventory-srv:
mvn -pl :inventoryService spring-boot:run
build/order-srv:
mvn -pl :orderService -am clean install -Dmaven.test.skip=true
run/order-srv:
mvn -pl :orderService spring-boot:run
build/payment-srv:
mvn -pl :paymentService -am clean install -Dmaven.test.skip=true
run/payment-srv:
mvn -pl :paymentService spring-boot:run
build/orchestrator-srv:
mvn -pl :orchestratorDomainService -am clean install -Dmaven.test.skip=true
run/orchestrator-srv:
mvn -pl :orchestratorDomainService spring-boot:run
build/spring-cloud-srv:
mvn -pl :springCloudServer -am clean install -Dmaven.test.skip=true
run/spring-cloud-srv:
mvn -pl :springCloudServer spring-boot:run
build/swagger-ui-srv:
mvn -pl :swaggerUIDocsServer -am clean install -Dmaven.test.skip=true
run/swagger-ui-srv:
mvn -pl :swaggerUIDocsServer spring-boot:run
buildInstall/parent-module:
mvn clean install
buildRun/email-srv: build/email-srv run/email-srv
buildRun/inventory-srv: build/inventory-srv run/inventory-srv
buildRun/order-srv: build/order-srv run/order-srv
buildRun/payment-srv: build/payment-srv run/payment-srv
buildRun/orchestrator-srv: build/orchestrator-srv run/orchestrator-srv
buildRun/spring-cloud-srv: build/spring-cloud-srv run/spring-cloud-srv
buildRun/swagger-ui-srv: build/swagger-ui-srv run/swagger-ui-srv
start-postgres:
docker start eventdriven-postgres
stop-postgres:
docker stop eventdriven-postgres
kafka:
pushd ${KAFKA_BROKER} > /dev/null && \
docker compose up