File tree Expand file tree Collapse file tree 2 files changed +31
-29
lines changed
Expand file tree Collapse file tree 2 files changed +31
-29
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ Example:
7777 {
7878 "group_id" : 1 ,
7979 "name" : " Beautiful name" ,
80+ "slug" : " 1-beautiful-name" ,
8081 "description" : " What a great queue !" ,
8182 }
8283
@@ -104,6 +105,7 @@ Example:
104105 "source_params" : {"type" : " postgres" , "table_name" : " source_table" },
105106 "target_params" : {"type" : " mysql" , "table_name" : " target_table" },
106107 "strategy_params" : {"type" : " full" },
108+ "transformations" : [],
107109 "resources" : {"max_parallel_tasks" : 2 , "cpu_cores_per_task" : 2 , "ram_bytes_per_task" : " 1 GiB" }
108110 }
109111
@@ -146,80 +148,80 @@ Entity Diagram
146148 is_superuser
147149 created_at
148150 updated_at
149- is_deleted
150151 }
151152
152153 entity Group {
153154 * id
154155 ----
155156 name
156157 description
157- * owner_id
158+ owner_id
158159 created_at
159160 updated_at
160- is_deleted
161161 }
162162
163163 entity Connection {
164164 * id
165165 ----
166- * group_id
166+ group_id
167+ type
167168 name
168169 description
169170 data
170- is_deleted
171171 created_at
172172 updated_at
173173 }
174174
175175 entity Queue {
176176 * id
177177 ----
178- * group_id
179178 name
179+ slug
180+ group_id
180181 description
181182 created_at
182183 updated_at
183- is_deleted
184184 }
185185
186186 entity Transfer {
187187 * id
188188 ----
189- * group_id
190- * source_connection_id
191- * target_connection_id
192- * queue_id
193- description
189+ group_id
190+ name
191+ source_connection_id
192+ target_connection_id
194193 strategy_params
195- source_params
196194 target_params
195+ transformations
196+ resources
197197 is_scheduled
198198 schedule
199- is_deleted
199+ queue_id
200200 created_at
201201 updated_at
202202 }
203203
204204 entity Run {
205205 * id
206206 ----
207- * transfer_id
207+ transfer_id
208208 started_at
209209 ended_at
210210 status
211+ type
211212 log_url
212213 transfer_dump
213214 created_at
214215 updated_at
215216 }
216217
217- Run }o--|| Transfer
218- Transfer }o--|| Queue
219- Transfer }o--|| Connection
220- Transfer }o--|| Group
221- Connection }o--| { Group
222- Queue }o--| { Group
218+ Run ||--o{ Transfer
219+ Transfer ||--o{ Queue
220+ Transfer ||--o{ Connection
221+ Transfer ||--o{ Group
222+ Connection ||--o { Group
223+ Queue ||--o { Group
223224 Group }o--o{ User
225+ Group "owner_id" ||--o{ User
224226
225227 @enduml
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Database structure
4646 entity connection {
4747 * id: bigint
4848 ----
49- * group_id: bigint
49+ group_id: bigint
5050 type: varchar(23)
5151 name: varchar(123)
5252 description: varchar(512)
@@ -68,8 +68,8 @@ Database structure
6868 * id: bigint
6969 ----
7070 name: varchar(128)
71- slut : varchar(256)
72- * group_id: bigint
71+ slug : varchar(256)
72+ group_id: bigint
7373 description: varchar(512)
7474 created_at: timestamptz
7575 updated_at: timestamptz
@@ -78,25 +78,25 @@ Database structure
7878 entity transfer {
7979 * id: bigint
8080 ----
81- * group_id: bigint
81+ group_id: bigint
8282 name: varchar(128)
83- * source_connection_id: bigint
84- * target_connection_id: bigint
83+ source_connection_id: bigint
84+ target_connection_id: bigint
8585 strategy_params: json
8686 target_params: json
8787 transformations: json
8888 resources: json
8989 is_scheduled: boolean
9090 schedule: varchar(32)
91- * queue_id: bigint
91+ queue_id: bigint
9292 created_at: timestamptz
9393 updated_at: timestamptz
9494 }
9595
9696 entity run {
9797 * id: bigint
9898 ----
99- * transfer_id
99+ transfer_id
100100 started_at: timestamptz
101101 ended_at: timestamptz
102102 status: varchar(255)
You can’t perform that action at this time.
0 commit comments