asyncapi-server 1.3.0 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2011 +1,763 @@
1
-  (2.5ms) SELECT sqlite_version(*)
2
-  (0.2ms) PRAGMA foreign_keys
3
-  (0.1ms) PRAGMA defer_foreign_keys
4
-  (0.1ms) PRAGMA defer_foreign_keys = ON
5
-  (0.1ms) PRAGMA foreign_keys = OFF
6
-  (0.2ms) PRAGMA defer_foreign_keys = 0
7
-  (0.2ms) PRAGMA foreign_keys = 1
8
- TRANSACTION (0.1ms) begin transaction
9
- TRANSACTION (0.1ms) rollback transaction
10
- TRANSACTION (0.1ms) begin transaction
11
- TRANSACTION (0.1ms) rollback transaction
12
- TRANSACTION (0.1ms) begin transaction
13
- TRANSACTION (0.1ms) rollback transaction
14
- TRANSACTION (0.1ms) begin transaction
15
- TRANSACTION (0.1ms) rollback transaction
16
- TRANSACTION (0.1ms) begin transaction
17
- TRANSACTION (0.2ms) rollback transaction
18
- TRANSACTION (0.1ms) begin transaction
19
- TRANSACTION (0.1ms) rollback transaction
20
- TRANSACTION (0.1ms) begin transaction
21
- TRANSACTION (0.1ms) rollback transaction
22
- TRANSACTION (0.5ms) begin transaction
23
- TRANSACTION (0.8ms) rollback transaction
24
- TRANSACTION (0.6ms) begin transaction
25
- TRANSACTION (0.1ms) rollback transaction
26
- TRANSACTION (0.1ms) begin transaction
27
- TRANSACTION (0.1ms) rollback transaction
28
- TRANSACTION (0.1ms) begin transaction
29
- TRANSACTION (0.1ms) rollback transaction
30
- TRANSACTION (0.1ms) begin transaction
31
- TRANSACTION (0.1ms) rollback transaction
32
- TRANSACTION (0.1ms) begin transaction
33
- TRANSACTION (0.1ms) rollback transaction
34
- TRANSACTION (0.1ms) begin transaction
35
- TRANSACTION (0.1ms) rollback transaction
36
- TRANSACTION (0.1ms) begin transaction
37
- TRANSACTION (17.0ms) rollback transaction
38
- Started POST "/tests" for 127.0.0.1 at 2021-03-09 16:40:01 +0800
39
- Processing by TestsController#create as HTML
40
- Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
41
- Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.1ms | Allocations: 321)
42
-  (0.1ms) PRAGMA foreign_keys
43
-  (0.1ms) PRAGMA defer_foreign_keys
44
-  (0.1ms) PRAGMA defer_foreign_keys = ON
45
-  (0.1ms) PRAGMA foreign_keys = OFF
46
-  (0.0ms) PRAGMA defer_foreign_keys = 0
47
-  (0.0ms) PRAGMA foreign_keys = 1
48
-  (2.7ms) SELECT sqlite_version(*)
49
-  (0.1ms) PRAGMA foreign_keys
50
-  (0.1ms) PRAGMA defer_foreign_keys
51
-  (0.1ms) PRAGMA defer_foreign_keys = ON
52
-  (0.1ms) PRAGMA foreign_keys = OFF
53
-  (0.1ms) PRAGMA defer_foreign_keys = 0
54
-  (0.0ms) PRAGMA foreign_keys = 1
55
- TRANSACTION (0.3ms) begin transaction
56
- TRANSACTION (0.1ms) rollback transaction
57
- TRANSACTION (0.1ms) begin transaction
58
- TRANSACTION (0.1ms) rollback transaction
59
- TRANSACTION (0.1ms) begin transaction
60
- TRANSACTION (0.1ms) rollback transaction
61
- Started POST "/tests" for 127.0.0.1 at 2021-03-09 16:45:30 +0800
62
- Processing by TestsController#create as HTML
63
- Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
64
- Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.2ms | Allocations: 319)
65
-  (0.1ms) PRAGMA foreign_keys
66
-  (0.1ms) PRAGMA defer_foreign_keys
67
-  (0.1ms) PRAGMA defer_foreign_keys = ON
68
-  (0.1ms) PRAGMA foreign_keys = OFF
1
+  (0.5ms) SELECT sqlite_version(*)
2
+  (0.0ms) PRAGMA foreign_keys
3
+  (0.0ms) PRAGMA defer_foreign_keys
4
+  (0.0ms) PRAGMA defer_foreign_keys = ON
5
+  (0.0ms) PRAGMA foreign_keys = OFF
69
6
   (0.0ms) PRAGMA defer_foreign_keys = 0
70
7
   (0.0ms) PRAGMA foreign_keys = 1
71
- TRANSACTION (0.1ms) begin transaction
8
+ TRANSACTION (0.0ms) begin transaction
9
+ TRANSACTION (0.0ms) rollback transaction
10
+ TRANSACTION (0.0ms) begin transaction
11
+ TRANSACTION (0.0ms) rollback transaction
12
+ TRANSACTION (0.0ms) begin transaction
72
13
  TRANSACTION (0.0ms) rollback transaction
73
- TRANSACTION (0.1ms) begin transaction
14
+ TRANSACTION (0.0ms) begin transaction
74
15
  TRANSACTION (0.0ms) rollback transaction
75
- TRANSACTION (0.1ms) begin transaction
16
+ TRANSACTION (0.0ms) begin transaction
76
17
  TRANSACTION (0.0ms) rollback transaction
77
- TRANSACTION (0.1ms) begin transaction
18
+ TRANSACTION (0.0ms) begin transaction
78
19
  TRANSACTION (0.0ms) rollback transaction
79
20
  TRANSACTION (0.0ms) begin transaction
80
- TRANSACTION (0.1ms) rollback transaction
81
- TRANSACTION (0.1ms) begin transaction
82
21
  TRANSACTION (0.0ms) rollback transaction
83
22
  TRANSACTION (0.0ms) begin transaction
84
23
  TRANSACTION (0.0ms) rollback transaction
85
- TRANSACTION (0.1ms) begin transaction
86
- TRANSACTION (0.1ms) rollback transaction
87
- TRANSACTION (0.1ms) begin transaction
24
+ TRANSACTION (0.0ms) begin transaction
88
25
  TRANSACTION (0.0ms) rollback transaction
89
- TRANSACTION (0.1ms) begin transaction
90
- TRANSACTION (0.1ms) rollback transaction
91
26
  TRANSACTION (0.0ms) begin transaction
92
27
  TRANSACTION (0.0ms) rollback transaction
93
- TRANSACTION (0.1ms) begin transaction
28
+ TRANSACTION (0.0ms) begin transaction
94
29
  TRANSACTION (0.0ms) rollback transaction
95
-  (1.4ms) SELECT sqlite_version(*)
96
-  (0.1ms) PRAGMA foreign_keys
97
-  (0.1ms) PRAGMA defer_foreign_keys
30
+ TRANSACTION (0.0ms) begin transaction
31
+ TRANSACTION (0.0ms) rollback transaction
32
+ TRANSACTION (0.0ms) begin transaction
33
+ TRANSACTION (0.0ms) rollback transaction
34
+ TRANSACTION (0.0ms) begin transaction
35
+ TRANSACTION (0.0ms) rollback transaction
36
+ TRANSACTION (0.0ms) begin transaction
37
+ TRANSACTION (0.0ms) rollback transaction
38
+ TRANSACTION (0.0ms) begin transaction
39
+ TRANSACTION (0.0ms) rollback transaction
40
+ TRANSACTION (0.0ms) begin transaction
41
+ TRANSACTION (0.0ms) rollback transaction
42
+ TRANSACTION (0.0ms) begin transaction
43
+ TRANSACTION (0.0ms) rollback transaction
44
+ TRANSACTION (0.0ms) begin transaction
45
+ TRANSACTION (0.0ms) rollback transaction
46
+ Started POST "/tests" for 127.0.0.1 at 2022-03-21 14:19:56 -0300
47
+ Processing by TestsController#create as HTML
48
+ Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
49
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.1ms | Allocations: 317)
50
+  (0.0ms) PRAGMA foreign_keys
51
+  (0.0ms) PRAGMA defer_foreign_keys
98
52
   (0.0ms) PRAGMA defer_foreign_keys = ON
99
53
   (0.0ms) PRAGMA foreign_keys = OFF
100
-  (0.2ms) TRUNCATE TABLE "asyncapi_server_jobs"
101
-  (1.3ms) DELETE FROM "asyncapi_server_jobs"
102
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
103
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
104
54
   (0.0ms) PRAGMA defer_foreign_keys = 0
105
55
   (0.0ms) PRAGMA foreign_keys = 1
106
- Started POST "/tests" for 127.0.0.1 at 2021-03-09 16:46:28 +0800
107
- Processing by TestsController#create as HTML
108
- Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
109
- TRANSACTION (0.1ms) begin transaction
110
- Asyncapi::Server::Job Create (0.5ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
111
- TRANSACTION (0.8ms) commit transaction
112
- Completed 500 Internal Server Error in 78ms (ActiveRecord: 2.8ms | Allocations: 25859)
113
-  (0.1ms) PRAGMA foreign_keys
114
-  (0.1ms) PRAGMA defer_foreign_keys
115
-  (0.1ms) PRAGMA defer_foreign_keys = ON
116
-  (0.0ms) PRAGMA foreign_keys = OFF
117
-  (0.2ms) TRUNCATE TABLE "asyncapi_server_jobs"
118
-  (1.0ms) DELETE FROM "asyncapi_server_jobs"
119
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
120
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
121
-  (0.1ms) PRAGMA defer_foreign_keys = 0
122
-  (0.1ms) PRAGMA foreign_keys = 1
123
- TRANSACTION (0.1ms) begin transaction
124
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
125
- Asyncapi::Server::Job Create (0.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
126
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
127
- TRANSACTION (0.5ms) rollback transaction
128
- TRANSACTION (0.1ms) begin transaction
129
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
130
- Asyncapi::Server::Job Create (0.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
131
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
132
- TRANSACTION (0.6ms) rollback transaction
133
- TRANSACTION (0.1ms) begin transaction
134
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
135
- Asyncapi::Server::Job Create (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
136
- TRANSACTION (0.3ms) RELEASE SAVEPOINT active_record_1
137
- TRANSACTION (0.5ms) rollback transaction
138
- TRANSACTION (0.1ms) begin transaction
139
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
140
- Asyncapi::Server::Job Create (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
141
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
142
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
143
- Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
144
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
145
- TRANSACTION (1.8ms) rollback transaction
146
- TRANSACTION (0.1ms) begin transaction
147
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
148
- Asyncapi::Server::Job Create (0.8ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
149
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
150
- Asyncapi::Server::Job Load (0.3ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
151
- TRANSACTION (0.3ms) SAVEPOINT active_record_1
152
- Asyncapi::Server::Job Update (0.4ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
153
- TRANSACTION (0.3ms) RELEASE SAVEPOINT active_record_1
154
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
155
- TRANSACTION (0.5ms) rollback transaction
156
- TRANSACTION (0.1ms) begin transaction
157
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
158
- Asyncapi::Server::Job Create (0.5ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
159
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
160
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
161
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
162
- Asyncapi::Server::Job Update (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
163
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
164
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
165
- TRANSACTION (0.6ms) rollback transaction
166
- TRANSACTION (0.1ms) begin transaction
167
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
168
- TRANSACTION (0.1ms) rollback transaction
169
- TRANSACTION (0.1ms) begin transaction
170
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
171
- Asyncapi::Server::Job Create (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
172
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
173
- TRANSACTION (0.7ms) rollback transaction
174
-  (1.3ms) SELECT sqlite_version(*)
175
-  (0.1ms) PRAGMA foreign_keys
176
-  (0.1ms) PRAGMA defer_foreign_keys
56
+  (0.4ms) SELECT sqlite_version(*)
57
+  (0.0ms) PRAGMA foreign_keys
58
+  (0.0ms) PRAGMA defer_foreign_keys
177
59
   (0.0ms) PRAGMA defer_foreign_keys = ON
178
60
   (0.0ms) PRAGMA foreign_keys = OFF
179
-  (0.2ms) TRUNCATE TABLE "asyncapi_server_jobs"
180
-  (1.1ms) DELETE FROM "asyncapi_server_jobs"
181
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
182
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
61
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
62
+  (0.7ms) DELETE FROM "asyncapi_server_jobs"
63
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
64
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
183
65
   (0.0ms) PRAGMA defer_foreign_keys = 0
184
66
   (0.0ms) PRAGMA foreign_keys = 1
185
- TRANSACTION (0.1ms) begin transaction
186
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
187
- Asyncapi::Server::Job Create (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
188
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
189
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
190
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
191
- Asyncapi::Server::Job Update (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
192
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
193
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
194
- TRANSACTION (0.5ms) rollback transaction
195
- TRANSACTION (0.1ms) begin transaction
196
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
67
+ TRANSACTION (0.0ms) begin transaction
68
+ TRANSACTION (0.0ms) rollback transaction
69
+ TRANSACTION (0.0ms) begin transaction
70
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
71
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
72
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
73
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
74
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
75
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
76
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
77
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
197
78
  TRANSACTION (0.1ms) rollback transaction
198
79
  TRANSACTION (0.0ms) begin transaction
199
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
200
- Asyncapi::Server::Job Create (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
201
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
202
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
203
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
204
- Asyncapi::Server::Job Update (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
80
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
81
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
205
82
  TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
206
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
207
- TRANSACTION (0.5ms) rollback transaction
208
- Started POST "/tests" for 127.0.0.1 at 2021-03-09 16:47:03 +0800
209
- Processing by TestsController#create as HTML
210
- Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
211
- TRANSACTION (0.1ms) begin transaction
212
- Asyncapi::Server::Job Create (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
213
- TRANSACTION (0.8ms) commit transaction
214
- Completed 200 OK in 11ms (Views: 7.0ms | ActiveRecord: 1.3ms | Allocations: 2476)
215
-  (0.1ms) PRAGMA foreign_keys
216
-  (0.1ms) PRAGMA defer_foreign_keys
217
-  (0.1ms) PRAGMA defer_foreign_keys = ON
218
-  (0.1ms) PRAGMA foreign_keys = OFF
219
-  (0.2ms) TRUNCATE TABLE "asyncapi_server_jobs"
220
-  (1.2ms) DELETE FROM "asyncapi_server_jobs"
221
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
222
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
223
-  (0.1ms) PRAGMA defer_foreign_keys = 0
224
-  (0.1ms) PRAGMA foreign_keys = 1
225
- TRANSACTION (0.1ms) begin transaction
226
- TRANSACTION (0.0ms) SAVEPOINT active_record_1
227
- Asyncapi::Server::Job Create (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
228
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
229
- TRANSACTION (0.4ms) rollback transaction
230
- TRANSACTION (0.1ms) begin transaction
83
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
231
84
  TRANSACTION (0.0ms) SAVEPOINT active_record_1
232
- Asyncapi::Server::Job Create (0.5ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
233
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
234
- TRANSACTION (0.2ms) SAVEPOINT active_record_1
235
- Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
236
- TRANSACTION (0.3ms) RELEASE SAVEPOINT active_record_1
237
- Processing by Asyncapi::Server::V1::JobsController#index as JSON
238
- Parameters: {"page"=>"2", "per_page"=>"1"}
239
-  (0.2ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
240
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
241
- Completed 200 OK in 7ms (Views: 2.7ms | ActiveRecord: 0.3ms | Allocations: 1877)
242
- TRANSACTION (0.9ms) rollback transaction
243
- TRANSACTION (0.1ms) begin transaction
244
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
245
- Asyncapi::Server::Job Create (0.7ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
246
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
247
- Processing by Asyncapi::Server::V1::JobsController#show as JSON
248
- Parameters: {"id"=>"1"}
249
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
250
- Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms | Allocations: 1329)
251
- TRANSACTION (0.4ms) rollback transaction
252
- TRANSACTION (0.1ms) begin transaction
85
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
86
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
87
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
88
+ TRANSACTION (0.1ms) rollback transaction
89
+ TRANSACTION (0.0ms) begin transaction
90
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
91
+ TRANSACTION (0.0ms) rollback transaction
92
+ TRANSACTION (0.0ms) begin transaction
93
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
94
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
95
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
96
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
97
+ TRANSACTION (0.1ms) rollback transaction
98
+ TRANSACTION (0.0ms) begin transaction
99
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
100
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
101
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
102
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
103
+ TRANSACTION (0.1ms) rollback transaction
104
+ TRANSACTION (0.0ms) begin transaction
105
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
106
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
107
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
108
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
109
+ TRANSACTION (0.1ms) rollback transaction
110
+ TRANSACTION (0.0ms) begin transaction
253
111
  TRANSACTION (0.0ms) SAVEPOINT active_record_1
254
- Asyncapi::Server::Job Create (0.3ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
112
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
255
113
  TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
256
114
  Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
257
115
  Parameters: {"secret"=>"12312", "id"=>"1"}
258
116
  Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
259
- TRANSACTION (0.1ms) SAVEPOINT active_record_1
260
- Asyncapi::Server::Job Destroy (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
261
- TRANSACTION (0.3ms) RELEASE SAVEPOINT active_record_1
262
- Completed 204 No Content in 15ms (ActiveRecord: 0.7ms | Allocations: 2696)
263
- TRANSACTION (0.4ms) rollback transaction
264
- TRANSACTION (0.1ms) begin transaction
265
- TRANSACTION (0.2ms) SAVEPOINT active_record_1
266
- Asyncapi::Server::Job Create (0.5ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
267
- TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
117
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
118
+ Asyncapi::Server::Job Destroy (0.0ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
119
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
120
+ Completed 204 No Content in 3ms (ActiveRecord: 0.1ms | Allocations: 2413)
121
+ TRANSACTION (0.2ms) rollback transaction
122
+ TRANSACTION (0.0ms) begin transaction
123
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
124
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
125
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
268
126
  Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
269
127
  Parameters: {"secret"=>"12315", "id"=>"1"}
270
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
271
- Completed 404 Not Found in 2ms (ActiveRecord: 0.1ms | Allocations: 160)
272
- TRANSACTION (0.6ms) rollback transaction
273
-  (1.8ms) PRAGMA foreign_keys
274
-  (0.1ms) PRAGMA foreign_keys = OFF
275
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
276
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
277
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
278
-  (1.7ms) DELETE FROM "ar_internal_metadata";
279
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
280
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
281
-  (0.1ms) PRAGMA foreign_keys = 1
282
-  (0.2ms) begin transaction
283
-  (0.2ms) commit transaction
284
-  (0.1ms) begin transaction
285
-  (0.1ms) SAVEPOINT active_record_1
286
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
287
-  (0.1ms) RELEASE SAVEPOINT active_record_1
288
-  (0.4ms) rollback transaction
289
-  (1.6ms) PRAGMA foreign_keys
290
-  (0.1ms) PRAGMA foreign_keys = OFF
291
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
292
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
293
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
294
-  (1.3ms) DELETE FROM "ar_internal_metadata";
295
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
296
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
297
-  (0.0ms) PRAGMA foreign_keys = 1
298
-  (0.0ms) begin transaction
299
-  (0.0ms) commit transaction
300
-  (0.0ms) begin transaction
301
-  (0.1ms) SAVEPOINT active_record_1
302
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
303
-  (0.1ms) RELEASE SAVEPOINT active_record_1
304
-  (0.4ms) rollback transaction
305
-  (1.7ms) PRAGMA foreign_keys
306
-  (0.1ms) PRAGMA foreign_keys = OFF
307
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
308
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
309
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
310
-  (6.3ms) DELETE FROM "ar_internal_metadata";
311
-  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
312
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
313
-  (0.2ms) PRAGMA foreign_keys = 1
314
-  (0.1ms) begin transaction
315
-  (0.1ms) commit transaction
316
-  (0.1ms) begin transaction
317
-  (0.1ms) SAVEPOINT active_record_1
318
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
319
-  (4.1ms) RELEASE SAVEPOINT active_record_1
320
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
321
-  (0.4ms) rollback transaction
322
-  (2.0ms) PRAGMA foreign_keys
323
-  (0.1ms) PRAGMA foreign_keys = OFF
324
-  (1.1ms) DELETE FROM "asyncapi_server_jobs";
325
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
326
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
327
-  (1.1ms) DELETE FROM "ar_internal_metadata";
328
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
329
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
330
-  (0.0ms) PRAGMA foreign_keys = 1
331
-  (0.0ms) begin transaction
332
-  (0.0ms) commit transaction
333
-  (0.0ms) begin transaction
334
-  (0.1ms) SAVEPOINT active_record_1
335
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
336
-  (0.1ms) RELEASE SAVEPOINT active_record_1
337
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
338
-  (0.4ms) rollback transaction
339
-  (1.4ms) PRAGMA foreign_keys
340
-  (0.1ms) PRAGMA foreign_keys = OFF
341
-  (1.3ms) DELETE FROM "asyncapi_server_jobs";
342
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
343
-  (0.3ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
344
-  (3.0ms) DELETE FROM "ar_internal_metadata";
345
-  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
346
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
347
-  (0.1ms) PRAGMA foreign_keys = 1
348
-  (0.1ms) begin transaction
349
-  (0.0ms) commit transaction
350
-  (0.0ms) begin transaction
351
-  (0.2ms) SAVEPOINT active_record_1
352
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
353
-  (0.1ms) RELEASE SAVEPOINT active_record_1
354
-  (0.4ms) rollback transaction
355
-  (2.8ms) PRAGMA foreign_keys
356
-  (0.1ms) PRAGMA foreign_keys = OFF
357
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
358
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
359
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
360
-  (1.3ms) DELETE FROM "ar_internal_metadata";
361
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
362
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
363
-  (0.0ms) PRAGMA foreign_keys = 1
364
-  (0.0ms) begin transaction
365
-  (0.0ms) commit transaction
366
-  (0.0ms) begin transaction
367
-  (0.1ms) SAVEPOINT active_record_1
368
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
369
-  (0.1ms) RELEASE SAVEPOINT active_record_1
370
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
371
-  (0.4ms) rollback transaction
372
-  (2.1ms) PRAGMA foreign_keys
373
-  (0.2ms) PRAGMA foreign_keys = OFF
374
-  (1.3ms) DELETE FROM "asyncapi_server_jobs";
375
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
376
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
377
-  (1.2ms) DELETE FROM "ar_internal_metadata";
378
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
379
-  (0.3ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
380
-  (0.1ms) PRAGMA foreign_keys = 1
381
-  (0.1ms) begin transaction
382
-  (0.1ms) commit transaction
383
-  (0.0ms) begin transaction
384
-  (0.1ms) SAVEPOINT active_record_1
385
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
386
-  (0.1ms) RELEASE SAVEPOINT active_record_1
387
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
388
-  (0.8ms) rollback transaction
389
-  (1.4ms) PRAGMA foreign_keys
390
-  (0.1ms) PRAGMA foreign_keys = OFF
391
-  (1.8ms) DELETE FROM "asyncapi_server_jobs";
392
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
393
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
394
-  (1.0ms) DELETE FROM "ar_internal_metadata";
395
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
396
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
397
-  (0.0ms) PRAGMA foreign_keys = 1
398
-  (0.1ms) begin transaction
399
-  (0.1ms) commit transaction
400
-  (0.0ms) begin transaction
401
-  (0.1ms) SAVEPOINT active_record_1
402
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
403
-  (0.1ms) RELEASE SAVEPOINT active_record_1
404
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
405
-  (0.6ms) rollback transaction
406
-  (2.7ms) PRAGMA foreign_keys
407
-  (0.2ms) PRAGMA foreign_keys = OFF
408
-  (4.3ms) DELETE FROM "asyncapi_server_jobs";
409
-  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
410
-  (0.5ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
411
-  (1.3ms) DELETE FROM "ar_internal_metadata";
412
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
413
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
414
-  (0.0ms) PRAGMA foreign_keys = 1
415
-  (0.1ms) begin transaction
416
-  (0.0ms) commit transaction
417
-  (0.0ms) begin transaction
418
-  (0.1ms) SAVEPOINT active_record_1
419
- SQL (0.6ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
420
-  (0.1ms) RELEASE SAVEPOINT active_record_1
421
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
422
-  (0.4ms) rollback transaction
423
-  (1.4ms) PRAGMA foreign_keys
424
-  (0.1ms) PRAGMA foreign_keys = OFF
425
-  (1.3ms) DELETE FROM "asyncapi_server_jobs";
426
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
427
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
428
-  (1.5ms) DELETE FROM "ar_internal_metadata";
429
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
430
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
431
-  (0.0ms) PRAGMA foreign_keys = 1
432
-  (0.0ms) begin transaction
433
-  (0.0ms) commit transaction
434
-  (0.0ms) begin transaction
435
-  (0.1ms) SAVEPOINT active_record_1
436
- SQL (0.8ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
437
-  (0.1ms) RELEASE SAVEPOINT active_record_1
438
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
439
-  (0.8ms) rollback transaction
440
-  (1.6ms) PRAGMA foreign_keys
441
-  (0.1ms) PRAGMA foreign_keys = OFF
442
-  (2.5ms) DELETE FROM "asyncapi_server_jobs";
443
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
444
-  (0.6ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
445
-  (1.4ms) DELETE FROM "ar_internal_metadata";
446
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
447
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
448
-  (0.0ms) PRAGMA foreign_keys = 1
449
-  (0.0ms) begin transaction
450
-  (0.0ms) commit transaction
451
-  (0.0ms) begin transaction
452
-  (0.1ms) rollback transaction
453
-  (0.1ms) begin transaction
454
-  (0.0ms) commit transaction
455
-  (0.0ms) begin transaction
456
-  (0.1ms) SAVEPOINT active_record_1
457
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
458
-  (0.1ms) RELEASE SAVEPOINT active_record_1
459
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
460
-  (0.4ms) rollback transaction
461
-  (0.1ms) begin transaction
462
-  (0.0ms) commit transaction
463
-  (0.0ms) begin transaction
464
-  (0.1ms) SAVEPOINT active_record_1
465
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
466
-  (0.1ms) RELEASE SAVEPOINT active_record_1
467
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
468
-  (0.4ms) rollback transaction
469
-  (1.6ms) PRAGMA foreign_keys
470
-  (0.1ms) PRAGMA foreign_keys = OFF
471
-  (1.5ms) DELETE FROM "asyncapi_server_jobs";
472
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
128
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
129
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 142)
130
+ TRANSACTION (0.1ms) rollback transaction
131
+ TRANSACTION (0.0ms) begin transaction
132
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
133
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
134
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
135
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
136
+ Asyncapi::Server::Job Create (0.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
137
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
138
+ Processing by Asyncapi::Server::V1::JobsController#index as JSON
139
+ Parameters: {"page"=>"2", "per_page"=>"1"}
140
+  (0.0ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
141
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
142
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms | Allocations: 1517)
143
+ TRANSACTION (0.1ms) rollback transaction
144
+ TRANSACTION (0.0ms) begin transaction
145
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
146
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
147
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
148
+ Processing by Asyncapi::Server::V1::JobsController#show as JSON
149
+ Parameters: {"id"=>"1"}
150
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
151
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 853)
152
+ TRANSACTION (0.1ms) rollback transaction
153
+ TRANSACTION (0.0ms) begin transaction
154
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
155
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
156
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
157
+ TRANSACTION (0.1ms) rollback transaction
158
+ Started POST "/tests" for 127.0.0.1 at 2022-03-21 14:20:26 -0300
159
+ Processing by TestsController#create as HTML
160
+ Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
161
+ TRANSACTION (0.0ms) begin transaction
162
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
163
+ TRANSACTION (0.3ms) commit transaction
164
+ Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.5ms | Allocations: 2394)
165
+  (0.0ms) PRAGMA foreign_keys
166
+  (0.0ms) PRAGMA defer_foreign_keys
167
+  (0.0ms) PRAGMA defer_foreign_keys = ON
168
+  (0.0ms) PRAGMA foreign_keys = OFF
169
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
170
+  (0.3ms) DELETE FROM "asyncapi_server_jobs"
171
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
473
172
   (0.3ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
474
-  (2.2ms) DELETE FROM "ar_internal_metadata";
475
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
476
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
477
-  (0.1ms) PRAGMA foreign_keys = 1
478
-  (0.0ms) begin transaction
479
-  (0.0ms) commit transaction
480
-  (0.0ms) begin transaction
481
-  (0.1ms) rollback transaction
482
-  (0.0ms) begin transaction
483
-  (0.0ms) commit transaction
484
-  (0.0ms) begin transaction
485
-  (0.1ms) SAVEPOINT active_record_1
486
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
487
-  (0.1ms) RELEASE SAVEPOINT active_record_1
488
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
489
-  (0.4ms) rollback transaction
490
-  (0.1ms) begin transaction
491
-  (0.0ms) commit transaction
492
-  (0.0ms) begin transaction
493
-  (0.1ms) SAVEPOINT active_record_1
494
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
495
-  (0.0ms) RELEASE SAVEPOINT active_record_1
496
-  (0.5ms) rollback transaction
497
-  (0.1ms) begin transaction
498
-  (0.0ms) commit transaction
499
-  (0.1ms) begin transaction
500
-  (0.5ms) SAVEPOINT active_record_1
501
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
502
-  (0.1ms) RELEASE SAVEPOINT active_record_1
503
-  (0.4ms) rollback transaction
504
-  (1.7ms) PRAGMA foreign_keys
505
-  (0.1ms) PRAGMA foreign_keys = OFF
506
-  (1.6ms) DELETE FROM "asyncapi_server_jobs";
507
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
508
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
509
-  (1.6ms) DELETE FROM "ar_internal_metadata";
510
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
511
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
512
-  (0.0ms) PRAGMA foreign_keys = 1
513
-  (0.0ms) begin transaction
514
-  (0.0ms) commit transaction
515
-  (0.0ms) begin transaction
516
-  (0.1ms) rollback transaction
517
-  (0.1ms) begin transaction
518
-  (0.0ms) commit transaction
519
-  (0.0ms) begin transaction
520
-  (0.1ms) SAVEPOINT active_record_1
521
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
522
-  (0.1ms) RELEASE SAVEPOINT active_record_1
523
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
524
-  (0.5ms) rollback transaction
525
-  (0.2ms) begin transaction
526
-  (0.1ms) commit transaction
527
-  (0.0ms) begin transaction
528
-  (0.1ms) SAVEPOINT active_record_1
529
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
530
-  (0.1ms) RELEASE SAVEPOINT active_record_1
531
-  (0.7ms) rollback transaction
532
-  (0.1ms) begin transaction
533
-  (0.0ms) commit transaction
534
-  (0.0ms) begin transaction
535
-  (0.1ms) SAVEPOINT active_record_1
536
- SQL (0.6ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
537
-  (0.1ms) RELEASE SAVEPOINT active_record_1
538
-  (1.6ms) rollback transaction
539
-  (7.9ms) PRAGMA foreign_keys
540
-  (0.3ms) PRAGMA foreign_keys = OFF
541
-  (3.1ms) DELETE FROM "asyncapi_server_jobs";
542
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
543
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
544
-  (1.3ms) DELETE FROM "ar_internal_metadata";
545
-  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
546
-  (0.6ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
547
-  (0.2ms) PRAGMA foreign_keys = 1
548
-  (0.1ms) begin transaction
549
-  (0.4ms) commit transaction
550
-  (0.1ms) begin transaction
551
-  (0.1ms) rollback transaction
552
-  (0.1ms) begin transaction
553
-  (0.0ms) commit transaction
554
-  (0.0ms) begin transaction
555
-  (0.2ms) SAVEPOINT active_record_1
556
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
557
-  (0.1ms) RELEASE SAVEPOINT active_record_1
558
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
559
-  (1.5ms) rollback transaction
560
-  (0.1ms) begin transaction
561
-  (0.1ms) commit transaction
562
-  (0.0ms) begin transaction
563
-  (0.1ms) SAVEPOINT active_record_1
564
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
565
-  (0.1ms) RELEASE SAVEPOINT active_record_1
566
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
567
-  (0.7ms) rollback transaction
568
-  (0.1ms) begin transaction
569
-  (0.1ms) commit transaction
570
-  (0.1ms) begin transaction
571
-  (0.1ms) SAVEPOINT active_record_1
572
- SQL (0.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
573
-  (0.1ms) RELEASE SAVEPOINT active_record_1
574
-  (1.3ms) rollback transaction
575
-  (1.7ms) PRAGMA foreign_keys
576
-  (0.1ms) PRAGMA foreign_keys = OFF
577
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
578
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
579
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
580
-  (1.3ms) DELETE FROM "ar_internal_metadata";
581
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
582
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
173
+  (0.0ms) PRAGMA defer_foreign_keys = 0
583
174
   (0.0ms) PRAGMA foreign_keys = 1
584
-  (0.0ms) begin transaction
585
-  (0.0ms) commit transaction
586
-  (0.0ms) begin transaction
587
-  (0.1ms) rollback transaction
588
-  (0.0ms) begin transaction
589
-  (0.0ms) commit transaction
590
-  (0.0ms) begin transaction
591
-  (0.1ms) SAVEPOINT active_record_1
592
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
593
-  (0.1ms) RELEASE SAVEPOINT active_record_1
594
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
595
-  (0.3ms) rollback transaction
596
-  (0.1ms) begin transaction
597
-  (0.0ms) commit transaction
598
-  (0.0ms) begin transaction
599
-  (0.1ms) SAVEPOINT active_record_1
600
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
601
-  (0.1ms) RELEASE SAVEPOINT active_record_1
602
-  (0.4ms) rollback transaction
603
-  (0.1ms) begin transaction
604
-  (0.0ms) commit transaction
605
-  (0.0ms) begin transaction
606
-  (0.1ms) SAVEPOINT active_record_1
607
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
608
-  (0.1ms) RELEASE SAVEPOINT active_record_1
609
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
610
-  (0.5ms) rollback transaction
611
-  (1.4ms) PRAGMA foreign_keys
612
-  (0.2ms) PRAGMA foreign_keys = OFF
613
-  (1.3ms) DELETE FROM "asyncapi_server_jobs";
614
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
175
+  (0.6ms) SELECT sqlite_version(*)
176
+  (0.0ms) PRAGMA foreign_keys
177
+  (0.0ms) PRAGMA defer_foreign_keys
178
+  (0.0ms) PRAGMA defer_foreign_keys = ON
179
+  (0.0ms) PRAGMA foreign_keys = OFF
180
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
181
+  (0.4ms) DELETE FROM "asyncapi_server_jobs"
182
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
615
183
   (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
616
-  (1.4ms) DELETE FROM "ar_internal_metadata";
617
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
618
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
619
-  (0.1ms) PRAGMA foreign_keys = 1
620
-  (0.0ms) begin transaction
621
-  (0.0ms) commit transaction
622
-  (0.0ms) begin transaction
623
-  (0.1ms) rollback transaction
624
-  (0.1ms) begin transaction
625
-  (0.1ms) commit transaction
626
-  (0.0ms) begin transaction
627
-  (0.1ms) SAVEPOINT active_record_1
628
- SQL (0.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
629
-  (0.1ms) RELEASE SAVEPOINT active_record_1
630
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
631
-  (0.4ms) rollback transaction
632
-  (0.1ms) begin transaction
633
-  (0.0ms) commit transaction
634
-  (0.0ms) begin transaction
635
-  (0.1ms) SAVEPOINT active_record_1
636
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
637
-  (0.1ms) RELEASE SAVEPOINT active_record_1
638
- Asyncapi::Server::Job Load (0.4ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
639
-  (0.5ms) rollback transaction
640
-  (0.1ms) begin transaction
641
-  (0.0ms) commit transaction
642
-  (0.0ms) begin transaction
643
-  (0.1ms) SAVEPOINT active_record_1
644
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
645
-  (0.1ms) RELEASE SAVEPOINT active_record_1
646
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
647
-  (0.4ms) rollback transaction
648
-  (1.4ms) PRAGMA foreign_keys
649
-  (0.1ms) PRAGMA foreign_keys = OFF
650
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
651
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
652
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
653
-  (1.3ms) DELETE FROM "ar_internal_metadata";
654
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
655
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
656
-  (0.0ms) PRAGMA foreign_keys = 1
657
-  (0.0ms) begin transaction
658
-  (0.0ms) commit transaction
659
-  (0.0ms) begin transaction
660
-  (0.1ms) rollback transaction
661
-  (0.1ms) begin transaction
662
-  (0.1ms) commit transaction
663
-  (0.1ms) begin transaction
664
-  (0.1ms) SAVEPOINT active_record_1
665
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
666
-  (0.1ms) RELEASE SAVEPOINT active_record_1
667
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
668
-  (0.1ms) SAVEPOINT active_record_1
669
- SQL (0.6ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
670
-  (0.1ms) RELEASE SAVEPOINT active_record_1
671
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
672
-  (0.4ms) rollback transaction
673
-  (0.1ms) begin transaction
674
-  (0.0ms) commit transaction
675
-  (0.0ms) begin transaction
676
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
677
-  (0.1ms) rollback transaction
678
-  (0.1ms) begin transaction
679
-  (0.0ms) commit transaction
680
-  (0.0ms) begin transaction
681
-  (0.1ms) SAVEPOINT active_record_1
682
- SQL (0.6ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
683
-  (0.1ms) RELEASE SAVEPOINT active_record_1
684
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
685
-  (0.1ms) SAVEPOINT active_record_1
686
- SQL (0.2ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
687
-  (0.1ms) RELEASE SAVEPOINT active_record_1
688
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
689
-  (0.4ms) rollback transaction
690
-  (2.2ms) PRAGMA foreign_keys
691
-  (0.1ms) PRAGMA foreign_keys = OFF
692
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
693
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
694
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
695
-  (1.3ms) DELETE FROM "ar_internal_metadata";
696
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
697
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
184
+  (0.0ms) PRAGMA defer_foreign_keys = 0
698
185
   (0.0ms) PRAGMA foreign_keys = 1
699
-  (0.0ms) begin transaction
700
-  (0.0ms) commit transaction
701
-  (0.0ms) begin transaction
702
-  (0.0ms) rollback transaction
703
-  (0.1ms) begin transaction
704
-  (0.1ms) commit transaction
705
-  (0.1ms) begin transaction
706
-  (0.1ms) SAVEPOINT active_record_1
707
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
708
-  (0.1ms) RELEASE SAVEPOINT active_record_1
709
-  (0.4ms) rollback transaction
710
-  (0.1ms) begin transaction
711
-  (0.0ms) commit transaction
712
-  (0.0ms) begin transaction
713
-  (0.1ms) SAVEPOINT active_record_1
714
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
715
-  (0.1ms) RELEASE SAVEPOINT active_record_1
716
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
717
-  (0.1ms) SAVEPOINT active_record_1
718
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
719
-  (0.1ms) RELEASE SAVEPOINT active_record_1
720
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
721
-  (0.7ms) rollback transaction
722
-  (0.1ms) begin transaction
723
-  (0.1ms) commit transaction
724
-  (0.1ms) begin transaction
725
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
726
-  (0.5ms) rollback transaction
727
-  (1.6ms) PRAGMA foreign_keys
728
-  (0.1ms) PRAGMA foreign_keys = OFF
729
-  (1.3ms) DELETE FROM "asyncapi_server_jobs";
730
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
731
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
732
-  (1.6ms) DELETE FROM "ar_internal_metadata";
733
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
734
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
735
-  (0.1ms) PRAGMA foreign_keys = 1
736
-  (0.1ms) begin transaction
737
-  (0.0ms) commit transaction
738
-  (0.1ms) begin transaction
739
-  (0.1ms) rollback transaction
740
-  (0.1ms) begin transaction
741
-  (0.0ms) commit transaction
742
-  (0.0ms) begin transaction
743
-  (0.1ms) SAVEPOINT active_record_1
744
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
745
-  (0.1ms) RELEASE SAVEPOINT active_record_1
746
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
747
-  (0.1ms) SAVEPOINT active_record_1
748
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
749
-  (0.0ms) RELEASE SAVEPOINT active_record_1
750
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
751
-  (0.6ms) rollback transaction
752
-  (0.2ms) begin transaction
753
-  (0.0ms) commit transaction
754
-  (0.0ms) begin transaction
755
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
756
-  (0.1ms) rollback transaction
757
-  (0.1ms) begin transaction
758
-  (0.0ms) commit transaction
759
-  (0.0ms) begin transaction
760
-  (0.1ms) SAVEPOINT active_record_1
761
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
762
-  (0.1ms) RELEASE SAVEPOINT active_record_1
763
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
764
-  (0.0ms) SAVEPOINT active_record_1
765
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
766
-  (0.1ms) RELEASE SAVEPOINT active_record_1
767
- Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
768
-  (0.5ms) rollback transaction
769
-  (2.3ms) PRAGMA foreign_keys
770
-  (0.1ms) PRAGMA foreign_keys = OFF
771
-  (2.1ms) DELETE FROM "asyncapi_server_jobs";
772
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
773
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
774
-  (2.3ms) DELETE FROM "ar_internal_metadata";
775
-  (0.6ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
776
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
777
-  (0.1ms) PRAGMA foreign_keys = 1
778
-  (0.1ms) begin transaction
779
-  (0.0ms) commit transaction
780
-  (0.1ms) begin transaction
781
-  (0.1ms) rollback transaction
782
-  (0.1ms) begin transaction
783
-  (0.0ms) commit transaction
784
-  (0.0ms) begin transaction
785
-  (0.1ms) SAVEPOINT active_record_1
786
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
787
-  (0.1ms) RELEASE SAVEPOINT active_record_1
788
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
789
-  (0.1ms) SAVEPOINT active_record_1
790
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
791
-  (0.1ms) RELEASE SAVEPOINT active_record_1
792
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
793
-  (0.4ms) rollback transaction
794
-  (0.1ms) begin transaction
795
-  (0.0ms) commit transaction
796
-  (0.0ms) begin transaction
797
-  (0.1ms) SAVEPOINT active_record_1
798
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
799
-  (0.1ms) RELEASE SAVEPOINT active_record_1
800
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
801
-  (0.1ms) SAVEPOINT active_record_1
802
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
803
-  (0.0ms) RELEASE SAVEPOINT active_record_1
804
- Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
805
-  (0.3ms) rollback transaction
806
-  (0.0ms) begin transaction
807
-  (0.0ms) commit transaction
808
-  (0.0ms) begin transaction
809
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
810
-  (0.1ms) rollback transaction
811
-  (1.1ms) PRAGMA foreign_keys
812
-  (0.1ms) PRAGMA foreign_keys = OFF
813
-  (2.1ms) DELETE FROM "asyncapi_server_jobs";
814
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
815
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
816
-  (3.0ms) DELETE FROM "ar_internal_metadata";
817
-  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
818
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
819
-  (0.1ms) PRAGMA foreign_keys = 1
820
-  (0.2ms) begin transaction
821
-  (0.1ms) commit transaction
822
-  (0.0ms) begin transaction
823
-  (0.2ms) rollback transaction
824
-  (0.1ms) begin transaction
825
-  (0.1ms) commit transaction
826
-  (0.1ms) begin transaction
827
-  (0.1ms) SAVEPOINT active_record_1
828
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
829
-  (0.1ms) RELEASE SAVEPOINT active_record_1
830
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
831
-  (1.1ms) rollback transaction
832
-  (0.1ms) begin transaction
833
-  (0.1ms) commit transaction
834
-  (0.1ms) begin transaction
835
-  (0.1ms) SAVEPOINT active_record_1
836
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
837
-  (0.2ms) RELEASE SAVEPOINT active_record_1
838
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
839
-  (0.6ms) rollback transaction
840
-  (0.1ms) begin transaction
841
-  (0.0ms) commit transaction
842
-  (0.0ms) begin transaction
843
-  (0.1ms) SAVEPOINT active_record_1
844
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
845
-  (0.1ms) RELEASE SAVEPOINT active_record_1
846
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
847
-  (0.4ms) rollback transaction
848
-  (0.1ms) begin transaction
849
-  (0.1ms) commit transaction
850
-  (0.1ms) begin transaction
851
-  (0.4ms) rollback transaction
852
-  (0.1ms) begin transaction
853
-  (0.0ms) commit transaction
854
-  (0.0ms) begin transaction
855
-  (0.0ms) rollback transaction
856
- Started POST "/tests" for 127.0.0.1 at 2021-03-24 11:48:32 +0800
186
+ Started POST "/tests" for 127.0.0.1 at 2022-03-21 14:28:40 -0300
857
187
  Processing by TestsController#create as HTML
858
188
  Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
859
-  (0.0ms) begin transaction
860
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
861
-  (1.0ms) commit transaction
862
- Completed 200 OK in 7ms (Views: 3.5ms | ActiveRecord: 1.4ms)
863
-  (0.1ms) PRAGMA foreign_keys
864
-  (0.1ms) PRAGMA foreign_keys = OFF
865
-  (1.0ms) DELETE FROM "asyncapi_server_jobs";
866
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
867
-  (1.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
868
-  (0.9ms) DELETE FROM "ar_internal_metadata";
869
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
870
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
189
+ TRANSACTION (0.0ms) begin transaction
190
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
191
+ TRANSACTION (0.3ms) commit transaction
192
+ Completed 200 OK in 8ms (Views: 1.3ms | ActiveRecord: 0.7ms | Allocations: 7371)
193
+  (0.0ms) PRAGMA foreign_keys
194
+  (0.0ms) PRAGMA defer_foreign_keys
195
+  (0.0ms) PRAGMA defer_foreign_keys = ON
196
+  (0.0ms) PRAGMA foreign_keys = OFF
197
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
198
+  (0.4ms) DELETE FROM "asyncapi_server_jobs"
199
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
200
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
201
+  (0.0ms) PRAGMA defer_foreign_keys = 0
871
202
   (0.0ms) PRAGMA foreign_keys = 1
872
-  (0.1ms) begin transaction
873
-  (0.0ms) commit transaction
874
-  (0.0ms) begin transaction
875
-  (0.1ms) SAVEPOINT active_record_1
876
- SQL (0.6ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
877
-  (0.1ms) RELEASE SAVEPOINT active_record_1
203
+ TRANSACTION (0.0ms) begin transaction
204
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
205
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
206
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
878
207
  Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
879
208
  Parameters: {"secret"=>"12312", "id"=>"1"}
880
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
881
-  (0.0ms) SAVEPOINT active_record_1
882
- SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
883
-  (0.1ms) RELEASE SAVEPOINT active_record_1
884
- Completed 204 No Content in 13ms (ActiveRecord: 0.4ms)
885
-  (0.8ms) rollback transaction
886
-  (0.1ms) begin transaction
887
-  (0.1ms) commit transaction
888
-  (0.0ms) begin transaction
889
-  (0.1ms) SAVEPOINT active_record_1
890
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
891
-  (0.1ms) RELEASE SAVEPOINT active_record_1
209
+ Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
210
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
211
+ Asyncapi::Server::Job Destroy (0.0ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
212
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
213
+ Completed 204 No Content in 4ms (ActiveRecord: 0.1ms | Allocations: 2843)
214
+ TRANSACTION (0.2ms) rollback transaction
215
+ TRANSACTION (0.0ms) begin transaction
216
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
217
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
218
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
892
219
  Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
893
220
  Parameters: {"secret"=>"12315", "id"=>"1"}
894
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
895
- Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)
896
-  (0.4ms) rollback transaction
897
-  (0.1ms) begin transaction
898
-  (0.0ms) commit transaction
899
-  (0.0ms) begin transaction
900
-  (0.1ms) SAVEPOINT active_record_1
901
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
902
-  (0.0ms) RELEASE SAVEPOINT active_record_1
221
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
222
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 142)
223
+ TRANSACTION (0.1ms) rollback transaction
224
+ TRANSACTION (0.0ms) begin transaction
225
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
226
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
227
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
903
228
  Processing by Asyncapi::Server::V1::JobsController#show as JSON
904
229
  Parameters: {"id"=>"1"}
905
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
906
- Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)
907
-  (0.4ms) rollback transaction
908
-  (0.1ms) begin transaction
909
-  (0.0ms) commit transaction
910
-  (0.0ms) begin transaction
911
-  (0.1ms) SAVEPOINT active_record_1
912
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
913
-  (0.1ms) RELEASE SAVEPOINT active_record_1
914
-  (0.1ms) SAVEPOINT active_record_1
915
- SQL (0.2ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
916
-  (0.1ms) RELEASE SAVEPOINT active_record_1
230
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
231
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 962)
232
+ TRANSACTION (0.1ms) rollback transaction
233
+ TRANSACTION (0.0ms) begin transaction
234
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
235
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
236
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
237
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
238
+ Asyncapi::Server::Job Create (0.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
239
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
917
240
  Processing by Asyncapi::Server::V1::JobsController#index as JSON
918
241
  Parameters: {"page"=>"2", "per_page"=>"1"}
919
-  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
920
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
921
- Completed 200 OK in 7ms (Views: 2.9ms | ActiveRecord: 0.2ms)
922
-  (0.4ms) rollback transaction
923
-  (0.1ms) begin transaction
924
-  (0.0ms) commit transaction
925
-  (0.0ms) begin transaction
926
-  (0.0ms) rollback transaction
927
-  (0.2ms) begin transaction
928
-  (0.1ms) commit transaction
929
-  (0.1ms) begin transaction
930
-  (0.4ms) SAVEPOINT active_record_1
931
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
932
-  (0.1ms) RELEASE SAVEPOINT active_record_1
933
- Asyncapi::Server::Job Load (0.5ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
934
-  (0.1ms) SAVEPOINT active_record_1
935
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
936
-  (0.1ms) RELEASE SAVEPOINT active_record_1
937
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
938
-  (0.4ms) rollback transaction
939
-  (0.1ms) begin transaction
940
-  (0.0ms) commit transaction
941
-  (0.0ms) begin transaction
942
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
943
-  (0.1ms) rollback transaction
944
-  (0.1ms) begin transaction
945
-  (0.1ms) commit transaction
946
-  (0.0ms) begin transaction
947
-  (0.5ms) SAVEPOINT active_record_1
948
- SQL (1.3ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
949
-  (0.2ms) RELEASE SAVEPOINT active_record_1
950
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
951
-  (0.1ms) SAVEPOINT active_record_1
952
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
953
-  (0.1ms) RELEASE SAVEPOINT active_record_1
954
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
955
-  (0.6ms) rollback transaction
956
-  (0.1ms) begin transaction
957
-  (0.0ms) commit transaction
958
-  (0.0ms) begin transaction
959
-  (0.0ms) rollback transaction
960
-  (0.0ms) begin transaction
961
-  (0.0ms) commit transaction
962
-  (0.0ms) begin transaction
963
-  (0.0ms) rollback transaction
964
-  (0.1ms) begin transaction
965
-  (0.1ms) commit transaction
966
-  (0.0ms) begin transaction
967
-  (0.0ms) rollback transaction
968
-  (0.2ms) begin transaction
969
-  (0.2ms) commit transaction
970
-  (0.1ms) begin transaction
971
-  (0.1ms) SAVEPOINT active_record_1
972
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
973
-  (0.1ms) RELEASE SAVEPOINT active_record_1
974
-  (0.4ms) rollback transaction
975
-  (0.1ms) begin transaction
976
-  (0.0ms) commit transaction
977
-  (0.0ms) begin transaction
978
-  (0.0ms) rollback transaction
979
-  (0.1ms) begin transaction
980
-  (0.1ms) commit transaction
981
-  (0.0ms) begin transaction
982
-  (0.1ms) rollback transaction
983
-  (0.1ms) begin transaction
984
-  (0.0ms) commit transaction
985
-  (0.0ms) begin transaction
986
-  (0.0ms) rollback transaction
987
-  (0.0ms) begin transaction
988
-  (0.0ms) commit transaction
989
-  (0.9ms) begin transaction
990
-  (0.0ms) rollback transaction
991
-  (0.0ms) begin transaction
992
-  (0.0ms) commit transaction
993
-  (0.0ms) begin transaction
994
-  (0.1ms) rollback transaction
995
-  (1.5ms) PRAGMA foreign_keys
996
-  (0.1ms) PRAGMA foreign_keys = OFF
997
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
998
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
999
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1000
-  (1.3ms) DELETE FROM "ar_internal_metadata";
1001
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1002
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
242
+  (0.0ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
243
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
244
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms | Allocations: 1547)
245
+ TRANSACTION (0.1ms) rollback transaction
246
+ TRANSACTION (0.0ms) begin transaction
247
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
248
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
249
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
250
+ TRANSACTION (0.1ms) rollback transaction
251
+ TRANSACTION (0.0ms) begin transaction
252
+ TRANSACTION (3.6ms) SAVEPOINT active_record_1
253
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
254
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
255
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
256
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
257
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
258
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
259
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
260
+ TRANSACTION (0.1ms) rollback transaction
261
+ TRANSACTION (0.0ms) begin transaction
262
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
263
+ TRANSACTION (0.0ms) rollback transaction
264
+ TRANSACTION (0.0ms) begin transaction
265
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
266
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
267
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
268
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
269
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
270
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
271
+ TRANSACTION (0.1ms) RELEASE SAVEPOINT active_record_1
272
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
273
+ TRANSACTION (0.1ms) rollback transaction
274
+ TRANSACTION (0.0ms) begin transaction
275
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
276
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
277
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
278
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
279
+ TRANSACTION (0.1ms) rollback transaction
280
+ TRANSACTION (0.0ms) begin transaction
281
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
282
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
283
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
284
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
285
+ TRANSACTION (0.1ms) rollback transaction
286
+ TRANSACTION (0.0ms) begin transaction
287
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
288
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
289
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
290
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
291
+ TRANSACTION (0.1ms) rollback transaction
292
+  (0.5ms) SELECT sqlite_version(*)
293
+  (0.0ms) PRAGMA foreign_keys
294
+  (0.0ms) PRAGMA defer_foreign_keys
295
+  (0.0ms) PRAGMA defer_foreign_keys = ON
296
+  (0.0ms) PRAGMA foreign_keys = OFF
297
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
298
+  (0.4ms) DELETE FROM "asyncapi_server_jobs"
299
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
300
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
301
+  (0.0ms) PRAGMA defer_foreign_keys = 0
1003
302
   (0.0ms) PRAGMA foreign_keys = 1
1004
-  (0.0ms) begin transaction
1005
-  (0.0ms) commit transaction
1006
-  (0.0ms) begin transaction
1007
-  (0.1ms) rollback transaction
1008
-  (0.1ms) begin transaction
1009
-  (0.0ms) commit transaction
1010
-  (0.0ms) begin transaction
1011
-  (0.1ms) rollback transaction
1012
-  (0.1ms) begin transaction
1013
-  (0.0ms) commit transaction
1014
-  (0.0ms) begin transaction
1015
-  (0.0ms) rollback transaction
1016
-  (0.0ms) begin transaction
1017
-  (0.0ms) commit transaction
1018
-  (0.0ms) begin transaction
1019
-  (0.0ms) rollback transaction
1020
-  (0.0ms) begin transaction
1021
-  (0.0ms) commit transaction
1022
-  (0.0ms) begin transaction
1023
-  (0.0ms) rollback transaction
1024
-  (0.0ms) begin transaction
1025
-  (0.0ms) commit transaction
1026
-  (0.0ms) begin transaction
1027
-  (0.1ms) SAVEPOINT active_record_1
1028
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
1029
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1030
-  (0.4ms) rollback transaction
1031
-  (0.0ms) begin transaction
1032
-  (0.0ms) commit transaction
1033
-  (0.0ms) begin transaction
1034
-  (0.1ms) rollback transaction
1035
-  (0.0ms) begin transaction
1036
-  (0.0ms) commit transaction
1037
-  (0.0ms) begin transaction
1038
-  (0.0ms) rollback transaction
1039
-  (0.0ms) begin transaction
1040
-  (0.0ms) commit transaction
1041
-  (0.0ms) begin transaction
1042
-  (0.1ms) SAVEPOINT active_record_1
1043
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1044
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1045
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1046
-  (0.7ms) rollback transaction
1047
-  (0.1ms) begin transaction
1048
-  (0.1ms) commit transaction
1049
-  (0.0ms) begin transaction
1050
-  (0.1ms) SAVEPOINT active_record_1
1051
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1052
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1053
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1054
-  (1.3ms) rollback transaction
1055
-  (0.1ms) begin transaction
1056
-  (0.0ms) commit transaction
1057
-  (0.0ms) begin transaction
1058
-  (0.2ms) SAVEPOINT active_record_1
1059
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1060
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1061
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1062
-  (0.5ms) rollback transaction
1063
- Started POST "/tests" for 127.0.0.1 at 2021-03-24 11:49:51 +0800
303
+ TRANSACTION (0.0ms) begin transaction
304
+ TRANSACTION (0.0ms) rollback transaction
305
+ TRANSACTION (0.0ms) begin transaction
306
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
307
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
308
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
309
+ TRANSACTION (0.1ms) rollback transaction
310
+ TRANSACTION (0.0ms) begin transaction
311
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
312
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
313
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
314
+ Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
315
+ TRANSACTION (0.2ms) rollback transaction
316
+ TRANSACTION (0.0ms) begin transaction
317
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
318
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
319
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
320
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
321
+ TRANSACTION (0.1ms) rollback transaction
322
+ TRANSACTION (0.0ms) begin transaction
323
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
324
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
325
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
326
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
327
+ TRANSACTION (0.1ms) rollback transaction
328
+ Started POST "/tests" for 127.0.0.1 at 2022-03-21 14:32:29 -0300
1064
329
  Processing by TestsController#create as HTML
1065
330
  Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
1066
-  (0.0ms) begin transaction
1067
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
1068
-  (0.8ms) commit transaction
1069
- Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 1.2ms)
331
+ TRANSACTION (0.0ms) begin transaction
332
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
333
+ TRANSACTION (0.3ms) commit transaction
334
+ Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.5ms | Allocations: 2469)
1070
335
   (0.1ms) PRAGMA foreign_keys
1071
-  (0.1ms) PRAGMA foreign_keys = OFF
1072
-  (0.9ms) DELETE FROM "asyncapi_server_jobs";
1073
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1074
-  (0.9ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1075
-  (0.9ms) DELETE FROM "ar_internal_metadata";
1076
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1077
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
336
+  (0.0ms) PRAGMA defer_foreign_keys
337
+  (0.0ms) PRAGMA defer_foreign_keys = ON
338
+  (0.0ms) PRAGMA foreign_keys = OFF
339
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
340
+  (0.4ms) DELETE FROM "asyncapi_server_jobs"
341
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
342
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
343
+  (0.0ms) PRAGMA defer_foreign_keys = 0
1078
344
   (0.0ms) PRAGMA foreign_keys = 1
1079
-  (0.0ms) begin transaction
1080
-  (0.0ms) commit transaction
1081
-  (0.0ms) begin transaction
1082
-  (0.0ms) rollback transaction
1083
-  (0.1ms) begin transaction
1084
-  (0.0ms) commit transaction
1085
-  (0.0ms) begin transaction
1086
-  (0.1ms) SAVEPOINT active_record_1
1087
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
1088
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1089
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1090
-  (0.0ms) SAVEPOINT active_record_1
1091
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
1092
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1093
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1094
-  (0.4ms) rollback transaction
1095
-  (0.1ms) begin transaction
1096
-  (0.0ms) commit transaction
1097
-  (0.0ms) begin transaction
1098
-  (0.1ms) SAVEPOINT active_record_1
1099
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
1100
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1101
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1102
-  (0.1ms) SAVEPOINT active_record_1
1103
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
1104
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1105
- Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1106
-  (0.5ms) rollback transaction
1107
-  (0.1ms) begin transaction
1108
-  (0.0ms) commit transaction
1109
-  (0.0ms) begin transaction
1110
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
1111
-  (0.1ms) rollback transaction
1112
-  (0.1ms) begin transaction
1113
-  (0.1ms) commit transaction
1114
-  (0.1ms) begin transaction
1115
-  (0.3ms) rollback transaction
1116
-  (0.2ms) begin transaction
1117
-  (0.1ms) commit transaction
1118
-  (0.1ms) begin transaction
1119
-  (0.0ms) rollback transaction
1120
-  (0.0ms) begin transaction
1121
-  (0.0ms) commit transaction
1122
-  (0.0ms) begin transaction
1123
-  (0.0ms) rollback transaction
1124
-  (0.0ms) begin transaction
1125
-  (0.0ms) commit transaction
1126
-  (0.0ms) begin transaction
1127
-  (0.0ms) rollback transaction
1128
-  (0.0ms) begin transaction
1129
-  (0.0ms) commit transaction
1130
-  (0.0ms) begin transaction
1131
-  (0.1ms) SAVEPOINT active_record_1
1132
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
1133
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1134
- Processing by Asyncapi::Server::V1::JobsController#show as JSON
1135
- Parameters: {"id"=>"1"}
1136
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1137
- Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
1138
-  (0.4ms) rollback transaction
1139
-  (0.1ms) begin transaction
1140
-  (0.0ms) commit transaction
1141
-  (0.1ms) begin transaction
1142
-  (0.1ms) SAVEPOINT active_record_1
1143
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
1144
-  (0.0ms) RELEASE SAVEPOINT active_record_1
345
+ TRANSACTION (0.0ms) begin transaction
346
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
347
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
348
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
349
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
350
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
351
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
352
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
353
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
354
+ TRANSACTION (0.1ms) rollback transaction
355
+ TRANSACTION (0.0ms) begin transaction
356
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
357
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
358
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
359
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
360
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
361
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
362
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
363
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
364
+ TRANSACTION (0.1ms) rollback transaction
365
+ TRANSACTION (0.0ms) begin transaction
366
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
367
+ TRANSACTION (0.0ms) rollback transaction
368
+ TRANSACTION (0.0ms) begin transaction
369
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
370
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
371
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1145
372
  Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
1146
373
  Parameters: {"secret"=>"12312", "id"=>"1"}
1147
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
1148
-  (0.0ms) SAVEPOINT active_record_1
1149
- SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
1150
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1151
- Completed 204 No Content in 10ms (ActiveRecord: 0.3ms)
1152
-  (0.9ms) rollback transaction
1153
-  (0.1ms) begin transaction
1154
-  (0.1ms) commit transaction
1155
-  (0.0ms) begin transaction
1156
-  (0.1ms) SAVEPOINT active_record_1
1157
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
1158
-  (0.0ms) RELEASE SAVEPOINT active_record_1
374
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
375
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
376
+ Asyncapi::Server::Job Destroy (0.0ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
377
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
378
+ Completed 204 No Content in 3ms (ActiveRecord: 0.1ms | Allocations: 2362)
379
+ TRANSACTION (0.1ms) rollback transaction
380
+ TRANSACTION (0.0ms) begin transaction
381
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
382
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
383
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1159
384
  Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
1160
385
  Parameters: {"secret"=>"12315", "id"=>"1"}
1161
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
1162
- Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
1163
-  (0.6ms) rollback transaction
1164
-  (0.1ms) begin transaction
1165
-  (0.0ms) commit transaction
1166
-  (0.0ms) begin transaction
1167
-  (0.1ms) SAVEPOINT active_record_1
1168
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
1169
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1170
-  (0.1ms) SAVEPOINT active_record_1
1171
- SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
1172
-  (0.1ms) RELEASE SAVEPOINT active_record_1
386
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
387
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 142)
388
+ TRANSACTION (0.1ms) rollback transaction
389
+ TRANSACTION (0.0ms) begin transaction
390
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
391
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
392
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
393
+ Processing by Asyncapi::Server::V1::JobsController#show as JSON
394
+ Parameters: {"id"=>"1"}
395
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
396
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 852)
397
+ TRANSACTION (0.1ms) rollback transaction
398
+ TRANSACTION (0.0ms) begin transaction
399
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
400
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
401
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
402
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
403
+ Asyncapi::Server::Job Create (0.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
404
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1173
405
  Processing by Asyncapi::Server::V1::JobsController#index as JSON
1174
406
  Parameters: {"page"=>"2", "per_page"=>"1"}
1175
-  (0.2ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
1176
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
1177
- Completed 200 OK in 8ms (Views: 2.9ms | ActiveRecord: 0.3ms)
1178
-  (0.7ms) rollback transaction
1179
-  (1.6ms) PRAGMA foreign_keys
1180
-  (0.1ms) PRAGMA foreign_keys = OFF
1181
-  (3.1ms) DELETE FROM "asyncapi_server_jobs";
1182
-  (0.5ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1183
-  (0.4ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1184
-  (1.9ms) DELETE FROM "ar_internal_metadata";
1185
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1186
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1187
-  (0.0ms) PRAGMA foreign_keys = 1
1188
-  (0.0ms) begin transaction
1189
-  (0.0ms) commit transaction
1190
-  (0.0ms) begin transaction
1191
-  (0.1ms) rollback transaction
1192
-  (0.1ms) begin transaction
1193
-  (0.1ms) commit transaction
1194
-  (0.0ms) begin transaction
1195
-  (0.1ms) rollback transaction
1196
- Started POST "/tests" for 127.0.0.1 at 2021-03-24 11:50:15 +0800
1197
- Processing by TestsController#create as HTML
1198
- Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
1199
-  (0.1ms) begin transaction
1200
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
1201
-  (0.8ms) commit transaction
1202
- Completed 200 OK in 27ms (Views: 3.9ms | ActiveRecord: 2.0ms)
1203
-  (0.1ms) PRAGMA foreign_keys
407
+  (0.0ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
408
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
409
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.1ms | Allocations: 1497)
410
+ TRANSACTION (0.1ms) rollback transaction
411
+  (0.4ms) SELECT sqlite_version(*)
412
+  (0.0ms) PRAGMA foreign_keys
413
+  (0.0ms) PRAGMA defer_foreign_keys
414
+  (0.0ms) PRAGMA defer_foreign_keys = ON
1204
415
   (0.0ms) PRAGMA foreign_keys = OFF
1205
-  (1.0ms) DELETE FROM "asyncapi_server_jobs";
1206
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1207
-  (1.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1208
-  (1.1ms) DELETE FROM "ar_internal_metadata";
1209
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1210
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
416
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
417
+  (0.8ms) DELETE FROM "asyncapi_server_jobs"
418
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
419
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
420
+  (0.0ms) PRAGMA defer_foreign_keys = 0
1211
421
   (0.0ms) PRAGMA foreign_keys = 1
1212
-  (0.1ms) begin transaction
1213
-  (0.0ms) commit transaction
1214
-  (0.0ms) begin transaction
1215
-  (0.1ms) rollback transaction
1216
-  (0.1ms) begin transaction
1217
-  (0.0ms) commit transaction
1218
-  (0.0ms) begin transaction
1219
-  (0.1ms) SAVEPOINT active_record_1
1220
- SQL (0.8ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1221
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1222
- Asyncapi::Server::Job Load (0.4ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1223
-  (0.4ms) rollback transaction
1224
-  (0.0ms) begin transaction
1225
-  (0.0ms) commit transaction
1226
-  (0.0ms) begin transaction
1227
-  (0.1ms) SAVEPOINT active_record_1
1228
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1229
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1230
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1231
-  (0.6ms) rollback transaction
1232
-  (0.1ms) begin transaction
1233
-  (0.0ms) commit transaction
1234
-  (0.0ms) begin transaction
1235
-  (0.2ms) SAVEPOINT active_record_1
1236
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1237
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1238
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1239
-  (0.4ms) rollback transaction
1240
-  (0.1ms) begin transaction
1241
-  (0.0ms) commit transaction
1242
-  (0.0ms) begin transaction
1243
-  (0.0ms) rollback transaction
1244
-  (0.0ms) begin transaction
1245
-  (0.0ms) commit transaction
1246
-  (0.0ms) begin transaction
1247
-  (0.7ms) rollback transaction
1248
-  (0.1ms) begin transaction
1249
-  (0.0ms) commit transaction
1250
-  (0.0ms) begin transaction
1251
-  (0.0ms) rollback transaction
1252
-  (0.1ms) begin transaction
1253
-  (0.0ms) commit transaction
1254
-  (0.0ms) begin transaction
1255
-  (0.0ms) rollback transaction
1256
-  (0.1ms) begin transaction
1257
-  (0.0ms) commit transaction
1258
-  (0.0ms) begin transaction
1259
-  (0.0ms) rollback transaction
1260
-  (0.1ms) begin transaction
1261
-  (0.0ms) commit transaction
1262
-  (0.0ms) begin transaction
1263
-  (0.0ms) rollback transaction
1264
-  (0.1ms) begin transaction
1265
-  (0.0ms) commit transaction
1266
-  (0.0ms) begin transaction
1267
-  (0.2ms) SAVEPOINT active_record_1
1268
- SQL (0.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
1269
-  (0.4ms) RELEASE SAVEPOINT active_record_1
1270
-  (0.7ms) rollback transaction
1271
-  (0.1ms) begin transaction
1272
-  (0.1ms) commit transaction
1273
-  (0.1ms) begin transaction
1274
-  (0.1ms) SAVEPOINT active_record_1
1275
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
1276
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1277
- Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
1278
- Parameters: {"secret"=>"12312", "id"=>"1"}
1279
- Asyncapi::Server::Job Load (0.3ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
1280
-  (0.3ms) SAVEPOINT active_record_1
1281
- SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
1282
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1283
- Completed 204 No Content in 22ms (ActiveRecord: 0.7ms)
1284
-  (0.5ms) rollback transaction
1285
-  (0.1ms) begin transaction
1286
-  (0.0ms) commit transaction
1287
-  (0.0ms) begin transaction
1288
-  (0.1ms) SAVEPOINT active_record_1
1289
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
1290
-  (0.5ms) RELEASE SAVEPOINT active_record_1
1291
- Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
1292
- Parameters: {"secret"=>"12315", "id"=>"1"}
1293
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
1294
- Completed 404 Not Found in 1ms (ActiveRecord: 0.1ms)
1295
-  (0.5ms) rollback transaction
1296
-  (0.1ms) begin transaction
1297
-  (0.0ms) commit transaction
1298
-  (0.0ms) begin transaction
1299
-  (0.0ms) SAVEPOINT active_record_1
1300
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
1301
-  (0.1ms) RELEASE SAVEPOINT active_record_1
422
+ TRANSACTION (0.0ms) begin transaction
423
+ TRANSACTION (0.0ms) rollback transaction
424
+ TRANSACTION (0.0ms) begin transaction
425
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
426
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
427
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
428
+ TRANSACTION (0.1ms) rollback transaction
429
+ TRANSACTION (0.0ms) begin transaction
430
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
431
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
432
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
433
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
434
+ TRANSACTION (0.2ms) rollback transaction
435
+ TRANSACTION (0.0ms) begin transaction
436
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
437
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
438
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
439
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
440
+ TRANSACTION (0.1ms) rollback transaction
441
+ TRANSACTION (0.0ms) begin transaction
442
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
443
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
444
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
445
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
446
+ TRANSACTION (0.1ms) rollback transaction
447
+ TRANSACTION (0.0ms) begin transaction
448
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
449
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
450
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
451
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
452
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
453
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
454
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
455
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
456
+ TRANSACTION (0.3ms) rollback transaction
457
+ TRANSACTION (0.0ms) begin transaction
458
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
459
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
460
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
461
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
462
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
463
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
464
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
465
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
466
+ TRANSACTION (0.1ms) rollback transaction
467
+ TRANSACTION (0.0ms) begin transaction
468
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
469
+ TRANSACTION (0.0ms) rollback transaction
470
+ TRANSACTION (0.0ms) begin transaction
471
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
472
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
473
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1302
474
  Processing by Asyncapi::Server::V1::JobsController#show as JSON
1303
475
  Parameters: {"id"=>"1"}
1304
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1305
- Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms)
1306
-  (1.2ms) rollback transaction
1307
-  (0.1ms) begin transaction
1308
-  (0.0ms) commit transaction
1309
-  (0.0ms) begin transaction
1310
-  (0.1ms) SAVEPOINT active_record_1
1311
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
1312
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1313
-  (0.0ms) SAVEPOINT active_record_1
1314
- SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
1315
-  (0.1ms) RELEASE SAVEPOINT active_record_1
476
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
477
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 945)
478
+ TRANSACTION (0.2ms) rollback transaction
479
+ TRANSACTION (0.0ms) begin transaction
480
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
481
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
482
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
483
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
484
+ Asyncapi::Server::Job Create (0.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
485
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1316
486
  Processing by Asyncapi::Server::V1::JobsController#index as JSON
1317
487
  Parameters: {"page"=>"2", "per_page"=>"1"}
1318
-  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
1319
- Asyncapi::Server::Job Load (0.3ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
1320
- Completed 200 OK in 10ms (Views: 6.1ms | ActiveRecord: 0.4ms)
1321
-  (1.0ms) rollback transaction
1322
-  (0.1ms) begin transaction
1323
-  (0.0ms) commit transaction
1324
-  (0.0ms) begin transaction
1325
-  (0.0ms) rollback transaction
1326
-  (0.1ms) begin transaction
1327
-  (0.0ms) commit transaction
1328
-  (0.0ms) begin transaction
1329
-  (0.1ms) SAVEPOINT active_record_1
1330
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
1331
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1332
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1333
-  (0.1ms) SAVEPOINT active_record_1
1334
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
1335
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1336
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1337
-  (0.6ms) rollback transaction
1338
-  (1.0ms) begin transaction
1339
-  (0.5ms) commit transaction
1340
-  (0.1ms) begin transaction
1341
-  (0.2ms) SAVEPOINT active_record_1
1342
- SQL (1.7ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
1343
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1344
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1345
-  (0.1ms) SAVEPOINT active_record_1
1346
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
1347
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1348
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1349
-  (0.5ms) rollback transaction
1350
-  (0.1ms) begin transaction
1351
-  (0.0ms) commit transaction
1352
-  (0.0ms) begin transaction
1353
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
1354
-  (0.1ms) rollback transaction
1355
-  (0.1ms) begin transaction
1356
-  (0.1ms) commit transaction
1357
-  (0.0ms) begin transaction
1358
-  (0.6ms) rollback transaction
1359
-  (0.1ms) begin transaction
1360
-  (0.1ms) commit transaction
1361
-  (0.0ms) begin transaction
1362
-  (0.1ms) rollback transaction
1363
-  (2.0ms) PRAGMA foreign_keys
1364
-  (0.1ms) PRAGMA foreign_keys = OFF
1365
-  (2.6ms) DELETE FROM "asyncapi_server_jobs";
1366
-  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1367
-  (0.7ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1368
-  (2.0ms) DELETE FROM "ar_internal_metadata";
1369
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1370
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1371
-  (0.1ms) PRAGMA foreign_keys = 1
1372
-  (0.1ms) begin transaction
1373
-  (0.1ms) commit transaction
1374
-  (0.1ms) begin transaction
1375
-  (0.1ms) rollback transaction
1376
-  (0.1ms) begin transaction
1377
-  (0.1ms) commit transaction
1378
-  (0.1ms) begin transaction
1379
-  (0.1ms) rollback transaction
1380
- Started POST "/tests" for 127.0.0.1 at 2021-03-24 11:51:58 +0800
488
+  (0.0ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
489
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
490
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.1ms | Allocations: 1497)
491
+ TRANSACTION (0.1ms) rollback transaction
492
+ TRANSACTION (0.0ms) begin transaction
493
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
494
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
495
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
496
+ Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
497
+ Parameters: {"secret"=>"12312", "id"=>"1"}
498
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
499
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
500
+ Asyncapi::Server::Job Destroy (0.0ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
501
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
502
+ Completed 204 No Content in 2ms (ActiveRecord: 0.1ms | Allocations: 2342)
503
+ TRANSACTION (0.1ms) rollback transaction
504
+ TRANSACTION (0.0ms) begin transaction
505
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
506
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
507
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
508
+ Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
509
+ Parameters: {"secret"=>"12315", "id"=>"1"}
510
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
511
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 142)
512
+ TRANSACTION (0.1ms) rollback transaction
513
+ Started POST "/tests" for 127.0.0.1 at 2022-03-21 14:32:57 -0300
1381
514
  Processing by TestsController#create as HTML
1382
515
  Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
1383
-  (0.1ms) begin transaction
1384
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
1385
-  (0.7ms) commit transaction
1386
- Completed 200 OK in 31ms (Views: 8.7ms | ActiveRecord: 1.8ms)
1387
-  (0.1ms) PRAGMA foreign_keys
1388
-  (0.1ms) PRAGMA foreign_keys = OFF
1389
-  (0.9ms) DELETE FROM "asyncapi_server_jobs";
1390
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1391
-  (0.8ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1392
-  (1.0ms) DELETE FROM "ar_internal_metadata";
1393
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1394
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
516
+ TRANSACTION (0.0ms) begin transaction
517
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
518
+ TRANSACTION (0.3ms) commit transaction
519
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.5ms | Allocations: 2394)
520
+  (0.0ms) PRAGMA foreign_keys
521
+  (0.0ms) PRAGMA defer_foreign_keys
522
+  (0.0ms) PRAGMA defer_foreign_keys = ON
523
+  (0.0ms) PRAGMA foreign_keys = OFF
524
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
525
+  (0.3ms) DELETE FROM "asyncapi_server_jobs"
526
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
527
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
528
+  (0.0ms) PRAGMA defer_foreign_keys = 0
529
+  (0.0ms) PRAGMA foreign_keys = 1
530
+  (0.4ms) SELECT sqlite_version(*)
531
+  (0.0ms) PRAGMA foreign_keys
532
+  (0.0ms) PRAGMA defer_foreign_keys
533
+  (0.0ms) PRAGMA defer_foreign_keys = ON
534
+  (0.0ms) PRAGMA foreign_keys = OFF
535
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
536
+  (0.8ms) DELETE FROM "asyncapi_server_jobs"
537
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
538
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
539
+  (0.0ms) PRAGMA defer_foreign_keys = 0
1395
540
   (0.0ms) PRAGMA foreign_keys = 1
1396
-  (0.1ms) begin transaction
1397
-  (0.0ms) commit transaction
1398
-  (0.0ms) begin transaction
1399
-  (0.1ms) rollback transaction
1400
-  (0.0ms) begin transaction
1401
-  (0.0ms) commit transaction
1402
-  (0.0ms) begin transaction
1403
-  (0.1ms) SAVEPOINT active_record_1
1404
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
1405
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1406
- Asyncapi::Server::Job Load (0.6ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1407
-  (1.0ms) SAVEPOINT active_record_1
1408
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
1409
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1410
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1411
-  (0.4ms) rollback transaction
1412
-  (0.1ms) begin transaction
1413
-  (0.0ms) commit transaction
1414
-  (0.0ms) begin transaction
1415
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
1416
-  (0.1ms) rollback transaction
1417
-  (0.1ms) begin transaction
1418
-  (0.0ms) commit transaction
1419
-  (0.0ms) begin transaction
1420
-  (0.1ms) SAVEPOINT active_record_1
1421
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
1422
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1423
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1424
-  (0.1ms) SAVEPOINT active_record_1
1425
- SQL (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
1426
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1427
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1428
-  (0.4ms) rollback transaction
1429
-  (0.1ms) begin transaction
1430
-  (0.0ms) commit transaction
1431
-  (0.0ms) begin transaction
1432
-  (0.0ms) rollback transaction
1433
-  (0.1ms) begin transaction
1434
-  (0.0ms) commit transaction
1435
-  (0.0ms) begin transaction
1436
-  (0.1ms) rollback transaction
1437
-  (0.1ms) begin transaction
1438
-  (0.1ms) commit transaction
1439
-  (0.2ms) begin transaction
1440
-  (0.1ms) rollback transaction
1441
-  (0.1ms) begin transaction
1442
-  (0.0ms) commit transaction
1443
-  (0.0ms) begin transaction
1444
-  (0.1ms) SAVEPOINT active_record_1
1445
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
1446
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1447
-  (0.4ms) rollback transaction
1448
-  (0.1ms) begin transaction
1449
-  (0.0ms) commit transaction
1450
-  (0.0ms) begin transaction
1451
-  (1.0ms) rollback transaction
1452
-  (0.1ms) begin transaction
1453
-  (0.0ms) commit transaction
1454
-  (0.0ms) begin transaction
1455
-  (0.1ms) rollback transaction
1456
-  (0.2ms) begin transaction
1457
-  (3.2ms) commit transaction
1458
-  (0.1ms) begin transaction
1459
-  (0.1ms) rollback transaction
1460
-  (0.1ms) begin transaction
1461
-  (0.2ms) commit transaction
1462
-  (0.1ms) begin transaction
1463
-  (0.1ms) rollback transaction
1464
-  (0.1ms) begin transaction
1465
-  (0.0ms) commit transaction
1466
-  (0.1ms) begin transaction
1467
-  (0.1ms) SAVEPOINT active_record_1
1468
- SQL (0.6ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1469
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1470
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1471
-  (0.4ms) rollback transaction
1472
-  (0.1ms) begin transaction
1473
-  (0.0ms) commit transaction
1474
-  (0.0ms) begin transaction
1475
-  (0.0ms) SAVEPOINT active_record_1
1476
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1477
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1478
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1479
-  (0.5ms) rollback transaction
1480
-  (0.2ms) begin transaction
1481
-  (0.1ms) commit transaction
1482
-  (0.1ms) begin transaction
1483
-  (0.1ms) SAVEPOINT active_record_1
1484
- SQL (1.3ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1485
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1486
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1487
-  (0.5ms) rollback transaction
1488
-  (0.1ms) begin transaction
1489
-  (0.0ms) commit transaction
1490
-  (0.0ms) begin transaction
1491
-  (0.0ms) rollback transaction
1492
-  (0.0ms) begin transaction
1493
-  (0.0ms) commit transaction
1494
-  (0.0ms) begin transaction
1495
-  (0.0ms) rollback transaction
1496
-  (0.1ms) begin transaction
1497
-  (0.1ms) commit transaction
1498
-  (0.1ms) begin transaction
1499
-  (0.2ms) SAVEPOINT active_record_1
1500
- SQL (0.9ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
1501
-  (0.1ms) RELEASE SAVEPOINT active_record_1
541
+ TRANSACTION (0.0ms) begin transaction
542
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
543
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
544
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1502
545
  Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
1503
546
  Parameters: {"secret"=>"12312", "id"=>"1"}
1504
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
1505
-  (0.1ms) SAVEPOINT active_record_1
1506
- SQL (0.1ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
1507
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1508
- Completed 204 No Content in 9ms (ActiveRecord: 0.5ms)
1509
-  (0.4ms) rollback transaction
1510
-  (0.1ms) begin transaction
1511
-  (0.1ms) commit transaction
1512
-  (0.0ms) begin transaction
1513
-  (0.1ms) SAVEPOINT active_record_1
1514
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
1515
-  (0.1ms) RELEASE SAVEPOINT active_record_1
547
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
548
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
549
+ Asyncapi::Server::Job Destroy (0.0ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
550
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
551
+ Completed 204 No Content in 3ms (ActiveRecord: 0.1ms | Allocations: 2902)
552
+ TRANSACTION (0.2ms) rollback transaction
553
+ TRANSACTION (0.0ms) begin transaction
554
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
555
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
556
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1516
557
  Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
1517
558
  Parameters: {"secret"=>"12315", "id"=>"1"}
1518
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
1519
- Completed 404 Not Found in 0ms (ActiveRecord: 0.1ms)
1520
-  (0.4ms) rollback transaction
1521
-  (0.1ms) begin transaction
1522
-  (0.0ms) commit transaction
1523
-  (0.0ms) begin transaction
1524
-  (0.1ms) SAVEPOINT active_record_1
1525
- SQL (0.3ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
1526
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1527
-  (0.0ms) SAVEPOINT active_record_1
1528
- SQL (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
1529
-  (0.0ms) RELEASE SAVEPOINT active_record_1
559
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
560
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 142)
561
+ TRANSACTION (0.2ms) rollback transaction
562
+ TRANSACTION (0.0ms) begin transaction
563
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
564
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
565
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
566
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
567
+ Asyncapi::Server::Job Create (0.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
568
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1530
569
  Processing by Asyncapi::Server::V1::JobsController#index as JSON
1531
570
  Parameters: {"page"=>"2", "per_page"=>"1"}
1532
-  (0.1ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
1533
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
1534
- Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.2ms)
1535
-  (0.6ms) rollback transaction
1536
-  (0.1ms) begin transaction
1537
-  (0.1ms) commit transaction
1538
-  (0.2ms) begin transaction
1539
-  (0.2ms) SAVEPOINT active_record_1
1540
- SQL (1.4ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
1541
-  (0.1ms) RELEASE SAVEPOINT active_record_1
571
+  (0.0ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
572
+ Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
573
+ Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.1ms | Allocations: 1579)
574
+ TRANSACTION (0.2ms) rollback transaction
575
+ TRANSACTION (0.0ms) begin transaction
576
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
577
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
578
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
1542
579
  Processing by Asyncapi::Server::V1::JobsController#show as JSON
1543
580
  Parameters: {"id"=>"1"}
1544
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1545
- Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.2ms)
1546
-  (0.4ms) rollback transaction
1547
-  (3.3ms) PRAGMA foreign_keys
1548
-  (0.1ms) PRAGMA foreign_keys = OFF
1549
-  (1.3ms) DELETE FROM "asyncapi_server_jobs";
1550
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1551
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1552
-  (1.6ms) DELETE FROM "ar_internal_metadata";
1553
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1554
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1555
-  (0.1ms) PRAGMA foreign_keys = 1
1556
-  (0.0ms) begin transaction
1557
-  (0.0ms) commit transaction
1558
-  (0.0ms) begin transaction
1559
-  (0.1ms) rollback transaction
1560
-  (0.1ms) begin transaction
1561
-  (0.0ms) commit transaction
1562
-  (0.0ms) begin transaction
1563
-  (0.0ms) rollback transaction
1564
-  (0.0ms) begin transaction
1565
-  (0.0ms) commit transaction
1566
-  (0.0ms) begin transaction
1567
-  (0.0ms) rollback transaction
1568
-  (8.6ms) PRAGMA foreign_keys
1569
-  (0.2ms) PRAGMA foreign_keys = OFF
1570
-  (5.4ms) DELETE FROM "asyncapi_server_jobs";
1571
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1572
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1573
-  (5.9ms) DELETE FROM "ar_internal_metadata";
1574
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1575
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1576
-  (0.1ms) PRAGMA foreign_keys = 1
1577
-  (0.1ms) begin transaction
1578
-  (0.0ms) commit transaction
1579
-  (0.0ms) begin transaction
1580
-  (0.1ms) rollback transaction
1581
-  (0.1ms) begin transaction
1582
-  (0.0ms) commit transaction
1583
-  (0.0ms) begin transaction
1584
-  (0.1ms) SAVEPOINT active_record_1
1585
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1586
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1587
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1588
-  (0.4ms) rollback transaction
1589
-  (0.1ms) begin transaction
1590
-  (0.0ms) commit transaction
1591
-  (0.0ms) begin transaction
1592
-  (0.1ms) SAVEPOINT active_record_1
1593
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1594
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1595
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1596
-  (0.4ms) rollback transaction
1597
-  (0.1ms) begin transaction
1598
-  (0.0ms) commit transaction
1599
-  (0.0ms) begin transaction
1600
-  (0.1ms) SAVEPOINT active_record_1
1601
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1602
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1603
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1604
-  (0.4ms) rollback transaction
1605
-  (1.5ms) PRAGMA foreign_keys
1606
-  (0.1ms) PRAGMA foreign_keys = OFF
1607
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
1608
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
581
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
582
+ Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms | Allocations: 963)
583
+ TRANSACTION (0.1ms) rollback transaction
584
+ TRANSACTION (0.0ms) begin transaction
585
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
586
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
587
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
588
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
589
+ TRANSACTION (0.1ms) rollback transaction
590
+ TRANSACTION (0.0ms) begin transaction
591
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
592
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
593
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
594
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
595
+ TRANSACTION (0.1ms) rollback transaction
596
+ TRANSACTION (0.0ms) begin transaction
597
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
598
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
599
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
600
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
601
+ TRANSACTION (0.1ms) rollback transaction
602
+ TRANSACTION (0.0ms) begin transaction
603
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
604
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
605
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
606
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
607
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
608
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
609
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
610
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
611
+ TRANSACTION (0.1ms) rollback transaction
612
+ TRANSACTION (0.0ms) begin transaction
613
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
614
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
615
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
616
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
617
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
618
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
619
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
620
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
621
+ TRANSACTION (0.2ms) rollback transaction
622
+ TRANSACTION (0.0ms) begin transaction
623
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
624
+ TRANSACTION (0.0ms) rollback transaction
625
+ Started POST "/tests" for 127.0.0.1 at 2022-03-21 14:33:16 -0300
626
+ Processing by TestsController#create as HTML
627
+ Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
628
+ TRANSACTION (0.0ms) begin transaction
629
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
630
+ TRANSACTION (0.4ms) commit transaction
631
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.6ms | Allocations: 2394)
632
+  (0.0ms) PRAGMA foreign_keys
633
+  (0.0ms) PRAGMA defer_foreign_keys
634
+  (0.0ms) PRAGMA defer_foreign_keys = ON
635
+  (0.0ms) PRAGMA foreign_keys = OFF
636
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
637
+  (0.3ms) DELETE FROM "asyncapi_server_jobs"
638
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1609
639
   (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1610
-  (1.3ms) DELETE FROM "ar_internal_metadata";
1611
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1612
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1613
-  (0.0ms) PRAGMA foreign_keys = 1
1614
-  (0.1ms) begin transaction
1615
-  (0.0ms) commit transaction
1616
-  (0.0ms) begin transaction
1617
-  (0.1ms) rollback transaction
1618
-  (0.0ms) begin transaction
1619
-  (0.0ms) commit transaction
1620
-  (0.0ms) begin transaction
1621
-  (0.1ms) SAVEPOINT active_record_1
1622
- SQL (0.6ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1623
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1624
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1625
-  (0.4ms) rollback transaction
1626
-  (0.1ms) begin transaction
1627
-  (0.0ms) commit transaction
1628
-  (0.0ms) begin transaction
1629
-  (0.1ms) SAVEPOINT active_record_1
1630
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1631
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1632
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1633
-  (0.5ms) rollback transaction
1634
-  (0.1ms) begin transaction
1635
-  (0.1ms) commit transaction
1636
-  (0.0ms) begin transaction
1637
-  (0.1ms) SAVEPOINT active_record_1
1638
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1639
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1640
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1641
-  (0.7ms) rollback transaction
1642
-  (1.5ms) PRAGMA foreign_keys
1643
-  (0.1ms) PRAGMA foreign_keys = OFF
1644
-  (1.1ms) DELETE FROM "asyncapi_server_jobs";
1645
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1646
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1647
-  (1.3ms) DELETE FROM "ar_internal_metadata";
1648
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1649
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
640
+  (0.0ms) PRAGMA defer_foreign_keys = 0
1650
641
   (0.0ms) PRAGMA foreign_keys = 1
1651
-  (0.0ms) begin transaction
1652
-  (0.0ms) commit transaction
1653
-  (0.0ms) begin transaction
1654
-  (0.0ms) rollback transaction
1655
-  (0.1ms) begin transaction
1656
-  (0.0ms) commit transaction
1657
-  (0.0ms) begin transaction
1658
-  (0.1ms) SAVEPOINT active_record_1
1659
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1660
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1661
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1662
-  (0.4ms) rollback transaction
1663
-  (0.1ms) begin transaction
1664
-  (0.0ms) commit transaction
1665
-  (0.0ms) begin transaction
1666
-  (0.1ms) SAVEPOINT active_record_1
1667
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1668
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1669
- Asyncapi::Server::Job Load (1.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1670
-  (1.6ms) rollback transaction
1671
-  (0.1ms) begin transaction
1672
-  (0.0ms) commit transaction
1673
-  (0.0ms) begin transaction
1674
-  (0.1ms) SAVEPOINT active_record_1
1675
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1676
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1677
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1678
-  (0.4ms) rollback transaction
1679
-  (1.5ms) PRAGMA foreign_keys
1680
-  (0.1ms) PRAGMA foreign_keys = OFF
1681
-  (1.6ms) DELETE FROM "asyncapi_server_jobs";
1682
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1683
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1684
-  (1.5ms) DELETE FROM "ar_internal_metadata";
1685
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1686
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
642
+ TRANSACTION (0.0ms) begin transaction
643
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
644
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
645
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
646
+ TRANSACTION (0.1ms) rollback transaction
647
+  (0.5ms) SELECT sqlite_version(*)
648
+  (0.0ms) PRAGMA foreign_keys
649
+  (0.0ms) PRAGMA defer_foreign_keys
650
+  (0.0ms) PRAGMA defer_foreign_keys = ON
651
+  (0.0ms) PRAGMA foreign_keys = OFF
652
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
653
+  (0.4ms) DELETE FROM "asyncapi_server_jobs"
654
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
655
+  (0.0ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
656
+  (0.0ms) PRAGMA defer_foreign_keys = 0
1687
657
   (0.0ms) PRAGMA foreign_keys = 1
1688
-  (0.0ms) begin transaction
1689
-  (0.0ms) commit transaction
1690
-  (0.0ms) begin transaction
1691
-  (0.1ms) rollback transaction
1692
-  (0.1ms) begin transaction
1693
-  (0.0ms) commit transaction
1694
-  (0.0ms) begin transaction
1695
-  (0.1ms) SAVEPOINT active_record_1
1696
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1697
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1698
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1699
-  (0.4ms) rollback transaction
1700
-  (0.1ms) begin transaction
1701
-  (0.0ms) commit transaction
1702
-  (0.0ms) begin transaction
1703
-  (0.1ms) SAVEPOINT active_record_1
1704
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1705
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1706
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1707
-  (0.6ms) rollback transaction
1708
-  (0.1ms) begin transaction
1709
-  (0.0ms) commit transaction
1710
-  (0.0ms) begin transaction
1711
-  (0.4ms) SAVEPOINT active_record_1
1712
- SQL (1.0ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1713
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1714
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1715
-  (0.5ms) rollback transaction
1716
-  (6.3ms) PRAGMA foreign_keys
1717
-  (0.2ms) PRAGMA foreign_keys = OFF
1718
-  (1.6ms) DELETE FROM "asyncapi_server_jobs";
1719
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
658
+ TRANSACTION (0.0ms) begin transaction
659
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
660
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
661
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
662
+ Processing by Asyncapi::Server::V1::JobsController#show as JSON
663
+ Parameters: {"id"=>"1"}
664
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
665
+ Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.0ms | Allocations: 2817)
666
+ TRANSACTION (0.1ms) rollback transaction
667
+ TRANSACTION (0.0ms) begin transaction
668
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
669
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
670
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
671
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
672
+ Asyncapi::Server::Job Create (0.0ms) INSERT INTO "asyncapi_server_jobs" DEFAULT VALUES
673
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
674
+ Processing by Asyncapi::Server::V1::JobsController#index as JSON
675
+ Parameters: {"page"=>"2", "per_page"=>"1"}
676
+  (0.0ms) SELECT COUNT(*) FROM "asyncapi_server_jobs"
677
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" LIMIT ? OFFSET ? [["LIMIT", 1], ["OFFSET", 1]]
678
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.1ms | Allocations: 1549)
679
+ TRANSACTION (0.1ms) rollback transaction
680
+ TRANSACTION (0.0ms) begin transaction
681
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
682
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
683
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
684
+ Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
685
+ Parameters: {"secret"=>"12312", "id"=>"1"}
686
+ Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12312"], ["LIMIT", 1]]
687
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
688
+ Asyncapi::Server::Job Destroy (0.0ms) DELETE FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? [["id", 1]]
689
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
690
+ Completed 204 No Content in 4ms (ActiveRecord: 0.1ms | Allocations: 2347)
691
+ TRANSACTION (0.2ms) rollback transaction
692
+ TRANSACTION (0.0ms) begin transaction
693
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
694
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("secret") VALUES (?) [["secret", "12312"]]
695
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
696
+ Processing by Asyncapi::Server::V1::JobsController#destroy as JSON
697
+ Parameters: {"secret"=>"12315", "id"=>"1"}
698
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? AND "asyncapi_server_jobs"."secret" = ? LIMIT ? [["id", 1], ["secret", "12315"], ["LIMIT", 1]]
699
+ Completed 404 Not Found in 0ms (ActiveRecord: 0.0ms | Allocations: 142)
700
+ TRANSACTION (0.1ms) rollback transaction
701
+ TRANSACTION (0.0ms) begin transaction
702
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
703
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "params") VALUES (?, ?, ?, ?) [["status", 2], ["callback_url", "http://callback_url.com"], ["class_name", "CreateStorageFacility"], ["params", "{\"param\":\"values\"}"]]
704
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
705
+ TRANSACTION (0.1ms) rollback transaction
706
+ TRANSACTION (0.0ms) begin transaction
707
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
708
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["params", "{\"some\":\"params\"}"], ["secret", "sekret"]]
709
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
710
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
711
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
712
+ Asyncapi::Server::Job Update (0.1ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 1], ["id", 1]]
713
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
714
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
715
+ TRANSACTION (0.1ms) rollback transaction
716
+ TRANSACTION (0.0ms) begin transaction
717
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
718
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "secret") VALUES (?, ?, ?) [["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "sekret"]]
719
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
720
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
721
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
722
+ Asyncapi::Server::Job Update (0.0ms) UPDATE "asyncapi_server_jobs" SET "status" = ? WHERE "asyncapi_server_jobs"."id" = ? [["status", 2], ["id", 1]]
723
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
724
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
725
+ TRANSACTION (0.1ms) rollback transaction
726
+ TRANSACTION (0.0ms) begin transaction
727
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 999], ["LIMIT", 1]]
728
+ TRANSACTION (0.0ms) rollback transaction
729
+ Started POST "/tests" for 127.0.0.1 at 2022-03-21 14:35:01 -0300
730
+ Processing by TestsController#create as HTML
731
+ Parameters: {"job"=>{"callback_url"=>"callback_url", "params"=>"{\"client\":\"params\"}", "secret"=>"secret"}}
732
+ TRANSACTION (0.0ms) begin transaction
733
+ Asyncapi::Server::Job Create (0.2ms) INSERT INTO "asyncapi_server_jobs" ("callback_url", "class_name", "params", "secret") VALUES (?, ?, ?, ?) [["callback_url", "callback_url"], ["class_name", "Runner"], ["params", "{\"client\":\"params\"}"], ["secret", "secret"]]
734
+ TRANSACTION (0.2ms) commit transaction
735
+ Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.4ms | Allocations: 2394)
736
+  (0.0ms) PRAGMA foreign_keys
737
+  (0.0ms) PRAGMA defer_foreign_keys
738
+  (0.0ms) PRAGMA defer_foreign_keys = ON
739
+  (0.0ms) PRAGMA foreign_keys = OFF
740
+  (0.1ms) TRUNCATE TABLE "asyncapi_server_jobs"
741
+  (0.3ms) DELETE FROM "asyncapi_server_jobs"
742
+  (0.0ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1720
743
   (0.3ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1721
-  (1.5ms) DELETE FROM "ar_internal_metadata";
1722
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1723
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1724
-  (0.0ms) PRAGMA foreign_keys = 1
1725
-  (0.0ms) begin transaction
1726
-  (0.0ms) commit transaction
1727
-  (0.0ms) begin transaction
1728
-  (0.1ms) rollback transaction
1729
-  (0.1ms) begin transaction
1730
-  (0.1ms) commit transaction
1731
-  (0.0ms) begin transaction
1732
-  (0.1ms) SAVEPOINT active_record_1
1733
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1734
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1735
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1736
-  (0.5ms) rollback transaction
1737
-  (0.1ms) begin transaction
1738
-  (0.0ms) commit transaction
1739
-  (0.0ms) begin transaction
1740
-  (0.1ms) SAVEPOINT active_record_1
1741
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1742
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1743
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1744
-  (0.7ms) rollback transaction
1745
-  (0.1ms) begin transaction
1746
-  (0.1ms) commit transaction
1747
-  (0.1ms) begin transaction
1748
-  (0.3ms) SAVEPOINT active_record_1
1749
- SQL (0.6ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1750
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1751
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1752
-  (0.5ms) rollback transaction
1753
-  (1.6ms) PRAGMA foreign_keys
1754
-  (0.1ms) PRAGMA foreign_keys = OFF
1755
-  (1.3ms) DELETE FROM "asyncapi_server_jobs";
1756
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1757
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1758
-  (1.2ms) DELETE FROM "ar_internal_metadata";
1759
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1760
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1761
-  (0.0ms) PRAGMA foreign_keys = 1
1762
-  (0.1ms) begin transaction
1763
-  (0.0ms) commit transaction
1764
-  (0.0ms) begin transaction
1765
-  (0.1ms) rollback transaction
1766
-  (0.1ms) begin transaction
1767
-  (0.1ms) commit transaction
1768
-  (0.1ms) begin transaction
1769
-  (0.1ms) SAVEPOINT active_record_1
1770
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1771
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1772
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1773
-  (0.5ms) rollback transaction
1774
-  (0.1ms) begin transaction
1775
-  (0.1ms) commit transaction
1776
-  (0.1ms) begin transaction
1777
-  (0.3ms) SAVEPOINT active_record_1
1778
- SQL (2.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1779
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1780
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1781
-  (0.7ms) rollback transaction
1782
-  (0.4ms) begin transaction
1783
-  (0.1ms) commit transaction
1784
-  (0.1ms) begin transaction
1785
-  (0.1ms) SAVEPOINT active_record_1
1786
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1787
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1788
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1789
-  (0.5ms) rollback transaction
1790
-  (1.3ms) PRAGMA foreign_keys
1791
-  (0.1ms) PRAGMA foreign_keys = OFF
1792
-  (2.0ms) DELETE FROM "asyncapi_server_jobs";
1793
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1794
-  (1.8ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1795
-  (2.8ms) DELETE FROM "ar_internal_metadata";
1796
-  (0.4ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1797
-  (0.4ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1798
-  (0.1ms) PRAGMA foreign_keys = 1
1799
-  (0.1ms) begin transaction
1800
-  (0.1ms) commit transaction
1801
-  (0.1ms) begin transaction
1802
-  (0.1ms) rollback transaction
1803
-  (0.1ms) begin transaction
1804
-  (0.1ms) commit transaction
1805
-  (0.1ms) begin transaction
1806
-  (0.1ms) SAVEPOINT active_record_1
1807
- SQL (0.8ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1808
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1809
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1810
-  (1.2ms) rollback transaction
1811
-  (0.1ms) begin transaction
1812
-  (0.0ms) commit transaction
1813
-  (0.0ms) begin transaction
1814
-  (0.1ms) SAVEPOINT active_record_1
1815
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1816
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1817
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1818
-  (0.4ms) rollback transaction
1819
-  (0.1ms) begin transaction
1820
-  (0.0ms) commit transaction
1821
-  (0.0ms) begin transaction
1822
-  (0.1ms) SAVEPOINT active_record_1
1823
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1824
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1825
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1826
-  (0.6ms) rollback transaction
1827
-  (3.8ms) PRAGMA foreign_keys
1828
-  (0.2ms) PRAGMA foreign_keys = OFF
1829
-  (2.1ms) DELETE FROM "asyncapi_server_jobs";
1830
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1831
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1832
-  (1.5ms) DELETE FROM "ar_internal_metadata";
1833
-  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1834
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1835
-  (0.1ms) PRAGMA foreign_keys = 1
1836
-  (0.1ms) begin transaction
1837
-  (0.0ms) commit transaction
1838
-  (0.0ms) begin transaction
1839
-  (0.1ms) rollback transaction
1840
-  (0.1ms) begin transaction
1841
-  (0.1ms) commit transaction
1842
-  (0.0ms) begin transaction
1843
-  (0.1ms) SAVEPOINT active_record_1
1844
- SQL (0.7ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1845
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1846
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1847
-  (0.5ms) rollback transaction
1848
-  (0.2ms) begin transaction
1849
-  (0.1ms) commit transaction
1850
-  (0.1ms) begin transaction
1851
-  (0.1ms) SAVEPOINT active_record_1
1852
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1853
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1854
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1855
-  (0.9ms) rollback transaction
1856
-  (0.1ms) begin transaction
1857
-  (0.0ms) commit transaction
1858
-  (0.0ms) begin transaction
1859
-  (0.1ms) SAVEPOINT active_record_1
1860
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1861
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1862
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1863
-  (1.9ms) rollback transaction
1864
-  (1.7ms) PRAGMA foreign_keys
1865
-  (0.1ms) PRAGMA foreign_keys = OFF
1866
-  (1.4ms) DELETE FROM "asyncapi_server_jobs";
1867
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1868
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1869
-  (1.3ms) DELETE FROM "ar_internal_metadata";
1870
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1871
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1872
-  (0.1ms) PRAGMA foreign_keys = 1
1873
-  (0.0ms) begin transaction
1874
-  (0.0ms) commit transaction
1875
-  (0.0ms) begin transaction
1876
-  (0.1ms) rollback transaction
1877
-  (0.1ms) begin transaction
1878
-  (0.0ms) commit transaction
1879
-  (0.0ms) begin transaction
1880
-  (0.1ms) SAVEPOINT active_record_1
1881
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1882
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1883
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1884
-  (0.7ms) rollback transaction
1885
-  (0.1ms) begin transaction
1886
-  (0.0ms) commit transaction
1887
-  (0.0ms) begin transaction
1888
-  (0.1ms) SAVEPOINT active_record_1
1889
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1890
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1891
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1892
-  (1.4ms) rollback transaction
1893
-  (0.1ms) begin transaction
1894
-  (0.0ms) commit transaction
1895
-  (0.0ms) begin transaction
1896
-  (0.1ms) SAVEPOINT active_record_1
1897
- SQL (0.6ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1898
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1899
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1900
-  (0.5ms) rollback transaction
1901
-  (1.6ms) PRAGMA foreign_keys
1902
-  (0.1ms) PRAGMA foreign_keys = OFF
1903
-  (1.3ms) DELETE FROM "asyncapi_server_jobs";
1904
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1905
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1906
-  (1.4ms) DELETE FROM "ar_internal_metadata";
1907
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1908
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1909
-  (0.0ms) PRAGMA foreign_keys = 1
1910
-  (0.0ms) begin transaction
1911
-  (0.0ms) commit transaction
1912
-  (0.0ms) begin transaction
1913
-  (0.1ms) rollback transaction
1914
-  (0.1ms) begin transaction
1915
-  (0.1ms) commit transaction
1916
-  (0.3ms) begin transaction
1917
-  (0.1ms) SAVEPOINT active_record_1
1918
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1919
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1920
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1921
-  (0.5ms) rollback transaction
1922
-  (0.1ms) begin transaction
1923
-  (0.0ms) commit transaction
1924
-  (0.0ms) begin transaction
1925
-  (0.1ms) SAVEPOINT active_record_1
1926
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1927
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1928
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1929
-  (0.5ms) rollback transaction
1930
-  (0.1ms) begin transaction
1931
-  (0.0ms) commit transaction
1932
-  (0.0ms) begin transaction
1933
-  (0.1ms) SAVEPOINT active_record_1
1934
- SQL (1.7ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1935
-  (0.2ms) RELEASE SAVEPOINT active_record_1
1936
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1937
-  (0.9ms) rollback transaction
1938
-  (1.5ms) PRAGMA foreign_keys
1939
-  (0.1ms) PRAGMA foreign_keys = OFF
1940
-  (1.2ms) DELETE FROM "asyncapi_server_jobs";
1941
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1942
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1943
-  (1.0ms) DELETE FROM "ar_internal_metadata";
1944
-  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1945
-  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
744
+  (0.0ms) PRAGMA defer_foreign_keys = 0
1946
745
   (0.0ms) PRAGMA foreign_keys = 1
1947
-  (0.0ms) begin transaction
1948
-  (0.0ms) commit transaction
1949
-  (0.0ms) begin transaction
1950
-  (0.1ms) rollback transaction
1951
-  (0.1ms) begin transaction
1952
-  (0.0ms) commit transaction
1953
-  (0.0ms) begin transaction
1954
-  (0.1ms) SAVEPOINT active_record_1
1955
- SQL (0.6ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1956
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1957
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1958
-  (0.5ms) rollback transaction
1959
-  (0.1ms) begin transaction
1960
-  (0.1ms) commit transaction
1961
-  (0.1ms) begin transaction
1962
-  (0.2ms) SAVEPOINT active_record_1
1963
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1964
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1965
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1966
-  (0.5ms) rollback transaction
1967
-  (0.1ms) begin transaction
1968
-  (0.0ms) commit transaction
1969
-  (0.0ms) begin transaction
1970
-  (0.1ms) SAVEPOINT active_record_1
1971
- SQL (0.5ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1972
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1973
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1974
-  (0.4ms) rollback transaction
1975
-  (1.8ms) PRAGMA foreign_keys
1976
-  (0.1ms) PRAGMA foreign_keys = OFF
1977
-  (1.3ms) DELETE FROM "asyncapi_server_jobs";
1978
-  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1979
-  (0.2ms) DELETE FROM sqlite_sequence where name = 'asyncapi_server_jobs';
1980
-  (6.5ms) DELETE FROM "ar_internal_metadata";
1981
-  (0.7ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
1982
-  (0.5ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
1983
-  (0.5ms) PRAGMA foreign_keys = 1
1984
-  (0.2ms) begin transaction
1985
-  (0.0ms) commit transaction
1986
-  (0.0ms) begin transaction
1987
-  (0.1ms) rollback transaction
1988
-  (0.1ms) begin transaction
1989
-  (0.1ms) commit transaction
1990
-  (0.0ms) begin transaction
1991
-  (0.1ms) SAVEPOINT active_record_1
1992
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
1993
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1994
- Asyncapi::Server::Job Load (0.2ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1995
-  (0.4ms) rollback transaction
1996
-  (0.1ms) begin transaction
1997
-  (0.0ms) commit transaction
1998
-  (0.0ms) begin transaction
1999
-  (0.1ms) SAVEPOINT active_record_1
2000
- SQL (0.4ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
2001
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2002
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2003
-  (0.5ms) rollback transaction
2004
-  (0.1ms) begin transaction
2005
-  (0.1ms) commit transaction
2006
-  (0.1ms) begin transaction
2007
-  (0.2ms) SAVEPOINT active_record_1
2008
- SQL (0.9ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
2009
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2010
- Asyncapi::Server::Job Load (0.1ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2011
-  (0.7ms) rollback transaction
746
+ TRANSACTION (0.0ms) begin transaction
747
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
748
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
749
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
750
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
751
+ TRANSACTION (0.1ms) rollback transaction
752
+ TRANSACTION (0.0ms) begin transaction
753
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
754
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
755
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
756
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
757
+ TRANSACTION (0.2ms) rollback transaction
758
+ TRANSACTION (0.0ms) begin transaction
759
+ TRANSACTION (0.0ms) SAVEPOINT active_record_1
760
+ Asyncapi::Server::Job Create (0.1ms) INSERT INTO "asyncapi_server_jobs" ("status", "callback_url", "class_name", "secret") VALUES (?, ?, ?, ?) [["status", 1], ["callback_url", "client_job_url"], ["class_name", "Runner"], ["secret", "secret"]]
761
+ TRANSACTION (0.0ms) RELEASE SAVEPOINT active_record_1
762
+ Asyncapi::Server::Job Load (0.0ms) SELECT "asyncapi_server_jobs".* FROM "asyncapi_server_jobs" WHERE "asyncapi_server_jobs"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
763
+ TRANSACTION (0.1ms) rollback transaction