rabbitmq functional
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Torma Kristóf 2020-04-08 02:04:22 +02:00
parent 45eb6f2daa
commit 633311b31b
19 changed files with 531 additions and 165 deletions

View File

@ -3,16 +3,6 @@ type: docker
name: default
steps:
- name: static_analysis
image: python:3
commands:
- pip3 install pylint bandit mccabe
- pip3 install -r requirements.txt
- find . -name "*.py" -exec python3 -m py_compile '{}' \;
- find . -name "*.py" -exec pylint '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi
- find . -name "*.py" -exec python3 -m mccabe --min 3 '{}' + || if [ $? -eq 1 ]; then echo "you fail"; fi
- bandit -r . + || if [ $? -eq 1 ]; then echo "you fail"; fi
- name: build
image: docker:stable-dind
volumes:

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using OutputServiceTSDB.Models;
namespace OutputServiceTSDB.Controllers
{
[ApiController]
[Route("[controller]")]
public class OutputController : ControllerBase
{
private readonly ILogger<OutputController> _logger;
public OutputController(ILogger<OutputController> logger)
{
_logger = logger;
}
[HttpGet]
public IEnumerable<ApiObject> Get()
{
var rng = new Random();
return Enumerable.Range(1, 5).Select(index => new ApiObject
{
Date = DateTime.Now.AddDays(index)
})
.ToArray();
}
}
}

View File

@ -1,39 +0,0 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace OutputServiceTSDB.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
private static readonly string[] Summaries = new[]
{
"Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching"
};
private readonly ILogger<WeatherForecastController> _logger;
public WeatherForecastController(ILogger<WeatherForecastController> logger)
{
_logger = logger;
}
[HttpGet]
public IEnumerable<WeatherForecast> Get()
{
var rng = new Random();
return Enumerable.Range(1, 5).Select(index => new WeatherForecast
{
Date = DateTime.Now.AddDays(index),
TemperatureC = rng.Next(-20, 55),
Summary = Summaries[rng.Next(Summaries.Length)]
})
.ToArray();
}
}
}

15
Models/ApiObject.cs Normal file
View File

@ -0,0 +1,15 @@
using System;
namespace OutputServiceTSDB.Models
{
public class ApiObject
{
public DateTime Date { get; set; }
public string Tag { get; set; }
public bool Decision { get; set; }
public double Confidence { get; set; }
}
}

View File

@ -12,6 +12,7 @@
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" />
<PackageReference Include="RabbitMQ.Client" Version="5.1.2" />
<PackageReference Include="Sentry" Version="2.1.1" />
<PackageReference Include="Sentry.AspNetCore" Version="2.1.1" />
</ItemGroup>

View File

@ -6,22 +6,24 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using (SentrySdk.Init("https://744f5d479bdb4478b386173b92d081ac@sentry.kmlabz.com/12")){
namespace OutputServiceTSDB
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
});
namespace OutputServiceTSDB
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseStartup<Startup>();
webBuilder.UseSentry();
});
}
}

View File

@ -12,7 +12,7 @@
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"launchUrl": "weatherforecast",
"launchUrl": "result",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
@ -20,7 +20,7 @@
"OutputServiceTSDB": {
"commandName": "Project",
"launchBrowser": true,
"launchUrl": "weatherforecast",
"launchUrl": "result",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
@ -29,7 +29,7 @@
"Docker": {
"commandName": "Docker",
"launchBrowser": true,
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/weatherforecast",
"launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/result",
"publishAllPorts": true,
"useSSL": true
}

View File

@ -0,0 +1,84 @@
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using Microsoft.Extensions.Hosting;
using System;
using System.Threading;
using Microsoft.Extensions.Logging;
using System.Threading.Tasks;
namespace OutputServiceTSDB.RabbitMQ
{
public class ConsumeRabbitMQHostedService : BackgroundService
{
private readonly ILogger _logger;
private IConnection _connection;
private IModel _channel;
public ConsumeRabbitMQHostedService(ILoggerFactory loggerFactory)
{
this._logger = loggerFactory.CreateLogger<ConsumeRabbitMQHostedService>();
InitRabbitMQ();
}
private void InitRabbitMQ()
{
var factory = new ConnectionFactory { HostName = "localhost" };
// create connection
_connection = factory.CreateConnection();
// create channel
_channel = _connection.CreateModel();
_channel.ExchangeDeclare("demo.exchange", ExchangeType.Topic);
_channel.QueueDeclare("demo.queue.log", false, false, false, null);
_channel.QueueBind("demo.queue.log", "demo.exchange", "demo.queue.*", null);
_channel.BasicQos(0, 1, false);
_connection.ConnectionShutdown += RabbitMQ_ConnectionShutdown;
}
protected override Task ExecuteAsync(CancellationToken stoppingToken)
{
stoppingToken.ThrowIfCancellationRequested();
var consumer = new EventingBasicConsumer(_channel);
consumer.Received += (ch, ea) =>
{
// received message
var content = System.Text.Encoding.UTF8.GetString(ea.Body);
// handle the received message
HandleMessage(content);
_channel.BasicAck(ea.DeliveryTag, false);
};
consumer.Shutdown += OnConsumerShutdown;
consumer.Registered += OnConsumerRegistered;
consumer.Unregistered += OnConsumerUnregistered;
consumer.ConsumerCancelled += OnConsumerConsumerCancelled;
_channel.BasicConsume("demo.queue.log", false, consumer);
return Task.CompletedTask;
}
private void HandleMessage(string content)
{
// we just print this message
_logger.LogInformation($"consumer received {content}");
}
private void OnConsumerConsumerCancelled(object sender, ConsumerEventArgs e) { }
private void OnConsumerUnregistered(object sender, ConsumerEventArgs e) { }
private void OnConsumerRegistered(object sender, ConsumerEventArgs e) { }
private void OnConsumerShutdown(object sender, ShutdownEventArgs e) { }
private void RabbitMQ_ConnectionShutdown(object sender, ShutdownEventArgs e) { }
public override void Dispose()
{
_channel.Close();
_connection.Close();
base.Dispose();
}
}
}

View File

@ -10,6 +10,7 @@ using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using OutputServiceTSDB.RabbitMQ;
namespace OutputServiceTSDB
{
@ -25,6 +26,8 @@ namespace OutputServiceTSDB
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
services.AddHostedService<ConsumeRabbitMQHostedService>();
services.AddControllers();
}
@ -36,7 +39,7 @@ namespace OutputServiceTSDB
app.UseDeveloperExceptionPage();
}
app.UseHttpsRedirection();
//app.UseHttpsRedirection();
app.UseRouting();

View File

@ -1,15 +0,0 @@
using System;
namespace OutputServiceTSDB
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
public string Summary { get; set; }
}
}

View File

@ -6,5 +6,15 @@
"Microsoft.Hosting.Lifetime": "Information"
}
},
"Sentry": {
"Dsn": "https://744f5d479bdb4478b386173b92d081ac@sentry.kmlabz.com/12",
"IncludeRequestPayload": true,
"SendDefaultPii": true,
"MinimumBreadcrumbLevel": "Debug",
"MinimumEventLevel": "Warning",
"AttachStackTrace": true,
"Debug": true,
"DiagnosticsLevel": "Error"
},
"AllowedHosts": "*"
}

View File

@ -51,6 +51,10 @@
"version": "[5.1.2, )"
},
"Sentry": {
"target": "Package",
"version": "[2.1.1, )"
},
"Sentry.AspNetCore": {
"target": "Package",
"version": "[*, )"
}

View File

@ -69,17 +69,135 @@
"lib/netcoreapp2.0/_._": {}
}
},
"Microsoft.Extensions.Primitives/2.1.1": {
"Microsoft.Extensions.Configuration/3.0.0": {
"type": "package",
"dependencies": {
"System.Memory": "4.5.1",
"System.Runtime.CompilerServices.Unsafe": "4.5.1"
"Microsoft.Extensions.Configuration.Abstractions": "3.0.0"
},
"compile": {
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": {}
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.dll": {}
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": {}
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.dll": {}
}
},
"Microsoft.Extensions.Configuration.Abstractions/3.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.Primitives": "3.0.0"
},
"compile": {
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Abstractions.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Abstractions.dll": {}
}
},
"Microsoft.Extensions.Configuration.Binder/3.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.Configuration": "3.0.0"
},
"compile": {
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Binder.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Binder.dll": {}
}
},
"Microsoft.Extensions.DependencyInjection/3.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.0.0"
},
"compile": {
"lib/netcoreapp3.0/Microsoft.Extensions.DependencyInjection.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Microsoft.Extensions.DependencyInjection.dll": {}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/3.0.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {}
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {}
}
},
"Microsoft.Extensions.Logging/3.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.Configuration.Binder": "3.0.0",
"Microsoft.Extensions.DependencyInjection": "3.0.0",
"Microsoft.Extensions.Logging.Abstractions": "3.0.0",
"Microsoft.Extensions.Options": "3.0.0"
},
"compile": {
"lib/netcoreapp3.0/Microsoft.Extensions.Logging.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Microsoft.Extensions.Logging.dll": {}
}
},
"Microsoft.Extensions.Logging.Abstractions/3.0.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": {}
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll": {}
}
},
"Microsoft.Extensions.Logging.Configuration/3.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.Logging": "3.0.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "3.0.0"
},
"compile": {
"lib/netcoreapp3.0/Microsoft.Extensions.Logging.Configuration.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Microsoft.Extensions.Logging.Configuration.dll": {}
}
},
"Microsoft.Extensions.Options/3.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.0.0",
"Microsoft.Extensions.Primitives": "3.0.0"
},
"compile": {
"lib/netcoreapp3.0/Microsoft.Extensions.Options.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Microsoft.Extensions.Options.dll": {}
}
},
"Microsoft.Extensions.Options.ConfigurationExtensions/3.0.0": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.Configuration.Abstractions": "3.0.0",
"Microsoft.Extensions.Configuration.Binder": "3.0.0",
"Microsoft.Extensions.DependencyInjection.Abstractions": "3.0.0",
"Microsoft.Extensions.Options": "3.0.0"
},
"compile": {
"lib/netcoreapp3.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": {}
}
},
"Microsoft.Extensions.Primitives/3.0.0": {
"type": "package",
"compile": {
"lib/netcoreapp3.0/Microsoft.Extensions.Primitives.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Microsoft.Extensions.Primitives.dll": {}
}
},
"Microsoft.Net.Http.Headers/2.1.1": {
@ -416,6 +534,34 @@
"lib/netstandard2.0/Sentry.dll": {}
}
},
"Sentry.AspNetCore/2.1.1": {
"type": "package",
"dependencies": {
"Sentry.Extensions.Logging": "2.1.1"
},
"compile": {
"lib/netcoreapp3.0/Sentry.AspNetCore.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Sentry.AspNetCore.dll": {}
},
"frameworkReferences": [
"Microsoft.AspNetCore.App"
]
},
"Sentry.Extensions.Logging/2.1.1": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.Logging.Configuration": "3.0.0",
"Sentry": "2.1.1"
},
"compile": {
"lib/netcoreapp3.0/Sentry.Extensions.Logging.dll": {}
},
"runtime": {
"lib/netcoreapp3.0/Sentry.Extensions.Logging.dll": {}
}
},
"Sentry.PlatformAbstractions/1.1.0": {
"type": "package",
"compile": {
@ -756,15 +902,6 @@
"lib/netstandard1.6/System.Linq.Expressions.dll": {}
}
},
"System.Memory/4.5.1": {
"type": "package",
"compile": {
"ref/netcoreapp2.1/_._": {}
},
"runtime": {
"lib/netcoreapp2.1/_._": {}
}
},
"System.Net.Http/4.3.4": {
"type": "package",
"dependencies": {
@ -977,15 +1114,6 @@
"ref/netstandard1.5/System.Runtime.dll": {}
}
},
"System.Runtime.CompilerServices.Unsafe/4.5.1": {
"type": "package",
"compile": {
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {}
},
"runtime": {
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll": {}
}
},
"System.Runtime.Extensions/4.3.0": {
"type": "package",
"dependencies": {
@ -1621,16 +1749,166 @@
"version.txt"
]
},
"Microsoft.Extensions.Primitives/2.1.1": {
"sha512": "scJ1GZNIxMmjpENh0UZ8XCQ6vzr/LzeF9WvEA51Ix2OQGAs9WPgPu8ABVUdvpKPLuor/t05gm6menJK3PwqOXg==",
"Microsoft.Extensions.Configuration/3.0.0": {
"sha512": "KECbOpM0EySVbKTQDN9o0swdnZpwpdhuYngnnJGzXdcAc+JR1mv7iF4lOyK00KSH8OZjobO0TUeo3mn7J2rdrA==",
"type": "package",
"path": "microsoft.extensions.primitives/2.1.1",
"path": "microsoft.extensions.configuration/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.dll",
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.xml",
"lib/netstandard2.0/Microsoft.Extensions.Configuration.dll",
"lib/netstandard2.0/Microsoft.Extensions.Configuration.xml",
"microsoft.extensions.configuration.3.0.0.nupkg.sha512",
"microsoft.extensions.configuration.nuspec"
]
},
"Microsoft.Extensions.Configuration.Abstractions/3.0.0": {
"sha512": "Lge/PbXC53jI1MF2J92X5EZOeKV8Q/rlB1aV3H9I/ZTDyQGOyBcL03IAvnviWpHKj43BDkNy6kU2KKoh8kAS0g==",
"type": "package",
"path": "microsoft.extensions.configuration.abstractions/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Abstractions.dll",
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Abstractions.xml",
"lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.dll",
"lib/netstandard2.0/Microsoft.Extensions.Configuration.Abstractions.xml",
"microsoft.extensions.configuration.abstractions.3.0.0.nupkg.sha512",
"microsoft.extensions.configuration.abstractions.nuspec"
]
},
"Microsoft.Extensions.Configuration.Binder/3.0.0": {
"sha512": "iw3UL25Cw9GBILJOs8srwcId2UCz5+BxTu//EN5dO2dOFNtHcNJgnUiqIlmcGi0orIco0pDuDXuIDvhkrY/sGQ==",
"type": "package",
"path": "microsoft.extensions.configuration.binder/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Binder.dll",
"lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Binder.xml",
"lib/netstandard2.0/Microsoft.Extensions.Configuration.Binder.dll",
"lib/netstandard2.0/Microsoft.Extensions.Configuration.Binder.xml",
"microsoft.extensions.configuration.binder.3.0.0.nupkg.sha512",
"microsoft.extensions.configuration.binder.nuspec"
]
},
"Microsoft.Extensions.DependencyInjection/3.0.0": {
"sha512": "yDsuNA/BT4j9qrcRs0NUNHQAJfywFWX18ZZ+shxXJL+/nIfz3vhuRTfnYgvFeQlNBlgmgdSjOcs4ajgoS6Q/Ng==",
"type": "package",
"path": "microsoft.extensions.dependencyinjection/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net461/Microsoft.Extensions.DependencyInjection.dll",
"lib/net461/Microsoft.Extensions.DependencyInjection.xml",
"lib/netcoreapp3.0/Microsoft.Extensions.DependencyInjection.dll",
"lib/netcoreapp3.0/Microsoft.Extensions.DependencyInjection.xml",
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll",
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.xml",
"microsoft.extensions.dependencyinjection.3.0.0.nupkg.sha512",
"microsoft.extensions.dependencyinjection.nuspec"
]
},
"Microsoft.Extensions.DependencyInjection.Abstractions/3.0.0": {
"sha512": "ofQRroDlzJ0xKOtzNuaVt6QKNImFkhkG0lIMpGl7PtXnIf5SuLWBeiQZAP8DNSxDBJJdcsPkiJiMYK2WA5H8dQ==",
"type": "package",
"path": "microsoft.extensions.dependencyinjection.abstractions/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"microsoft.extensions.dependencyinjection.abstractions.3.0.0.nupkg.sha512",
"microsoft.extensions.dependencyinjection.abstractions.nuspec"
]
},
"Microsoft.Extensions.Logging/3.0.0": {
"sha512": "rxs1i2denq0Sv0XMvAeISK7AskV5x7aihvlIlepJKFfkbE6PgbeXfPOElD0kf3Wr2Roo57ASQa5xUL9LTHWChA==",
"type": "package",
"path": "microsoft.extensions.logging/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Microsoft.Extensions.Logging.dll",
"lib/netcoreapp3.0/Microsoft.Extensions.Logging.xml",
"lib/netstandard2.0/Microsoft.Extensions.Logging.dll",
"lib/netstandard2.0/Microsoft.Extensions.Logging.xml",
"microsoft.extensions.logging.3.0.0.nupkg.sha512",
"microsoft.extensions.logging.nuspec"
]
},
"Microsoft.Extensions.Logging.Abstractions/3.0.0": {
"sha512": "+PsosTYZn+omucI0ff9eywo9QcPLwcbIWf7dz7ZLM1zGR8gVZXJ3wo6+tkuIedUNW5iWENlVJPEvrGjiVeoNNQ==",
"type": "package",
"path": "microsoft.extensions.logging.abstractions/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll",
"lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml",
"microsoft.extensions.logging.abstractions.3.0.0.nupkg.sha512",
"microsoft.extensions.logging.abstractions.nuspec"
]
},
"Microsoft.Extensions.Logging.Configuration/3.0.0": {
"sha512": "Z+3mqptSt3pCo0Nl4pmwK+nTpBpRxNe2lFaBCCtsT0bb88GeFKvw6Mg+0IeEgDrfj7h4qzMYRbL5cSFMpENQZA==",
"type": "package",
"path": "microsoft.extensions.logging.configuration/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Microsoft.Extensions.Logging.Configuration.dll",
"lib/netcoreapp3.0/Microsoft.Extensions.Logging.Configuration.xml",
"lib/netstandard2.0/Microsoft.Extensions.Logging.Configuration.dll",
"lib/netstandard2.0/Microsoft.Extensions.Logging.Configuration.xml",
"microsoft.extensions.logging.configuration.3.0.0.nupkg.sha512",
"microsoft.extensions.logging.configuration.nuspec"
]
},
"Microsoft.Extensions.Options/3.0.0": {
"sha512": "aZuVhN/TC872Yb55nrb7an82sfSAdNYxIyzu3zbYHOnhwal5hdkBUxzuoYj1khI2sw0tWq6i82i624zEFmiJhg==",
"type": "package",
"path": "microsoft.extensions.options/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Microsoft.Extensions.Options.dll",
"lib/netcoreapp3.0/Microsoft.Extensions.Options.xml",
"lib/netstandard2.0/Microsoft.Extensions.Options.dll",
"lib/netstandard2.0/Microsoft.Extensions.Options.xml",
"microsoft.extensions.options.3.0.0.nupkg.sha512",
"microsoft.extensions.options.nuspec"
]
},
"Microsoft.Extensions.Options.ConfigurationExtensions/3.0.0": {
"sha512": "g4V1TXEKUDgOnp1ZKREKSvITYxcUsTqfxNlOaCG7/xlCurLLzFupm+ULkGqIBUIBK+q3kHmt42pVyHwGIcCBmg==",
"type": "package",
"path": "microsoft.extensions.options.configurationextensions/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll",
"lib/netcoreapp3.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml",
"lib/netstandard2.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll",
"lib/netstandard2.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml",
"microsoft.extensions.options.configurationextensions.3.0.0.nupkg.sha512",
"microsoft.extensions.options.configurationextensions.nuspec"
]
},
"Microsoft.Extensions.Primitives/3.0.0": {
"sha512": "6gwewTbmOh+ZVBicVkL1XRp79sx4O7BVY6Yy+7OYZdwn3pyOKe9lOam+3gXJ3TZMjhJZdV0Ub8hxHt2vkrmN5Q==",
"type": "package",
"path": "microsoft.extensions.primitives/3.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Microsoft.Extensions.Primitives.dll",
"lib/netcoreapp3.0/Microsoft.Extensions.Primitives.xml",
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll",
"lib/netstandard2.0/Microsoft.Extensions.Primitives.xml",
"microsoft.extensions.primitives.2.1.1.nupkg.sha512",
"microsoft.extensions.primitives.3.0.0.nupkg.sha512",
"microsoft.extensions.primitives.nuspec"
]
},
@ -2132,6 +2410,40 @@
"sentry.nuspec"
]
},
"Sentry.AspNetCore/2.1.1": {
"sha512": "akRgNGS+l8QybeMue0D/ZOqNDXfH/5jlVjixSycPoxUH1dcKzUjN0zfMZvzfGjGO0ve9GmMmX7N1CjvVEvWnng==",
"type": "package",
"path": "sentry.aspnetcore/2.1.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Sentry.AspNetCore.dll",
"lib/netcoreapp3.0/Sentry.AspNetCore.pdb",
"lib/netcoreapp3.0/Sentry.AspNetCore.xml",
"lib/netstandard2.0/Sentry.AspNetCore.dll",
"lib/netstandard2.0/Sentry.AspNetCore.pdb",
"lib/netstandard2.0/Sentry.AspNetCore.xml",
"sentry.aspnetcore.2.1.1.nupkg.sha512",
"sentry.aspnetcore.nuspec"
]
},
"Sentry.Extensions.Logging/2.1.1": {
"sha512": "LNf70XhfSaOMjuGLxnbtCiqLZzh7NhQKNG8LChOmcIhUVSffNTpTxJSwtHsF7rwP88KiRGTois0ESzCre1gVng==",
"type": "package",
"path": "sentry.extensions.logging/2.1.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/netcoreapp3.0/Sentry.Extensions.Logging.dll",
"lib/netcoreapp3.0/Sentry.Extensions.Logging.pdb",
"lib/netcoreapp3.0/Sentry.Extensions.Logging.xml",
"lib/netstandard2.0/Sentry.Extensions.Logging.dll",
"lib/netstandard2.0/Sentry.Extensions.Logging.pdb",
"lib/netstandard2.0/Sentry.Extensions.Logging.xml",
"sentry.extensions.logging.2.1.1.nupkg.sha512",
"sentry.extensions.logging.nuspec"
]
},
"Sentry.PlatformAbstractions/1.1.0": {
"sha512": "4fhSK6bImR2IDXGCUAupMeN5ILcOSVv9CygagU0vgwsByhcOEnAcB1K69gMXkvBgGkM8FczY+y5fdtCDKfLFMA==",
"type": "package",
@ -3281,31 +3593,6 @@
"system.linq.expressions.nuspec"
]
},
"System.Memory/4.5.1": {
"sha512": "sDJYJpGtTgx+23Ayu5euxG5mAXWdkDb4+b0rD0Cab0M1oQS9H0HXGPriKcqpXuiJDTV7fTp/d+fMDJmnr6sNvA==",
"type": "package",
"path": "system.memory/4.5.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/netcoreapp2.1/_._",
"lib/netstandard1.1/System.Memory.dll",
"lib/netstandard1.1/System.Memory.xml",
"lib/netstandard2.0/System.Memory.dll",
"lib/netstandard2.0/System.Memory.xml",
"ref/netcoreapp2.1/_._",
"ref/netstandard1.1/System.Memory.dll",
"ref/netstandard1.1/System.Memory.xml",
"ref/netstandard2.0/System.Memory.dll",
"ref/netstandard2.0/System.Memory.xml",
"system.memory.4.5.1.nupkg.sha512",
"system.memory.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Net.Http/4.3.4": {
"sha512": "aOa2d51SEbmM+H+Csw7yJOuNZoHkrP2XnAurye5HWYgGVVU54YZDvsLUYRv6h18X3sPnjNCANmN7ZhIPiqMcjA==",
"type": "package",
@ -4090,31 +4377,6 @@
"system.runtime.nuspec"
]
},
"System.Runtime.CompilerServices.Unsafe/4.5.1": {
"sha512": "Zh8t8oqolRaFa9vmOZfdQm/qKejdqz0J9kr7o2Fu0vPeoH3BL1EOXipKWwkWtLT1JPzjByrF19fGuFlNbmPpiw==",
"type": "package",
"path": "system.runtime.compilerservices.unsafe/4.5.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
"system.runtime.compilerservices.unsafe.4.5.1.nupkg.sha512",
"system.runtime.compilerservices.unsafe.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Runtime.Extensions/4.3.0": {
"sha512": "guW0uK0fn5fcJJ1tJVXYd7/1h5F+pea1r7FLSOz/f8vPEqbR2ZAknuRDvTQ8PzAilDveOxNjSfr0CHfIQfFk8g==",
"type": "package",
@ -5471,7 +5733,8 @@
"InfluxDB.Client >= 1.6.0",
"Microsoft.VisualStudio.Azure.Containers.Tools.Targets >= 1.10.8",
"RabbitMQ.Client >= 5.1.2",
"Sentry >= *"
"Sentry >= 2.1.1",
"Sentry.AspNetCore >= *"
]
},
"packageFolders": {
@ -5524,6 +5787,10 @@
"version": "[5.1.2, )"
},
"Sentry": {
"target": "Package",
"version": "[2.1.1, )"
},
"Sentry.AspNetCore": {
"target": "Package",
"version": "[*, )"
}

View File

@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "IWSHIzbGE7u3DKmVMQUgh3o0aKYVwFLN4nuMgd3CB4lHbhNwjCMtYarghAxEdDGtKmY1mZ92pvkjcKjEB/t7zA==",
"dgSpecHash": "a6+SV/54J2AISt6d5A/IXuu4A94oTK197hAEYN1M6b9DqJet88JoTE6GeqofcnlF2D3CSw/jUx02OM/VvrU/sw==",
"success": true,
"projectFilePath": "C:\\Users\\Torma Kristóf\\source\\repos\\output-service-tsdb\\OutputServiceTSDB.csproj",
"expectedPackageFiles": [
@ -9,7 +9,17 @@
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\influxdb.client.core\\1.6.0\\influxdb.client.core.1.6.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\jsonsubtypes\\1.5.2\\jsonsubtypes.1.5.2.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.csharp\\4.4.0\\microsoft.csharp.4.4.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.primitives\\2.1.1\\microsoft.extensions.primitives.2.1.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.configuration\\3.0.0\\microsoft.extensions.configuration.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\3.0.0\\microsoft.extensions.configuration.abstractions.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.configuration.binder\\3.0.0\\microsoft.extensions.configuration.binder.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\3.0.0\\microsoft.extensions.dependencyinjection.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\3.0.0\\microsoft.extensions.dependencyinjection.abstractions.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.logging\\3.0.0\\microsoft.extensions.logging.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\3.0.0\\microsoft.extensions.logging.abstractions.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.logging.configuration\\3.0.0\\microsoft.extensions.logging.configuration.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.options\\3.0.0\\microsoft.extensions.options.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\3.0.0\\microsoft.extensions.options.configurationextensions.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.primitives\\3.0.0\\microsoft.extensions.primitives.3.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.net.http.headers\\2.1.1\\microsoft.net.http.headers.2.1.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.netcore.platforms\\2.0.0\\microsoft.netcore.platforms.2.0.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
@ -38,6 +48,8 @@
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\sentry\\2.1.1\\sentry.2.1.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\sentry.aspnetcore\\2.1.1\\sentry.aspnetcore.2.1.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\sentry.extensions.logging\\2.1.1\\sentry.extensions.logging.2.1.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\sentry.platformabstractions\\1.1.0\\sentry.platformabstractions.1.1.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\sentry.protocol\\2.1.1\\sentry.protocol.2.1.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.appcontext\\4.3.0\\system.appcontext.4.3.0.nupkg.sha512",
@ -61,7 +73,6 @@
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\system.io.filesystem.primitives.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.linq.expressions\\4.3.0\\system.linq.expressions.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.memory\\4.5.1\\system.memory.4.5.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.net.http\\4.3.4\\system.net.http.4.3.4.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.net.sockets\\4.3.0\\system.net.sockets.4.3.0.nupkg.sha512",
@ -76,7 +87,6 @@
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.reflection.typeextensions\\4.4.0\\system.reflection.typeextensions.4.4.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.1\\system.runtime.compilerservices.unsafe.4.5.1.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512",
"C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512",