Skip to content

Commit f7d7b28

Browse files
changed the Pom.xml and upadted the ReadME.md
1 parent 3343501 commit f7d7b28

File tree

3 files changed

+31
-14
lines changed

3 files changed

+31
-14
lines changed

microservices-client-side-ui-composition/ReadME.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Client-Side UI Composition Pattern: Assembling Modular UIs in Microservices Architecture
32

43
### **shortTitle**: Client-Side UI Composition
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
@startuml client_side_ui_composition_updated
2+
skinparam classAttributeIconSize 0
3+
4+
class ApiGateway {
5+
+registerRoute(path: String, component: FrontendComponent)
6+
+handleRequest(path: String, params: Map<String, String>): String
7+
}
8+
9+
class FrontendComponent {
10+
+fetchData(params: Map<String, String>): String
11+
#getData(params: Map<String, String>): String
12+
}
13+
14+
class ProductFrontend {
15+
+getData(params: Map<String, String>): String
16+
}
17+
18+
class CartFrontend {
19+
+getData(params: Map<String, String>): String
20+
}
21+
22+
class ClientSideIntegrator {
23+
+composeUI(path: String, params: Map<String, String>)
24+
}
25+
26+
ApiGateway --> FrontendComponent
27+
FrontendComponent <|-- ProductFrontend
28+
FrontendComponent <|-- CartFrontend
29+
ClientSideIntegrator --> ApiGateway
30+
31+
@enduml

microservices-client-side-ui-composition/pom.xml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,7 @@
4444
<artifactId>junit-jupiter-engine</artifactId>
4545
<scope>test</scope>
4646
</dependency>
47-
<!-- https://mvnrepository.com/artifact/org.projectlombok/lombok -->
48-
<dependency>
49-
<groupId>org.projectlombok</groupId>
50-
<artifactId>lombok</artifactId>
51-
<version>1.18.34</version>
52-
<scope>provided</scope>
53-
</dependency>
5447

5548
</dependencies>
5649

57-
<properties>
58-
<maven.compiler.source>23</maven.compiler.source>
59-
<maven.compiler.target>23</maven.compiler.target>
60-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
61-
</properties>
62-
6350
</project>

0 commit comments

Comments
 (0)