-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmigration-ms.jdl
More file actions
49 lines (41 loc) · 941 Bytes
/
migration-ms.jdl
File metadata and controls
49 lines (41 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
enum OrganizationStatus {
ACTIVE, INACTIVE, BLOCKED
}
enum ChangelogStatus {
ACTIVE, INACTIVE
}
entity Organization {
id Long
tenantId Long required
status OrganizationStatus
}
entity OrganizationMicroservice {
id Long
version Integer required
updated Boolean required
}
entity Microservice {
id Long
name String maxlength(250) required
version Integer required
updated Boolean required
}
entity Changelog {
id Long
name String maxlength(4000) required
originalName String maxlength(4000) required
path String minlength(1) maxlength(4000) required
filesize Long required
status ChangelogStatus required
}
relationship ManyToOne {
Changelog{microservice} to Microservice
}
relationship OneToOne {
OrganizationMicroservice{microservice} to Microservice
OrganizationMicroservice{organization} to Organization
}
dto * with mapstruct
service * with serviceImpl
paginate * with pagination
filter *