From 18df147a71d5108611e5793c7a4366dbfc284e40 Mon Sep 17 00:00:00 2001 From: Vitaly Iskrin Date: Wed, 5 Jun 2024 22:58:51 -0500 Subject: [PATCH] chore: fix tests folder name issue --- README.md | 2 + Tests/TelescopePruneTest.php | 193 ------------ Tests/Traits/SqlMockTrait.php | 340 --------------------- Tests/fixtures/TelescopePruneTest/dump.sql | 82 ----- 4 files changed, 2 insertions(+), 615 deletions(-) delete mode 100644 Tests/TelescopePruneTest.php delete mode 100644 Tests/Traits/SqlMockTrait.php delete mode 100644 Tests/fixtures/TelescopePruneTest/dump.sql diff --git a/README.md b/README.md index c1cfd48..67080dc 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Laravel Telescope Extension +[![Coverage Status](https://coveralls.io/repos/github/RonasIT/laravel-telescope-extension/badge.svg?branch=main)](https://coveralls.io/github/RonasIT/laravel-telescope-extension?branch=main) + The library extends the [Laravel Telescope's](https://github.com/laravel/telescope) prune command. ## Installation diff --git a/Tests/TelescopePruneTest.php b/Tests/TelescopePruneTest.php deleted file mode 100644 index 8a835fa..0000000 --- a/Tests/TelescopePruneTest.php +++ /dev/null @@ -1,193 +0,0 @@ -testNow)); - } - - protected function getPackageProviders($app): array - { - return [ - TelescopeExtensionServiceProvider::class, - ]; - } - - protected function getEnvironmentSetUp($app): void - { - parent::getEnvironmentSetUp($app); - - $config = $app->get('config'); - - $config->set('logging.default', 'errorlog'); - - $config->set('database.default', 'testbench'); - - $config->set('telescope.storage.database.connection', 'testbench'); - - $config->set('queue.batching.database', 'testbench'); - - $config->set('database.connections.testbench', [ - 'driver' => 'sqlite', - 'database' => ':memory:', - 'prefix' => '', - ]); - - $app->when(TelescopeRepository::class) - ->needs('$connection') - ->give('testbench'); - } - - public function testCommandInTheList() - { - $commands = Artisan::all(); - - $this->assertArrayHasKey('telescope:prune', $commands); - } - - public function testPruneWithoutParameters() - { - $this->mockQueriesWithoutParameters(); - - $this->artisan('telescope:prune') - ->expectsOutput('Deleted all records.') - ->assertExitCode(0); - } - - public function testPruneWithOnlyHours() - { - $this->mockQueriesWithOnlyHours(); - - $this->artisan('telescope:prune --hours=2') - ->expectsOutput('Pruning records of other types older than 2 hours...') - ->expectsOutput('Deleted 1123 records.') - ->assertExitCode(0); - } - - public function testPruneWithSingleSetHours() - { - $this->mockQueriesWithSingleSetHours(); - - $this->artisan('telescope:prune --set-hours=request:5') - ->expectsOutput("Pruning records of type 'request' older than 5 hours...") - ->expectsOutput('Deleted 200 records.') - ->assertExitCode(0); - } - - public function testPruneWithSeveralSetHours() - { - $this->mockQueriesWithSeveralSetHours(); - - $this->artisan('telescope:prune --set-hours=request:5,redis:100,query:25') - ->expectsOutput("Pruning records of type 'request' older than 5 hours...") - ->expectsOutput('Deleted 200 records.') - ->expectsOutput("Pruning records of type 'redis' older than 100 hours...") - ->expectsOutput('Deleted 100 records.') - ->expectsOutput("Pruning records of type 'query' older than 25 hours...") - ->expectsOutput('Deleted 50 records.') - ->assertExitCode(0); - } - - public function testPruneWithSeveralSetHoursAndHours() - { - $this->mockQueriesWithSeveralSetHoursAndHours(); - - $this->artisan('telescope:prune --set-hours=request:5,redis:100,query:25 --hours=80') - ->expectsOutput("Pruning records of type 'request' older than 5 hours...") - ->expectsOutput('Deleted 200 records.') - ->expectsOutput("Pruning records of type 'redis' older than 100 hours...") - ->expectsOutput('Deleted 100 records.') - ->expectsOutput("Pruning records of type 'query' older than 25 hours...") - ->expectsOutput('Deleted 50 records.') - ->expectsOutput('Pruning records of other types older than 80 hours...') - ->expectsOutput('Deleted 123 records.') - ->assertExitCode(0); - } - - - public function testPruneWithUnresolvedException() - { - $this->mockQueriesWithUnresolvedException(); - - $this->artisan('telescope:prune --set-hours=request:5,unresolved_exception:20,query:25 --hours=80') - ->expectsOutput("Pruning records of type 'request' older than 5 hours...") - ->expectsOutput('Deleted 200 records.') - ->expectsOutput("Pruning records of type 'unresolved_exception' older than 20 hours...") - ->expectsOutput('Deleted 32 records.') - ->expectsOutput("Pruning records of type 'query' older than 25 hours...") - ->expectsOutput('Deleted 50 records.') - ->expectsOutput('Pruning records of other types older than 80 hours...') - ->expectsOutput('Deleted 200 records.') - ->assertExitCode(0); - } - - public function testPruneWithResolvedExceptionWithoutHours() - { - $this->mockQueriesWithResolvedExceptionWithoutHours(); - - $this->artisan('telescope:prune --set-hours=request:5,resolved_exception:10,query:25') - ->expectsOutput("Pruning records of type 'request' older than 5 hours...") - ->expectsOutput('Deleted 200 records.') - ->expectsOutput("Pruning records of type 'resolved_exception' older than 10 hours...") - ->expectsOutput('Deleted 15 records.') - ->expectsOutput("Pruning records of type 'query' older than 25 hours...") - ->expectsOutput('Deleted 50 records.') - ->assertExitCode(0); - } - - public function testPruneValidateSetHoursType() - { - $this->expectException('Exception'); - $this->expectExceptionMessage("Incorrect type value 'incorrect'."); - - $this->artisan('telescope:prune --set-hours=query:12,incorrect:22'); - } - - public function testPruneValidateSetHoursValueNotSet() - { - $this->expectException('Exception'); - $this->expectExceptionMessage("Incorrect value 'request' of the 'set-hours' option."); - - $this->artisan('telescope:prune --set-hours=query:12,request'); - } - - public function testPruneValidateSetHoursValueEmpty() - { - $this->expectException('Exception'); - $this->expectExceptionMessage("Hours value for 'request' type must be set."); - - $this->artisan('telescope:prune --set-hours=query:12,request:'); - } - - public function testPruneValidateSetHoursValueIsNotNumber() - { - $this->expectException('Exception'); - $this->expectExceptionMessage("Hours value for 'request' type must be a number."); - - $this->artisan('telescope:prune --set-hours=query:12,request:ss'); - } - - public function testPruneValidateHoursValueIsNotNumber() - { - $this->expectException('Exception'); - $this->expectExceptionMessage('Hours hours must be a number.'); - - $this->artisan('telescope:prune --set-hours=query:12,request:34 --hours=ss'); - } -} diff --git a/Tests/Traits/SqlMockTrait.php b/Tests/Traits/SqlMockTrait.php deleted file mode 100644 index 4112e00..0000000 --- a/Tests/Traits/SqlMockTrait.php +++ /dev/null @@ -1,340 +0,0 @@ -mockDelete('delete from "telescope_entries"'); - - $this->mockDelete('delete from "telescope_monitoring"'); - } - - protected function mockQueriesWithOnlyHours(): void - { - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? limit 1000)', - [Carbon::now()->subHours(2)->toDateTimeString()], - 1000 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? limit 1000)', - [Carbon::now()->subHours(2)->toDateTimeString()], - 123 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? limit 1000)', - [Carbon::now()->subHours(2)->toDateTimeString()] - ); - } - - protected function mockQueriesWithSingleSetHours(): void - { - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST], - 200 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST] - ); - } - - protected function mockQueriesWithSeveralSetHours(): void - { - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST], - 200 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(100)->toDateTimeString(), EntryType::REDIS], - 100 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(100)->toDateTimeString(), EntryType::REDIS] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(25)->toDateTimeString(), EntryType::QUERY], - 50 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(25)->toDateTimeString(), EntryType::QUERY] - ); - } - - protected function mockQueriesWithSeveralSetHoursAndHours(): void - { - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST], - 200 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(100)->toDateTimeString(), EntryType::REDIS], - 100 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(100)->toDateTimeString(), EntryType::REDIS] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(25)->toDateTimeString(), EntryType::QUERY], - 50 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(25)->toDateTimeString(), EntryType::QUERY] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ? or "type" = ? or ' - . '"type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or ' - . '"type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ?) limit 1000)', - [ - Carbon::now()->subHours(80)->toDateTimeString(), - EntryType::BATCH, - EntryType::CACHE, - EntryType::DUMP, - EntryType::EVENT, - EntryType::EXCEPTION, - EntryType::JOB, - EntryType::LOG, - EntryType::MAIL, - EntryType::MODEL, - EntryType::NOTIFICATION, - EntryType::SCHEDULED_TASK, - EntryType::GATE, - EntryType::VIEW - ], - 123 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ? or "type" = ? or ' - . '"type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or ' - . '"type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ?) limit 1000)', - [ - Carbon::now()->subHours(80)->toDateTimeString(), - EntryType::BATCH, - EntryType::CACHE, - EntryType::DUMP, - EntryType::EVENT, - EntryType::EXCEPTION, - EntryType::JOB, - EntryType::LOG, - EntryType::MAIL, - EntryType::MODEL, - EntryType::NOTIFICATION, - EntryType::SCHEDULED_TASK, - EntryType::GATE, - EntryType::VIEW - ] - ); - } - - protected function mockQueriesWithUnresolvedException(): void - { - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST], - 200 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and (("type" = ? ' - . 'and content::jsonb->>\'resolved_at\' is null)) limit 1000)', - [Carbon::now()->subHours(20)->toDateTimeString(), EntryType::EXCEPTION], - 32 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and (("type" = ? ' - . 'and content::jsonb->>\'resolved_at\' is null)) limit 1000)', - [Carbon::now()->subHours(20)->toDateTimeString(), EntryType::EXCEPTION] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(25)->toDateTimeString(), EntryType::QUERY], - 50 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(25)->toDateTimeString(), EntryType::QUERY] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ? or "type" = ? or ' - . '"type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or ' - . '"type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or ("type" = ? and content::jsonb->>\'resolved_at\' is not null)) limit 1000)', - [ - Carbon::now()->subHours(80)->toDateTimeString(), - EntryType::BATCH, - EntryType::CACHE, - EntryType::DUMP, - EntryType::EVENT, - EntryType::JOB, - EntryType::LOG, - EntryType::MAIL, - EntryType::MODEL, - EntryType::NOTIFICATION, - EntryType::REDIS, - EntryType::SCHEDULED_TASK, - EntryType::GATE, - EntryType::VIEW, - EntryType::EXCEPTION - ], - 200 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ? or "type" = ? or ' - . '"type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or ' - . '"type" = ? or "type" = ? or "type" = ? or "type" = ? or "type" = ? or ("type" = ? and content::jsonb->>\'resolved_at\' is not null)) limit 1000)', - [ - Carbon::now()->subHours(80)->toDateTimeString(), - EntryType::BATCH, - EntryType::CACHE, - EntryType::DUMP, - EntryType::EVENT, - EntryType::JOB, - EntryType::LOG, - EntryType::MAIL, - EntryType::MODEL, - EntryType::NOTIFICATION, - EntryType::REDIS, - EntryType::SCHEDULED_TASK, - EntryType::GATE, - EntryType::VIEW, - EntryType::EXCEPTION - ] - ); - } - - protected function mockQueriesWithResolvedExceptionWithoutHours(): void - { - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST], - 200 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(5)->toDateTimeString(), EntryType::REQUEST] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and (("type" = ? ' - . 'and content::jsonb->>\'resolved_at\' is not null)) limit 1000)', - [Carbon::now()->subHours(10)->toDateTimeString(), EntryType::EXCEPTION], - 15 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and (("type" = ? ' - . 'and content::jsonb->>\'resolved_at\' is not null)) limit 1000)', - [Carbon::now()->subHours(10)->toDateTimeString(), EntryType::EXCEPTION] - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(25)->toDateTimeString(), EntryType::QUERY], - 50 - ); - - $this->mockDelete( - 'delete from "telescope_entries" where "rowid" in (select "telescope_entries"."rowid" ' - . 'from "telescope_entries" where "created_at" < ? and ("type" = ?) limit 1000)', - [Carbon::now()->subHours(25)->toDateTimeString(), EntryType::QUERY] - ); - } - - protected function mockDelete(string $sql, array $bindings = [], ?int $rowCount = 0): void - { - $this->getPdo()->shouldDeleteForRows($sql, $bindings, $rowCount); - } - - protected function getPdo(): SingleConnectionProxy - { - $this->pdo ??= DBMock::mockPdo(); - - return $this->pdo; - } -} \ No newline at end of file diff --git a/Tests/fixtures/TelescopePruneTest/dump.sql b/Tests/fixtures/TelescopePruneTest/dump.sql deleted file mode 100644 index 4b48fa5..0000000 --- a/Tests/fixtures/TelescopePruneTest/dump.sql +++ /dev/null @@ -1,82 +0,0 @@ -INSERT INTO telescope_entries(sequence, uuid, batch_id, type, content, created_at) VALUES - (1, '9a7582d4-4c5c-4740-8c5d-48f477ada61a', '9a7582d6-ab77-4382-a2d5-1ecac6e7dbc7', 'query', '{}', '2018-11-11 11:00:00'), - (2, '9a7582d4-5bc3-4443-83fc-57142ef96dd2', '9a757eaf-a487-4b50-b890-6eb0c955ca0b', 'query', '{}', '2018-11-11 12:00:00'), - (3, '9a7582d4-6744-459d-b204-2eb4e7e3b4a6', '9a758d6c-9183-4212-8edb-61535bac7f61', 'query', '{}', '2018-11-11 13:00:00'), - (4, '9a7582d4-6cef-4e86-a6d8-0c778323b81e', '9a79727e-25e6-40a5-819f-0490be6981bf', 'query', '{}', '2018-11-11 14:00:00'), - (5, '9a7582d4-73a8-481b-9011-fc4a695f42ff', '9a8098ae-421c-44d9-860c-6715addea14b', 'query', '{}', '2018-11-11 15:00:00'), - (6, '9a7582d6-8c54-4b41-b5dd-4a6260b7dca8', '9a75833f-384c-4259-8251-d9862b2c8ab2', 'query', '{}', '2018-11-11 16:00:00'), - (7, '9a757507-c56d-4b6c-a858-b96be01c96e8', '9a79727e-2781-4d82-be64-709a51f98cbd', 'query', '{}', '2018-11-11 17:00:00'), - (8, '9a7582d6-a385-4f50-8d1c-c6e249036e7a', '9a8098dd-ffb6-4db8-b94c-34cf9d12582b', 'query', '{}', '2018-11-11 18:00:00'), - (9, '9a7583fa-2705-46d0-85d8-68184919a789', '9a7599ec-1e5b-4a10-929a-6a6f4461af02', 'query', '{}', '2018-11-11 19:00:00'), - (10, '9a7583fa-3536-4f45-80a1-aea063fe78e8', '9a7582d6-ab77-4382-a2d5-1ecac6e7dbc7', 'cache', '{}', '2018-11-11 11:00:00'), - (11, '9a7583fa-402d-4120-b76e-387d0e6c093b', '9a757eaf-a487-4b50-b890-6eb0c955ca0b', 'cache', '{}', '2018-11-11 12:00:00'), - (12, '9a7583fa-4684-4ccb-acdd-03af6467e610', '9a758d6c-9183-4212-8edb-61535bac7f61', 'cache', '{}', '2018-11-11 13:00:00'), - (13, '9a7583fa-4cfb-483a-8464-2720c2bf2840', '9a79727e-25e6-40a5-819f-0490be6981bf', 'cache', '{}', '2018-11-11 14:00:00'), - (14, '9a7583fa-7f53-48d6-9efb-be6a32ad22e6', '9a8098ae-421c-44d9-860c-6715addea14b', 'cache', '{}', '2018-11-11 15:00:00'), - (15, '9a7583fb-3d9c-44bf-b8ac-d2fe5aa68050', '9a75833f-384c-4259-8251-d9862b2c8ab2', 'cache', '{}', '2018-11-11 16:00:00'), - (16, '9a7583fb-f767-4cb5-b055-360906fcfe4b', '9a79727e-2781-4d82-be64-709a51f98cbd', 'cache', '{}', '2018-11-11 17:00:00'), - (17, '9a7583fc-ad7c-4a38-bd77-7d6a6da5c049', '9a8098dd-ffb6-4db8-b94c-34cf9d12582b', 'cache', '{}', '2018-11-11 18:00:00'), - (18, '9a7583fd-62e2-4cc5-a0af-f6b086bd2dd3', '9a7599ec-1e5b-4a10-929a-6a6f4461af02', 'cache', '{}', '2018-11-11 19:00:00'), - (19, '9a79727e-1fff-43ae-94ce-3909b191b27f', '9a7582d6-ab77-4382-a2d5-1ecac6e7dbc7', 'request', '{}', '2018-11-11 11:00:00'), - (20, '9a8098ae-3e29-411f-8a29-b2989311d620', '9a757eaf-a487-4b50-b890-6eb0c955ca0b', 'request', '{}', '2018-11-11 12:00:00'), - (21, '9a75833d-90b5-405d-9240-ebbb1284ade4', '9a758d6c-9183-4212-8edb-61535bac7f61', 'request', '{}', '2018-11-11 13:00:00'), - (22, '9a75833d-a086-4d25-8ec8-04e119a8fda8', '9a79727e-25e6-40a5-819f-0490be6981bf', 'request', '{}', '2018-11-11 14:00:00'), - (23, '9a75833d-ac2d-406c-b785-68f899731c28', '9a8098ae-421c-44d9-860c-6715addea14b', 'request', '{}', '2018-11-11 15:00:00'), - (24, '9a75833d-b1fc-4cfc-ab4e-89ec10da72d8', '9a75833f-384c-4259-8251-d9862b2c8ab2', 'request', '{}', '2018-11-11 16:00:00'), - (25, '9a75833d-b8ab-457b-a4af-63aab76febc1', '9a79727e-2781-4d82-be64-709a51f98cbd', 'request', '{}', '2018-11-11 17:00:00'), - (26, '9a75833d-daa7-494c-b147-5079c17faf7b', '9a8098dd-ffb6-4db8-b94c-34cf9d12582b', 'request', '{}', '2018-11-11 18:00:00'), - (27, '9a75833d-dcee-4eae-8234-3678d450ac7a', '9a7599ec-1e5b-4a10-929a-6a6f4461af02', 'request', '{}', '2018-11-11 19:00:00'), - (28, '9a75833f-18af-47fa-968a-4c6aebc387a4', '9a7582d6-ab77-4382-a2d5-1ecac6e7dbc7', 'model', '{}', '2018-11-11 11:00:00'), - (29, '9a75833f-3092-416e-a98f-0495c430943a', '9a757eaf-a487-4b50-b890-6eb0c955ca0b', 'model', '{}', '2018-11-11 12:00:00'), - (30, '9a7583fe-1c70-4bca-bbee-26fb51e7f7aa', '9a758d6c-9183-4212-8edb-61535bac7f61', 'model', '{}', '2018-11-11 13:00:00'), - (31, '9a7583fe-d467-4a28-b062-c6f173a5af9a', '9a79727e-25e6-40a5-819f-0490be6981bf', 'model', '{}', '2018-11-11 14:00:00'), - (32, '9a7583ff-8e95-4770-9d44-1101446b0e42', '9a8098ae-421c-44d9-860c-6715addea14b', 'model', '{}', '2018-11-11 15:00:00'), - (33, '9a758400-4739-4f3c-93ff-fbcd3f371495', '9a75833f-384c-4259-8251-d9862b2c8ab2', 'model', '{}', '2018-11-11 16:00:00'), - (34, '9a758400-ff9e-4939-898d-a9dcff0a0f8e', '9a79727e-2781-4d82-be64-709a51f98cbd', 'model', '{}', '2018-11-11 17:00:00'), - (35, '9a758401-b849-45d7-a082-b9dc19695c82', '9a8098dd-ffb6-4db8-b94c-34cf9d12582b', 'model', '{}', '2018-11-11 18:00:00'), - (36, '9a758402-6e59-4997-b6e4-72ea89abec1f', '9a7599ec-1e5b-4a10-929a-6a6f4461af02', 'model', '{}', '2018-11-11 19:00:00'), - (37, '9a758403-23d7-45a0-9d3b-b61c64bc9b89', '9a7582d6-ab77-4382-a2d5-1ecac6e7dbc7', 'notification', '{}', '2018-11-11 11:00:00'), - (38, '9a758403-dc25-4465-b70d-8620c8884a59', '9a757eaf-a487-4b50-b890-6eb0c955ca0b', 'notification', '{}', '2018-11-11 12:00:00'), - (39, '9a79727e-2178-40ba-bf99-0913485154d2', '9a758d6c-9183-4212-8edb-61535bac7f61', 'notification', '{}', '2018-11-11 13:00:00'), - (40, '9a8098dd-f9e3-45f6-b04e-a55174af001e', '9a79727e-25e6-40a5-819f-0490be6981bf', 'notification', '{}', '2018-11-11 14:00:00'), - (41, '9a758404-98cc-47a6-a9b0-f5abdf674c57', '9a8098ae-421c-44d9-860c-6715addea14b', 'notification', '{}', '2018-11-11 15:00:00'), - (42, '9a758405-4ffe-4130-a1bd-f11c6d4a29be', '9a75833f-384c-4259-8251-d9862b2c8ab2', 'notification', '{}', '2018-11-11 16:00:00'), - (43, '9a758406-09c2-4316-96ba-815d9d561e29', '9a79727e-2781-4d82-be64-709a51f98cbd', 'notification', '{}', '2018-11-11 17:00:00'), - (44, '9a758406-bf8b-4ea5-b4b9-3355a001de91', '9a8098dd-ffb6-4db8-b94c-34cf9d12582b', 'notification', '{}', '2018-11-11 18:00:00'), - (45, '9a758407-7667-41e8-a226-d0e0836c068a', '9a7599ec-1e5b-4a10-929a-6a6f4461af02', 'notification', '{}', '2018-11-11 19:00:00'), - (46, '9a758408-34d2-4103-a7d2-ff0844e04da3', '9a7582d6-ab77-4382-a2d5-1ecac6e7dbc7', 'event', '{}', '2018-11-11 11:00:00'), - (47, '9a758408-f61d-485d-8e9f-616ca514f42e', '9a757eaf-a487-4b50-b890-6eb0c955ca0b', 'event', '{}', '2018-11-11 12:00:00'), - (48, '9a757507-d382-4096-946e-b8a98faf5224', '9a758d6c-9183-4212-8edb-61535bac7f61', 'event', '{}', '2018-11-11 13:00:00'), - (49, '9a758409-ac87-4d57-8efb-05aeadf099b4', '9a79727e-25e6-40a5-819f-0490be6981bf', 'event', '{}', '2018-11-11 14:00:00'), - (50, '9a757507-dec6-4bae-bddc-c962d26a563d', '9a8098ae-421c-44d9-860c-6715addea14b', 'event', '{}', '2018-11-11 15:00:00'), - (51, '9a757507-e47b-4f4c-b3f0-30183bd2b284', '9a75833f-384c-4259-8251-d9862b2c8ab2', 'event', '{}', '2018-11-11 16:00:00'), - (52, '9a75840a-62a2-4cb8-9b91-5f218ddf556b', '9a79727e-2781-4d82-be64-709a51f98cbd', 'event', '{}', '2018-11-11 17:00:00'), - (53, '9a757507-eab4-452c-b88e-541785feaa45', '9a8098dd-ffb6-4db8-b94c-34cf9d12582b', 'event', '{}', '2018-11-11 18:00:00'), - (54, '9a757508-13c2-44cd-b12b-2011a303f060', '9a7599ec-1e5b-4a10-929a-6a6f4461af02', 'event', '{}', '2018-11-11 19:00:00'), - (55, '9a757509-4d77-46f5-896e-c6122b81ab04', '9a7582d6-ab77-4382-a2d5-1ecac6e7dbc7', 'job', '{}', '2018-11-11 11:00:00'), - (56, '9a75750a-09f0-4248-a6e6-e069177eace3', '9a757eaf-a487-4b50-b890-6eb0c955ca0b', 'job', '{}', '2018-11-11 12:00:00'), - (57, '9a75750a-c7af-4aa9-adf1-50f03d9896e9', '9a758d6c-9183-4212-8edb-61535bac7f61', 'job', '{}', '2018-11-11 13:00:00'), - (58, '9a811a96-b9a2-48ef-87ea-f47c7ede4f03', '9a79727e-25e6-40a5-819f-0490be6981bf', 'job', '{}', '2018-11-11 14:00:00'), - (59, '9a75840b-1bb0-4d90-b950-c3608cf0fc49', '9a8098ae-421c-44d9-860c-6715addea14b', 'job', '{}', '2018-11-11 15:00:00'), - (60, '9a75840b-d435-4779-8da3-9d0e4de29bd4', '9a75833f-384c-4259-8251-d9862b2c8ab2', 'job', '{}', '2018-11-11 16:00:00'), - (61, '9a75840c-8bcc-42bc-bba7-5940d7841058', '9a79727e-2781-4d82-be64-709a51f98cbd', 'job', '{}', '2018-11-11 17:00:00'), - (62, '9a75840d-40d4-4e5f-b32c-6e076aafbf68', '9a8098dd-ffb6-4db8-b94c-34cf9d12582b', 'job', '{}', '2018-11-11 18:00:00'), - (63, '9a75840d-fa24-4b49-a24a-1b73674e1419', '9a7599ec-1e5b-4a10-929a-6a6f4461af02', 'job', '{}', '2018-11-11 19:00:00'), - (64, '9a75840e-b32b-49c1-9da5-5fc45f98b6a4', '9a7582d6-ab77-4382-a2d5-1ecac6e7dbc7', 'gate', '{}', '2018-11-11 11:00:00'), - (65, '9a75840f-6d74-42de-8eb8-4f45347eb1ee', '9a757eaf-a487-4b50-b890-6eb0c955ca0b', 'gate', '{}', '2018-11-11 12:00:00'), - (66, '9a758410-23e3-4e0a-b43c-0e105a74e326', '9a758d6c-9183-4212-8edb-61535bac7f61', 'gate', '{}', '2018-11-11 13:00:00'), - (67, '9a758410-db0c-4b45-98b4-d0beb3a0cb3f', '9a79727e-25e6-40a5-819f-0490be6981bf', 'gate', '{}', '2018-11-11 14:00:00'), - (68, '9a758411-90fa-4703-a4c9-7cd91a0bef04', '9a8098ae-421c-44d9-860c-6715addea14b', 'gate', '{}', '2018-11-11 15:00:00'), - (69, '9a758412-47c0-47b0-9a8c-998f35b13090', '9a75833f-384c-4259-8251-d9862b2c8ab2', 'gate', '{}', '2018-11-11 16:00:00'), - (70, '9a758413-0180-49e7-b209-b8f86892a4d9', '9a79727e-2781-4d82-be64-709a51f98cbd', 'gate', '{}', '2018-11-11 17:00:00'), - (71, '9a758413-b76b-4fb3-a988-76089731025b', '9a8098dd-ffb6-4db8-b94c-34cf9d12582b', 'gate', '{}', '2018-11-11 18:00:00'), - (72, '9a758414-6d89-4971-9a17-3df90d35ccb9', '9a7599ec-1e5b-4a10-929a-6a6f4461af02', 'gate', '{}', '2018-11-11 19:00:00'), - (73, '9a758415-241f-4375-a6ab-f7ec34810aff', '9a7582d6-ab77-4382-a2d5-1ecac6e7dbc7', 'exception', '{}', '2018-11-11 11:00:00'), - (74, '9a758415-db55-4972-bb3a-e7c8f6980fe3', '9a757eaf-a487-4b50-b890-6eb0c955ca0b', 'exception', '{}', '2018-11-11 12:00:00'), - (75, '9a758416-9338-476e-b7a0-d7f342511a6d', '9a758d6c-9183-4212-8edb-61535bac7f61', 'exception', '{}', '2018-11-11 13:00:00'), - (76, '9a758417-4a0c-42c8-aa1f-068759aec896', '9a79727e-25e6-40a5-819f-0490be6981bf', 'exception', '{}', '2018-11-11 14:00:00'), - (77, '9a758418-045f-4ab5-875b-73dd5bdf9585', '9a8098ae-421c-44d9-860c-6715addea14b', 'exception', '{}', '2018-11-11 15:00:00'), - (78, '9a758418-bd48-4d90-a64a-e52b22096827', '9a75833f-384c-4259-8251-d9862b2c8ab2', 'exception', '{}', '2018-11-11 16:00:00'), - (79, '9a758419-753b-4de1-945e-db656fa7455a', '9a79727e-2781-4d82-be64-709a51f98cbd', 'exception', '{}', '2018-11-11 17:00:00'), - (80, '9a75841a-2c3d-4c24-ad61-e356ac25d845', '9a8098dd-ffb6-4db8-b94c-34cf9d12582b', 'exception', '{}', '2018-11-11 18:00:00'), - (81, '9a75841a-e42b-4b9e-a182-a9adb6652de2', '9a7599ec-1e5b-4a10-929a-6a6f4461af02', 'exception', '{}', '2018-11-11 19:00:00'); \ No newline at end of file