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

Changes

parent 94e88457
......@@ -18,6 +18,10 @@
<spring-cloud.version>2021.0.2</spring-cloud.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
......@@ -30,6 +34,14 @@
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</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>
<groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
......
......@@ -10,4 +10,6 @@ public class EmployeeDto {
private String lastName;
private String email;
private String phoneNumber;
private Long deptId;
private Long projectId;
}
......@@ -20,4 +20,6 @@ public class Employee {
private String lastName;
private String email;
private String phoneNumber;
private Long deptId;
private Long projectId;
}
......@@ -12,4 +12,6 @@ public class EmployeeProfileRequest {
private String lastName;
private String email;
private String phoneNumber;
private Long deptId;
private Long projectId;
}
......@@ -9,4 +9,11 @@ spring.data.mongodb.port=27017
#spring.data.mongodb.embedded.version=4.0.2
#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
\ No newline at end of file
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