File tree 9 files changed +16
-42
lines changed
spring-cloud-consul-binder
spring-cloud-consul-discovery
spring-cloud-consul-integration-tests
spring-cloud-consul-bootstrap-tests
src/main/java/org/springframework/cloud/consul/bootstraptests
spring-cloud-consul-configdata-retry-tests
spring-cloud-consul-configdata-tests
src/main/java/org/springframework/cloud/consul/configdatatests
9 files changed +16
-42
lines changed Original file line number Diff line number Diff line change 36
36
<artifactId >consul-api</artifactId >
37
37
<optional >true</optional >
38
38
</dependency >
39
- <dependency >
40
- <groupId >org.projectlombok</groupId >
41
- <artifactId >lombok</artifactId >
42
- <scope >test</scope >
43
- </dependency >
44
39
<dependency >
45
40
<groupId >org.springframework.cloud</groupId >
46
41
<artifactId >spring-cloud-deployer-local</artifactId >
Original file line number Diff line number Diff line change 78
78
<artifactId >httpcore</artifactId >
79
79
<optional >true</optional >
80
80
</dependency >
81
- <dependency >
82
- <groupId >org.projectlombok</groupId >
83
- <artifactId >lombok</artifactId >
84
- <scope >test</scope >
85
- </dependency >
86
81
<dependency >
87
82
<groupId >org.springframework.boot</groupId >
88
83
<artifactId >spring-boot-autoconfigure-processor</artifactId >
Original file line number Diff line number Diff line change 83
83
<artifactId >spring-boot-autoconfigure-processor</artifactId >
84
84
<optional >true</optional >
85
85
</dependency >
86
- <dependency >
87
- <groupId >org.projectlombok</groupId >
88
- <artifactId >lombok</artifactId >
89
- <scope >test</scope >
90
- </dependency >
91
86
<dependency >
92
87
<groupId >org.springframework.boot</groupId >
93
88
<artifactId >spring-boot-starter-test</artifactId >
Original file line number Diff line number Diff line change 56
56
<groupId >org.springframework.cloud</groupId >
57
57
<artifactId >spring-cloud-starter-openfeign</artifactId >
58
58
</dependency >
59
- <dependency >
60
- <groupId >org.projectlombok</groupId >
61
- <artifactId >lombok</artifactId >
62
- <!-- Only needed at compile time -->
63
- <optional >true</optional >
64
- </dependency >
65
59
</dependencies >
66
60
67
61
</project >
Original file line number Diff line number Diff line change 18
18
19
19
import java .util .List ;
20
20
21
- import lombok .extern .slf4j .Slf4j ;
22
-
23
21
import org .springframework .beans .factory .annotation .Autowired ;
24
22
import org .springframework .beans .factory .annotation .Value ;
25
23
import org .springframework .boot .SpringApplication ;
48
46
@ RestController
49
47
@ EnableConfigurationProperties
50
48
@ EnableFeignClients
51
- @ Slf4j
52
49
public class ConsulBootstrapApplication {
53
50
54
51
@ Autowired
Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .cloud .consul .bootstraptests ;
18
18
19
- import lombok .Data ;
20
-
21
19
import org .springframework .boot .context .properties .ConfigurationProperties ;
22
20
23
21
/**
24
22
* @author Spencer Gibb
25
23
*/
26
24
@ ConfigurationProperties ("sample" )
27
- @ Data
28
25
public class SampleProperties {
29
26
30
27
private String prop = "default value" ;
31
28
29
+ public String getProp () {
30
+ return prop ;
31
+ }
32
+
33
+ public void setProp (String prop ) {
34
+ this .prop = prop ;
35
+ }
36
+
32
37
}
Original file line number Diff line number Diff line change 56
56
<groupId >org.springframework.retry</groupId >
57
57
<artifactId >spring-retry</artifactId >
58
58
</dependency >
59
- <dependency >
60
- <groupId >org.projectlombok</groupId >
61
- <artifactId >lombok</artifactId >
62
- <!-- Only needed at compile time -->
63
- <optional >true</optional >
64
- </dependency >
65
59
<dependency >
66
60
<groupId >org.springframework.boot</groupId >
67
61
<artifactId >spring-boot-starter-test</artifactId >
Original file line number Diff line number Diff line change 41
41
<groupId >org.springframework.cloud</groupId >
42
42
<artifactId >spring-cloud-starter-consul-config</artifactId >
43
43
</dependency >
44
- <dependency >
45
- <groupId >org.projectlombok</groupId >
46
- <artifactId >lombok</artifactId >
47
- <!-- Only needed at compile time -->
48
- <optional >true</optional >
49
- </dependency >
50
44
<dependency >
51
45
<groupId >org.springframework.boot</groupId >
52
46
<artifactId >spring-boot-starter-test</artifactId >
Original file line number Diff line number Diff line change 16
16
17
17
package org .springframework .cloud .consul .configdatatests ;
18
18
19
- import lombok .Data ;
20
-
21
19
import org .springframework .boot .context .properties .ConfigurationProperties ;
22
20
23
21
/**
24
22
* @author Spencer Gibb
25
23
*/
26
24
@ ConfigurationProperties ("sample" )
27
- @ Data
28
25
public class SampleProperties {
29
26
30
27
private String prop = "default value" ;
31
28
29
+ public String getProp () {
30
+ return prop ;
31
+ }
32
+
33
+ public void setProp (String prop ) {
34
+ this .prop = prop ;
35
+ }
36
+
32
37
}
You can’t perform that action at this time.
0 commit comments