Commit 7302ac71 authored by Ansal M A's avatar Ansal M A

Changes

parent 94e88457
...@@ -18,6 +18,10 @@ ...@@ -18,6 +18,10 @@
<spring-cloud.version>2021.0.2</spring-cloud.version> <spring-cloud.version>2021.0.2</spring-cloud.version>
</properties> </properties>
<dependencies> <dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId> <artifactId>spring-boot-starter-web</artifactId>
...@@ -30,6 +34,14 @@ ...@@ -30,6 +34,14 @@
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency> </dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-sleuth-zipkin</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-sleuth</artifactId>
</dependency>
<dependency> <dependency>
<groupId>org.modelmapper</groupId> <groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId> <artifactId>modelmapper</artifactId>
......
...@@ -10,4 +10,6 @@ public class EmployeeDto { ...@@ -10,4 +10,6 @@ public class EmployeeDto {
private String lastName; private String lastName;
private String email; private String email;
private String phoneNumber; private String phoneNumber;
private Long deptId;
private Long projectId;
} }
...@@ -20,4 +20,6 @@ public class Employee { ...@@ -20,4 +20,6 @@ public class Employee {
private String lastName; private String lastName;
private String email; private String email;
private String phoneNumber; private String phoneNumber;
private Long deptId;
private Long projectId;
} }
...@@ -12,4 +12,6 @@ public class EmployeeProfileRequest { ...@@ -12,4 +12,6 @@ public class EmployeeProfileRequest {
private String lastName; private String lastName;
private String email; private String email;
private String phoneNumber; private String phoneNumber;
private Long deptId;
private Long projectId;
} }
...@@ -10,3 +10,10 @@ spring.data.mongodb.port=27017 ...@@ -10,3 +10,10 @@ spring.data.mongodb.port=27017
#api-gateway is calling the microservices using username of the system which you need to call using ip address of the system #api-gateway is calling the microservices using username of the system which you need to call using ip address of the system
eureka.instance.prefer-ip-address=true eureka.instance.prefer-ip-address=true
logging.file = D:/log/employee-ws.log
spring.sleuth.sampler.probability = 1
#Property to enable actuator end point.
management.endpoint.web.exposure.include = mapping,bean,health,httptrace,routes
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment