easy_admin 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +6 -0
- data/app/models/outbound_request.rb +6 -0
- data/lib/easy_admin/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +12 -0
- data/test/dummy/log/test.log +446 -0
- data/test/outbound_request_test.rb +14 -0
- metadata +1 -1
data/CHANGELOG.md
CHANGED
@@ -5,3 +5,9 @@
|
|
5
5
|
New Features:
|
6
6
|
|
7
7
|
* Added OutboundRequest#rpm method that returns the number of requests per minute for the supplied criteria
|
8
|
+
|
9
|
+
## 0.3.0 (2013-08-12)
|
10
|
+
|
11
|
+
New Features
|
12
|
+
|
13
|
+
* Added OutboundRequest#response_summary method that reports of response codes within a time period
|
@@ -60,4 +60,10 @@ class OutboundRequest < ActiveRecord::Base
|
|
60
60
|
|
61
61
|
query.count / mins_per_period
|
62
62
|
end
|
63
|
+
|
64
|
+
def self.response_summary(params={})
|
65
|
+
period = params[:period] || 60
|
66
|
+
|
67
|
+
where('created_at > ?', Time.current - period.seconds).group('response_code').count
|
68
|
+
end
|
63
69
|
end
|
data/lib/easy_admin/version.rb
CHANGED
Binary file
|
@@ -26,3 +26,15 @@ Connecting to database specified by database.yml
|
|
26
26
|
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
27
27
|
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121220022003')[0m
|
28
28
|
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121114025434')
|
29
|
+
Connecting to database specified by database.yml
|
30
|
+
Connecting to database specified by database.yml
|
31
|
+
[1m[36m (0.9ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
32
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
33
|
+
[1m[36m (1.3ms)[0m [1mCREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "queue" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
34
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
|
35
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "outbound_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "service" varchar(255), "action" varchar(255), "identifier" varchar(255), "params" text, "response_code" varchar(255), "response_body" text, "error" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
36
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
37
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
38
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
39
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121220022003')[0m
|
40
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121114025434')
|
data/test/dummy/log/test.log
CHANGED
@@ -2207,3 +2207,449 @@ Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
|
2207
2207
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2208
2208
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE (created_at > '2013-08-11 23:39:39.602151')
|
2209
2209
|
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2210
|
+
Connecting to database specified by database.yml
|
2211
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2212
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2213
|
+
[1m[36mSQL (21.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00]]
|
2214
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2215
|
+
Processing by Admin::JobsController#destroy as HTML
|
2216
|
+
Parameters: {"id"=>"1"}
|
2217
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2218
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2219
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ?[0m [["id", 1]]
|
2220
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2221
|
+
Redirected to http://test.host/admin/jobs
|
2222
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
2223
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2224
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2225
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2226
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2227
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00]]
|
2228
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2229
|
+
Processing by Admin::JobsController#index as HTML
|
2230
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "delayed_jobs" [0m
|
2231
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "delayed_jobs"
|
2232
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" ORDER BY run_at[0m
|
2233
|
+
Completed 200 OK in 19ms (Views: 18.3ms | ActiveRecord: 0.2ms)
|
2234
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2235
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2236
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2237
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00]]
|
2238
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2239
|
+
Processing by Admin::JobsController#show as HTML
|
2240
|
+
Parameters: {"id"=>"1"}
|
2241
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1[0m [["id", "1"]]
|
2242
|
+
Completed 200 OK in 4ms (Views: 2.6ms | ActiveRecord: 0.1ms)
|
2243
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2244
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2245
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2246
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00]]
|
2247
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2248
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "delayed_jobs" SET "attempts" = 5 WHERE "delayed_jobs"."id" = 1[0m
|
2249
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.0ms)[0m SELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1 [["id", 1]]
|
2250
|
+
Processing by Admin::JobsController#retry as HTML
|
2251
|
+
Parameters: {"id"=>"1"}
|
2252
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2253
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "delayed_jobs" SET "attempts" = 0 WHERE "delayed_jobs"."id" = 1
|
2254
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2256
|
+
Redirected to http://test.host/admin/jobs
|
2257
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
2258
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.0ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1[0m [["id", 1]]
|
2259
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2260
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2261
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2262
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2263
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "outbound_requests"
|
2264
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2265
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00]]
|
2266
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2267
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2268
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00]]
|
2269
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2270
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2271
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00]]
|
2272
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2273
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2274
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00]]
|
2275
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2276
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2277
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:26 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:26 UTC +00:00]]
|
2278
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2279
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE (created_at > '2013-08-12 03:31:27.000098') GROUP BY response_code
|
2280
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2281
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2282
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2283
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2284
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2285
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2286
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2287
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2288
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2289
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2290
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2291
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2292
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2293
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2295
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2296
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2297
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2298
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE (created_at > '2013-08-12 03:31:27.008191') GROUP BY response_code[0m
|
2299
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2300
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2301
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2302
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2303
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2306
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2307
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2308
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2309
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2310
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2312
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2314
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2315
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2316
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2317
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."response_code" = '200' AND (created_at > '2013-08-12 03:31:27.014312')
|
2318
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2319
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2320
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2321
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2322
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2323
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2324
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2325
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2327
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2328
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2329
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2330
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2331
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2332
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2333
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2334
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2335
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2336
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."action" = 'ACT-A' AND (created_at > '2013-08-12 03:31:27.020521')[0m
|
2337
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2339
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2340
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2341
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2342
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2343
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2344
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2345
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2346
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2347
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2348
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2349
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2350
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2351
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2352
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2353
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2354
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2355
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."action" = 'ACT-E' AND (created_at > '2013-08-12 03:31:27.047817')
|
2356
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2357
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2358
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2359
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2360
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2361
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2362
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2363
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2364
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2365
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2366
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2367
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2368
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2369
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2370
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2371
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2372
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2373
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2374
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV1' AND (created_at > '2013-08-12 03:31:27.054283')[0m
|
2375
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2376
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2377
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2378
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2379
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2380
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2381
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2382
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2383
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2384
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2385
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2386
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2387
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2388
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2389
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2390
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2391
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2392
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2393
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV2' AND (created_at > '2013-08-12 03:22:27.060386')
|
2394
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2395
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2396
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2397
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2398
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2399
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2400
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2401
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2402
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2403
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2404
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2405
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2406
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2407
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2408
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2409
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2410
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2411
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2412
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV2' AND (created_at > '2013-08-12 03:30:27.066437')[0m
|
2413
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2414
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2415
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2416
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2417
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2418
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2419
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2420
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2421
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2422
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2423
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2424
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2425
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2426
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2427
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2428
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2429
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:27 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:27 UTC +00:00]]
|
2430
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2431
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE (created_at > '2013-08-12 03:31:27.072466')
|
2432
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2433
|
+
Connecting to database specified by database.yml
|
2434
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2435
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2436
|
+
[1m[36mSQL (21.5ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2437
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2438
|
+
Processing by Admin::JobsController#destroy as HTML
|
2439
|
+
Parameters: {"id"=>"1"}
|
2440
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2441
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2442
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ?[0m [["id", 1]]
|
2443
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2444
|
+
Redirected to http://test.host/admin/jobs
|
2445
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
2446
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2447
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2448
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2449
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2450
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2451
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2452
|
+
Processing by Admin::JobsController#index as HTML
|
2453
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "delayed_jobs" [0m
|
2454
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "delayed_jobs"
|
2455
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" ORDER BY run_at[0m
|
2456
|
+
Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.2ms)
|
2457
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2458
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2459
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2460
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2462
|
+
Processing by Admin::JobsController#show as HTML
|
2463
|
+
Parameters: {"id"=>"1"}
|
2464
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1[0m [["id", "1"]]
|
2465
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)
|
2466
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2468
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2469
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "delayed_jobs" ("attempts", "created_at", "failed_at", "handler", "last_error", "locked_at", "locked_by", "priority", "queue", "run_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["attempts", 0], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["failed_at", nil], ["handler", nil], ["last_error", nil], ["locked_at", nil], ["locked_by", nil], ["priority", 0], ["queue", nil], ["run_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2470
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2471
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "delayed_jobs" SET "attempts" = 5 WHERE "delayed_jobs"."id" = 1[0m
|
2472
|
+
[1m[35mDelayed::Backend::ActiveRecord::Job Load (0.0ms)[0m SELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1 [["id", 1]]
|
2473
|
+
Processing by Admin::JobsController#retry as HTML
|
2474
|
+
Parameters: {"id"=>"1"}
|
2475
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.1ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = 1 LIMIT 1[0m
|
2476
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "delayed_jobs" SET "attempts" = 0 WHERE "delayed_jobs"."id" = 1
|
2477
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2478
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2479
|
+
Redirected to http://test.host/admin/jobs
|
2480
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
2481
|
+
[1m[36mDelayed::Backend::ActiveRecord::Job Load (0.0ms)[0m [1mSELECT "delayed_jobs".* FROM "delayed_jobs" WHERE "delayed_jobs"."id" = ? LIMIT 1[0m [["id", 1]]
|
2482
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2483
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2484
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2485
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2486
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2487
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2488
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2489
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2490
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2491
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2492
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2493
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2494
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2495
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2496
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2497
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2498
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2499
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2500
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2501
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2502
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE (created_at > '2013-08-12 03:27:57.712540') GROUP BY response_code
|
2503
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2504
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2505
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2506
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2507
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2508
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2509
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2510
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2511
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2512
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2513
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2514
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2515
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2516
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2518
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2519
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2520
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2521
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) AS count_all, response_code AS response_code FROM "outbound_requests" WHERE (created_at > '2013-08-12 03:31:57.720444') GROUP BY response_code[0m
|
2522
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2523
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2524
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2525
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2526
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2527
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2528
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2529
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2530
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2531
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2532
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2533
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2534
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2535
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2536
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2537
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2538
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2539
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2540
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."response_code" = '200' AND (created_at > '2013-08-12 03:31:57.726590')
|
2541
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2542
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2543
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2544
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2545
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2546
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2547
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2548
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2549
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2550
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2551
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2552
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2554
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2555
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2556
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2557
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2558
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2559
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."action" = 'ACT-A' AND (created_at > '2013-08-12 03:31:57.732745')[0m
|
2560
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2561
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2562
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2563
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2564
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2565
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2566
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2567
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2568
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2569
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2570
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2571
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2572
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2573
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2574
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2575
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2576
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2577
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2578
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."action" = 'ACT-E' AND (created_at > '2013-08-12 03:31:57.759436')
|
2579
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2580
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2581
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2582
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2583
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2584
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2585
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2586
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2587
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2588
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2589
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2590
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2591
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2592
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2593
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2594
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2595
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2596
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2597
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV1' AND (created_at > '2013-08-12 03:31:57.765941')[0m
|
2598
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2599
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2600
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2601
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2602
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2603
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2604
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2605
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2606
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2607
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2608
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2609
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2610
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2611
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2612
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2613
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2614
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2615
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2616
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV2' AND (created_at > '2013-08-12 03:22:57.772154')
|
2617
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2618
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2619
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "outbound_requests"[0m
|
2620
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2621
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2622
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2623
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2624
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2625
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2626
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2627
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2628
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2629
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2630
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2631
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2632
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2633
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2634
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2635
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "outbound_requests" WHERE "outbound_requests"."service" = 'SRV2' AND (created_at > '2013-08-12 03:30:57.778262')[0m
|
2636
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2637
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2638
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "outbound_requests"
|
2639
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2640
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-A"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2641
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2642
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2643
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-B"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2644
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2645
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2646
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-C"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "200"], ["service", "SRV1"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2647
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2648
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2649
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "ACT-D"], ["created_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2650
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2652
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "outbound_requests" ("action", "created_at", "error", "identifier", "params", "response_body", "response_code", "service", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "ACT-E"], ["created_at", Mon, 12 Aug 2013 03:28:57 UTC +00:00], ["error", nil], ["identifier", nil], ["params", nil], ["response_body", nil], ["response_code", "404"], ["service", "SRV2"], ["updated_at", Mon, 12 Aug 2013 03:32:57 UTC +00:00]]
|
2653
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2654
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "outbound_requests" WHERE (created_at > '2013-08-12 03:31:57.784158')
|
2655
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
@@ -38,4 +38,18 @@ class OutboundRequestTest < ActiveSupport::TestCase
|
|
38
38
|
test '#rpm should select only SRV2 requests, over a 10 minute period' do
|
39
39
|
assert_equal 0.2, OutboundRequest.rpm(service: 'SRV2', period: 10.minutes)
|
40
40
|
end
|
41
|
+
|
42
|
+
test '#response_summary should give 4 results for the default 1 minute period' do
|
43
|
+
summary = OutboundRequest.response_summary
|
44
|
+
assert_not_nil summary
|
45
|
+
assert_equal 3, summary['200'], "expected 3 responses with code of 200"
|
46
|
+
assert_equal 1, summary['404'], "expected 1 response with a code of 404"
|
47
|
+
end
|
48
|
+
|
49
|
+
test '#response_summary should give 4 results for a 5 minute period' do
|
50
|
+
summary = OutboundRequest.response_summary(period: 5.minutes)
|
51
|
+
assert_not_nil summary
|
52
|
+
assert_equal 3, summary['200'], "expected 3 responses with code of 200"
|
53
|
+
assert_equal 2, summary['404'], "expected 2 responses with a code of 404"
|
54
|
+
end
|
41
55
|
end
|