Skip to content

Commit

Permalink
Merge pull request #68 from mszarlinski/issue-67-update-spring-deps
Browse files Browse the repository at this point in the history
Upgrade to Spring Cloud Edgware.SR1
  • Loading branch information
arey authored Jan 22, 2018
2 parents c05c219 + 7eac5ab commit d4b223a
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 26 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.3.RELEASE</version>
<version>1.5.9.RELEASE</version>
</parent>

<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
<name>${project.artifactId}</name>
<packaging>pom</packaging>

Expand All @@ -27,9 +27,9 @@
</modules>

<properties>
<assertj.version>3.7.0</assertj.version>
<spring-cloud.version>Dalston.SR1</spring-cloud.version>
<sleuth.version>1.2.1.RELEASE</sleuth.version>
<assertj.version>3.9.0</assertj.version>
<spring-cloud.version>Edgware.SR1</spring-cloud.version>
<sleuth.version>1.3.1.RELEASE</sleuth.version>
<java.version>1.8</java.version>

<docker.image.prefix>mszarlinski</docker.image.prefix>
Expand Down
4 changes: 2 additions & 2 deletions spring-petclinic-admin-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
</parent>

<properties>
Expand All @@ -31,7 +31,7 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>

<!-- Spring Boot Admin -->
Expand Down
6 changes: 3 additions & 3 deletions spring-petclinic-api-gateway/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
</parent>

<properties>
Expand Down Expand Up @@ -61,15 +61,15 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-zuul</artifactId>
<artifactId>spring-cloud-starter-netflix-zuul</artifactId>
</dependency>

<!-- Third parties -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
* @author Maciej Szarlinski
*/
@Component
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@RequiredArgsConstructor
public class CustomersServiceClient {

private final RestTemplate loadBalancedRestTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* @author Maciej Szarlinski
*/
@Component
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@RequiredArgsConstructor
public class VisitsServiceClient {

private final RestTemplate loadBalancedRestTemplate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* @author Maciej Szarlinski
*/
@RestController
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@RequiredArgsConstructor
public class ApiGatewayController {

private final CustomersServiceClient customersServiceClient;
Expand Down
2 changes: 1 addition & 1 deletion spring-petclinic-config-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion spring-petclinic-customers-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
</parent>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
*/
@RequestMapping("/owners")
@RestController
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@RequiredArgsConstructor
@Slf4j
class OwnerResource {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* @author Maciej Szarlinski
*/
@RestController
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@RequiredArgsConstructor
@Slf4j
class PetResource {

Expand Down
4 changes: 2 additions & 2 deletions spring-petclinic-discovery-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
</parent>

<dependencies>
Expand All @@ -29,7 +29,7 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka-server</artifactId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
</dependency>

</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion spring-petclinic-monitoring/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
</parent>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions spring-petclinic-tracing-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
</parent>

<dependencies>
Expand All @@ -34,7 +34,7 @@
<!-- Spring Cloud -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>

<!-- Third-parties -->
Expand Down
2 changes: 1 addition & 1 deletion spring-petclinic-vets-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
</parent>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions spring-petclinic-visits-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<parent>
<groupId>org.springframework.samples</groupId>
<artifactId>spring-petclinic-microservices</artifactId>
<version>1.5.3</version>
<version>1.5.9</version>
</parent>

<dependencies>
Expand Down Expand Up @@ -41,7 +41,7 @@
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* @author Maciej Szarlinski
*/
@RestController
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@RequiredArgsConstructor
@Slf4j
public class VisitResource {

Expand Down

0 comments on commit d4b223a

Please sign in to comment.