File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed
spring-cloud-gray-client-netflix
src/main/java/cn/springcloud/gray/server/dao/model Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 5050 <groupId >org.springframework.cloud</groupId >
5151 <artifactId >spring-cloud-netflix-eureka-client</artifactId >
5252 </dependency >
53+ <dependency >
54+ <groupId >org.springframework.boot</groupId >
55+ <artifactId >spring-boot-configuration-processor</artifactId >
56+ <optional >true</optional >
57+ </dependency >
5358 <dependency >
5459 <groupId >com.netflix.eureka</groupId >
5560 <artifactId >eureka-client</artifactId >
Original file line number Diff line number Diff line change 2828 <artifactId >spring-boot-starter-test</artifactId >
2929 <scope >provided</scope >
3030 </dependency >
31+ <dependency >
32+ <groupId >org.springframework.boot</groupId >
33+ <artifactId >spring-boot-configuration-processor</artifactId >
34+ <optional >true</optional >
35+ </dependency >
3136 <dependency >
3237 <groupId >org.springframework.cloud</groupId >
3338 <artifactId >spring-cloud-starter-eureka</artifactId >
Original file line number Diff line number Diff line change 1414public class GrayInstanceDO {
1515 @ Id
1616 @ Column (length = 64 )
17- @ GeneratedValue (strategy = GenerationType .IDENTITY )
1817 private String instanceId ;
1918 @ Column (length = 32 )
2019 private String serviceId ;
Original file line number Diff line number Diff line change 22
33import lombok .*;
44
5- import javax .persistence .*;
5+ import javax .persistence .Column ;
6+ import javax .persistence .Entity ;
7+ import javax .persistence .Id ;
8+ import javax .persistence .Table ;
69
710
811@ Setter
@@ -16,7 +19,6 @@ public class GrayServiceDO {
1619
1720 @ Id
1821 @ Column (length = 32 )
19- @ GeneratedValue (strategy = GenerationType .IDENTITY )
2022 private String serviceId ;
2123 @ Column (length = 64 )
2224 private String serviceName ;
You can’t perform that action at this time.
0 commit comments