Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EmployeeApiService
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ansal M A
EmployeeApiService
Commits
7302ac71
Commit
7302ac71
authored
May 24, 2022
by
Ansal M A
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes
parent
94e88457
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
1 deletion
+26
-1
pom.xml
pom.xml
+12
-0
EmployeeDto.java
...main/java/com/nisum/poc/api/employee/dto/EmployeeDto.java
+2
-0
Employee.java
...main/java/com/nisum/poc/api/employee/entity/Employee.java
+2
-0
EmployeeProfileRequest.java
...isum/poc/api/employee/request/EmployeeProfileRequest.java
+2
-0
application.properties
src/main/resources/application.properties
+8
-1
No files found.
pom.xml
View file @
7302ac71
...
@@ -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>
...
...
src/main/java/com/nisum/poc/api/employee/dto/EmployeeDto.java
View file @
7302ac71
...
@@ -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
;
}
}
src/main/java/com/nisum/poc/api/employee/entity/Employee.java
View file @
7302ac71
...
@@ -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
;
}
}
src/main/java/com/nisum/poc/api/employee/request/EmployeeProfileRequest.java
View file @
7302ac71
...
@@ -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
;
}
}
src/main/resources/application.properties
View file @
7302ac71
...
@@ -9,4 +9,11 @@ spring.data.mongodb.port=27017
...
@@ -9,4 +9,11 @@ spring.data.mongodb.port=27017
#spring.data.mongodb.embedded.version=4.0.2
#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
#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
\ No newline at end of file
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment