Skip to content

Commit bf66ac4

Browse files
some implementations(some basic endpoints, unit and integration tests) done for the user module
1 parent e1b410e commit bf66ac4

File tree

47 files changed

+2037
-101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+2037
-101
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ firebase-service-account.json.b64
1010
.idea/dataSources/dbb0ccd9-06dd-407f-b700-8142fac9bbbd.xml
1111

1212
# IDE
13-
.idea/
13+
.idea
1414
*.iws
1515
*.iml
1616
*.ipr
@@ -25,7 +25,7 @@ build/
2525
#ignore node modules
2626
node_modules/
2727
#ignore build folder
28-
build/
28+
build
2929

3030
#ignore logs
3131
logs/

applicationsConfiguration

common-utils/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
</dependency>
155155

156156

157+
157158
</dependencies>
158159

159160

common-utils/src/main/java/com/tjtechy/client/InventoryServiceClient.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
import reactor.core.publisher.Mono;
2222
import reactor.util.retry.Retry;
2323

24+
2425
import java.time.Duration;
2526
import java.util.UUID;
2627

Binary file not shown.
-1 Bytes
Binary file not shown.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/**
2+
* Copyright © 2025
3+
*
4+
* @Author = TJTechy (Tajudeen Busari)
5+
* @Version = 1.0
6+
* This file is part of EcommerceMicroservices module of the Ecommerce Microservices project.
7+
*/
8+
9+
package com.tjtechy.modelNotFoundException;
10+
11+
import java.util.List;
12+
import java.util.UUID;
13+
14+
public class UserNotFoundException extends RuntimeException{
15+
16+
public UserNotFoundException(UUID ID){
17+
super("User not found with id: " + ID);
18+
}
19+
20+
public UserNotFoundException(List<UUID> IDS){
21+
super("Users not found with ids: " + IDS);
22+
}
23+
}
822 Bytes
Binary file not shown.
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
com\tjtechy\businessException\InsufficientStockQuantityException.class
21
com\tjtechy\businessException\OrderAlreadyCancelledException.class
3-
com\tjtechy\modelNotFoundException\InventoryNotFoundException.class
4-
com\tjtechy\modelNotFoundException\ProductNotFoundException.class
52
com\tjtechy\modelNotFoundException\NotificationNotFoundException.class
3+
com\tjtechy\modelNotFoundException\UserNotFoundException.class
64
com\tjtechy\modelNotFoundException\OrderNotFoundException.class
5+
com\tjtechy\businessException\InsufficientStockQuantityException.class
6+
com\tjtechy\modelNotFoundException\InventoryNotFoundException.class
7+
com\tjtechy\modelNotFoundException\ProductNotFoundException.class

exception/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ C:\Users\tajud\javaProject\EcommerceMicroservices\exception\src\main\java\com\tj
44
C:\Users\tajud\javaProject\EcommerceMicroservices\exception\src\main\java\com\tjtechy\modelNotFoundException\NotificationNotFoundException.java
55
C:\Users\tajud\javaProject\EcommerceMicroservices\exception\src\main\java\com\tjtechy\modelNotFoundException\OrderNotFoundException.java
66
C:\Users\tajud\javaProject\EcommerceMicroservices\exception\src\main\java\com\tjtechy\modelNotFoundException\ProductNotFoundException.java
7+
C:\Users\tajud\javaProject\EcommerceMicroservices\exception\src\main\java\com\tjtechy\modelNotFoundException\UserNotFoundException.java

0 commit comments

Comments
 (0)