1) Catalog storage should be assumed based on CatalogIndexUrl or CatalogStorageAccount
2) Changed the settings to IDictionary<string, string>
Deleting all content files brought in by Metadata Catalog package
Changed app settings to be a simple IDictionary<string, string>
Incorporated comments around some app settings
1. Added PackageStatsHandlerTests class with simple tests
for Metrics Service App setting
2. In order for the test project to reference the source, added the test
project to the main solution
(Also, added changes to CatalogMetricsStorage that were missed in the
previous commit)
1) Using Task.Run from EnqueueStats to commit to catalog instead of a
dedicated thread
2) Using an int called 'CatalogWriterGate' to determine if there is a
thread writing to Catalog. If the int is 0, the writer is open for writing
if it is 1, then it is closed for writing
3) Thoroughly tested the logic by setting the CatalogItemSizeCount to 2
on the ConsoleMetricsTestApp and making 500 posts to the metrics service.
Successfully tested that multiple threads check and skip from committing to
Catalog. Also, tested that all the items are successfully added to Catalog
Updated to latest package of NuGet.Services.Metadata.Catalog