Skip to content

Commit a54cea7

Browse files
iluwatar#297 Create class diagrams for API Gateway, Price microservice, and Image microservice
1 parent 4ebb64c commit a54cea7

File tree

6 files changed

+137
-0
lines changed

6 files changed

+137
-0
lines changed

api-gateway/etc/api-gateway.png

17.9 KB
Loading

api-gateway/etc/api-gateway.ucls

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<class-diagram version="1.1.9" icons="true" automaticImage="PNG" always-add-relationships="false" generalizations="true"
3+
realizations="true" associations="true" dependencies="false" nesting-relationships="true" router="FAN">
4+
<class id="1" language="java" name="com.iluwatar.api.gateway.ApiGateway" project="api-gateway"
5+
file="/api-gateway/src/main/java/com/iluwatar/api/gateway/ApiGateway.java" binary="false" corner="BOTTOM_RIGHT">
6+
<position height="-1" width="-1" x="125" y="87"/>
7+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
8+
sort-features="false" accessors="true" visibility="true">
9+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
10+
<operations public="true" package="true" protected="true" private="true" static="true"/>
11+
</display>
12+
</class>
13+
<class id="2" language="java" name="com.iluwatar.api.gateway.DesktopProduct" project="api-gateway"
14+
file="/api-gateway/src/main/java/com/iluwatar/api/gateway/DesktopProduct.java" binary="false" corner="BOTTOM_RIGHT">
15+
<position height="-1" width="-1" x="388" y="109"/>
16+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
17+
sort-features="false" accessors="true" visibility="true">
18+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
19+
<operations public="true" package="true" protected="true" private="true" static="true"/>
20+
</display>
21+
</class>
22+
<interface id="3" language="java" name="com.iluwatar.api.gateway.ImageClient" project="api-gateway"
23+
file="/api-gateway/src/main/java/com/iluwatar/api/gateway/ImageClient.java" binary="false" corner="BOTTOM_RIGHT">
24+
<position height="81" width="129" x="13" y="197"/>
25+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
26+
sort-features="false" accessors="true" visibility="true">
27+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
28+
<operations public="true" package="true" protected="true" private="true" static="true"/>
29+
</display>
30+
</interface>
31+
<class id="4" language="java" name="com.iluwatar.api.gateway.ImageClientImpl" project="api-gateway"
32+
file="/api-gateway/src/main/java/com/iluwatar/api/gateway/ImageClientImpl.java" binary="false" corner="BOTTOM_RIGHT">
33+
<position height="99" width="129" x="13" y="325"/>
34+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
35+
sort-features="false" accessors="true" visibility="true">
36+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
37+
<operations public="true" package="true" protected="true" private="true" static="true"/>
38+
</display>
39+
</class>
40+
<class id="5" language="java" name="com.iluwatar.api.gateway.MobileProduct" project="api-gateway"
41+
file="/api-gateway/src/main/java/com/iluwatar/api/gateway/MobileProduct.java" binary="false" corner="BOTTOM_RIGHT">
42+
<position height="-1" width="-1" x="376" y="293"/>
43+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
44+
sort-features="false" accessors="true" visibility="true">
45+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
46+
<operations public="true" package="true" protected="true" private="true" static="true"/>
47+
</display>
48+
</class>
49+
<interface id="6" language="java" name="com.iluwatar.api.gateway.PriceClient" project="api-gateway"
50+
file="/api-gateway/src/main/java/com/iluwatar/api/gateway/PriceClient.java" binary="false" corner="BOTTOM_RIGHT">
51+
<position height="-1" width="-1" x="222" y="231"/>
52+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
53+
sort-features="false" accessors="true" visibility="true">
54+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
55+
<operations public="true" package="true" protected="true" private="true" static="true"/>
56+
</display>
57+
</interface>
58+
<class id="7" language="java" name="com.iluwatar.api.gateway.PriceClientImpl" project="api-gateway"
59+
file="/api-gateway/src/main/java/com/iluwatar/api/gateway/PriceClientImpl.java" binary="false" corner="BOTTOM_RIGHT">
60+
<position height="-1" width="-1" x="223" y="374"/>
61+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
62+
sort-features="false" accessors="true" visibility="true">
63+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
64+
<operations public="true" package="true" protected="true" private="true" static="true"/>
65+
</display>
66+
</class>
67+
<association id="8">
68+
<end type="SOURCE" refId="1" navigable="false">
69+
<attribute id="9" name="imageClient"/>
70+
<multiplicity id="10" minimum="0" maximum="1"/>
71+
</end>
72+
<end type="TARGET" refId="3" navigable="true"/>
73+
<display labels="true" multiplicity="true"/>
74+
</association>
75+
<realization id="11">
76+
<end type="SOURCE" refId="4"/>
77+
<end type="TARGET" refId="3"/>
78+
</realization>
79+
<association id="12">
80+
<end type="SOURCE" refId="1" navigable="false">
81+
<attribute id="13" name="priceClient"/>
82+
<multiplicity id="14" minimum="0" maximum="1"/>
83+
</end>
84+
<end type="TARGET" refId="6" navigable="true"/>
85+
<display labels="true" multiplicity="true"/>
86+
</association>
87+
<realization id="15">
88+
<end type="SOURCE" refId="7"/>
89+
<end type="TARGET" refId="6"/>
90+
</realization>
91+
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
92+
sort-features="false" accessors="true" visibility="true">
93+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
94+
<operations public="true" package="true" protected="true" private="true" static="true"/>
95+
</classifier-display>
96+
<association-display labels="true" multiplicity="true"/>
97+
</class-diagram>
2.63 KB
Loading
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<class-diagram version="1.1.9" icons="true" automaticImage="PNG" always-add-relationships="false" generalizations="true"
3+
realizations="true" associations="true" dependencies="false" nesting-relationships="true" router="FAN">
4+
<class id="1" language="java" name="com.iluwatar.image.microservice.ImageController" project="image-microservice"
5+
file="/image-microservice/src/main/java/com/iluwatar/image/microservice/ImageController.java" binary="false"
6+
corner="BOTTOM_RIGHT">
7+
<position height="-1" width="-1" x="87" y="61"/>
8+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
9+
sort-features="false" accessors="true" visibility="true">
10+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
11+
<operations public="true" package="true" protected="true" private="true" static="true"/>
12+
</display>
13+
</class>
14+
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
15+
sort-features="false" accessors="true" visibility="true">
16+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
17+
<operations public="true" package="true" protected="true" private="true" static="true"/>
18+
</classifier-display>
19+
<association-display labels="true" multiplicity="true"/>
20+
</class-diagram>
2.51 KB
Loading
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<class-diagram version="1.1.9" icons="true" automaticImage="PNG" always-add-relationships="false" generalizations="true"
3+
realizations="true" associations="true" dependencies="false" nesting-relationships="true" router="FAN">
4+
<class id="1" language="java" name="com.iluwatar.price.microservice.PriceController" project="price-microservice"
5+
file="/price-microservice/src/main/java/com/iluwatar/price/microservice/PriceController.java" binary="false"
6+
corner="BOTTOM_RIGHT">
7+
<position height="-1" width="-1" x="82" y="63"/>
8+
<display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
9+
sort-features="false" accessors="true" visibility="true">
10+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
11+
<operations public="true" package="true" protected="true" private="true" static="true"/>
12+
</display>
13+
</class>
14+
<classifier-display autosize="true" stereotype="true" package="true" initial-value="false" signature="true"
15+
sort-features="false" accessors="true" visibility="true">
16+
<attributes public="true" package="true" protected="true" private="true" static="true"/>
17+
<operations public="true" package="true" protected="true" private="true" static="true"/>
18+
</classifier-display>
19+
<association-display labels="true" multiplicity="true"/>
20+
</class-diagram>

0 commit comments

Comments
 (0)