Skip to content

Commit 582f233

Browse files
committed
✨ Create a alarm-entities module.
1 parent ea87bfc commit 582f233

File tree

12 files changed

+25
-2
lines changed

12 files changed

+25
-2
lines changed

alarm-entities/pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<parent>
4+
<groupId>com.ubiqube.mano.alarm</groupId>
5+
<artifactId>mano-alarm</artifactId>
6+
<version>4.0.1-SNAPSHOT</version>
7+
</parent>
8+
<artifactId>alarm-entities</artifactId>
9+
<dependencies>
10+
<dependency>
11+
<groupId>jakarta.persistence</groupId>
12+
<artifactId>jakarta.persistence-api</artifactId>
13+
</dependency>
14+
<dependency>
15+
<groupId>jakarta.validation</groupId>
16+
<artifactId>jakarta.validation-api</artifactId>
17+
</dependency>
18+
<dependency>
19+
<groupId>org.projectlombok</groupId>
20+
<artifactId>lombok</artifactId>
21+
<optional>true</optional>
22+
</dependency>
23+
</dependencies>
24+
</project>

alarm-api/src/main/java/com/ubiqube/etsi/mano/alarm/entities/AlarmSubscription.java renamed to alarm-entities/src/main/java/com/ubiqube/etsi/mano/alarm/entities/AlarmSubscription.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import java.net.URI;
2020
import java.util.UUID;
2121

22-
import io.swagger.v3.oas.annotations.media.Schema;
2322
import jakarta.persistence.Entity;
2423
import jakarta.persistence.GeneratedValue;
2524
import jakarta.persistence.GenerationType;
@@ -42,7 +41,6 @@ public class AlarmSubscription {
4241

4342
private AuthentificationInformations authentication;
4443

45-
@Schema(description = "Callback URL when alarm is triggered.")
4644
private URI callbackUri;
4745

4846
private String remoteId;

0 commit comments

Comments
 (0)