Commit graph

2748 commits

Author SHA1 Message Date
Collin M. Barrett
ff9f75b8aa cap HttpClient at 90 seconds based on max request logged to AppInsights at ~45secs 2019-07-03 19:40:20 -05:00
Collin M. Barrett
3d76e0603e update nugets 2019-07-03 18:53:05 -05:00
Collin M. Barrett
ef62f039a4 tidy some tests 2019-07-03 16:01:30 -05:00
Collin M. Barrett
7dc16a9390 add unit test for DistributeByHost() 2019-07-03 15:55:49 -05:00
Collin M. Barrett
b58c35ae9a R#: don't auto-sort unit tests 2019-07-03 15:54:20 -05:00
Collin M. Barrett
d6c6a69760 add IsValidUrl() test 2019-07-03 12:41:28 -05:00
Collin M. Barrett
41208f3f52 add Agent tests badge 2019-07-03 12:17:16 -05:00
Collin M. Barrett
fbceacc5d8 add dc-agent-tests to dcproj 2019-07-03 12:10:07 -05:00
Collin M. Barrett
4a4bc2cd45 fix ren in agent docker-compose tests 2019-07-03 17:00:35 +00:00
Collin M. Barrett
07cfffbda2 add agent tests 2019-07-03 17:00:35 +00:00
Collin M. Barrett
2ceab1dc56 throw exception on null argument of IReadOnlyList<T>.FirstOrDefault() 2019-07-03 10:44:57 -05:00
Collin M. Barrett
c80e59cf8d resolve CA1826 warning with custom extension method 2019-07-03 10:29:41 -05:00
Collin M. Barrett
3a15760335 ignore roslyn warning 2019-07-03 10:08:21 -05:00
Collin M. Barrett
5794ef8823 update nuget 2019-07-03 10:00:05 -05:00
Collin M. Barrett
2296b4bfae add some R# annotations 2019-07-03 09:58:44 -05:00
Collin M. Barrett
14d8e41924 tidy AgentHttpClient registration and extract interface 2019-07-03 09:16:13 -05:00
Collin M. Barrett
56f7b4e647 Revert "TEMP: test env vars on prod"
This reverts commit 4d177274d4.
2019-07-03 06:48:16 -05:00
Collin M. Barrett
4d177274d4 TEMP: test env vars on prod 2019-07-03 06:26:30 -05:00
Collin M. Barrett
95631128ae expand redirect def 2019-07-02 22:04:13 -05:00
Collin M. Barrett
29a2cc79f0 don't treat a redirect the same as being broken 2019-07-02 21:57:33 -05:00
Collin M. Barrett
fd4a037f94 don't auto-redirect HttpClient 2019-07-02 21:50:39 -05:00
Collin M. Barrett
97db616f88 add conn string env var to Agent 2019-07-02 21:23:52 -05:00
Collin M. Barrett
1ae2fe66c0 add logging of GitHub API errors 2019-07-03 01:21:06 +00:00
Collin M. Barrett
1a41cf6a62 distribute URLs by host 2019-07-03 01:21:06 +00:00
Collin M. Barrett
2aaa32aa4e only validate distinct URLs per file 2019-07-03 01:21:06 +00:00
Collin M. Barrett
bdd2bd9b3b log og string for invalid URL syntax 2019-07-03 01:21:06 +00:00
Collin M. Barrett
c2447cbb5c log og string for invalid URL syntax 2019-07-03 01:21:06 +00:00
Collin M. Barrett
91a724598b validate is valid syntax of a URL 2019-07-03 01:21:06 +00:00
Collin M. Barrett
747c6be1a9 catch InvalidOperationException and add better logging 2019-07-03 01:21:06 +00:00
Collin M. Barrett
437eea994d prefix issue title with 'BOT:' 2019-07-03 01:21:06 +00:00
Collin M. Barrett
ceccafc31b set default repo owner and repo 2019-07-03 01:21:06 +00:00
Collin M. Barrett
731287371a set default repo owner and repo 2019-07-03 01:21:06 +00:00
Collin M. Barrett
79352e304e validate URLs 2019-07-03 01:21:06 +00:00
Collin M. Barrett
3ab6803229 spacing for standardization 2019-07-03 01:21:06 +00:00
Collin M. Barrett
2f5d01cff6 patch up new GitHub config options 2019-07-03 01:21:06 +00:00
Collin M. Barrett
8cbf4e666d tweak Issue body header 2019-07-03 01:21:06 +00:00
Collin M. Barrett
34ef11f194 only close issue if no validation errors found 2019-07-03 01:21:06 +00:00
Collin M. Barrett
db25be46ec initial impl of CloseUrlValidationIssue 2019-07-03 01:21:06 +00:00
Collin M. Barrett
b51039d6f1 stub close issue command 2019-07-03 01:21:06 +00:00
Collin M. Barrett
a02e32861c add data label to auto-gen Issue 2019-07-03 01:21:06 +00:00
Collin M. Barrett
044e86b0ae updates to GH Issue body 2019-07-03 01:21:06 +00:00
Collin M. Barrett
77d873c942 updates to GH Issue body 2019-07-03 01:21:06 +00:00
Collin M. Barrett
ec77db54f2 initial add BuildGitHubIssueBody 2019-07-03 01:21:06 +00:00
Collin M. Barrett
d1e6649df8 add TODO to handle when to auto-close the issue 2019-07-03 01:21:06 +00:00
Collin M. Barrett
98329e42a2 undo filtering non-Uri which doesn't work right 2019-07-03 01:21:06 +00:00
Collin M. Barrett
25c7653914 flesh out support of Issue create & update 2019-07-03 01:21:06 +00:00
Collin M. Barrett
76df08bd84 extract AgentGitHubClient 2019-07-03 01:21:06 +00:00
Collin M. Barrett
8b773c9639 add GitHub config env vars 2019-07-03 01:21:06 +00:00
Collin M. Barrett
6505d203c6 tidy DI registration 2019-07-03 01:21:06 +00:00
Collin M. Barrett
aef399ef2d fix GitHubClient config 2019-07-03 01:21:06 +00:00