-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathjhipster-jdl.jh
195 lines (160 loc) · 2.92 KB
/
jhipster-jdl.jh
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
entity Integration {
name String,
type GatewayType,
environmentName String,
stage EnvironmentType,
connectorType ConnectorType,
defaultFromStepType String,
defaultToStepType String,
defaultErrorStepType String
}
entity Flow {
name String,
type String,
notes TextBlob,
autoStart Boolean,
offLoading Boolean,
maximumRedeliveries Integer,
redeliveryDelay Integer,
loadBalancing Boolean,
parallelProcessing Boolean,
logLevel LogLevelType,
instances Integer,
version Integer,
created Instant,
lastModified Instant
}
entity Step {
stepType StepType,
compponentType ComponentType,
uri TextBlob,
options TextBlob,
}
entity Link {
name String,
bound String,
transport String,
rule String,
expression String,
point String,
format String,
pattern String
}
entity Route {
name String,
type String,
content TextBlob
}
entity RouteConfiguraiton {
name String,
type String,
content TextBlob
}
entity Connection {
name String,
type String
}
entity ConnectionKeys {
key String,
value TextBlob,
type String
}
entity Message {
name String,
body TextBlob,
language String
}
entity Header {
key String,
value TextBlob,
type String,
language String
}
entity EnvironmentVariables {
key String,
value TextBlob,
encrypted Boolean
}
entity Maintenance {
startTime Instant,
endTime Instant,
duration Instant,
frequency String
}
entity Security {
url String,
certificateName String,
certificateFile Blob,
certificateExpiry Instant,
}
entity Broker {
name String,
autoStart Boolean,
type String,
configuration String,
}
entity Queue {
itemsOnPage Integer,
refreshInterval Integer,
selectedColumn String,
orderColumn String,
}
entity Topic {
itemsOnPage Integer,
refreshInterval Integer,
selectedColumn String,
orderColumn String,
}
enum GatewayType {
ADAPTER, BROKER, API, SOAP
}
enum EnvironmentType {
DEVELOPMENT, TEST, ACCEPTANCE, PRODUCTION
}
enum ConnectorType {
CAMEL,SPRINGINTEGRATION,CURL
}
enum StepType {
FROM, TO, ERROR, WIRETAP, RESPONSE
}
enum ComponentType {
ACTIVEMQ, FILE, HTTP4, KAFKA, SFTP, SJMS, SMTP, SONICMQ, SQL, STREAM, VM, WASTEBIN
}
enum LogLevelType {
ERROR, WARN, INFO, DEBUG, TRACE, OFF
}
relationship OneToOne {
Gateway{wiretapStep} to WireTapStep
}
relationship OneToMany {
Gateway{flow} to Flow
}
relationship OneToMany {
Gateway{environmentVariables} to EnvironmentVariables
}
relationship OneToMany {
Flow{step} to Step
}
relationship OneToMany {
Step{link} to Link
}
relationship ManyToOne {
Step{connection} to Connection
}
relationship ManyToOne {
Step{message} to Message
}
relationship OneToMany {
Connection{connectionKeys} to ConnectionKeys
}
relationship OneToMany {
Message{message} to Header
}
relationship OneToOne {
Maintenance{flow} to Flow
}
// Set pagination options
paginate Flow with infinite-scroll
dto * with mapstruct
// Set connection options to all except few
connection all with connectionImpl