Revert "BAEL-579 Added actuator to Cloud Config Client."

This reverts commit 076657a26a57e0aa676989a4d97966a3b9d53e1c.
This commit is contained in:
iaforek 2017-07-06 12:19:26 +01:00
parent 3856d1a832
commit bf7829d539
2 changed files with 76 additions and 82 deletions

View File

@ -29,10 +29,6 @@
<version>${org.springframework.boot.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-actuator</artifactId>
</dependency>
</dependencies>
<build>

View File

@ -3,7 +3,6 @@ package com.baeldung.spring.cloud.config.client;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
@ -12,7 +11,6 @@ import org.springframework.web.bind.annotation.RestController;
@SpringBootApplication
@RestController
@RefreshScope
public class ConfigClient {
@Value("${user.role}")
private String role;