Skip to content

Commit b9bf5db

Browse files
authored
Merge pull request #14 from Halbes-Byte/feature/meeting
Feature/meeting
2 parents 3936494 + 0780c68 commit b9bf5db

30 files changed

+703
-17
lines changed

.DS_Store

8 KB
Binary file not shown.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@ server/target/
33
.idea/
44
target/
55
start_vpn.sh
6+
server/generated-sources/
7+
data/

Diagramme/Ablaufdiagramme.pdf

2.72 MB
Binary file not shown.
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0" version="24.9.1">
2+
<diagram name="Page-1" id="2ONLQ2llJ2bFhIthNjk6">
3+
<mxGraphModel dx="2157" dy="837" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
4+
<root>
5+
<mxCell id="0" />
6+
<mxCell id="1" parent="0" />
7+
<mxCell id="NpyAXvUKR84_gkl5Sbza-21" style="rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.3333333333333333;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;endArrow=none;endFill=0;" edge="1" parent="1" source="NpyAXvUKR84_gkl5Sbza-1" target="NpyAXvUKR84_gkl5Sbza-20">
8+
<mxGeometry relative="1" as="geometry">
9+
<mxPoint x="-560" y="230" as="targetPoint" />
10+
</mxGeometry>
11+
</mxCell>
12+
<mxCell id="NpyAXvUKR84_gkl5Sbza-22" value="&lt;font color=&quot;#ff6666&quot;&gt;DELETE&lt;/font&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="NpyAXvUKR84_gkl5Sbza-21">
13+
<mxGeometry x="0.1042" y="1" relative="1" as="geometry">
14+
<mxPoint as="offset" />
15+
</mxGeometry>
16+
</mxCell>
17+
<mxCell id="NpyAXvUKR84_gkl5Sbza-1" value="&lt;div&gt;Client (Frontend)&lt;/div&gt;&lt;div&gt;/Nutzer&lt;br&gt;&lt;/div&gt;" style="shape=umlActor;verticalLabelPosition=bottom;verticalAlign=top;html=1;" vertex="1" parent="1">
18+
<mxGeometry x="-700" y="190" width="30" height="60" as="geometry" />
19+
</mxCell>
20+
<mxCell id="NpyAXvUKR84_gkl5Sbza-2" value="createMeeting" style="ellipse;whiteSpace=wrap;html=1;align=center;" vertex="1" parent="1">
21+
<mxGeometry x="-500" y="50" width="100" height="40" as="geometry" />
22+
</mxCell>
23+
<mxCell id="NpyAXvUKR84_gkl5Sbza-3" value="" style="endArrow=none;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" target="NpyAXvUKR84_gkl5Sbza-2">
24+
<mxGeometry relative="1" as="geometry">
25+
<mxPoint x="-670" y="210" as="sourcePoint" />
26+
<mxPoint x="-290" y="210" as="targetPoint" />
27+
</mxGeometry>
28+
</mxCell>
29+
<mxCell id="NpyAXvUKR84_gkl5Sbza-4" value="POST" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="NpyAXvUKR84_gkl5Sbza-3">
30+
<mxGeometry x="-0.1319" y="-1" relative="1" as="geometry">
31+
<mxPoint as="offset" />
32+
</mxGeometry>
33+
</mxCell>
34+
<mxCell id="NpyAXvUKR84_gkl5Sbza-6" value="&lt;div&gt;Validate Data&lt;/div&gt;&lt;div&gt;&amp;amp; Save in DB&lt;br&gt;&lt;/div&gt;" style="ellipse;whiteSpace=wrap;html=1;align=center;" vertex="1" parent="1">
35+
<mxGeometry x="-295" y="140" width="100" height="40" as="geometry" />
36+
</mxCell>
37+
<mxCell id="NpyAXvUKR84_gkl5Sbza-9" value="&amp;lt;&amp;lt;include&amp;gt;&amp;gt;" style="endArrow=open;endSize=12;dashed=1;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="NpyAXvUKR84_gkl5Sbza-2" target="NpyAXvUKR84_gkl5Sbza-6">
38+
<mxGeometry width="160" relative="1" as="geometry">
39+
<mxPoint x="-460" y="100" as="sourcePoint" />
40+
<mxPoint x="-310" y="130" as="targetPoint" />
41+
</mxGeometry>
42+
</mxCell>
43+
<mxCell id="NpyAXvUKR84_gkl5Sbza-10" value="changeMeeting" style="ellipse;whiteSpace=wrap;html=1;align=center;" vertex="1" parent="1">
44+
<mxGeometry x="-500" y="140" width="100" height="40" as="geometry" />
45+
</mxCell>
46+
<mxCell id="NpyAXvUKR84_gkl5Sbza-11" value="&amp;lt;&amp;lt;include&amp;gt;&amp;gt;" style="endArrow=open;endSize=12;dashed=1;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" target="NpyAXvUKR84_gkl5Sbza-6">
47+
<mxGeometry width="160" relative="1" as="geometry">
48+
<mxPoint x="-400" y="159.76999999999998" as="sourcePoint" />
49+
<mxPoint x="-320" y="160" as="targetPoint" />
50+
</mxGeometry>
51+
</mxCell>
52+
<mxCell id="NpyAXvUKR84_gkl5Sbza-12" value="getMeeting" style="ellipse;whiteSpace=wrap;html=1;align=center;" vertex="1" parent="1">
53+
<mxGeometry x="-500" y="310" width="100" height="40" as="geometry" />
54+
</mxCell>
55+
<mxCell id="NpyAXvUKR84_gkl5Sbza-13" value="" style="endArrow=none;html=1;rounded=0;exitX=1;exitY=0.3333333333333333;exitDx=0;exitDy=0;exitPerimeter=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="NpyAXvUKR84_gkl5Sbza-1" target="NpyAXvUKR84_gkl5Sbza-10">
56+
<mxGeometry width="50" height="50" relative="1" as="geometry">
57+
<mxPoint x="-440" y="220" as="sourcePoint" />
58+
<mxPoint x="-390" y="170" as="targetPoint" />
59+
</mxGeometry>
60+
</mxCell>
61+
<mxCell id="NpyAXvUKR84_gkl5Sbza-14" value="&lt;font color=&quot;#ff6666&quot;&gt;PUT&lt;/font&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="NpyAXvUKR84_gkl5Sbza-13">
62+
<mxGeometry x="0.2251" relative="1" as="geometry">
63+
<mxPoint as="offset" />
64+
</mxGeometry>
65+
</mxCell>
66+
<mxCell id="NpyAXvUKR84_gkl5Sbza-15" value="" style="endArrow=none;html=1;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" target="NpyAXvUKR84_gkl5Sbza-12">
67+
<mxGeometry width="50" height="50" relative="1" as="geometry">
68+
<mxPoint x="-670" y="210" as="sourcePoint" />
69+
<mxPoint x="-390" y="170" as="targetPoint" />
70+
</mxGeometry>
71+
</mxCell>
72+
<mxCell id="NpyAXvUKR84_gkl5Sbza-16" value="&lt;font color=&quot;#ff6666&quot;&gt;GET&lt;/font&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="NpyAXvUKR84_gkl5Sbza-15">
73+
<mxGeometry x="0.0358" y="-1" relative="1" as="geometry">
74+
<mxPoint as="offset" />
75+
</mxGeometry>
76+
</mxCell>
77+
<mxCell id="NpyAXvUKR84_gkl5Sbza-18" value="&lt;div&gt;retrieve Data&amp;nbsp;&lt;/div&gt;&lt;div&gt;from DB&lt;/div&gt;" style="ellipse;whiteSpace=wrap;html=1;align=center;" vertex="1" parent="1">
78+
<mxGeometry x="-295" y="310" width="100" height="40" as="geometry" />
79+
</mxCell>
80+
<mxCell id="NpyAXvUKR84_gkl5Sbza-19" value="&amp;lt;&amp;lt;include&amp;gt;&amp;gt;" style="endArrow=open;endSize=12;dashed=1;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="NpyAXvUKR84_gkl5Sbza-12" target="NpyAXvUKR84_gkl5Sbza-18">
81+
<mxGeometry width="160" relative="1" as="geometry">
82+
<mxPoint x="-400" y="229.77999999999997" as="sourcePoint" />
83+
<mxPoint x="-295" y="230.01" as="targetPoint" />
84+
</mxGeometry>
85+
</mxCell>
86+
<mxCell id="NpyAXvUKR84_gkl5Sbza-20" value="deleteMeeting" style="ellipse;whiteSpace=wrap;html=1;align=center;fontStyle=4;" vertex="1" parent="1">
87+
<mxGeometry x="-500" y="210" width="100" height="40" as="geometry" />
88+
</mxCell>
89+
<mxCell id="NpyAXvUKR84_gkl5Sbza-23" value="&amp;lt;&amp;lt;extends&amp;gt;&amp;gt;" style="endArrow=open;endSize=12;dashed=1;html=1;rounded=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;exitX=0.5;exitY=1;exitDx=0;exitDy=0;" edge="1" parent="1" source="NpyAXvUKR84_gkl5Sbza-20" target="NpyAXvUKR84_gkl5Sbza-12">
90+
<mxGeometry width="160" relative="1" as="geometry">
91+
<mxPoint x="-390" y="280" as="sourcePoint" />
92+
<mxPoint x="-360" y="250" as="targetPoint" />
93+
</mxGeometry>
94+
</mxCell>
95+
<mxCell id="NpyAXvUKR84_gkl5Sbza-24" value="&amp;lt;&amp;lt;include&amp;gt;&amp;gt;" style="endArrow=open;endSize=12;dashed=1;html=1;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.517;entryY=0.999;entryDx=0;entryDy=0;entryPerimeter=0;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1" source="NpyAXvUKR84_gkl5Sbza-20" target="NpyAXvUKR84_gkl5Sbza-6">
96+
<mxGeometry width="160" relative="1" as="geometry">
97+
<mxPoint x="-520" y="250" as="sourcePoint" />
98+
<mxPoint x="-290" y="160" as="targetPoint" />
99+
</mxGeometry>
100+
</mxCell>
101+
<mxCell id="NpyAXvUKR84_gkl5Sbza-25" value="" style="swimlane;startSize=0;strokeWidth=3;" vertex="1" parent="1">
102+
<mxGeometry x="-530" y="10" width="370" height="380" as="geometry" />
103+
</mxCell>
104+
<mxCell id="NpyAXvUKR84_gkl5Sbza-26" value="Meeting Manager" style="text;strokeColor=none;fillColor=none;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;fontSize=12;whiteSpace=wrap;html=1;" vertex="1" parent="NpyAXvUKR84_gkl5Sbza-25">
105+
<mxGeometry x="125" width="110" height="30" as="geometry" />
106+
</mxCell>
107+
</root>
108+
</mxGraphModel>
109+
</diagram>
110+
</mxfile>

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,12 @@
22

33
## Documentation
44
Can be found at `/api-docs` (e.g. `https://example.com/api-docs`)
5+
6+
## Interactive DB
7+
Can be found at `/h2-console`
8+
```
9+
Driver Class: org.h2.Driver
10+
JDBC URL: jdbc:h2:file:./data/demo
11+
User Name: sa
12+
Password: password
13+
```

scripts/local_rebuild.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
docker image rm -f local-build-sb-server
2+
docker build ../ -t local-build-sb-server

scripts/local_run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker run -p 8080:8080 local-build-sb-server

server/.DS_Store

6 KB
Binary file not shown.

server/application.properties

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +0,0 @@
1-
spring.jpa.show-sql=true
2-
3-
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
4-
spring.datasource.driver-class-name=org.h2.Driver
5-
spring.datasource.username=sa
6-
spring.datasource.password=password
7-
spring.h2.console.enabled=true
8-
spring.jpa.hibernate.ddl-auto=create-drop

server/pom.xml

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<dependency>
6161
<groupId>org.projectlombok</groupId>
6262
<artifactId>lombok</artifactId>
63-
<version>1.18.28</version>
63+
<version>1.18.36</version>
6464
<scope>provided</scope> <!-- Only needed during development, not runtime -->
6565
</dependency>
6666

@@ -132,9 +132,47 @@
132132
<version>1.6.1</version>
133133
</path>
134134
</annotationProcessorPaths>
135+
<generatedSourcesDirectory>${project.basedir}/generated-sources</generatedSourcesDirectory>
135136
</configuration>
136137
</plugin>
138+
<plugin>
139+
<groupId>org.jacoco</groupId>
140+
<artifactId>jacoco-maven-plugin</artifactId>
141+
<version>0.8.12</version>
142+
<executions>
143+
<execution>
144+
<goals>
145+
<goal>prepare-agent</goal>
146+
</goals>
147+
</execution>
148+
<execution>
149+
<id>jacoco-check</id>
150+
<goals>
151+
<goal>check</goal>
152+
</goals>
153+
<configuration>
154+
<rules>
155+
<rule>
156+
<element>PACKAGE</element>
157+
<limits>
158+
<limit>
159+
<counter>INSTRUCTION</counter>
160+
<minimum>0.80%</minimum>
161+
</limit>
162+
</limits>
163+
</rule>
164+
</rules>
165+
</configuration>
166+
</execution>
167+
<execution>
168+
<id>report</id>
169+
<phase>prepare-package</phase>
170+
<goals>
171+
<goal>report</goal>
172+
</goals>
173+
</execution>
174+
</executions>
175+
</plugin>
137176
</plugins>
138177
</build>
139-
140178
</project>

0 commit comments

Comments
 (0)