Skip to content

Commit

Permalink
Step43
Browse files Browse the repository at this point in the history
  • Loading branch information
Ranga Rao Karanam authored and Ranga Rao Karanam committed Sep 11, 2017
1 parent 0d3f97d commit 6266f44
Show file tree
Hide file tree
Showing 9 changed files with 7,150 additions and 9 deletions.
2 changes: 1 addition & 1 deletion 03.microservices/git-localconfig-repo
Submodule git-localconfig-repo updated from b0670f to d39e38
11 changes: 8 additions & 3 deletions 03.microservices/limits-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,27 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.M3</version>
<relativePath/> <!-- lookup parent from repository -->
<version>1.5.2.RELEASE</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-cloud.version>Finchley.M2</spring-cloud.version>
<spring-cloud.version>Dalston.RC1</spring-cloud.version>
</properties>

<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-config</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ public class LimitsConfigurationController {

@GetMapping("/limits")
public LimitConfiguration retrieveLimitsFromConfigurations() {
return new LimitConfiguration(configuration.getMaximum(),
LimitConfiguration limitConfiguration = new LimitConfiguration(configuration.getMaximum(),
configuration.getMinimum());
return limitConfiguration;
}

}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
spring.application.name=limits-service
spring.cloud.config.uri=http://localhost:8888
spring.profiles.active=qa
spring.profiles.active=qa
management.security.enabled=false
9 changes: 7 additions & 2 deletions 03.microservices/spring-cloud-config-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.0.0.M3</version>
<version>1.5.2.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<spring-cloud.version>Finchley.M2</spring-cloud.version>
<spring-cloud.version>Dalston.RC1</spring-cloud.version>
</properties>

<dependencies>
Expand All @@ -31,6 +31,11 @@
<artifactId>spring-cloud-config-server</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-amqp</artifactId>
</dependency>

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
Expand Down
Loading

0 comments on commit 6266f44

Please sign in to comment.