mwt-ds/Crawl
Jacob Alber 1cdf062154 Silence ServerProtocolViolation errors
In the last change, we added more tracing to ServerProtocolViolation WebExceptions in the Crawler. Unfortunately, the ones we are seeing aren't triggering this code because they do not get far enough to get a Response object. I don't expect that we will be able to get useful information from this telemetry, so add this to the set of dependency failures we silently ignore, after adding a trace.
2017-10-11 10:07:33 -04:00
..
AzureMLTopic added VideoIndexer/Ooyala integration 2017-08-10 13:06:11 -04:00
CognitiveServiceEmotion added VideoIndexer/Ooyala integration 2017-08-10 13:06:11 -04:00
CognitiveServiceEntityLinking added VideoIndexer/Ooyala integration 2017-08-10 13:06:11 -04:00
CognitiveServiceTextAnalytics added VideoIndexer/Ooyala integration 2017-08-10 13:06:11 -04:00
CognitiveServiceVision added VideoIndexer/Ooyala integration 2017-08-10 13:06:11 -04:00
Crawl Silence ServerProtocolViolation errors 2017-10-11 10:07:33 -04:00
Data fix feature serialization 2017-09-14 07:29:53 -04:00
Properties added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
RSS added video/audio/json support 2017-08-11 10:42:29 -04:00
VideoIndexer Fix style: Use built-in keyword for string static method calls 2017-10-04 10:21:13 -04:00
BlobCache.cs improve logging; prepare locking for VI 2017-09-11 12:04:42 -04:00
BlobContent.cs added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
CacheItem.cs added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
CertificateUtil.cs added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
CognitiveService.cs added VideoIndexer/Ooyala integration 2017-08-10 13:06:11 -04:00
Crawl.csproj fixed warnings 2017-09-18 15:08:41 -04:00
HttpCachedService.cs added VideoIndexer/Ooyala integration 2017-08-10 13:06:11 -04:00
KeyVaultHelper.cs added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
RawStringConverter.cs added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
Services.cs added VideoIndexer/Ooyala integration 2017-08-10 13:06:11 -04:00
Web.Debug.config added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
Web.Release.config added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
Web.config added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
host.json added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00
packages.config fixed warnings 2017-09-18 15:08:41 -04:00
readme.MD added DecisionService HTML scrape 2017-05-26 21:04:02 -04:00

readme.MD

Install Azure Function CLI tools

npm install -g azure-functions-cli

Run on command line from Crawl directory

%AppData%\npm\func run .

You can attach VS to func.exe.

appsettings.json has the Configuration Manager settings.

(Invoke-WebRequest -Method Post -Body $r.Content -ContentType 'application/json' 'http://localhost:7071/api/CognitiveServiceVision').Content

curl -v -X POST http://localhost:7071/api/CognitiveServiceVision -H "Content-Type: application/json" -d @vision.json -H "Accept: application/json"