This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							@@ -1,45 +0,0 @@
 | 
				
			|||||||
using System;
 | 
					 | 
				
			||||||
using InfluxDB.Client.Flux;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace OutputServiceTSDB.InfluxDB
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
	public class InfluxReader
 | 
					 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        private readonly char[] Token = "".ToCharArray();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public InfluxReader()
 | 
					 | 
				
			||||||
		{
 | 
					 | 
				
			||||||
			//
 | 
					 | 
				
			||||||
			// TODO: Add constructor logic here
 | 
					 | 
				
			||||||
			//
 | 
					 | 
				
			||||||
		}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		public MeasurementObject Read()
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            var fluxClient = FluxClientFactory.Create("http://localhost:8086/");
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            var fluxQuery = "from(bucket: \"telegraf\")\n"
 | 
					 | 
				
			||||||
                               + " |> filter(fn: (r) => (r[\"_measurement\"] == \"cpu\" AND r[\"_field\"] == \"usage_system\"))"
 | 
					 | 
				
			||||||
                               + " |> range(start: -1d)"
 | 
					 | 
				
			||||||
                               + " |> sample(n: 5, pos: 1)";
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            fluxClient.QueryAsync(fluxQuery, (cancellable, record) =>
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                // process the flux query records
 | 
					 | 
				
			||||||
                Console.WriteLine(record.GetTime() + ": " + record.GetValue());
 | 
					 | 
				
			||||||
            },
 | 
					 | 
				
			||||||
                            (error) =>
 | 
					 | 
				
			||||||
                            {
 | 
					 | 
				
			||||||
                                // error handling while processing result
 | 
					 | 
				
			||||||
                                Console.WriteLine(error.ToString());
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                            }, () =>
 | 
					 | 
				
			||||||
                            {
 | 
					 | 
				
			||||||
                                // on complete
 | 
					 | 
				
			||||||
                                Console.WriteLine("Query completed");
 | 
					 | 
				
			||||||
                            }).GetAwaiter().GetResult();
 | 
					 | 
				
			||||||
            return new MeasurementObject { DeviceID = "south", Probability = 0.5, Time = DateTime.UtcNow };
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,25 +1,31 @@
 | 
				
			|||||||
using System;
 | 
					using System;
 | 
				
			||||||
using InfluxDB.Client;
 | 
					using InfluxDB.Client;
 | 
				
			||||||
using InfluxDB.Client.Api.Domain;
 | 
					using InfluxDB.Client.Api.Domain;
 | 
				
			||||||
using InfluxDB.Client.Core;
 | 
					using OutputServiceTSDB.Models;
 | 
				
			||||||
using InfluxDB.Client.Writes;
 | 
					using OutputServiceTSDB.Utilities;
 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace OutputServiceTSDB.InfluxDB
 | 
					namespace OutputServiceTSDB.InfluxDB
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    public class InfluxWriter
 | 
					    public class InfluxWriter: IDisposable
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        private readonly char[] Token = "".ToCharArray();
 | 
					        private readonly char[] Token = EnvironmentVariableConfiguration.InfluxDBToken.ToCharArray();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        private InfluxDBClient influxDBClient;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public InfluxWriter()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            influxDBClient = InfluxDBClientFactory.Create(EnvironmentVariableConfiguration.InfluxDBHost, Token);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public void Write(MeasurementObject measurementObject)
 | 
					        public void Write(MeasurementObject measurementObject)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            var influxDBClient = InfluxDBClientFactory.Create("http://localhost:9999", Token);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            using (var writeApi = influxDBClient.GetWriteApi())
 | 
					            using (var writeApi = influxDBClient.GetWriteApi())
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                var measurement = new MeasurementObject { DeviceID = "south", Probability = 0.5, Time = DateTime.UtcNow };
 | 
					                writeApi.WriteMeasurement(EnvironmentVariableConfiguration.InfluxDBBucket, EnvironmentVariableConfiguration.InfluxDBOrg, WritePrecision.Ns, measurementObject);
 | 
				
			||||||
                writeApi.WriteMeasurement("bucket_name", "org_id", WritePrecision.Ns, measurement);
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void Dispose()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
            influxDBClient.Dispose();
 | 
					            influxDBClient.Dispose();
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,23 +0,0 @@
 | 
				
			|||||||
using System;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace OutputServiceTSDB.Models
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    public class ApiObject
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        public string Tag { get; set; }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        private double _probability;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public double Probability
 | 
					 | 
				
			||||||
        { get => _probability;
 | 
					 | 
				
			||||||
            set
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                if (value > 1.0 || value < 0.0)
 | 
					 | 
				
			||||||
                    throw new ArgumentOutOfRangeException(
 | 
					 | 
				
			||||||
                   $"{nameof(value)} must be between 0 and 1.");
 | 
					 | 
				
			||||||
                else
 | 
					 | 
				
			||||||
                    _probability = value;
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
@@ -1,12 +1,9 @@
 | 
				
			|||||||
using System;
 | 
					using System;
 | 
				
			||||||
using InfluxDB.Client;
 | 
					 | 
				
			||||||
using InfluxDB.Client.Api.Domain;
 | 
					 | 
				
			||||||
using InfluxDB.Client.Core;
 | 
					using InfluxDB.Client.Core;
 | 
				
			||||||
using InfluxDB.Client.Writes;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
namespace OutputServiceTSDB.InfluxDB
 | 
					namespace OutputServiceTSDB.Models
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    [Measurement("temperature")]
 | 
					    [Measurement("result")]
 | 
				
			||||||
    public class MeasurementObject
 | 
					    public class MeasurementObject
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -8,7 +8,15 @@
 | 
				
			|||||||
  </PropertyGroup>
 | 
					  </PropertyGroup>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  <ItemGroup>
 | 
					  <ItemGroup>
 | 
				
			||||||
 | 
					    <PackageReference Include="InfluxDB.Client" Version="1.6.0" />
 | 
				
			||||||
 | 
					    <PackageReference Include="InfluxDB.Client.Flux" Version="1.6.0" />
 | 
				
			||||||
 | 
					    <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="3.1.3" />
 | 
				
			||||||
    <PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.3" />
 | 
					    <PackageReference Include="Microsoft.Extensions.Hosting" Version="3.1.3" />
 | 
				
			||||||
 | 
					    <PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.3" />
 | 
				
			||||||
 | 
					    <PackageReference Include="Microsoft.Extensions.Logging.Console" Version="3.1.3" />
 | 
				
			||||||
    <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" />
 | 
					    <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" />
 | 
				
			||||||
 | 
					    <PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
 | 
				
			||||||
 | 
					    <PackageReference Include="RabbitMQ.Client" Version="5.1.2" />
 | 
				
			||||||
 | 
					    <PackageReference Include="Sentry" Version="2.1.1" />
 | 
				
			||||||
  </ItemGroup>
 | 
					  </ItemGroup>
 | 
				
			||||||
</Project>
 | 
					</Project>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										29
									
								
								Program.cs
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								Program.cs
									
									
									
									
									
								
							@@ -1,24 +1,29 @@
 | 
				
			|||||||
using System;
 | 
					using OutputServiceTSDB.RabbitMQ;
 | 
				
			||||||
using System.Collections.Generic;
 | 
					using Sentry;
 | 
				
			||||||
using System.Linq;
 | 
					 | 
				
			||||||
using System.Threading.Tasks;
 | 
					 | 
				
			||||||
using Microsoft.Extensions.DependencyInjection;
 | 
					using Microsoft.Extensions.DependencyInjection;
 | 
				
			||||||
using Microsoft.Extensions.Hosting;
 | 
					using Microsoft.Extensions.Logging;
 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace OutputServiceTSDB
 | 
					namespace OutputServiceTSDB
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    public class Program
 | 
					    public class Program
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        public static void Main(string[] args)
 | 
					        public static void Main(string[] args)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            CreateHostBuilder(args).Build().Run();
 | 
					            using (SentrySdk.Init("https://744f5d479bdb4478b386173b92d081ac@sentry.kmlabz.com/12"))
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                var serviceCollection = new ServiceCollection();
 | 
				
			||||||
 | 
					                ConfigureServices(serviceCollection);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                var serviceProvider = serviceCollection.BuildServiceProvider();
 | 
				
			||||||
 | 
					                RabbitMQWorker rabbitMQWorker = serviceProvider.GetService<RabbitMQWorker>();
 | 
				
			||||||
 | 
					                rabbitMQWorker.ProcessMessages();
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        public static IHostBuilder CreateHostBuilder(string[] args) =>
 | 
					        private static void ConfigureServices(IServiceCollection services)
 | 
				
			||||||
            Host.CreateDefaultBuilder(args)
 | 
					 | 
				
			||||||
                .ConfigureServices((hostContext, services) =>
 | 
					 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
                    services.AddHostedService<Worker>();
 | 
					            services.AddLogging(configure => configure.AddConsole())
 | 
				
			||||||
                });
 | 
					                .Configure<LoggerFilterOptions>(options => options.MinLevel = LogLevel.Information)
 | 
				
			||||||
 | 
					                .AddTransient<RabbitMQWorker>();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,68 +0,0 @@
 | 
				
			|||||||
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" };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            _connection = factory.CreateConnection();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            _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) =>
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                var content = System.Text.Encoding.UTF8.GetString(ea.Body);
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
                HandleMessage(content);
 | 
					 | 
				
			||||||
                _channel.BasicAck(ea.DeliveryTag, false);
 | 
					 | 
				
			||||||
            };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
            _channel.BasicConsume("demo.queue.log", false, consumer);
 | 
					 | 
				
			||||||
            return Task.CompletedTask;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        private void HandleMessage(string content)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            _logger.LogInformation($"consumer received {content}");
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public override void Dispose()
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            _channel.Close();
 | 
					 | 
				
			||||||
            _connection.Close();
 | 
					 | 
				
			||||||
            base.Dispose();
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
							
								
								
									
										64
									
								
								RabbitMQ/RabbitMQWorker.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								RabbitMQ/RabbitMQWorker.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,64 @@
 | 
				
			|||||||
 | 
					using RabbitMQ.Client;
 | 
				
			||||||
 | 
					using RabbitMQ.Client.Events;
 | 
				
			||||||
 | 
					using OutputServiceTSDB.Utilities;
 | 
				
			||||||
 | 
					using Microsoft.Extensions.Logging;
 | 
				
			||||||
 | 
					using System.Threading.Tasks;
 | 
				
			||||||
 | 
					using OutputServiceTSDB.InfluxDB;
 | 
				
			||||||
 | 
					using OutputServiceTSDB.Models;
 | 
				
			||||||
 | 
					using Newtonsoft.Json;
 | 
				
			||||||
 | 
					using System;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace OutputServiceTSDB.RabbitMQ
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public class RabbitMQWorker : IDisposable
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        private readonly ILogger _logger;
 | 
				
			||||||
 | 
					        private IConnection _connection;
 | 
				
			||||||
 | 
					        private IModel _channel;
 | 
				
			||||||
 | 
					        private InfluxWriter influxWriter;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public RabbitMQWorker(ILogger<RabbitMQWorker> logger)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            _logger = logger;
 | 
				
			||||||
 | 
					            influxWriter = new InfluxWriter();
 | 
				
			||||||
 | 
					            InitRabbitMQ();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        private void InitRabbitMQ()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            var factory = new ConnectionFactory { HostName = EnvironmentVariableConfiguration.RabbitMQHostname, UserName = EnvironmentVariableConfiguration.RabbitMQUserName, Password = EnvironmentVariableConfiguration.RabbitMQPassword };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            _connection = factory.CreateConnection();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            _channel = _connection.CreateModel();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            _channel.ExchangeDeclare(EnvironmentVariableConfiguration.RabbitMQExchange, ExchangeType.Topic);
 | 
				
			||||||
 | 
					            _channel.QueueDeclare(EnvironmentVariableConfiguration.RabbitMQQueue, false, false, false, null);
 | 
				
			||||||
 | 
					            _channel.QueueBind(EnvironmentVariableConfiguration.RabbitMQQueue, EnvironmentVariableConfiguration.RabbitMQExchange, null, null);
 | 
				
			||||||
 | 
					            _channel.BasicQos(0, 1, false);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void ProcessMessages()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            var consumer = new AsyncEventingBasicConsumer(_channel);
 | 
				
			||||||
 | 
					            consumer.Received += HandleMessage;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            _channel.BasicConsume("demo.queue.log", false, consumer);
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        private async Task HandleMessage(object sender, BasicDeliverEventArgs @event)
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            var content = System.Text.Encoding.UTF8.GetString(@event.Body);
 | 
				
			||||||
 | 
					            _logger.LogInformation($"received {content}");
 | 
				
			||||||
 | 
					            MeasurementObject measurementObject = JsonConvert.DeserializeObject<MeasurementObject>(content);
 | 
				
			||||||
 | 
					            await Task.Run(() => influxWriter.Write(measurementObject));
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        public void Dispose()
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            _channel.Close();
 | 
				
			||||||
 | 
					            _connection.Close();
 | 
				
			||||||
 | 
					            influxWriter.Dispose();
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										71
									
								
								Utilities/EnvironmentVariableConfiguration.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										71
									
								
								Utilities/EnvironmentVariableConfiguration.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,71 @@
 | 
				
			|||||||
 | 
					using System;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					namespace OutputServiceTSDB.Utilities
 | 
				
			||||||
 | 
					{
 | 
				
			||||||
 | 
					    public static class EnvironmentVariableConfiguration
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        public static string RabbitMQHostname
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Environment.GetEnvironmentVariable("CS_RABBITMQ_HOSTNAME");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public static string RabbitMQUserName
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Environment.GetEnvironmentVariable("CS_RABBITMQ_USERNAME");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public static string RabbitMQPassword
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Environment.GetEnvironmentVariable("CS_RABBITMQ_PASSWORD");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public static string RabbitMQExchange
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Environment.GetEnvironmentVariable("CS_RABBITMQ_EXCHANGE");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public static string RabbitMQQueue
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Environment.GetEnvironmentVariable("CS_RABBITMQ_QUEUE");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public static string InfluxDBHost
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Environment.GetEnvironmentVariable("CS_INFLUXDB_HOST");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public static string InfluxDBToken
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Environment.GetEnvironmentVariable("CS_INFLUXDB_TOKEN");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public static string InfluxDBBucket
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Environment.GetEnvironmentVariable("CS_INFLUXDB_BUCKET");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        public static string InfluxDBOrg
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            get
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                return Environment.GetEnvironmentVariable("CS_INFLUXDB_ORG");
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
							
								
								
									
										29
									
								
								Worker.cs
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								Worker.cs
									
									
									
									
									
								
							@@ -1,29 +0,0 @@
 | 
				
			|||||||
using System;
 | 
					 | 
				
			||||||
using System.Collections.Generic;
 | 
					 | 
				
			||||||
using System.Linq;
 | 
					 | 
				
			||||||
using System.Threading;
 | 
					 | 
				
			||||||
using System.Threading.Tasks;
 | 
					 | 
				
			||||||
using Microsoft.Extensions.Hosting;
 | 
					 | 
				
			||||||
using Microsoft.Extensions.Logging;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
namespace OutputServiceTSDB
 | 
					 | 
				
			||||||
{
 | 
					 | 
				
			||||||
    public class Worker : BackgroundService
 | 
					 | 
				
			||||||
    {
 | 
					 | 
				
			||||||
        private readonly ILogger<Worker> _logger;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        public Worker(ILogger<Worker> logger)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            _logger = logger;
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        protected override async Task ExecuteAsync(CancellationToken stoppingToken)
 | 
					 | 
				
			||||||
        {
 | 
					 | 
				
			||||||
            while (!stoppingToken.IsCancellationRequested)
 | 
					 | 
				
			||||||
            {
 | 
					 | 
				
			||||||
                _logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now);
 | 
					 | 
				
			||||||
                await Task.Delay(1000, stoppingToken);
 | 
					 | 
				
			||||||
            }
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
							
								
								
									
										17
									
								
								k8s/configmap.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								k8s/configmap.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					    apiVersion: v1
 | 
				
			||||||
 | 
					    kind: ConfigMap
 | 
				
			||||||
 | 
					    metadata:
 | 
				
			||||||
 | 
					      name: output-service-tsdb-config
 | 
				
			||||||
 | 
					      labels:
 | 
				
			||||||
 | 
					        app: output-service-tsdb
 | 
				
			||||||
 | 
					      namespace: birbnetes
 | 
				
			||||||
 | 
					    data:
 | 
				
			||||||
 | 
					      CS_RABBITMQ_HOSTNAME: rabbitmq
 | 
				
			||||||
 | 
					      CS_RABBITMQ_USERNAME: rabbitmq
 | 
				
			||||||
 | 
					      CS_RABBITMQ_PASSWORD: rabbitmq
 | 
				
			||||||
 | 
					      CS_RABBITMQ_EXCHANGE: rabbitmq
 | 
				
			||||||
 | 
					      CS_RABBITMQ_QUEUE: rabbitmq
 | 
				
			||||||
 | 
					      CS_INFLUXDB_HOST: "http://localhost:9999/"
 | 
				
			||||||
 | 
					      CS_INFLUXDB_TOKEN: ""
 | 
				
			||||||
 | 
					      CS_INFLUXDB_BUCKET: buck_ket
 | 
				
			||||||
 | 
					      CS_INFLUXDB_ORG: birbnetes
 | 
				
			||||||
							
								
								
									
										25
									
								
								k8s/deployment.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								k8s/deployment.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
				
			|||||||
 | 
					apiVersion: apps/v1
 | 
				
			||||||
 | 
					kind: Deployment
 | 
				
			||||||
 | 
					metadata:
 | 
				
			||||||
 | 
					  name: output-service-tsdb
 | 
				
			||||||
 | 
					  namespace: birbnetes
 | 
				
			||||||
 | 
					  labels:
 | 
				
			||||||
 | 
					    app: output-service-tsdb
 | 
				
			||||||
 | 
					spec:
 | 
				
			||||||
 | 
					  replicas: 1
 | 
				
			||||||
 | 
					  selector:
 | 
				
			||||||
 | 
					    matchLabels:
 | 
				
			||||||
 | 
					      app: output-service-tsdb
 | 
				
			||||||
 | 
					  strategy:
 | 
				
			||||||
 | 
					    type: Recreate
 | 
				
			||||||
 | 
					  template:
 | 
				
			||||||
 | 
					    metadata:
 | 
				
			||||||
 | 
					      labels:
 | 
				
			||||||
 | 
					        app: output-service-tsdb
 | 
				
			||||||
 | 
					    spec:
 | 
				
			||||||
 | 
					      containers:
 | 
				
			||||||
 | 
					        - image: registry.kmlabz.com/tormakris/output-service-tsdb
 | 
				
			||||||
 | 
					          name: output-service-tsdb
 | 
				
			||||||
 | 
					          envFrom:
 | 
				
			||||||
 | 
					            - configMapRef:
 | 
				
			||||||
 | 
					                name: output-service-tsdb-config
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							@@ -38,13 +38,45 @@
 | 
				
			|||||||
      "frameworks": {
 | 
					      "frameworks": {
 | 
				
			||||||
        "netcoreapp3.1": {
 | 
					        "netcoreapp3.1": {
 | 
				
			||||||
          "dependencies": {
 | 
					          "dependencies": {
 | 
				
			||||||
 | 
					            "InfluxDB.Client": {
 | 
				
			||||||
 | 
					              "target": "Package",
 | 
				
			||||||
 | 
					              "version": "[1.6.0, )"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "InfluxDB.Client.Flux": {
 | 
				
			||||||
 | 
					              "target": "Package",
 | 
				
			||||||
 | 
					              "version": "[1.6.0, )"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "Microsoft.Extensions.DependencyInjection": {
 | 
				
			||||||
 | 
					              "target": "Package",
 | 
				
			||||||
 | 
					              "version": "[3.1.3, )"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
            "Microsoft.Extensions.Hosting": {
 | 
					            "Microsoft.Extensions.Hosting": {
 | 
				
			||||||
              "target": "Package",
 | 
					              "target": "Package",
 | 
				
			||||||
              "version": "[3.1.3, )"
 | 
					              "version": "[3.1.3, )"
 | 
				
			||||||
            },
 | 
					            },
 | 
				
			||||||
 | 
					            "Microsoft.Extensions.Logging": {
 | 
				
			||||||
 | 
					              "target": "Package",
 | 
				
			||||||
 | 
					              "version": "[3.1.3, )"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "Microsoft.Extensions.Logging.Console": {
 | 
				
			||||||
 | 
					              "target": "Package",
 | 
				
			||||||
 | 
					              "version": "[3.1.3, )"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
            "Microsoft.VisualStudio.Azure.Containers.Tools.Targets": {
 | 
					            "Microsoft.VisualStudio.Azure.Containers.Tools.Targets": {
 | 
				
			||||||
              "target": "Package",
 | 
					              "target": "Package",
 | 
				
			||||||
              "version": "[1.10.8, )"
 | 
					              "version": "[1.10.8, )"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "Newtonsoft.Json": {
 | 
				
			||||||
 | 
					              "target": "Package",
 | 
				
			||||||
 | 
					              "version": "[12.0.3, )"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "RabbitMQ.Client": {
 | 
				
			||||||
 | 
					              "target": "Package",
 | 
				
			||||||
 | 
					              "version": "[5.1.2, )"
 | 
				
			||||||
 | 
					            },
 | 
				
			||||||
 | 
					            "Sentry": {
 | 
				
			||||||
 | 
					              "target": "Package",
 | 
				
			||||||
 | 
					              "version": "[2.1.1, )"
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
          },
 | 
					          },
 | 
				
			||||||
          "imports": [
 | 
					          "imports": [
 | 
				
			||||||
 
 | 
				
			|||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							@@ -1,9 +1,15 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "version": 2,
 | 
					  "version": 2,
 | 
				
			||||||
  "dgSpecHash": "mYqnDBh7gyuUAnvgj5/8vPL9cJ+ZWu7aO2JdxaYLjtvBwJwhNpx725GUSMidxekodew5NYbVddqYG7TNoXdX4A==",
 | 
					  "dgSpecHash": "Y/6fMu2P/3gq1w+wO9swqWBfIAy49Js0lDcBxLmORYkmSYDUbIKsTkVnSDtk0GHLM9lS0j/m07/jpNWC8WvQNg==",
 | 
				
			||||||
  "success": true,
 | 
					  "success": true,
 | 
				
			||||||
  "projectFilePath": "C:\\Users\\Torma Kristóf\\source\\repos\\OutputServiceTSDB\\OutputServiceTSDB.csproj",
 | 
					  "projectFilePath": "C:\\Users\\Torma Kristóf\\source\\repos\\OutputServiceTSDB\\OutputServiceTSDB.csproj",
 | 
				
			||||||
  "expectedPackageFiles": [
 | 
					  "expectedPackageFiles": [
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\csvhelper\\8.1.1\\csvhelper.8.1.1.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\influxdb.client\\1.6.0\\influxdb.client.1.6.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "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\\influxdb.client.flux\\1.6.0\\influxdb.client.flux.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.configuration\\3.1.3\\microsoft.extensions.configuration.3.1.3.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.configuration\\3.1.3\\microsoft.extensions.configuration.3.1.3.nupkg.sha512",
 | 
				
			||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\3.1.3\\microsoft.extensions.configuration.abstractions.3.1.3.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\3.1.3\\microsoft.extensions.configuration.abstractions.3.1.3.nupkg.sha512",
 | 
				
			||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.configuration.binder\\3.1.3\\microsoft.extensions.configuration.binder.3.1.3.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.configuration.binder\\3.1.3\\microsoft.extensions.configuration.binder.3.1.3.nupkg.sha512",
 | 
				
			||||||
@@ -29,12 +35,99 @@
 | 
				
			|||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.options\\3.1.3\\microsoft.extensions.options.3.1.3.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.options\\3.1.3\\microsoft.extensions.options.3.1.3.nupkg.sha512",
 | 
				
			||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\3.1.3\\microsoft.extensions.options.configurationextensions.3.1.3.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\3.1.3\\microsoft.extensions.options.configurationextensions.3.1.3.nupkg.sha512",
 | 
				
			||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.primitives\\3.1.3\\microsoft.extensions.primitives.3.1.3.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.extensions.primitives\\3.1.3\\microsoft.extensions.primitives.3.1.3.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\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
 | 
				
			||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.visualstudio.azure.containers.tools.targets\\1.10.8\\microsoft.visualstudio.azure.containers.tools.targets.1.10.8.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.visualstudio.azure.containers.tools.targets\\1.10.8\\microsoft.visualstudio.azure.containers.tools.targets.1.10.8.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.win32.primitives\\4.3.0\\microsoft.win32.primitives.4.3.0.nupkg.sha512",
 | 
				
			||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\netstandard.library\\1.6.1\\netstandard.library.1.6.1.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\newtonsoft.json\\12.0.3\\newtonsoft.json.12.0.3.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\nodatime\\2.4.1\\nodatime.2.4.1.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\nodatime.serialization.jsonnet\\2.0.0\\nodatime.serialization.jsonnet.2.0.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\rabbitmq.client\\5.1.2\\rabbitmq.client.5.1.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\restsharp\\106.6.10\\restsharp.106.6.10.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.native.system.io.compression\\4.3.0\\runtime.native.system.io.compression.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.native.system.net.http\\4.3.0\\runtime.native.system.net.http.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.native.system.security.cryptography.apple\\4.3.0\\runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple\\4.3.0\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.2\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "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.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",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.buffers\\4.5.0\\system.buffers.4.5.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.collections.immutable\\1.5.0\\system.collections.immutable.1.5.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.configuration.configurationmanager\\4.5.0\\system.configuration.configurationmanager.4.5.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.console\\4.3.0\\system.console.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.3.0\\system.diagnostics.diagnosticsource.4.3.0.nupkg.sha512",
 | 
				
			||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.diagnostics.eventlog\\4.7.0\\system.diagnostics.eventlog.4.7.0.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.diagnostics.eventlog\\4.7.0\\system.diagnostics.eventlog.4.7.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.diagnostics.tools\\4.3.0\\system.diagnostics.tools.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.globalization.calendars\\4.3.0\\system.globalization.calendars.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\system.globalization.extensions.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.io.compression\\4.3.0\\system.io.compression.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.io.compression.zipfile\\4.3.0\\system.io.compression.zipfile.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "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.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",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.objectmodel\\4.3.0\\system.objectmodel.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.reactive\\4.1.2\\system.reactive.4.1.2.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.reflection.emit\\4.3.0\\system.reflection.emit.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.reflection.emit.ilgeneration\\4.3.0\\system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.reflection.emit.lightweight\\4.3.0\\system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "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.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",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.runtime.interopservices.runtimeinformation\\4.3.0\\system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.runtime.interopservices.windowsruntime\\4.3.0\\system.runtime.interopservices.windowsruntime.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.runtime.numerics\\4.3.0\\system.runtime.numerics.4.3.0.nupkg.sha512",
 | 
				
			||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512",
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512",
 | 
				
			||||||
    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512"
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.cryptography.algorithms\\4.3.0\\system.security.cryptography.algorithms.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.cryptography.cng\\4.3.0\\system.security.cryptography.cng.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.cryptography.csp\\4.3.0\\system.security.cryptography.csp.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.cryptography.encoding\\4.3.0\\system.security.cryptography.encoding.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.cryptography.openssl\\4.3.0\\system.security.cryptography.openssl.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.cryptography.protecteddata\\4.5.0\\system.security.cryptography.protecteddata.4.5.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.cryptography.x509certificates\\4.3.0\\system.security.cryptography.x509certificates.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.permissions\\4.5.0\\system.security.permissions.4.5.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.1\\system.threading.tasks.extensions.4.5.1.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.threading.timer\\4.3.0\\system.threading.timer.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
 | 
				
			||||||
 | 
					    "C:\\Users\\Torma Kristóf\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512"
 | 
				
			||||||
  ],
 | 
					  ],
 | 
				
			||||||
  "logs": []
 | 
					  "logs": []
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user