forked from inspectit-labs/spring-petclinic-microservices
-
Notifications
You must be signed in to change notification settings - Fork 1
/
start_all_without_appdynamics-mac.sh
executable file
·57 lines (41 loc) · 1.51 KB
/
start_all_without_appdynamics-mac.sh
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
#!/bin/sh
#usage: ./start_all_with_appdynamics.sh
#the startup scipt must be placed in the same folder than the spring petclinic microservice application
cd spring-petclinic-config-server/target
echo "Starting Configuration Server"
java -jar spring-petclinic-config-server-1.5.1.jar &
cd ../..
./wait-for-it-mac.sh localhost:8888 --timeout=60
cd spring-petclinic-discovery-server/target
echo "Starting Discovery Server"
java -jar spring-petclinic-discovery-server-1.5.1.jar &
cd ../..
./wait-for-it-mac.sh localhost:8761 --timeout=60
open http://localhost:8761
cd spring-petclinic-customers-service/target
echo "Starting Customers Service"
java -jar spring-petclinic-customers-service-1.5.1.jar &
cd ../..
./wait-for-it-mac.sh localhost:8761 --timeout=60
cd spring-petclinic-vets-service/target
echo "Starting Vets Service"
java -jar spring-petclinic-vets-service-1.5.1.jar &
cd ../..
./wait-for-it-mac.sh localhost:8761 --timeout=60
cd spring-petclinic-visits-service/target
echo "Starting Visits Service"
java -jar spring-petclinic-visits-service-1.5.1.jar &
cd ../..
./wait-for-it-mac.sh localhost:8761 --timeout=60
cd spring-petclinic-api-gateway/target
echo "Starting API Gateway"
java -jar spring-petclinic-api-gateway-1.5.1.jar &
cd ../..
./wait-for-it-mac.sh localhost:8761 --timeout=60
cd spring-petclinic-admin-server/target
echo "Starting Admin Server"
java -jar spring-petclinic-admin-server-1.5.1.jar &
cd ../..
./wait-for-it-mac.sh localhost:8080 --timeout=240
open http://localhost:8080
echo "All Services started!"