Commit graph

921 commits

Author SHA1 Message Date
Collin M. Barrett
c75e2700a1 fix bug in GetLeastRecentlyCapturedLists() 2018-02-10 19:05:23 -06:00
Collin M. Barrett
8439a5c14c try capture snapshots every minute with max of once per list per day 2018-02-10 18:50:13 -06:00
Collin M. Barrett
8b39bb535d add Snapshot ModifiedDateUtc 2018-02-10 17:49:32 -06:00
Collin M. Barrett
86fd80daf0 don't send linux mail cron results 2018-02-10 16:55:19 -06:00
Collin M. Barrett
73104704fa add cron job for reference 2018-02-10 16:36:40 -06:00
Collin M. Barrett
2224017e2e Revert "enable ModifiedDate on Snapshots"
This reverts commit c17fe37a6c.
2018-02-10 16:04:57 -06:00
Collin M. Barrett
8ade9fba23 enable ModifiedDate on Snapshots 2018-02-10 16:03:46 -06:00
Collin M. Barrett
cb3f9b2d65 capture numeric httpstatuscode 2018-02-10 15:46:12 -06:00
Collin M. Barrett
f42470896a fix permissions on Agent 2018-02-10 15:29:34 -06:00
Collin M. Barrett
e46d631502 deploy Agent 2018-02-10 15:15:46 -06:00
Collin M. Barrett
345ff98d24 gracefully rollback interrupted snapshots
currently assumes deduplication didn't partially complete (should be revisited at some point)
2018-02-10 15:06:49 -06:00
Collin M. Barrett
488b2faf19 finish first pass at Snapshot dedup-ing 2018-02-10 14:33:20 -06:00
Collin M. Barrett
50a8493631 add R# rule 2018-02-10 13:40:59 -06:00
Collin M. Barrett
138a85d5b0 fix bug in AddSnapshotRules() 2018-02-10 13:03:39 -06:00
Collin M. Barrett
da5eb470ca exit Agent by return 0 2018-02-10 09:59:27 -06:00
Collin M. Barrett
65442b467d wip dedup SnapshotRules 2018-02-10 09:52:29 -06:00
Collin M. Barrett
42eac2ed94 prepare db for de-duped SnapshotRule 2018-02-10 07:14:07 -06:00
Collin M. Barrett
d1b180b45c remove snapshot API endpoint in favor of Agent 2018-02-09 15:32:27 -06:00
Collin M. Barrett
9cd7dcd181 enhance drop comments from rules 2018-02-09 15:29:55 -06:00
Collin M. Barrett
9de64fcd85 use consistent null conditional in rule linter 2018-02-09 14:37:10 -06:00
Collin M. Barrett
282f9cecf8 drop comments from rules 2018-02-09 14:31:21 -06:00
Collin M. Barrett
692f876595 minor reformatting 2018-02-09 14:20:55 -06:00
Collin M. Barrett
9a1a2946cb minor reformatting 2018-02-09 13:49:22 -06:00
Collin M. Barrett
bfe6e06aba convert HttpStatusCode to varchar 2018-02-09 13:03:23 -06:00
Collin M. Barrett
4aa5fd1500 Agent now captures snapshots 2018-02-09 06:34:33 -06:00
Collin M. Barrett
9011f358ec update gitignore 2018-02-09 05:41:52 -06:00
Collin M. Barrett
269a8c0305 Agent Hello World 2018-02-08 16:58:50 -06:00
Collin M. Barrett
7ca785e55f initial add Agent 2018-02-08 16:55:12 -06:00
Collin M. Barrett
1105be03c5 tweak primary key data types 2018-02-08 09:43:39 -06:00
Collin M. Barrett
4ac64c1442 fix junction indexes 2018-02-08 08:57:39 -06:00
Collin M. Barrett
f0e927811d exclude convention indexes on many-to-many entities
ref https://github.com/aspnet/EntityFrameworkCore/issues/7605#issuecomment-363949146 and https://github.com/aspnet/EntityFrameworkCore/issues/10855#issuecomment-363219253
2018-02-07 17:59:26 -06:00
Collin M. Barrett
9c40851378 async batches 2018-02-07 15:01:55 -06:00
Collin M. Barrett
1baa9cceeb minor Snapshot refactors 2018-02-07 14:43:15 -06:00
Collin M. Barrett
97a4816842 trim leading and trailing whitespace from rules 2018-02-07 13:58:46 -06:00
Collin M. Barrett
71dc4968d3 use case-sensitive collation 2018-02-07 13:26:35 -06:00
Collin M. Barrett
43d100c309 use HashSet rather than Distinct() for filtering duplicate rules in a list 2018-02-07 12:39:00 -06:00
Collin M. Barrett
cadaae4475 EnableSensitiveDataLogging 2018-02-06 13:05:25 -06:00
Collin M. Barrett
5e5dcf35cc recreate junction indexes
https://stackoverflow.com/q/48645872/2343739
2018-02-06 12:41:55 -06:00
Collin M. Barrett
f92c6c3b59 add junction composite indices 2018-02-06 10:19:11 -06:00
Collin M. Barrett
888ab13e2f extract ICollection ext. method to its own file 2018-02-05 18:25:14 -06:00
Collin M. Barrett
6fc850e2ff rm unused using 2018-02-05 15:32:11 -06:00
Collin M. Barrett
7fd5e8c294 filter dup rules from a snapshot 2018-02-05 15:25:26 -06:00
Collin M. Barrett
b5ed619476 AddRange() support for ICollection 2018-02-05 15:21:44 -06:00
Collin M. Barrett
51b649b1af bump batch size 2018-02-05 12:33:38 -06:00
Collin M. Barrett
749a273daf explicitly set HttpStatusCode to null for HttpRequestException 2018-02-05 12:14:35 -06:00
Collin M. Barrett
b9cf811dd8 catch HttpRequestException 2018-02-05 12:13:36 -06:00
Collin M. Barrett
0ab08ecc42 move towards batched snapshots (wip) 2018-02-05 11:14:46 -06:00
Collin M. Barrett
21bbff279f R# tweak via Clean Code suggestion 2018-02-04 18:29:12 -06:00
Collin M. Barrett
93da298908 major SnapshotService refactor 2018-02-03 15:49:32 -06:00
Collin M. Barrett
858d0618f7 add comment to refactor AddOrUpdate algo
don't use explicitly defined EF model IDs, but rather use navs
2018-02-03 09:29:53 -06:00