File tree Expand file tree Collapse file tree 5 files changed +17
-44
lines changed
spring-petclinic-customers-service
spring-petclinic-vets-service
spring-petclinic-visits-service Expand file tree Collapse file tree 5 files changed +17
-44
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,13 @@ You also want to make sure the config-server is deployed first and up and runnin
36
36
1 . From the Git Bash window, set a ` VERSION ` environment variable to this version number ` 3.0.2 ` .
37
37
38
38
``` bash
39
- VERSION=3.2.5
39
+ VERSION=3.0.2
40
40
```
41
41
42
42
1 . You will start by building all the microservice of the spring petclinic application. To accomplish this, run ` mvn clean package ` in the root directory of the application.
43
43
44
44
``` bash
45
- cd ~ /workspaces/java-microservices-aca-lab/src
45
+ cd /workspaces/java-microservices-aca-lab/src
46
46
mvn clean package -DskipTests
47
47
```
48
48
Original file line number Diff line number Diff line change 6
6
<parent >
7
7
<groupId >org.springframework.boot</groupId >
8
8
<artifactId >spring-boot-starter-parent</artifactId >
9
- <version >3.2.5 </version >
9
+ <version >3.0.2 </version >
10
10
</parent >
11
11
12
12
<groupId >org.springframework.samples</groupId >
13
13
<artifactId >spring-petclinic-microservices</artifactId >
14
- <version >3.2.5 </version >
14
+ <version >3.0.2 </version >
15
15
<name >${project.artifactId} </name >
16
16
<packaging >pom</packaging >
17
17
Original file line number Diff line number Diff line change 17
17
<properties >
18
18
<docker .image.exposed.port>8081</docker .image.exposed.port>
19
19
<docker .image.dockerfile.dir>${basedir} /../docker</docker .image.dockerfile.dir>
20
- <version .spring.cloud.azure>5.2.0</version .spring.cloud.azure>
21
20
</properties >
22
21
23
22
<dependencies >
52
51
</dependency >
53
52
54
53
<!-- Third parties -->
55
-
56
54
<dependency >
57
- <groupId >com.azure.spring</groupId >
58
- <artifactId >spring-cloud-azure-starter-jdbc-mysql</artifactId >
55
+ <groupId >com.mysql</groupId >
56
+ <artifactId >mysql-connector-j</artifactId >
57
+ <scope >runtime</scope >
59
58
</dependency >
60
-
61
- <dependency >
62
- <groupId >com.azure.spring</groupId >
63
- <artifactId >spring-cloud-azure-dependencies</artifactId >
64
- <version >${version.spring.cloud.azure} </version >
65
- <type >pom</type >
66
- <scope >import</scope >
67
- </dependency >
68
-
69
59
<dependency >
70
60
<groupId >org.hsqldb</groupId >
71
61
<artifactId >hsqldb</artifactId >
Original file line number Diff line number Diff line change 17
17
<properties >
18
18
<docker .image.exposed.port>8081</docker .image.exposed.port>
19
19
<docker .image.dockerfile.dir>${basedir} /../docker</docker .image.dockerfile.dir>
20
- <version .spring.cloud.azure>5.2.0</version .spring.cloud.azure>
21
20
</properties >
22
21
23
22
<dependencies >
86
85
<artifactId >hsqldb</artifactId >
87
86
<scope >runtime</scope >
88
87
</dependency >
89
-
90
- <dependency >
91
- <groupId >com.azure.spring</groupId >
92
- <artifactId >spring-cloud-azure-starter-jdbc-mysql</artifactId >
93
- </dependency >
94
- <dependency >
95
- <groupId >com.azure.spring</groupId >
96
- <artifactId >spring-cloud-azure-dependencies</artifactId >
97
- <version >${version.spring.cloud.azure} </version >
98
- <type >pom</type >
99
- <scope >import</scope >
100
- </dependency >
101
-
88
+ <dependency >
89
+ <groupId >com.mysql</groupId >
90
+ <artifactId >mysql-connector-j</artifactId >
91
+ <scope >runtime</scope >
92
+ </dependency >
102
93
<dependency >
103
94
<groupId >io.micrometer</groupId >
104
95
<artifactId >micrometer-registry-prometheus</artifactId >
Original file line number Diff line number Diff line change 17
17
<properties >
18
18
<docker .exposed.port>8081</docker .exposed.port>
19
19
<docker .image.dockerfile.dir>${basedir} /../docker</docker .image.dockerfile.dir>
20
- <version .spring.cloud.azure>5.2.0</version .spring.cloud.azure>
21
20
</properties >
22
21
23
22
<dependencies >
65
64
<groupId >org.jolokia</groupId >
66
65
<artifactId >jolokia-core</artifactId >
67
66
</dependency >
68
- <dependency >
69
- <groupId >com.azure.spring</groupId >
70
- <artifactId >spring-cloud-azure-starter-jdbc-mysql</artifactId >
71
- </dependency >
72
- <dependency >
73
- <groupId >com.azure.spring</groupId >
74
- <artifactId >spring-cloud-azure-dependencies</artifactId >
75
- <version >${version.spring.cloud.azure} </version >
76
- <type >pom</type >
77
- <scope >import</scope >
78
- </dependency >
79
-
67
+ <dependency >
68
+ <groupId >com.mysql</groupId >
69
+ <artifactId >mysql-connector-j</artifactId >
70
+ <scope >runtime</scope >
71
+ </dependency >
80
72
<dependency >
81
73
<groupId >io.micrometer</groupId >
82
74
<artifactId >micrometer-registry-prometheus</artifactId >
You can’t perform that action at this time.
0 commit comments