diff --git a/.dotnet-cli/.nuget/packages/microsoft.net.test.sdk/17.10.0/build/netcoreapp3.1/Microsoft.NET.Test.Sdk.Program.cs b/.dotnet-cli/.nuget/packages/microsoft.net.test.sdk/17.10.0/build/netcoreapp3.1/Microsoft.NET.Test.Sdk.Program.cs new file mode 100644 index 000000000..527753541 --- /dev/null +++ b/.dotnet-cli/.nuget/packages/microsoft.net.test.sdk/17.10.0/build/netcoreapp3.1/Microsoft.NET.Test.Sdk.Program.cs @@ -0,0 +1,4 @@ +// This file has been auto generated. +using System; +[Microsoft.VisualStudio.TestPlatform.TestSDKAutoGeneratedCode] +class AutoGeneratedProgram {static void Main(string[] args){}} \ No newline at end of file diff --git a/src/DataStreamSuite/.vscode/settings.json b/src/DataStreamSuite/.vscode/settings.json new file mode 100644 index 000000000..4f545abc7 --- /dev/null +++ b/src/DataStreamSuite/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "dotnet.preferCSharpExtension": true +} \ No newline at end of file diff --git a/src/DataStreamSuite/DSPublisher/Configurations/.gitkeep b/src/DataStreamSuite/DSPublisher/Configurations/.gitkeep new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/Configurations/.gitkeep @@ -0,0 +1 @@ + diff --git a/src/DataStreamSuite/DSPublisher/DSLWSClient/dsl_websocket_client.py b/src/DataStreamSuite/DSPublisher/DSLWSClient/dsl_websocket_client.py new file mode 100644 index 000000000..92dd8d30d --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/DSLWSClient/dsl_websocket_client.py @@ -0,0 +1,168 @@ +""" +Simple DSPublisher DSL websocket client. + +Example: + python dsl_websocket_client.py --dsl "HeikinAshiStream(...)" + python dsl_websocket_client.py --dsl-file query.dsl +""" + +import argparse +import asyncio +import json +import os +import subprocess +import sys +from pathlib import Path + +try: + import websockets +except ImportError: + print("Installing missing dependency: websockets") + subprocess.check_call([sys.executable, "-m", "pip", "install", "websockets"]) + import websockets + + +DEFAULT_DSL = 'RSIUIStream("ES", "TIME", 5, 7)' +DEFAULT_URL = "ws://localhost:19093/ws/" + + +def load_dsl(dsl: str | None, dsl_file: str | None) -> str: + if dsl and dsl_file: + raise ValueError("Pass either --dsl or --dsl-file, not both.") + + if dsl_file: + return Path(dsl_file).read_text(encoding="utf-8").strip() + + if dsl: + return dsl.strip() + + if DEFAULT_DSL.startswith("#"): + raise ValueError("No DSL provided. Fill in DEFAULT_DSL, or pass --dsl / --dsl-file.") + + return DEFAULT_DSL + + +def load_config_path(config_path: str | None) -> Path | None: + if config_path: + return Path(config_path) + + environment = os.environ.get("DOTNET_ENVIRONMENT") + config_file_name = "appsettings.json" if not environment else f"appsettings.{environment}.json" + script_dir = Path(__file__).resolve().parent + candidate_dirs = [ + script_dir, + script_dir.parent, + Path.cwd(), + ] + + for candidate_dir in candidate_dirs: + candidate_path = candidate_dir / config_file_name + if candidate_path.exists(): + return candidate_path + + return None + + +def load_url(url: str | None, config_path: str | None) -> str: + if url: + return url + + resolved_config_path = load_config_path(config_path) + if not resolved_config_path: + print(f"Config file not found; using default url: {DEFAULT_URL}") + return DEFAULT_URL + + config = json.loads(resolved_config_path.read_text(encoding="utf-8")) + dsl_api_server_config = config.get("DSLAPIServer", {}) + ip = dsl_api_server_config.get("Ip", "localhost") + port = int(dsl_api_server_config.get("Port", 19093)) + ws_url = f"ws://{ip}:{port}/ws/" + print(f"Loaded DSPublisher DSL websocket url from {resolved_config_path}: {ws_url}") + return ws_url + + +async def send_subscription(websocket, dsl: str) -> None: + payload = { + "type": "subscribe", + "dsl": dsl, + } + await websocket.send(json.dumps(payload)) + print("Sent subscribe request:") + print(json.dumps(payload, indent=2)) + + +async def send_unsubscribe(websocket, subscription_id: str) -> None: + payload = { + "type": "unsubscribe", + "subscriptionId": subscription_id, + } + await websocket.send(json.dumps(payload)) + print("Sent unsubscribe request:") + print(json.dumps(payload, indent=2)) + + +def print_server_message(raw_message: str) -> str | None: + try: + message = json.loads(raw_message) + except json.JSONDecodeError: + print(raw_message) + return None + + print("Received server message:") + print(json.dumps(message, indent=2)) + return message.get("subscriptionId") + + +async def run_client(url: str, dsl: str) -> None: + subscription_id: str | None = None + + async with websockets.connect(url) as websocket: + print(f"Connected to DSPublisher DSL websocket: {url}") + await send_subscription(websocket, dsl) + + try: + async for raw_message in websocket: + latest_subscription_id = print_server_message(raw_message) + subscription_id = subscription_id or latest_subscription_id + finally: + if subscription_id: + await send_unsubscribe(websocket, subscription_id) + + +def main() -> int: + parser = argparse.ArgumentParser( + description="Subscribe to a DSPublisher DSL websocket query and print responses." + ) + parser.add_argument( + "--url", + help="DSPublisher DSL websocket URL. Overrides appsettings DSLAPIServer config.", + ) + parser.add_argument( + "--config", + help="Path to DSPublisher appsettings JSON. Defaults to appsettings[.$DOTNET_ENVIRONMENT].json near this script.", + ) + parser.add_argument( + "--dsl", + help="DSL expression to subscribe to.", + ) + parser.add_argument( + "--dsl-file", + help="Path to a text file containing the DSL expression.", + ) + args = parser.parse_args() + + try: + dsl = load_dsl(args.dsl, args.dsl_file) + url = load_url(args.url, args.config) + asyncio.run(run_client(url, dsl)) + return 0 + except KeyboardInterrupt: + print("stopped") + return 0 + except Exception as ex: + print(f"error: {ex}") + return 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/src/DataStreamSuite/DSPublisher/DSLWSServer/DSLAPIWSListener.cs b/src/DataStreamSuite/DSPublisher/DSLWSServer/DSLAPIWSListener.cs new file mode 100644 index 000000000..94df64ce9 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/DSLWSServer/DSLAPIWSListener.cs @@ -0,0 +1,264 @@ +namespace DSPublisher.DSLWSServer; + +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Net; +using System.Net.WebSockets; +using System.Text; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; + +using BCG; +using Bts.DataStreamCore; + +/// +/// Websocket-facing API boundary for DSL clients. It opens the listener port, +/// accepts subscribe/unsubscribe messages, and sends DataPacket JSON back to clients. +/// Instantiated by DSPAPIServer. +/// +public sealed class DSLAPIWSListener : IDisposable { + readonly HttpListener listener = new(); + readonly IDSLBookkeeper bookkeeper; + readonly string prefix; + readonly ConcurrentDictionary clients_by_id = new(); + CancellationTokenSource? cancellation_token_source; + Task? listener_task; + bool disposed; + + sealed class ClientConnection { + public required string client_id { get; init; } + public required WebSocket web_socket { get; init; } + public HashSet subscription_ids { get; } = new(); + public SemaphoreSlim send_lock { get; } = new(1, 1); + public DataPacketJsonSerializer serializer { get; } = new(); + } + + public DSLAPIWSListener(string prefix, IDSLBookkeeper bookkeeper) { + ArgumentException.ThrowIfNullOrWhiteSpace(prefix); + ArgumentNullException.ThrowIfNull(bookkeeper); + this.prefix = prefix; + this.bookkeeper = bookkeeper; + } + + public Task StartAsync(CancellationToken cancellation_token = default) { + _throw_if_disposed(); + if (listener_task is not null) { + return Task.CompletedTask; + } + + cancellation_token_source = CancellationTokenSource.CreateLinkedTokenSource(cancellation_token); + listener.Prefixes.Add(prefix); + listener.Start(); + listener_task = Task.Run(() => _listen_loop(cancellation_token_source.Token), CancellationToken.None); + return Task.CompletedTask; + } + + public async Task StopAsync() { + if (cancellation_token_source is null) { + return; + } + + cancellation_token_source.Cancel(); + if (listener.IsListening) { + listener.Stop(); + } + + foreach (var client_connection in clients_by_id.Values) { + await _cleanup_client(client_connection); + } + + if (listener_task is not null) { + await listener_task; + listener_task = null; + } + + cancellation_token_source.Dispose(); + cancellation_token_source = null; + } + + public void Dispose() { + if (disposed) { + return; + } + + StopAsync().GetAwaiter().GetResult(); + listener.Close(); + disposed = true; + } + + async Task _listen_loop(CancellationToken cancellation_token) { + while (!cancellation_token.IsCancellationRequested) { + HttpListenerContext context; + try { + context = await listener.GetContextAsync(); + } catch (HttpListenerException) when (cancellation_token.IsCancellationRequested || !listener.IsListening) { + break; + } catch (ObjectDisposedException) { + break; + } + + _ = Task.Run(() => _handle_request(context, cancellation_token), cancellation_token); + } + } + + async Task _handle_request(HttpListenerContext context, CancellationToken cancellation_token) { + if (!context.Request.IsWebSocketRequest) { + context.Response.StatusCode = (int)HttpStatusCode.BadRequest; + context.Response.Close(); + return; + } + + HttpListenerWebSocketContext web_socket_context = await context.AcceptWebSocketAsync(null); + var client_connection = new ClientConnection { + client_id = Guid.NewGuid().ToString("N"), + web_socket = web_socket_context.WebSocket, + }; + + clients_by_id[client_connection.client_id] = client_connection; + try { + await _read_messages(client_connection, cancellation_token); + } finally { + await _cleanup_client(client_connection); + } + } + + async Task _read_messages(ClientConnection client_connection, CancellationToken cancellation_token) { + var buffer = new byte[64 * 1024]; + while (client_connection.web_socket.State == WebSocketState.Open && !cancellation_token.IsCancellationRequested) { + var result = await client_connection.web_socket.ReceiveAsync(buffer, cancellation_token); + if (result.MessageType == WebSocketMessageType.Close) { + await client_connection.web_socket.CloseAsync(WebSocketCloseStatus.NormalClosure, "ok", cancellation_token); + break; + } + + var json = Encoding.UTF8.GetString(buffer, 0, result.Count); + await _handle_message(client_connection, json, cancellation_token); + } + } + + async Task _handle_message(ClientConnection client_connection, string json, CancellationToken cancellation_token) { + DSLWebSocketRequest? request; + try { + request = JsonSerializer.Deserialize(json); + } catch (JsonException ex) { + await _send_error(client_connection, $"Invalid request JSON: {ex.Message}", cancellation_token); + return; + } + + if (request?.type is null) { + await _send_error(client_connection, "Request type is required.", cancellation_token); + return; + } + + if (string.Equals(request.type, "subscribe", StringComparison.OrdinalIgnoreCase)) { + await _handle_subscribe(client_connection, request, cancellation_token); + return; + } + + if (string.Equals(request.type, "unsubscribe", StringComparison.OrdinalIgnoreCase)) { + await _handle_unsubscribe(client_connection, request, cancellation_token); + return; + } + + await _send_error(client_connection, $"Unknown request type: {request.type}", cancellation_token); + } + + async Task _handle_subscribe(ClientConnection client_connection, DSLWebSocketRequest request, CancellationToken cancellation_token) { + if (string.IsNullOrWhiteSpace(request.dsl)) { + await _send_error(client_connection, "Subscribe request requires dsl.", cancellation_token); + return; + } + + Guid subscription_id = Guid.Empty; + subscription_id = bookkeeper.Subscribe(request.dsl, packet => { + if (subscription_id == Guid.Empty) { + return; + } + _ = _send_packet(client_connection, subscription_id, packet, CancellationToken.None); + }, client_connection.client_id); + + client_connection.subscription_ids.Add(subscription_id); + await _send_response(client_connection, new DSLWebSocketResponse { + type = "subscribed", + subscription_id = subscription_id, + }, cancellation_token); + } + + async Task _handle_unsubscribe(ClientConnection client_connection, DSLWebSocketRequest request, CancellationToken cancellation_token) { + if (request.subscription_id is null) { + await _send_error(client_connection, "Unsubscribe request requires subscriptionId.", cancellation_token); + return; + } + + var subscription_id = request.subscription_id.Value; + if (!client_connection.subscription_ids.Remove(subscription_id)) { + await _send_error(client_connection, $"Subscription does not belong to this client: {subscription_id}", cancellation_token); + return; + } + + bookkeeper.Unsubscribe(subscription_id); + await _send_response(client_connection, new DSLWebSocketResponse { + type = "unsubscribed", + subscription_id = subscription_id, + }, cancellation_token); + } + + async Task _send_packet(ClientConnection client_connection, Guid subscription_id, DataPacket packet, CancellationToken cancellation_token) { + var packet_json = client_connection.serializer.Serialize(packet); + using var packet_document = JsonDocument.Parse(packet_json ?? "{}"); + await _send_response(client_connection, new DSLWebSocketResponse { + type = "data", + subscription_id = subscription_id, + packet = packet_document.RootElement.Clone(), + }, cancellation_token); + } + + Task _send_error(ClientConnection client_connection, string message, CancellationToken cancellation_token) => + _send_response(client_connection, new DSLWebSocketResponse { + type = "error", + message = message, + }, cancellation_token); + + async Task _send_response(ClientConnection client_connection, DSLWebSocketResponse response, CancellationToken cancellation_token) { + if (client_connection.web_socket.State != WebSocketState.Open) { + bookkeeper.DisposeClient(client_connection.client_id); + return; + } + + var json = JsonSerializer.Serialize(response); + var bytes = Encoding.UTF8.GetBytes(json); + await client_connection.send_lock.WaitAsync(cancellation_token); + try { + await client_connection.web_socket.SendAsync(bytes, WebSocketMessageType.Text, true, cancellation_token); + } catch { + bookkeeper.DisposeClient(client_connection.client_id); + throw; + } finally { + client_connection.send_lock.Release(); + } + } + + async Task _cleanup_client(ClientConnection client_connection) { + if (clients_by_id.TryRemove(client_connection.client_id, out _)) { + bookkeeper.DisposeClient(client_connection.client_id); + } + + if (client_connection.web_socket.State == WebSocketState.Open || client_connection.web_socket.State == WebSocketState.CloseReceived) { + try { + await client_connection.web_socket.CloseAsync(WebSocketCloseStatus.NormalClosure, "cleanup", CancellationToken.None); + } catch { + } + } + + client_connection.send_lock.Dispose(); + client_connection.web_socket.Dispose(); + } + + void _throw_if_disposed() { + if (disposed) { + throw new ObjectDisposedException(nameof(DSLAPIWSListener)); + } + } +} diff --git a/src/DataStreamSuite/DSPublisher/DSLWSServer/DSLBookkeeper.cs b/src/DataStreamSuite/DSPublisher/DSLWSServer/DSLBookkeeper.cs new file mode 100644 index 000000000..b24f5576c --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/DSLWSServer/DSLBookkeeper.cs @@ -0,0 +1,202 @@ +namespace DSPublisher.DSLWSServer; + +using System; +using System.Collections.Generic; + +using BCG; +using Bts.DataStreamCore; +using bts.BlueOrb; + +/// +/// Tracks active DSL subscriptions and shared DSLStream instances. Multiple clients +/// subscribing to the same DSL reuse one stream, and DoWork dispatches queued packets. +/// Instantiated by DSPAPIServer. +/// +public sealed class DSLBookkeeper : IDSLBookkeeper { + sealed class QueryState { + public required string dsl { get; init; } + public required DSLStream stream { get; init; } + public DataStream.ChangeDelegate? stream_handler { get; set; } + public HashSet subscription_ids { get; } = new(); + public Queue pending_packets { get; } = new(); + } + + sealed class SubscriptionState { + public required Guid subscription_id { get; init; } + public required string client_id { get; init; } + public required string dsl_key { get; init; } + public required Action on_data { get; init; } + } + + readonly object lock_obj = new(); + readonly Dictionary queries_by_dsl = new(StringComparer.Ordinal); + readonly Dictionary subscriptions_by_id = new(); + readonly Dictionary> subscriptions_by_client = new(StringComparer.Ordinal); + bool disposed; + + public Guid Subscribe(string dsl, Action on_data, string client_id) { + ArgumentException.ThrowIfNullOrWhiteSpace(dsl); + ArgumentNullException.ThrowIfNull(on_data); + ArgumentException.ThrowIfNullOrWhiteSpace(client_id); + + lock (lock_obj) { + _throw_if_disposed(); + + var dsl_key = _normalize_dsl(dsl); + if (!queries_by_dsl.TryGetValue(dsl_key, out var query_state)) { + query_state = _create_query_state(dsl_key); + queries_by_dsl.Add(dsl_key, query_state); + } + + var subscription_id = Guid.NewGuid(); + var subscription_state = new SubscriptionState { + subscription_id = subscription_id, + client_id = client_id, + dsl_key = dsl_key, + on_data = on_data, + }; + + subscriptions_by_id.Add(subscription_id, subscription_state); + query_state.subscription_ids.Add(subscription_id); + + if (!subscriptions_by_client.TryGetValue(client_id, out var client_subscriptions)) { + client_subscriptions = new(); + subscriptions_by_client.Add(client_id, client_subscriptions); + } + client_subscriptions.Add(subscription_id); + + return subscription_id; + } + } + + public void Unsubscribe(Guid subscription_id) { + lock (lock_obj) { + if (disposed) { + return; + } + _unsubscribe_locked(subscription_id); + } + } + + public void DisposeClient(string client_id) { + ArgumentException.ThrowIfNullOrWhiteSpace(client_id); + + lock (lock_obj) { + if (disposed) { + return; + } + + if (!subscriptions_by_client.TryGetValue(client_id, out var subscription_ids)) { + return; + } + + foreach (var subscription_id in subscription_ids.ToArray()) { + _unsubscribe_locked(subscription_id); + } + } + } + + public void DoWork() { + List<(Action on_data, DataPacket packet)> callbacks = new(); + + lock (lock_obj) { + if (disposed) { + return; + } + + foreach (var query_state in queries_by_dsl.Values) { + while (query_state.pending_packets.TryDequeue(out var packet)) { + foreach (var subscription_id in query_state.subscription_ids) { + if (subscriptions_by_id.TryGetValue(subscription_id, out var subscription_state)) { + callbacks.Add((subscription_state.on_data, packet)); + } + } + } + } + } + + foreach (var callback in callbacks) { + callback.on_data(callback.packet); + } + } + + public void Dispose() { + lock (lock_obj) { + if (disposed) { + return; + } + + foreach (var query_state in queries_by_dsl.Values) { + _dispose_query_state(query_state); + } + + queries_by_dsl.Clear(); + subscriptions_by_id.Clear(); + subscriptions_by_client.Clear(); + disposed = true; + } + } + + QueryState _create_query_state(string dsl_key) { + var stream = new DSLStream(dsl_key); + var query_state = new QueryState { + dsl = dsl_key, + stream = stream, + }; + + DataStream.ChangeDelegate stream_handler = new_value => { + if (new_value is not DataPacket packet) { + return; + } + + lock (lock_obj) { + if (!disposed) { + query_state.pending_packets.Enqueue(packet); + } + } + }; + + query_state.stream_handler = stream_handler; + stream.onChange += stream_handler; + return query_state; + } + + void _unsubscribe_locked(Guid subscription_id) { + if (!subscriptions_by_id.Remove(subscription_id, out var subscription_state)) { + return; + } + + if (subscriptions_by_client.TryGetValue(subscription_state.client_id, out var client_subscriptions)) { + client_subscriptions.Remove(subscription_id); + if (client_subscriptions.Count == 0) { + subscriptions_by_client.Remove(subscription_state.client_id); + } + } + + if (queries_by_dsl.TryGetValue(subscription_state.dsl_key, out var query_state)) { + query_state.subscription_ids.Remove(subscription_id); + if (query_state.subscription_ids.Count == 0) { + _dispose_query_state(query_state); + queries_by_dsl.Remove(subscription_state.dsl_key); + } + } + } + + static string _normalize_dsl(string dsl) => + dsl.Trim(); + + static void _dispose_query_state(QueryState query_state) { + if (query_state.stream_handler is not null) { + query_state.stream.onChange -= query_state.stream_handler; + query_state.stream_handler = null; + } + query_state.subscription_ids.Clear(); + query_state.pending_packets.Clear(); + } + + void _throw_if_disposed() { + if (disposed) { + throw new ObjectDisposedException(nameof(DSLBookkeeper)); + } + } +} diff --git a/src/DataStreamSuite/DSPublisher/DSLWSServer/DSLWebSocketMessages.cs b/src/DataStreamSuite/DSPublisher/DSLWSServer/DSLWebSocketMessages.cs new file mode 100644 index 000000000..e7c964ff5 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/DSLWSServer/DSLWebSocketMessages.cs @@ -0,0 +1,39 @@ +namespace DSPublisher.DSLWSServer; + +using System; +using System.Text.Json; +using System.Text.Json.Serialization; + +/// +/// Client-to-server websocket protocol message for subscribing and unsubscribing. +/// Instantiated by System.Text.Json when DSLAPIWSListener deserializes client messages. +/// +public sealed class DSLWebSocketRequest { + [JsonPropertyName("type")] + public string? type { get; set; } + + [JsonPropertyName("dsl")] + public string? dsl { get; set; } + + [JsonPropertyName("subscriptionId")] + public Guid? subscription_id { get; set; } +} + +/// +/// Server-to-client websocket protocol message. Data responses carry serialized +/// DataPacket JSON in the packet field. +/// Instantiated by DSLAPIWSListener before serializing responses to clients. +/// +public sealed class DSLWebSocketResponse { + [JsonPropertyName("type")] + public string type { get; set; } = ""; + + [JsonPropertyName("subscriptionId")] + public Guid? subscription_id { get; set; } + + [JsonPropertyName("message")] + public string? message { get; set; } + + [JsonPropertyName("packet")] + public JsonElement? packet { get; set; } +} diff --git a/src/DataStreamSuite/DSPublisher/DSLWSServer/DSPAPIServer.cs b/src/DataStreamSuite/DSPublisher/DSLWSServer/DSPAPIServer.cs new file mode 100644 index 000000000..2d18df036 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/DSLWSServer/DSPAPIServer.cs @@ -0,0 +1,37 @@ +namespace DSPublisher.DSLWSServer; + +using System; +using System.Threading; +using System.Threading.Tasks; + +/// +/// Top-level DSPublisher API server. Owns the websocket listener and the DSL +/// subscription bookkeeper, and exposes the small lifecycle surface Program.cs uses. +/// Instantiated by Program.cs. +/// +public sealed class DSPAPIServer : IDisposable { + readonly DSLBookkeeper bookkeeper; + readonly DSLAPIWSListener web_socket_listener; + + public DSPAPIServer(global::DSLAPIServerConfig config) { + ArgumentNullException.ThrowIfNull(config); + bookkeeper = new DSLBookkeeper(); + var web_socket_prefix = $"http://{config.Ip}:{config.Port}/ws/"; + web_socket_listener = new DSLAPIWSListener(web_socket_prefix, bookkeeper); + Console.WriteLine($"DSPAPIServer listening for websocket DSL API requests on {web_socket_prefix}"); + } + + public Task StartAsync(CancellationToken cancellation_token = default) => + web_socket_listener.StartAsync(cancellation_token); + + public Task StopAsync() => + web_socket_listener.StopAsync(); + + public void DoWork() => + bookkeeper.DoWork(); + + public void Dispose() { + web_socket_listener.Dispose(); + bookkeeper.Dispose(); + } +} diff --git a/src/DataStreamSuite/DSPublisher/DSLWSServer/IDSLBookkeeper.cs b/src/DataStreamSuite/DSPublisher/DSLWSServer/IDSLBookkeeper.cs new file mode 100644 index 000000000..035be528f --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/DSLWSServer/IDSLBookkeeper.cs @@ -0,0 +1,18 @@ +namespace DSPublisher.DSLWSServer; + +using System; + +using BCG; +using Bts.DataStreamCore; + +/// +/// Internal contract between the websocket listener and the DSL subscription owner. +/// The listener handles transport; the bookkeeper owns stream lifetime and callbacks. +/// Implemented by DSLBookkeeper and consumed by DSLAPIWSListener. +/// +public interface IDSLBookkeeper : IDisposable { + Guid Subscribe(string dsl, Action on_data, string client_id); + void Unsubscribe(Guid subscription_id); + void DisposeClient(string client_id); + void DoWork(); +} diff --git a/src/DataStreamSuite/DSPublisher/DSPublisher.csproj b/src/DataStreamSuite/DSPublisher/DSPublisher.csproj new file mode 100644 index 000000000..22a255a62 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/DSPublisher.csproj @@ -0,0 +1,28 @@ + + + + Exe + net8.0 + enable + enable + + + + + + + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + diff --git a/src/DataStreamSuite/DSPublisher/DSPublisherConfig.cs b/src/DataStreamSuite/DSPublisher/DSPublisherConfig.cs new file mode 100644 index 000000000..15cc80610 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/DSPublisherConfig.cs @@ -0,0 +1,21 @@ +using System.Collections.Generic; + +public sealed class DSPublisherConfig { + public List StreamPublishingNodes { get; init; } = new(); + public List PythonPublishingNodes { get; init; } = new(); +} + +public sealed class DSLAPIServerConfig { + public string Ip { get; init; } = "localhost"; + public int Port { get; init; } = 19093; +} + +public sealed class StreamPublishingNode { + public string Name { get; init; } = string.Empty; + public string Expression { get; init; } = string.Empty; +} + +public sealed class PythonPublishingNode { + public string PythonScriptLocation { get; init; } = string.Empty; + public string Args { get; init; } = string.Empty; +} diff --git a/src/DataStreamSuite/DSPublisher/Program.cs b/src/DataStreamSuite/DSPublisher/Program.cs new file mode 100644 index 000000000..9f617abe6 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/Program.cs @@ -0,0 +1,119 @@ +using System; +using System.IO; +using System.Text.Json; +using System.Threading; + +using BCG; +using bts; +using Bts.PubSub; +using bts.BlueOrb; +using DSPublisher.DSLWSServer; + +Console.WriteLine("Starting DSPublisher"); + +var configPath = load_config_path(); +Console.WriteLine($"Loading config from: {configPath}"); +if (!File.Exists(configPath)) { + Console.WriteLine($"Config file not found: {configPath}"); + return; +} + +var json = File.ReadAllText(configPath); +using var doc = JsonDocument.Parse(json); + +if (!doc.RootElement.TryGetProperty("DSPublisher", out var dspPublisherElement)) { + Console.WriteLine("DSPublisher config section not found"); + return; +} + +var json_options = new JsonSerializerOptions { + PropertyNameCaseInsensitive = true, +}; + +var config = dspPublisherElement.Deserialize(json_options) ?? new DSPublisherConfig(); +var dsl_api_server_config = load_dsl_api_server_config(doc, json_options); + +Console.WriteLine("StreamPublishingNodes:"); +foreach (var node in config.StreamPublishingNodes) { + Console.WriteLine($" Name: {node.Name}"); + Console.WriteLine($" Expression: {node.Expression}"); +} + +Console.WriteLine("PythonPublishingNodes:"); +foreach (var node in config.PythonPublishingNodes) { + Console.WriteLine($" PythonScriptLocation: {node.PythonScriptLocation}"); + Console.WriteLine($" Args: {node.Args}"); +} + +var pubsub_config = load_pubsub_config(doc, json_options); +PubSubConfig.SetGlobalConfig(pubsub_config); +using var view_stream_database = new ViewStreamDatabase(new SubscriberCoreFactory()); +ViewStreamDatabase.SetGlobalInstance(view_stream_database); + +//var pub_table_broker = new PubTableBroker(); +//var stream_publishers = _process_publishing_nodes(config.StreamPublishingNodes, pub_table_broker); + +using var dsp_api_server = new DSPAPIServer(dsl_api_server_config); +await dsp_api_server.StartAsync(); + +while (true) { + view_stream_database.doWork(); + dsp_api_server.DoWork(); + Thread.Sleep(TimeSpan.FromMilliseconds(10)); +} + +string load_config_path() { + var environment = Environment.GetEnvironmentVariable("DOTNET_ENVIRONMENT"); + var fileName = string.IsNullOrWhiteSpace(environment) + ? "appsettings.json" + : $"appsettings.{environment}.json"; + return Path.Combine(AppContext.BaseDirectory, fileName); +} + +PubSubConfig load_pubsub_config(JsonDocument doc, JsonSerializerOptions json_options) { + if (!doc.RootElement.TryGetProperty("PubSub", out var pubsub_element)) { + Log.Gen.warn("PubSub config section not found; using PubSubConfig.Default()."); + return PubSubConfig.Default(); + } + + var pubsub_config = pubsub_element.Deserialize(json_options); + if (pubsub_config is null) { + Log.Gen.error("PubSub config section could not be deserialized; using PubSubConfig.Default()."); + return PubSubConfig.Default(); + } + + Log.Gen.info("Loaded PubSub config from DSPublisher config file."); + return pubsub_config; +} + +DSLAPIServerConfig load_dsl_api_server_config(JsonDocument doc, JsonSerializerOptions json_options) { + if (!doc.RootElement.TryGetProperty("DSLAPIServer", out var dsl_api_server_element)) { + Log.Gen.warn("DSLAPIServer config section not found; using DSLAPIServerConfig defaults."); + return new DSLAPIServerConfig(); + } + + var dsl_api_server_config = dsl_api_server_element.Deserialize(json_options); + if (dsl_api_server_config is null) { + Log.Gen.error("DSLAPIServer config section could not be deserialized; using DSLAPIServerConfig defaults."); + return new DSLAPIServerConfig(); + } + + Log.Gen.info($"Loaded DSLAPIServer config ip: {dsl_api_server_config.Ip} port: {dsl_api_server_config.Port}"); + return dsl_api_server_config; +} + +List _process_publishing_nodes(IEnumerable publishing_nodes, PubTableBroker pub_table_broker) { + var stream_publishers = new List(); + foreach (var node in publishing_nodes) { + if (string.IsNullOrWhiteSpace(node.Name) || string.IsNullOrWhiteSpace(node.Expression)) { + Log.Gen.error("Skipping StreamPublishingNode because name or expression is empty."); + continue; + } + + Log.Gen.info($"Creating ViewPublisher name: {node.Name} expression: {node.Expression}"); + var stream = new DSLStream(node.Expression); + stream_publishers.Add(new ViewPublisher(node.Name, pub_table_broker, stream)); + } + + return stream_publishers; +} diff --git a/src/DataStreamSuite/DSPublisher/Services/.gitkeep b/src/DataStreamSuite/DSPublisher/Services/.gitkeep new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/Services/.gitkeep @@ -0,0 +1 @@ + diff --git a/src/DataStreamSuite/DSPublisher/WSPublishers/DatabentoPublisher.py b/src/DataStreamSuite/DSPublisher/WSPublishers/DatabentoPublisher.py new file mode 100644 index 000000000..00cbbeb0a --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/WSPublishers/DatabentoPublisher.py @@ -0,0 +1,146 @@ +""" +Requires: + pip install -U databento + pip install websockets + +Sources: + https://databento.com/docs/quickstart/set-up + https://databento.com/docs/schemas-and-data-formats/bbo +""" + +import datetime as dt +import subprocess +import sys +import time + +try: + import databento as db +except ImportError: + print("Installing missing dependency: databento") + subprocess.check_call([sys.executable, "-m", "pip", "install", "-U", "databento"]) + import databento as db + +from databento.common.error import BentoError + +try: + import websockets +except ImportError: + print("Installing missing dependency: websockets") + subprocess.check_call([sys.executable, "-m", "pip", "install", "websockets"]) + import websockets + +from databento_transformer import DatabentoTransformer +from pubsub_client import PubSubClient + + +API_KEY = "db-VksTJvhMmbLjbJu9Kg6GPS99B8FDN" +DATASET = "GLBX.MDP3" +SYMBOL = "ES.FUT" +PUBSUB_WS_URL = "ws://localhost:19092/ws/" +BBO_TABLE_NAME = "livebbo_glbx_future_es_continuouscontracts" +TRADES_TABLE_NAME = "livetrades_glbx_future_es_continuouscontracts" +DEFINITIONS_TABLE_NAME = "livecontracts_glbx_future_es" + +_pubsub_client = PubSubClient(PUBSUB_WS_URL) +_transformer = DatabentoTransformer( + symbol=SYMBOL, + bbo_table_name=BBO_TABLE_NAME, + trades_table_name=TRADES_TABLE_NAME, + definitions_table_name=DEFINITIONS_TABLE_NAME, +) + + +def _publish_contract_definitions() -> None: + historical_client = db.Historical(API_KEY) + dataset_range = historical_client.metadata.get_dataset_range(DATASET) + schema_range = dataset_range.get("schema", {}).get("definition", {}) + available_end = schema_range.get("end", dataset_range["end"]) + + if isinstance(available_end, str): + available_end_dt = dt.datetime.fromisoformat(available_end.replace("Z", "+00:00")) + else: + available_end_dt = available_end + + # Databento's range end is exclusive. Back off slightly so the request stays + # strictly inside the available window. + end_dt = available_end_dt - dt.timedelta(seconds=1) + start_dt = max(end_dt - dt.timedelta(days=1), end_dt.replace(hour=0, minute=0, second=0, microsecond=0)) + start = start_dt.isoformat() + end = end_dt.isoformat() + + definition_data = historical_client.timeseries.get_range( + dataset=DATASET, + schema="definition", + stype_in="parent", + symbols=SYMBOL, + start=start, + end=end, + ) + + df = definition_data.to_df() + payload = _transformer.build_definitions_payload(df) + if payload is None: + print("No Databento contract definitions returned") + return + + print(f"Publishing {len(payload['rows'])} Databento contract definition rows") + _pubsub_client.publish(payload) + + +def on_record(record) -> None: + # Print every callback first so we can see whether Databento is flowing + # even if our row extraction logic misses a field shape. + print(record) + + payloads = _transformer.transform_record(record) + if payloads: + for payload in payloads: + _pubsub_client.publish(payload) + return + + print("Skipping record with no BBO/trade fields") + + +def main() -> None: + _pubsub_client.start() + print(f"Starting Databento live client for {SYMBOL} on {DATASET}") + try: + _publish_contract_definitions() + except Exception as ex: + print(f"Contract definition publish failed: {ex}", flush=True) + + while True: + try: + client = db.Live(key=API_KEY) + + client.subscribe( + dataset=DATASET, + schema="bbo-1s", + stype_in="parent", + symbols=SYMBOL, + ) + client.subscribe( + dataset=DATASET, + schema="trades", + stype_in="parent", + symbols=SYMBOL, + ) + + client.add_callback(on_record) + client.start() + print("Databento client started, waiting for BBO and trade records...", flush=True) + client.block_for_close() + print("Databento client closed cleanly", flush=True) + break + except BentoError as ex: + print(f"Databento live connection error: {ex}", flush=True) + print("Retrying Databento live connection in 5 seconds...", flush=True) + time.sleep(5) + except Exception as ex: + print(f"Databento publisher unexpected error: {ex}", flush=True) + print("Retrying Databento live connection in 5 seconds...", flush=True) + time.sleep(5) + + +if __name__ == "__main__": + main() diff --git a/src/DataStreamSuite/DSPublisher/WSPublishers/databento_transformer.py b/src/DataStreamSuite/DSPublisher/WSPublishers/databento_transformer.py new file mode 100644 index 000000000..9ab3bdc05 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/WSPublishers/databento_transformer.py @@ -0,0 +1,244 @@ +import datetime as dt + + +class DatabentoTransformer: + def __init__( + self, + symbol: str, + bbo_table_name: str, + trades_table_name: str, + definitions_table_name: str, + ): + self._symbol = symbol + self._bbo_table_name = bbo_table_name + self._trades_table_name = trades_table_name + self._definitions_table_name = definitions_table_name + self._instrument_id_to_symbol: dict[int, str] = {} + self._last_bbo_row: dict | None = None + self._trade_row_id = 0 + self._trade_table_created = False + + def transform_record(self, record) -> list[dict]: + payload = self._handle_bbo_record(record) + if payload is not None: + return [payload] + + payload = self._handle_trade_record(record) + if payload is not None: + return [payload] + + return [] + + def build_definitions_payload(self, definition_df) -> dict | None: + if definition_df is None or definition_df.empty: + return None + + df = definition_df.reset_index() + if "instrument_class" in df.columns: + df = df[df["instrument_class"].astype(str) == "F"] + if "security_type" in df.columns: + df = df[df["security_type"].astype(str) == "FUT"] + if "raw_symbol" in df.columns: + df = df.sort_values("ts_recv" if "ts_recv" in df.columns else "ts_event") + df = df.drop_duplicates(subset=["raw_symbol"], keep="last") + + rows: list[dict] = [] + for idx, row in enumerate(df.itertuples(index=False), start=1): + instrument_id = int(getattr(row, "instrument_id", 0) or 0) + security_name = str(getattr(row, "raw_symbol", "")) + if instrument_id > 0 and security_name: + self._instrument_id_to_symbol[instrument_id] = security_name + + rows.append({ + "id": idx, + "security_name": security_name, + "instrument_id": instrument_id, + "instrument_class": str(getattr(row, "instrument_class", "")), + "security_type": str(getattr(row, "security_type", "")), + "asset": str(getattr(row, "asset", "")), + "exchange": str(getattr(row, "exchange", "")), + "currency": str(getattr(row, "currency", "")), + "expiration": self._ns_to_iso(getattr(row, "expiration", 0)), + "activation": self._ns_to_iso(getattr(row, "activation", 0)), + "min_price_increment": self._nano_to_float(getattr(row, "min_price_increment", 0)), + "display_factor": self._nano_to_float(getattr(row, "display_factor", 0)), + "price_display_multiplier": self._nano_to_float(getattr(row, "display_factor", 0)), + "contract_multiplier": int(getattr(row, "contract_multiplier", 0) or 0), + "contract_multiplier_unit": int(getattr(row, "contract_multiplier_unit", 0) or 0), + "unit_of_measure": str(getattr(row, "unit_of_measure", "")), + "unit_of_measure_qty": self._nano_to_float(getattr(row, "unit_of_measure_qty", 0)), + "min_lot_size": int(getattr(row, "min_lot_size", 0) or 0), + "min_trade_vol": int(getattr(row, "min_trade_vol", 0) or 0), + "max_trade_vol": int(getattr(row, "max_trade_vol", 0) or 0), + "maturity_year": int(getattr(row, "maturity_year", 0) or 0), + "maturity_month": int(getattr(row, "maturity_month", 0) or 0), + "maturity_day": int(getattr(row, "maturity_day", 0) or 0), + "underlying": str(getattr(row, "underlying", "")), + }) + + if not rows: + return None + + return { + "op": "create_table", + "table_name": self._definitions_table_name, + "rows": rows, + } + + def _handle_bbo_record(self, record) -> dict | None: + row = self._to_bbo_row(record) + if row is None: + return None + + if self._last_bbo_row is None: + payload = { + "op": "create_table", + "table_name": self._bbo_table_name, + "rows": [row], + } + else: + payload = { + "op": "multiple_remove_add", + "table_name": self._bbo_table_name, + "removed_rows": [self._last_bbo_row], + "added_rows": [row], + } + + self._last_bbo_row = row + return payload + + def _handle_trade_record(self, record) -> dict | None: + row = self._to_trade_row(record) + if row is None: + return None + + row["id"] = self._trade_row_id + self._trade_row_id += 1 + + if not self._trade_table_created: + payload = { + "op": "create_table", + "table_name": self._trades_table_name, + "rows": [row], + } + self._trade_table_created = True + return payload + + return { + "op": "multiple_remove_add", + "table_name": self._trades_table_name, + "removed_rows": [], + "added_rows": [row], + } + + def _to_bbo_row(self, record) -> dict | None: + bid_px = self._get_level_attr(record, "bid_px", default=self._get_attr(record, "bid_px_00")) + ask_px = self._get_level_attr(record, "ask_px", default=self._get_attr(record, "ask_px_00")) + if bid_px is None and ask_px is None: + return None + + return { + "id": 0, + "security_name": self._get_security_name(record), + "timestamp": self._get_timestamp(record), + "bid_px": float(bid_px or 0.0), + "ask_px": float(ask_px or 0.0), + "bid_sz": int(self._get_level_attr(record, "bid_sz", default=self._get_attr(record, "bid_sz_00", default=0)) or 0), + "ask_sz": int(self._get_level_attr(record, "ask_sz", default=self._get_attr(record, "ask_sz_00", default=0)) or 0), + } + + def _to_trade_row(self, record) -> dict | None: + price = self._get_attr(record, "price", "px") + size = self._get_attr(record, "size") + if price is None and size is None: + return None + + side = self._get_attr(record, "side", "aggressor_side", default="") + + return { + "id": 0, + "security_name": self._get_security_name(record), + "timestamp": self._get_timestamp(record), + "price": float(price or 0.0), + "size": int(size or 0), + "side": str(side), + } + + def _get_security_name(self, record) -> str: + instrument_id = self._get_attr(record, "instrument_id", default=0) + try: + instrument_id_int = int(instrument_id or 0) + except (TypeError, ValueError): + instrument_id_int = 0 + + if instrument_id_int > 0 and instrument_id_int in self._instrument_id_to_symbol: + return self._instrument_id_to_symbol[instrument_id_int] + + value = self._get_attr( + record, + "symbol", + "raw_symbol", + "stype_out_symbol", + "stype_in_symbol", + default=self._symbol, + ) + return str(value) + + def _get_timestamp(self, record) -> int: + value = self._get_attr(record, "ts_event", "ts_recv", default=0) + try: + return int(value) + except (TypeError, ValueError): + return 0 + + def _get_attr(self, record, *names, default=None): + for name in names: + if hasattr(record, name): + value = getattr(record, name) + if value is not None: + return value + return default + + def _get_level_attr(self, record, name, default=None): + levels = self._get_attr(record, "levels", default=None) + if levels: + level0 = levels[0] + if hasattr(level0, name): + value = getattr(level0, name) + if value is not None: + return value + return default + + def _ns_to_iso(self, timestamp_ns) -> str: + if timestamp_ns is None: + return "" + + if hasattr(timestamp_ns, "isoformat"): + try: + if hasattr(timestamp_ns, "to_pydatetime"): + timestamp_dt = timestamp_ns.to_pydatetime() + else: + timestamp_dt = timestamp_ns + + if timestamp_dt is None: + return "" + + if getattr(timestamp_dt, "tzinfo", None) is None: + timestamp_dt = timestamp_dt.replace(tzinfo=dt.timezone.utc) + return timestamp_dt.isoformat() + except (TypeError, ValueError, AttributeError): + pass + + try: + ts_int = int(timestamp_ns) + if ts_int <= 0: + return "" + return dt.datetime.fromtimestamp(ts_int / 1_000_000_000, tz=dt.timezone.utc).isoformat() + except (TypeError, ValueError, OSError, OverflowError): + return "" + + def _nano_to_float(self, value) -> float: + try: + return float(value) / 1_000_000_000.0 + except (TypeError, ValueError): + return 0.0 diff --git a/src/DataStreamSuite/DSPublisher/WSPublishers/pubsub_client.py b/src/DataStreamSuite/DSPublisher/WSPublishers/pubsub_client.py new file mode 100644 index 000000000..6c1c1b151 --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/WSPublishers/pubsub_client.py @@ -0,0 +1,58 @@ +import asyncio +import json +import queue +import threading + +import websockets + + +class PubSubClient: + def __init__(self, ws_url: str): + self._ws_url = ws_url + self._outgoing_queue: "queue.Queue[dict]" = queue.Queue() + self._sender_thread: threading.Thread | None = None + + def start(self) -> threading.Thread: + if self._sender_thread is None or not self._sender_thread.is_alive(): + self._sender_thread = self._start_sender_thread() + return self._sender_thread + + def publish(self, payload: dict) -> None: + self._outgoing_queue.put(payload) + + def publish_create_table(self, table_name: str, rows: list[dict]) -> None: + self.publish({ + "op": "create_table", + "table_name": table_name, + "rows": rows, + }) + + def publish_multiple_remove_add( + self, + table_name: str, + removed_rows: list[dict], + added_rows: list[dict], + ) -> None: + self.publish({ + "op": "multiple_remove_add", + "table_name": table_name, + "removed_rows": removed_rows, + "added_rows": added_rows, + }) + + def _start_sender_thread(self) -> threading.Thread: + thread = threading.Thread(target=self._run_send_loop, daemon=True) + thread.start() + return thread + + def _run_send_loop(self) -> None: + asyncio.run(self._ws_send_loop()) + + async def _ws_send_loop(self) -> None: + async with websockets.connect(self._ws_url) as ws: + print(f"Connected to PubSubServer websocket: {self._ws_url}") + while True: + payload = await asyncio.to_thread(self._outgoing_queue.get) + body = json.dumps(payload) + print(body) + await ws.send(body) diff --git a/src/DataStreamSuite/DSPublisher/appsettings.Development.json b/src/DataStreamSuite/DSPublisher/appsettings.Development.json new file mode 100644 index 000000000..58ff9b11e --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/appsettings.Development.json @@ -0,0 +1,69 @@ +{ + "PubSub": { + "HeartbeatInterval": 15000, + "MissingHeartbeatsBeforeGc": 50, + "DisposedConnectionCheckPeriod": 1000, + "ServerPort": 22019, + "Routing": { + "PublisherRoutes": [ + { + "Name": "default", + "ServerAddress": "bts-cloud://127.0.0.1:22019", + "TagRegExp": ".*" + } + ], + "SubscriberRoutes": [ + { + "Name": "default", + "ServerAddress": "bts-cloud://127.0.0.1:22019", + "TagRegExp": ".*" + } + ] + }, + "TagTypeToAssemblyMap": { + "Entries": [ + { + "HandlerClass": "BCG.PubSubServerTagHandler", + "Assembly": "DataStreamCore.dll" + } + ] + }, + "TagHandlerFactory": { + "Handlers": [ + { + "TagType": "DataStream", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerStreamTagHandler" + }, + { + "TagType": "DS_.*", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerStreamTagHandler" + }, + { + "TagType": ".*", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerGenericDataHandler" + } + ] + } + }, + "DSLAPIServer": { + "Ip": "localhost", + "Port": 19093 + }, + "DSPublisher": { + "StreamPublishingNodes": [ + { + "Name": "sample_stream", + "Expression": "MillisecondStream(1000,5)" + } + ], + "PythonPublishingNodes": [ + { + "PythonScriptLocation": "WSPublishers/DatabentoPublisher.py", + "Args": "" + } + ] + } +} diff --git a/src/DataStreamSuite/DSPublisher/appsettings.json b/src/DataStreamSuite/DSPublisher/appsettings.json new file mode 100644 index 000000000..58ff9b11e --- /dev/null +++ b/src/DataStreamSuite/DSPublisher/appsettings.json @@ -0,0 +1,69 @@ +{ + "PubSub": { + "HeartbeatInterval": 15000, + "MissingHeartbeatsBeforeGc": 50, + "DisposedConnectionCheckPeriod": 1000, + "ServerPort": 22019, + "Routing": { + "PublisherRoutes": [ + { + "Name": "default", + "ServerAddress": "bts-cloud://127.0.0.1:22019", + "TagRegExp": ".*" + } + ], + "SubscriberRoutes": [ + { + "Name": "default", + "ServerAddress": "bts-cloud://127.0.0.1:22019", + "TagRegExp": ".*" + } + ] + }, + "TagTypeToAssemblyMap": { + "Entries": [ + { + "HandlerClass": "BCG.PubSubServerTagHandler", + "Assembly": "DataStreamCore.dll" + } + ] + }, + "TagHandlerFactory": { + "Handlers": [ + { + "TagType": "DataStream", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerStreamTagHandler" + }, + { + "TagType": "DS_.*", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerStreamTagHandler" + }, + { + "TagType": ".*", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerGenericDataHandler" + } + ] + } + }, + "DSLAPIServer": { + "Ip": "localhost", + "Port": 19093 + }, + "DSPublisher": { + "StreamPublishingNodes": [ + { + "Name": "sample_stream", + "Expression": "MillisecondStream(1000,5)" + } + ], + "PythonPublishingNodes": [ + { + "PythonScriptLocation": "WSPublishers/DatabentoPublisher.py", + "Args": "" + } + ] + } +} diff --git a/src/DataStreamSuite/DataStream/BlueOrb/AddColumnsStream.cs b/src/DataStreamSuite/DataStream/BlueOrb/AddColumnsStream.cs index 3495120b8..8f0c9ed6d 100644 --- a/src/DataStreamSuite/DataStream/BlueOrb/AddColumnsStream.cs +++ b/src/DataStreamSuite/DataStream/BlueOrb/AddColumnsStream.cs @@ -2,7 +2,8 @@ using BCG; [DataStreamUserRespresentation("AddColumnsStream")] - public class AddColumnsStream: ViewStream { + // example: AddColumnsStream(l,"jc1:001") + public class AddColumnsStream : ViewStream { public AddColumnsStream(ViewStream parent_str, string add_col_expr) { ViewStream rs = new BCG.AddColumnsStream(parent_str, add_col_expr); mySetRealSource(rs); diff --git a/src/DataStreamSuite/DataStream/BlueOrb/HideColumnsStream.cs b/src/DataStreamSuite/DataStream/BlueOrb/HideColumnsStream.cs new file mode 100644 index 000000000..6d30c48fa --- /dev/null +++ b/src/DataStreamSuite/DataStream/BlueOrb/HideColumnsStream.cs @@ -0,0 +1,126 @@ +namespace BlueOrb.Operators.Core { + using BCG; + + using System; + using System.Collections; + using System.Collections.Generic; + + [DataStreamUserRespresentation("HideColumnsStream")] + public class HideColumnsStream : ViewStream { + // Wrapper row to hide the columns + public class MyRow : IBlueRow { + #region IBlueRow members + private IBlueTableSchema _schema; + private IBlueRow _row; + public MyRow(IBlueTableSchema schema, IBlueRow row) { + _schema = schema; + _row = row; + } + public IBlueTableSchema schema { get { return _schema; } } + #endregion + + #region ICollection members + public int Count { get { return schema.columnNames.Length; } } + + public bool IsSynchronized { get { return false; } } + + public object SyncRoot { get { return this; } } + + public void CopyTo(Array array, int index) { + int i = index; + foreach (object o in this as IEnumerable) + array.SetValue(o, i++); + } + #endregion + + #region IDictionary members + public bool IsFixedSize { get { return true; } } + + public bool IsReadOnly { get { return true; } } + + public object this[object key] { + get { + if (key is string) + return this[(string)key]; + return this[(int)key]; + } + set { throw new NotSupportedException("The IBlueRow is readonly"); } + } + + public object this[int index] { + get { + return this[schema.columnInfo[index].colName]; + } + } + + public object this[string col_name] { + get { + if (_schema.contains_column(col_name)) + return _row[col_name]; + else + throw new ApplicationException($"{col_name} not found"); + } + } + + public ICollection Keys { get { return schema.columnNames; } } + + public ICollection Values { + get { + object[] retVal = new object[schema.columnNames.Length]; + CopyTo(retVal, 0); + return retVal; + } + } + + public void Add(object key, object value) { throw new NotSupportedException("The IBlueRow is readonly"); } + + public void Clear() { throw new NotSupportedException("The IBlueRow is readonly"); } + + public bool Contains(object key) { return schema[(string)key] != null; } + + public IDictionaryEnumerator GetEnumerator() { return new BlueRowDictionaryEnumerator(this); } + + IEnumerator IEnumerable.GetEnumerator() { return new BlueRowEnumerator(this); } + + public void Remove(object key) { throw new NotSupportedException("The IBlueRow is readonly"); } + #endregion + + } + + private readonly ViewStream _parent_str; + private readonly HashSet _removed_cols; + private BlueTable _state; + public HideColumnsStream(ViewStream parent_str, string hide_cols_expr) { + _parent_str = parent_str; + _removed_cols = new HashSet(hide_cols_expr.Split(',', ' ')); + if (_removed_cols.Contains("id")) + _removed_cols.Remove("id"); + } + + protected override void myOnFirstSubscriber() { + _parent_str.onChange += _handle_parent_str_cb; + } + + private void _handle_parent_str_cb(object dp_obj) { + // this could be made incremental and hence faster + DataPacket dp_in = dp_obj as DataPacket; + if (_state == null) { + List cis = new List(); + foreach (ColumnInfo ci in dp_in.schema.columnInfo) { + if (!_removed_cols.Contains(ci.colName)) + cis.Add(new ColumnInfo(ci.colName, cis.Count, ci.colType)); + } + _state = new BlueTable(new BlueTableSchema(dp_in.schema.tableName, cis.ToArray())); + } + _state.clear(); + foreach (IBlueRow r in dp_in.newRows) { + _state.addRow(new MyRow(_state.schema, r)); + } + var dp_out = BlueDataUtility.build_dp_inc(_state, + myLastValue == null ? new BlueTable(_state.schema) : (myLastValue as DataPacket).newRows); + myFireEvent(dp_out); + } + } + + +} \ No newline at end of file diff --git a/src/DataStreamSuite/DataStream/BlueOrb/Join/CartesianProductStream.cs b/src/DataStreamSuite/DataStream/BlueOrb/Join/CartesianProductStream.cs new file mode 100644 index 000000000..5bd6d3607 --- /dev/null +++ b/src/DataStreamSuite/DataStream/BlueOrb/Join/CartesianProductStream.cs @@ -0,0 +1,14 @@ +namespace bts.BlueOrb { + using BCG; + + [DataStreamUserRespresentation("CartesianProductStream")] + public class CartesianProductStream : ViewStream { + public CartesianProductStream(ViewStream ls, ViewStream rs) { + ls = new AddColumnsStream(ls, "ljc: 001"); + rs = new AddColumnsStream(rs, "rjc: 001"); + ViewStream res = new SimpleJoinStream(ls, "ljc", rs, "rjc"); + res = new global::BlueOrb.Operators.Core.HideColumnsStream(res, "ljc, rjc"); + mySetRealSource(res); + } + } +} diff --git a/src/DataStreamSuite/DataStream/BlueOrb/Join/FullJoinStream.cs b/src/DataStreamSuite/DataStream/BlueOrb/Join/FullJoinStream.cs new file mode 100644 index 000000000..856c181c4 --- /dev/null +++ b/src/DataStreamSuite/DataStream/BlueOrb/Join/FullJoinStream.cs @@ -0,0 +1,15 @@ +namespace BlueOrb.Operators.Core { + using System; + + using BCG; + + [DataStreamUserRespresentation("FullJoinStream")] + // JoinStream is technically a LeftJoin. FullJoin only results in rows that have bpth left and right side + public class FullJoinStream : ViewStream { + public FullJoinStream(ViewStream l_str, string ljcs, ViewStream r_str, string rjcs) { + ViewStream js = new global::bts.BlueOrb.SimpleJoinStream(l_str, ljcs, r_str, rjcs); + ViewStream rs = new bts.BlueOrb.FilterStream(js, r => !DBNull.Value.Equals(r["right_id"])); + mySetRealSource(rs); + } + } +} \ No newline at end of file diff --git a/src/DataStreamSuite/DataStream/BlueOrb/Join/SimpleJoinStream.cs b/src/DataStreamSuite/DataStream/BlueOrb/Join/SimpleJoinStream.cs index bc66a8a0b..15659f21d 100644 --- a/src/DataStreamSuite/DataStream/BlueOrb/Join/SimpleJoinStream.cs +++ b/src/DataStreamSuite/DataStream/BlueOrb/Join/SimpleJoinStream.cs @@ -192,13 +192,4 @@ } } - [DataStreamUserRespresentation("FullJoinStream")] - public class FullJoinStream : ViewStream { - public FullJoinStream(ViewStream l_str, string ljcs, ViewStream r_str, string rjcs) { - ViewStream js = new SimpleJoinStream(l_str, ljcs, r_str, rjcs); - ViewStream rs = new bts.BlueOrb.FilterStream(js, r => !DBNull.Value.Equals(r["right_id"])); - mySetRealSource(rs); - } - } - } diff --git a/src/DataStreamSuite/DataStream/BlueOrb/TimeSeriesStream.cs b/src/DataStreamSuite/DataStream/BlueOrb/TimeSeriesStream.cs index 557da7ea7..5df308476 100644 --- a/src/DataStreamSuite/DataStream/BlueOrb/TimeSeriesStream.cs +++ b/src/DataStreamSuite/DataStream/BlueOrb/TimeSeriesStream.cs @@ -29,22 +29,26 @@ namespace bts.BlueOrb { _stream.onChange -= new ChangeDelegate(_onstream_change); } - + private bool _orig_schema_has_timestamp = false; private void _onstream_change(object o) { DataPacket dp = o as DataPacket; DateTime now = DateTime.Now; if (_table == null) { IBlueTableSchema schema = new BlueTableSchema(dp.newRows.schema.columnInfo, dp.newRows.schema.tableName); - schema = schema.add_columns(Tuple.Create(typeof(DateTime), "timestamp")); + if (!schema.contains_column("timestamp")) { + _orig_schema_has_timestamp = true; + schema = schema.add_columns(Tuple.Create(typeof(DateTime), "timestamp")); + } _table = new CircularBufferTable(schema, _size); } foreach (IBlueRow r in dp.addedRows) { MutableBlueRow ar = new MutableBlueRow(_table.schema, r); - ar.setValue("timestamp", now); + if (!_orig_schema_has_timestamp) + ar.setValue("timestamp", now); ar.setValue("id", _id++); _table.add_row(ar); } - var dp_out = BlueDataUtility.build_dp(_table, myLastValue as DataPacket); + var dp_out = BlueDataUtility.build_dp_inc(_table, myLastValue as DataPacket); myFireEvent(dp_out); } } diff --git a/src/DataStreamSuite/DataStream/Primitives/CartesianProduct/CartesianProductStream.cs b/src/DataStreamSuite/DataStream/Primitives/CartesianProduct/CartesianProductStream.cs deleted file mode 100644 index bb2647bfb..000000000 --- a/src/DataStreamSuite/DataStream/Primitives/CartesianProduct/CartesianProductStream.cs +++ /dev/null @@ -1,22 +0,0 @@ -// using System; -// using BCG; -// using BCG.Utilities; - -// namespace BCG -// { -// public class CartesianProductStream : ViewStream -// { -// public CartesianProductStream(ViewStream v1, ViewStream v2) -// { -// mySetRealSource( -// new JoinStream (new AddColumnsStream (v1, -// "hiddenCartesianColumn=1"), -// "hiddenCartesianColumn", -// "!id hiddenCartesianColumn dateTime:dateBoundary", -// new AddColumnsStream (v2, -// "hiddenCartesianColumn=1"), -// "hiddenCartesianColumn", -// "!id hiddenCartesianColumn")); -// } -// } -// } diff --git a/src/DataStreamSuite/DataStream/Primitives/Misc/PubsubEchoTestStream.cs b/src/DataStreamSuite/DataStream/Primitives/Misc/PubsubEchoTestStream.cs index 70998e161..9ab11baaf 100644 --- a/src/DataStreamSuite/DataStream/Primitives/Misc/PubsubEchoTestStream.cs +++ b/src/DataStreamSuite/DataStream/Primitives/Misc/PubsubEchoTestStream.cs @@ -8,48 +8,34 @@ using System; using System.Collections.Generic; using System.IO; using System.Linq; +using bts; +using BCG; -namespace bts -{ +namespace BlueOrb.Pubsub.Diagnostics { + // This publishes data to the pubsub server, subscribes, gets it back and records the time it took for the round trip [DataStreamUserRespresentation("pss_echo")] - public class PubsubEchoTestStream : ViewStream, IWorker - { - public class PayloadMessage - { + public class PubsubEchoTestStream : ViewStream, IWorker { + public class PayloadMessage { public readonly string? msg_id; public readonly Int64 timestamp = 0; public readonly byte[]? payload = null; - public static byte[] create_data(int payload_size, byte payload_byte) - { + public static byte[] create_data(int payload_size, byte payload_byte) { var rv = new byte[payload_size]; - for (int i = 0; i < payload_size; i++) - { + for (int i = 0; i < payload_size; i++) { rv[i] = payload_byte; } return rv; } - // public PayloadMessage(string guid_, Int64 timestamp_, int payload_size, byte payload_byte) - // { - // guid = guid_; - // timestamp = timestamp_; - // payload = new byte[payload_size]; - // for (int i = 0; i < payload_size; i++) - // { - // payload[i] = payload_byte; - // } - // } - public PayloadMessage(string guid_, Int64 timestamp_, byte[] payload_) - { + public PayloadMessage(string guid_, Int64 timestamp_, byte[] payload_) { msg_id = guid_; timestamp = timestamp_; payload = payload_; } private PayloadMessage() { } - public byte[] serialize() - { + public byte[] serialize() { var str = new MemoryStream(); BinaryWriter bw = new BinaryWriter(str); bw.Write(msg_id ?? string.Empty); @@ -61,8 +47,7 @@ namespace bts return bytes; } - public static PayloadMessage deserialize(byte[] ser_bytes) - { + public static PayloadMessage deserialize(byte[] ser_bytes) { var str = new MemoryStream(ser_bytes) { Position = 0 }; @@ -87,8 +72,7 @@ namespace bts private readonly string _tag_name; private readonly int _payload_sz; private readonly IPubSubRouter _router; - private enum IOState - { + private enum IOState { SEND = 0, RECV = 1 }; @@ -123,8 +107,7 @@ namespace bts public PubsubEchoTestStream(string server_url, int publish_period_msecs, int payload_size, string tag_name) : this(server_url, TimeSpan.FromMilliseconds(publish_period_msecs), payload_size, tag_name, ViewStreamDatabase.instance) { } - protected override void myOnFirstSubscriber() - { + protected override void myOnFirstSubscriber() { _pub_core = PublisherCore.Create(_router); _sub_core = new SubscriberCore(_router); _sub_core.subscribe(_tag_name); @@ -132,8 +115,7 @@ namespace bts } - protected override void myOnLastSubscriber() - { + protected override void myOnLastSubscriber() { _vsd.removeWorker(this); Log.notnull(_sub_core).unsubscribe(_tag_name); } @@ -144,8 +126,7 @@ namespace bts SubscriberRoutes = new() { new(serverUrl, ".*") }, }); - private void _fire_dp_after_send() - { + private void _fire_dp_after_send() { Log.notnull(_last_sent_msg); // as soon as the data is published, its reflected in the stream state BlueRow r = new BlueRow(_table.schema, _table.Count, _last_sent_msg.msg_id, _last_sent_msg.timestamp, DBNull.Value, DBNull.Value, @@ -155,8 +136,7 @@ namespace bts myFireEvent(dp_out); } - private void _fire_dp_after_recv() - { + private void _fire_dp_after_recv() { Log.notnull(_last_recvd_msg); Log.notnull(_last_sent_msg); // update the last publish row @@ -173,13 +153,11 @@ namespace bts } } - private string _get_next_id() - { + private string _get_next_id() { return _table.Count.ToString(); } - private void _publish_next_packet() - { + private void _publish_next_packet() { Log.notnull(_pub_core); var bytes = PayloadMessage.create_data(_payload_sz, _payload_byte); _last_sent_msg = new PayloadMessage(_get_next_id(), epoch_now(), bytes); @@ -188,13 +166,10 @@ namespace bts _last_publish_time = DateTime.Now; } - public void doWork() - { - switch (_state) - { + public void doWork() { + switch (_state) { case IOState.SEND: - if (DateTime.Now - _last_publish_time >= _publish_period) - { + if (DateTime.Now - _last_publish_time >= _publish_period) { _publish_next_packet(); _last_publish_time = DateTime.Now; _fire_dp_after_send(); @@ -206,8 +181,7 @@ namespace bts var updates = Log.notnull(_sub_core).get_updates(TimeSpan.Zero); updates = updates.Where(u => u.tag == _tag_name); var recv_msg = find_packet(updates); - if (recv_msg != null) - { + if (recv_msg != null) { _last_recvd_msg = recv_msg; _fire_dp_after_recv(); _state = IOState.SEND; @@ -230,8 +204,7 @@ namespace bts } } - public static long epoch_now() - { + public static long epoch_now() { return DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); } diff --git a/src/DataStreamSuite/DataStream/Primitives/Project/New/NewProjectStream.cs b/src/DataStreamSuite/DataStream/Primitives/Project/New/NewProjectStream.cs index 59cac5629..33f959a90 100644 --- a/src/DataStreamSuite/DataStream/Primitives/Project/New/NewProjectStream.cs +++ b/src/DataStreamSuite/DataStream/Primitives/Project/New/NewProjectStream.cs @@ -1,12 +1,17 @@ namespace bts { using BCG; + using bts.collections; + + using IronPython.Runtime.Operations; + using ProtoBuf; using System; using System.Collections; using System.Collections.Generic; using System.Linq; + using System.Runtime.Intrinsics.Arm; public class ProjectData { // schema from the base stream diff --git a/src/DataStreamSuite/DataStream/Publish/PublisherStream.cs b/src/DataStreamSuite/DataStream/Publish/PublisherStream.cs index ab294aa49..b61385686 100644 --- a/src/DataStreamSuite/DataStream/Publish/PublisherStream.cs +++ b/src/DataStreamSuite/DataStream/Publish/PublisherStream.cs @@ -1,4 +1,5 @@ -namespace BCG { +namespace BlueOrb.PubSub { + using BCG; // this for testing purposes mainly, its wraps a ViewPublisher around a stream, // and hence epublishes it out to the PS public class PublisherStream : ViewStream { diff --git a/src/DataStreamSuite/DataStreamCore/BlueData/BlueDataUtility.cs b/src/DataStreamSuite/DataStreamCore/BlueData/BlueDataUtility.cs index 3dc399eef..538c1d2c9 100644 --- a/src/DataStreamSuite/DataStreamCore/BlueData/BlueDataUtility.cs +++ b/src/DataStreamSuite/DataStreamCore/BlueData/BlueDataUtility.cs @@ -1847,7 +1847,7 @@ namespace BCG { return sb.ToString(); } - public static string id_string(IBlueRowCollection table) { + public static string rows_id_string(this IBlueRowCollection table) { string rv = String.Empty; foreach (IBlueRow r in table) rv += $"{r["id"]} "; @@ -2246,7 +2246,7 @@ namespace BCG { public static T get_row_value(IBlueRow r, string col_name, T error_val) { try { - object rv = (r != null && r.Contains(col_name)) ? r[col_name] : DBNull.Value; + object rv = (r != null && r.schema.contains_column(col_name)) ? r[col_name] : DBNull.Value; if (rv == null || rv == DBNull.Value) return error_val; else diff --git a/src/DataStreamSuite/DataStreamCore/BlueData/ExtensionFunctions/Comparisons.cs b/src/DataStreamSuite/DataStreamCore/BlueData/ExtensionFunctions/Comparisons.cs new file mode 100644 index 000000000..f492002e8 --- /dev/null +++ b/src/DataStreamSuite/DataStreamCore/BlueData/ExtensionFunctions/Comparisons.cs @@ -0,0 +1,142 @@ +namespace BlueOrb.Data { + using BCG; + + using bts; + + + using System; + using System.Linq; + + public static class Comparisons { + public static int compare_row(this IBlueRow row, IBlueRow other_row, params string[] col_names) { + int comp_res = 0; + foreach (string col_name in col_names) { + object val1 = row[col_name]; + object val2 = other_row[col_name]; + comp_res = compare_row_values(val1, val2); + if (comp_res != 0) + break; + } + return comp_res; + } + + public static void compare_tables_id(this IBlueRowCollection table1, + IBlueRowCollection table2, + out IBlueRowCollection rows_only_in_table1, + out IBlueRowCollection rows_only_in_table2) { + Log.assert(table1 != null); + table2 = table2 ?? new BlueTable(table1.schema); + var schema = get_output_schema(table1, table2); + var table1_only = new BlueTable(schema); + var table2_only = new BlueTable(schema); + + if (table1 is not null) { + foreach (IBlueRow row in table1) + if (table2 is null || !table2.containsID(row.get("id"))) + table1_only.addRow(row); + } + + if (table2 is not null) { + foreach (IBlueRow row in table2) + if (table1 is null || !table1.containsID(row.get("id"))) + table2_only.addRow(row); + } + + rows_only_in_table1 = table1_only; + rows_only_in_table2 = table2_only; + } + + public static void compare_tables_deep(this IBlueRowCollection table1, + IBlueRowCollection table2, + out IBlueRowCollection rows_only_in_table1, + out IBlueRowCollection rows_only_in_table2) { + Log.assert(table1 != null); + table2 = table2 ?? new BlueTable(table1.schema); + var schema = get_output_schema(table1, table2); + validate_matching_schemas(table1, table2); + + var table1_only = new BlueTable(schema); + var table2_only = new BlueTable(schema); + var compare_cols = schema.columnNames.Where(c => c != "id").ToArray(); + + if (table1 is not null) { + foreach (IBlueRow row in table1) { + if (table2 is null || !table2.containsID(row.get("id"))) { + table1_only.addRow(row); + continue; + } + + var other_row = table2[row.get("id")]; + if (row.compare_row(other_row, compare_cols) != 0) { + table1_only.addRow(row); + table2_only.addRow(other_row); + } + } + } + + if (table2 is not null) { + foreach (IBlueRow row in table2) + if (table1 is null || !table1.containsID(row.get("id"))) + table2_only.addRow(row); + } + + rows_only_in_table1 = table1_only; + rows_only_in_table2 = table2_only; + } + + static int compare_row_values(object v1, object v2) { + if (is_null(v1)) + return is_null(v2) ? 0 : -1; + if (is_null(v2)) + return 1; + try { + var comparable1 = (IComparable)v1; + return comparable1.CompareTo(v2); + } catch (InvalidCastException) { + if (v1 is byte[] bytes1 && v2 is byte[] bytes2) + return compare_bytes(bytes1, bytes2) ? 0 : 1; + throw; + } + } + + static bool compare_bytes(byte[] v1, byte[] v2) { + if (v1.Length != v2.Length) + return false; + + for (int i = 0; i < v1.Length; i++) + if (v1[i] != v2[i]) + return false; + + return true; + } + + static bool is_null(object o) { + return o == null || o == DBNull.Value; + } + + static IBlueTableSchema get_output_schema(IBlueRowCollection table1, IBlueRowCollection table2) { + if (table1 is not null) + return table1.schema; + if (table2 is not null) + return table2.schema; + throw new ArgumentNullException(nameof(table1), "At least one table must be non-null."); + } + + static void validate_matching_schemas(IBlueRowCollection table1, IBlueRowCollection table2) { + if (table1 is null || table2 is null) + return; + + var schema1 = table1.schema; + var schema2 = table2.schema; + if (schema1.columnInfo.Length != schema2.columnInfo.Length) + throw new ArgumentException("Tables must have matching schemas."); + + for (int i = 0; i < schema1.columnInfo.Length; i++) { + var c1 = schema1.columnInfo[i]; + var c2 = schema2.columnInfo[i]; + if (c1.colName != c2.colName || c1.colType != c2.colType) + throw new ArgumentException("Tables must have matching schemas."); + } + } + } +} diff --git a/src/DataStreamSuite/DataStreamCore/BlueData/ExtensionFunctions/ToStrings.cs b/src/DataStreamSuite/DataStreamCore/BlueData/ExtensionFunctions/ToStrings.cs new file mode 100644 index 000000000..0867c3dc1 --- /dev/null +++ b/src/DataStreamSuite/DataStreamCore/BlueData/ExtensionFunctions/ToStrings.cs @@ -0,0 +1,35 @@ +namespace BlueOrb.Data { + using BCG; + + using System; + using System.Text; + +public static class ToStrings { + public static string ToDebugString(this IBlueRow row) { + StringBuilder sb = new StringBuilder(); + foreach (ColumnInfo c in row.schema.columnInfo) { + if (sb.Length != 0) + sb.Append(", "); + sb.Append(c.colName); + sb.Append(": "); + object val = row[c.colName]; + sb.Append(is_null(val) ? "NULL" : val.ToString()); + } + return sb.ToString(); + } + + public static string ToDebugString(this IBlueRowCollection rows) { + StringBuilder sb = new StringBuilder(); + foreach (IBlueRow row in rows) { + if (sb.Length != 0) + sb.AppendLine(); + sb.Append(row.ToDebugString()); + } + return sb.ToString(); + } + + static bool is_null(object o) { + return o == null || o == DBNull.Value; + } + } +} diff --git a/src/DataStreamSuite/DataStreamCore/DynamicLoading/PrimitiveManager.cs b/src/DataStreamSuite/DataStreamCore/DynamicLoading/PrimitiveManager.cs index 8090c2720..b126cb71d 100644 --- a/src/DataStreamSuite/DataStreamCore/DynamicLoading/PrimitiveManager.cs +++ b/src/DataStreamSuite/DataStreamCore/DynamicLoading/PrimitiveManager.cs @@ -6,89 +6,89 @@ namespace BCG { using System.Reflection; using System.IO; using Bts.DataStreamCore; + using System.Collections.Generic; + using System.Linq; public class PrimitiveManager { static MarketDataStreamFactory mdStreamFactory; - private IDictionary myTypeLookupTable = new Hashtable(); - private static PrimitiveManager mySelf; - private ArrayList myAssemblyNames = new ArrayList(); + private Dictionary _dslopname_to_type_map = new Dictionary(); + private static PrimitiveManager _self; + private HashSet _loaded_assemblies = new HashSet(); + private static string[] _allowed_namespaces_matches = new string[] { + "blueorb" + }; private PrimitiveManager() { - myLoadAllTypes(); + _load_all_streams(); } - private void myLoadAllTypes() { - AppDomain currentDomain = AppDomain.CurrentDomain; - currentDomain.AssemblyResolve += new ResolveEventHandler(myAssemblyResolver); - loadAssembly(this.GetType().Assembly.FullName); - var assemblies = new string[] { "DataStream.dll", "SharedStreams.dll" }; - foreach (string assemblyName in assemblies) { - bts.Log.Gen.info($"PrimitiveManager.myLoadAllTypes assemblyName: {assemblyName}"); - string resolvedAssemblyPath = assemblyName; - if (!System.IO.Path.IsPathRooted(assemblyName)) { - resolvedAssemblyPath = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, assemblyName)); + private static bool _is_loadable_stream(Type type) { + Func namespace_match = () => { + foreach (string ns in _allowed_namespaces_matches) { + if (type.Namespace.ToLower().Contains(ns.ToLower())) + return true; } - loadAssembly(resolvedAssemblyPath); + return false; + }; + bool rv = type.IsSubclassOf(typeof(ViewStream)) + && type.IsPublic; + //rv = rv && (!type.IsInterface && !type.IsAbstract); + rv = rv && namespace_match(); + return rv; + } + + private void _load_all_streams() { + load_streams_from_assembly(this.GetType().Assembly.FullName); + var assemblies = new string[] { "DataStream.dll", "SharedStreams.dll" }; + foreach (string assembly_name in assemblies) { + bts.Log.Gen.info($"PrimitiveManager._load_all_streams assemblyName: {assembly_name}"); + string resolved_path_name = assembly_name; + if (!System.IO.Path.IsPathRooted(assembly_name)) { + resolved_path_name = Path.GetFullPath(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, assembly_name)); + } + load_streams_from_assembly(resolved_path_name); } } - private static Assembly myAssemblyResolver(object sender, ResolveEventArgs args) { - foreach (Assembly a in AppDomain.CurrentDomain.GetAssemblies()) - if (args.Name.Equals(a.FullName)) - return a; - return null; + public Type get_dsl_op_type(string dsl_op_name) { + Type rv; + if (!_dslopname_to_type_map.TryGetValue(dsl_op_name, out rv)) + return null; + return rv; } - /// - /// Loads all the Stream types associated with the assembly - /// - /// - public void loadAssembly(string assemblyName) { - bts.Log.Gen.info($"PrimitiveManager.loadAssembly assemblyName: {assemblyName}"); - if (myAssemblyNames.Contains(assemblyName)) + public void load_streams_from_assembly(string assembly_name) { + bts.Log.Gen.info($"PrimitiveManager.loadAssembly assemblyName: {assembly_name}"); + if (_loaded_assemblies.Contains(assembly_name)) return; - myAssemblyNames.Add(assemblyName); - Assembly loadedAssembly = GetType().Assembly.FullName.Equals(assemblyName) ? + _loaded_assemblies.Add(assembly_name); + Assembly loaded_assembly = GetType().Assembly.FullName.Equals(assembly_name) ? GetType().Assembly : - Assembly.LoadFrom(assemblyName); + Assembly.LoadFrom(assembly_name); - foreach (Type type in loadedAssembly.GetTypes()) - if (!type.IsInterface - && !type.IsAbstract - && type.IsSubclassOf(typeof(ViewStream)) - && type.IsPublic) { - bool isVisible = true; - string userRep = createDefaultName(type.Name); + foreach (Type type in loaded_assembly.GetTypes()) + if (_is_loadable_stream(type)) { + bool is_visible = true; + string dsl_name = type.Name; //createDefaultName(type.Name); foreach (Attribute att in type.GetCustomAttributes(false)) if (att is DataStreamUserRespresentation) { DataStreamUserRespresentation dsatt = att as DataStreamUserRespresentation; - isVisible = dsatt.isVisible; - userRep = isVisible ? - dsatt.friendlyName == null ? userRep : dsatt.friendlyName + is_visible = dsatt.isVisible; + dsl_name = is_visible ? + dsatt.friendlyName == null ? dsl_name : dsatt.friendlyName : null; break; } - if (isVisible) { - // Log.assert_d(myTypeLookupTable[userRep] == null, type.FullName); - myTypeLookupTable[userRep] = type; + if (is_visible) { + // Log.assert_d(myTypeLookupTable[userRep] == null, type.FullName); + _dslopname_to_type_map[dsl_name] = type; } } } - public static string createDefaultName(string typeName) { - if (!typeName.EndsWith("Stream")) - return typeName; - string retVal = typeName.Remove(typeName.Length - "Stream".Length, "Stream".Length); - string startString = new String(new char[] { retVal[0] }).ToLower(); - retVal = retVal.Remove(0, 1); - retVal = retVal.Insert(0, startString); - return retVal; - } - - public static PrimitiveManager instance { - get { return mySelf = mySelf == null ? new PrimitiveManager() : mySelf; } + get { return _self = _self == null ? new PrimitiveManager() : _self; } } public static void SetMarketDataClient(object value) { @@ -96,31 +96,20 @@ namespace BCG { mdStreamFactory = new(value); } - /// - /// Returns the Type name corresponding to the primitive name - /// - /// - /// - public string find(string friendlyName) { - if (myTypeLookupTable[friendlyName] == null) - throw new ApplicationException(friendlyName + " is not the friendly name of any of the loaded types"); - return (myTypeLookupTable[friendlyName] as Type).Name; + public string dsl_to_type_name(string dsl_op_name) { + Type rv; + if (!_dslopname_to_type_map.TryGetValue(dsl_op_name, out rv)) + throw new ApplicationException(dsl_op_name + " is not a loaded dsl op"); + return rv.Name; } - /// - /// Constructs and returns a ViewStream of type corresponding to the friendly name - /// - /// friendly primitive name - /// args can be null or an empty ICollection if the paramterless constructor - /// is the desired one - /// public ViewStream build(string friendlyName, ICollection args) { object[] constructorArgs = null; if (args != null && args.Count > 0) { constructorArgs = new object[args.Count]; args.CopyTo(constructorArgs, 0); } - var type = myTypeLookupTable[friendlyName] as Type + var type = _dslopname_to_type_map[friendlyName] as Type ?? throw new ApplicationException(friendlyName + " is not the friendly name of any of the loaded types"); if (type.HasCustomAttribute()) { if (mdStreamFactory is null) { @@ -135,30 +124,14 @@ namespace BCG { Activator.CreateInstance(type, constructorArgs) as ViewStream; } - /// - /// Returns the name of all the primitives - /// - /// - public string[] getPrimitiveNames() { - string[] retVal = new string[myTypeLookupTable.Count]; - myTypeLookupTable.Keys.CopyTo(retVal, 0); - return retVal; + public string[] get_dsl_op_names() { + return _dslopname_to_type_map.Keys.ToArray(); } - /// - /// Return the types of all the streams - /// - /// - public Type[] getStreamTypes() { - Type[] retVal = new Type[myTypeLookupTable.Count]; - myTypeLookupTable.Values.CopyTo(retVal, 0); - return retVal; - } - public ICollection getConstructorSigns(string primitiveName) { + public ICollection get_dsl_op_cons_args(string dsl_op_name) { ArrayList retVal = new ArrayList(); - Log.assert(myTypeLookupTable[primitiveName] != null); - Type t = myTypeLookupTable[primitiveName] as Type; + Type t = get_dsl_op_type(dsl_op_name); foreach (ConstructorInfo ci in t.GetConstructors()) { string sign = ""; sign = t.Name + " ("; @@ -172,9 +145,18 @@ namespace BCG { return retVal; } - public string getAssemblyName(string primitiveName) { - Log.assert(myTypeLookupTable[primitiveName] != null); - return (myTypeLookupTable[primitiveName] as Type).Assembly.GetName().Name; + public string get_dslop_assembly_name(string dsl_op_name) { + Type rv; + if (!_dslopname_to_type_map.TryGetValue(dsl_op_name, out rv)) + throw new ApplicationException(dsl_op_name + " is not a loaded dsl op"); + return rv.Assembly.FullName; } + + public string get_qualified_op_name(string dsl_op_name) { + Type dsl_op_type = get_dsl_op_type(dsl_op_name); + Log.assert(dsl_op_type != null); + return $"{dsl_op_type.Namespace}.{dsl_op_name}"; + } + } } diff --git a/src/DataStreamSuite/DataStreamCore/Messaging/Subscription/TableAccumulator2.cs b/src/DataStreamSuite/DataStreamCore/Messaging/Subscription/TableAccumulator2.cs index f6c4aaeed..f5092c978 100644 --- a/src/DataStreamSuite/DataStreamCore/Messaging/Subscription/TableAccumulator2.cs +++ b/src/DataStreamSuite/DataStreamCore/Messaging/Subscription/TableAccumulator2.cs @@ -3,23 +3,23 @@ using System.IO; using System.Collections.Generic; using System.Linq; +using BlueOrb.Data; using bts; +using System.Threading; -namespace BCG -{ - // This class is responsible for mantaining the state fo a table. It gets the - // bytes from the pubsubserver via the handle_updates call (called by VSD), deserializes +namespace BCG { + // This class is responsible for mantaining the state for a table. It gets the + // bytes from the pubsubserver via the handle_updates call + // (called by VSD, - VSD is polling the SubscriberCOre for udpates), deserializes, // updates the state of the table, and fires the TableUpdateDelegate. - public class TableAccumulator2 : ITableAccumulator - { + public class TableAccumulator2 : ITableAccumulator { private readonly string _tag; private readonly ISubscriberCore _subscriber_core; IStreamMsgDeserilizer _deser = new StreamIODeserializationController(); private BlueTable _table; private TableUpdateDelegate _on_update_delegate; - public TableAccumulator2(string tag, ISubscriberCore sub_core) - { + public TableAccumulator2(string tag, ISubscriberCore sub_core) { _tag = tag; _subscriber_core = sub_core; } @@ -28,61 +28,54 @@ namespace BCG //public bool is_active() { return _on_update_delegate != null; } - public event TableUpdateDelegate on_update - { - add - { + public event TableUpdateDelegate on_update { + add { Log.Gen.info("TableAccumulator2.on_update.add {_tag} subscribed"); - if (_on_update_delegate == null) - { + if (_on_update_delegate == null) { //ie first subscription Log.Gen.info("TableAccumulator2.on_update {_tag} subscribed for the first time"); _subscriber_core.subscribe(_tag); } _on_update_delegate = Delegate.Combine(_on_update_delegate, value) as TableUpdateDelegate; + // a new subsriber should get a full callback immediatly (new rows, 0 deleted, all added) if (_table != null) value(_table, _table, new BlueTable(_table.schema)); } - remove - { + remove { Log.Gen.info("TableAccumulator2.on_update.remove {_tag} unsubscribed"); - if (_on_update_delegate != null) - { + if (_on_update_delegate != null) { _on_update_delegate = Delegate.Remove(_on_update_delegate, value) as TableUpdateDelegate; int n_subs = _on_update_delegate == null ? 0 : _on_update_delegate.GetInvocationList().Length; Log.Gen.info("TableAccumulator2.on_update.remove {_tag} unsubscribed n_subs: {n_subs}"); - if (_on_update_delegate == null) - { + if (_on_update_delegate == null) { _subscriber_core.unsubscribe(_tag); - // TODO - //_table = null; + _table = null; } } } } private int _update_no = 0; - public void handle_updates(IEnumerable msgs) - { + public void handle_updates(IEnumerable msgs) { if (msgs == null || msgs.Count() == 0) return; Log.Gen.info($"TableAccumulator2.handle_updates _update_no: {_update_no++} msgs: {msgs.Count()} msg_0: {msgs.ElementAt(0).Length}"); IBlueRowCollection table_0 = _table == null ? null : new BlueTable(_table); - foreach (var msg in msgs) - { - bts.StreamIOMessage str_msg = _deser.deserialize(msg); + int i = 0; + foreach (var msg in msgs) { + bts.StreamIOMessage new_msg_txt = _deser.deserialize(msg); var state_txt = _table == null ? "NULL" : _table.Count.ToString();// BlueDataUtility.id_string(_table); - Log.Gen.info($"TableAccumulator2.handle_update tag: {_tag} sz: {msg.Length} str_msg: {str_msg} _state: {state_txt}"); - switch (str_msg.op) - { + Log.Gen.info($"TableAccumulator2.handle_update tag: {_tag} object_hash: {GetHashCode()} thread_id: {Thread.CurrentThread.ManagedThreadId} msg: {i++ / msgs.Count()} msg_sz: {msg.Length} new_msg_txt: {new_msg_txt} pre_update_count: {state_txt}"); + + switch (new_msg_txt.op) { case bts.StreamIOMessage.StreamOp.CREATE: - _table = new BlueTable(str_msg.create_message.rows); + _table = new BlueTable(new_msg_txt.create_message.rows); break; case bts.StreamIOMessage.StreamOp.MULTIPLE_REMOVE_ADD: - _table.deleteRows(str_msg.multiple_remove_add_message.removed_rows); - _table.addRows(str_msg.multiple_remove_add_message.added_rows); + _table.deleteRows(new_msg_txt.multiple_remove_add_message.removed_rows); + _table.addRows(new_msg_txt.multiple_remove_add_message.added_rows); break; } } @@ -91,11 +84,16 @@ namespace BCG IBlueRowCollection d_rows, a_rows; //BlueDataUtility.compute_differences_id_based(_table, table_0, out d_rows, out a_rows); BlueDataUtility.compute_differences_fast(_table, table_0, out d_rows, out a_rows); + Log.Gen.info($"TableAccumulator2.handle_updates firing update, _table: {_table.rows_id_string()} d_rows: {d_rows.rows_id_string()} a_rows: {a_rows.rows_id_string()}"); + if (a_rows.Count == 0 && d_rows.Count == 0 && table_0 != null) { + Log.Gen.info($"TableAccmulator2.handle_updates ex! _table: {_table.ToDebugString()} table_0: {table_0.ToDebugString()} a_rows: {a_rows.ToDebugString()} d_rows: {d_rows.ToDebugString()}"); + //same table was pubslished (maybe surpress it on the publisher or pubsubs) + return; + } _on_update_delegate?.Invoke(_table, a_rows, d_rows); } - public void update(Stream[] streams) - { + public void update(Stream[] streams) { } #endregion diff --git a/src/DataStreamSuite/DataStreamCore/Messaging/v2/Receive/PubSubServer/PubsubServerStreamTagHandler.cs b/src/DataStreamSuite/DataStreamCore/Messaging/v2/Receive/PubSubServer/PubsubServerStreamTagHandler.cs index 0b826b5bd..c7517264e 100644 --- a/src/DataStreamSuite/DataStreamCore/Messaging/v2/Receive/PubSubServer/PubsubServerStreamTagHandler.cs +++ b/src/DataStreamSuite/DataStreamCore/Messaging/v2/Receive/PubSubServer/PubsubServerStreamTagHandler.cs @@ -30,7 +30,7 @@ namespace bts { } } - // This class is created by the SingleTagData for stream tag_type. Every pub + // This class is created by the SingleTagData for stream tag_type. Every DS tag has a PubsubServerSingleStreamTagHandler public class PubsubServerSingleStreamTagHandler : IPubSubServerTagHandler { // this is kept around to deserielize the incoming messages and keep the state of the table diff --git a/src/DataStreamSuite/DataStreamExpressions/PrimitiveExpression.cs b/src/DataStreamSuite/DataStreamExpressions/PrimitiveExpression.cs index 1b90cd17e..0540d9259 100644 --- a/src/DataStreamSuite/DataStreamExpressions/PrimitiveExpression.cs +++ b/src/DataStreamSuite/DataStreamExpressions/PrimitiveExpression.cs @@ -20,7 +20,7 @@ public class PrimitiveExpression : StatementExpression { } public override string print(int startCol, IList activeBindings) { - string prelude = "new " + PrimitiveManager.instance.find(myName) + " ("; + string prelude = "new " + PrimitiveManager.instance.dsl_to_type_name(myName) + " ("; return prelude + myPrintArgs(startCol + prelude.Length, activeBindings) + ")"; } diff --git a/src/DataStreamSuite/DataStreamPublisher/WSPublishers/DatabentoPublisher.py b/src/DataStreamSuite/DataStreamPublisher/WSPublishers/DatabentoPublisher.py new file mode 100644 index 000000000..00cbbeb0a --- /dev/null +++ b/src/DataStreamSuite/DataStreamPublisher/WSPublishers/DatabentoPublisher.py @@ -0,0 +1,146 @@ +""" +Requires: + pip install -U databento + pip install websockets + +Sources: + https://databento.com/docs/quickstart/set-up + https://databento.com/docs/schemas-and-data-formats/bbo +""" + +import datetime as dt +import subprocess +import sys +import time + +try: + import databento as db +except ImportError: + print("Installing missing dependency: databento") + subprocess.check_call([sys.executable, "-m", "pip", "install", "-U", "databento"]) + import databento as db + +from databento.common.error import BentoError + +try: + import websockets +except ImportError: + print("Installing missing dependency: websockets") + subprocess.check_call([sys.executable, "-m", "pip", "install", "websockets"]) + import websockets + +from databento_transformer import DatabentoTransformer +from pubsub_client import PubSubClient + + +API_KEY = "db-VksTJvhMmbLjbJu9Kg6GPS99B8FDN" +DATASET = "GLBX.MDP3" +SYMBOL = "ES.FUT" +PUBSUB_WS_URL = "ws://localhost:19092/ws/" +BBO_TABLE_NAME = "livebbo_glbx_future_es_continuouscontracts" +TRADES_TABLE_NAME = "livetrades_glbx_future_es_continuouscontracts" +DEFINITIONS_TABLE_NAME = "livecontracts_glbx_future_es" + +_pubsub_client = PubSubClient(PUBSUB_WS_URL) +_transformer = DatabentoTransformer( + symbol=SYMBOL, + bbo_table_name=BBO_TABLE_NAME, + trades_table_name=TRADES_TABLE_NAME, + definitions_table_name=DEFINITIONS_TABLE_NAME, +) + + +def _publish_contract_definitions() -> None: + historical_client = db.Historical(API_KEY) + dataset_range = historical_client.metadata.get_dataset_range(DATASET) + schema_range = dataset_range.get("schema", {}).get("definition", {}) + available_end = schema_range.get("end", dataset_range["end"]) + + if isinstance(available_end, str): + available_end_dt = dt.datetime.fromisoformat(available_end.replace("Z", "+00:00")) + else: + available_end_dt = available_end + + # Databento's range end is exclusive. Back off slightly so the request stays + # strictly inside the available window. + end_dt = available_end_dt - dt.timedelta(seconds=1) + start_dt = max(end_dt - dt.timedelta(days=1), end_dt.replace(hour=0, minute=0, second=0, microsecond=0)) + start = start_dt.isoformat() + end = end_dt.isoformat() + + definition_data = historical_client.timeseries.get_range( + dataset=DATASET, + schema="definition", + stype_in="parent", + symbols=SYMBOL, + start=start, + end=end, + ) + + df = definition_data.to_df() + payload = _transformer.build_definitions_payload(df) + if payload is None: + print("No Databento contract definitions returned") + return + + print(f"Publishing {len(payload['rows'])} Databento contract definition rows") + _pubsub_client.publish(payload) + + +def on_record(record) -> None: + # Print every callback first so we can see whether Databento is flowing + # even if our row extraction logic misses a field shape. + print(record) + + payloads = _transformer.transform_record(record) + if payloads: + for payload in payloads: + _pubsub_client.publish(payload) + return + + print("Skipping record with no BBO/trade fields") + + +def main() -> None: + _pubsub_client.start() + print(f"Starting Databento live client for {SYMBOL} on {DATASET}") + try: + _publish_contract_definitions() + except Exception as ex: + print(f"Contract definition publish failed: {ex}", flush=True) + + while True: + try: + client = db.Live(key=API_KEY) + + client.subscribe( + dataset=DATASET, + schema="bbo-1s", + stype_in="parent", + symbols=SYMBOL, + ) + client.subscribe( + dataset=DATASET, + schema="trades", + stype_in="parent", + symbols=SYMBOL, + ) + + client.add_callback(on_record) + client.start() + print("Databento client started, waiting for BBO and trade records...", flush=True) + client.block_for_close() + print("Databento client closed cleanly", flush=True) + break + except BentoError as ex: + print(f"Databento live connection error: {ex}", flush=True) + print("Retrying Databento live connection in 5 seconds...", flush=True) + time.sleep(5) + except Exception as ex: + print(f"Databento publisher unexpected error: {ex}", flush=True) + print("Retrying Databento live connection in 5 seconds...", flush=True) + time.sleep(5) + + +if __name__ == "__main__": + main() diff --git a/src/DataStreamSuite/DataStreamPublisher/WSPublishers/databento_transformer.py b/src/DataStreamSuite/DataStreamPublisher/WSPublishers/databento_transformer.py new file mode 100644 index 000000000..9ab3bdc05 --- /dev/null +++ b/src/DataStreamSuite/DataStreamPublisher/WSPublishers/databento_transformer.py @@ -0,0 +1,244 @@ +import datetime as dt + + +class DatabentoTransformer: + def __init__( + self, + symbol: str, + bbo_table_name: str, + trades_table_name: str, + definitions_table_name: str, + ): + self._symbol = symbol + self._bbo_table_name = bbo_table_name + self._trades_table_name = trades_table_name + self._definitions_table_name = definitions_table_name + self._instrument_id_to_symbol: dict[int, str] = {} + self._last_bbo_row: dict | None = None + self._trade_row_id = 0 + self._trade_table_created = False + + def transform_record(self, record) -> list[dict]: + payload = self._handle_bbo_record(record) + if payload is not None: + return [payload] + + payload = self._handle_trade_record(record) + if payload is not None: + return [payload] + + return [] + + def build_definitions_payload(self, definition_df) -> dict | None: + if definition_df is None or definition_df.empty: + return None + + df = definition_df.reset_index() + if "instrument_class" in df.columns: + df = df[df["instrument_class"].astype(str) == "F"] + if "security_type" in df.columns: + df = df[df["security_type"].astype(str) == "FUT"] + if "raw_symbol" in df.columns: + df = df.sort_values("ts_recv" if "ts_recv" in df.columns else "ts_event") + df = df.drop_duplicates(subset=["raw_symbol"], keep="last") + + rows: list[dict] = [] + for idx, row in enumerate(df.itertuples(index=False), start=1): + instrument_id = int(getattr(row, "instrument_id", 0) or 0) + security_name = str(getattr(row, "raw_symbol", "")) + if instrument_id > 0 and security_name: + self._instrument_id_to_symbol[instrument_id] = security_name + + rows.append({ + "id": idx, + "security_name": security_name, + "instrument_id": instrument_id, + "instrument_class": str(getattr(row, "instrument_class", "")), + "security_type": str(getattr(row, "security_type", "")), + "asset": str(getattr(row, "asset", "")), + "exchange": str(getattr(row, "exchange", "")), + "currency": str(getattr(row, "currency", "")), + "expiration": self._ns_to_iso(getattr(row, "expiration", 0)), + "activation": self._ns_to_iso(getattr(row, "activation", 0)), + "min_price_increment": self._nano_to_float(getattr(row, "min_price_increment", 0)), + "display_factor": self._nano_to_float(getattr(row, "display_factor", 0)), + "price_display_multiplier": self._nano_to_float(getattr(row, "display_factor", 0)), + "contract_multiplier": int(getattr(row, "contract_multiplier", 0) or 0), + "contract_multiplier_unit": int(getattr(row, "contract_multiplier_unit", 0) or 0), + "unit_of_measure": str(getattr(row, "unit_of_measure", "")), + "unit_of_measure_qty": self._nano_to_float(getattr(row, "unit_of_measure_qty", 0)), + "min_lot_size": int(getattr(row, "min_lot_size", 0) or 0), + "min_trade_vol": int(getattr(row, "min_trade_vol", 0) or 0), + "max_trade_vol": int(getattr(row, "max_trade_vol", 0) or 0), + "maturity_year": int(getattr(row, "maturity_year", 0) or 0), + "maturity_month": int(getattr(row, "maturity_month", 0) or 0), + "maturity_day": int(getattr(row, "maturity_day", 0) or 0), + "underlying": str(getattr(row, "underlying", "")), + }) + + if not rows: + return None + + return { + "op": "create_table", + "table_name": self._definitions_table_name, + "rows": rows, + } + + def _handle_bbo_record(self, record) -> dict | None: + row = self._to_bbo_row(record) + if row is None: + return None + + if self._last_bbo_row is None: + payload = { + "op": "create_table", + "table_name": self._bbo_table_name, + "rows": [row], + } + else: + payload = { + "op": "multiple_remove_add", + "table_name": self._bbo_table_name, + "removed_rows": [self._last_bbo_row], + "added_rows": [row], + } + + self._last_bbo_row = row + return payload + + def _handle_trade_record(self, record) -> dict | None: + row = self._to_trade_row(record) + if row is None: + return None + + row["id"] = self._trade_row_id + self._trade_row_id += 1 + + if not self._trade_table_created: + payload = { + "op": "create_table", + "table_name": self._trades_table_name, + "rows": [row], + } + self._trade_table_created = True + return payload + + return { + "op": "multiple_remove_add", + "table_name": self._trades_table_name, + "removed_rows": [], + "added_rows": [row], + } + + def _to_bbo_row(self, record) -> dict | None: + bid_px = self._get_level_attr(record, "bid_px", default=self._get_attr(record, "bid_px_00")) + ask_px = self._get_level_attr(record, "ask_px", default=self._get_attr(record, "ask_px_00")) + if bid_px is None and ask_px is None: + return None + + return { + "id": 0, + "security_name": self._get_security_name(record), + "timestamp": self._get_timestamp(record), + "bid_px": float(bid_px or 0.0), + "ask_px": float(ask_px or 0.0), + "bid_sz": int(self._get_level_attr(record, "bid_sz", default=self._get_attr(record, "bid_sz_00", default=0)) or 0), + "ask_sz": int(self._get_level_attr(record, "ask_sz", default=self._get_attr(record, "ask_sz_00", default=0)) or 0), + } + + def _to_trade_row(self, record) -> dict | None: + price = self._get_attr(record, "price", "px") + size = self._get_attr(record, "size") + if price is None and size is None: + return None + + side = self._get_attr(record, "side", "aggressor_side", default="") + + return { + "id": 0, + "security_name": self._get_security_name(record), + "timestamp": self._get_timestamp(record), + "price": float(price or 0.0), + "size": int(size or 0), + "side": str(side), + } + + def _get_security_name(self, record) -> str: + instrument_id = self._get_attr(record, "instrument_id", default=0) + try: + instrument_id_int = int(instrument_id or 0) + except (TypeError, ValueError): + instrument_id_int = 0 + + if instrument_id_int > 0 and instrument_id_int in self._instrument_id_to_symbol: + return self._instrument_id_to_symbol[instrument_id_int] + + value = self._get_attr( + record, + "symbol", + "raw_symbol", + "stype_out_symbol", + "stype_in_symbol", + default=self._symbol, + ) + return str(value) + + def _get_timestamp(self, record) -> int: + value = self._get_attr(record, "ts_event", "ts_recv", default=0) + try: + return int(value) + except (TypeError, ValueError): + return 0 + + def _get_attr(self, record, *names, default=None): + for name in names: + if hasattr(record, name): + value = getattr(record, name) + if value is not None: + return value + return default + + def _get_level_attr(self, record, name, default=None): + levels = self._get_attr(record, "levels", default=None) + if levels: + level0 = levels[0] + if hasattr(level0, name): + value = getattr(level0, name) + if value is not None: + return value + return default + + def _ns_to_iso(self, timestamp_ns) -> str: + if timestamp_ns is None: + return "" + + if hasattr(timestamp_ns, "isoformat"): + try: + if hasattr(timestamp_ns, "to_pydatetime"): + timestamp_dt = timestamp_ns.to_pydatetime() + else: + timestamp_dt = timestamp_ns + + if timestamp_dt is None: + return "" + + if getattr(timestamp_dt, "tzinfo", None) is None: + timestamp_dt = timestamp_dt.replace(tzinfo=dt.timezone.utc) + return timestamp_dt.isoformat() + except (TypeError, ValueError, AttributeError): + pass + + try: + ts_int = int(timestamp_ns) + if ts_int <= 0: + return "" + return dt.datetime.fromtimestamp(ts_int / 1_000_000_000, tz=dt.timezone.utc).isoformat() + except (TypeError, ValueError, OSError, OverflowError): + return "" + + def _nano_to_float(self, value) -> float: + try: + return float(value) / 1_000_000_000.0 + except (TypeError, ValueError): + return 0.0 diff --git a/src/DataStreamSuite/DataStreamPublisher/WSPublishers/pubsub_client.py b/src/DataStreamSuite/DataStreamPublisher/WSPublishers/pubsub_client.py new file mode 100644 index 000000000..6c1c1b151 --- /dev/null +++ b/src/DataStreamSuite/DataStreamPublisher/WSPublishers/pubsub_client.py @@ -0,0 +1,58 @@ +import asyncio +import json +import queue +import threading + +import websockets + + +class PubSubClient: + def __init__(self, ws_url: str): + self._ws_url = ws_url + self._outgoing_queue: "queue.Queue[dict]" = queue.Queue() + self._sender_thread: threading.Thread | None = None + + def start(self) -> threading.Thread: + if self._sender_thread is None or not self._sender_thread.is_alive(): + self._sender_thread = self._start_sender_thread() + return self._sender_thread + + def publish(self, payload: dict) -> None: + self._outgoing_queue.put(payload) + + def publish_create_table(self, table_name: str, rows: list[dict]) -> None: + self.publish({ + "op": "create_table", + "table_name": table_name, + "rows": rows, + }) + + def publish_multiple_remove_add( + self, + table_name: str, + removed_rows: list[dict], + added_rows: list[dict], + ) -> None: + self.publish({ + "op": "multiple_remove_add", + "table_name": table_name, + "removed_rows": removed_rows, + "added_rows": added_rows, + }) + + def _start_sender_thread(self) -> threading.Thread: + thread = threading.Thread(target=self._run_send_loop, daemon=True) + thread.start() + return thread + + def _run_send_loop(self) -> None: + asyncio.run(self._ws_send_loop()) + + async def _ws_send_loop(self) -> None: + async with websockets.connect(self._ws_url) as ws: + print(f"Connected to PubSubServer websocket: {self._ws_url}") + while True: + payload = await asyncio.to_thread(self._outgoing_queue.get) + body = json.dumps(payload) + print(body) + await ws.send(body) diff --git a/src/DataStreamSuite/DataStreamPublisher/appsettings.json b/src/DataStreamSuite/DataStreamPublisher/appsettings.json index 53b421748..d0f1cfa39 100644 --- a/src/DataStreamSuite/DataStreamPublisher/appsettings.json +++ b/src/DataStreamSuite/DataStreamPublisher/appsettings.json @@ -59,14 +59,9 @@ "Class": "bts.PubsubServerStreamTagHandler" }, { - "TagType": "System_Sub", - "Assembly": "PubSub", - "Class": "BCG.SystemSubscriptionMapPublisher" - }, - { - "TagType": "System_Stats", - "Assembly": "PubSub", - "Class": "BCG.SystemStatsPublisher" + "TagType": "DS_.*", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerStreamTagHandler" }, { "TagType": ".*", @@ -90,4 +85,4 @@ } ] } -} +} \ No newline at end of file diff --git a/src/DataStreamSuite/DataStreamQueryAnalyzer/MainForm.cs b/src/DataStreamSuite/DataStreamQueryAnalyzer/MainForm.cs index 294042507..090125609 100644 --- a/src/DataStreamSuite/DataStreamQueryAnalyzer/MainForm.cs +++ b/src/DataStreamSuite/DataStreamQueryAnalyzer/MainForm.cs @@ -21,11 +21,55 @@ using System.Reactive.Subjects; using System.Text.RegularExpressions; using System.Threading; using System.Windows.Forms; +using BlueOrb.Pubsub.Diagnostics; namespace BCG { public partial class MainForm : System.Windows.Forms.Form { + private const string LastQueryRegistryKey = "LastQuery"; + private const string RecentSavedFilesRegistryKey = "RecentSavedFiles"; + private const string DateTimeDisplayFormat = "M/d/yyyy h:mm:ss.fff tt"; + private const int MaxRecentSavedFiles = 10; + private static readonly Color QueryEditorDefaultColor = Color.White; + private static readonly Color QueryEditorCommentColor = Color.FromArgb(106, 115, 125); + private static readonly Color QueryEditorOperatorColor = Color.FromArgb(86, 156, 214); + private static readonly Color QueryEditorAssignmentNameColor = Color.FromArgb(78, 201, 176); + private static readonly Color GridBackgroundColor = Color.FromArgb(37, 37, 38); + private static readonly Color GridAltRowColor = Color.FromArgb(43, 43, 48); + private static readonly Color GridHeaderColor = Color.FromArgb(62, 62, 66); + private static readonly Color GridGridLineColor = Color.FromArgb(58, 58, 61); + private static readonly Color GridSelectionColor = Color.FromArgb(9, 71, 113); + private static readonly Color GridSelectionForeColor = Color.White; + private static readonly Color GridTimestampColor = Color.FromArgb(206, 215, 222); + private static readonly Color GridIdentifierColor = Color.FromArgb(156, 163, 175); + private static readonly Color GridIndicatorColor = Color.FromArgb(156, 220, 254); + + class PrimitiveTreeNodeComparer : IComparer + { + public int Compare(object? x, object? y) + { + var left = x as TreeNode; + var right = y as TreeNode; + if (left is null || right is null) + return 0; + + string left_key = _sort_key(left); + string right_key = _sort_key(right); + return StringComparer.OrdinalIgnoreCase.Compare(left_key, right_key); + } + + static string _sort_key(TreeNode node) + { + if (node.Parent is null) + return node.Text; + + if (node.Tag is string primitive_name) + return primitive_name; + + return node.Text; + } + } // static async Task _run() { // var login = "bts"; // var passwd = String.Empty; @@ -40,6 +84,8 @@ namespace BCG private string? myLastFileName; private ViewStream? myCurrentStream; private List mySiteItems = new List(); + private readonly List _recent_saved_files = new List(); + private ToolStripSeparator? _recent_saved_files_separator; // private string mySite = SitesCore.getMySiteName (); private string mySite = "TODO"; private string myLastClassName = "MyView"; @@ -49,11 +95,20 @@ namespace BCG private TextWriter? myConsoleOutput; IDataPacket? pendingData; IDisposable? titleSub; + readonly ToolTip _primitive_tool_tip = new ToolTip(); + readonly Dictionary _primitive_source_path_cache = new Dictionary(); + Dictionary? _source_file_index; + string? _repo_root_path; + char? _last_primitive_search_char; + TreeNode? _last_primitive_search_assembly_node; + bool _is_applying_query_syntax_highlighting; + HashSet? _dsl_operator_names; public MainForm() { //Task.Run(async () => await _run()); InitializeComponent(); + _apply_grid_theme(); // myKQ = ConfigurationRequester.getApplicationQualifier(); myKQ = "TODO"; var handleCreatedSubject = new Subject(); @@ -72,13 +127,12 @@ namespace BCG myWindowState = new PersistWindowState(); myWindowState.parent = this; myWindowState.saveState = false; + myWindowState.LoadState += myLoadPersistedState; + myWindowState.SaveState += mySavePersistedState; this.Load += new EventHandler(myLoad); this.Closing += new CancelEventHandler(myClosing); - myQueryTextBox.TextChanged += (o, e) => - { - myQueryTextBox.ForeColor = Color.White; - }; + myQueryTextBox.TextChanged += (o, e) => _apply_query_syntax_highlighting(); } event Action? titleInvalidated; @@ -86,14 +140,20 @@ namespace BCG public string query_text { get { return myQueryTextBox.Text; } - set { myQueryTextBox.Text = value; } + set + { + myQueryTextBox.Text = value; + _apply_query_syntax_highlighting(); + } } /// /// Clean up any resources being used. /// - protected override void Dispose(bool disposing) { - if (disposing) { + protected override void Dispose(bool disposing) + { + if (disposing) + { Disposable.Dispose(ref titleSub); components?.Dispose(); } @@ -104,7 +164,7 @@ namespace BCG { // TODO: Port PublishedTagsStream from edge (then we can uncomment impl below) //ViewStream vs = new PubSubServerStateStream(); - ViewStream vs = new PubSubServerStateStream(new SubscriberCoreFactory(), ViewStreamDatabase.instance); + ViewStream vs = new PubSubServerStateStream(ViewStreamDatabase.instance); return new FilterStream(vs, "tag~='DS_'"); //return new LiteralStream("tag/String", "DS_table1;DS_table2"); } @@ -114,7 +174,8 @@ namespace BCG titleInvalidated?.Invoke(); } - void refreshTitle(IBlueRowCollection rows) { + void refreshTitle(IBlueRowCollection rows) + { string route_txt = String.Empty; foreach (IBlueRow r in rows) { @@ -135,11 +196,11 @@ namespace BCG private IDictionary myGetLibraryData() { SortedList retVal = new SortedList(); - string[] primitiveNames = PrimitiveManager.instance.getPrimitiveNames(); + string[] primitiveNames = PrimitiveManager.instance.get_dsl_op_names(); foreach (string pName in primitiveNames) { - string aName = PrimitiveManager.instance.getAssemblyName(pName); - ICollection cNames = PrimitiveManager.instance.getConstructorSigns(pName); + string aName = PrimitiveManager.instance.get_dslop_assembly_name(pName); + ICollection cNames = PrimitiveManager.instance.get_dsl_op_cons_args(pName); if (!retVal.Contains(aName)) retVal.Add(aName, new SortedList()); (retVal[aName] as IDictionary)[pName] = new ArrayList(cNames); @@ -151,6 +212,65 @@ namespace BCG return retVal; } + HashSet _get_dsl_operator_names() + { + if (_dsl_operator_names != null) + return _dsl_operator_names; + + _dsl_operator_names = new HashSet( + PrimitiveManager.instance.get_dsl_op_names().Cast(), + StringComparer.OrdinalIgnoreCase); + return _dsl_operator_names; + } + + void _apply_query_syntax_highlighting() + { + if (_is_applying_query_syntax_highlighting || myQueryTextBox.IsDisposed) + return; + + _is_applying_query_syntax_highlighting = true; + try + { + int selection_start = myQueryTextBox.SelectionStart; + int selection_length = myQueryTextBox.SelectionLength; + + myQueryTextBox.SuspendLayout(); + myQueryTextBox.SelectAll(); + myQueryTextBox.SelectionColor = QueryEditorDefaultColor; + + foreach (Match match in Regex.Matches(myQueryTextBox.Text, @"^\s*([A-Za-z_]\w*)\s*=", RegexOptions.Multiline)) + { + Group group = match.Groups[1]; + myQueryTextBox.Select(group.Index, group.Length); + myQueryTextBox.SelectionColor = QueryEditorAssignmentNameColor; + } + + foreach (Match match in Regex.Matches(myQueryTextBox.Text, @"\b([A-Za-z_]\w*)\s*\(")) + { + Group group = match.Groups[1]; + if (!_get_dsl_operator_names().Contains(group.Value)) + continue; + myQueryTextBox.Select(group.Index, group.Length); + myQueryTextBox.SelectionColor = QueryEditorOperatorColor; + } + + foreach (Match match in Regex.Matches(myQueryTextBox.Text, @"//.*$", RegexOptions.Multiline)) + { + myQueryTextBox.Select(match.Index, match.Length); + myQueryTextBox.SelectionColor = QueryEditorCommentColor; + } + + myQueryTextBox.Select(selection_start, selection_length); + if (selection_length == 0) + myQueryTextBox.SelectionColor = QueryEditorDefaultColor; + myQueryTextBox.ResumeLayout(); + } + finally + { + _is_applying_query_syntax_highlighting = false; + } + } + private void myLoadAssemblies() { @@ -161,13 +281,18 @@ namespace BCG TreeNode assemblyNode = new TreeNode(de.Key as String); foreach (DictionaryEntry innerDe in (de.Value as IDictionary)) { - TreeNode primitiveNode = new TreeNode(innerDe.Key as string); + string primitive_name = innerDe.Key as string; + TreeNode primitiveNode = new TreeNode(primitive_name) + { + Tag = primitive_name + }; foreach (string con in (innerDe.Value as ICollection)) primitiveNode.Nodes.Add(con); assemblyNode.Nodes.Add(primitiveNode); } myTreeView.Nodes.Add(assemblyNode); } + myTreeView.Sort(); /* myPrimitivesTextBox.Clear (); ArrayList al = new ArrayList(PrimitiveManager.instance.getPrimitiveNames()); @@ -182,7 +307,8 @@ namespace BCG private void myHandleTableListChange(object o) { - BeginInvoke(() => { + BeginInvoke(() => + { tagRows = ((IDataPacket)o).newRows; myUpdateTableList(); }); @@ -195,6 +321,19 @@ namespace BCG get { return myQueryTextBox.Height; } set { myQueryTextBox.Height = value; } } + + private void myLoadPersistedState(object sender, BlueRegistry blueReg) + { + myQueryTextBox.Text = blueReg.getValue(RegistryRoot.HKCU, LastQueryRegistryKey, string.Empty)?.ToString() ?? string.Empty; + _load_recent_saved_files(blueReg.getValue(RegistryRoot.HKCU, RecentSavedFilesRegistryKey, string.Empty)?.ToString()); + _refresh_recent_saved_files_menu(); + } + + private void mySavePersistedState(object sender, BlueRegistry blueReg) + { + blueReg.setValue(RegistryRoot.HKCU, LastQueryRegistryKey, myQueryTextBox.Text ?? string.Empty); + blueReg.setValue(RegistryRoot.HKCU, RecentSavedFilesRegistryKey, string.Join("|", _recent_saved_files)); + } #endregion private Stopwatch _stopwatch = new Stopwatch(); @@ -287,6 +426,7 @@ namespace BCG } myLastFileName = fileName; this.Text = fileName; + _track_recent_saved_file(fileName); } catch (Exception exc) { @@ -371,6 +511,122 @@ namespace BCG } } + private void myApplyDateTimeFormatting(IBlueTableSchema schema) + { + var dateTimeColumns = new HashSet( + schema.columnInfo + .Where(ci => ci.colType == typeof(DateTime)) + .Select(ci => ci.colName)); + + foreach (DataGridViewColumn column in myDataGrid.Columns) + { + if (!dateTimeColumns.Contains(column.DataPropertyName) && !dateTimeColumns.Contains(column.Name)) + continue; + + column.DefaultCellStyle.Format = DateTimeDisplayFormat; + column.Width = Math.Max(column.Width, 220); + } + } + + void _apply_grid_theme() + { + myDataGrid.BackgroundColor = GridBackgroundColor; + myDataGrid.BorderStyle = BorderStyle.None; + myDataGrid.EnableHeadersVisualStyles = false; + myDataGrid.GridColor = GridGridLineColor; + myDataGrid.CellBorderStyle = DataGridViewCellBorderStyle.SingleHorizontal; + myDataGrid.SelectionMode = DataGridViewSelectionMode.FullRowSelect; + myDataGrid.MultiSelect = false; + myDataGrid.RowHeadersVisible = false; + myDataGrid.ColumnHeadersBorderStyle = DataGridViewHeaderBorderStyle.Single; + myDataGrid.RowHeadersBorderStyle = DataGridViewHeaderBorderStyle.None; + myDataGrid.ColumnHeadersHeight = 36; + myDataGrid.RowTemplate.Height = 24; + myDataGrid.Font = new Font("Consolas", 9F, FontStyle.Regular, GraphicsUnit.Point); + + myDataGrid.DefaultCellStyle.BackColor = GridBackgroundColor; + myDataGrid.DefaultCellStyle.ForeColor = Color.White; + myDataGrid.DefaultCellStyle.SelectionBackColor = GridSelectionColor; + myDataGrid.DefaultCellStyle.SelectionForeColor = GridSelectionForeColor; + myDataGrid.DefaultCellStyle.Padding = new Padding(4, 1, 4, 1); + + myDataGrid.AlternatingRowsDefaultCellStyle.BackColor = GridAltRowColor; + myDataGrid.AlternatingRowsDefaultCellStyle.ForeColor = Color.White; + myDataGrid.AlternatingRowsDefaultCellStyle.SelectionBackColor = GridSelectionColor; + myDataGrid.AlternatingRowsDefaultCellStyle.SelectionForeColor = GridSelectionForeColor; + + myDataGrid.ColumnHeadersDefaultCellStyle.BackColor = GridHeaderColor; + myDataGrid.ColumnHeadersDefaultCellStyle.ForeColor = Color.White; + myDataGrid.ColumnHeadersDefaultCellStyle.SelectionBackColor = GridHeaderColor; + myDataGrid.ColumnHeadersDefaultCellStyle.SelectionForeColor = Color.White; + myDataGrid.ColumnHeadersDefaultCellStyle.Font = new Font("Consolas", 9F, FontStyle.Bold, GraphicsUnit.Point); + myDataGrid.ColumnHeadersDefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleLeft; + myDataGrid.ColumnHeadersDefaultCellStyle.Padding = new Padding(6, 2, 6, 2); + } + + void _apply_grid_column_styling(IBlueTableSchema schema) + { + var column_types = schema.columnInfo.ToDictionary(ci => ci.colName, ci => ci.colType, StringComparer.OrdinalIgnoreCase); + foreach (DataGridViewColumn column in myDataGrid.Columns) + { + if (!column_types.TryGetValue(column.DataPropertyName, out var col_type) && + !column_types.TryGetValue(column.Name, out col_type)) + { + continue; + } + + column.SortMode = DataGridViewColumnSortMode.NotSortable; + + if (_is_numeric_type(col_type)) + { + column.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleRight; + } + else + { + column.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleLeft; + } + + if (col_type == typeof(DateTime)) + { + column.DefaultCellStyle.ForeColor = GridTimestampColor; + } + else if (string.Equals(column.HeaderText, "id", StringComparison.OrdinalIgnoreCase)) + { + column.DefaultCellStyle.ForeColor = GridIdentifierColor; + } + else if (_looks_like_indicator(column.HeaderText)) + { + column.DefaultCellStyle.ForeColor = GridIndicatorColor; + } + else + { + column.DefaultCellStyle.ForeColor = Color.White; + } + } + + static bool _is_numeric_type(Type type) + { + return type == typeof(int) || + type == typeof(long) || + type == typeof(float) || + type == typeof(double) || + type == typeof(decimal) || + type == typeof(short) || + type == typeof(uint) || + type == typeof(ulong); + } + + static bool _looks_like_indicator(string column_name) + { + return column_name.Contains("rsi", StringComparison.OrdinalIgnoreCase) || + column_name.Contains("macd", StringComparison.OrdinalIgnoreCase) || + column_name.Contains("atr", StringComparison.OrdinalIgnoreCase) || + column_name.Contains("moving_average", StringComparison.OrdinalIgnoreCase) || + column_name.Contains("signal", StringComparison.OrdinalIgnoreCase) || + column_name.Contains("histogram", StringComparison.OrdinalIgnoreCase); + } + } + // this is the stream callback private void myCallback(object o) { @@ -386,7 +642,8 @@ namespace BCG private void myTimer_Tick(object sender, System.EventArgs e) { var dp = Interlocked.Exchange(ref pendingData, null); - if (dp is null) { + if (dp is null) + { return; } _stopwatch.Stop(); @@ -403,6 +660,10 @@ namespace BCG int hscrollval = myChangeStyle ? 0 : myDataGrid.HorizScrollBarValue; myDataGrid.DataSource = new SimpleBindableCollection(dp.newRows.schema, dp.newRows); + _apply_grid_theme(); + myApplyDateTimeFormatting(dp.newRows.schema); + _apply_grid_column_styling(dp.newRows.schema); + myDataGrid.ClearSelection(); var force = false; if (myChangeStyle && force) { @@ -475,7 +736,7 @@ namespace BCG private void myMenuItemOpenClick(object sender, System.EventArgs e) { OpenFileDialog od = new OpenFileDialog(); - od.Filter = "C# class (*.cs)|*.cs"; + od.Filter = "All files (*.*)|*.*|C# class (*.cs)|*.cs"; if (od.ShowDialog() == DialogResult.OK) loadFile(od.FileName); @@ -487,6 +748,7 @@ namespace BCG w.Write(myCSharpText.Text); myLastFileName = fileName; this.Text = fileName; + _track_recent_saved_file(fileName); } private void myMenuItemSaveClick(object sender, System.EventArgs e) @@ -509,6 +771,75 @@ namespace BCG mySave(sd.FileName); } + private void _load_recent_saved_files(string? serialized_paths) + { + _recent_saved_files.Clear(); + if (string.IsNullOrWhiteSpace(serialized_paths)) + return; + + foreach (string path in serialized_paths.Split('|')) + { + if (string.IsNullOrWhiteSpace(path)) + continue; + if (_recent_saved_files.Contains(path, StringComparer.OrdinalIgnoreCase)) + continue; + _recent_saved_files.Add(path); + if (_recent_saved_files.Count >= MaxRecentSavedFiles) + break; + } + } + + private void _track_recent_saved_file(string file_name) + { + _recent_saved_files.RemoveAll(path => string.Equals(path, file_name, StringComparison.OrdinalIgnoreCase)); + _recent_saved_files.Insert(0, file_name); + if (_recent_saved_files.Count > MaxRecentSavedFiles) + _recent_saved_files.RemoveRange(MaxRecentSavedFiles, _recent_saved_files.Count - MaxRecentSavedFiles); + _refresh_recent_saved_files_menu(); + } + + private void _refresh_recent_saved_files_menu() + { + var file_menu = myToolStripMenuItemFile.DropDownItems; + for (int i = file_menu.Count - 1; i >= 0; i--) + { + if (file_menu[i] is ToolStripMenuItem menu_item && Equals(menu_item.Tag, "recent-saved-file")) + file_menu.RemoveAt(i); + } + + if (_recent_saved_files_separator != null) + { + file_menu.Remove(_recent_saved_files_separator); + _recent_saved_files_separator.Dispose(); + _recent_saved_files_separator = null; + } + + if (_recent_saved_files.Count == 0) + return; + + int insert_index = file_menu.IndexOf(myToolStripMenuItemExit); + if (insert_index < 0) + insert_index = file_menu.Count; + + _recent_saved_files_separator = new ToolStripSeparator(); + file_menu.Insert(insert_index, _recent_saved_files_separator); + insert_index++; + + foreach (string path in _recent_saved_files) + { + var menu_item = new ToolStripMenuItem(Path.GetFileName(path)) + { + Tag = "recent-saved-file", + ToolTipText = path, + BackColor = Color.FromArgb(36, 36, 49), + ForeColor = Color.Lime + }; + menu_item.Click += (_, __) => loadFile(path); + file_menu.Insert(insert_index, menu_item); + insert_index++; + } + } + private void myTableListBox_DoubleClick(object sender, System.EventArgs e) { if (myTableListBox.SelectedItem != null) @@ -599,6 +930,7 @@ namespace BCG } Console.WriteLine("Redirecting console ouput to this window..."); + myTreeView.TreeViewNodeSorter = new PrimitiveTreeNodeComparer(); myLoadAssemblies(); // ViewStreamDatabase.instance = new ViewStreamDatabase(); @@ -606,6 +938,9 @@ namespace BCG myAllTagsStream.onChange += new BCG.DataStream.ChangeDelegate(myHandleTableListChange); myTabControl.SelectedIndex = 3; myTreeView.AfterSelect += new TreeViewEventHandler(myHandleTreeNodeSelect); + myTreeView.KeyPress += myHandleTreeViewKeyPress; + myTreeView.NodeMouseHover += myHandleTreeNodeMouseHover; + myTreeView.MouseLeave += myHandleTreeViewMouseLeave; //do this lazily so we don't have to have bps, etc up to run dsqa //_library = new LibraryForm(this); } @@ -646,12 +981,138 @@ namespace BCG { if (myTreeView.SelectedNode.LastNode == null) { - string sn = myTreeView.SelectedNode.Parent.Text + "()"; + string primitive_name = myTreeView.SelectedNode.Parent.Tag as string ?? myTreeView.SelectedNode.Parent.Text; + string sn = primitive_name + "()"; myQueryTextBox.Text = myQueryTextBox.Text == "" ? sn : myQueryTextBox.Text + "\n" + sn; } } } + private void myHandleTreeViewKeyPress(object? sender, KeyPressEventArgs e) + { + if (!Char.IsLetterOrDigit(e.KeyChar)) + return; + + char search_char = Char.ToLowerInvariant(e.KeyChar); + TreeNode? assembly_node = _get_selected_assembly_node(); + if (assembly_node is null) + return; + + int start_idx = 0; + if (_last_primitive_search_char == search_char && + ReferenceEquals(_last_primitive_search_assembly_node, assembly_node) && + myTreeView.SelectedNode?.Parent == assembly_node) + { + start_idx = myTreeView.SelectedNode.Index + 1; + } + + TreeNode? match_node = _find_matching_primitive_node(assembly_node, search_char, start_idx) ?? + _find_matching_primitive_node(assembly_node, search_char, 0); + + if (match_node is not null) + { + myTreeView.SelectedNode = match_node; + match_node.EnsureVisible(); + _last_primitive_search_char = search_char; + _last_primitive_search_assembly_node = assembly_node; + e.Handled = true; + } + } + + private TreeNode? _get_selected_assembly_node() + { + if (myTreeView.SelectedNode is null) + return myTreeView.Nodes.Count > 0 ? myTreeView.Nodes[0] : null; + + return myTreeView.SelectedNode.Parent ?? myTreeView.SelectedNode; + } + + private TreeNode? _find_matching_primitive_node(TreeNode assembly_node, char search_char, int start_idx) + { + for (int i = start_idx; i < assembly_node.Nodes.Count; i++) + { + TreeNode primitive_node = assembly_node.Nodes[i]; + string primitive_name = primitive_node.Tag as string ?? primitive_node.Text; + if (primitive_name.Length > 0 && Char.ToLowerInvariant(primitive_name[0]) == search_char) + return primitive_node; + } + return null; + } + + private void myHandleTreeNodeMouseHover(object? sender, TreeNodeMouseHoverEventArgs e) + { + if (e.Node?.Tag is not string primitive_name) + { + _primitive_tool_tip.Hide(myTreeView); + return; + } + + Type? primitive_type = PrimitiveManager.instance.get_dsl_op_type(primitive_name); + if (primitive_type is null) + { + _primitive_tool_tip.Hide(myTreeView); + return; + } + + string tooltip_text = $"Namespace: {primitive_type.Namespace ?? "(none)"}"; + string? source_path = _get_source_file_path(primitive_type); + if (!String.IsNullOrWhiteSpace(source_path)) + tooltip_text += $"\nSource: {source_path}"; + + Point mouse_point = myTreeView.PointToClient(Cursor.Position); + _primitive_tool_tip.Show(tooltip_text, myTreeView, mouse_point.X + 12, mouse_point.Y + 12, 8000); + } + + private void myHandleTreeViewMouseLeave(object? sender, EventArgs e) + { + _primitive_tool_tip.Hide(myTreeView); + } + + private string? _get_source_file_path(Type primitive_type) + { + string cache_key = primitive_type.FullName ?? primitive_type.Name; + if (_primitive_source_path_cache.TryGetValue(cache_key, out string? cached_path)) + return cached_path; + + Dictionary source_file_index = _source_file_index ??= _build_source_file_index(); + if (!source_file_index.TryGetValue(primitive_type.Name, out string? source_path)) + return null; + _primitive_source_path_cache[cache_key] = source_path; + return source_path; + } + + private Dictionary _build_source_file_index() + { + Dictionary source_file_index = new Dictionary(StringComparer.OrdinalIgnoreCase); + string? repo_root = _repo_root_path ??= _find_repo_root(); + if (String.IsNullOrWhiteSpace(repo_root)) + return source_file_index; + + string source_root = Path.Combine(repo_root, "src", "DataStreamSuite"); + if (!Directory.Exists(source_root)) + return source_file_index; + + foreach (string file_path in Directory.EnumerateFiles(source_root, "*.cs", SearchOption.AllDirectories)) + { + string type_name = Path.GetFileNameWithoutExtension(file_path); + if (!source_file_index.ContainsKey(type_name)) + source_file_index[type_name] = file_path; + } + return source_file_index; + } + + private string? _find_repo_root() + { + string? curr_path = AppDomain.CurrentDomain.BaseDirectory; + while (!String.IsNullOrWhiteSpace(curr_path)) + { + if (Directory.Exists(Path.Combine(curr_path, "src", "DataStreamSuite"))) + return curr_path; + curr_path = Directory.GetParent(curr_path)?.FullName; + } + return null; + } + private void myToolStripMenuItemExit_Click(object sender, EventArgs e) { Close(); @@ -681,7 +1142,7 @@ namespace BCG DialogResult dr = ofd.ShowDialog(this); if (ofd.CheckFileExists && ofd.CheckPathExists && dr == DialogResult.OK) { - PrimitiveManager.instance.loadAssembly(ofd.FileName); + PrimitiveManager.instance.load_streams_from_assembly(ofd.FileName); myLoadAssemblies(); } } @@ -768,7 +1229,8 @@ namespace BCG s = new MutableAppendStream(s, s); s.onChange += OnChange; - void OnChange(object? obj) { + void OnChange(object? obj) + { s.onChange -= OnChange; //s = new MutableAppendStream(s, s); var rowCollection = ((IDataPacket)obj!).newRows; diff --git a/src/DataStreamSuite/DataStreamQueryAnalyzer/appsettings.json b/src/DataStreamSuite/DataStreamQueryAnalyzer/appsettings.json index b3fe75ac9..41d241b58 100644 --- a/src/DataStreamSuite/DataStreamQueryAnalyzer/appsettings.json +++ b/src/DataStreamSuite/DataStreamQueryAnalyzer/appsettings.json @@ -5,8 +5,7 @@ "ViewStreamDatabase": { "Interval": "00:00:00.1" }, - "Spark": { - }, + "Spark": {}, "SparkApi": { "IsEnabled": false, "Credentials": { @@ -53,21 +52,16 @@ "Class": "bts.PubsubServerStreamTagHandler" }, { - "TagType": "System_Sub", - "Assembly": "PubSub", - "Class": "BCG.SystemSubscriptionMapPublisher" - }, - { - "TagType": "System_Stats", - "Assembly": "PubSub", - "Class": "BCG.SystemStatsPublisher" + "TagType": "DS_.*", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerStreamTagHandler" }, { "TagType": ".*", "Assembly": "DataStreamCore", - "Class": "bts.PubsubServerGenericDataHandler" + "Class": "bts.PubsubServerGenericDataHandler" } ] } } -} +} \ No newline at end of file diff --git a/src/DataStreamSuite/DataStreamSuite.sln b/src/DataStreamSuite/DataStreamSuite.sln index caa78099b..a4be6d269 100644 --- a/src/DataStreamSuite/DataStreamSuite.sln +++ b/src/DataStreamSuite/DataStreamSuite.sln @@ -13,6 +13,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PubSub", "PubSub\PubSub.csp EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PubSubServer", "PubSubServer\PubSubServer.csproj", "{0DBD814A-E17F-4836-8EEE-6E91B00C578F}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PersistenceServer", "PersistenceServer\PersistenceServer.csproj", "{915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}" +EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BooleanExpressions", "BooleanExpressions\BooleanExpressions.csproj", "{EE53687E-BB62-45C6-A1B0-9B8F16B4E2C1}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bts.Spark.Core", "..\cs\Bts.Spark.Core\Bts.Spark.Core.csproj", "{88E70136-91AE-4F56-B243-8F4642B46D6A}" @@ -43,6 +45,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bts.Net", "..\cs\Bts.Net\Bt EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bts.IO.Compression", "..\cs\Bts.IO.Compression\Bts.IO.Compression.csproj", "{3BF059B0-51C0-44A8-8297-9B7464DC5BA3}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DSPublisher", "DSPublisher\DSPublisher.csproj", "{72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -113,6 +117,18 @@ Global {0DBD814A-E17F-4836-8EEE-6E91B00C578F}.Release|x64.Build.0 = Release|Any CPU {0DBD814A-E17F-4836-8EEE-6E91B00C578F}.Release|x86.ActiveCfg = Release|Any CPU {0DBD814A-E17F-4836-8EEE-6E91B00C578F}.Release|x86.Build.0 = Release|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Debug|Any CPU.Build.0 = Debug|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Debug|x64.ActiveCfg = Debug|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Debug|x64.Build.0 = Debug|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Debug|x86.ActiveCfg = Debug|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Debug|x86.Build.0 = Debug|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Release|Any CPU.ActiveCfg = Release|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Release|Any CPU.Build.0 = Release|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Release|x64.ActiveCfg = Release|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Release|x64.Build.0 = Release|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Release|x86.ActiveCfg = Release|Any CPU + {915A604A-C4B0-4C2B-A70D-D5E0C7AA2B80}.Release|x86.Build.0 = Release|Any CPU {EE53687E-BB62-45C6-A1B0-9B8F16B4E2C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {EE53687E-BB62-45C6-A1B0-9B8F16B4E2C1}.Debug|Any CPU.Build.0 = Debug|Any CPU {EE53687E-BB62-45C6-A1B0-9B8F16B4E2C1}.Debug|x64.ActiveCfg = Debug|Any CPU @@ -293,6 +309,18 @@ Global {3BF059B0-51C0-44A8-8297-9B7464DC5BA3}.Release|x64.Build.0 = Release|Any CPU {3BF059B0-51C0-44A8-8297-9B7464DC5BA3}.Release|x86.ActiveCfg = Release|Any CPU {3BF059B0-51C0-44A8-8297-9B7464DC5BA3}.Release|x86.Build.0 = Release|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Debug|x64.ActiveCfg = Debug|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Debug|x64.Build.0 = Debug|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Debug|x86.ActiveCfg = Debug|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Debug|x86.Build.0 = Debug|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Release|Any CPU.Build.0 = Release|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Release|x64.ActiveCfg = Release|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Release|x64.Build.0 = Release|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Release|x86.ActiveCfg = Release|Any CPU + {72A4C31D-1680-4E8F-AB5E-A33B3D095DD3}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/src/DataStreamSuite/DataStreamTests/DataStreamTests.csproj b/src/DataStreamSuite/DataStreamTests/DataStreamTests.csproj index 38e00d2c7..7856842c7 100644 --- a/src/DataStreamSuite/DataStreamTests/DataStreamTests.csproj +++ b/src/DataStreamSuite/DataStreamTests/DataStreamTests.csproj @@ -27,6 +27,7 @@ + diff --git a/src/DataStreamSuite/DataStreamTests/HeikinAshiStreamTests.cs b/src/DataStreamSuite/DataStreamTests/HeikinAshiStreamTests.cs new file mode 100644 index 000000000..ed15e61f0 --- /dev/null +++ b/src/DataStreamSuite/DataStreamTests/HeikinAshiStreamTests.cs @@ -0,0 +1,121 @@ +namespace Bts.DataStreamTests; + +using BCG; + +using BlueOrb.Operators.Signal; + +using Bts.DataStreamCore; + +[TestFixture] +public class HeikinAshiStreamTests { + readonly BlueTableSchema schema = new( + new ColumnInfo[] { + new("id", 0, TypeCode.Int32), + new("ts_event", 1, TypeCode.DateTime), + new("open", 2, TypeCode.Double), + new("high", 3, TypeCode.Double), + new("low", 4, TypeCode.Double), + new("close", 5, TypeCode.Double), + new("volume", 6, TypeCode.Double), + }, "bars"); + + [Test] + public void AppendsHistoryAndCalculatesRecursiveHeikinAshiValues() { + var driver = new TestDriverStream(schema, null); + var heikinAshi = new HeikinAshiStream(driver); + var packets = new List(); + heikinAshi.onChange += nv => packets.Add((IDataPacket)nv); + + driver.Reset( + Row(1, new DateTime(2026, 1, 1, 9, 30, 0, DateTimeKind.Utc), 100.0, 110.0, 90.0, 105.0, 10.0), + Row(2, new DateTime(2026, 1, 1, 9, 31, 0, DateTimeKind.Utc), 106.0, 112.0, 104.0, 110.0, 20.0) + ); + + Assert.That(packets, Has.Count.EqualTo(2)); + + Assert.That(packets[0].newRows.Count, Is.EqualTo(1)); + Assert.That(packets[0].addedRows.Count, Is.EqualTo(1)); + Assert.That(packets[0].deletedRows.Count, Is.EqualTo(0)); + + var first = packets[0].newRows[0]; + Assert.That(first.get("open"), Is.EqualTo(100.0).Within(1e-9)); + Assert.That(first.get("high"), Is.EqualTo(110.0).Within(1e-9)); + Assert.That(first.get("low"), Is.EqualTo(90.0).Within(1e-9)); + Assert.That(first.get("close"), Is.EqualTo(105.0).Within(1e-9)); + Assert.That(first.get("ha_open"), Is.EqualTo(102.5).Within(1e-9)); + Assert.That(first.get("ha_high"), Is.EqualTo(110.0).Within(1e-9)); + Assert.That(first.get("ha_low"), Is.EqualTo(90.0).Within(1e-9)); + Assert.That(first.get("ha_close"), Is.EqualTo(101.25).Within(1e-9)); + + Assert.That(packets[1].newRows.Count, Is.EqualTo(2)); + Assert.That(packets[1].addedRows.Count, Is.EqualTo(1)); + Assert.That(packets[1].deletedRows.Count, Is.EqualTo(0)); + + var second = packets[1].newRows[1]; + Assert.That(second.get("open"), Is.EqualTo(106.0).Within(1e-9)); + Assert.That(second.get("high"), Is.EqualTo(112.0).Within(1e-9)); + Assert.That(second.get("low"), Is.EqualTo(104.0).Within(1e-9)); + Assert.That(second.get("close"), Is.EqualTo(110.0).Within(1e-9)); + Assert.That(second.get("ha_open"), Is.EqualTo(101.875).Within(1e-9)); + Assert.That(second.get("ha_high"), Is.EqualTo(112.0).Within(1e-9)); + Assert.That(second.get("ha_low"), Is.EqualTo(101.875).Within(1e-9)); + Assert.That(second.get("ha_close"), Is.EqualTo(108.0).Within(1e-9)); + Assert.That(second.get("volume"), Is.EqualTo(20.0).Within(1e-9)); + } + + [Test] + public void RebuildsHistoryWhenSourceSnapshotChanges() { + var driver = new TestDriverStream(schema, null); + var heikinAshi = new HeikinAshiStream(driver); + var packets = new List(); + heikinAshi.onChange += nv => packets.Add((IDataPacket)nv); + + driver.Reset( + Row(1, new DateTime(2026, 1, 1, 9, 30, 0, DateTimeKind.Utc), 100.0, 110.0, 90.0, 105.0, 10.0), + Row(2, new DateTime(2026, 1, 1, 9, 31, 0, DateTimeKind.Utc), 106.0, 112.0, 104.0, 110.0, 20.0) + ); + + driver.Reset( + Row(1, new DateTime(2026, 1, 1, 9, 30, 0, DateTimeKind.Utc), 100.0, 110.0, 90.0, 105.0, 10.0), + Row(2, new DateTime(2026, 1, 1, 9, 31, 0, DateTimeKind.Utc), 106.0, 114.0, 103.0, 111.0, 21.0) + ); + + Assert.That(packets, Has.Count.EqualTo(3)); + + Assert.That(packets[2].newRows.Count, Is.EqualTo(2)); + Assert.That(packets[2].addedRows.Count, Is.EqualTo(1)); + Assert.That(packets[2].deletedRows.Count, Is.EqualTo(1)); + + var updated = packets[2].newRows[1]; + Assert.That(updated.get("open"), Is.EqualTo(106.0).Within(1e-9)); + Assert.That(updated.get("high"), Is.EqualTo(114.0).Within(1e-9)); + Assert.That(updated.get("low"), Is.EqualTo(103.0).Within(1e-9)); + Assert.That(updated.get("close"), Is.EqualTo(111.0).Within(1e-9)); + Assert.That(updated.get("ha_open"), Is.EqualTo(101.875).Within(1e-9)); + Assert.That(updated.get("ha_high"), Is.EqualTo(114.0).Within(1e-9)); + Assert.That(updated.get("ha_low"), Is.EqualTo(101.875).Within(1e-9)); + Assert.That(updated.get("ha_close"), Is.EqualTo(108.5).Within(1e-9)); + Assert.That(updated.get("volume"), Is.EqualTo(21.0).Within(1e-9)); + } + + static IBlueRow Row(int id, DateTime tsEvent, double open, double high, double low, double close, double volume) { + var row = new MutableBlueRow( + new BlueTableSchema(new[] { + new ColumnInfo("id", 0, TypeCode.Int32), + new ColumnInfo("ts_event", 1, TypeCode.DateTime), + new ColumnInfo("open", 2, TypeCode.Double), + new ColumnInfo("high", 3, TypeCode.Double), + new ColumnInfo("low", 4, TypeCode.Double), + new ColumnInfo("close", 5, TypeCode.Double), + new ColumnInfo("volume", 6, TypeCode.Double), + }, "bars")); + row.setValue("id", id); + row.setValue("ts_event", tsEvent); + row.setValue("open", open); + row.setValue("high", high); + row.setValue("low", low); + row.setValue("close", close); + row.setValue("volume", volume); + return row; + } +} diff --git a/src/DataStreamSuite/DataStreamTests/VWAPStreamTests.cs b/src/DataStreamSuite/DataStreamTests/VWAPStreamTests.cs new file mode 100644 index 000000000..c0d7bb12d --- /dev/null +++ b/src/DataStreamSuite/DataStreamTests/VWAPStreamTests.cs @@ -0,0 +1,53 @@ +namespace Bts.DataStreamTests; + +using BCG; + +using BlueOrb.Operators.Signal; + +using Bts.DataStreamCore; + +[TestFixture] +public class VWAPStreamTests { + readonly BlueTableSchema schema = new( + new ColumnInfo[] { + new("id", 0, TypeCode.Int32), + new("ts_event", 1, TypeCode.DateTime), + new("close", 2, TypeCode.Double), + new("volume", 3, TypeCode.Double), + }, "bars"); + + [Test] + public void EmitsRowsAndCalculatesRollingVWAP() { + var driver = new TestDriverStream(schema, null); + var vwap = new VWAPStream(driver, "close", "volume", 2); + var packets = new List(); + vwap.onChange += nv => packets.Add((IDataPacket)nv); + + driver.Reset( + Row(1, new DateTime(2026, 1, 1, 9, 30, 0, DateTimeKind.Utc), 100.0, 10.0), + Row(2, new DateTime(2026, 1, 1, 9, 30, 5, DateTimeKind.Utc), 110.0, 20.0) + ); + + Assert.That(packets, Has.Count.EqualTo(1)); + Assert.That(packets[0].newRows.Count, Is.EqualTo(2)); + + var rows = packets[0].newRows.to_list().OrderBy(r => r.get("id")).ToList(); + Assert.That(rows[0].get("vwap"), Is.EqualTo(100.0).Within(1e-9)); + Assert.That(rows[1].get("vwap"), Is.EqualTo((100.0 * 10.0 + 110.0 * 20.0) / 30.0).Within(1e-9)); + } + + static IBlueRow Row(int id, DateTime tsEvent, double close, double volume) { + var row = new MutableBlueRow( + new BlueTableSchema(new[] { + new ColumnInfo("id", 0, TypeCode.Int32), + new ColumnInfo("ts_event", 1, TypeCode.DateTime), + new ColumnInfo("close", 2, TypeCode.Double), + new ColumnInfo("volume", 3, TypeCode.Double), + }, "bars")); + row.setValue("id", id); + row.setValue("ts_event", tsEvent); + row.setValue("close", close); + row.setValue("volume", volume); + return row; + } +} diff --git a/src/DataStreamSuite/PersistenceServer/ConfigLoader.cs b/src/DataStreamSuite/PersistenceServer/ConfigLoader.cs new file mode 100644 index 000000000..908b666c6 --- /dev/null +++ b/src/DataStreamSuite/PersistenceServer/ConfigLoader.cs @@ -0,0 +1,33 @@ +using System; +using System.IO; +using System.Text.Json; + +public static class ConfigLoader { + public static PersistenceServerConfig load() { + var config = new PersistenceServerConfig(); + merge_from_file(config, Path.Combine(AppContext.BaseDirectory, "appsettings.json")); + merge_from_file(config, Path.Combine(AppContext.BaseDirectory, "appsettings.Development.json")); + return config; + } + + private static void merge_from_file(PersistenceServerConfig target, string path) { + if (!File.Exists(path)) { + return; + } + + var json = File.ReadAllText(path); + var loaded = JsonSerializer.Deserialize(json, new JsonSerializerOptions { + PropertyNameCaseInsensitive = true + }); + + if (loaded?.pub_sub is null) { + return; + } + + if (target.pub_sub is null) { + target.pub_sub = loaded.pub_sub; + } else { + target.pub_sub.MergeWith(loaded.pub_sub); + } + } +} diff --git a/src/DataStreamSuite/PersistenceServer/PeristenceHelper.cs b/src/DataStreamSuite/PersistenceServer/PeristenceHelper.cs new file mode 100644 index 000000000..a5c2d65d3 --- /dev/null +++ b/src/DataStreamSuite/PersistenceServer/PeristenceHelper.cs @@ -0,0 +1,148 @@ +using System; +using System.Collections.Generic; +using System.Data.SQLite; +using System.IO; +using System.Linq; + +public class PeristenceHelper { + private readonly string _connectionString; + public string database_path { get; } + + public PeristenceHelper(string? databasePath = null) { + var resolvedPath = databasePath ?? Path.Combine(AppContext.BaseDirectory, "PersistenceServer.sqlite"); + database_path = resolvedPath; + Directory.CreateDirectory(Path.GetDirectoryName(resolvedPath)!); + _connectionString = $"Data Source={resolvedPath};Version=3"; + } + + public void InsertRow(string tableName, IReadOnlyDictionary row) { + ValidateRow(tableName, row); + using var connection = OpenConnection(); + EnsureTable(connection, tableName, row.Keys); + + var columns = row.Keys.Select(QuoteIdentifier).ToArray(); + var parameterNames = row.Keys.Select(CreateParameterName).ToArray(); + var commandText = + $"INSERT INTO {QuoteIdentifier(tableName)} ({string.Join(", ", columns)}) VALUES ({string.Join(", ", parameterNames)})"; + + using var command = new SQLiteCommand(commandText, connection); + AddParameters(command, row); + command.ExecuteNonQuery(); + } + + public void UpdateRow(string tableName, IReadOnlyDictionary row) { + ValidateRow(tableName, row); + using var connection = OpenConnection(); + EnsureTable(connection, tableName, row.Keys); + + var keyColumns = GetKeyColumns(row); + var valueColumns = row.Keys.Where(column => !keyColumns.Contains(column, StringComparer.OrdinalIgnoreCase)).ToArray(); + if (valueColumns.Length == 0) { + throw new InvalidOperationException("UpdateRow requires at least one non-key column to update."); + } + + var setClause = string.Join(", ", valueColumns.Select(column => $"{QuoteIdentifier(column)} = {CreateParameterName(column)}")); + var whereClause = string.Join(" AND ", keyColumns.Select(column => $"{QuoteIdentifier(column)} = {CreateWhereParameterName(column)}")); + var commandText = $"UPDATE {QuoteIdentifier(tableName)} SET {setClause} WHERE {whereClause}"; + + using var command = new SQLiteCommand(commandText, connection); + foreach (var column in valueColumns) { + command.Parameters.AddWithValue(CreateParameterName(column), row[column]); + } + + foreach (var column in keyColumns) { + command.Parameters.AddWithValue(CreateWhereParameterName(column), row[column]); + } + + command.ExecuteNonQuery(); + } + + public void RemoveRow(string tableName, IReadOnlyDictionary row) { + ValidateRow(tableName, row); + using var connection = OpenConnection(); + EnsureTable(connection, tableName, row.Keys); + + var keyColumns = GetKeyColumns(row); + var whereClause = string.Join(" AND ", keyColumns.Select(column => $"{QuoteIdentifier(column)} = {CreateWhereParameterName(column)}")); + var commandText = $"DELETE FROM {QuoteIdentifier(tableName)} WHERE {whereClause}"; + + using var command = new SQLiteCommand(commandText, connection); + foreach (var column in keyColumns) { + command.Parameters.AddWithValue(CreateWhereParameterName(column), row[column]); + } + + command.ExecuteNonQuery(); + } + + private SQLiteConnection OpenConnection() { + var connection = new SQLiteConnection(_connectionString); + connection.Open(); + return connection; + } + + private static void ValidateRow(string tableName, IReadOnlyDictionary row) { + if (string.IsNullOrWhiteSpace(tableName)) { + throw new ArgumentException("Table name is required.", nameof(tableName)); + } + + if (row.Count == 0) { + throw new ArgumentException("Row must contain at least one column.", nameof(row)); + } + } + + private static string[] GetKeyColumns(IReadOnlyDictionary row) { + if (row.ContainsKey("namespace") && row.ContainsKey("key")) { + return new[] { "namespace", "key" }; + } + + if (row.ContainsKey("key")) { + return new[] { "key" }; + } + + throw new InvalidOperationException("Row must contain 'key', or both 'namespace' and 'key', for update/delete."); + } + + private static void EnsureTable(SQLiteConnection connection, string tableName, IEnumerable columns) { + var existingColumns = GetExistingColumns(connection, tableName); + if (existingColumns.Count == 0) { + var createColumns = string.Join(", ", columns.Select(column => $"{QuoteIdentifier(column)} TEXT")); + using var createCommand = + new SQLiteCommand($"CREATE TABLE IF NOT EXISTS {QuoteIdentifier(tableName)} ({createColumns})", connection); + createCommand.ExecuteNonQuery(); + existingColumns = GetExistingColumns(connection, tableName); + } + + foreach (var column in columns) { + if (existingColumns.Contains(column)) { + continue; + } + + using var alterCommand = + new SQLiteCommand($"ALTER TABLE {QuoteIdentifier(tableName)} ADD COLUMN {QuoteIdentifier(column)} TEXT", connection); + alterCommand.ExecuteNonQuery(); + } + } + + private static HashSet GetExistingColumns(SQLiteConnection connection, string tableName) { + var columns = new HashSet(StringComparer.OrdinalIgnoreCase); + using var command = new SQLiteCommand($"PRAGMA table_info({QuoteIdentifier(tableName)})", connection); + using var reader = command.ExecuteReader(); + while (reader.Read()) { + columns.Add(reader["name"].ToString()!); + } + + return columns; + } + + private static void AddParameters(SQLiteCommand command, IReadOnlyDictionary row) { + foreach (var pair in row) { + command.Parameters.AddWithValue(CreateParameterName(pair.Key), pair.Value); + } + } + + private static string QuoteIdentifier(string identifier) => $"\"{identifier.Replace("\"", "\"\"")}\""; + + private static string CreateParameterName(string columnName) => $"@p_{columnName.Replace("\"", string.Empty)}"; + + private static string CreateWhereParameterName(string columnName) => $"@w_{columnName.Replace("\"", string.Empty)}"; +} diff --git a/src/DataStreamSuite/PersistenceServer/PersistenceCallHandler.cs b/src/DataStreamSuite/PersistenceServer/PersistenceCallHandler.cs new file mode 100644 index 000000000..53c7aaecd --- /dev/null +++ b/src/DataStreamSuite/PersistenceServer/PersistenceCallHandler.cs @@ -0,0 +1,155 @@ +using System; +using System.Collections.Generic; +using System.Net; +using System.Text.Json; + +public class PersistenceCallHandler { + private const string KeyValueTableName = "key_value_store"; + private readonly PeristenceHelper _persistenceHelper; + private readonly PubSubSync _pub_sub_sync; + + public PersistenceCallHandler(PeristenceHelper persistenceHelper, PubSubSync pub_sub_sync) { + _persistenceHelper = persistenceHelper; + _pub_sub_sync = pub_sub_sync; + } + + public void Handle(HttpListenerRequest request, string payload) { + Console.WriteLine("----- Incoming REST call -----"); + Console.WriteLine($"Timestamp: {DateTimeOffset.Now:O}"); + Console.WriteLine($"Method: {request.HttpMethod}"); + Console.WriteLine($"Url: {request.Url}"); + Console.WriteLine($"RawUrl: {request.RawUrl}"); + Console.WriteLine($"RemoteEndPoint: {request.RemoteEndPoint}"); + Console.WriteLine($"UserAgent: {request.UserAgent}"); + Console.WriteLine($"ContentType: {request.ContentType}"); + Console.WriteLine($"ContentLength: {request.ContentLength64}"); + + if (request.QueryString.Count > 0) { + Console.WriteLine("Query:"); + foreach (var key in request.QueryString.AllKeys) { + if (key is null) { + continue; + } + + Console.WriteLine($" {key} = {request.QueryString[key]}"); + } + } + + if (request.Headers.Count > 0) { + Console.WriteLine("Headers:"); + foreach (var headerKey in request.Headers.AllKeys) { + if (headerKey is null) { + continue; + } + + Console.WriteLine($" {headerKey}: {request.Headers[headerKey]}"); + } + } + + Console.WriteLine("Body:"); + Console.WriteLine(string.IsNullOrWhiteSpace(payload) ? " " : payload); + + var rpcRequest = ParseRpcRequest(payload); + HandleRpc(rpcRequest.FunctionName, rpcRequest.Arguments); + Console.WriteLine("------------------------------"); + } + + private static PersistenceRpcRequest ParseRpcRequest(string payload) { + if (string.IsNullOrWhiteSpace(payload)) { + throw new InvalidOperationException("RPC payload is empty."); + } + + using var document = JsonDocument.Parse(payload); + var root = document.RootElement; + + if (!root.TryGetProperty("function_name", out var functionNameElement) || + functionNameElement.ValueKind != JsonValueKind.String) { + throw new InvalidOperationException("RPC payload must contain a string 'function_name'."); + } + + if (!root.TryGetProperty("arguments", out var argumentsElement) || + argumentsElement.ValueKind != JsonValueKind.Array) { + throw new InvalidOperationException("RPC payload must contain an 'arguments' array."); + } + + var arguments = new List(); + foreach (var argument in argumentsElement.EnumerateArray()) { + if (argument.ValueKind != JsonValueKind.String) { + throw new InvalidOperationException("RPC arguments must all be strings."); + } + + arguments.Add(argument.GetString()!); + } + + return new PersistenceRpcRequest(functionNameElement.GetString()!, arguments.ToArray()); + } + + private void HandleRpc(string functionName, params string[] arguments) { + switch (functionName) { + case "keyvalue_insert": + RequireArgumentCount(functionName, arguments, 3); + HandleKeyValueInsert(arguments[0], arguments[1], arguments[2]); + break; + case "keyvalue_update": + RequireArgumentCount(functionName, arguments, 3); + HandleKeyValueUpdate(arguments[0], arguments[1], arguments[2]); + break; + case "keyvalue_delete": + RequireArgumentCount(functionName, arguments, 2); + HandleKeyValueDelete(arguments[0], arguments[1]); + break; + default: + throw new InvalidOperationException($"Unknown RPC function '{functionName}'."); + } + } + + private static void RequireArgumentCount(string functionName, string[] arguments, int expectedCount) { + if (arguments.Length != expectedCount) { + throw new InvalidOperationException( + $"RPC function '{functionName}' expected {expectedCount} arguments but received {arguments.Length}."); + } + } + + private void HandleKeyValueInsert(string itemNamespace, string key, string value) { + var row = new Dictionary { + ["namespace"] = itemNamespace, + ["key"] = key, + ["value"] = value, + }; + _persistenceHelper.InsertRow(KeyValueTableName, row); + _pub_sub_sync.publish_table(KeyValueTableName); + Console.WriteLine($"RPC: keyvalue_insert(namespace='{itemNamespace}', key='{key}', value='{value}')"); + } + + private void HandleKeyValueUpdate(string itemNamespace, string key, string value) { + var row = new Dictionary { + ["namespace"] = itemNamespace, + ["key"] = key, + ["value"] = value, + }; + _persistenceHelper.UpdateRow(KeyValueTableName, row); + _pub_sub_sync.publish_table(KeyValueTableName); + Console.WriteLine($"RPC: keyvalue_update(namespace='{itemNamespace}', key='{key}', value='{value}')"); + } + + private void HandleKeyValueDelete(string itemNamespace, string key) { + var row = new Dictionary { + ["namespace"] = itemNamespace, + ["key"] = key, + }; + _persistenceHelper.RemoveRow(KeyValueTableName, row); + _pub_sub_sync.publish_table(KeyValueTableName); + Console.WriteLine($"RPC: keyvalue_delete(namespace='{itemNamespace}', key='{key}')"); + } +} + +public record PersistenceRpcRequest { + public PersistenceRpcRequest(string functionName, string[] arguments) { + FunctionName = functionName; + Arguments = arguments; + Console.WriteLine($"PersistenceRpcRequest created for function '{FunctionName}' with {Arguments.Length} argument(s)."); + } + + public string FunctionName { get; init; } + public string[] Arguments { get; init; } +} diff --git a/src/DataStreamSuite/PersistenceServer/PersistenceServer.csproj b/src/DataStreamSuite/PersistenceServer/PersistenceServer.csproj new file mode 100644 index 000000000..57ced8065 --- /dev/null +++ b/src/DataStreamSuite/PersistenceServer/PersistenceServer.csproj @@ -0,0 +1,23 @@ + + + + Exe + net8.0 + enable + + + + + + + + + + + + + PreserveNewest + + + + diff --git a/src/DataStreamSuite/PersistenceServer/PersistenceServerConfig.cs b/src/DataStreamSuite/PersistenceServer/PersistenceServerConfig.cs new file mode 100644 index 000000000..f4a42b6a0 --- /dev/null +++ b/src/DataStreamSuite/PersistenceServer/PersistenceServerConfig.cs @@ -0,0 +1,5 @@ +using Bts.PubSub; + +public class PersistenceServerConfig { + public PubSubConfig? pub_sub { get; set; } +} diff --git a/src/DataStreamSuite/PersistenceServer/Program.cs b/src/DataStreamSuite/PersistenceServer/Program.cs new file mode 100644 index 000000000..e471a9597 --- /dev/null +++ b/src/DataStreamSuite/PersistenceServer/Program.cs @@ -0,0 +1,113 @@ +using Bts.DataStreamCore; +using BCG; + +using System; +using System.IO; +using System.Net; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +const int Port = 5079; +var prefix = $"http://localhost:{Port}/"; + +var listener = new HttpListener(); +listener.Prefixes.Add(prefix); +var config = ConfigLoader.load(); +var persistenceHelper = new PeristenceHelper(); +var pub_sub_sync = new PubSubSync(persistenceHelper.database_path, config.pub_sub); +var callHandler = new PersistenceCallHandler(persistenceHelper, pub_sub_sync); + +Console.WriteLine("PersistenceServer starting."); +Console.WriteLine($"Listening on {prefix}"); +Console.WriteLine($"DataStreamCore loaded from: {typeof(IDataPacket).Assembly.FullName}"); +Console.WriteLine("Press Ctrl+C to stop."); + +var shutdown = new CancellationTokenSource(); + +Console.CancelKeyPress += (_, eventArgs) => { + eventArgs.Cancel = true; + Console.WriteLine("Shutdown requested."); + shutdown.Cancel(); + if (listener.IsListening) { + listener.Stop(); + } +}; + +try { + pub_sub_sync.publish_all_tables(); + listener.Start(); + await RunAsync(listener, callHandler, shutdown.Token); + return 0; +} catch (HttpListenerException ex) when (shutdown.IsCancellationRequested) { + Console.WriteLine($"Listener stopped: {ex.Message}"); + return 0; +} catch (Exception ex) { + Console.Error.WriteLine($"PersistenceServer crashed: {ex}"); + return 1; +} finally { + listener.Close(); +} + +static async Task RunAsync( + HttpListener listener, + PersistenceCallHandler callHandler, + CancellationToken cancellationToken) { + while (!cancellationToken.IsCancellationRequested) { + HttpListenerContext context; + try { + context = await listener.GetContextAsync(); + } catch (HttpListenerException) when (cancellationToken.IsCancellationRequested) { + break; + } catch (ObjectDisposedException) when (cancellationToken.IsCancellationRequested) { + break; + } + + _ = Task.Run(() => HandleRequestAsync(context, callHandler, cancellationToken), cancellationToken); + } +} + +static async Task HandleRequestAsync( + HttpListenerContext context, + PersistenceCallHandler callHandler, + CancellationToken cancellationToken) { + var request = context.Request; + var response = context.Response; + + try { + var body = await ReadBodyAsync(request, cancellationToken); + callHandler.Handle(request, body); + + var responseText = + $$""" + {"status":"ok","method":"{{request.HttpMethod}}","path":"{{request.RawUrl ?? "/"}}"} + """; + + var bytes = Encoding.UTF8.GetBytes(responseText); + response.StatusCode = (int)HttpStatusCode.OK; + response.ContentType = "application/json"; + response.ContentEncoding = Encoding.UTF8; + response.ContentLength64 = bytes.LongLength; + await response.OutputStream.WriteAsync(bytes, cancellationToken); + } catch (Exception ex) { + Console.Error.WriteLine($"Request handling failed: {ex}"); + response.StatusCode = (int)HttpStatusCode.InternalServerError; + } finally { + response.OutputStream.Close(); + response.Close(); + } +} + +static async Task ReadBodyAsync(HttpListenerRequest request, CancellationToken cancellationToken) { + if (!request.HasEntityBody) { + return string.Empty; + } + + using var reader = new StreamReader( + request.InputStream, + request.ContentEncoding ?? Encoding.UTF8, + detectEncodingFromByteOrderMarks: true, + leaveOpen: true); + + return await reader.ReadToEndAsync(cancellationToken); +} diff --git a/src/DataStreamSuite/PersistenceServer/PubSubSync.cs b/src/DataStreamSuite/PersistenceServer/PubSubSync.cs new file mode 100644 index 000000000..df0e12b75 --- /dev/null +++ b/src/DataStreamSuite/PersistenceServer/PubSubSync.cs @@ -0,0 +1,116 @@ +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SQLite; + +using BCG; +using Bts.DataStreamCore; +using Bts.PubSub; +using Bts.PubSub.Routing; +using Microsoft.Extensions.DependencyInjection; + +using bts; + +public class PubSubSync { + private readonly string _connectionString; + private readonly Dictionary _brokers = new(StringComparer.OrdinalIgnoreCase); + private readonly object _sync_root = new(); + private readonly IServiceProvider _serviceProvider; + private readonly PubSubRouterConfig _router_config; + private readonly PubSubTagHandlerFactoryConfig _tag_handler_factory_config; + + public PubSubSync(string databasePath, PubSubConfig? pubSubConfig = null) { + ArgumentException.ThrowIfNullOrWhiteSpace(databasePath); + _connectionString = $"Data Source={databasePath};Version=3"; + var resolved_pub_sub_config = get_or_initialize_pub_sub_config(pubSubConfig); + _router_config = resolved_pub_sub_config.Routing ?? throw new InvalidOperationException("PubSub routing config is required."); + _tag_handler_factory_config = resolved_pub_sub_config.TagHandlerFactory ?? PubSubTagHandlerFactoryConfig.Default(); + _serviceProvider = new ServiceCollection().BuildServiceProvider(); + } + + public void publish_all_tables() { + lock (_sync_root) { + foreach (var table_name in get_table_names()) { + publish_table_core(table_name); + } + } + } + + public void publish_table(string table_name) { + ArgumentException.ThrowIfNullOrWhiteSpace(table_name); + + lock (_sync_root) { + publish_table_core(table_name); + } + } + + private void publish_table_core(string table_name) { + var rows = load_table(table_name); + var broker = get_or_create_broker(table_name); + broker.create_table(rows); + Console.WriteLine($"PubSubSync published table '{table_name}' with {rows.Count} row(s)."); + } + + private IPubTableBroker get_or_create_broker(string table_name) { + if (_brokers.TryGetValue(table_name, out var broker)) { + return broker; + } + + var publisher_core = new PublisherCore( + new PubSubRouter(_router_config), + new PubsubTagHandlerFactory(_serviceProvider, _tag_handler_factory_config)); + broker = new PubTableBroker(publisher_core); + _brokers[table_name] = broker; + return broker; + } + + private string[] get_table_names() { + using var connection = open_connection(); + using var command = new SQLiteCommand( + "SELECT name FROM sqlite_master WHERE type = 'table' AND name NOT LIKE 'sqlite_%' ORDER BY name", + connection); + using var reader = command.ExecuteReader(); + + var table_names = new List(); + while (reader.Read()) { + table_names.Add(reader.GetString(0)); + } + + return table_names.ToArray(); + } + + private IBlueRowCollection load_table(string table_name) { + using var connection = open_connection(); + using var adapter = new SQLiteDataAdapter($"SELECT * FROM {quote_identifier(table_name)}", connection); + var table = new DataTable(table_name); + adapter.Fill(table); + table.TableName = table_name; + return BlueDataUtility.toIBlueRowCollection(table); + } + + private SQLiteConnection open_connection() { + var connection = new SQLiteConnection(_connectionString); + connection.Open(); + return connection; + } + + private static PubSubConfig get_or_initialize_pub_sub_config(PubSubConfig? configured_pub_sub) { + try { + PubSubConfig.SetGlobalConfig(PubSubConfig.Default()); + var existing = PubSubConfig.Instance; + if (configured_pub_sub is not null) { + existing.MergeWith(configured_pub_sub); + } + return existing; + } catch (InvalidOperationException) { + var config = PubSubConfig.Default(); + if (configured_pub_sub is not null) { + config.MergeWith(configured_pub_sub); + } + PubSubConfig.SetGlobalConfig(config); + return config; + } + } + + private static string quote_identifier(string identifier) => $"\"{identifier.Replace("\"", "\"\"")}\""; +} diff --git a/src/DataStreamSuite/PersistenceServer/appsettings.json b/src/DataStreamSuite/PersistenceServer/appsettings.json new file mode 100644 index 000000000..f83647ef7 --- /dev/null +++ b/src/DataStreamSuite/PersistenceServer/appsettings.json @@ -0,0 +1,20 @@ +{ + "PubSub": { + "Routing": { + "PublisherRoutes": [ + { + "Name": "default", + "ServerAddress": "bts-cloud://localhost:22019", + "TagRegExp": ".*" + } + ], + "SubscriberRoutes": [ + { + "Name": "default", + "ServerAddress": "bts-cloud://localhost:22019", + "TagRegExp": ".*" + } + ] + } + } +} diff --git a/src/DataStreamSuite/PersistenceServer/client/persistence_client.py b/src/DataStreamSuite/PersistenceServer/client/persistence_client.py new file mode 100644 index 000000000..c1223a4de --- /dev/null +++ b/src/DataStreamSuite/PersistenceServer/client/persistence_client.py @@ -0,0 +1,43 @@ +import json +import sys +import urllib.error +import urllib.request + + +SERVER_URL = "http://localhost:5079/save?source=python-client" + + +def main() -> int: + payload = { + "function_name": "keyvalue_insert", + "arguments": [ + "example-namespace", + "example-key", + "hello from python", + ], + } + + data = json.dumps(payload).encode("utf-8") + request = urllib.request.Request( + SERVER_URL, + data=data, + headers={ + "Content-Type": "application/json", + "X-Client": "PersistenceServerPythonClient", + }, + method="POST", + ) + + try: + with urllib.request.urlopen(request) as response: + body = response.read().decode("utf-8") + print(f"status: {response.status}") + print(f"body: {body}") + return 0 + except urllib.error.URLError as error: + print(f"request failed: {error}", file=sys.stderr) + return 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/src/DataStreamSuite/PubSub/Client/Communication/BlutoTCP/ClientToServerConnectionWrapper.cs b/src/DataStreamSuite/PubSub/Client/Communication/BlutoTCP/ClientToServerConnectionWrapper.cs index 2aaa3b59f..a8f1adba9 100644 --- a/src/DataStreamSuite/PubSub/Client/Communication/BlutoTCP/ClientToServerConnectionWrapper.cs +++ b/src/DataStreamSuite/PubSub/Client/Communication/BlutoTCP/ClientToServerConnectionWrapper.cs @@ -1,44 +1,44 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.Runtime.InteropServices; +// using System; +// using System.Collections.Generic; +// using System.Text; +// using System.Runtime.InteropServices; -namespace BCG -{ - public class ClientToServerConnectionWrapper - { - [DllImport("BlutoInterop.dll")] - public unsafe static extern void init(); +// namespace BCG +// { +// public class ClientToServerConnectionWrapper +// { +// [DllImport("BlutoInterop.dll")] +// public unsafe static extern void init(); - [DllImport("BlutoInterop.dll")] - public unsafe static extern void initServerConnection(byte[] ip, int port); +// [DllImport("BlutoInterop.dll")] +// public unsafe static extern void initServerConnection(byte[] ip, int port); - [DllImport("BlutoInterop.dll")] - public static extern void sendDataToServer(byte[] ip, int port, byte[] message, int size); +// [DllImport("BlutoInterop.dll")] +// public static extern void sendDataToServer(byte[] ip, int port, byte[] message, int size); - [DllImport("BlutoInterop.dll")] - public unsafe static extern void getServerData(int timeout, int maxElems, BlutoTCPClientMessage*** retpts, out int npts); +// [DllImport("BlutoInterop.dll")] +// public unsafe static extern void getServerData(int timeout, int maxElems, BlutoTCPClientMessage*** retpts, out int npts); - public static byte[] stringToBytes(string s) - { - byte[] rv = new byte[s.Length + 1]; - for (int i = 0; i < s.Length; i++) - rv[i] = Convert.ToByte(s[i]); - rv[s.Length] = Convert.ToByte ('\0'); - return rv; - } +// public static byte[] stringToBytes(string s) +// { +// byte[] rv = new byte[s.Length + 1]; +// for (int i = 0; i < s.Length; i++) +// rv[i] = Convert.ToByte(s[i]); +// rv[s.Length] = Convert.ToByte ('\0'); +// return rv; +// } - public static string intPtrToString(IntPtr iptr) - { - return Marshal.PtrToStringAnsi(iptr); - } +// public static string intPtrToString(IntPtr iptr) +// { +// return Marshal.PtrToStringAnsi(iptr); +// } - public static byte[] intPtrToByteArray(IntPtr iptr, int sz) - { - byte[] data = new byte[sz]; - Marshal.Copy(iptr, data, 0, data.Length); - return data; - } +// public static byte[] intPtrToByteArray(IntPtr iptr, int sz) +// { +// byte[] data = new byte[sz]; +// Marshal.Copy(iptr, data, 0, data.Length); +// return data; +// } - } -} +// } +// } diff --git a/src/DataStreamSuite/PubSub/Client/MetaData/PubSubClientMessage.cs b/src/DataStreamSuite/PubSub/Client/MetaData/PubSubClientMessage.cs index df99394b6..d57116584 100644 --- a/src/DataStreamSuite/PubSub/Client/MetaData/PubSubClientMessage.cs +++ b/src/DataStreamSuite/PubSub/Client/MetaData/PubSubClientMessage.cs @@ -39,8 +39,6 @@ public static class PubSubMessageUtils { } } -// Subscribe ////////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// public class SubscribeMsg : IPubSubMessage, IEquatable { public string? connection; public string subscribing_app = ClientInfo.thisClient.app; @@ -86,8 +84,6 @@ public class SubscribeMsg : IPubSubMessage, IEquatable { $"{GetType().Name} connection: {connection} subscribing_app: {subscribing_app} tags: {string.Concat(tags.empty_if_null())}"; } -// Unsubscribe //////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// public class UnsubscribeMsg : SubscribeMsg, IEquatable { public bool Equals(UnsubscribeMsg? other) => other is not null && base.Equals(other); @@ -99,8 +95,6 @@ public class UnsubscribeMsg : SubscribeMsg, IEquatable { base.GetHashCode(); } -// Trasnaction ///////////////////////////////////////////////////////////// -/////////////////////////////////////////////////////////////////////////// public class TransactionMsg : IPubSubMessage, IEquatable { uint n_msgs; @@ -127,15 +121,12 @@ public class TransactionMsg : IPubSubMessage, IEquatable { n_msgs.GetHashCode(); } -// Publish //////////////////////////////////////////////////////////////// -/// /////////////////////////////////////////////////////////////////////// public class PublishMsg : IPubSubMessage, IEquatable { public string? connection; public string publishing_app = ClientInfo.thisClient.app; public string? tag; public string? tag_type; public bool is_compressed = false; - // this is the size that of the msg, regarless of it being serialized or not public long publish_time_epoch_ms = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); public byte[]? data_to_publish; @@ -144,8 +135,6 @@ public class PublishMsg : IPubSubMessage, IEquatable { Log.assert(!string.IsNullOrEmpty(tag_type)); Log.assert(!string.IsNullOrEmpty(tag)); Log.assert(!string.IsNullOrEmpty(connection)); - // The 'ThrowIfNullOrEmpty' calls are redundant (given the assert statements above), but - // necessary for the compiler to recognize the strings won't be null when this method exits. ArgumentException.ThrowIfNullOrEmpty(tag_type); ArgumentException.ThrowIfNullOrEmpty(tag); ArgumentException.ThrowIfNullOrEmpty(connection); @@ -181,7 +170,7 @@ public class PublishMsg : IPubSubMessage, IEquatable { } public bool Equals(PublishMsg? other) => - other is not null + other is not null && connection == other.connection && publishing_app == other.publishing_app && tag == other.tag @@ -220,7 +209,6 @@ public enum PubSubMessageType { public class PubSubClientMessage : IPubSubMessage { public PubSubMessageType msg_type; - // only one of these wil be non null public SubscribeMsg? sub_msg; public UnsubscribeMsg? unsub_msg; public TransactionMsg? transaction_msg; @@ -265,7 +253,7 @@ public class PubSubClientMessage : IPubSubMessage { ValidateMsg(pub_msg).serialize_into_str(str); break; - T ValidateMsg([NotNull]T? msg, [CallerArgumentExpression(nameof(msg))]string name = "") { + T ValidateMsg([NotNull] T? msg, [CallerArgumentExpression(nameof(msg))] string name = "") { if (msg is null) { throw new InvalidOperationException($"msg type is {msg_type} but {name} is null"); } @@ -383,7 +371,7 @@ public class PubSubServerMessage : IPubSubMessage, IEquatable - construct_deserialize(new MemoryStream(msg) { Position = 0}); + construct_deserialize(new MemoryStream(msg) { Position = 0 }); public bool Equals(PubSubServerMessage? other) => other is not null diff --git a/src/DataStreamSuite/PubSub/Config/PubSubConfig.cs b/src/DataStreamSuite/PubSub/Config/PubSubConfig.cs index 08aba5350..27fb3592b 100644 --- a/src/DataStreamSuite/PubSub/Config/PubSubConfig.cs +++ b/src/DataStreamSuite/PubSub/Config/PubSubConfig.cs @@ -48,16 +48,16 @@ public class PubSubConfig { HeartbeatInterval = 15000, MissingHeartbeatsBeforeGc = 50, DisposedConnectionCheckPeriod = 1000, - ServerPort = 12345, + ServerPort = 22019, TagTypeToAssemblyMap = new(), TagHandlerFactory = PubSubTagHandlerFactoryConfig.Default(), SimpleEchoServer = false, Routing = new() { PublisherRoutes = new() { - new("bts-cloud://127.0.0.1:12345", ".*") + new("bts-cloud://127.0.0.1:22019", ".*") }, SubscriberRoutes = new() { - new("bts-cloud://127.0.0.1:12345", ".*") + new("bts-cloud://127.0.0.1:22019", ".*") } } }; diff --git a/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnectionAcceptor_APM.cs b/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnectionAcceptor_APM.cs index e821a14a7..0924643a5 100644 --- a/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnectionAcceptor_APM.cs +++ b/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnectionAcceptor_APM.cs @@ -12,6 +12,7 @@ using System.Net.Sockets; // opens a TCP port and starts listening to connections public class AsyncTCPConnectionAcceptor_APM { + // This acceptor exists as an alternate implementation and is not the one currently used by the pubsub server. private readonly int _port; Socket? _accept_socket; readonly ITCPConnectionHandler _connection_handler; diff --git a/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnectionAcceptor_AsyncWrapper.cs b/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnectionAcceptor_AsyncWrapper.cs index 96d373930..32540d508 100644 --- a/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnectionAcceptor_AsyncWrapper.cs +++ b/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnectionAcceptor_AsyncWrapper.cs @@ -13,6 +13,7 @@ namespace bts { // opens a TCP port and starts listening to connections. Unlike AsyncTCPConnectionAcceptor_APM, // it uses TcpListener, instead of raw sockets. + // This is the acceptor currently used by the pubsub server via ManagedTCPMessageHub. public class AsyncTCPConnectionAcceptor_AsyncWrapper { private readonly int _accept_port; // private Socket _accept_socket; diff --git a/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnector_APM.cs b/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnector_APM.cs index db40f16de..132b57e53 100644 --- a/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnector_APM.cs +++ b/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnector_APM.cs @@ -10,6 +10,7 @@ namespace bts { // Unlike AsyncTCPConnectionAcceptor_APM this class is static since the requests to connect are stand alone requests // whereas AsyncTCPConnectionAcceptor_APM is always listening for incoming connections which lends itself to more // statefullness and hence non static + // This connector exists as an alternate implementation and is not the one currently used by pubsub clients. public static class AsyncTCPConnector_APM { internal class SocketConnectionArgs { diff --git a/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnector_AsyncWrapper.cs b/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnector_AsyncWrapper.cs index 1025e12e3..1ca6e93a4 100644 --- a/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnector_AsyncWrapper.cs +++ b/src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnector_AsyncWrapper.cs @@ -13,17 +13,18 @@ using System.Diagnostics.CodeAnalysis; namespace bts { - // Unlike AsyncTCPConnectionAcceptor_APM this class is static since the requests to connect are stand alone requests - // whereas AsyncTCPConnectionAcceptor_APM is always listening for incoming connections which lends itself to more + // Unlike AsyncTCPConnectionAcceptor_AsyncWrappe this class is static since the requests to connect are stand alone requests + // whereas AsyncTCPConnectionAcceptor_AsyncWrappe is always listening for incoming connections which lends itself to more // statefullness and hence non static + // This is the connector currently used by pubsub clients via PubSubServerManagedTCPConnection. public static class AsyncTCPConnector_AsyncWrapper { public static void connect_to(RemoteConnectionInfo server_address, ITCPConnectionHandler handler) { bts.Log.Gen.info($"AsyncTCPConnector_AsyncWrapper.connect_to server: {server_address}"); //Task.Run(() => _connect_to(server_address, handler)); ThreadPool.QueueUserWorkItem(_ => _keep_trying_blocking_function( - Connect, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(5))); + _connect, TimeSpan.FromSeconds(1), TimeSpan.FromSeconds(5))); - bool Connect() { + bool _connect() { try { return _connect_to(server_address, handler); } catch (Exception ex) { @@ -49,7 +50,7 @@ namespace bts { handler.onConnection(conn); return true; - bool CreateTcpClient([NotNullWhen(true)]out TcpClient? tcpClient) { + bool CreateTcpClient([NotNullWhen(true)] out TcpClient? tcpClient) { try { tcpClient = new(server_rci.ip, server_rci.port); return true; diff --git a/src/DataStreamSuite/PubSub/Misc/ClientInfo.cs b/src/DataStreamSuite/PubSub/Misc/ClientInfo.cs index 97231b251..3b6123d86 100644 --- a/src/DataStreamSuite/PubSub/Misc/ClientInfo.cs +++ b/src/DataStreamSuite/PubSub/Misc/ClientInfo.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Text; namespace BCG @@ -24,8 +24,8 @@ namespace BCG { get { return myApp; } set { myApp = value; } - } + private string myKeyQualifier; public string keyQualifier { @@ -38,8 +38,8 @@ namespace BCG { get { return myStartTime; } set { myStartTime = value; } - } + string? myProcessString; public string processString { @@ -49,10 +49,8 @@ namespace BCG myProcessString = getProcessString(";"); return myProcessString; } - } - public ClientInfo(string theMachineName, int thePid, string theProcessName, string theKeyQualifier, DateTime theStartTime) { myMachineName = theMachineName; @@ -68,10 +66,8 @@ namespace BCG myMachineName = Environment.MachineName; myPid = System.Diagnostics.Process.GetCurrentProcess().Id; myApp = System.Diagnostics.Process.GetCurrentProcess().ProcessName.ToUpper(); - string[] args = System.Environment.GetCommandLineArgs(); + string[] args = Environment.GetCommandLineArgs(); - //the key qualifier is the last argument given. If they didn't give any arguments - //but the program itself, then the KQ is empty. if (args.Length > 1) myKeyQualifier = args[args.Length - 1]; else @@ -86,13 +82,13 @@ namespace BCG public static ClientInfo thisClient { - get + get { if (myLocalClient == null) { - lock(myLock) + lock (myLock) { - if(myLocalClient == null) + if (myLocalClient == null) myLocalClient = new ClientInfo(); } } @@ -102,7 +98,6 @@ namespace BCG public static ClientInfo fromProcessString(string procString) { - ClientInfo outputGuy = new ClientInfo(); string[] info = procString.Split(';'); @@ -112,9 +107,7 @@ namespace BCG outputGuy.myKeyQualifier = info[2]; outputGuy.myPid = Int32.Parse(info[3]); - return outputGuy; - } private string getProcessString(string seperator) diff --git a/src/DataStreamSuite/PubSub/Misc/IWorker.cs b/src/DataStreamSuite/PubSub/Misc/IWorker.cs index 10f46dc30..55a8037d0 100644 --- a/src/DataStreamSuite/PubSub/Misc/IWorker.cs +++ b/src/DataStreamSuite/PubSub/Misc/IWorker.cs @@ -3,7 +3,7 @@ using System; namespace BCG.Utilities.General { public interface IWorker - { + { void doWork(); - } + } } diff --git a/src/DataStreamSuite/PubSub/Misc/Pair.cs b/src/DataStreamSuite/PubSub/Misc/Pair.cs index b7c11fa4b..dfb83ebdd 100644 --- a/src/DataStreamSuite/PubSub/Misc/Pair.cs +++ b/src/DataStreamSuite/PubSub/Misc/Pair.cs @@ -79,5 +79,4 @@ namespace mbts return ToString().GetHashCode(); } } - } diff --git a/src/DataStreamSuite/PubSub/Misc/StreamUtilityMethods.cs b/src/DataStreamSuite/PubSub/Misc/StreamUtilityMethods.cs index fb7b2954f..86c3b83b0 100644 --- a/src/DataStreamSuite/PubSub/Misc/StreamUtilityMethods.cs +++ b/src/DataStreamSuite/PubSub/Misc/StreamUtilityMethods.cs @@ -9,7 +9,7 @@ namespace BCG { /// /// Collection of utility methods used throughout /// - public static class StreamUtilityMethods { + public static class StreamUtilityMethods { // extension method to write a string C++ style (len prefixed) public static void write_string_cpp(this BinaryWriter bw, string? str) { @@ -98,7 +98,7 @@ namespace BCG { byte[] secondStreamBytes = new byte[stream.Length - splitLocation]; for (int i = 0; i < stream.Length; ++i) { //for some resaon, the 'getBytesFromStream' function prepends the length of the byte array to the bytes. This means - //we have to ignore those bytes here. + //we have to ignore those bytes here. if (i < splitLocation) firstStreamBytes[i] = streamBytes[i + 4]; else @@ -107,8 +107,6 @@ namespace BCG { } return new Stream[] { new MemoryStream(firstStreamBytes), new MemoryStream(secondStreamBytes) }; - - } } } diff --git a/src/DataStreamSuite/PubSub/PublishedCache.cs b/src/DataStreamSuite/PubSub/PublishedCache.cs index c9d090bba..c7914d049 100644 --- a/src/DataStreamSuite/PubSub/PublishedCache.cs +++ b/src/DataStreamSuite/PubSub/PublishedCache.cs @@ -4,7 +4,8 @@ using System; using System.Collections.Generic; namespace bts { - // This caches all the published data. This class is created and held by + // This caches all the published data, on the pubsliher (client) side. + // This class is created and held by // PublisherCore. When data is publsihed , PublisherCore passes it to this // class via the publish call. On a reconnection to the PubSubServer, // PublisherCore calls get_content to get the data to re-publish, to diff --git a/src/DataStreamSuite/PubSub/PublisherCore.cs b/src/DataStreamSuite/PubSub/PublisherCore.cs index a8663ca41..47f03fb25 100644 --- a/src/DataStreamSuite/PubSub/PublisherCore.cs +++ b/src/DataStreamSuite/PubSub/PublisherCore.cs @@ -43,20 +43,20 @@ namespace BCG { #region constructors - public PublisherCore(IPubSubRouter router, IPubSubTagHandlerFactory tagHandlerFactory) { + public PublisherCore(IPubSubRouter router, IPubSubTagHandlerFactory tag_handler_factory) { _router = router; - _state = new(tagHandlerFactory); + _state = new(tag_handler_factory); Thread pump_thread = new Thread(new ThreadStart(_message_pump)); pump_thread.IsBackground = true; pump_thread.Start(); } - public static PublisherCore Create(IPubSubRouter? router = null, IPubSubTagHandlerFactory? tagHandlerFactory = null, IServiceProvider? serviceProvider = null) { + public static PublisherCore Create(IPubSubRouter? router = null, IPubSubTagHandlerFactory? tag_handler_factory = null, IServiceProvider? service_provider = null) { router ??= new PubSubRouter(); - tagHandlerFactory ??= new PubsubTagHandlerFactory( - serviceProvider ?? PubSubServices.ServiceProvider, + tag_handler_factory ??= new PubsubTagHandlerFactory( + service_provider ?? PubSubServices.ServiceProvider, PubSubConfig.Instance.TagHandlerFactory ?? PubSubTagHandlerFactoryConfig.Default()); - return new(router, tagHandlerFactory); + return new(router, tag_handler_factory); } public void Dispose() { } @@ -119,7 +119,7 @@ namespace BCG { #endregion // static void setGlobalInstance() { - + // } #region Message Pump Thread - this is where messages are dequeued and the action performed diff --git a/src/DataStreamSuite/PubSub/Server/IInternalPublisher.cs b/src/DataStreamSuite/PubSub/Server/IInternalPublisher.cs index bd0533eff..2a6ea08f1 100644 --- a/src/DataStreamSuite/PubSub/Server/IInternalPublisher.cs +++ b/src/DataStreamSuite/PubSub/Server/IInternalPublisher.cs @@ -2,6 +2,6 @@ namespace Bts.PubSub.Server; using bts; -interface IInternalPublisher { +public interface IInternalPublisher { void Publish(PublishMsg message); } diff --git a/src/DataStreamSuite/PubSub/Server/IInternalPublisherQueue.cs b/src/DataStreamSuite/PubSub/Server/IInternalPublisherQueue.cs index 0d1ed8b8f..44410e255 100644 --- a/src/DataStreamSuite/PubSub/Server/IInternalPublisherQueue.cs +++ b/src/DataStreamSuite/PubSub/Server/IInternalPublisherQueue.cs @@ -10,7 +10,7 @@ using System.Collections.Generic; /// messages to be published. It is also passed to the , so it /// can dequeue these messages and send them over the wire. /// -interface IInternalPublisherQueue { +public interface IInternalPublisherQueue { void Enqueue(PublishMsg message); List DequeueMultiple(TimeSpan ts, int maxElements); } diff --git a/src/DataStreamSuite/PubSub/Server/IPubSubInternalPublisher.cs b/src/DataStreamSuite/PubSub/Server/IPubSubInternalPublisher.cs new file mode 100644 index 000000000..5a4fe47f5 --- /dev/null +++ b/src/DataStreamSuite/PubSub/Server/IPubSubInternalPublisher.cs @@ -0,0 +1,9 @@ +namespace BlueOrb.PubSub.Server; + +using BCG.Utilities.General; + +using System; + +public interface IPubSubInternalPublisher : IWorker { + event Action? onNewData; +} diff --git a/src/DataStreamSuite/PubSub/Server/IPubSubState.cs b/src/DataStreamSuite/PubSub/Server/IPubSubState.cs index ecad176ec..065b3f604 100644 --- a/src/DataStreamSuite/PubSub/Server/IPubSubState.cs +++ b/src/DataStreamSuite/PubSub/Server/IPubSubState.cs @@ -10,6 +10,16 @@ public delegate void PubSubStateSingleTagChangeDelegate(PubSubSingleTagStateEven public delegate void PubSubStateChangeDelegate(string[] tags); public delegate void PubSubStatsDelegate(string tag, int size); +public class PubSubServerTagStats { + public int n_updates { get; set; } + public long total_bytes { get; set; } + public int min_size { get; set; } + public int max_size { get; set; } + public int last_update_siz { get; set; } + public int average_size { get; set; } + public long last_update_time { get; set; } +} + public interface IPubSubState { event PubSubStateChangeDelegate? onTagMapChanged; event PubSubStatsDelegate? onPublishStats; @@ -18,6 +28,7 @@ public interface IPubSubState { byte[] get_content(string tag); string getTagType(string tag); + PubSubServerTagStats get_stats(string tag); void get_all_connections( string tag, out Dictionary subscribers, diff --git a/src/DataStreamSuite/PubSub/Server/InternalPublisherQueue.cs b/src/DataStreamSuite/PubSub/Server/InternalPublisherQueue.cs index 16c8ccc42..036dfc6e5 100644 --- a/src/DataStreamSuite/PubSub/Server/InternalPublisherQueue.cs +++ b/src/DataStreamSuite/PubSub/Server/InternalPublisherQueue.cs @@ -7,7 +7,7 @@ using bts; using System; using System.Collections.Generic; -class InternalPublisherQueue : IInternalPublisherQueue { +public class InternalPublisherQueue : IInternalPublisherQueue { readonly SyncQueue queue = new(); readonly object lockObj = new(); diff --git a/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemHeartbeatPublisher.cs b/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemHeartbeatPublisher.cs index aef87d734..38ac9ad91 100644 --- a/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemHeartbeatPublisher.cs +++ b/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemHeartbeatPublisher.cs @@ -1,72 +1,76 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BCG.Utilities.General; -using System.IO; -using bts; -using Bts.PubSub; -using Bts.PubSub.Server; -using Spark.Core; +// using System; +// using BCG.Utilities.General; +// using System.IO; +// using bts; +// using Bts.PubSub; +// using Bts.PubSub.Server; +// using Spark.Core; -namespace BCG { - class Pubsubheartbeat { - public Int64 hb_time_epoch; - public byte[] serialize() { - MemoryStream str = new MemoryStream(); - BinaryWriter bw = new BinaryWriter(str); - bw.Write(hb_time_epoch); - str.Position = 0; - return str.ToArray(); - } +// namespace BCG { +// class Pubsubheartbeat { +// public Int64 hb_time_epoch; +// public byte[] serialize() { +// MemoryStream str = new MemoryStream(); +// BinaryWriter bw = new BinaryWriter(str); +// bw.Write(hb_time_epoch); +// str.Position = 0; +// return str.ToArray(); +// } - public Pubsubheartbeat() { - hb_time_epoch = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); - } +// public Pubsubheartbeat() { +// hb_time_epoch = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(); +// } - public static Pubsubheartbeat deserialize(byte[] data) { - long hb_time = BitConverter.ToInt64(data); - return new Pubsubheartbeat() { - hb_time_epoch = hb_time, - }; - } - } - /// - /// Periodicaly publishes a heartbeat, under the tag name System_Heartbeat. - /// A subscriber can subscribe to it, and find out of a PubSub is alive or - /// not. Infact more so, if the subsriptions are working or not. - /// - internal class SystemHeartbeatPublisher : VirtualSingleton, IWorker, IParameterizedWorker { - public static string tag_type = "System_Heartbeat"; - public static string tag_name = "System_Heartbeat"; - readonly IInternalPublisher internalPublisher; - readonly IWorker workerImpl; +// public static Pubsubheartbeat deserialize(byte[] data) { +// long hb_time = BitConverter.ToInt64(data); +// return new Pubsubheartbeat() { +// hb_time_epoch = hb_time, +// }; +// } +// } +// /// +// /// Periodicaly publishes a heartbeat, under the tag name System_Heartbeat. +// /// A subscriber can subscribe to it, and find out if a PubSubServer is alive +// /// or not. Infact more so, if the subsriptions are working or not. +// /// +// internal class SystemHeartbeatPublisher : VirtualSingleton, IWorker, IParameterizedWorker { +// public static string tag_type = "System_Heartbeat"; +// public static string tag_name = "System_Heartbeat"; - public SystemHeartbeatPublisher(IInternalPublisher internalPublisher) { - this.internalPublisher = internalPublisher; - workerImpl = new SingleThreadedWorker(new AnonymousWorker(doWorkImpl)); - } +// readonly IInternalPublisher internalPublisher; +// readonly IWorker workerImpl; - TimeSpan IParameterizedWorker.Interval => TimeSpan.FromMilliseconds(500); +// public SystemHeartbeatPublisher(IInternalPublisher internalPublisher) { +// this.internalPublisher = internalPublisher; +// workerImpl = new SingleThreadedWorker(new AnonymousWorker(doWorkImpl)); +// } - #region IWorker Members +// TimeSpan IParameterizedWorker.Interval => TimeSpan.FromMilliseconds(500); - public void doWork() => - workerImpl.doWork(); +// #region IWorker Members - void doWorkImpl() { - Pubsubheartbeat hb = new Pubsubheartbeat(); - PublishMsg msg = new PublishMsg() { - connection = "Internal", - publishing_app = ClientInfo.thisClient.app, - tag = "pss_hb", - tag_type = "Internal", - is_compressed = false, - publish_time_epoch_ms = hb.hb_time_epoch, - data_to_publish = hb.serialize() - }; - internalPublisher.Publish(msg); - } +// public void doWork() => +// workerImpl.doWork(); - #endregion - } -} +// void doWorkImpl() { +// // why not publish a table +// Pubsubheartbeat hb = new Pubsubheartbeat(); +// PublishMsg msg = new PublishMsg() { +// connection = "Internal", +// publishing_app = ClientInfo.thisClient.app, +// tag = "pss_hb", +// tag_type = "Internal", +// is_compressed = false, +// publish_time_epoch_ms = hb.hb_time_epoch, +// data_to_publish = hb.serialize() +// }; +// internalPublisher.Publish(msg); +// } + +// #endregion + +// private void _publish_hb() { + +// } +// } +// } diff --git a/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemStatsPublisher.cs b/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemStatsPublisher.cs index 6b4160c13..af28c6c03 100644 --- a/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemStatsPublisher.cs +++ b/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemStatsPublisher.cs @@ -1,97 +1,97 @@ -using System; -using System.Collections.Generic; -using System.Text; -using System.IO; -using BCG.Utilities.General; -using bts; -using Bts.PubSub; -using Bts.PubSub.Server; -using Spark.Core; +// using System; +// using System.Collections.Generic; +// using System.Text; +// using System.IO; +// using BCG.Utilities.General; +// using bts; +// using Bts.PubSub; +// using Bts.PubSub.Server; +// using Spark.Core; -namespace BCG { - /// - /// Very similiar to SystemSubscriptionMapPublisher, except that it keeps updating the state as _handle_publish - /// is called (in_tag_stats_map). in do_work it goes through the ones who were recently updated and call an internal_publish - /// Simialiar to SystemSubscriptionMapPublisher, it is one half of an IPubSubServerTagHandler, ie does not react to update, - /// but returns the state in get_content (though it could have perhaps used update instead ofth spcialized event, onPublishStats) to - /// keep track of publish sizes. - /// - class SystemStatsPublisher : VirtualSingleton, IPubSubServerTagHandler, IParameterizedWorker { - public static string tag_type = "System_Stats"; - public static string tag_name = "System_AllStatistics"; - // these tags have been touched, need to publish in the next doWork - private HashSet _dirty_tags = new HashSet(); - private Dictionary _tag_stats_map = new Dictionary(); - readonly IInternalPublisher internalPublisher; - readonly IWorker workerImpl; +// namespace BCG { +// /// +// /// Very similiar to SystemSubscriptionMapPublisher, except that it keeps updating the state as _handle_publish +// /// is called (in_tag_stats_map). in do_work it goes through the ones who were recently updated and call an internal_publish +// /// Simialiar to SystemSubscriptionMapPublisher, it is one half of an IPubSubServerTagHandler, ie does not react to update, +// /// but returns the state in get_content (though it could have perhaps used update instead ofth spcialized event, onPublishStats) to +// /// keep track of publish sizes. +// /// +// class SystemStatsPublisher : VirtualSingleton, IPubSubServerTagHandler, IParameterizedWorker { +// public static string tag_type = "System_Stats"; +// public static string tag_name = "System_AllStatistics"; +// // these tags have been touched, need to publish in the next doWork +// private HashSet _dirty_tags = new HashSet(); +// private Dictionary _tag_stats_map = new Dictionary(); +// readonly IInternalPublisher internalPublisher; +// readonly IWorker workerImpl; - public SystemStatsPublisher(IPubSubState state, IInternalPublisher internalPublisher) { - bts.Log.Gen.info("SystemStatsPublisher constructed"); - workerImpl = new SingleThreadedWorker(new AnonymousWorker(doWorkImpl)); - this.internalPublisher = internalPublisher; - state.onPublishStats += _handle_publish; - } +// public SystemStatsPublisher(IPubSubState state, IInternalPublisher internalPublisher) { +// bts.Log.Gen.info("SystemStatsPublisher constructed"); +// workerImpl = new SingleThreadedWorker(new AnonymousWorker(doWorkImpl)); +// this.internalPublisher = internalPublisher; +// state.onPublishStats += _handle_publish; +// } - public string TagType => tag_type; - TimeSpan IParameterizedWorker.Interval => TimeSpan.FromMilliseconds(250); +// public string TagType => tag_type; +// TimeSpan IParameterizedWorker.Interval => TimeSpan.FromMilliseconds(250); - void _handle_publish(string tag, int size) { - bts.Log.Gen.info($"SystemStatsPublisher._handle_publish tag: {tag} size: {size}"); - if (tag == tag_name) - return; - if (!_tag_stats_map.TryGetValue(tag, out var tag_stats)) { - tag_stats = new TagStatsInfo(tag); - _tag_stats_map.Add(tag, tag_stats); - } - tag_stats.update(size); - _dirty_tags.Add(tag); - } +// void _handle_publish(string tag, int size) { +// bts.Log.Gen.info($"SystemStatsPublisher._handle_publish tag: {tag} size: {size}"); +// if (tag == tag_name) +// return; +// if (!_tag_stats_map.TryGetValue(tag, out var tag_stats)) { +// tag_stats = new TagStatsInfo(tag); +// _tag_stats_map.Add(tag, tag_stats); +// } +// tag_stats.update(size); +// _dirty_tags.Add(tag); +// } - #region IWorker Members +// #region IWorker Members - public void doWork() => - workerImpl.doWork(); +// public void doWork() => +// workerImpl.doWork(); - void doWorkImpl() { - if (_dirty_tags.Count > 0) { - MemoryStream str = new MemoryStream(); - List dirty_ts_info = new List(); - foreach (string tag in _dirty_tags) { - //_tag_stats_map[tag].write_to(str); - dirty_ts_info.Add(_tag_stats_map[tag]); - } - _dirty_tags.Clear(); - var bytes = TagStatsInfo.serialize(dirty_ts_info); - PublishMsg pub_msg = new PublishMsg() { - connection = "Internal", - publishing_app = "PubSubServer", - tag = SystemStatsPublisher.tag_name, - tag_type = SystemStatsPublisher.tag_type, - publish_time_epoch_ms = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(), - data_to_publish = bytes - }; - internalPublisher.Publish(pub_msg); - } - } +// void doWorkImpl() { +// if (_dirty_tags.Count > 0) { +// MemoryStream str = new MemoryStream(); +// List dirty_ts_info = new List(); +// foreach (string tag in _dirty_tags) { +// //_tag_stats_map[tag].write_to(str); +// dirty_ts_info.Add(_tag_stats_map[tag]); +// } +// _dirty_tags.Clear(); +// var bytes = TagStatsInfo.serialize(dirty_ts_info); +// PublishMsg pub_msg = new PublishMsg() { +// connection = "Internal", +// publishing_app = "PubSubServer", +// tag = SystemStatsPublisher.tag_name, +// tag_type = SystemStatsPublisher.tag_type, +// publish_time_epoch_ms = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(), +// data_to_publish = bytes +// }; +// internalPublisher.Publish(pub_msg); +// } +// } - #endregion +// #endregion - #region IPubSubServerTagHandler Members +// #region IPubSubServerTagHandler Members - public void update(string tag, byte[]? msg) { } +// public void update(string tag, byte[]? msg) { } - public byte[] get_content(string tag) { - var ser = TagStatsInfo.serialize(_tag_stats_map.Values); - return ser; - // MemoryStream str = new MemoryStream(); - // BinaryWriter bw = new BinaryWriter(str); - // bw.Write(_tag_stats_map.Count); - // foreach (TagStatsInfo t in _tag_stats_map.Values) - // t.write_to(bw.BaseStream); - // return str.ToArray(); - } +// public byte[] get_content(string tag) { +// var ser = TagStatsInfo.serialize(_tag_stats_map.Values); +// return ser; +// // MemoryStream str = new MemoryStream(); +// // BinaryWriter bw = new BinaryWriter(str); +// // bw.Write(_tag_stats_map.Count); +// // foreach (TagStatsInfo t in _tag_stats_map.Values) +// // t.write_to(bw.BaseStream); +// // return str.ToArray(); +// } - #endregion - } -} +// #endregion +// } +// } diff --git a/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemSubscriptionMapPublisher.cs b/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemSubscriptionMapPublisher.cs index 58c6bcde0..ff58cdec1 100644 --- a/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemSubscriptionMapPublisher.cs +++ b/src/DataStreamSuite/PubSub/Server/InternalTagHandling/SystemSubscriptionMapPublisher.cs @@ -1,117 +1,117 @@ -using System; -using System.Collections.Generic; -using System.Text; -using BCG.Utilities.General; -using System.IO; -using System.Threading; -using mbts; -using System.Threading.Tasks; -using bts; -using Bts.PubSub; -using Bts.PubSub.Server; -using Spark.Core; +// using System; +// using System.Collections.Generic; +// using System.Text; +// using BCG.Utilities.General; +// using System.IO; +// using System.Threading; +// using mbts; +// using System.Threading.Tasks; +// using bts; +// using Bts.PubSub; +// using Bts.PubSub.Server; +// using Spark.Core; -namespace BCG { - /// - /// This class publishes "System_Sub" to the PubSubServer using the - /// internal_publish. The data associated with the "System_Sub" tag - /// is the list fo all subscribers and publishers. - /// This class, SystemSubscriptionMapPublisher, gets the data by listening - /// to PubsubState.onTagMapChanged. - /// It also serves as an IPubSubServerTagHandler, and resides in SingleTagData. - /// update calls are no-ops and on get_content it returns the total state - /// It does not have much state except for the dirty state. It builds the state to publish - /// as well as return in get_content, from calling into PububState - /// - class SystemSubscriptionMapPublisher : VirtualSingleton, IPubSubServerTagHandler, IParameterizedWorker { - private IPubSubState _state; - private HashSet _dirty_tags = new HashSet(); - private readonly string _ip = SysInfoManager.getIP(); - public static string tag_type = "System_Sub"; - public static string tag_name = "System_AllSubscriptions"; - readonly IInternalPublisher internalPublisher; - readonly IWorker workerImpl; - readonly object syncRoot = new(); +// namespace BCG { +// /// +// /// This class publishes "System_Sub" to the PubSubServer using the +// /// internal_publish. The data associated with the "System_Sub" tag +// /// is the list fo all subscribers and publishers. +// /// This class, SystemSubscriptionMapPublisher, gets the data by listening +// /// to PubsubState.onTagMapChanged. +// /// It also serves as an IPubSubServerTagHandler, and resides in SingleTagData. +// /// update calls are no-ops and on get_content it returns the total state +// /// It does not have much state except for the dirty state. It builds the state to publish +// /// as well as return in get_content, from calling into PububState +// /// +// class SystemSubscriptionMapPublisher : VirtualSingleton, IPubSubServerTagHandler, IParameterizedWorker { +// private IPubSubState _state; +// private HashSet _dirty_tags = new HashSet(); +// private readonly string _ip = SysInfoManager.getIP(); +// public static string tag_type = "System_Sub"; +// public static string tag_name = "System_AllSubscriptions"; +// readonly IInternalPublisher internalPublisher; +// readonly IWorker workerImpl; +// readonly object syncRoot = new(); - public SystemSubscriptionMapPublisher(IPubSubState state, IInternalPublisher internalPublisher) { - bts.Log.Gen.info("SystemSubscriptionMapPublisher.constructor"); - this.internalPublisher = internalPublisher; - workerImpl = new SingleThreadedWorker(new AnonymousWorker(_internal_publish)); - _state = state; - _state.onTagMapChanged += _on_tag_state_changes; - } +// public SystemSubscriptionMapPublisher(IPubSubState state, IInternalPublisher internalPublisher) { +// bts.Log.Gen.info("SystemSubscriptionMapPublisher.constructor"); +// this.internalPublisher = internalPublisher; +// workerImpl = new SingleThreadedWorker(new AnonymousWorker(_internal_publish)); +// _state = state; +// _state.onTagMapChanged += _on_tag_state_changes; +// } - public string TagType => tag_type; +// public string TagType => tag_type; - public TimeSpan Interval => TimeSpan.FromMilliseconds(500); +// public TimeSpan Interval => TimeSpan.FromMilliseconds(500); - private void _on_tag_state_changes(string[] tags) { - Func tags_to_string = () => { - var rv = String.Empty; - foreach (var t in tags) { - rv += t + " "; - } - rv.Trim(); - return rv; - }; - bts.Log.Gen.info($"SystemSubscriptionMapPublisher._on_tag_state_changes tags: {tags_to_string()}"); - lock (syncRoot) { - _dirty_tags.AddRange(tags); - } - } +// private void _on_tag_state_changes(string[] tags) { +// Func tags_to_string = () => { +// var rv = String.Empty; +// foreach (var t in tags) { +// rv += t + " "; +// } +// rv.Trim(); +// return rv; +// }; +// bts.Log.Gen.info($"SystemSubscriptionMapPublisher._on_tag_state_changes tags: {tags_to_string()}"); +// lock (syncRoot) { +// _dirty_tags.AddRange(tags); +// } +// } - private void _internal_publish() { - lock (syncRoot) { - if (_dirty_tags.Count > 0) { - List tpsis = new List(); - foreach (string tag in _dirty_tags) { - Dictionary subscribers, active_pubslishers; - ICollection> dead_publishers; - _state.get_all_connections(tag, out subscribers, out active_pubslishers, out dead_publishers); - TagPubSubInfo ti = new TagPubSubInfo(tag, subscribers, active_pubslishers, - dead_publishers, _ip); - tpsis.Add(ti); - } - _dirty_tags.Clear(); - var ser_bytes = TagPubSubInfo.serialize(tpsis); - PublishMsg pub_msg = new PublishMsg() { - publish_time_epoch_ms = 0, - tag = SystemSubscriptionMapPublisher.tag_name, - tag_type = SystemSubscriptionMapPublisher.tag_type, - connection = "Internal", - is_compressed = false, - data_to_publish = ser_bytes - }; - internalPublisher.Publish(pub_msg); - } - } - } +// private void _internal_publish() { +// lock (syncRoot) { +// if (_dirty_tags.Count > 0) { +// List tpsis = new List(); +// foreach (string tag in _dirty_tags) { +// Dictionary subscribers, active_pubslishers; +// ICollection> dead_publishers; +// _state.get_all_connections(tag, out subscribers, out active_pubslishers, out dead_publishers); +// TagPubSubInfo ti = new TagPubSubInfo(tag, subscribers, active_pubslishers, +// dead_publishers, _ip); +// tpsis.Add(ti); +// } +// _dirty_tags.Clear(); +// var ser_bytes = TagPubSubInfo.serialize(tpsis); +// PublishMsg pub_msg = new PublishMsg() { +// publish_time_epoch_ms = 0, +// tag = SystemSubscriptionMapPublisher.tag_name, +// tag_type = SystemSubscriptionMapPublisher.tag_type, +// connection = "Internal", +// is_compressed = false, +// data_to_publish = ser_bytes +// }; +// internalPublisher.Publish(pub_msg); +// } +// } +// } - #region IWorker Members +// #region IWorker Members - public void doWork() => - workerImpl.doWork(); +// public void doWork() => +// workerImpl.doWork(); - #endregion +// #endregion - #region IPubSubServerTagHandler Members +// #region IPubSubServerTagHandler Members - public void update(string tag, byte[]? msg) { } +// public void update(string tag, byte[]? msg) { } - public byte[] get_content(string t) { - ICollection all_tags = _state.all_tags; - List ti_list = new List(); - foreach (string tag in all_tags) { - Dictionary subscribers, activePubslishers; - ICollection> deadPublishers; - _state.get_all_connections(tag, out subscribers, out activePubslishers, out deadPublishers); - TagPubSubInfo ti = new TagPubSubInfo(tag, subscribers, activePubslishers, deadPublishers, _ip); - ti_list.Add(ti); - } - var rv = TagPubSubInfo.serialize(ti_list); - return rv; - } +// public byte[] get_content(string t) { +// ICollection all_tags = _state.all_tags; +// List ti_list = new List(); +// foreach (string tag in all_tags) { +// Dictionary subscribers, activePubslishers; +// ICollection> deadPublishers; +// _state.get_all_connections(tag, out subscribers, out activePubslishers, out deadPublishers); +// TagPubSubInfo ti = new TagPubSubInfo(tag, subscribers, activePubslishers, deadPublishers, _ip); +// ti_list.Add(ti); +// } +// var rv = TagPubSubInfo.serialize(ti_list); +// return rv; +// } - #endregion - } -} +// #endregion +// } +// } diff --git a/src/DataStreamSuite/PubSub/Server/PubSubMessageReactor.cs b/src/DataStreamSuite/PubSub/Server/PubSubMessageReactor.cs index 939da1ee2..b5651d586 100644 --- a/src/DataStreamSuite/PubSub/Server/PubSubMessageReactor.cs +++ b/src/DataStreamSuite/PubSub/Server/PubSubMessageReactor.cs @@ -13,46 +13,70 @@ using Bts.PubSub.Server; using Microsoft.Extensions.Options; using Microsoft.Extensions.Hosting; using System.Threading.Tasks; +using BlueOrb.PubSub.Server; +using System.Linq; namespace BCG { // This is the main PubSub Server class where it all starts (called by Program.cs). Its constructed and start is called and thats it. // The only outward facing members of this class is start // It has an IPubsubMessageHub, that it gets messages from, and updates the PubSubState (which really is all the pubsub server state) - class PubSubMessageReactor : IHostedService { + public class PubSubMessageReactor : IHostedService { private IPubsubMessageHub _msg_hub; // private delegate void MyMsgHandler(string sender, Stream msg, MetaData m); // private Dictionary myOperationToHandler = new Dictionary(); private Thread _msg_polling_thread; // all the data,list of subscribers etc are in the state private IPubSubState _state; - private IInternalPublisherQueue _internal_pub_queue; + private List? _internal_publishers; private Stopwatch _stop_watch = new Stopwatch(); TaskCompletionSource? executionTask; CancellationTokenSource? executionCts; - public PubSubMessageReactor(IPubSubState state, IInternalPublisherQueue internalPublisherQueue, IOptions config) - : this(state, internalPublisherQueue, config.Value) { } + // public PubSubMessageReactor(IPubSubState state, IOptions config) + // : this(state, null, config.Value) { + // bts.Log.Gen.info("PubSubMessageReactor.cons 1 System Initialized"); + // } - public PubSubMessageReactor(IPubSubState state, IInternalPublisherQueue internalPublisherQueue, PubSubConfig config) + public PubSubMessageReactor(IPubSubState state, IEnumerable? internalPublishers, PubSubConfig config) : this( state, - internalPublisherQueue, + internalPublishers, config.ServerPort.assert_value(), TimeSpan.FromMilliseconds(config.HeartbeatInterval.assert_value()), config.MissingHeartbeatsBeforeGc.assert_value(), - TimeSpan.FromMilliseconds(config.DisposedConnectionCheckPeriod.assert_value())) { } + TimeSpan.FromMilliseconds(config.DisposedConnectionCheckPeriod.assert_value())) { + bts.Log.Gen.info("PubSubMessageReactor.cons 2 System Initialized"); + } - public PubSubMessageReactor(IPubSubState state, IInternalPublisherQueue internalPublisherQueue, int port, TimeSpan heartbeatInterval, int maxMissedHeartbeats, TimeSpan collectDisposedConnectionsInterval) { - bts.Log.Gen.info("PubSubMessageReactor.cons System Initialized"); + // public PubSubMessageReactor(IPubSubState state, int port, TimeSpan heartbeatInterval, int maxMissedHeartbeats, TimeSpan collectDisposedConnectionsInterval) + // : this(state, null, port, heartbeatInterval, maxMissedHeartbeats, collectDisposedConnectionsInterval) { + // bts.Log.Gen.info("PubSubMessageReactor.cons 3 System Initialized"); + // } + + public PubSubMessageReactor(IPubSubState state, IEnumerable? internalPublishers, int port, TimeSpan heartbeatInterval, int maxMissedHeartbeats, TimeSpan collectDisposedConnectionsInterval) { + bts.Log.Gen.info("PubSubMessageReactor.cons 4 System Initialized"); _state = state; - _internal_pub_queue = internalPublisherQueue; _msg_polling_thread = new Thread(new ThreadStart(_polling_thread_func)); _msg_polling_thread.Priority = ThreadPriority.AboveNormal; _msg_hub = new ManagedTCPMessageHub(port, heartbeatInterval, maxMissedHeartbeats, collectDisposedConnectionsInterval); // this is the only event this class gets from hub _msg_hub.register_connection_callback(new PubSubCallbacks.PubSubServerConnectionStatusChange(_handle_client_connection)); + _internal_publishers = internalPublishers is null + ? null + : new List(internalPublishers); + //Log.Gen.info($"internalPublishers: {_internal_publishers.First().GetType()}"); + _internal_publishers?.ForEach(publisher => publisher.onNewData += (tag, tag_type, data) => { + PublishMsg pub_msg = new PublishMsg() { + connection = "Internal;", + tag = tag, + tag_type = tag_type, + data_to_publish = data + }; + _handle_pub("Internal", pub_msg, true); + }); + } // the connection callback is the only event we get back from the message_hub. @@ -89,29 +113,17 @@ namespace BCG { /// private void _polling_thread_func() { Log.Gen.info("PubSubMessageReactor._polling_thread_func starting thread function _polling_thread_func"); - TimeSpan poll_timeout = new TimeSpan(0, 0, 0, 0, 2500); _msg_hub.activate(); - Action handle_internal_pubs = () => { - Log.Gen.info($"PubSubMessageReactor._polling_thread_func handle_internal_pubs"); - var internal_pubs = _internal_pub_queue.DequeueMultiple(TimeSpan.FromSeconds(1), 64000); - //Log.Gen.info($"PubSubMessageReactor._polling_thread_func internal_pubs count: {internal_pubs.Count}"); - foreach (var msg in internal_pubs) { - try { - _handle_pub("Internal", msg, true); - } catch (Exception ex) { - bts.Log.Gen.error($"PubSubMessage>reactor._polling_thread_func ex: {ex}"); - } - } - }; - while (executionCts is null || !executionCts.IsCancellationRequested) { try { + foreach (var w in _internal_publishers) { + w.doWork(); + } //bts.Log.Gen.info($"PubSubMessageReactor._polling_thread_func pre get_updates"); var received_data = _msg_hub.get_all_updates(); var n_msgs = received_data.Count; if (n_msgs == 0) { - handle_internal_pubs(); - System.Threading.Thread.Sleep(TimeSpan.FromMilliseconds(250)); + System.Threading.Thread.Sleep(TimeSpan.FromMilliseconds(10)); continue; } bts.Log.Gen.info($"PubSubMessageReactor._polling_thread_func post get_updates n_msgs: {n_msgs}"); @@ -119,9 +131,10 @@ namespace BCG { // multiple pubs for the same tags should be batched here ArgumentException.ThrowIfNullOrEmpty(kv.first); ArgumentNullException.ThrowIfNull(kv.second); + var stop_watch = Stopwatch.StartNew(); _handle_client_msg(kv.first, kv.second); + bts.Log.Gen.info($"PubSubMessageReactor._polling_thread_func _handle_client_msg sender: {kv.first} processing time: {stop_watch.ElapsedMilliseconds} msecs"); } - handle_internal_pubs(); } catch (Exception ex) { bts.Log.Gen.error($"PubSubMessageReactor._polling_thread_func ex: {ex}"); if (ex is OutOfMemoryException) { @@ -209,7 +222,7 @@ namespace BCG { } private void _handle_pub(string sender, PublishMsg pub_msg, bool is_internal_pub) { bts.Log.assert(!pub_msg.is_compressed); - //bts.Log.Gen.info($"PubSubMessageReactor._handle_pub sender: {sender} pub_msg: {pub_msg} is_internal_pub: {is_internal_pub}"); + bts.Log.Gen.info($"PubSubMessageReactor._handle_pub sender: {sender} pub_msg: {pub_msg} is_internal_pub: {is_internal_pub}"); // this is where pubsub's data state is updated _state.update_pub_data(pub_msg); ArgumentNullException.ThrowIfNull(pub_msg.tag); diff --git a/src/DataStreamSuite/PubSub/Server/PubSubSingleTagStateEvent.cs b/src/DataStreamSuite/PubSub/Server/PubSubSingleTagStateEvent.cs index 9b81109ef..92218639a 100644 --- a/src/DataStreamSuite/PubSub/Server/PubSubSingleTagStateEvent.cs +++ b/src/DataStreamSuite/PubSub/Server/PubSubSingleTagStateEvent.cs @@ -1,11 +1,12 @@ -using System.Text; +using System.Text; using System.IO; + namespace BCG; /// /// This class represents an event happening to a single tag in a pubsub (or substation). /// It could be that a tag is being published, or it could be a subscription to a tag or -/// an unsubscription to a tag. +/// an unsubscription to a tag. /// public class PubSubSingleTagStateEvent { public PubSubSingleTagStateEvent(string tag, EventType eventType, string connection, string app) { @@ -32,7 +33,6 @@ public class PubSubSingleTagStateEvent { return fromStream(mem); } - //for debugging public override string ToString() { var bd = new StringBuilder(); bd.Append(tag + " "); @@ -49,7 +49,6 @@ public class PubSubSingleTagStateEvent { case EventType.unsubscription: bd.Append("was unsubscribed to"); break; - } bd.Append(" app: " + app); bd.Append(" connection: " + connection); diff --git a/src/DataStreamSuite/PubSub/Server/PubSubState.cs b/src/DataStreamSuite/PubSub/Server/PubSubState.cs index df4a5aea6..76e47f3ae 100644 --- a/src/DataStreamSuite/PubSub/Server/PubSubState.cs +++ b/src/DataStreamSuite/PubSub/Server/PubSubState.cs @@ -1,4 +1,5 @@ using bts; + using Bts.PubSub; using Bts.PubSub.Server; @@ -23,7 +24,7 @@ namespace BCG { /// /// public class PubSubState : IPubSubState { - + // TODO:remove events private event PubSubStateSingleTagChangeDelegate? onSingleTagChange; public event PubSubStateChangeDelegate? onTagMapChanged; public event PubSubStatsDelegate? onPublishStats; @@ -95,6 +96,10 @@ namespace BCG { #endregion + private IPubSubServerTagHandler _create_handler(string tag, string tag_type) { + return null; + } + #region data based state changes public void update_pub_data(bts.PublishMsg pub_msg) { ArgumentException.ThrowIfNullOrEmpty(pub_msg.tag); @@ -164,6 +169,12 @@ namespace BCG { return _tag_to_data_map[tag].tag_type; } + public PubSubServerTagStats get_stats(string tag) { + if (!_tag_to_data_map.ContainsKey(tag)) + return null; + return _tag_to_data_map[tag].get_stats(); + } + /// /// returns all the applications 'connected' to one tag, which /// includes a Dictionary of connection vs subscribers, diff --git a/src/DataStreamSuite/PubSub/Server/SingleTagData.cs b/src/DataStreamSuite/PubSub/Server/SingleTagData.cs index 02f06636d..a56c24f73 100644 --- a/src/DataStreamSuite/PubSub/Server/SingleTagData.cs +++ b/src/DataStreamSuite/PubSub/Server/SingleTagData.cs @@ -7,10 +7,11 @@ using System.Collections.Generic; using BCG.Utilities; using mbts; using BCG; +using Bts.PubSub.Server; namespace bts { /// - /// this is the data (not pub/subs/connections) for one tag. This exists in both the PublisherCOre on the + /// this is the data (not pub/subs/connections) for one tag. This exists in both the PublisherCore on the /// publisher side, as well as the PubSubServer /// 2 main functions /// 1. handle_publish, called in response to a pubsub publish @@ -19,14 +20,14 @@ namespace bts { /// public class SingleTagData { private readonly IPubSubServerTagHandler? _tag_handler; + private readonly PubSubServerTagStats _stats = new(); public SingleTagData(string tag, string tag_type, IPubSubServerTagHandler tag_handler) { - bts.Log.Gen.info($"SingleTagData constructed for tag: {tag} tag_type: {tag_type}"); + bts.Log.Gen.info($"SingleTagData.cons tag: {tag} tag_type: {tag_type} tag_handler: {tag_handler.GetType()}"); this.tag = tag; this.tag_type = tag_type; _tag_handler = tag_handler; Log.notnull(_tag_handler); - Log.Gen.info($"SingleTagData.cons tag: {tag} tag_type: {tag_type} _tag_handler: {_tag_handler}"); } public string tag { get; } @@ -38,6 +39,7 @@ namespace bts { string handler_str = _tag_handler != null ? _tag_handler.GetType().ToString() : "NULL"; bts.Log.Gen.info($"SingleTagData.handle_publish tag: {tag} pub_msg: {pub_msg} handler: {handler_str} "); try { + _update_stats(pub_msg); // tag_handler may be null. If it throws (a null reference ex), we'll catch and handle // it like any other ex. _tag_handler!.update(tag, pub_msg.data_to_publish); @@ -51,11 +53,35 @@ namespace bts { } } + void _update_stats(PublishMsg pub_msg) { + ArgumentNullException.ThrowIfNull(pub_msg.data_to_publish); + + int update_size = pub_msg.data_to_publish.Length; + _stats.n_updates++; + _stats.total_bytes += update_size; + _stats.last_update_siz = update_size; + _stats.last_update_time = DateTime.UtcNow.Ticks; + + if (_stats.n_updates == 1) { + _stats.min_size = update_size; + _stats.max_size = update_size; + } else { + _stats.min_size = Math.Min(_stats.min_size, update_size); + _stats.max_size = Math.Max(_stats.max_size, update_size); + } + + _stats.average_size = (int)(_stats.total_bytes / _stats.n_updates); + } + public byte[] get_current_content() { ArgumentNullException.ThrowIfNull(_tag_handler); var rv = _tag_handler.get_content(tag); Log.Gen.info($"SingleTagData.get_current_content tag: {tag} rv (n bytes): {rv.Length}"); return rv; } + + public PubSubServerTagStats get_stats() { + return _stats; + } } } diff --git a/src/DataStreamSuite/PubSub/Services/PubSubServices.cs b/src/DataStreamSuite/PubSub/Services/PubSubServices.cs index 82bce671d..c8ba7f2f9 100644 --- a/src/DataStreamSuite/PubSub/Services/PubSubServices.cs +++ b/src/DataStreamSuite/PubSub/Services/PubSubServices.cs @@ -11,11 +11,14 @@ using Bts.PubSub.Server; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.Options; using System; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; +using BlueOrb.PubSub.Server; public static class PubSubServices { // TODO: get rid of this static singleton. For now, we need it to support @@ -49,9 +52,9 @@ public static class PubSubServices { .AddSingleton(sp => sp.GetRequiredService()) .AddSingleton(sp => sp.GetRequiredService()); - public static IServiceCollection AddHeartbeatPublisher(this IServiceCollection services) => - services.AddSingleton() - .AddSingleton(sp => sp.GetRequiredService()); + //public static IServiceCollection AddHeartbeatPublisher(this IServiceCollection services) => + // services.AddSingleton() + // .AddSingleton(sp => sp.GetRequiredService()); public static IServiceCollection AddPublisherCore(this IServiceCollection services) => services.AddSingleton(); @@ -62,15 +65,15 @@ public static class PubSubServices { public static IServiceCollection AddPubSubState(this IServiceCollection services) => services.AddSingleton(); - public static IServiceCollection AddSubscriptionMapPublisher(this IServiceCollection services) => - services.AddSingleton() - .AddSingleton(sp => sp.GetRequiredService()) - .AddSingleton(sp => sp.GetRequiredService()); + // public static IServiceCollection AddSubscriptionMapPublisher(this IServiceCollection services) => + // services.AddSingleton() + // .AddSingleton(sp => sp.GetRequiredService()) + // .AddSingleton(sp => sp.GetRequiredService()); - public static IServiceCollection AddSystemStatsPublisher(this IServiceCollection services) => - services.AddSingleton() - .AddSingleton(sp => sp.GetRequiredService()) - .AddSingleton(sp => sp.GetRequiredService()); + // public static IServiceCollection AddSystemStatsPublisher(this IServiceCollection services) => + // services.AddSingleton() + // .AddSingleton(sp => sp.GetRequiredService()) + // .AddSingleton(sp => sp.GetRequiredService()); public static IServiceCollection AddTagHandlerFactory(this IServiceCollection services, IConfiguration configurationSection) => services.Configure(configurationSection) @@ -82,16 +85,19 @@ public static class PubSubServices { .AddSingleton(); public static IServiceCollection AddPubSubMessageReactor(this IServiceCollection services) => - services.AddHostedService(); + services.AddSingleton(sp => new PubSubMessageReactor( + sp.GetRequiredService(), + new List(sp.GetServices()), + sp.GetRequiredService>().Value)); public static IServiceCollection AddPubSubServer(this IServiceCollection services, IConfiguration configurationSection) { services.Configure(configurationSection); PubSubConfig.SetGlobalConfig(configurationSection.Get() ?? PubSubConfig.Default()); return services.AddGlobalServiceProvider() .AddTagHandlerFactory(configurationSection.GetSection(nameof(PubSubConfig.TagHandlerFactory))) - .AddSystemStatsPublisher() - .AddHeartbeatPublisher() - .AddSubscriptionMapPublisher() + //.AddSystemStatsPublisher() + //.AddHeartbeatPublisher() + //.AddSubscriptionMapPublisher() .AddPubSubState() .AddInternalPublisher() .AddPubSubMessageReactor(); diff --git a/src/DataStreamSuite/PubSub/documentation/internal_readme.txt b/src/DataStreamSuite/PubSub/documentation/internal_readme.txt index aaa5afda2..7fea21897 100644 --- a/src/DataStreamSuite/PubSub/documentation/internal_readme.txt +++ b/src/DataStreamSuite/PubSub/documentation/internal_readme.txt @@ -47,9 +47,9 @@ SystemStatsPublisher.init(this); SystemHeartbeatPublisher.init(); --------------------------------------------------------------- How internal tags are published? -There are 3 internal publishers (ie compute somerthing an dpublish tit PubSubServer, such that clients can subscribe to it): +There are 3 internal publishers (ie compute somerthing and publish it to PubSubServer, such that clients can subscribe to it): SystemStatsPublisher, SystemSubscriptionMapPublisher and SystemHeartbeatPublisher -These are somewhat tricky because they are both listeners to PubUsbState event and intrnally publish, but are also IPubSubServerTagHandler +These are somewhat tricky because they are both listeners to PubSubState event and intrnally publish, but are also IPubSubServerTagHandler SystemSubscriptionMapPublisher: just one instance, a static init is called by PubSubState and it passes itself. SystemSubscriptionMapPublisher subscribes to the event gets the affected tags, marks them dirty, in doWork creates the state and calls the internal_publish. diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/PubSubCommon.csproj.nuget.dgspec.json b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/PubSubCommon.csproj.nuget.dgspec.json new file mode 100644 index 000000000..bc48828e2 --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/PubSubCommon.csproj.nuget.dgspec.json @@ -0,0 +1,160 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj": {} + }, + "projects": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "projectName": "Bts.Spark.Core", + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\.codexobj\\PubSubCommon\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "allWarningsAsErrors": true + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "dependencies": { + "Google.Protobuf": { + "target": "Package", + "version": "[3.24.3, )" + }, + "Microsoft.Extensions.Hosting": { + "target": "Package", + "version": "[10.0.0, )" + }, + "System.Reactive": { + "target": "Package", + "version": "[6.0.0, )" + }, + "protobuf-net": { + "target": "Package", + "version": "[3.2.26, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + }, + "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "projectName": "Bts.PubSubCommon", + "projectPath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\.codexobj\\PubSubCommon\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": { + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj" + } + } + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/PubSubCommon.csproj.nuget.g.props b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/PubSubCommon.csproj.nuget.g.props new file mode 100644 index 000000000..5ce197acf --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/PubSubCommon.csproj.nuget.g.props @@ -0,0 +1,19 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\spark\.dotnet-cli\.nuget\packages\ + c:\Users\Owner\spark\.dotnet-cli\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 7.0.0 + + + + + + + + + \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/PubSubCommon.csproj.nuget.g.targets b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/PubSubCommon.csproj.nuget.g.targets new file mode 100644 index 000000000..fe72cd022 --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/PubSubCommon.csproj.nuget.g.targets @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/project.assets.json b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/project.assets.json new file mode 100644 index 000000000..c66645631 --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/project.assets.json @@ -0,0 +1,2056 @@ +{ + "version": 3, + "targets": { + "net8.0": { + "Google.Protobuf/3.24.3": { + "type": "package", + "compile": { + "lib/net5.0/Google.Protobuf.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/net5.0/Google.Protobuf.dll": { + "related": ".pdb;.xml" + } + } + }, + "Microsoft.Extensions.Configuration/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Binder/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets": {} + } + }, + "Microsoft.Extensions.Configuration.CommandLine/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.FileExtensions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Json/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.UserSecrets/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Json": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.props": {}, + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.targets": {} + } + }, + "Microsoft.Extensions.DependencyInjection/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Diagnostics/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "10.0.0", + "Microsoft.Extensions.Options.ConfigurationExtensions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Diagnostics.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Diagnostics.DiagnosticSource": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileProviders.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileProviders.Physical/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileSystemGlobbing/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Hosting/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.Configuration.CommandLine": "10.0.0", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "10.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "10.0.0", + "Microsoft.Extensions.Configuration.Json": "10.0.0", + "Microsoft.Extensions.Configuration.UserSecrets": "10.0.0", + "Microsoft.Extensions.DependencyInjection": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Diagnostics": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0", + "Microsoft.Extensions.Hosting.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Configuration": "10.0.0", + "Microsoft.Extensions.Logging.Console": "10.0.0", + "Microsoft.Extensions.Logging.Debug": "10.0.0", + "Microsoft.Extensions.Logging.EventLog": "10.0.0", + "Microsoft.Extensions.Logging.EventSource": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Hosting.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Hosting.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Hosting.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "System.Diagnostics.DiagnosticSource": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Logging.Abstractions.targets": {} + } + }, + "Microsoft.Extensions.Logging.Configuration/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Options.ConfigurationExtensions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Console/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Configuration": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Debug/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.EventLog/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Diagnostics.EventLog": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.EventSource/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Options/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Options.targets": {} + } + }, + "Microsoft.Extensions.Options.ConfigurationExtensions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Primitives/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "protobuf-net/3.2.26": { + "type": "package", + "dependencies": { + "protobuf-net.Core": "3.2.26" + }, + "compile": { + "lib/net6.0/protobuf-net.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/protobuf-net.dll": { + "related": ".xml" + } + } + }, + "protobuf-net.Core/3.2.26": { + "type": "package", + "dependencies": { + "System.Collections.Immutable": "7.0.0" + }, + "compile": { + "lib/net6.0/protobuf-net.Core.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/protobuf-net.Core.dll": { + "related": ".xml" + } + } + }, + "System.Collections.Immutable/7.0.0": { + "type": "package", + "compile": { + "lib/net7.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net7.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + } + }, + "System.Diagnostics.DiagnosticSource/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "System.Diagnostics.EventLog/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Diagnostics.EventLog.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Diagnostics.EventLog.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + }, + "runtimeTargets": { + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll": { + "assetType": "runtime", + "rid": "win" + }, + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.IO.Pipelines/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "System.Reactive/6.0.0": { + "type": "package", + "compile": { + "lib/net6.0/System.Reactive.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.Reactive.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + } + }, + "System.Text.Encodings.Web/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Text.Encodings.Web.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Text.Encodings.Web.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + }, + "runtimeTargets": { + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll": { + "assetType": "runtime", + "rid": "browser" + } + } + }, + "System.Text.Json/10.0.0": { + "type": "package", + "dependencies": { + "System.IO.Pipelines": "10.0.0", + "System.Text.Encodings.Web": "10.0.0" + }, + "compile": { + "lib/net8.0/System.Text.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Text.Json.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/System.Text.Json.targets": {} + } + }, + "Bts.Spark.Core/3.2.0-preview": { + "type": "project", + "framework": ".NETCoreApp,Version=v8.0", + "dependencies": { + "Google.Protobuf": "3.24.3", + "Microsoft.Extensions.Hosting": "10.0.0", + "System.Reactive": "6.0.0", + "protobuf-net": "3.2.26" + }, + "compile": { + "bin/placeholder/Bts.Spark.Core.dll": {} + }, + "runtime": { + "bin/placeholder/Bts.Spark.Core.dll": {} + } + } + } + }, + "libraries": { + "Google.Protobuf/3.24.3": { + "sha512": "HX8KHRTJPUcC4KOvEobKBNlMpHGYmK+3X73xPq+OUE2M5dLYvpGhp9qQQWt2jASgTUbxI1yHaGeBqFYiECBupw==", + "type": "package", + "path": "google.protobuf/3.24.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "google.protobuf.3.24.3.nupkg.sha512", + "google.protobuf.nuspec", + "lib/net45/Google.Protobuf.dll", + "lib/net45/Google.Protobuf.pdb", + "lib/net45/Google.Protobuf.xml", + "lib/net5.0/Google.Protobuf.dll", + "lib/net5.0/Google.Protobuf.pdb", + "lib/net5.0/Google.Protobuf.xml", + "lib/netstandard1.1/Google.Protobuf.dll", + "lib/netstandard1.1/Google.Protobuf.pdb", + "lib/netstandard1.1/Google.Protobuf.xml", + "lib/netstandard2.0/Google.Protobuf.dll", + "lib/netstandard2.0/Google.Protobuf.pdb", + "lib/netstandard2.0/Google.Protobuf.xml" + ] + }, + "Microsoft.Extensions.Configuration/10.0.0": { + "sha512": "H4SWETCh/cC5L1WtWchHR6LntGk3rDTTznZMssr4cL8IbDmMWBxY+MOGDc/ASnqNolLKPIWHWeuC1ddiL/iNPw==", + "type": "package", + "path": "microsoft.extensions.configuration/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.xml", + "lib/net462/Microsoft.Extensions.Configuration.dll", + "lib/net462/Microsoft.Extensions.Configuration.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.xml", + "microsoft.extensions.configuration.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Abstractions/10.0.0": { + "sha512": "d2kDKnCsJvY7mBVhcjPSp9BkJk48DsaHPg5u+Oy4f8XaOqnEedRy/USyvnpHL92wpJ6DrTPy7htppUUzskbCXQ==", + "type": "package", + "path": "microsoft.extensions.configuration.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Binder/10.0.0": { + "sha512": "tMF9wNh+hlyYDWB8mrFCQHQmWHlRosol1b/N2Jrefy1bFLnuTlgSYmPyHNmz8xVQgs7DpXytBRWxGhG+mSTp0g==", + "type": "package", + "path": "microsoft.extensions.configuration.binder/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/cs/Microsoft.Extensions.Configuration.Binder.SourceGeneration.dll", + "analyzers/dotnet/cs/cs/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/de/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/es/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/fr/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/it/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ja/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ko/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/pl/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/pt-BR/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ru/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/tr/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/zh-Hans/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/zh-Hant/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net462/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net462/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.binder.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.CommandLine/10.0.0": { + "sha512": "CRj5clwZciVs46GMhAthkFq3+JiNM15Bz9CRlCZLBmRdggD6RwoBphRJ+EUDK2f+cZZ1L2zqVaQrn1KueoU5Kg==", + "type": "package", + "path": "microsoft.extensions.configuration.commandline/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.CommandLine.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.CommandLine.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net462/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net462/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "microsoft.extensions.configuration.commandline.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.commandline.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/10.0.0": { + "sha512": "TmFegsI/uCdwMBD4yKpmO+OkjVNHQL49Dh/ep83NI5rPUEoBK9OdsJo1zURc1A2FuS/R/Pos3wsTjlyLnguBLA==", + "type": "package", + "path": "microsoft.extensions.configuration.environmentvariables/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.EnvironmentVariables.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net462/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net462/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "microsoft.extensions.configuration.environmentvariables.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.environmentvariables.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.FileExtensions/10.0.0": { + "sha512": "LqCTyF0twrG4tyEN6PpSC5ewRBDwCBazRUfCOdRddwaQ3n2S57GDDeYOlTLcbV/V2dxSSZWg5Ofr48h6BsBmxw==", + "type": "package", + "path": "microsoft.extensions.configuration.fileextensions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.FileExtensions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.FileExtensions.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net462/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net462/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "microsoft.extensions.configuration.fileextensions.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.fileextensions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Json/10.0.0": { + "sha512": "BIOPTEAZoeWbHlDT9Zudu+rpecZizFwhdIFRiyZKDml7JbayXmfTXKUt+ezifsSXfBkWDdJM10oDOxo8pufEng==", + "type": "package", + "path": "microsoft.extensions.configuration.json/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.Json.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.Json.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/net462/Microsoft.Extensions.Configuration.Json.dll", + "lib/net462/Microsoft.Extensions.Configuration.Json.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.dll", + "lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.xml", + "microsoft.extensions.configuration.json.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.json.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.UserSecrets/10.0.0": { + "sha512": "B4qHB6gQ2B3I52YRohSV7wetp01BQzi8jDmrtiVm6e4l8vH5vjqwxWcR5wumGWjdBkj1asJLLsDIocdyTQSP0A==", + "type": "package", + "path": "microsoft.extensions.configuration.usersecrets/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/net462/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/net462/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net462/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net462/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "microsoft.extensions.configuration.usersecrets.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.usersecrets.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection/10.0.0": { + "sha512": "f0RBabswJq+gRu5a+hWIobrLWiUYPKMhCD9WO3sYBAdSy3FFH14LMvLVFZc2kPSCimBLxSuitUhsd6tb0TAY6A==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.targets", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/net462/Microsoft.Extensions.DependencyInjection.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.xml", + "microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": { + "sha512": "L3AdmZ1WOK4XXT5YFPEwyt0ep6l8lGIPs7F5OOBZc77Zqeo01Of7XXICy47628sdVl0v/owxYJTe86DTgFwKCA==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Diagnostics/10.0.0": { + "sha512": "xjkxIPgrT0mKTfBwb+CVqZnRchyZgzKIfDQOp8z+WUC6vPe3WokIf71z+hJPkH0YBUYJwa7Z/al1R087ib9oiw==", + "type": "package", + "path": "microsoft.extensions.diagnostics/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Diagnostics.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Diagnostics.targets", + "lib/net10.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net10.0/Microsoft.Extensions.Diagnostics.xml", + "lib/net462/Microsoft.Extensions.Diagnostics.dll", + "lib/net462/Microsoft.Extensions.Diagnostics.xml", + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net8.0/Microsoft.Extensions.Diagnostics.xml", + "lib/net9.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net9.0/Microsoft.Extensions.Diagnostics.xml", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.dll", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.xml", + "microsoft.extensions.diagnostics.10.0.0.nupkg.sha512", + "microsoft.extensions.diagnostics.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Diagnostics.Abstractions/10.0.0": { + "sha512": "SfK89ytD61S7DgzorFljSkUeluC1ncn6dtZgwc0ot39f/BEYWBl5jpgvodxduoYAs1d9HG8faCDRZxE95UMo2A==", + "type": "package", + "path": "microsoft.extensions.diagnostics.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Diagnostics.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Diagnostics.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "microsoft.extensions.diagnostics.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.diagnostics.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileProviders.Abstractions/10.0.0": { + "sha512": "/ppSdehKk3fuXjlqCDgSOtjRK/pSHU8eWgzSHfHdwVm5BP4Dgejehkw+PtxKG2j98qTDEHDst2Y99aNsmJldmw==", + "type": "package", + "path": "microsoft.extensions.fileproviders.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileProviders.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileProviders.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net462/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net462/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "microsoft.extensions.fileproviders.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.fileproviders.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileProviders.Physical/10.0.0": { + "sha512": "UZUQ74lQMmvcprlG8w+XpxBbyRDQqfb7GAnccITw32hdkUBlmm9yNC4xl4aR9YjgV3ounZcub194sdmLSfBmPA==", + "type": "package", + "path": "microsoft.extensions.fileproviders.physical/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileProviders.Physical.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileProviders.Physical.targets", + "lib/net10.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net10.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net462/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net462/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net9.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net9.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Physical.xml", + "microsoft.extensions.fileproviders.physical.10.0.0.nupkg.sha512", + "microsoft.extensions.fileproviders.physical.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileSystemGlobbing/10.0.0": { + "sha512": "5hfVl/e+bx1px2UkN+1xXhd3hu7Ui6ENItBzckFaRDQXfr+SHT/7qrCDrlQekCF/PBtEu2vtk87U2+gDEF8EhQ==", + "type": "package", + "path": "microsoft.extensions.filesystemglobbing/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileSystemGlobbing.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileSystemGlobbing.targets", + "lib/net10.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net10.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net462/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net462/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net9.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net9.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "microsoft.extensions.filesystemglobbing.10.0.0.nupkg.sha512", + "microsoft.extensions.filesystemglobbing.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Hosting/10.0.0": { + "sha512": "yKJiVdXkSfe9foojGpBRbuDPQI8YD71IO/aE8ehGjRHE0VkEF/YWkW6StthwuFF146pc2lypZrpk/Tks6Plwhw==", + "type": "package", + "path": "microsoft.extensions.hosting/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Hosting.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Hosting.targets", + "lib/net10.0/Microsoft.Extensions.Hosting.dll", + "lib/net10.0/Microsoft.Extensions.Hosting.xml", + "lib/net462/Microsoft.Extensions.Hosting.dll", + "lib/net462/Microsoft.Extensions.Hosting.xml", + "lib/net8.0/Microsoft.Extensions.Hosting.dll", + "lib/net8.0/Microsoft.Extensions.Hosting.xml", + "lib/net9.0/Microsoft.Extensions.Hosting.dll", + "lib/net9.0/Microsoft.Extensions.Hosting.xml", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.dll", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.xml", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.dll", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.xml", + "microsoft.extensions.hosting.10.0.0.nupkg.sha512", + "microsoft.extensions.hosting.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Hosting.Abstractions/10.0.0": { + "sha512": "KrN6TGFwCwqOkLLk/idW/XtDQh+8In+CL9T4M1Dx+5ScsjTq4TlVbal8q532m82UYrMr6RiQJF2HvYCN0QwVsA==", + "type": "package", + "path": "microsoft.extensions.hosting.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Hosting.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Hosting.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.xml", + "microsoft.extensions.hosting.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.hosting.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging/10.0.0": { + "sha512": "BStFkd5CcnEtarlcgYDBcFzGYCuuNMzPs02wN3WBsOFoYIEmYoUdAiU+au6opzoqfTYJsMTW00AeqDdnXH2CvA==", + "type": "package", + "path": "microsoft.extensions.logging/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.targets", + "lib/net10.0/Microsoft.Extensions.Logging.dll", + "lib/net10.0/Microsoft.Extensions.Logging.xml", + "lib/net462/Microsoft.Extensions.Logging.dll", + "lib/net462/Microsoft.Extensions.Logging.xml", + "lib/net8.0/Microsoft.Extensions.Logging.dll", + "lib/net8.0/Microsoft.Extensions.Logging.xml", + "lib/net9.0/Microsoft.Extensions.Logging.dll", + "lib/net9.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.1/Microsoft.Extensions.Logging.xml", + "microsoft.extensions.logging.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Abstractions/10.0.0": { + "sha512": "FU/IfjDfwaMuKr414SSQNTIti/69bHEMb+QKrskRb26oVqpx3lNFXMjs/RC9ZUuhBhcwDM2BwOgoMw+PZ+beqQ==", + "type": "package", + "path": "microsoft.extensions.logging.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "buildTransitive/net461/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net462/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml", + "microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Configuration/10.0.0": { + "sha512": "j8zcwhS6bYB6FEfaY3nYSgHdpiL2T+/V3xjpHtslVAegyI1JUbB9yAt/BFdvZdsNbY0Udm4xFtvfT/hUwcOOOg==", + "type": "package", + "path": "microsoft.extensions.logging.configuration/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Configuration.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Configuration.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net462/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net462/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.configuration.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Console/10.0.0": { + "sha512": "treWetuksp8LVb09fCJ5zNhNJjyDkqzVm83XxcrlWQnAdXznR140UUXo8PyEPBvFlHhjKhFQZEOP3Sk/ByCvEw==", + "type": "package", + "path": "microsoft.extensions.logging.console/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Console.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Console.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Console.xml", + "lib/net462/Microsoft.Extensions.Logging.Console.dll", + "lib/net462/Microsoft.Extensions.Logging.Console.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Console.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Console.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Console.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Console.xml", + "microsoft.extensions.logging.console.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.console.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Debug/10.0.0": { + "sha512": "A/4vBtVaySLBGj4qluye+KSbeVCCMa6GcTbxf2YgnSDHs9b9105+VojBJ1eJPel8F1ny0JOh+Ci3vgCKn69tNQ==", + "type": "package", + "path": "microsoft.extensions.logging.debug/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Debug.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Debug.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/net462/Microsoft.Extensions.Logging.Debug.dll", + "lib/net462/Microsoft.Extensions.Logging.Debug.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Debug.xml", + "microsoft.extensions.logging.debug.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.debug.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.EventLog/10.0.0": { + "sha512": "EWda5nSXhzQZr3yJ3+XgIApOek+Hm+txhWCEzWNVPp/OfimL4qmvctgXu87m+S2RXw/AoUP8aLMNicJ2KWblVA==", + "type": "package", + "path": "microsoft.extensions.logging.eventlog/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.EventLog.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.EventLog.targets", + "lib/net10.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net10.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net462/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net462/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net9.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net9.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventLog.xml", + "microsoft.extensions.logging.eventlog.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.eventlog.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.EventSource/10.0.0": { + "sha512": "+Qc+kgoJi1w2A/Jm+7h04LcK2JoJkwAxKg7kBakkNRcemTmRGocqPa7rVNVGorTYruFrUS25GwkFNtOECnjhXg==", + "type": "package", + "path": "microsoft.extensions.logging.eventsource/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.EventSource.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.EventSource.targets", + "lib/net10.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net10.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net462/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net462/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net9.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net9.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventSource.xml", + "microsoft.extensions.logging.eventsource.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.eventsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Options/10.0.0": { + "sha512": "8oCAgXOow5XDrY9HaXX1QmH3ORsyZO/ANVHBlhLyCeWTH5Sg4UuqZeOTWJi6484M+LqSx0RqQXDJtdYy2BNiLQ==", + "type": "package", + "path": "microsoft.extensions.options/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Options.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "buildTransitive/net461/Microsoft.Extensions.Options.targets", + "buildTransitive/net462/Microsoft.Extensions.Options.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Options.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Options.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets", + "lib/net10.0/Microsoft.Extensions.Options.dll", + "lib/net10.0/Microsoft.Extensions.Options.xml", + "lib/net462/Microsoft.Extensions.Options.dll", + "lib/net462/Microsoft.Extensions.Options.xml", + "lib/net8.0/Microsoft.Extensions.Options.dll", + "lib/net8.0/Microsoft.Extensions.Options.xml", + "lib/net9.0/Microsoft.Extensions.Options.dll", + "lib/net9.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.0/Microsoft.Extensions.Options.dll", + "lib/netstandard2.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.1/Microsoft.Extensions.Options.dll", + "lib/netstandard2.1/Microsoft.Extensions.Options.xml", + "microsoft.extensions.options.10.0.0.nupkg.sha512", + "microsoft.extensions.options.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Options.ConfigurationExtensions/10.0.0": { + "sha512": "tL9cSl3maS5FPzp/3MtlZI21ExWhni0nnUCF8HY4npTsINw45n9SNDbkKXBMtFyUFGSsQep25fHIDN4f/Vp3AQ==", + "type": "package", + "path": "microsoft.extensions.options.configurationextensions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Options.ConfigurationExtensions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Options.ConfigurationExtensions.targets", + "lib/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net462/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net462/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net9.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.options.configurationextensions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Primitives/10.0.0": { + "sha512": "inRnbpCS0nwO/RuoZIAqxQUuyjaknOOnCEZB55KSMMjRhl0RQDttSmLSGsUJN3RQ3ocf5NDLFd2mOQViHqMK5w==", + "type": "package", + "path": "microsoft.extensions.primitives/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Primitives.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Primitives.targets", + "lib/net10.0/Microsoft.Extensions.Primitives.dll", + "lib/net10.0/Microsoft.Extensions.Primitives.xml", + "lib/net462/Microsoft.Extensions.Primitives.dll", + "lib/net462/Microsoft.Extensions.Primitives.xml", + "lib/net8.0/Microsoft.Extensions.Primitives.dll", + "lib/net8.0/Microsoft.Extensions.Primitives.xml", + "lib/net9.0/Microsoft.Extensions.Primitives.dll", + "lib/net9.0/Microsoft.Extensions.Primitives.xml", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.xml", + "microsoft.extensions.primitives.10.0.0.nupkg.sha512", + "microsoft.extensions.primitives.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "protobuf-net/3.2.26": { + "sha512": "zBzBiKs4yP+tzQOsRA5WbI/zayS6eFv8g0KIKNPI7/RUY1nk9Oe+STmtbUYkNUkO3T3SidEoZv+tF1nmgTSutQ==", + "type": "package", + "path": "protobuf-net/3.2.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net462/protobuf-net.dll", + "lib/net462/protobuf-net.xml", + "lib/net6.0/protobuf-net.dll", + "lib/net6.0/protobuf-net.xml", + "lib/netstandard2.0/protobuf-net.dll", + "lib/netstandard2.0/protobuf-net.xml", + "lib/netstandard2.1/protobuf-net.dll", + "lib/netstandard2.1/protobuf-net.xml", + "protobuf-net.3.2.26.nupkg.sha512", + "protobuf-net.nuspec", + "protobuf-net.png" + ] + }, + "protobuf-net.Core/3.2.26": { + "sha512": "s8oJW9dBVxix4p8uqMbeG++DIGjgzOFAKoP2i5wayeeFOKBqG+cCBO2S/CAC4MAFlb5m1Os2m/miLcqRCgqJ7Q==", + "type": "package", + "path": "protobuf-net.core/3.2.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net462/protobuf-net.Core.dll", + "lib/net462/protobuf-net.Core.xml", + "lib/net6.0/protobuf-net.Core.dll", + "lib/net6.0/protobuf-net.Core.xml", + "lib/netstandard2.0/protobuf-net.Core.dll", + "lib/netstandard2.0/protobuf-net.Core.xml", + "lib/netstandard2.1/protobuf-net.Core.dll", + "lib/netstandard2.1/protobuf-net.Core.xml", + "protobuf-net.core.3.2.26.nupkg.sha512", + "protobuf-net.core.nuspec", + "protobuf-net.png" + ] + }, + "System.Collections.Immutable/7.0.0": { + "sha512": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", + "type": "package", + "path": "system.collections.immutable/7.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "README.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Collections.Immutable.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/System.Collections.Immutable.targets", + "lib/net462/System.Collections.Immutable.dll", + "lib/net462/System.Collections.Immutable.xml", + "lib/net6.0/System.Collections.Immutable.dll", + "lib/net6.0/System.Collections.Immutable.xml", + "lib/net7.0/System.Collections.Immutable.dll", + "lib/net7.0/System.Collections.Immutable.xml", + "lib/netstandard2.0/System.Collections.Immutable.dll", + "lib/netstandard2.0/System.Collections.Immutable.xml", + "system.collections.immutable.7.0.0.nupkg.sha512", + "system.collections.immutable.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Diagnostics.DiagnosticSource/10.0.0": { + "sha512": "0KdBK+h7G13PuOSC2R/DalAoFMvdYMznvGRuICtkdcUMXgl/gYXsG6z4yUvTxHSMACorWgHCU1Faq0KUHU6yAQ==", + "type": "package", + "path": "system.diagnostics.diagnosticsource/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Diagnostics.DiagnosticSource.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Diagnostics.DiagnosticSource.targets", + "lib/net10.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net10.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net462/System.Diagnostics.DiagnosticSource.dll", + "lib/net462/System.Diagnostics.DiagnosticSource.xml", + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net8.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net9.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net9.0/System.Diagnostics.DiagnosticSource.xml", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.xml", + "system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512", + "system.diagnostics.diagnosticsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Diagnostics.EventLog/10.0.0": { + "sha512": "uaFRda9NjtbJRkdx311eXlAA3n2em7223c1A8d1VWyl+4FL9vkG7y2lpPfBU9HYdj/9KgdRNdn1vFK8ZYCYT/A==", + "type": "package", + "path": "system.diagnostics.eventlog/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Diagnostics.EventLog.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Diagnostics.EventLog.targets", + "lib/net10.0/System.Diagnostics.EventLog.dll", + "lib/net10.0/System.Diagnostics.EventLog.xml", + "lib/net462/System.Diagnostics.EventLog.dll", + "lib/net462/System.Diagnostics.EventLog.xml", + "lib/net8.0/System.Diagnostics.EventLog.dll", + "lib/net8.0/System.Diagnostics.EventLog.xml", + "lib/net9.0/System.Diagnostics.EventLog.dll", + "lib/net9.0/System.Diagnostics.EventLog.xml", + "lib/netstandard2.0/System.Diagnostics.EventLog.dll", + "lib/netstandard2.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.xml", + "system.diagnostics.eventlog.10.0.0.nupkg.sha512", + "system.diagnostics.eventlog.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.IO.Pipelines/10.0.0": { + "sha512": "M1eb3nfXntaRJPrrMVM9EFS8I1bDTnt0uvUS6QP/SicZf/ZZjydMD5NiXxfmwW/uQwaMDP/yX2P+zQN1NBHChg==", + "type": "package", + "path": "system.io.pipelines/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.IO.Pipelines.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.IO.Pipelines.targets", + "lib/net10.0/System.IO.Pipelines.dll", + "lib/net10.0/System.IO.Pipelines.xml", + "lib/net462/System.IO.Pipelines.dll", + "lib/net462/System.IO.Pipelines.xml", + "lib/net8.0/System.IO.Pipelines.dll", + "lib/net8.0/System.IO.Pipelines.xml", + "lib/net9.0/System.IO.Pipelines.dll", + "lib/net9.0/System.IO.Pipelines.xml", + "lib/netstandard2.0/System.IO.Pipelines.dll", + "lib/netstandard2.0/System.IO.Pipelines.xml", + "system.io.pipelines.10.0.0.nupkg.sha512", + "system.io.pipelines.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Reactive/6.0.0": { + "sha512": "31kfaW4ZupZzPsI5PVe77VhnvFF55qgma7KZr/E0iFTs6fmdhhG8j0mgEx620iLTey1EynOkEfnyTjtNEpJzGw==", + "type": "package", + "path": "system.reactive/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "build/net6.0-windows10.0.19041/_._", + "build/net6.0/_._", + "buildTransitive/net6.0-windows10.0.19041/_._", + "buildTransitive/net6.0/_._", + "icon.png", + "lib/net472/System.Reactive.dll", + "lib/net472/System.Reactive.xml", + "lib/net6.0-windows10.0.19041/System.Reactive.dll", + "lib/net6.0-windows10.0.19041/System.Reactive.xml", + "lib/net6.0/System.Reactive.dll", + "lib/net6.0/System.Reactive.xml", + "lib/netstandard2.0/System.Reactive.dll", + "lib/netstandard2.0/System.Reactive.xml", + "lib/uap10.0.18362/System.Reactive.dll", + "lib/uap10.0.18362/System.Reactive.pri", + "lib/uap10.0.18362/System.Reactive.xml", + "readme.md", + "system.reactive.6.0.0.nupkg.sha512", + "system.reactive.nuspec" + ] + }, + "System.Text.Encodings.Web/10.0.0": { + "sha512": "257hh1ep1Gqm1Lm0ulxf7vVBVMJuGN6EL4xSWjpi46DffXzm1058IiWsfSC06zSm7SniN+Tb5160UnXsSa8rRg==", + "type": "package", + "path": "system.text.encodings.web/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Text.Encodings.Web.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Text.Encodings.Web.targets", + "lib/net10.0/System.Text.Encodings.Web.dll", + "lib/net10.0/System.Text.Encodings.Web.xml", + "lib/net462/System.Text.Encodings.Web.dll", + "lib/net462/System.Text.Encodings.Web.xml", + "lib/net8.0/System.Text.Encodings.Web.dll", + "lib/net8.0/System.Text.Encodings.Web.xml", + "lib/net9.0/System.Text.Encodings.Web.dll", + "lib/net9.0/System.Text.Encodings.Web.xml", + "lib/netstandard2.0/System.Text.Encodings.Web.dll", + "lib/netstandard2.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net10.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net10.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.xml", + "runtimes/wasi/lib/net10.0/System.Text.Encodings.Web.dll", + "runtimes/wasi/lib/net10.0/System.Text.Encodings.Web.xml", + "runtimes/win/lib/net9.0/System.Text.Encodings.Web.dll", + "runtimes/win/lib/net9.0/System.Text.Encodings.Web.xml", + "system.text.encodings.web.10.0.0.nupkg.sha512", + "system.text.encodings.web.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Text.Json/10.0.0": { + "sha512": "1Dpjwq9peG/Wt5BNbrzIhTpclfOSqBWZsUO28vVr59yQlkvL5jLBWfpfzRmJ1OY+6DciaY0DUcltyzs4fuZHjw==", + "type": "package", + "path": "system.text.json/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "buildTransitive/net461/System.Text.Json.targets", + "buildTransitive/net462/System.Text.Json.targets", + "buildTransitive/net8.0/System.Text.Json.targets", + "buildTransitive/netcoreapp2.0/System.Text.Json.targets", + "buildTransitive/netstandard2.0/System.Text.Json.targets", + "lib/net10.0/System.Text.Json.dll", + "lib/net10.0/System.Text.Json.xml", + "lib/net462/System.Text.Json.dll", + "lib/net462/System.Text.Json.xml", + "lib/net8.0/System.Text.Json.dll", + "lib/net8.0/System.Text.Json.xml", + "lib/net9.0/System.Text.Json.dll", + "lib/net9.0/System.Text.Json.xml", + "lib/netstandard2.0/System.Text.Json.dll", + "lib/netstandard2.0/System.Text.Json.xml", + "system.text.json.10.0.0.nupkg.sha512", + "system.text.json.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Bts.Spark.Core/3.2.0-preview": { + "type": "project", + "path": "../../cs/Bts.Spark.Core/Bts.Spark.Core.csproj", + "msbuildProject": "../../cs/Bts.Spark.Core/Bts.Spark.Core.csproj" + } + }, + "projectFileDependencyGroups": { + "net8.0": [ + "Bts.Spark.Core >= 3.2.0-preview" + ] + }, + "packageFolders": { + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "projectName": "Bts.PubSubCommon", + "projectPath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\.codexobj\\PubSubCommon\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": { + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj" + } + } + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/project.nuget.cache b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/project.nuget.cache new file mode 100644 index 000000000..c64daf38f --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommon/project.nuget.cache @@ -0,0 +1,46 @@ +{ + "version": 2, + "dgSpecHash": "dCKLVXTwwMs=", + "success": true, + "projectFilePath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "expectedPackageFiles": [ + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\google.protobuf\\3.24.3\\google.protobuf.3.24.3.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration\\10.0.0\\microsoft.extensions.configuration.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\10.0.0\\microsoft.extensions.configuration.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.binder\\10.0.0\\microsoft.extensions.configuration.binder.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\10.0.0\\microsoft.extensions.configuration.commandline.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\10.0.0\\microsoft.extensions.configuration.environmentvariables.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\10.0.0\\microsoft.extensions.configuration.fileextensions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.json\\10.0.0\\microsoft.extensions.configuration.json.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\10.0.0\\microsoft.extensions.configuration.usersecrets.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\10.0.0\\microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\10.0.0\\microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.diagnostics\\10.0.0\\microsoft.extensions.diagnostics.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.diagnostics.abstractions\\10.0.0\\microsoft.extensions.diagnostics.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\10.0.0\\microsoft.extensions.fileproviders.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\10.0.0\\microsoft.extensions.fileproviders.physical.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\10.0.0\\microsoft.extensions.filesystemglobbing.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.hosting\\10.0.0\\microsoft.extensions.hosting.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\10.0.0\\microsoft.extensions.hosting.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging\\10.0.0\\microsoft.extensions.logging.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\10.0.0\\microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.configuration\\10.0.0\\microsoft.extensions.logging.configuration.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.console\\10.0.0\\microsoft.extensions.logging.console.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.debug\\10.0.0\\microsoft.extensions.logging.debug.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.eventlog\\10.0.0\\microsoft.extensions.logging.eventlog.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\10.0.0\\microsoft.extensions.logging.eventsource.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.options\\10.0.0\\microsoft.extensions.options.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\10.0.0\\microsoft.extensions.options.configurationextensions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.primitives\\10.0.0\\microsoft.extensions.primitives.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\protobuf-net\\3.2.26\\protobuf-net.3.2.26.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\protobuf-net.core\\3.2.26\\protobuf-net.core.3.2.26.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.collections.immutable\\7.0.0\\system.collections.immutable.7.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.diagnostics.diagnosticsource\\10.0.0\\system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.diagnostics.eventlog\\10.0.0\\system.diagnostics.eventlog.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.io.pipelines\\10.0.0\\system.io.pipelines.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.reactive\\6.0.0\\system.reactive.6.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.text.encodings.web\\10.0.0\\system.text.encodings.web.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.text.json\\10.0.0\\system.text.json.10.0.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/PubSubCommon.csproj.nuget.dgspec.json b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/PubSubCommon.csproj.nuget.dgspec.json new file mode 100644 index 000000000..414728722 --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/PubSubCommon.csproj.nuget.dgspec.json @@ -0,0 +1,160 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj": {} + }, + "projects": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "projectName": "Bts.Spark.Core", + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\.codexobj\\PubSubCommonOnly\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "allWarningsAsErrors": true + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "dependencies": { + "Google.Protobuf": { + "target": "Package", + "version": "[3.24.3, )" + }, + "Microsoft.Extensions.Hosting": { + "target": "Package", + "version": "[10.0.0, )" + }, + "System.Reactive": { + "target": "Package", + "version": "[6.0.0, )" + }, + "protobuf-net": { + "target": "Package", + "version": "[3.2.26, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + }, + "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "projectName": "Bts.PubSubCommon", + "projectPath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\.codexobj\\PubSubCommonOnly\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": { + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj" + } + } + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/PubSubCommon.csproj.nuget.g.props b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/PubSubCommon.csproj.nuget.g.props new file mode 100644 index 000000000..5ce197acf --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/PubSubCommon.csproj.nuget.g.props @@ -0,0 +1,19 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\spark\.dotnet-cli\.nuget\packages\ + c:\Users\Owner\spark\.dotnet-cli\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 7.0.0 + + + + + + + + + \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/PubSubCommon.csproj.nuget.g.targets b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/PubSubCommon.csproj.nuget.g.targets new file mode 100644 index 000000000..fe72cd022 --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/PubSubCommon.csproj.nuget.g.targets @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/project.assets.json b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/project.assets.json new file mode 100644 index 000000000..99731786a --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/project.assets.json @@ -0,0 +1,2056 @@ +{ + "version": 3, + "targets": { + "net8.0": { + "Google.Protobuf/3.24.3": { + "type": "package", + "compile": { + "lib/net5.0/Google.Protobuf.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/net5.0/Google.Protobuf.dll": { + "related": ".pdb;.xml" + } + } + }, + "Microsoft.Extensions.Configuration/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Binder/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets": {} + } + }, + "Microsoft.Extensions.Configuration.CommandLine/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.FileExtensions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Json/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.UserSecrets/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Json": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.props": {}, + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.targets": {} + } + }, + "Microsoft.Extensions.DependencyInjection/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Diagnostics/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "10.0.0", + "Microsoft.Extensions.Options.ConfigurationExtensions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Diagnostics.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Diagnostics.DiagnosticSource": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileProviders.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileProviders.Physical/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileSystemGlobbing/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Hosting/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.Configuration.CommandLine": "10.0.0", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "10.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "10.0.0", + "Microsoft.Extensions.Configuration.Json": "10.0.0", + "Microsoft.Extensions.Configuration.UserSecrets": "10.0.0", + "Microsoft.Extensions.DependencyInjection": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Diagnostics": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0", + "Microsoft.Extensions.Hosting.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Configuration": "10.0.0", + "Microsoft.Extensions.Logging.Console": "10.0.0", + "Microsoft.Extensions.Logging.Debug": "10.0.0", + "Microsoft.Extensions.Logging.EventLog": "10.0.0", + "Microsoft.Extensions.Logging.EventSource": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Hosting.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Hosting.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Hosting.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "System.Diagnostics.DiagnosticSource": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Logging.Abstractions.targets": {} + } + }, + "Microsoft.Extensions.Logging.Configuration/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Options.ConfigurationExtensions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Console/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Configuration": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Debug/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.EventLog/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Diagnostics.EventLog": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.EventSource/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Options/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Options.targets": {} + } + }, + "Microsoft.Extensions.Options.ConfigurationExtensions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Primitives/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "protobuf-net/3.2.26": { + "type": "package", + "dependencies": { + "protobuf-net.Core": "3.2.26" + }, + "compile": { + "lib/net6.0/protobuf-net.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/protobuf-net.dll": { + "related": ".xml" + } + } + }, + "protobuf-net.Core/3.2.26": { + "type": "package", + "dependencies": { + "System.Collections.Immutable": "7.0.0" + }, + "compile": { + "lib/net6.0/protobuf-net.Core.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/protobuf-net.Core.dll": { + "related": ".xml" + } + } + }, + "System.Collections.Immutable/7.0.0": { + "type": "package", + "compile": { + "lib/net7.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net7.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + } + }, + "System.Diagnostics.DiagnosticSource/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "System.Diagnostics.EventLog/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Diagnostics.EventLog.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Diagnostics.EventLog.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + }, + "runtimeTargets": { + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll": { + "assetType": "runtime", + "rid": "win" + }, + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.IO.Pipelines/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "System.Reactive/6.0.0": { + "type": "package", + "compile": { + "lib/net6.0/System.Reactive.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.Reactive.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + } + }, + "System.Text.Encodings.Web/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Text.Encodings.Web.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Text.Encodings.Web.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + }, + "runtimeTargets": { + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll": { + "assetType": "runtime", + "rid": "browser" + } + } + }, + "System.Text.Json/10.0.0": { + "type": "package", + "dependencies": { + "System.IO.Pipelines": "10.0.0", + "System.Text.Encodings.Web": "10.0.0" + }, + "compile": { + "lib/net8.0/System.Text.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Text.Json.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/System.Text.Json.targets": {} + } + }, + "Bts.Spark.Core/3.2.0-preview": { + "type": "project", + "framework": ".NETCoreApp,Version=v8.0", + "dependencies": { + "Google.Protobuf": "3.24.3", + "Microsoft.Extensions.Hosting": "10.0.0", + "System.Reactive": "6.0.0", + "protobuf-net": "3.2.26" + }, + "compile": { + "bin/placeholder/Bts.Spark.Core.dll": {} + }, + "runtime": { + "bin/placeholder/Bts.Spark.Core.dll": {} + } + } + } + }, + "libraries": { + "Google.Protobuf/3.24.3": { + "sha512": "HX8KHRTJPUcC4KOvEobKBNlMpHGYmK+3X73xPq+OUE2M5dLYvpGhp9qQQWt2jASgTUbxI1yHaGeBqFYiECBupw==", + "type": "package", + "path": "google.protobuf/3.24.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "google.protobuf.3.24.3.nupkg.sha512", + "google.protobuf.nuspec", + "lib/net45/Google.Protobuf.dll", + "lib/net45/Google.Protobuf.pdb", + "lib/net45/Google.Protobuf.xml", + "lib/net5.0/Google.Protobuf.dll", + "lib/net5.0/Google.Protobuf.pdb", + "lib/net5.0/Google.Protobuf.xml", + "lib/netstandard1.1/Google.Protobuf.dll", + "lib/netstandard1.1/Google.Protobuf.pdb", + "lib/netstandard1.1/Google.Protobuf.xml", + "lib/netstandard2.0/Google.Protobuf.dll", + "lib/netstandard2.0/Google.Protobuf.pdb", + "lib/netstandard2.0/Google.Protobuf.xml" + ] + }, + "Microsoft.Extensions.Configuration/10.0.0": { + "sha512": "H4SWETCh/cC5L1WtWchHR6LntGk3rDTTznZMssr4cL8IbDmMWBxY+MOGDc/ASnqNolLKPIWHWeuC1ddiL/iNPw==", + "type": "package", + "path": "microsoft.extensions.configuration/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.xml", + "lib/net462/Microsoft.Extensions.Configuration.dll", + "lib/net462/Microsoft.Extensions.Configuration.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.xml", + "microsoft.extensions.configuration.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Abstractions/10.0.0": { + "sha512": "d2kDKnCsJvY7mBVhcjPSp9BkJk48DsaHPg5u+Oy4f8XaOqnEedRy/USyvnpHL92wpJ6DrTPy7htppUUzskbCXQ==", + "type": "package", + "path": "microsoft.extensions.configuration.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Binder/10.0.0": { + "sha512": "tMF9wNh+hlyYDWB8mrFCQHQmWHlRosol1b/N2Jrefy1bFLnuTlgSYmPyHNmz8xVQgs7DpXytBRWxGhG+mSTp0g==", + "type": "package", + "path": "microsoft.extensions.configuration.binder/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/cs/Microsoft.Extensions.Configuration.Binder.SourceGeneration.dll", + "analyzers/dotnet/cs/cs/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/de/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/es/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/fr/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/it/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ja/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ko/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/pl/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/pt-BR/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ru/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/tr/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/zh-Hans/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/zh-Hant/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net462/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net462/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.binder.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.CommandLine/10.0.0": { + "sha512": "CRj5clwZciVs46GMhAthkFq3+JiNM15Bz9CRlCZLBmRdggD6RwoBphRJ+EUDK2f+cZZ1L2zqVaQrn1KueoU5Kg==", + "type": "package", + "path": "microsoft.extensions.configuration.commandline/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.CommandLine.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.CommandLine.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net462/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net462/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "microsoft.extensions.configuration.commandline.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.commandline.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/10.0.0": { + "sha512": "TmFegsI/uCdwMBD4yKpmO+OkjVNHQL49Dh/ep83NI5rPUEoBK9OdsJo1zURc1A2FuS/R/Pos3wsTjlyLnguBLA==", + "type": "package", + "path": "microsoft.extensions.configuration.environmentvariables/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.EnvironmentVariables.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net462/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net462/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "microsoft.extensions.configuration.environmentvariables.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.environmentvariables.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.FileExtensions/10.0.0": { + "sha512": "LqCTyF0twrG4tyEN6PpSC5ewRBDwCBazRUfCOdRddwaQ3n2S57GDDeYOlTLcbV/V2dxSSZWg5Ofr48h6BsBmxw==", + "type": "package", + "path": "microsoft.extensions.configuration.fileextensions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.FileExtensions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.FileExtensions.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net462/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net462/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "microsoft.extensions.configuration.fileextensions.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.fileextensions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Json/10.0.0": { + "sha512": "BIOPTEAZoeWbHlDT9Zudu+rpecZizFwhdIFRiyZKDml7JbayXmfTXKUt+ezifsSXfBkWDdJM10oDOxo8pufEng==", + "type": "package", + "path": "microsoft.extensions.configuration.json/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.Json.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.Json.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/net462/Microsoft.Extensions.Configuration.Json.dll", + "lib/net462/Microsoft.Extensions.Configuration.Json.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.dll", + "lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.xml", + "microsoft.extensions.configuration.json.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.json.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.UserSecrets/10.0.0": { + "sha512": "B4qHB6gQ2B3I52YRohSV7wetp01BQzi8jDmrtiVm6e4l8vH5vjqwxWcR5wumGWjdBkj1asJLLsDIocdyTQSP0A==", + "type": "package", + "path": "microsoft.extensions.configuration.usersecrets/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/net462/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/net462/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net462/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net462/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "microsoft.extensions.configuration.usersecrets.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.usersecrets.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection/10.0.0": { + "sha512": "f0RBabswJq+gRu5a+hWIobrLWiUYPKMhCD9WO3sYBAdSy3FFH14LMvLVFZc2kPSCimBLxSuitUhsd6tb0TAY6A==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.targets", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/net462/Microsoft.Extensions.DependencyInjection.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.xml", + "microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": { + "sha512": "L3AdmZ1WOK4XXT5YFPEwyt0ep6l8lGIPs7F5OOBZc77Zqeo01Of7XXICy47628sdVl0v/owxYJTe86DTgFwKCA==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Diagnostics/10.0.0": { + "sha512": "xjkxIPgrT0mKTfBwb+CVqZnRchyZgzKIfDQOp8z+WUC6vPe3WokIf71z+hJPkH0YBUYJwa7Z/al1R087ib9oiw==", + "type": "package", + "path": "microsoft.extensions.diagnostics/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Diagnostics.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Diagnostics.targets", + "lib/net10.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net10.0/Microsoft.Extensions.Diagnostics.xml", + "lib/net462/Microsoft.Extensions.Diagnostics.dll", + "lib/net462/Microsoft.Extensions.Diagnostics.xml", + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net8.0/Microsoft.Extensions.Diagnostics.xml", + "lib/net9.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net9.0/Microsoft.Extensions.Diagnostics.xml", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.dll", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.xml", + "microsoft.extensions.diagnostics.10.0.0.nupkg.sha512", + "microsoft.extensions.diagnostics.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Diagnostics.Abstractions/10.0.0": { + "sha512": "SfK89ytD61S7DgzorFljSkUeluC1ncn6dtZgwc0ot39f/BEYWBl5jpgvodxduoYAs1d9HG8faCDRZxE95UMo2A==", + "type": "package", + "path": "microsoft.extensions.diagnostics.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Diagnostics.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Diagnostics.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "microsoft.extensions.diagnostics.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.diagnostics.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileProviders.Abstractions/10.0.0": { + "sha512": "/ppSdehKk3fuXjlqCDgSOtjRK/pSHU8eWgzSHfHdwVm5BP4Dgejehkw+PtxKG2j98qTDEHDst2Y99aNsmJldmw==", + "type": "package", + "path": "microsoft.extensions.fileproviders.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileProviders.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileProviders.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net462/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net462/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "microsoft.extensions.fileproviders.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.fileproviders.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileProviders.Physical/10.0.0": { + "sha512": "UZUQ74lQMmvcprlG8w+XpxBbyRDQqfb7GAnccITw32hdkUBlmm9yNC4xl4aR9YjgV3ounZcub194sdmLSfBmPA==", + "type": "package", + "path": "microsoft.extensions.fileproviders.physical/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileProviders.Physical.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileProviders.Physical.targets", + "lib/net10.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net10.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net462/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net462/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net9.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net9.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Physical.xml", + "microsoft.extensions.fileproviders.physical.10.0.0.nupkg.sha512", + "microsoft.extensions.fileproviders.physical.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileSystemGlobbing/10.0.0": { + "sha512": "5hfVl/e+bx1px2UkN+1xXhd3hu7Ui6ENItBzckFaRDQXfr+SHT/7qrCDrlQekCF/PBtEu2vtk87U2+gDEF8EhQ==", + "type": "package", + "path": "microsoft.extensions.filesystemglobbing/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileSystemGlobbing.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileSystemGlobbing.targets", + "lib/net10.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net10.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net462/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net462/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net9.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net9.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "microsoft.extensions.filesystemglobbing.10.0.0.nupkg.sha512", + "microsoft.extensions.filesystemglobbing.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Hosting/10.0.0": { + "sha512": "yKJiVdXkSfe9foojGpBRbuDPQI8YD71IO/aE8ehGjRHE0VkEF/YWkW6StthwuFF146pc2lypZrpk/Tks6Plwhw==", + "type": "package", + "path": "microsoft.extensions.hosting/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Hosting.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Hosting.targets", + "lib/net10.0/Microsoft.Extensions.Hosting.dll", + "lib/net10.0/Microsoft.Extensions.Hosting.xml", + "lib/net462/Microsoft.Extensions.Hosting.dll", + "lib/net462/Microsoft.Extensions.Hosting.xml", + "lib/net8.0/Microsoft.Extensions.Hosting.dll", + "lib/net8.0/Microsoft.Extensions.Hosting.xml", + "lib/net9.0/Microsoft.Extensions.Hosting.dll", + "lib/net9.0/Microsoft.Extensions.Hosting.xml", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.dll", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.xml", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.dll", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.xml", + "microsoft.extensions.hosting.10.0.0.nupkg.sha512", + "microsoft.extensions.hosting.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Hosting.Abstractions/10.0.0": { + "sha512": "KrN6TGFwCwqOkLLk/idW/XtDQh+8In+CL9T4M1Dx+5ScsjTq4TlVbal8q532m82UYrMr6RiQJF2HvYCN0QwVsA==", + "type": "package", + "path": "microsoft.extensions.hosting.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Hosting.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Hosting.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.xml", + "microsoft.extensions.hosting.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.hosting.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging/10.0.0": { + "sha512": "BStFkd5CcnEtarlcgYDBcFzGYCuuNMzPs02wN3WBsOFoYIEmYoUdAiU+au6opzoqfTYJsMTW00AeqDdnXH2CvA==", + "type": "package", + "path": "microsoft.extensions.logging/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.targets", + "lib/net10.0/Microsoft.Extensions.Logging.dll", + "lib/net10.0/Microsoft.Extensions.Logging.xml", + "lib/net462/Microsoft.Extensions.Logging.dll", + "lib/net462/Microsoft.Extensions.Logging.xml", + "lib/net8.0/Microsoft.Extensions.Logging.dll", + "lib/net8.0/Microsoft.Extensions.Logging.xml", + "lib/net9.0/Microsoft.Extensions.Logging.dll", + "lib/net9.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.1/Microsoft.Extensions.Logging.xml", + "microsoft.extensions.logging.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Abstractions/10.0.0": { + "sha512": "FU/IfjDfwaMuKr414SSQNTIti/69bHEMb+QKrskRb26oVqpx3lNFXMjs/RC9ZUuhBhcwDM2BwOgoMw+PZ+beqQ==", + "type": "package", + "path": "microsoft.extensions.logging.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "buildTransitive/net461/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net462/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml", + "microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Configuration/10.0.0": { + "sha512": "j8zcwhS6bYB6FEfaY3nYSgHdpiL2T+/V3xjpHtslVAegyI1JUbB9yAt/BFdvZdsNbY0Udm4xFtvfT/hUwcOOOg==", + "type": "package", + "path": "microsoft.extensions.logging.configuration/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Configuration.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Configuration.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net462/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net462/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.configuration.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Console/10.0.0": { + "sha512": "treWetuksp8LVb09fCJ5zNhNJjyDkqzVm83XxcrlWQnAdXznR140UUXo8PyEPBvFlHhjKhFQZEOP3Sk/ByCvEw==", + "type": "package", + "path": "microsoft.extensions.logging.console/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Console.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Console.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Console.xml", + "lib/net462/Microsoft.Extensions.Logging.Console.dll", + "lib/net462/Microsoft.Extensions.Logging.Console.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Console.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Console.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Console.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Console.xml", + "microsoft.extensions.logging.console.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.console.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Debug/10.0.0": { + "sha512": "A/4vBtVaySLBGj4qluye+KSbeVCCMa6GcTbxf2YgnSDHs9b9105+VojBJ1eJPel8F1ny0JOh+Ci3vgCKn69tNQ==", + "type": "package", + "path": "microsoft.extensions.logging.debug/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Debug.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Debug.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/net462/Microsoft.Extensions.Logging.Debug.dll", + "lib/net462/Microsoft.Extensions.Logging.Debug.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Debug.xml", + "microsoft.extensions.logging.debug.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.debug.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.EventLog/10.0.0": { + "sha512": "EWda5nSXhzQZr3yJ3+XgIApOek+Hm+txhWCEzWNVPp/OfimL4qmvctgXu87m+S2RXw/AoUP8aLMNicJ2KWblVA==", + "type": "package", + "path": "microsoft.extensions.logging.eventlog/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.EventLog.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.EventLog.targets", + "lib/net10.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net10.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net462/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net462/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net9.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net9.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventLog.xml", + "microsoft.extensions.logging.eventlog.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.eventlog.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.EventSource/10.0.0": { + "sha512": "+Qc+kgoJi1w2A/Jm+7h04LcK2JoJkwAxKg7kBakkNRcemTmRGocqPa7rVNVGorTYruFrUS25GwkFNtOECnjhXg==", + "type": "package", + "path": "microsoft.extensions.logging.eventsource/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.EventSource.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.EventSource.targets", + "lib/net10.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net10.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net462/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net462/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net9.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net9.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventSource.xml", + "microsoft.extensions.logging.eventsource.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.eventsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Options/10.0.0": { + "sha512": "8oCAgXOow5XDrY9HaXX1QmH3ORsyZO/ANVHBlhLyCeWTH5Sg4UuqZeOTWJi6484M+LqSx0RqQXDJtdYy2BNiLQ==", + "type": "package", + "path": "microsoft.extensions.options/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Options.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "buildTransitive/net461/Microsoft.Extensions.Options.targets", + "buildTransitive/net462/Microsoft.Extensions.Options.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Options.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Options.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets", + "lib/net10.0/Microsoft.Extensions.Options.dll", + "lib/net10.0/Microsoft.Extensions.Options.xml", + "lib/net462/Microsoft.Extensions.Options.dll", + "lib/net462/Microsoft.Extensions.Options.xml", + "lib/net8.0/Microsoft.Extensions.Options.dll", + "lib/net8.0/Microsoft.Extensions.Options.xml", + "lib/net9.0/Microsoft.Extensions.Options.dll", + "lib/net9.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.0/Microsoft.Extensions.Options.dll", + "lib/netstandard2.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.1/Microsoft.Extensions.Options.dll", + "lib/netstandard2.1/Microsoft.Extensions.Options.xml", + "microsoft.extensions.options.10.0.0.nupkg.sha512", + "microsoft.extensions.options.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Options.ConfigurationExtensions/10.0.0": { + "sha512": "tL9cSl3maS5FPzp/3MtlZI21ExWhni0nnUCF8HY4npTsINw45n9SNDbkKXBMtFyUFGSsQep25fHIDN4f/Vp3AQ==", + "type": "package", + "path": "microsoft.extensions.options.configurationextensions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Options.ConfigurationExtensions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Options.ConfigurationExtensions.targets", + "lib/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net462/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net462/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net9.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.options.configurationextensions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Primitives/10.0.0": { + "sha512": "inRnbpCS0nwO/RuoZIAqxQUuyjaknOOnCEZB55KSMMjRhl0RQDttSmLSGsUJN3RQ3ocf5NDLFd2mOQViHqMK5w==", + "type": "package", + "path": "microsoft.extensions.primitives/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Primitives.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Primitives.targets", + "lib/net10.0/Microsoft.Extensions.Primitives.dll", + "lib/net10.0/Microsoft.Extensions.Primitives.xml", + "lib/net462/Microsoft.Extensions.Primitives.dll", + "lib/net462/Microsoft.Extensions.Primitives.xml", + "lib/net8.0/Microsoft.Extensions.Primitives.dll", + "lib/net8.0/Microsoft.Extensions.Primitives.xml", + "lib/net9.0/Microsoft.Extensions.Primitives.dll", + "lib/net9.0/Microsoft.Extensions.Primitives.xml", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.xml", + "microsoft.extensions.primitives.10.0.0.nupkg.sha512", + "microsoft.extensions.primitives.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "protobuf-net/3.2.26": { + "sha512": "zBzBiKs4yP+tzQOsRA5WbI/zayS6eFv8g0KIKNPI7/RUY1nk9Oe+STmtbUYkNUkO3T3SidEoZv+tF1nmgTSutQ==", + "type": "package", + "path": "protobuf-net/3.2.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net462/protobuf-net.dll", + "lib/net462/protobuf-net.xml", + "lib/net6.0/protobuf-net.dll", + "lib/net6.0/protobuf-net.xml", + "lib/netstandard2.0/protobuf-net.dll", + "lib/netstandard2.0/protobuf-net.xml", + "lib/netstandard2.1/protobuf-net.dll", + "lib/netstandard2.1/protobuf-net.xml", + "protobuf-net.3.2.26.nupkg.sha512", + "protobuf-net.nuspec", + "protobuf-net.png" + ] + }, + "protobuf-net.Core/3.2.26": { + "sha512": "s8oJW9dBVxix4p8uqMbeG++DIGjgzOFAKoP2i5wayeeFOKBqG+cCBO2S/CAC4MAFlb5m1Os2m/miLcqRCgqJ7Q==", + "type": "package", + "path": "protobuf-net.core/3.2.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net462/protobuf-net.Core.dll", + "lib/net462/protobuf-net.Core.xml", + "lib/net6.0/protobuf-net.Core.dll", + "lib/net6.0/protobuf-net.Core.xml", + "lib/netstandard2.0/protobuf-net.Core.dll", + "lib/netstandard2.0/protobuf-net.Core.xml", + "lib/netstandard2.1/protobuf-net.Core.dll", + "lib/netstandard2.1/protobuf-net.Core.xml", + "protobuf-net.core.3.2.26.nupkg.sha512", + "protobuf-net.core.nuspec", + "protobuf-net.png" + ] + }, + "System.Collections.Immutable/7.0.0": { + "sha512": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", + "type": "package", + "path": "system.collections.immutable/7.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "README.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Collections.Immutable.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/System.Collections.Immutable.targets", + "lib/net462/System.Collections.Immutable.dll", + "lib/net462/System.Collections.Immutable.xml", + "lib/net6.0/System.Collections.Immutable.dll", + "lib/net6.0/System.Collections.Immutable.xml", + "lib/net7.0/System.Collections.Immutable.dll", + "lib/net7.0/System.Collections.Immutable.xml", + "lib/netstandard2.0/System.Collections.Immutable.dll", + "lib/netstandard2.0/System.Collections.Immutable.xml", + "system.collections.immutable.7.0.0.nupkg.sha512", + "system.collections.immutable.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Diagnostics.DiagnosticSource/10.0.0": { + "sha512": "0KdBK+h7G13PuOSC2R/DalAoFMvdYMznvGRuICtkdcUMXgl/gYXsG6z4yUvTxHSMACorWgHCU1Faq0KUHU6yAQ==", + "type": "package", + "path": "system.diagnostics.diagnosticsource/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Diagnostics.DiagnosticSource.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Diagnostics.DiagnosticSource.targets", + "lib/net10.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net10.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net462/System.Diagnostics.DiagnosticSource.dll", + "lib/net462/System.Diagnostics.DiagnosticSource.xml", + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net8.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net9.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net9.0/System.Diagnostics.DiagnosticSource.xml", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.xml", + "system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512", + "system.diagnostics.diagnosticsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Diagnostics.EventLog/10.0.0": { + "sha512": "uaFRda9NjtbJRkdx311eXlAA3n2em7223c1A8d1VWyl+4FL9vkG7y2lpPfBU9HYdj/9KgdRNdn1vFK8ZYCYT/A==", + "type": "package", + "path": "system.diagnostics.eventlog/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Diagnostics.EventLog.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Diagnostics.EventLog.targets", + "lib/net10.0/System.Diagnostics.EventLog.dll", + "lib/net10.0/System.Diagnostics.EventLog.xml", + "lib/net462/System.Diagnostics.EventLog.dll", + "lib/net462/System.Diagnostics.EventLog.xml", + "lib/net8.0/System.Diagnostics.EventLog.dll", + "lib/net8.0/System.Diagnostics.EventLog.xml", + "lib/net9.0/System.Diagnostics.EventLog.dll", + "lib/net9.0/System.Diagnostics.EventLog.xml", + "lib/netstandard2.0/System.Diagnostics.EventLog.dll", + "lib/netstandard2.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.xml", + "system.diagnostics.eventlog.10.0.0.nupkg.sha512", + "system.diagnostics.eventlog.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.IO.Pipelines/10.0.0": { + "sha512": "M1eb3nfXntaRJPrrMVM9EFS8I1bDTnt0uvUS6QP/SicZf/ZZjydMD5NiXxfmwW/uQwaMDP/yX2P+zQN1NBHChg==", + "type": "package", + "path": "system.io.pipelines/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.IO.Pipelines.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.IO.Pipelines.targets", + "lib/net10.0/System.IO.Pipelines.dll", + "lib/net10.0/System.IO.Pipelines.xml", + "lib/net462/System.IO.Pipelines.dll", + "lib/net462/System.IO.Pipelines.xml", + "lib/net8.0/System.IO.Pipelines.dll", + "lib/net8.0/System.IO.Pipelines.xml", + "lib/net9.0/System.IO.Pipelines.dll", + "lib/net9.0/System.IO.Pipelines.xml", + "lib/netstandard2.0/System.IO.Pipelines.dll", + "lib/netstandard2.0/System.IO.Pipelines.xml", + "system.io.pipelines.10.0.0.nupkg.sha512", + "system.io.pipelines.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Reactive/6.0.0": { + "sha512": "31kfaW4ZupZzPsI5PVe77VhnvFF55qgma7KZr/E0iFTs6fmdhhG8j0mgEx620iLTey1EynOkEfnyTjtNEpJzGw==", + "type": "package", + "path": "system.reactive/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "build/net6.0-windows10.0.19041/_._", + "build/net6.0/_._", + "buildTransitive/net6.0-windows10.0.19041/_._", + "buildTransitive/net6.0/_._", + "icon.png", + "lib/net472/System.Reactive.dll", + "lib/net472/System.Reactive.xml", + "lib/net6.0-windows10.0.19041/System.Reactive.dll", + "lib/net6.0-windows10.0.19041/System.Reactive.xml", + "lib/net6.0/System.Reactive.dll", + "lib/net6.0/System.Reactive.xml", + "lib/netstandard2.0/System.Reactive.dll", + "lib/netstandard2.0/System.Reactive.xml", + "lib/uap10.0.18362/System.Reactive.dll", + "lib/uap10.0.18362/System.Reactive.pri", + "lib/uap10.0.18362/System.Reactive.xml", + "readme.md", + "system.reactive.6.0.0.nupkg.sha512", + "system.reactive.nuspec" + ] + }, + "System.Text.Encodings.Web/10.0.0": { + "sha512": "257hh1ep1Gqm1Lm0ulxf7vVBVMJuGN6EL4xSWjpi46DffXzm1058IiWsfSC06zSm7SniN+Tb5160UnXsSa8rRg==", + "type": "package", + "path": "system.text.encodings.web/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Text.Encodings.Web.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Text.Encodings.Web.targets", + "lib/net10.0/System.Text.Encodings.Web.dll", + "lib/net10.0/System.Text.Encodings.Web.xml", + "lib/net462/System.Text.Encodings.Web.dll", + "lib/net462/System.Text.Encodings.Web.xml", + "lib/net8.0/System.Text.Encodings.Web.dll", + "lib/net8.0/System.Text.Encodings.Web.xml", + "lib/net9.0/System.Text.Encodings.Web.dll", + "lib/net9.0/System.Text.Encodings.Web.xml", + "lib/netstandard2.0/System.Text.Encodings.Web.dll", + "lib/netstandard2.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net10.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net10.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.xml", + "runtimes/wasi/lib/net10.0/System.Text.Encodings.Web.dll", + "runtimes/wasi/lib/net10.0/System.Text.Encodings.Web.xml", + "runtimes/win/lib/net9.0/System.Text.Encodings.Web.dll", + "runtimes/win/lib/net9.0/System.Text.Encodings.Web.xml", + "system.text.encodings.web.10.0.0.nupkg.sha512", + "system.text.encodings.web.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Text.Json/10.0.0": { + "sha512": "1Dpjwq9peG/Wt5BNbrzIhTpclfOSqBWZsUO28vVr59yQlkvL5jLBWfpfzRmJ1OY+6DciaY0DUcltyzs4fuZHjw==", + "type": "package", + "path": "system.text.json/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "buildTransitive/net461/System.Text.Json.targets", + "buildTransitive/net462/System.Text.Json.targets", + "buildTransitive/net8.0/System.Text.Json.targets", + "buildTransitive/netcoreapp2.0/System.Text.Json.targets", + "buildTransitive/netstandard2.0/System.Text.Json.targets", + "lib/net10.0/System.Text.Json.dll", + "lib/net10.0/System.Text.Json.xml", + "lib/net462/System.Text.Json.dll", + "lib/net462/System.Text.Json.xml", + "lib/net8.0/System.Text.Json.dll", + "lib/net8.0/System.Text.Json.xml", + "lib/net9.0/System.Text.Json.dll", + "lib/net9.0/System.Text.Json.xml", + "lib/netstandard2.0/System.Text.Json.dll", + "lib/netstandard2.0/System.Text.Json.xml", + "system.text.json.10.0.0.nupkg.sha512", + "system.text.json.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Bts.Spark.Core/3.2.0-preview": { + "type": "project", + "path": "../../cs/Bts.Spark.Core/Bts.Spark.Core.csproj", + "msbuildProject": "../../cs/Bts.Spark.Core/Bts.Spark.Core.csproj" + } + }, + "projectFileDependencyGroups": { + "net8.0": [ + "Bts.Spark.Core >= 3.2.0-preview" + ] + }, + "packageFolders": { + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "projectName": "Bts.PubSubCommon", + "projectPath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\.codexobj\\PubSubCommonOnly\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": { + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj" + } + } + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/project.nuget.cache b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/project.nuget.cache new file mode 100644 index 000000000..7c941e246 --- /dev/null +++ b/src/DataStreamSuite/PubSubCommon/.codexobj/PubSubCommonOnly/project.nuget.cache @@ -0,0 +1,46 @@ +{ + "version": 2, + "dgSpecHash": "KMZlkNqmRvs=", + "success": true, + "projectFilePath": "C:\\Users\\Owner\\spark\\src\\DataStreamSuite\\PubSubCommon\\PubSubCommon.csproj", + "expectedPackageFiles": [ + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\google.protobuf\\3.24.3\\google.protobuf.3.24.3.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration\\10.0.0\\microsoft.extensions.configuration.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\10.0.0\\microsoft.extensions.configuration.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.binder\\10.0.0\\microsoft.extensions.configuration.binder.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\10.0.0\\microsoft.extensions.configuration.commandline.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\10.0.0\\microsoft.extensions.configuration.environmentvariables.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\10.0.0\\microsoft.extensions.configuration.fileextensions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.json\\10.0.0\\microsoft.extensions.configuration.json.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\10.0.0\\microsoft.extensions.configuration.usersecrets.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\10.0.0\\microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\10.0.0\\microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.diagnostics\\10.0.0\\microsoft.extensions.diagnostics.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.diagnostics.abstractions\\10.0.0\\microsoft.extensions.diagnostics.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\10.0.0\\microsoft.extensions.fileproviders.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\10.0.0\\microsoft.extensions.fileproviders.physical.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\10.0.0\\microsoft.extensions.filesystemglobbing.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.hosting\\10.0.0\\microsoft.extensions.hosting.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\10.0.0\\microsoft.extensions.hosting.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging\\10.0.0\\microsoft.extensions.logging.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\10.0.0\\microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.configuration\\10.0.0\\microsoft.extensions.logging.configuration.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.console\\10.0.0\\microsoft.extensions.logging.console.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.debug\\10.0.0\\microsoft.extensions.logging.debug.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.eventlog\\10.0.0\\microsoft.extensions.logging.eventlog.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\10.0.0\\microsoft.extensions.logging.eventsource.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.options\\10.0.0\\microsoft.extensions.options.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\10.0.0\\microsoft.extensions.options.configurationextensions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.primitives\\10.0.0\\microsoft.extensions.primitives.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\protobuf-net\\3.2.26\\protobuf-net.3.2.26.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\protobuf-net.core\\3.2.26\\protobuf-net.core.3.2.26.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.collections.immutable\\7.0.0\\system.collections.immutable.7.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.diagnostics.diagnosticsource\\10.0.0\\system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.diagnostics.eventlog\\10.0.0\\system.diagnostics.eventlog.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.io.pipelines\\10.0.0\\system.io.pipelines.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.reactive\\6.0.0\\system.reactive.6.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.text.encodings.web\\10.0.0\\system.text.encodings.web.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.text.json\\10.0.0\\system.text.json.10.0.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/src/DataStreamSuite/PubSubServer/Program.cs b/src/DataStreamSuite/PubSubServer/Program.cs index d7b663942..377f475cb 100644 --- a/src/DataStreamSuite/PubSubServer/Program.cs +++ b/src/DataStreamSuite/PubSubServer/Program.cs @@ -1,5 +1,8 @@ using Bts.Extensions.Hosting; +using Bts.PubSub; using Bts.PubSub.Services; +using Bts.PubSub.Server; +using BlueOrb.PubSub.Server; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; @@ -8,6 +11,9 @@ using Microsoft.Extensions.Hosting; using Spark.Core.Services; using System; +using System.Collections.Generic; +using BCG; +using bts; var host = HostBuilderExtensions.CreateBtsBuilder(args) .ConfigureServices(ConfigureServices) @@ -32,6 +38,36 @@ static void ConfigureServices(HostBuilderContext context, IServiceCollection ser /// constructors that accept these types as arguments. services.AddSpark(context.Configuration.GetSection("Spark")) .AddMasterWorker(context.Configuration.GetSection("MasterWorker")) + .AddSingleton() + .AddSingleton(sp => sp.GetRequiredService()) + .AddSingleton() + .AddSingleton(sp => sp.GetRequiredService()) + .AddSingleton() + .AddSingleton(sp => sp.GetRequiredService()) + .AddSingleton() + .AddSingleton(sp => sp.GetRequiredService()) + .AddSingleton() + .AddSingleton(sp => sp.GetRequiredService()) .AddPubSubServer(context.Configuration.GetSection("PubSub")) .AddGarbageCollector(context.Configuration.GetSection("GarbageCollector")); } + +static void init_oldway(HostBuilderContext context, IServiceCollection services) { + var pubSubSection = context.Configuration.GetSection("PubSub"); + var pubSubConfig = pubSubSection.Get() ?? PubSubConfig.Default(); + PubSubConfig.SetGlobalConfig(pubSubConfig); + + services.Configure(pubSubSection.GetSection(nameof(PubSubConfig.TagHandlerFactory))); + services.AddSingleton(sp => { + var tagHandlerFactory = new PubsubTagHandlerFactory(sp, pubSubConfig.TagHandlerFactory!); + var state = new PubSubState(tagHandlerFactory); + var internalPublishers = new List { + new PubSubServerHBPublisher(), + new PubSubServerStatsPublisher(state), + new PubSubServerStatePublisher(state), + new RestTableUpdateReceiver(), + new WebSocketTableUpdateReceiver(), + }; + return new PubSubMessageReactor(state, internalPublishers, pubSubConfig); + }); +} diff --git a/src/DataStreamSuite/PubSubServer/PubSubMessageReactorFactory.cs b/src/DataStreamSuite/PubSubServer/PubSubMessageReactorFactory.cs new file mode 100644 index 000000000..18f005132 --- /dev/null +++ b/src/DataStreamSuite/PubSubServer/PubSubMessageReactorFactory.cs @@ -0,0 +1,27 @@ +namespace Bts.PubSubServer; + +using BCG; + +using Bts.PubSub; +using Bts.PubSub.Server; + +using Microsoft.Extensions.DependencyInjection; +using System; +using System.Collections.Generic; +using bts; +using BlueOrb.PubSub.Server; + +public static class PubSubMessageReactorFactory { + public static PubSubMessageReactor Create(IServiceProvider serviceProvider, PubSubConfig config) { + var tagHandlerFactory = ActivatorUtilities.CreateInstance(serviceProvider, config.TagHandlerFactory!); + var state = new PubSubState(tagHandlerFactory); + var internalPublishers = new List { + new PubSubServerHBPublisher(), + new PubSubServerStatsPublisher(state), + new PubSubServerStatePublisher(state), + new RestTableUpdateReceiver(), + new WebSocketTableUpdateReceiver(), + }; + return new PubSubMessageReactor(state, internalPublishers, config); + } +} diff --git a/src/DataStreamSuite/PubSubServer/PubSubServer.csproj b/src/DataStreamSuite/PubSubServer/PubSubServer.csproj index 6d6e4f6f6..fdfb2972b 100644 --- a/src/DataStreamSuite/PubSubServer/PubSubServer.csproj +++ b/src/DataStreamSuite/PubSubServer/PubSubServer.csproj @@ -10,7 +10,8 @@ - + + diff --git a/src/DataStreamSuite/PubSubServer/PubSubServerHBPublisher.cs b/src/DataStreamSuite/PubSubServer/PubSubServerHBPublisher.cs new file mode 100644 index 000000000..b0c593d2a --- /dev/null +++ b/src/DataStreamSuite/PubSubServer/PubSubServerHBPublisher.cs @@ -0,0 +1,50 @@ +namespace BlueOrb.PubSub.Server; + +using BCG; + +using System; +using System.Linq; +using System.Net; + +using bts; + +public class PubSubServerHBPublisher : IPubSubInternalPublisher { + readonly IBlueTableSchema _schema = BlueDataUtility.form_schema("PubSubServerHeartbeat", + Tuple.Create("id", TypeCode.Int32), + Tuple.Create("ip", TypeCode.String), + Tuple.Create("hb_time", TypeCode.Int64)); + + readonly TimeSpan _publish_interval = TimeSpan.FromMilliseconds(250); + readonly IStreamIOMsgSerializer _serializer = new UniversalStreamIOSerializer(); + DateTime _last_send_time = DateTime.MinValue; + + public event Action? onNewData; + + public void doWork() { + if (DateTime.Now - _last_send_time > _publish_interval) { + _publish(); + } + } + + void _publish() { + bts.Log.Gen.info("PubSubServerHBPublisher._publish"); + var table = new BlueTable(_schema); + var row = new MutableBlueRow(_schema); + row.setValue("id", 0); + row.setValue("ip", _get_machine_ip()); + row.setValue("hb_time", DateTimeOffset.UtcNow.ToUnixTimeMilliseconds()); + table.addRow(row); + + StreamIOMessage.CreateMessage create_msg = new(table); + StreamIOMessage stream_io_msg = new(create_msg); + byte[] msg_bytes = _serializer.serialize(stream_io_msg); + onNewData?.Invoke("DS_ps_heartbeats", "DS_", msg_bytes); + + _last_send_time = DateTime.Now; + } + + static string _get_machine_ip() => + Dns.GetHostEntry(Dns.GetHostName()).AddressList + .FirstOrDefault(addr => addr.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork)? + .ToString() ?? "127.0.0.1"; +} diff --git a/src/DataStreamSuite/PubSubServer/PubSubServerStatePublisher.cs b/src/DataStreamSuite/PubSubServer/PubSubServerStatePublisher.cs new file mode 100644 index 000000000..4a6be8675 --- /dev/null +++ b/src/DataStreamSuite/PubSubServer/PubSubServerStatePublisher.cs @@ -0,0 +1,90 @@ +namespace BlueOrb.PubSub.Server; + +using BCG; + +using Bts.PubSub.Server; + +using mbts; + +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net; + +using bts; +using BlueOrb.Data; + + +public class PubSubServerStatePublisher : IPubSubInternalPublisher { + readonly IBlueTableSchema _schema = BlueDataUtility.form_schema("PubSubServerState", + Tuple.Create("id", TypeCode.Int32), + Tuple.Create("tag", TypeCode.String), + Tuple.Create("ps_server", TypeCode.String), + Tuple.Create("subscribers", TypeCode.String), + Tuple.Create("publishers", TypeCode.String), + Tuple.Create("dead_publishers", TypeCode.String)); + + readonly IPubSubState _state; + IBlueRowCollection _last_fired_table = null; + readonly TimeSpan _publish_interval = TimeSpan.FromMilliseconds(1000); + readonly IStreamIOMsgSerializer _serializer = new UniversalStreamIOSerializer(); + DateTime _last_send_time = DateTime.MinValue; + + public PubSubServerStatePublisher(IPubSubState state) { + _state = state; + } + + public event Action? onNewData; + + public void doWork() { + if (DateTime.Now - _last_send_time > _publish_interval) { + _publish(); + } + } + + void _publish() { + bts.Log.Gen.info("PubSubServerStatePublisher._publish"); + var table = new BlueTable(_schema); + int id = 0; + string ps_server = _get_machine_ip(); + + foreach (string tag in _state.all_tags.OrderBy(t => t)) { + _state.get_all_connections(tag, out var subscribers, out var active_publishers, out var dead_publishers); + + var row = new MutableBlueRow(_schema); + row.setValue("id", id++); + row.setValue("tag", tag); + row.setValue("ps_server", ps_server); + row.setValue("subscribers", _join_values(subscribers.Values)); + row.setValue("publishers", _join_values(active_publishers.Values)); + row.setValue("dead_publishers", _join_dead_publishers(dead_publishers)); + table.addRow(row); + } + IBlueRowCollection d = null, a = null; + table.compare_tables_deep(_last_fired_table, out d, out a); + if (d.Count == 0 && a.Count == 0) + return; + + StreamIOMessage.CreateMessage create_msg = new(table); + StreamIOMessage stream_io_msg = new(create_msg); + byte[] msg_bytes = _serializer.serialize(stream_io_msg); + onNewData?.Invoke("DS_ps_server_state", "DS_", msg_bytes); + _last_fired_table = table; + _last_send_time = DateTime.Now; + } + + static string _join_values(IEnumerable values) => + String.Join(",", values.Where(v => !String.IsNullOrEmpty(v)).Distinct().OrderBy(v => v)); + + static string _join_dead_publishers(IEnumerable> dead_publishers) => + String.Join(",", dead_publishers + .Select(p => p.second) + .Where(v => !String.IsNullOrEmpty(v)) + .Distinct() + .OrderBy(v => v)); + + static string _get_machine_ip() => + Dns.GetHostEntry(Dns.GetHostName()).AddressList + .FirstOrDefault(addr => addr.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork)? + .ToString() ?? "127.0.0.1"; +} diff --git a/src/DataStreamSuite/PubSubServer/PubSubServerStatsPublisher.cs b/src/DataStreamSuite/PubSubServer/PubSubServerStatsPublisher.cs new file mode 100644 index 000000000..7a4f22a71 --- /dev/null +++ b/src/DataStreamSuite/PubSubServer/PubSubServerStatsPublisher.cs @@ -0,0 +1,72 @@ +namespace BlueOrb.PubSub.Server; + +using BCG; + +using Bts.PubSub.Server; + +using System; +using System.Linq; +using bts; + +public class PubSubServerStatsPublisher : IPubSubInternalPublisher { + readonly IBlueTableSchema _schema = BlueDataUtility.form_schema("PubSubServerStats", + Tuple.Create("id", TypeCode.Int32), + Tuple.Create("server", TypeCode.String), + Tuple.Create("tag", TypeCode.String), + Tuple.Create("n_updates", TypeCode.Int32), + Tuple.Create("total_bytes", TypeCode.Int64), + Tuple.Create("min_size", TypeCode.Int32), + Tuple.Create("max_size", TypeCode.Int32), + Tuple.Create("last_update_siz", TypeCode.Int32), + Tuple.Create("average_size", TypeCode.Int32), + Tuple.Create("last_update_time", TypeCode.Int64)); + + readonly IPubSubState _state; + readonly TimeSpan _publish_interval = TimeSpan.FromMilliseconds(1000); + readonly IStreamIOMsgSerializer _serializer = new UniversalStreamIOSerializer(); + DateTime _last_send_time = DateTime.MinValue; + + public PubSubServerStatsPublisher(IPubSubState state) { + _state = state; + } + + public event Action? onNewData; + + public void doWork() { + if (DateTime.Now - _last_send_time > _publish_interval) { + _publish(); + } + } + + void _publish() { + bts.Log.Gen.info("PubSubServerStatsPublisher._publish"); + var table = new BlueTable(_schema); + int id = 0; + + foreach (string tag in _state.all_tags.OrderBy(t => t)) { + var stats = _state.get_stats(tag); + if (stats is null) + continue; + + var row = new MutableBlueRow(_schema); + row.setValue("id", id++); + row.setValue("server", Environment.MachineName); + row.setValue("tag", tag); + row.setValue("n_updates", stats.n_updates); + row.setValue("total_bytes", stats.total_bytes); + row.setValue("min_size", stats.min_size); + row.setValue("max_size", stats.max_size); + row.setValue("last_update_siz", stats.last_update_siz); + row.setValue("average_size", stats.average_size); + row.setValue("last_update_time", stats.last_update_time); + table.addRow(row); + } + + StreamIOMessage.CreateMessage create_msg = new(table); + StreamIOMessage stream_io_msg = new(create_msg); + byte[] msg_bytes = _serializer.serialize(stream_io_msg); + onNewData?.Invoke("DS_ps_server_stats", "DS_", msg_bytes); + + _last_send_time = DateTime.Now; + } +} diff --git a/src/DataStreamSuite/PubSubServer/RestClient/create_table_client.py b/src/DataStreamSuite/PubSubServer/RestClient/create_table_client.py new file mode 100644 index 000000000..82c1aa8a5 --- /dev/null +++ b/src/DataStreamSuite/PubSubServer/RestClient/create_table_client.py @@ -0,0 +1,76 @@ +import argparse +import json +import sys +import urllib.error +import urllib.request + + +class RestPubTableBroker: + def __init__(self, url: str): + self._url = url + + def create_table(self, table_name: str, rows: list[dict]) -> None: + payload = { + "op": "create_table", + "table_name": table_name, + "rows": rows, + } + self._post_json(payload) + + def _post_json(self, payload: dict) -> None: + body = json.dumps(payload).encode("utf-8") + request = urllib.request.Request( + self._url, + data=body, + headers={"Content-Type": "application/json"}, + method="POST", + ) + with urllib.request.urlopen(request, timeout=10) as response: + response_body = response.read().decode("utf-8", errors="replace") + print(f"status={response.status} body={response_body}") + + +def _build_sample_rows() -> list[dict]: + return [ + {"id": 0, "i": 10, "d": 10.5, "s": "row_0"}, + {"id": 1, "i": 20, "d": 20.25, "s": "row_1"}, + {"id": 2, "i": 30, "d": 30.75, "s": "row_2"}, + ] + + +def main() -> int: + parser = argparse.ArgumentParser( + description="POST a create_table-style JSON payload to PubSubServer." + ) + parser.add_argument( + "--url", + default="http://localhost:19091/", + help="REST listener URL. Default: http://localhost:19091/", + ) + parser.add_argument( + "--table-name", + default="DS_rest_test_table", + help="Logical table name to include in the JSON payload.", + ) + args = parser.parse_args() + + broker = RestPubTableBroker(args.url) + rows = _build_sample_rows() + + print(f"POST {args.url}") + print(json.dumps({"op": "create_table", "table_name": args.table_name, "rows": rows}, indent=2)) + + try: + broker.create_table(args.table_name, rows) + return 0 + except urllib.error.HTTPError as ex: + body = ex.read().decode("utf-8", errors="replace") + print(f"http error status={ex.code} body={body}", file=sys.stderr) + return 1 + except urllib.error.URLError as ex: + print(f"url error: {ex}", file=sys.stderr) + return 1 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/src/DataStreamSuite/PubSubServer/RestTableUpdateReceiver.cs b/src/DataStreamSuite/PubSubServer/RestTableUpdateReceiver.cs new file mode 100644 index 000000000..bcd1e896b --- /dev/null +++ b/src/DataStreamSuite/PubSubServer/RestTableUpdateReceiver.cs @@ -0,0 +1,287 @@ +namespace BlueOrb.PubSub.Server; + +using System; +using System.Collections.Generic; +using System.IO; +using System.Net; +using System.Text; +using System.Text.Json; +using System.Threading; +using System.Threading.Tasks; +using System.Linq; + +using bts; +using BCG; + +public class RestTableUpdateReceiver : IPubSubInternalPublisher, IDisposable { + readonly int _port = 19091; + readonly string _prefix; + readonly HttpListener _listener = new(); + readonly CancellationTokenSource _cts = new(); + readonly Task? _listen_task; + readonly SyncQueue _msg_queue = new(); + readonly Dictionary _serializers_by_tag = new(StringComparer.Ordinal); + bool _is_listening; + bool _is_disposed; + + public RestTableUpdateReceiver() { + // Keep the Windows implementation aligned with PersistenceServer for now. + // Binding HttpListener to a non-localhost prefix on Windows requires URL ACL + // reservation (netsh http add urlacl ...), which makes startup fragile in dev. + // + // For cross-machine publishers on Windows/Linux, move this receiver to a + // transport that supports normal socket binding without HttpListener URL ACL + // requirements (for example ASP.NET Core/Kestrel), and make the bind host + // configurable instead of localhost-only. + _prefix = $"http://localhost:{_port}/"; + Console.WriteLine($"RestTableUpdateReceiver.cons starting REST listener on {_prefix}"); + Log.Gen.info($"RestTableUpdateReceiver.cons starting REST listener on {_prefix}"); + _is_listening = _try_start_listener(); + if (_is_listening) { + _listen_task = Task.Run(() => _listen_loop(_cts.Token), _cts.Token); + } + } + + public event Action? onNewData; + + public void doWork() { + Log.Gen.info($"RestTableUpdateReceiver.doWork listening: {_is_listening}"); + StreamIOMessage? msg = _msg_queue.dequeue(0); + if (msg != null) { + string tag = _get_tag_name(msg); + byte[] msg_bytes = _get_serializer(tag).serialize(msg); + onNewData?.Invoke(tag.StartsWith("DS_") ? tag : $"DS_{tag}", "DS_", msg_bytes); + Log.Gen.info($"RestTableUpdateReceiver.doWork published tag: {tag} msg: {msg}"); + } + } + + bool _try_start_listener() { + try { + Console.WriteLine($"RestTableUpdateReceiver._try_start_listener adding prefix {_prefix}"); + _listener.Prefixes.Add(_prefix); + Console.WriteLine($"RestTableUpdateReceiver._try_start_listener starting listener on {_prefix}"); + _listener.Start(); + Console.WriteLine($"RestTableUpdateReceiver listening on {_prefix}"); + Log.Gen.info($"RestTableUpdateReceiver listening on {_prefix}"); + return true; + } catch (HttpListenerException ex) { + Console.WriteLine($"RestTableUpdateReceiver could not listen on {_prefix}: {ex}"); + Log.Gen.error($"RestTableUpdateReceiver could not listen on {_prefix}: {ex}"); + return false; + } catch (Exception ex) { + Console.WriteLine($"RestTableUpdateReceiver could not listen on {_prefix}: {ex}"); + Log.Gen.error($"RestTableUpdateReceiver could not listen on {_prefix}: {ex}"); + return false; + } + } + + async Task _listen_loop(CancellationToken cancellationToken) { + while (!cancellationToken.IsCancellationRequested) { + HttpListenerContext? context = null; + try { + context = await _listener.GetContextAsync(); + await _handle_request(context, cancellationToken); + } catch (HttpListenerException) when (cancellationToken.IsCancellationRequested || !_listener.IsListening) { + break; + } catch (ObjectDisposedException) when (cancellationToken.IsCancellationRequested) { + break; + } catch (Exception ex) { + Console.WriteLine($"RestTableUpdateReceiver error: {ex}"); + if (context is not null) { + await _write_response(context.Response, HttpStatusCode.InternalServerError, "error"); + } + } + } + } + + async Task _handle_request(HttpListenerContext context, CancellationToken cancellationToken) { + if (!String.Equals(context.Request.HttpMethod, "POST", StringComparison.OrdinalIgnoreCase)) { + await _write_response(context.Response, HttpStatusCode.MethodNotAllowed, "POST only"); + return; + } + + string json_body; + using (var reader = new StreamReader(context.Request.InputStream, context.Request.ContentEncoding ?? Encoding.UTF8)) + json_body = await reader.ReadToEndAsync(cancellationToken); + + _on_data(json_body); + await _write_response(context.Response, HttpStatusCode.OK, "ok"); + } + + void _on_data(string json_body) { + Console.WriteLine(json_body); + Log.Gen.info($"RestTableUpdateReceiver._on_data {json_body}"); + try { + StreamIOMessage msg = json_to_stream_io_message(json_body); + Log.Gen.info($"RestTableUpdateReceiver._on_data parsed_message {msg}"); + _msg_queue.enqueue(msg); + } catch (Exception ex) { + Log.Gen.error($"RestTableUpdateReceiver._on_data parse_error: {ex}"); + } + } + + static string _get_tag_name(StreamIOMessage msg) => + msg.op switch { + StreamIOMessage.StreamOp.CREATE => msg.create_message?.rows.schema.tableName ?? "DS_rest_table", + StreamIOMessage.StreamOp.MULTIPLE_REMOVE_ADD => msg.multiple_remove_add_message?.added_rows.schema.tableName + ?? msg.multiple_remove_add_message?.removed_rows.schema.tableName + ?? "DS_rest_table", + _ => "DS_rest_table", + }; + + IStreamIOMsgSerializer _get_serializer(string tag) { + if (!_serializers_by_tag.TryGetValue(tag, out IStreamIOMsgSerializer? serializer)) { + serializer = new UniversalStreamIOSerializer(); + _serializers_by_tag[tag] = serializer; + } + return serializer; + } + + public static StreamIOMessage json_to_stream_io_message(string json_body) { + using JsonDocument doc = JsonDocument.Parse(json_body); + JsonElement root = doc.RootElement; + + string op = root.GetProperty("op").GetString() ?? String.Empty; + string table_name = root.TryGetProperty("table_name", out JsonElement table_name_el) + ? (table_name_el.GetString() ?? "rest_table") + : "rest_table"; + + if (String.Equals(op, "create_table", StringComparison.OrdinalIgnoreCase) + || String.Equals(op, "create", StringComparison.OrdinalIgnoreCase)) { + JsonElement rows_el = root.GetProperty("rows"); + IBlueRowCollection rows = _json_rows_to_table(table_name, rows_el); + return new StreamIOMessage(new StreamIOMessage.CreateMessage(rows)); + } + + if (String.Equals(op, "multiple_remove_add", StringComparison.OrdinalIgnoreCase) + || String.Equals(op, "incremental", StringComparison.OrdinalIgnoreCase)) { + JsonElement removed_el = root.TryGetProperty("removed_rows", out JsonElement removed_rows) + ? removed_rows + : root.GetProperty("deleted_rows"); + JsonElement added_el = root.GetProperty("added_rows"); + + IBlueRowCollection added_table = _json_rows_to_table(table_name, added_el); + IBlueRowCollection removed_table = _json_rows_to_table( + table_name, + removed_el, + added_table.schema); + return new StreamIOMessage(new StreamIOMessage.MultipleRemoveAddMessage(removed_table, added_table)); + } + + throw new InvalidOperationException($"Unsupported REST stream op: {op}"); + } + + static IBlueRowCollection _json_rows_to_table(string table_name, JsonElement rows_el, IBlueTableSchema? empty_schema = null) { + if (rows_el.ValueKind != JsonValueKind.Array) + throw new InvalidOperationException("rows payload must be a JSON array"); + + using var row_enumerator = rows_el.EnumerateArray(); + if (!row_enumerator.MoveNext()) + return new BlueTable(empty_schema ?? BlueDataUtility.form_schema(table_name, Tuple.Create("id", TypeCode.Int32))); + + JsonElement first_row = row_enumerator.Current; + IBlueTableSchema schema = _build_schema_from_row(table_name, first_row); + + BlueTable table = new(schema); + foreach (JsonElement row_el in rows_el.EnumerateArray()) + table.addRow(_json_row_to_blue_row(schema, row_el)); + return table; + } + + static IBlueTableSchema _build_schema_from_row(string table_name, JsonElement row_el) { + var cols = new List>(); + var seen = new HashSet(StringComparer.OrdinalIgnoreCase); + + if (row_el.TryGetProperty("id", out JsonElement id_el)) { + cols.Add(Tuple.Create("id", _infer_type_code(id_el))); + seen.Add("id"); + } + + foreach (JsonProperty prop in row_el.EnumerateObject()) { + if (seen.Contains(prop.Name)) + continue; + cols.Add(Tuple.Create(prop.Name, _infer_type_code(prop.Value))); + } + + return BlueDataUtility.form_schema(table_name, cols.ToArray()); + } + + static IBlueRow _json_row_to_blue_row(IBlueTableSchema schema, JsonElement row_el) { + object[] values = new object[schema.columnInfo.Length]; + foreach (ColumnInfo ci in schema.columnInfo) { + if (row_el.TryGetProperty(ci.colName, out JsonElement val_el)) + values[ci.colNo] = _json_value_to_object(val_el, ci.colType); + else + values[ci.colNo] = DBNull.Value; + } + return new BlueRow(schema, values); + } + + static TypeCode _infer_type_code(JsonElement val_el) { + return val_el.ValueKind switch { + JsonValueKind.Number when val_el.TryGetInt32(out _) => TypeCode.Int32, + JsonValueKind.Number when val_el.TryGetInt64(out _) => TypeCode.Int64, + JsonValueKind.Number => TypeCode.Double, + JsonValueKind.True => TypeCode.Boolean, + JsonValueKind.False => TypeCode.Boolean, + JsonValueKind.String => TypeCode.String, + _ => TypeCode.String, + }; + } + + static object _json_value_to_object(JsonElement val_el, Type value_type) { + if (val_el.ValueKind == JsonValueKind.Null) + return DBNull.Value; + + TypeCode type_code = Type.GetTypeCode(value_type); + return type_code switch { + TypeCode.Int32 => val_el.GetInt32(), + TypeCode.Int64 => val_el.GetInt64(), + TypeCode.Double => val_el.GetDouble(), + TypeCode.Boolean => val_el.GetBoolean(), + TypeCode.String => val_el.GetString() ?? String.Empty, + _ => val_el.ToString(), + }; + } + + public static async Task _write_response(HttpListenerResponse response, HttpStatusCode status_code, string body) { + response.StatusCode = (int)status_code; + byte[] bytes = Encoding.UTF8.GetBytes(body); + response.ContentType = "text/plain"; + response.ContentLength64 = bytes.Length; + await response.OutputStream.WriteAsync(bytes, 0, bytes.Length); + response.Close(); + } + + public void Dispose() { + if (_is_disposed) + return; + _is_disposed = true; + + try { + _cts.Cancel(); + } catch (ObjectDisposedException) { + } + + try { + if (_listener.IsListening) + _listener.Stop(); + } catch (ObjectDisposedException) { + } + + try { + _listener.Close(); + } catch (ObjectDisposedException) { + } + + try { + _listen_task?.Wait(TimeSpan.FromSeconds(1)); + } catch { + } + + try { + _cts.Dispose(); + } catch (ObjectDisposedException) { + } + } +} diff --git a/src/DataStreamSuite/PubSubServer/WebSocketClient/websocket_table_client.py b/src/DataStreamSuite/PubSubServer/WebSocketClient/websocket_table_client.py new file mode 100644 index 000000000..765ec4a08 --- /dev/null +++ b/src/DataStreamSuite/PubSubServer/WebSocketClient/websocket_table_client.py @@ -0,0 +1,100 @@ +""" +Requires: + pip install websockets +""" + +import argparse +import asyncio +import random +import json +import subprocess +import sys +import uuid + +try: + import websockets +except ImportError as ex: + print("Installing missing dependency: websockets") + subprocess.check_call([sys.executable, "-m", "pip", "install", "websockets"]) + import websockets + + +def _build_initial_rows() -> list[dict]: + return [ + {"id": 0, "i": 0, "d": random.random() * 100.0, "s": str(uuid.uuid4())}, + {"id": 1, "i": 0, "d": random.random() * 100.0, "s": str(uuid.uuid4())}, + {"id": 2, "i": 0, "d": random.random() * 100.0, "s": str(uuid.uuid4())}, + ] + + +async def _send_json(ws, payload: dict) -> None: + body = json.dumps(payload) + print(body) + await ws.send(body) + + +async def run_client(url: str, table_name: str, delay_seconds: float) -> None: + table_name = table_name if table_name.startswith("DS_") else f"DS_{table_name}" + rows = _build_initial_rows() + + async with websockets.connect(url) as ws: + await _send_json(ws, { + "op": "create_table", + "table_name": table_name, + "rows": rows, + }) + + iteration = 0 + while True: + # await _wait_for_enter() + row_index = iteration % len(rows) + old_row = dict(rows[row_index]) + new_row = dict(old_row) + new_row["i"] = iteration + 1 + new_row["d"] = random.random() * 100.0 + new_row["s"] = str(uuid.uuid4()) + rows[row_index] = new_row + + await _send_json(ws, { + "op": "multiple_remove_add", + "table_name": table_name, + "removed_rows": [old_row], + "added_rows": [new_row], + }) + + iteration += 1 + await asyncio.sleep(delay_seconds) + + +def main() -> int: + parser = argparse.ArgumentParser( + description="Send create_table + incremental websocket updates to PubSubServer." + ) + parser.add_argument( + "--url", + default="ws://localhost:19092/ws/", + help="WebSocket listener URL. Default: ws://localhost:19092/ws/", + ) + parser.add_argument( + "--table-name", + default="DS_ws_test_table", + help="Logical table/tag name to include in websocket messages.", + ) + parser.add_argument( + "--delay-seconds", + type=float, + default=1.0, + help="Delay between incremental updates.", + ) + args = parser.parse_args() + + try: + asyncio.run(run_client(args.url, args.table_name, args.delay_seconds)) + return 0 + except KeyboardInterrupt: + print("stopped") + return 0 + + +if __name__ == "__main__": + raise SystemExit(main()) diff --git a/src/DataStreamSuite/PubSubServer/WebSocketTableUpdateReceiver.cs b/src/DataStreamSuite/PubSubServer/WebSocketTableUpdateReceiver.cs new file mode 100644 index 000000000..206b46155 --- /dev/null +++ b/src/DataStreamSuite/PubSubServer/WebSocketTableUpdateReceiver.cs @@ -0,0 +1,179 @@ +namespace BlueOrb.PubSub.Server; + +using System; +using System.Collections.Generic; +using System.IO; +using System.Net; +using System.Net.WebSockets; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +using bts; +using BCG; + +public class WebSocketTableUpdateReceiver : IPubSubInternalPublisher, IDisposable { + readonly int _port = 19092; + readonly string _prefix; + readonly HttpListener _listener = new(); + readonly CancellationTokenSource _cts = new(); + readonly Task? _listen_task; + readonly SyncQueue _msg_queue = new(); + readonly Dictionary _serializers_by_tag = new(StringComparer.Ordinal); + bool _is_listening; + bool _is_disposed; + + public WebSocketTableUpdateReceiver() { + // Keep this aligned with the current REST receiver approach for now. + // This keeps PubSubServer transport-agnostic internally while still letting + // us accept websocket publishers at the edge. + _prefix = $"http://localhost:{_port}/ws/"; + Console.WriteLine($"WebSocketTableUpdateReceiver.cons starting websocket listener on {_prefix}"); + Log.Gen.info($"WebSocketTableUpdateReceiver.cons starting websocket listener on {_prefix}"); + _is_listening = _try_start_listener(); + Log.Gen.info($"WebSocketTableUpdateReceiver.cons started listening={_is_listening} prefix={_prefix}"); + if (_is_listening) { + _listen_task = Task.Run(() => _listen_loop(_cts.Token), _cts.Token); + } + } + + public event Action? onNewData; + + public void doWork() { + Log.Gen.info($"WebSocketTableUpdateReceiver.doWork listening: {_is_listening}"); + StreamIOMessage? msg = _msg_queue.dequeue(0); + if (msg != null) { + string tag = _get_tag_name(msg); + byte[] msg_bytes = _get_serializer(tag).serialize(msg); + onNewData?.Invoke(tag.StartsWith("DS_") ? tag : $"DS_{tag}", "DS_", msg_bytes); + Log.Gen.info($"WebSocketTableUpdateReceiver.doWork published tag: {tag} msg: {msg}"); + } + } + + bool _try_start_listener() { + try { + Log.Gen.info($"WebSocketTableUpdateReceiver._try_start_listener adding prefix {_prefix}"); + _listener.Prefixes.Add(_prefix); + Log.Gen.info($"WebSocketTableUpdateReceiver._try_start_listener starting listener on {_prefix}"); + _listener.Start(); + Console.WriteLine($"WebSocketTableUpdateReceiver listening on {_prefix}"); + Log.Gen.info($"WebSocketTableUpdateReceiver listening on {_prefix}"); + return true; + } catch (Exception ex) { + Console.WriteLine($"WebSocketTableUpdateReceiver could not listen on {_prefix}: {ex}"); + Log.Gen.error($"WebSocketTableUpdateReceiver could not listen on {_prefix}: {ex}"); + return false; + } + } + + async Task _listen_loop(CancellationToken cancellationToken) { + while (!cancellationToken.IsCancellationRequested) { + HttpListenerContext? context = null; + try { + context = await _listener.GetContextAsync(); + _ = Task.Run(() => _handle_request(context, cancellationToken), cancellationToken); + } catch (HttpListenerException) when (cancellationToken.IsCancellationRequested || !_listener.IsListening) { + break; + } catch (ObjectDisposedException) when (cancellationToken.IsCancellationRequested) { + break; + } catch (Exception ex) { + Console.WriteLine($"WebSocketTableUpdateReceiver error: {ex}"); + Log.Gen.error($"WebSocketTableUpdateReceiver error: {ex}"); + if (context is not null) { + await RestTableUpdateReceiver._write_response(context.Response, HttpStatusCode.InternalServerError, "error"); + } + } + } + } + + async Task _handle_request(HttpListenerContext context, CancellationToken cancellationToken) { + if (!context.Request.IsWebSocketRequest) { + await RestTableUpdateReceiver._write_response(context.Response, HttpStatusCode.BadRequest, "websocket only"); + return; + } + + HttpListenerWebSocketContext ws_context = await context.AcceptWebSocketAsync(null); + using WebSocket web_socket = ws_context.WebSocket; + await _read_messages(web_socket, cancellationToken); + } + + async Task _read_messages(WebSocket web_socket, CancellationToken cancellationToken) { + byte[] buffer = new byte[8192]; + while (web_socket.State == WebSocketState.Open && !cancellationToken.IsCancellationRequested) { + using MemoryStream ms = new(); + WebSocketReceiveResult? result = null; + do { + result = await web_socket.ReceiveAsync(new ArraySegment(buffer), cancellationToken); + if (result.MessageType == WebSocketMessageType.Close) { + await web_socket.CloseAsync(WebSocketCloseStatus.NormalClosure, "ok", cancellationToken); + return; + } + ms.Write(buffer, 0, result.Count); + } while (!result.EndOfMessage); + + string json_body = Encoding.UTF8.GetString(ms.ToArray()); + _on_data(json_body); + } + } + + void _on_data(string json_body) { + Console.WriteLine(json_body); + Log.Gen.info($"WebSocketTableUpdateReceiver._on_data {json_body}"); + try { + StreamIOMessage msg = RestTableUpdateReceiver.json_to_stream_io_message(json_body); + Log.Gen.info($"WebSocketTableUpdateReceiver._on_data parsed_message {msg}"); + _msg_queue.enqueue(msg); + } catch (Exception ex) { + Log.Gen.error($"WebSocketTableUpdateReceiver._on_data parse_error: {ex}"); + } + } + + static string _get_tag_name(StreamIOMessage msg) => + msg.op switch { + StreamIOMessage.StreamOp.CREATE => msg.create_message?.rows.schema.tableName ?? "DS_rest_table", + StreamIOMessage.StreamOp.MULTIPLE_REMOVE_ADD => msg.multiple_remove_add_message?.added_rows.schema.tableName + ?? msg.multiple_remove_add_message?.removed_rows.schema.tableName + ?? "DS_rest_table", + _ => "DS_rest_table", + }; + + IStreamIOMsgSerializer _get_serializer(string tag) { + if (!_serializers_by_tag.TryGetValue(tag, out IStreamIOMsgSerializer? serializer)) { + serializer = new UniversalStreamIOSerializer(); + _serializers_by_tag[tag] = serializer; + } + return serializer; + } + + public void Dispose() { + if (_is_disposed) + return; + _is_disposed = true; + + try { + _cts.Cancel(); + } catch (ObjectDisposedException) { + } + + try { + if (_listener.IsListening) + _listener.Stop(); + } catch (ObjectDisposedException) { + } + + try { + _listener.Close(); + } catch (ObjectDisposedException) { + } + + try { + _listen_task?.Wait(TimeSpan.FromSeconds(1)); + } catch { + } + + try { + _cts.Dispose(); + } catch (ObjectDisposedException) { + } + } +} diff --git a/src/DataStreamSuite/PubSubServer/appsettings.json b/src/DataStreamSuite/PubSubServer/appsettings.json index 13f360bff..8f05ea5ca 100644 --- a/src/DataStreamSuite/PubSubServer/appsettings.json +++ b/src/DataStreamSuite/PubSubServer/appsettings.json @@ -40,14 +40,9 @@ "Class": "bts.PubsubServerStreamTagHandler" }, { - "TagType": "System_Sub", - "Assembly": "PubSub", - "Class": "BCG.SystemSubscriptionMapPublisher" - }, - { - "TagType": "System_Stats", - "Assembly": "PubSub", - "Class": "BCG.SystemStatsPublisher" + "TagType": "DS_.*", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerStreamTagHandler" }, { "TagType": ".*", @@ -61,4 +56,4 @@ "ActivationThreshold": 0, "Interval": "00:00:01" } -} +} \ No newline at end of file diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/MarketData/Live/ReplayFutureLiveTradeStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/MarketData/Live/ReplayFutureLiveTradeStream.cs index 9700e3849..b8302aee6 100644 --- a/src/DataStreamSuite/SharedStreams/BlueOrb/MarketData/Live/ReplayFutureLiveTradeStream.cs +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/MarketData/Live/ReplayFutureLiveTradeStream.cs @@ -39,7 +39,7 @@ Tuple.Create("ts_event", TypeCode.String), Tuple.Create("contract", TypeCode.String), Tuple.Create("trade_size", TypeCode.Double), - Tuple.Create("trade_price", TypeCode.Int32), + Tuple.Create("trade_price", TypeCode.Double), Tuple.Create("aggressor_side", TypeCode.String)); rs = new MapStream(rs, s => schema_out, r => diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/MicroStructure/MidpriceStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/MicroStructure/MidpriceStream.cs new file mode 100644 index 000000000..c5ceca7df --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/MicroStructure/MidpriceStream.cs @@ -0,0 +1,13 @@ +namespace BlueOrb.MicroStructure { + using bts; + using BCG; + + public class MidPriceStream : ViewStream { + public MidPriceStream(ViewStream parent_str, + string bid_px_col = "bid_price", string ask_px_col = "ask_price") { + ViewStream rs = new MathStream(parent_str, + $"mid_price = 0.5 * ({bid_px_col} + {ask_px_col})"); + mySetRealSource(rs); + } + } +} \ No newline at end of file diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/ADXStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/ADXStream.cs new file mode 100644 index 000000000..e2ec1459a --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/ADXStream.cs @@ -0,0 +1,244 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + using BCG; + using bts; + + /// + /// Computes Average Directional Index (ADX) together with the +DI and -DI + /// directional movement series for each incoming row. + /// Expects the parent stream to provide high, low, close, and timestamp columns. + /// + [DataStreamUserRespresentation("ADXStream")] + public class ADXStream : ViewStream { + const string default_high_col = "high"; + const string default_low_col = "low"; + const string default_close_col = "close"; + const string default_timestamp_col = "ts_event"; + const int default_period = 14; + const string adx_col_name = "adx"; + const string plus_di_col_name = "plus_di"; + const string minus_di_col_name = "minus_di"; + + readonly ViewStream _parent_stream; + readonly string _high_col; + readonly string _low_col; + readonly string _close_col; + readonly string _timestamp_col; + readonly int _period; + + public ADXStream(ViewStream parent_stream) + : this(parent_stream, default_period) { + } + + public ADXStream(ViewStream parent_stream, int period) + : this(parent_stream, default_high_col, default_low_col, default_close_col, period) { + } + + public ADXStream(ViewStream parent_stream, string high_col, string low_col, string close_col, int period) + : this(parent_stream, high_col, low_col, close_col, period, default_timestamp_col) { + } + + internal ADXStream(ViewStream parent_stream, + string high_col, + string low_col, + string close_col, + int period, + string timestamp_col) { + _parent_stream = parent_stream; + _high_col = high_col; + _low_col = low_col; + _close_col = close_col; + _period = period; + _timestamp_col = timestamp_col; + _validate_args(); + } + + protected override void myOnFirstSubscriber() { + _parent_stream.onChange += _on_parent_stream_change; + } + + protected override void myOnLastSubscriber() { + _parent_stream.onChange -= _on_parent_stream_change; + } + + void _on_parent_stream_change(object dp_obj) { + var dp = dp_obj as DataPacket; + if (dp?.newRows is null) + return; + + var input_rows = dp.newRows.Cast().ToList(); + if (input_rows.Count == 0) + return; + + _validate_input_schema(dp.newRows.schema); + + var sorted_rows = input_rows + .OrderBy(r => r.get_datetime(_timestamp_col, DateTime.MinValue)) + .ThenBy(r => r.get("id", 0)) + .ToList(); + + var adx_result = _calculate_adx(sorted_rows); + var out_schema = dp.newRows.schema + .add_columns(Tuple.Create(typeof(double), adx_col_name)) + .add_columns(Tuple.Create(typeof(double), plus_di_col_name)) + .add_columns(Tuple.Create(typeof(double), minus_di_col_name)); + var out_table = new OrderedBlueTable(out_schema); + + for (int i = 0; i < sorted_rows.Count; i++) { + var out_row = new MutableBlueRow(out_schema); + foreach (ColumnInfo ci in dp.newRows.schema.columnInfo) + out_row.setValue(ci.colName, sorted_rows[i][ci.colNo]); + + out_row.setValue(adx_col_name, adx_result.Adx[i]); + out_row.setValue(plus_di_col_name, adx_result.PlusDi[i]); + out_row.setValue(minus_di_col_name, adx_result.MinusDi[i]); + out_table.addRow(out_row); + } + + var dp_out = BlueDataUtility.build_dp_inc(out_table, myLastValue as IDataPacket, true); + myFireEvent(dp_out); + } + + AdxComputationResult _calculate_adx(IReadOnlyList rows) { + int count = rows.Count; + var true_ranges = Enumerable.Repeat(Double.NaN, count).ToList(); + var plus_dm = Enumerable.Repeat(Double.NaN, count).ToList(); + var minus_dm = Enumerable.Repeat(Double.NaN, count).ToList(); + + for (int i = 1; i < count; i++) { + double high = rows[i].get(_high_col, Double.NaN); + double low = rows[i].get(_low_col, Double.NaN); + double close = rows[i].get(_close_col, Double.NaN); + double prev_high = rows[i - 1].get(_high_col, Double.NaN); + double prev_low = rows[i - 1].get(_low_col, Double.NaN); + double prev_close = rows[i - 1].get(_close_col, Double.NaN); + + if (Double.IsNaN(high) || Double.IsNaN(low) || Double.IsNaN(close) || + Double.IsNaN(prev_high) || Double.IsNaN(prev_low) || Double.IsNaN(prev_close)) { + continue; + } + + double up_move = high - prev_high; + double down_move = prev_low - low; + plus_dm[i] = (up_move > down_move && up_move > 0.0) ? up_move : 0.0; + minus_dm[i] = (down_move > up_move && down_move > 0.0) ? down_move : 0.0; + + double range = high - low; + double high_prev = Math.Abs(high - prev_close); + double low_prev = Math.Abs(low - prev_close); + true_ranges[i] = Math.Max(range, Math.Max(high_prev, low_prev)); + } + + var plus_di = Enumerable.Repeat(Double.NaN, count).ToList(); + var minus_di = Enumerable.Repeat(Double.NaN, count).ToList(); + var dx_values = Enumerable.Repeat(Double.NaN, count).ToList(); + var adx_values = Enumerable.Repeat(Double.NaN, count).ToList(); + + double? smoothed_tr = null; + double? smoothed_plus_dm = null; + double? smoothed_minus_dm = null; + + for (int i = 1; i < count; i++) { + if (i == _period) { + var tr_window = true_ranges.Skip(1).Take(_period).ToList(); + var plus_window = plus_dm.Skip(1).Take(_period).ToList(); + var minus_window = minus_dm.Skip(1).Take(_period).ToList(); + if (tr_window.Any(Double.IsNaN) || plus_window.Any(Double.IsNaN) || minus_window.Any(Double.IsNaN)) + continue; + + smoothed_tr = tr_window.Sum(); + smoothed_plus_dm = plus_window.Sum(); + smoothed_minus_dm = minus_window.Sum(); + } else if (i > _period) { + double tr = true_ranges[i]; + double pdm = plus_dm[i]; + double mdm = minus_dm[i]; + if (Double.IsNaN(tr) || Double.IsNaN(pdm) || Double.IsNaN(mdm) || + smoothed_tr is null || smoothed_plus_dm is null || smoothed_minus_dm is null) { + smoothed_tr = null; + smoothed_plus_dm = null; + smoothed_minus_dm = null; + continue; + } + + smoothed_tr = smoothed_tr.Value - (smoothed_tr.Value / _period) + tr; + smoothed_plus_dm = smoothed_plus_dm.Value - (smoothed_plus_dm.Value / _period) + pdm; + smoothed_minus_dm = smoothed_minus_dm.Value - (smoothed_minus_dm.Value / _period) + mdm; + } else { + continue; + } + + if (smoothed_tr is null || smoothed_tr.Value == 0.0) + continue; + + plus_di[i] = (smoothed_plus_dm!.Value / smoothed_tr.Value) * 100.0; + minus_di[i] = (smoothed_minus_dm!.Value / smoothed_tr.Value) * 100.0; + double di_sum = plus_di[i] + minus_di[i]; + dx_values[i] = di_sum == 0.0 ? 0.0 : (Math.Abs(plus_di[i] - minus_di[i]) / di_sum) * 100.0; + } + + double? adx = null; + for (int i = 0; i < count; i++) { + if (i == (_period * 2) - 1) { + var dx_window = dx_values.Skip(_period).Take(_period).ToList(); + if (dx_window.Count < _period || dx_window.Any(Double.IsNaN)) + continue; + adx = dx_window.Average(); + adx_values[i] = adx.Value; + } else if (i > (_period * 2) - 1) { + double dx = dx_values[i]; + if (Double.IsNaN(dx) || adx is null) { + adx = null; + continue; + } + adx = ((adx.Value * (_period - 1)) + dx) / _period; + adx_values[i] = adx.Value; + } + } + + return new AdxComputationResult(adx_values, plus_di, minus_di); + } + + void _validate_args() { + if (_parent_stream is null) + throw new ArgumentNullException(nameof(_parent_stream)); + if (String.IsNullOrWhiteSpace(_high_col)) + throw new ArgumentException("high_col cannot be null or empty.", nameof(_high_col)); + if (String.IsNullOrWhiteSpace(_low_col)) + throw new ArgumentException("low_col cannot be null or empty.", nameof(_low_col)); + if (String.IsNullOrWhiteSpace(_close_col)) + throw new ArgumentException("close_col cannot be null or empty.", nameof(_close_col)); + if (String.IsNullOrWhiteSpace(_timestamp_col)) + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + if (_period <= 0) + throw new ArgumentException("period must be greater than zero.", nameof(_period)); + } + + void _validate_input_schema(IBlueTableSchema schema) { + if (!schema.contains_column(_high_col)) + throw new ArgumentException($"Input stream does not contain high column '{_high_col}'."); + if (!schema.contains_column(_low_col)) + throw new ArgumentException($"Input stream does not contain low column '{_low_col}'."); + if (!schema.contains_column(_close_col)) + throw new ArgumentException($"Input stream does not contain close column '{_close_col}'."); + if (!schema.contains_column(_timestamp_col)) + throw new ArgumentException($"Input stream does not contain timestamp column '{_timestamp_col}'."); + if (schema.contains_column(adx_col_name) || schema.contains_column(plus_di_col_name) || schema.contains_column(minus_di_col_name)) + throw new ArgumentException("Input stream already contains one or more ADX output columns."); + } + + readonly struct AdxComputationResult { + public AdxComputationResult(List adx, List plus_di, List minus_di) { + Adx = adx; + PlusDi = plus_di; + MinusDi = minus_di; + } + + public List Adx { get; } + public List PlusDi { get; } + public List MinusDi { get; } + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/ATRStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/ATRStream.cs new file mode 100644 index 000000000..1451134f4 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/ATRStream.cs @@ -0,0 +1,199 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + using BCG; + using bts; + + /// + /// Computes Average True Range (ATR) for each incoming row and appends ATR + /// plus ATR-in-basis-points columns using the configured reference price. + /// Expects the parent stream to provide high, low, close, and timestamp columns. + /// + [DataStreamUserRespresentation("ATRStream")] + public class ATRStream : ViewStream { + const string default_high_col = "high"; + const string default_low_col = "low"; + const string default_close_col = "close"; + const string default_ref_price_col = "close"; + const string default_timestamp_col = "ts_event"; + const int default_period = 14; + const string atr_col_name = "atr"; + const string atr_bps_col_name = "atr_bps"; + + readonly ViewStream _parent_stream; + readonly string _high_col; + readonly string _low_col; + readonly string _close_col; + readonly string _ref_price_col; + readonly string _timestamp_col; + readonly int _period; + + public ATRStream(ViewStream parent_stream) + : this(parent_stream, default_period) { + } + + public ATRStream(ViewStream parent_stream, int period) + : this(parent_stream, period, default_ref_price_col) { + } + + public ATRStream(ViewStream parent_stream, int period, string ref_price_col) + : this(parent_stream, default_high_col, default_low_col, default_close_col, period, ref_price_col) { + } + + public ATRStream(ViewStream parent_stream, + string high_col, + string low_col, + string close_col, + int period, + string ref_price_col) + : this(parent_stream, high_col, low_col, close_col, period, ref_price_col, default_timestamp_col) { + } + + internal ATRStream(ViewStream parent_stream, + string high_col, + string low_col, + string close_col, + int period, + string ref_price_col, + string timestamp_col) { + _parent_stream = parent_stream; + _high_col = high_col; + _low_col = low_col; + _close_col = close_col; + _period = period; + _ref_price_col = ref_price_col; + _timestamp_col = timestamp_col; + _validate_args(); + } + + protected override void myOnFirstSubscriber() { + _parent_stream.onChange += _on_parent_stream_change; + } + + protected override void myOnLastSubscriber() { + _parent_stream.onChange -= _on_parent_stream_change; + } + + void _on_parent_stream_change(object dp_obj) { + var dp = dp_obj as DataPacket; + if (dp?.newRows is null) + return; + + var input_rows = dp.newRows.Cast().ToList(); + if (input_rows.Count == 0) + return; + + _validate_input_schema(dp.newRows.schema); + + var sorted_rows = input_rows + .OrderBy(r => r.get_datetime(_timestamp_col, DateTime.MinValue)) + .ThenBy(r => r.get("id", 0)) + .ToList(); + + var atr_values = _calculate_atr(sorted_rows); + var out_schema = dp.newRows.schema + .add_columns(Tuple.Create(typeof(double), atr_col_name)) + .add_columns(Tuple.Create(typeof(double), atr_bps_col_name)); + var out_table = new OrderedBlueTable(out_schema); + + for (int i = 0; i < sorted_rows.Count; i++) { + var out_row = new MutableBlueRow(out_schema); + foreach (ColumnInfo ci in dp.newRows.schema.columnInfo) + out_row.setValue(ci.colName, sorted_rows[i][ci.colNo]); + + double atr = atr_values[i]; + double ref_price = sorted_rows[i].get(_ref_price_col, Double.NaN); + out_row.setValue(atr_col_name, atr); + out_row.setValue( + atr_bps_col_name, + (Double.IsNaN(atr) || Double.IsNaN(ref_price) || ref_price == 0.0) ? Double.NaN : (atr / ref_price) * 10000.0); + out_table.addRow(out_row); + } + + var dp_out = BlueDataUtility.build_dp_inc(out_table, myLastValue as IDataPacket, true); + myFireEvent(dp_out); + } + + List _calculate_atr(IReadOnlyList rows) { + var true_ranges = new List(rows.Count); + for (int i = 0; i < rows.Count; i++) { + double high = rows[i].get(_high_col, Double.NaN); + double low = rows[i].get(_low_col, Double.NaN); + double close = rows[i].get(_close_col, Double.NaN); + double prev_close = i > 0 ? rows[i - 1].get(_close_col, Double.NaN) : close; + + if (Double.IsNaN(high) || Double.IsNaN(low) || Double.IsNaN(close) || Double.IsNaN(prev_close)) { + true_ranges.Add(Double.NaN); + continue; + } + + double range = high - low; + double high_prev = Math.Abs(high - prev_close); + double low_prev = Math.Abs(low - prev_close); + true_ranges.Add(Math.Max(range, Math.Max(high_prev, low_prev))); + } + + var atr_values = Enumerable.Repeat(Double.NaN, rows.Count).ToList(); + double rolling_sum = 0.0; + int valid_count = 0; + double? prev_atr = null; + + for (int i = 0; i < true_ranges.Count; i++) { + double tr = true_ranges[i]; + if (Double.IsNaN(tr)) { + rolling_sum = 0.0; + valid_count = 0; + prev_atr = null; + continue; + } + + if (prev_atr is null) { + rolling_sum += tr; + valid_count++; + if (valid_count == _period) { + prev_atr = rolling_sum / _period; + atr_values[i] = prev_atr.Value; + } + } else { + prev_atr = ((prev_atr.Value * (_period - 1)) + tr) / _period; + atr_values[i] = prev_atr.Value; + } + } + + return atr_values; + } + + void _validate_args() { + if (_parent_stream is null) + throw new ArgumentNullException(nameof(_parent_stream)); + if (String.IsNullOrWhiteSpace(_high_col)) + throw new ArgumentException("high_col cannot be null or empty.", nameof(_high_col)); + if (String.IsNullOrWhiteSpace(_low_col)) + throw new ArgumentException("low_col cannot be null or empty.", nameof(_low_col)); + if (String.IsNullOrWhiteSpace(_close_col)) + throw new ArgumentException("close_col cannot be null or empty.", nameof(_close_col)); + if (String.IsNullOrWhiteSpace(_ref_price_col)) + throw new ArgumentException("ref_price_col cannot be null or empty.", nameof(_ref_price_col)); + if (String.IsNullOrWhiteSpace(_timestamp_col)) + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + if (_period <= 0) + throw new ArgumentException("period must be greater than zero.", nameof(_period)); + } + + void _validate_input_schema(IBlueTableSchema schema) { + if (!schema.contains_column(_high_col)) + throw new ArgumentException($"Input stream does not contain high column '{_high_col}'."); + if (!schema.contains_column(_low_col)) + throw new ArgumentException($"Input stream does not contain low column '{_low_col}'."); + if (!schema.contains_column(_close_col)) + throw new ArgumentException($"Input stream does not contain close column '{_close_col}'."); + if (!schema.contains_column(_ref_price_col)) + throw new ArgumentException($"Input stream does not contain reference price column '{_ref_price_col}'."); + if (!schema.contains_column(_timestamp_col)) + throw new ArgumentException($"Input stream does not contain timestamp column '{_timestamp_col}'."); + if (schema.contains_column(atr_col_name) || schema.contains_column(atr_bps_col_name)) + throw new ArgumentException("Input stream already contains one or more ATR output columns."); + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/BarBuilderStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/BarBuilderStream.cs new file mode 100644 index 000000000..64b747f88 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/BarBuilderStream.cs @@ -0,0 +1,321 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Concurrent; + using System.IO.MemoryMappedFiles; + using BCG; + using System.Text.Json.Serialization; + using System.Text.Json; + using System.Data; + using bts; + + public enum BarType { + TIME, + TICK, + VOLUME, + DOLLAR, + } + + public class BarBuilderSchemaInfo { + [JsonPropertyName("price_col")] + public string price_col { get; set; } = "trade_price"; + + [JsonPropertyName("volume_col")] + public string volume_col { get; set; } = "trade_size"; + + [JsonPropertyName("timestamp_col")] + public string timestamp_col { get; set; } = "ts_event"; + } + + + public class SingleBar : IBlueRow { + private BarBuilderStream _parent_str; + private IBlueTableSchema _schema; + // this is the live bar thats being updated + private MutableBlueRow _row; + public SingleBar(BarBuilderStream parent_str) { + _parent_str = parent_str; + _schema = BlueDataUtility.form_schema( + "bar_builder_single_bar", + Tuple.Create("id", TypeCode.Int32), + Tuple.Create("ts_event", TypeCode.DateTime), + Tuple.Create("bar_start_ts", TypeCode.DateTime), + Tuple.Create("bar_end_ts", TypeCode.DateTime), + Tuple.Create("open", TypeCode.Double), + Tuple.Create("high", TypeCode.Double), + Tuple.Create("low", TypeCode.Double), + Tuple.Create("close", TypeCode.Double), + Tuple.Create("volume", TypeCode.Double), + Tuple.Create("notional", TypeCode.Double), + Tuple.Create("trade_count", TypeCode.Int32), + Tuple.Create("n_events", TypeCode.Int32), + Tuple.Create("vwap", TypeCode.Double), + Tuple.Create("is_active", TypeCode.Boolean) + ); + reset_new_bar(); + } + + public IBlueTableSchema schema => _row.schema; + + public object this[int index] => _row[index]; + + public object this[string col_name] => _row[col_name]; + + + void reset_new_bar() { + _row = new MutableBlueRow(_schema); + _row.setValue("id", _parent_str.get_new_id()); + _row.setValue("volume", 0.0); + _row.setValue("notional", 0.0); + _row.setValue("trade_count", 0); + _row.setValue("n_events", 0); + _row.setValue("is_active", true); + } + bool is_virgin_bar() => _row.get("n_events", 0) == 0; + + public IBlueRow add_event(IBlueRow r) { + IBlueRow? close_current_bar_if_needed(IBlueRow input_row) { + if (_parent_str._bar_type != BarType.TIME || is_virgin_bar()) { + return null; + } + + var ts = input_row.get_datetime(_parent_str._schema_info.timestamp_col, DateTime.UtcNow).ToUniversalTime(); + var bar_end_ts = _row.get_datetime("bar_end_ts", DateTime.MaxValue); + if (ts < bar_end_ts) { + return null; + } + + _row.setValue("is_active", false); + IBlueRow closed_row = new BlueRow(_row); + reset_new_bar(); + return closed_row; + } + + void absorb_into_row(IBlueRow input_row) { + var ts = input_row.get_datetime(_parent_str._schema_info.timestamp_col, DateTime.UtcNow).ToUniversalTime(); + var price = input_row.get(_parent_str._schema_info.price_col, Double.NaN); + var volume = input_row.get(_parent_str._schema_info.volume_col, Double.NaN); + var notional = price * volume; + + if (is_virgin_bar()) { + // mean absorb_into_row has never been called into the _row. It rests in its + // just opened state + // this row was just opened and has not absorbed an input row + Log.assert(_row.is_null("bar_start_ts")); + DateTime bar_start_ts; + DateTime bar_end_ts; + if (_parent_str._bar_type == BarType.TIME) { + var bucket_ticks = (long)(Math.Max(1.0, _parent_str._bar_size) * TimeSpan.TicksPerSecond); + var start_ticks = (ts.Ticks / bucket_ticks) * bucket_ticks; + bar_start_ts = new DateTime(start_ticks, DateTimeKind.Utc); + bar_end_ts = bar_start_ts.AddTicks(bucket_ticks); + } else { + bar_start_ts = ts; + bar_end_ts = ts; + } + _row.setValue("bar_start_ts", bar_start_ts); + _row.setValue("bar_end_ts", bar_end_ts); + _row.setValue("open", price); + _row.setValue("high", price); + _row.setValue("low", price); + } else { + var high = _row.get("high", price); + var low = _row.get("low", price); + _row.setValue("high", Math.Max(high, price)); + _row.setValue("low", Math.Min(low, price)); + } + + _row.setValue("ts_event", ts); + _row.setValue("close", price); + _row.setValue("volume", _row.get("volume", 0.0) + volume); + _row.setValue("notional", _row.get("notional", 0.0) + notional); + _row.setValue("trade_count", _row.get("trade_count", 0) + 1); + _row.setValue("n_events", _row.get("n_events", 0) + 1); + var running_volume = _row.get("volume", 0.0); + var running_notional = _row.get("notional", 0.0); + _row.setValue("vwap", running_volume > 0.0 ? running_notional / running_volume : price); + } + + bool is_closed() { + bool closed; + if (_parent_str._bar_type == BarType.TIME) { + var ts = _row.get_datetime("ts_event", DateTime.MinValue); + var bar_end_ts = _row.get_datetime("bar_end_ts", DateTime.MaxValue); + closed = ts >= bar_end_ts; + } else if (_parent_str._bar_type == BarType.TICK) { + closed = _row.get("n_events", 0) >= _parent_str._bar_size; + } else if (_parent_str._bar_type == BarType.VOLUME) { + closed = _row.get("volume", 0.0) >= _parent_str._bar_size; + } else { + closed = _row.get("notional", 0.0) >= _parent_str._bar_size; + } + _row.setValue("is_active", !closed); + return closed; + } + + Log.assert(_row != null); + var closed_row = close_current_bar_if_needed(r); + absorb_into_row(r); + if (is_closed()) { + closed_row = new BlueRow(_row); + reset_new_bar(); + } + return closed_row; + } + + } + + + public class BarState : IBlueRowCollection { + private SingleBar _curr_row; + private BlueTable _state; + + public BarState(BarBuilderStream parent_str) { + _curr_row = new SingleBar(parent_str); + _state = new BlueTable(_curr_row.schema); + } + + public bool add_event(IBlueRow r) { + var closed_bar = _curr_row.add_event(r); + if (closed_bar is not null) { + // new bar opened + _state.addRow(closed_bar); + return true; + } + return false; + } + + public IBlueRow this[int id] => _state[id]; + + public IBlueTableSchema schema => _state.schema; + + public bool containsID(int id) => _state.containsID(id); + + public int Count => _state.Count; + + public System.Collections.IEnumerator GetEnumerator() => _state.GetEnumerator(); + } + + [DataStreamUserRespresentation("BarBuilderStream")] + public class BarBuilderStream : ViewStream { + readonly ViewStream _price_stream; + internal readonly BarType _bar_type; + internal readonly double _bar_size; + internal readonly bool _show_open_bars; + internal readonly BarBuilderSchemaInfo _schema_info; + private BarState _state; + + public BarBuilderStream(ViewStream price_stream, + BarType bar_type, + double bar_size, + bool show_open_bars, + BarBuilderSchemaInfo schema_info) { + _price_stream = price_stream; + _bar_type = bar_type; + _bar_size = bar_size; + _show_open_bars = show_open_bars; + _schema_info = schema_info; + _state = new BarState(this); + } + + int _id = 0; + internal int get_new_id() { + return _id++; + } + + public BarBuilderStream(ViewStream price_stream, + string bar_type, + double bar_size, + string schema_info_json) + : + this(price_stream, + Enum.Parse(bar_type), + bar_size, + true, + _parse_and_validate_schema_info_json(schema_info_json)) { + } + + public BarBuilderStream(ViewStream price_stream, + string bar_type, + double bar_size, + string price_col, + string volume_col, + string timestamp_col) + : + this(price_stream, + Enum.Parse(bar_type), + bar_size, + true, + _create_and_validate_schema_info(price_col, volume_col, timestamp_col)) { + } + + protected override void myOnFirstSubscriber() { + _price_stream.onChange += _on_price_stream_change; + } + + protected override void myOnLastSubscriber() { + _price_stream.onChange -= _on_price_stream_change; + } + + void _on_price_stream_change(object dp_obj) { + DataPacket dp = dp_obj as DataPacket; + var sz_0 = _state.Count; + foreach (IBlueRow r in dp.addedRows) { + _state.add_event(r); + } + if (_state.Count == sz_0) + // need to check if we fire open bar changes, or only on bar clsoe + return; + { + var dp_out = BlueDataUtility.build_dp_inc(_state, myLastValue as DataPacket, false); + myFireEvent(dp_out); + } + } + + + static BarBuilderSchemaInfo _parse_and_validate_schema_info_json(string schema_info_json) { + if (string.IsNullOrWhiteSpace(schema_info_json)) { + throw new ArgumentException("schema_info_json cannot be null or empty.", nameof(schema_info_json)); + } + + var schema_info = JsonSerializer.Deserialize(schema_info_json); + _validate_schema_info(schema_info); + return schema_info!; + } + + static BarBuilderSchemaInfo _create_and_validate_schema_info( + string price_col, + string volume_col, + string timestamp_col) { + var schema_info = new BarBuilderSchemaInfo { + price_col = price_col, + volume_col = volume_col, + timestamp_col = timestamp_col, + }; + _validate_schema_info(schema_info); + return schema_info; + } + + static void _validate_schema_info(BarBuilderSchemaInfo? schema_info) { + if (schema_info is null) { + throw new ArgumentException("schema_info_json did not deserialize into BarBuilderSchemaInfo."); + } + + if (string.IsNullOrWhiteSpace(schema_info.price_col)) { + throw new ArgumentException("BarBuilderSchemaInfo.PriceCol cannot be null or empty."); + } + if (string.IsNullOrWhiteSpace(schema_info.volume_col)) { + throw new ArgumentException("BarBuilderSchemaInfo.VolumeCol cannot be null or empty."); + } + if (string.IsNullOrWhiteSpace(schema_info.timestamp_col)) { + throw new ArgumentException("BarBuilderSchemaInfo.TimestampCol cannot be null or empty."); + } + + if (schema_info.price_col.Equals(schema_info.volume_col, StringComparison.OrdinalIgnoreCase) || + schema_info.price_col.Equals(schema_info.timestamp_col, StringComparison.OrdinalIgnoreCase) || + schema_info.volume_col.Equals(schema_info.timestamp_col, StringComparison.OrdinalIgnoreCase)) { + throw new ArgumentException("BarBuilderSchemaInfo columns must be distinct."); + } + } + } + +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/HeikinAshiStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/HeikinAshiStream.cs new file mode 100644 index 000000000..c59dce05c --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/HeikinAshiStream.cs @@ -0,0 +1,242 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + using BCG; + using Bts.DataStreamCore; + using bts; + + [DataStreamUserRespresentation("HeikinAshiStream")] + public class HeikinAshiStream : ViewStream { + const string default_open_col = "open"; + const string default_high_col = "high"; + const string default_low_col = "low"; + const string default_close_col = "close"; + const string default_timestamp_col = "ts_event"; + const string ha_open_col_name = "ha_open"; + const string ha_high_col_name = "ha_high"; + const string ha_low_col_name = "ha_low"; + const string ha_close_col_name = "ha_close"; + + readonly ViewStream _parent_stream; + readonly string _open_col; + readonly string _high_col; + readonly string _low_col; + readonly string _close_col; + readonly string _timestamp_col; + + double? _anchor_ha_open; + double? _anchor_ha_close; + int? _current_source_id; + double? _current_ha_open; + double? _current_ha_close; + IBlueTableSchema? _output_schema; + + public HeikinAshiStream(ViewStream parent_stream) + : this(parent_stream, default_open_col, default_high_col, default_low_col, default_close_col, default_timestamp_col) { + } + + public HeikinAshiStream(ViewStream parent_stream, + string open_col, + string high_col, + string low_col, + string close_col) + : this(parent_stream, open_col, high_col, low_col, close_col, default_timestamp_col) { + } + + internal HeikinAshiStream(ViewStream parent_stream, + string open_col, + string high_col, + string low_col, + string close_col, + string timestamp_col) { + _parent_stream = parent_stream; + _open_col = open_col; + _high_col = high_col; + _low_col = low_col; + _close_col = close_col; + _timestamp_col = timestamp_col; + _validate_args(); + } + + protected override void myOnFirstSubscriber() { + _parent_stream.onChange += _on_parent_stream_change; + } + + protected override void myOnLastSubscriber() { + _parent_stream.onChange -= _on_parent_stream_change; + _reset_state(); + } + + void _on_parent_stream_change(object dp_obj) { + var dp = dp_obj as IDataPacket; + if (dp?.newRows is null) + return; + + _validate_input_schema(dp.newRows.schema); + _output_schema = _output_schema is not null && _output_schema.tableName == dp.newRows.schema.tableName + ? _output_schema + : _build_output_schema(dp.newRows.schema); + + if (dp.deletedRows.Count > 0) { + _rebuild_from_snapshot(dp.newRows); + return; + } + + var added_rows = _sort_rows(dp.addedRows.Cast()); + foreach (var row in added_rows) { + _apply_source_row(row); + } + } + + void _rebuild_from_snapshot(IBlueRowCollection snapshot_rows) { + _anchor_ha_open = null; + _anchor_ha_close = null; + _current_source_id = null; + _current_ha_open = null; + _current_ha_close = null; + + var sorted_rows = _sort_rows(snapshot_rows.Cast()); + if (sorted_rows.Count == 0) { + _emit_empty_state(); + return; + } + + var rebuilt_rows = new BlueTable(_output_schema ?? throw new InvalidOperationException("Output schema was not initialized.")); + foreach (var row in sorted_rows) { + rebuilt_rows.addRow(_build_heikin_ashi_row(row)); + } + _emit_snapshot_state(rebuilt_rows); + } + + void _apply_source_row(IBlueRow source_row) { + if (_current_source_id is not null && source_row.Id() != _current_source_id.Value) { + _anchor_ha_open = _current_ha_open; + _anchor_ha_close = _current_ha_close; + } + + var out_row = _build_heikin_ashi_row(source_row); + _emit_current_state(out_row); + } + + IBlueRow _build_heikin_ashi_row(IBlueRow source_row) { + double raw_open = source_row.get(_open_col, Double.NaN); + double raw_high = source_row.get(_high_col, Double.NaN); + double raw_low = source_row.get(_low_col, Double.NaN); + double raw_close = source_row.get(_close_col, Double.NaN); + + double ha_close = (raw_open + raw_high + raw_low + raw_close) / 4.0; + double ha_open = (_anchor_ha_open.HasValue && _anchor_ha_close.HasValue) + ? (_anchor_ha_open.Value + _anchor_ha_close.Value) / 2.0 + : (raw_open + raw_close) / 2.0; + + double ha_high = Math.Max(raw_high, Math.Max(ha_open, ha_close)); + double ha_low = Math.Min(raw_low, Math.Min(ha_open, ha_close)); + + var out_row = new MutableBlueRow(_output_schema ?? throw new InvalidOperationException("Output schema was not initialized.")); + foreach (ColumnInfo ci in source_row.schema.columnInfo) + out_row.setValue(ci.colName, source_row[ci.colNo]); + + out_row.setValue(ha_open_col_name, ha_open); + out_row.setValue(ha_high_col_name, ha_high); + out_row.setValue(ha_low_col_name, ha_low); + out_row.setValue(ha_close_col_name, ha_close); + + _current_source_id = source_row.Id(); + _current_ha_open = ha_open; + _current_ha_close = ha_close; + return out_row; + } + + void _emit_current_state(IBlueRow current_row) { + var current_table = myLastValue is null + ? new BlueTable(current_row.schema) + : new BlueTable(((IDataPacket)myLastValue).newRows); + var added_rows = new BlueTable(current_row.schema); + var deleted_rows = new BlueTable(current_row.schema); + + if (current_table.containsID(current_row.Id())) { + deleted_rows.addRow(current_table[current_row.Id()]); + current_table.changeRow(current_row); + added_rows.addRow(current_row); + } else { + current_table.addRow(current_row); + added_rows.addRow(current_row); + } + + myFireEvent(new DataPacket(current_table, added_rows, deleted_rows)); + } + + void _emit_empty_state() { + if (_output_schema is null) + return; + + var empty_rows = new BlueTable(_output_schema); + var deleted_rows = myLastValue is null + ? new BlueTable(_output_schema) + : new BlueTable(((IDataPacket)myLastValue).newRows); + myFireEvent(new DataPacket(empty_rows, empty_rows, deleted_rows)); + } + + void _emit_snapshot_state(IBlueRowCollection current_rows) { + var previous_rows = myLastValue is null + ? new BlueTable(current_rows.schema) + : ((IDataPacket)myLastValue).newRows; + + BlueDataUtility.compute_differences_fast(current_rows, previous_rows, out var deleted_rows, out var added_rows); + myFireEvent(new DataPacket(current_rows, added_rows, deleted_rows)); + } + + List _sort_rows(IEnumerable rows) { + return rows + .OrderBy(r => r.schema.contains_column(_timestamp_col) ? r.get_datetime(_timestamp_col, DateTime.MinValue) : DateTime.MinValue) + .ThenBy(r => r.Id()) + .ToList(); + } + + void _reset_state() { + _anchor_ha_open = null; + _anchor_ha_close = null; + _current_source_id = null; + _current_ha_open = null; + _current_ha_close = null; + _output_schema = null; + } + + IBlueTableSchema _build_output_schema(IBlueTableSchema input_schema) => + input_schema + .add_columns(Tuple.Create(typeof(double), ha_open_col_name)) + .add_columns(Tuple.Create(typeof(double), ha_high_col_name)) + .add_columns(Tuple.Create(typeof(double), ha_low_col_name)) + .add_columns(Tuple.Create(typeof(double), ha_close_col_name)); + + void _validate_args() { + if (_parent_stream is null) + throw new ArgumentNullException(nameof(_parent_stream)); + if (String.IsNullOrWhiteSpace(_open_col)) + throw new ArgumentException("open_col cannot be null or empty.", nameof(_open_col)); + if (String.IsNullOrWhiteSpace(_high_col)) + throw new ArgumentException("high_col cannot be null or empty.", nameof(_high_col)); + if (String.IsNullOrWhiteSpace(_low_col)) + throw new ArgumentException("low_col cannot be null or empty.", nameof(_low_col)); + if (String.IsNullOrWhiteSpace(_close_col)) + throw new ArgumentException("close_col cannot be null or empty.", nameof(_close_col)); + if (String.IsNullOrWhiteSpace(_timestamp_col)) + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + } + + void _validate_input_schema(IBlueTableSchema schema) { + if (!schema.contains_column(_open_col)) + throw new ArgumentException($"Input stream does not contain open column '{_open_col}'."); + if (!schema.contains_column(_high_col)) + throw new ArgumentException($"Input stream does not contain high column '{_high_col}'."); + if (!schema.contains_column(_low_col)) + throw new ArgumentException($"Input stream does not contain low column '{_low_col}'."); + if (!schema.contains_column(_close_col)) + throw new ArgumentException($"Input stream does not contain close column '{_close_col}'."); + if (schema.contains_column(ha_open_col_name) || schema.contains_column(ha_high_col_name) || + schema.contains_column(ha_low_col_name) || schema.contains_column(ha_close_col_name)) + throw new ArgumentException("Input stream already contains one or more Heikin-Ashi output columns."); + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/MACDStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/MACDStream.cs new file mode 100644 index 000000000..b0543c927 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/MACDStream.cs @@ -0,0 +1,169 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + using BCG; + using bts; + + /// + /// Computes the Moving Average Convergence Divergence (MACD) series for each + /// incoming row and appends MACD, signal, and histogram output columns. + /// Expects the parent stream to provide price and timestamp columns. + /// + [DataStreamUserRespresentation("MACDStream")] + public class MACDStream : ViewStream { + const string default_price_col = "close"; + const string default_timestamp_col = "ts_event"; + const int default_fast_period = 12; + const int default_slow_period = 26; + const int default_signal_period = 9; + const string macd_col_name = "macd"; + const string signal_col_name = "macd_signal"; + const string histogram_col_name = "macd_histogram"; + + readonly ViewStream _parent_stream; + readonly string _price_col; + readonly string _timestamp_col; + readonly int _fast; + readonly int _slow; + readonly int _signal; + + public MACDStream(ViewStream parent_stream) + : this(parent_stream, default_price_col, default_fast_period, default_slow_period, default_signal_period) { + } + + public MACDStream(ViewStream parent_stream, string price_col) + : this(parent_stream, price_col, default_fast_period, default_slow_period, default_signal_period) { + } + + public MACDStream(ViewStream parent_stream, int fast, int slow, int signal) + : this(parent_stream, default_price_col, fast, slow, signal) { + } + + public MACDStream(ViewStream parent_stream, string price_col, int fast, int slow, int signal) + : this(parent_stream, price_col, fast, slow, signal, default_timestamp_col) { + } + + internal MACDStream(ViewStream parent_stream, + string price_col, + int fast, + int slow, + int signal, + string timestamp_col) { + _parent_stream = parent_stream; + _price_col = price_col; + _fast = fast; + _slow = slow; + _signal = signal; + _timestamp_col = timestamp_col; + _validate_args(); + } + + protected override void myOnFirstSubscriber() { + _parent_stream.onChange += _on_parent_stream_change; + } + + protected override void myOnLastSubscriber() { + _parent_stream.onChange -= _on_parent_stream_change; + } + + void _on_parent_stream_change(object dp_obj) { + var dp = dp_obj as DataPacket; + if (dp?.newRows is null) + return; + + var input_rows = dp.newRows.Cast().ToList(); + if (input_rows.Count == 0) + return; + + _validate_input_schema(dp.newRows.schema); + + var sorted_rows = input_rows + .OrderBy(r => r.get_datetime(_timestamp_col, DateTime.MinValue)) + .ThenBy(r => r.get("id", 0)) + .ToList(); + + var prices = sorted_rows.Select(r => r.get(_price_col, Double.NaN)).ToList(); + var macd_values = _calculate_macd(prices, _fast, _slow); + var signal_values = _calculate_ema(macd_values, _signal); + + var out_schema = dp.newRows.schema + .add_columns(Tuple.Create(typeof(double), macd_col_name)) + .add_columns(Tuple.Create(typeof(double), signal_col_name)) + .add_columns(Tuple.Create(typeof(double), histogram_col_name)); + var out_table = new OrderedBlueTable(out_schema); + + for (int i = 0; i < sorted_rows.Count; i++) { + var out_row = new MutableBlueRow(out_schema); + foreach (ColumnInfo ci in dp.newRows.schema.columnInfo) + out_row.setValue(ci.colName, sorted_rows[i][ci.colNo]); + + double macd = macd_values[i]; + double signal = signal_values[i]; + out_row.setValue(macd_col_name, macd); + out_row.setValue(signal_col_name, signal); + out_row.setValue(histogram_col_name, (Double.IsNaN(macd) || Double.IsNaN(signal)) ? Double.NaN : macd - signal); + out_table.addRow(out_row); + } + + var dp_out = BlueDataUtility.build_dp_inc(out_table, myLastValue as IDataPacket, true); + myFireEvent(dp_out); + } + + List _calculate_macd(IReadOnlyList prices, int fast, int slow) { + var fast_ema = _calculate_ema(prices, fast); + var slow_ema = _calculate_ema(prices, slow); + var result = new List(prices.Count); + + for (int i = 0; i < prices.Count; i++) { + double fast_val = fast_ema[i]; + double slow_val = slow_ema[i]; + result.Add((Double.IsNaN(fast_val) || Double.IsNaN(slow_val)) ? Double.NaN : fast_val - slow_val); + } + return result; + } + + List _calculate_ema(IReadOnlyList values, int period) { + var result = new List(values.Count); + double multiplier = 2.0 / (period + 1.0); + double? ema = null; + + foreach (double value in values) { + if (Double.IsNaN(value)) { + result.Add(ema ?? Double.NaN); + continue; + } + + ema = ema is null ? value : (value - ema.Value) * multiplier + ema.Value; + result.Add(ema.Value); + } + return result; + } + + void _validate_args() { + if (_parent_stream is null) + throw new ArgumentNullException(nameof(_parent_stream)); + if (String.IsNullOrWhiteSpace(_price_col)) + throw new ArgumentException("price_col cannot be null or empty.", nameof(_price_col)); + if (String.IsNullOrWhiteSpace(_timestamp_col)) + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + if (_fast <= 0) + throw new ArgumentException("fast must be greater than zero.", nameof(_fast)); + if (_slow <= 0) + throw new ArgumentException("slow must be greater than zero.", nameof(_slow)); + if (_signal <= 0) + throw new ArgumentException("signal must be greater than zero.", nameof(_signal)); + if (_fast >= _slow) + throw new ArgumentException("fast must be less than slow."); + } + + void _validate_input_schema(IBlueTableSchema schema) { + if (!schema.contains_column(_price_col)) + throw new ArgumentException($"Input stream does not contain price column '{_price_col}'."); + if (!schema.contains_column(_timestamp_col)) + throw new ArgumentException($"Input stream does not contain timestamp column '{_timestamp_col}'."); + if (schema.contains_column(macd_col_name) || schema.contains_column(signal_col_name) || schema.contains_column(histogram_col_name)) + throw new ArgumentException("Input stream already contains one or more MACD output columns."); + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/MovingAverageStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/MovingAverageStream.cs new file mode 100644 index 000000000..17c3ce122 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/MovingAverageStream.cs @@ -0,0 +1,207 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + using BCG; + using bts; + + public enum MovingAverageMethod { + SMA, + EMA, + WMA, + } + + [DataStreamUserRespresentation("MovingAverageStream")] + public class MovingAverageStream : ViewStream { + const string DefaultPriceCol = "close"; + const string DefaultTimestampCol = "ts_event"; + const string OutputColName = "moving_average"; + + readonly ViewStream _parent_stream; + readonly string _price_col; + readonly string _timestamp_col; + readonly int _period; + readonly MovingAverageMethod _method; + + public MovingAverageStream(ViewStream parent_stream, int period, string method) + : this(parent_stream, DefaultPriceCol, period, method) { + } + + public MovingAverageStream(ViewStream parent_stream, string price_col, int period, string method) + : this(parent_stream, price_col, period, method, DefaultTimestampCol) { + } + + public MovingAverageStream(ViewStream parent_stream, string price_col, int period, MovingAverageMethod method) + : this(parent_stream, price_col, period, method, DefaultTimestampCol) { + } + + internal MovingAverageStream(ViewStream parent_stream, + string price_col, + int period, + string method, + string timestamp_col) + : this(parent_stream, price_col, period, Enum.Parse(method, true), timestamp_col) { + } + + internal MovingAverageStream(ViewStream parent_stream, + string price_col, + int period, + MovingAverageMethod method, + string timestamp_col) { + _parent_stream = parent_stream; + _price_col = price_col; + _timestamp_col = timestamp_col; + _period = period; + _method = method; + _validate_args(); + } + + protected override void myOnFirstSubscriber() { + _parent_stream.onChange += _on_parent_stream_change; + } + + protected override void myOnLastSubscriber() { + _parent_stream.onChange -= _on_parent_stream_change; + } + + void _on_parent_stream_change(object dp_obj) { + var dp = dp_obj as DataPacket; + if (dp?.newRows is null) { + return; + } + + var input_rows = dp.newRows.Cast().ToList(); + if (input_rows.Count == 0) { + return; + } + + _validate_input_schema(dp.newRows.schema); + + var sorted_rows = input_rows + .OrderBy(r => r.get_datetime(_timestamp_col, DateTime.MinValue)) + .ThenBy(r => r.get("id", 0)) + .ToList(); + + var moving_averages = _calculate_moving_average(sorted_rows); + var out_schema = dp.newRows.schema.add_columns(Tuple.Create(typeof(double), OutputColName)); + var out_table = new OrderedBlueTable(out_schema); + + for (int i = 0; i < sorted_rows.Count; i++) { + var out_row = new MutableBlueRow(out_schema); + foreach (ColumnInfo ci in dp.newRows.schema.columnInfo) { + out_row.setValue(ci.colName, sorted_rows[i][ci.colNo]); + } + out_row.setValue(OutputColName, moving_averages[i]); + out_table.addRow(out_row); + } + + var dp_out = BlueDataUtility.build_dp_inc(out_table, myLastValue as IDataPacket, true); + myFireEvent(dp_out); + } + + List _calculate_moving_average(IReadOnlyList sorted_rows) { + var prices = sorted_rows + .Select(r => r.get(_price_col, Double.NaN)) + .ToList(); + + return _method switch { + MovingAverageMethod.SMA => _calculate_sma(prices), + MovingAverageMethod.EMA => _calculate_ema(prices), + MovingAverageMethod.WMA => _calculate_wma(prices), + _ => throw new ArgumentOutOfRangeException(nameof(_method), _method, "Unsupported moving average method.") + }; + } + + List _calculate_sma(IReadOnlyList prices) { + var result = new List(prices.Count); + var window = new Queue(_period); + double rolling_sum = 0.0; + + foreach (var price in prices) { + if (!Double.IsNaN(price)) { + window.Enqueue(price); + rolling_sum += price; + if (window.Count > _period) { + rolling_sum -= window.Dequeue(); + } + } + result.Add(window.Count > 0 ? rolling_sum / window.Count : Double.NaN); + } + return result; + } + + List _calculate_ema(IReadOnlyList prices) { + var result = new List(prices.Count); + double multiplier = 2.0 / (_period + 1.0); + double? ema = null; + + foreach (var price in prices) { + if (Double.IsNaN(price)) { + result.Add(ema ?? Double.NaN); + continue; + } + + ema = ema is null ? price : (price - ema.Value) * multiplier + ema.Value; + result.Add(ema.Value); + } + return result; + } + + List _calculate_wma(IReadOnlyList prices) { + var result = new List(prices.Count); + var window = new Queue(_period); + + foreach (var price in prices) { + if (!Double.IsNaN(price)) { + window.Enqueue(price); + if (window.Count > _period) { + window.Dequeue(); + } + } + + if (window.Count == 0) { + result.Add(Double.NaN); + continue; + } + + double weighted_sum = 0.0; + double weight_total = 0.0; + int weight = 1; + foreach (var value in window) { + weighted_sum += value * weight; + weight_total += weight; + weight++; + } + result.Add(weighted_sum / weight_total); + } + return result; + } + + void _validate_args() { + if (_parent_stream is null) { + throw new ArgumentNullException(nameof(_parent_stream)); + } + if (String.IsNullOrWhiteSpace(_price_col)) { + throw new ArgumentException("price_col cannot be null or empty.", nameof(_price_col)); + } + if (String.IsNullOrWhiteSpace(_timestamp_col)) { + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + } + if (_period <= 0) { + throw new ArgumentException("period must be greater than zero.", nameof(_period)); + } + } + + void _validate_input_schema(IBlueTableSchema schema) { + if (!schema.contains_column(_price_col)) { + throw new ArgumentException($"Input stream does not contain price column '{_price_col}'."); + } + if (!schema.contains_column(_timestamp_col)) { + throw new ArgumentException($"Input stream does not contain timestamp column '{_timestamp_col}'."); + } + if (schema.contains_column(OutputColName)) { + throw new ArgumentException($"Input stream already contains column '{OutputColName}'."); + } + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/ParabolicSARStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/ParabolicSARStream.cs new file mode 100644 index 000000000..624eeb6c9 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/ParabolicSARStream.cs @@ -0,0 +1,249 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + + using BCG; + + using bts; + + /// + /// Computes Parabolic SAR and an accompanying trend label for each incoming + /// row. The stream appends psar and psar_trend columns to the + /// parent schema and expects high, low, and timestamp columns on the input. + /// + /// Constructor arguments: + /// af_step controls how quickly the acceleration factor increases as + /// the trend extends, while af_max caps that acceleration factor. + /// Higher values make the SAR react faster but also increase whipsaw risk. + /// + [DataStreamUserRespresentation("ParabolicSARStream")] + public class ParabolicSARStream : ViewStream { + const string default_high_col = "high"; + const string default_low_col = "low"; + const string default_timestamp_col = "ts_event"; + const double default_af_step = 0.02; + const double default_af_max = 0.20; + const string psar_col_name = "psar"; + const string psar_trend_col_name = "psar_trend"; + + readonly ViewStream _parent_stream; + readonly string _high_col; + readonly string _low_col; + readonly string _timestamp_col; + readonly double _af_step; + readonly double _af_max; + + public ParabolicSARStream(ViewStream parent_stream) + : this(parent_stream, default_af_step, default_af_max) { + } + + public ParabolicSARStream(ViewStream parent_stream, double af_step, double af_max) + : this(parent_stream, default_high_col, default_low_col, af_step, af_max) { + } + + public ParabolicSARStream(ViewStream parent_stream, + string high_col, + string low_col, + double af_step, + double af_max) + : this(parent_stream, high_col, low_col, af_step, af_max, default_timestamp_col) { + } + + internal ParabolicSARStream(ViewStream parent_stream, + string high_col, + string low_col, + double af_step, + double af_max, + string timestamp_col) { + _parent_stream = parent_stream; + _high_col = high_col; + _low_col = low_col; + _af_step = af_step; + _af_max = af_max; + _timestamp_col = timestamp_col; + _validate_args(); + } + + protected override void myOnFirstSubscriber() { + _parent_stream.onChange += _on_parent_stream_change; + } + + protected override void myOnLastSubscriber() { + _parent_stream.onChange -= _on_parent_stream_change; + } + + void _on_parent_stream_change(object dp_obj) { + var dp = dp_obj as DataPacket; + if (dp?.newRows is null) + return; + + var input_rows = dp.newRows.Cast().ToList(); + if (input_rows.Count == 0) + return; + + _validate_input_schema(dp.newRows.schema); + + var sorted_rows = input_rows + .OrderBy(r => r.get_datetime(_timestamp_col, DateTime.MinValue)) + .ThenBy(r => r.get("id", 0)) + .ToList(); + + var sar_result = _calculate_psar(sorted_rows); + var out_schema = dp.newRows.schema + .add_columns(Tuple.Create(typeof(double), psar_col_name)) + .add_columns(Tuple.Create(typeof(string), psar_trend_col_name)); + var out_table = new OrderedBlueTable(out_schema); + + for (int i = 0; i < sorted_rows.Count; i++) { + var out_row = new MutableBlueRow(out_schema); + foreach (ColumnInfo ci in dp.newRows.schema.columnInfo) + out_row.setValue(ci.colName, sorted_rows[i][ci.colNo]); + + out_row.setValue(psar_col_name, sar_result.Sar[i]); + out_row.setValue(psar_trend_col_name, sar_result.Trend[i]); + out_table.addRow(out_row); + } + + var dp_out = BlueDataUtility.build_dp_inc(out_table, myLastValue as IDataPacket, true); + myFireEvent(dp_out); + } + + ParabolicSarResult _calculate_psar(IReadOnlyList rows) { + int count = rows.Count; + var sar_values = Enumerable.Repeat(Double.NaN, count).ToList(); + var trend_values = Enumerable.Repeat(String.Empty, count).ToList(); + + if (count == 0) + return new ParabolicSarResult(sar_values, trend_values); + + if (count == 1) { + double only_low = rows[0].get(_low_col, Double.NaN); + sar_values[0] = only_low; + trend_values[0] = "UP"; + return new ParabolicSarResult(sar_values, trend_values); + } + + double first_high = rows[0].get(_high_col, Double.NaN); + double first_low = rows[0].get(_low_col, Double.NaN); + double second_high = rows[1].get(_high_col, Double.NaN); + double second_low = rows[1].get(_low_col, Double.NaN); + + bool is_uptrend = Double.IsNaN(first_high) || Double.IsNaN(second_high) || Double.IsNaN(first_low) || Double.IsNaN(second_low) + ? true + : second_high >= first_high; + + double extreme_point = is_uptrend ? Math.Max(first_high, second_high) : Math.Min(first_low, second_low); + double sar = is_uptrend ? Math.Min(first_low, second_low) : Math.Max(first_high, second_high); + double af = _af_step; + + sar_values[0] = sar; + trend_values[0] = is_uptrend ? "UP" : "DOWN"; + + for (int i = 1; i < count; i++) { + double high = rows[i].get(_high_col, Double.NaN); + double low = rows[i].get(_low_col, Double.NaN); + + if (Double.IsNaN(high) || Double.IsNaN(low)) { + sar_values[i] = Double.NaN; + trend_values[i] = trend_values[Math.Max(0, i - 1)]; + continue; + } + + double next_sar = sar + af * (extreme_point - sar); + + if (is_uptrend) { + if (i >= 1) { + double prev_low = rows[i - 1].get(_low_col, Double.NaN); + if (!Double.IsNaN(prev_low)) + next_sar = Math.Min(next_sar, prev_low); + } + if (i >= 2) { + double prev2_low = rows[i - 2].get(_low_col, Double.NaN); + if (!Double.IsNaN(prev2_low)) + next_sar = Math.Min(next_sar, prev2_low); + } + + if (low < next_sar) { + is_uptrend = false; + next_sar = extreme_point; + extreme_point = low; + af = _af_step; + } else { + if (high > extreme_point) { + extreme_point = high; + af = Math.Min(_af_max, af + _af_step); + } + } + } else { + if (i >= 1) { + double prev_high = rows[i - 1].get(_high_col, Double.NaN); + if (!Double.IsNaN(prev_high)) + next_sar = Math.Max(next_sar, prev_high); + } + if (i >= 2) { + double prev2_high = rows[i - 2].get(_high_col, Double.NaN); + if (!Double.IsNaN(prev2_high)) + next_sar = Math.Max(next_sar, prev2_high); + } + + if (high > next_sar) { + is_uptrend = true; + next_sar = extreme_point; + extreme_point = high; + af = _af_step; + } else { + if (low < extreme_point) { + extreme_point = low; + af = Math.Min(_af_max, af + _af_step); + } + } + } + + sar = next_sar; + sar_values[i] = sar; + trend_values[i] = is_uptrend ? "UP" : "DOWN"; + } + + return new ParabolicSarResult(sar_values, trend_values); + } + + void _validate_args() { + if (_parent_stream is null) + throw new ArgumentNullException(nameof(_parent_stream)); + if (String.IsNullOrWhiteSpace(_high_col)) + throw new ArgumentException("high_col cannot be null or empty.", nameof(_high_col)); + if (String.IsNullOrWhiteSpace(_low_col)) + throw new ArgumentException("low_col cannot be null or empty.", nameof(_low_col)); + if (String.IsNullOrWhiteSpace(_timestamp_col)) + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + if (_af_step <= 0.0) + throw new ArgumentException("af_step must be greater than zero.", nameof(_af_step)); + if (_af_max <= 0.0) + throw new ArgumentException("af_max must be greater than zero.", nameof(_af_max)); + if (_af_step > _af_max) + throw new ArgumentException("af_step must be less than or equal to af_max."); + } + + void _validate_input_schema(IBlueTableSchema schema) { + if (!schema.contains_column(_high_col)) + throw new ArgumentException($"Input stream does not contain high column '{_high_col}'."); + if (!schema.contains_column(_low_col)) + throw new ArgumentException($"Input stream does not contain low column '{_low_col}'."); + if (!schema.contains_column(_timestamp_col)) + throw new ArgumentException($"Input stream does not contain timestamp column '{_timestamp_col}'."); + if (schema.contains_column(psar_col_name) || schema.contains_column(psar_trend_col_name)) + throw new ArgumentException("Input stream already contains one or more Parabolic SAR output columns."); + } + + readonly struct ParabolicSarResult { + public ParabolicSarResult(List sar, List trend) { + Sar = sar; + Trend = trend; + } + + public List Sar { get; } + public List Trend { get; } + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/RSIStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/RSIStream.cs new file mode 100644 index 000000000..ecc4b6d41 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/RSIStream.cs @@ -0,0 +1,123 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + using BCG; + using bts; + using bts.SilverPine; + + /// + /// Computes the Relative Strength Index (RSI) for each incoming row using a + /// rolling window of prices and appends the result as an rsi column. + /// Expects the parent stream to provide price and timestamp columns. + /// + [DataStreamUserRespresentation("RSIStream")] + public class RSIStream : ViewStream { + const string default_price_col = "close"; + const string default_timestamp_col = "ts_event"; + const int default_period = 14; + const string output_col_name = "rsi"; + + readonly ViewStream _parent_stream; + readonly string _price_col; + readonly string _timestamp_col; + readonly int _period; + + public RSIStream(ViewStream parent_stream) + : this(parent_stream, default_price_col, default_period) { + } + + public RSIStream(ViewStream parent_stream, int period) + : this(parent_stream, default_price_col, period) { + } + + public RSIStream(ViewStream parent_stream, string price_col) + : this(parent_stream, price_col, default_period) { + } + + public RSIStream(ViewStream parent_stream, string price_col, int period) + : this(parent_stream, price_col, period, default_timestamp_col) { + } + + internal RSIStream(ViewStream parent_stream, string price_col, int period, string timestamp_col) { + _parent_stream = parent_stream; + _price_col = price_col; + _timestamp_col = timestamp_col; + _period = period; + _validate_args(); + } + + protected override void myOnFirstSubscriber() { + _parent_stream.onChange += _on_parent_stream_change; + } + + protected override void myOnLastSubscriber() { + _parent_stream.onChange -= _on_parent_stream_change; + } + + void _on_parent_stream_change(object dp_obj) { + var dp = dp_obj as DataPacket; + if (dp?.newRows is null) { + return; + } + + var input_rows = dp.newRows.Cast().ToList(); + if (input_rows.Count == 0) { + return; + } + + _validate_input_schema(dp.newRows.schema); + + var sorted_rows = input_rows + .OrderBy(r => r.get_datetime(_timestamp_col, DateTime.MinValue)) + .ThenBy(r => r.get("id", 0)) + .ToList(); + + var out_schema = dp.newRows.schema.add_columns(Tuple.Create(typeof(double), output_col_name)); + var out_table = new OrderedBlueTable(out_schema); + var prices = sorted_rows.Select(r => r.get(_price_col, Double.NaN)).ToList(); + + for (int i = 0; i < sorted_rows.Count; i++) { + var out_row = new MutableBlueRow(out_schema); + foreach (ColumnInfo ci in dp.newRows.schema.columnInfo) { + out_row.setValue(ci.colName, sorted_rows[i][ci.colNo]); + } + + int start_idx = Math.Max(0, i - _period); + var price_window = prices.Skip(start_idx).Take(i - start_idx + 1).ToList(); + out_row.setValue(output_col_name, IndicatorCalc.calculate_RSI(price_window, _period)); + out_table.addRow(out_row); + } + + var dp_out = BlueDataUtility.build_dp_inc(out_table, myLastValue as IDataPacket, true); + myFireEvent(dp_out); + } + + void _validate_args() { + if (_parent_stream is null) { + throw new ArgumentNullException(nameof(_parent_stream)); + } + if (String.IsNullOrWhiteSpace(_price_col)) { + throw new ArgumentException("price_col cannot be null or empty.", nameof(_price_col)); + } + if (String.IsNullOrWhiteSpace(_timestamp_col)) { + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + } + if (_period <= 0) { + throw new ArgumentException("period must be greater than zero.", nameof(_period)); + } + } + + void _validate_input_schema(IBlueTableSchema schema) { + if (!schema.contains_column(_price_col)) { + throw new ArgumentException($"Input stream does not contain price column '{_price_col}'."); + } + if (!schema.contains_column(_timestamp_col)) { + throw new ArgumentException($"Input stream does not contain timestamp column '{_timestamp_col}'."); + } + if (schema.contains_column(output_col_name)) { + throw new ArgumentException($"Input stream already contains column '{output_col_name}'."); + } + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/StochasticOscillatorStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/StochasticOscillatorStream.cs new file mode 100644 index 000000000..81fa60db6 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/StochasticOscillatorStream.cs @@ -0,0 +1,206 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + using BCG; + using bts; + + /// + /// Computes the stochastic oscillator for each incoming row and appends + /// stoch_k and stoch_d columns to the parent schema. + /// Expects the parent stream to provide high, low, close, and timestamp columns. + /// + /// Constructor arguments: + /// k_period controls the raw %K lookback window, d_period controls + /// the smoothing window for %D, and slowing_period optionally smooths raw + /// %K before %D is computed. Use slowing_period=1 for fast stochastic and + /// slowing_period=3 for the common slow stochastic form. + /// + [DataStreamUserRespresentation("StochasticOscillatorStream")] + public class StochasticOscillatorStream : ViewStream { + const string default_high_col = "high"; + const string default_low_col = "low"; + const string default_close_col = "close"; + const string default_timestamp_col = "ts_event"; + const int default_k_period = 14; + const int default_d_period = 3; + const int default_slowing_period = 1; + const string stoch_k_col_name = "stoch_k"; + const string stoch_d_col_name = "stoch_d"; + + readonly ViewStream _parent_stream; + readonly string _high_col; + readonly string _low_col; + readonly string _close_col; + readonly string _timestamp_col; + readonly int _k_period; + readonly int _d_period; + readonly int _slowing_period; + + public StochasticOscillatorStream(ViewStream parent_stream) + : this(parent_stream, default_k_period, default_d_period, default_slowing_period) { + } + + public StochasticOscillatorStream(ViewStream parent_stream, int k_period) + : this(parent_stream, k_period, default_d_period, default_slowing_period) { + } + + public StochasticOscillatorStream(ViewStream parent_stream, int k_period, int d_period) + : this(parent_stream, k_period, d_period, default_slowing_period) { + } + + public StochasticOscillatorStream(ViewStream parent_stream, int k_period, int d_period, int slowing_period) + : this(parent_stream, default_high_col, default_low_col, default_close_col, k_period, d_period, slowing_period) { + } + + public StochasticOscillatorStream(ViewStream parent_stream, + string high_col, + string low_col, + string close_col, + int k_period, + int d_period, + int slowing_period) + : this(parent_stream, high_col, low_col, close_col, k_period, d_period, slowing_period, default_timestamp_col) { + } + + internal StochasticOscillatorStream(ViewStream parent_stream, + string high_col, + string low_col, + string close_col, + int k_period, + int d_period, + int slowing_period, + string timestamp_col) { + _parent_stream = parent_stream; + _high_col = high_col; + _low_col = low_col; + _close_col = close_col; + _k_period = k_period; + _d_period = d_period; + _slowing_period = slowing_period; + _timestamp_col = timestamp_col; + _validate_args(); + } + + protected override void myOnFirstSubscriber() { + _parent_stream.onChange += _on_parent_stream_change; + } + + protected override void myOnLastSubscriber() { + _parent_stream.onChange -= _on_parent_stream_change; + } + + void _on_parent_stream_change(object dp_obj) { + var dp = dp_obj as DataPacket; + if (dp?.newRows is null) + return; + + var input_rows = dp.newRows.Cast().ToList(); + if (input_rows.Count == 0) + return; + + _validate_input_schema(dp.newRows.schema); + + var sorted_rows = input_rows + .OrderBy(r => r.get_datetime(_timestamp_col, DateTime.MinValue)) + .ThenBy(r => r.get("id", 0)) + .ToList(); + + var raw_k_values = _calculate_raw_k(sorted_rows); + var stoch_k_values = _calculate_sma(raw_k_values, _slowing_period); + var stoch_d_values = _calculate_sma(stoch_k_values, _d_period); + + var out_schema = dp.newRows.schema + .add_columns(Tuple.Create(typeof(double), stoch_k_col_name)) + .add_columns(Tuple.Create(typeof(double), stoch_d_col_name)); + var out_table = new OrderedBlueTable(out_schema); + + for (int i = 0; i < sorted_rows.Count; i++) { + var out_row = new MutableBlueRow(out_schema); + foreach (ColumnInfo ci in dp.newRows.schema.columnInfo) + out_row.setValue(ci.colName, sorted_rows[i][ci.colNo]); + + out_row.setValue(stoch_k_col_name, stoch_k_values[i]); + out_row.setValue(stoch_d_col_name, stoch_d_values[i]); + out_table.addRow(out_row); + } + + var dp_out = BlueDataUtility.build_dp_inc(out_table, myLastValue as IDataPacket, true); + myFireEvent(dp_out); + } + + List _calculate_raw_k(IReadOnlyList rows) { + var raw_k_values = Enumerable.Repeat(Double.NaN, rows.Count).ToList(); + + for (int i = 0; i < rows.Count; i++) { + if (i < _k_period - 1) + continue; + + var window = rows.Skip(i - _k_period + 1).Take(_k_period).ToList(); + var highs = window.Select(r => r.get(_high_col, Double.NaN)).ToList(); + var lows = window.Select(r => r.get(_low_col, Double.NaN)).ToList(); + double close = rows[i].get(_close_col, Double.NaN); + + if (Double.IsNaN(close) || highs.Any(Double.IsNaN) || lows.Any(Double.IsNaN)) + continue; + + double highest_high = highs.Max(); + double lowest_low = lows.Min(); + double range = highest_high - lowest_low; + + raw_k_values[i] = range == 0.0 ? 0.0 : ((close - lowest_low) / range) * 100.0; + } + + return raw_k_values; + } + + List _calculate_sma(IReadOnlyList values, int period) { + var smoothed = Enumerable.Repeat(Double.NaN, values.Count).ToList(); + + for (int i = 0; i < values.Count; i++) { + if (i < period - 1) + continue; + + var window = values.Skip(i - period + 1).Take(period).ToList(); + if (window.Any(Double.IsNaN)) + continue; + + smoothed[i] = window.Average(); + } + + return smoothed; + } + + void _validate_args() { + if (_parent_stream is null) + throw new ArgumentNullException(nameof(_parent_stream)); + if (String.IsNullOrWhiteSpace(_high_col)) + throw new ArgumentException("high_col cannot be null or empty.", nameof(_high_col)); + if (String.IsNullOrWhiteSpace(_low_col)) + throw new ArgumentException("low_col cannot be null or empty.", nameof(_low_col)); + if (String.IsNullOrWhiteSpace(_close_col)) + throw new ArgumentException("close_col cannot be null or empty.", nameof(_close_col)); + if (String.IsNullOrWhiteSpace(_timestamp_col)) + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + if (_k_period <= 0) + throw new ArgumentException("k_period must be greater than zero.", nameof(_k_period)); + if (_d_period <= 0) + throw new ArgumentException("d_period must be greater than zero.", nameof(_d_period)); + if (_slowing_period <= 0) + throw new ArgumentException("slowing_period must be greater than zero.", nameof(_slowing_period)); + } + + void _validate_input_schema(IBlueTableSchema schema) { + if (!schema.contains_column(_high_col)) + throw new ArgumentException($"Input stream does not contain high column '{_high_col}'."); + if (!schema.contains_column(_low_col)) + throw new ArgumentException($"Input stream does not contain low column '{_low_col}'."); + if (!schema.contains_column(_close_col)) + throw new ArgumentException($"Input stream does not contain close column '{_close_col}'."); + if (!schema.contains_column(_timestamp_col)) + throw new ArgumentException($"Input stream does not contain timestamp column '{_timestamp_col}'."); + if (schema.contains_column(stoch_k_col_name) || schema.contains_column(stoch_d_col_name)) + throw new ArgumentException("Input stream already contains one or more stochastic output columns."); + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/UI/MACDUIStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/UI/MACDUIStream.cs new file mode 100644 index 000000000..b38925823 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/UI/MACDUIStream.cs @@ -0,0 +1,41 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + + using BCG; + + using bts; + using bts.SilverPine; + using bts.BlueOrb; + [DataStreamUserRespresentation("MACDUIStream")] + public class MACDUIStream : ViewStream { + public MACDUIStream(string symbol, + string bar_type, double bar_size, + int fast, int slow, int signal) { + + ViewStream trades; + ViewStream v_bars; + ViewStream ha_bars; + ViewStream macd; + + trades = new LiveTradeStream(symbol); + // this needs to be held in some common state so we have + v_bars = new BarBuilderStream(trades, + bar_type, + bar_size, + "trade_price", + "trade_size", + "ts_event"); + ha_bars = new HeikinAshiStream(v_bars, + "open", + "high", + "low", + "close"); + macd = new MACDStream(ha_bars, + "ha_close", + fast, slow, signal); + mySetRealSource(macd); + } + } +} \ No newline at end of file diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/UI/RSIUIStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/UI/RSIUIStream.cs new file mode 100644 index 000000000..f28b52f6a --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/UI/RSIUIStream.cs @@ -0,0 +1,40 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + + using BCG; + + using bts; + using bts.SilverPine; + using bts.BlueOrb; + [DataStreamUserRespresentation("RSIUIStream")] + public class RSIUIStream : ViewStream { + public RSIUIStream(string symbol, string bar_type, + double bar_size, double period) { + + ViewStream trades; + ViewStream v_bars; + ViewStream ha_bars; + ViewStream rsi; + + trades = new LiveTradeStream(symbol); + v_bars = new BarBuilderStream(trades, + bar_type, + bar_size, + "trade_price", + "trade_size", + "ts_event"); + ha_bars = new HeikinAshiStream(v_bars, + "open", + "high", + "low", + "close"); + rsi = new RSIStream(ha_bars, + "ha_close", + Convert.ToInt32(period)); + + mySetRealSource(rsi); + } + } +} \ No newline at end of file diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/UI/StochasticOscillatorUIStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/UI/StochasticOscillatorUIStream.cs new file mode 100644 index 000000000..276cb0d64 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/UI/StochasticOscillatorUIStream.cs @@ -0,0 +1,43 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + + using BCG; + + using bts; + using bts.SilverPine; + using bts.BlueOrb; + [DataStreamUserRespresentation("StochasticOscillatorUIStream")] + public class StochasticOscillatorUIStream : ViewStream { + public StochasticOscillatorUIStream( + string symbol, + string bar_type, double bar_size, + int k_period, int d_period, int slowing_period + ) { + + ViewStream trades; + ViewStream v_bars; + ViewStream ha_bars; + ViewStream macd; + + trades = new LiveTradeStream(symbol); + // this needs to be held in some common state so we have + v_bars = new BarBuilderStream(trades, + bar_type, + bar_size, + "trade_price", + "trade_size", + "ts_event"); + ha_bars = new HeikinAshiStream(v_bars, + "open", + "high", + "low", + "close"); + macd = new StochasticOscillatorStream(ha_bars, "ha_high", "ha_low", "ha_close", + k_period, d_period, slowing_period); + + mySetRealSource(macd); + } + } +} \ No newline at end of file diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/VWAPStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/VWAPStream.cs new file mode 100644 index 000000000..698695742 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/VWAPStream.cs @@ -0,0 +1,80 @@ +namespace BlueOrb.Operators.Signal { + using System; + + using BlueOrb.Operators.Core; + + using BCG; + + using bts; + using bts.BlueOrb; + + /// + /// Computes a rolling Volume Weighted Average Price (VWAP) and appends a + /// vwap column to each incoming row. + /// Expects the parent stream to provide price, volume, and timestamp columns. + /// + /// Constructor arguments: + /// price_col and volume_col select the source series used in + /// the VWAP calculation, and window_rows controls how many of the most + /// recent rows are included in the rolling window for each output row. + /// + [DataStreamUserRespresentation("VWAPStream")] + public class VWAPStream : ViewStream { + const string default_price_col = "close"; + const string default_volume_col = "volume"; + const string default_timestamp_col = "ts_event"; + const int default_window_rows = 20; + const string output_col_name = "vwap"; + const string helper_notional_col = "vwap_notional_helper"; + + readonly ViewStream _parent_stream; + readonly string _price_col; + readonly string _volume_col; + readonly string _timestamp_col; + readonly int _window_rows; + + public VWAPStream(ViewStream parent_stream) + : this(parent_stream, default_price_col, default_volume_col, default_window_rows) { + } + + public VWAPStream(ViewStream parent_stream, int window_rows) + : this(parent_stream, default_price_col, default_volume_col, window_rows) { + } + + public VWAPStream(ViewStream parent_stream, string price_col, string volume_col, int window_rows) + : this(parent_stream, price_col, volume_col, window_rows, default_timestamp_col) { + } + + internal VWAPStream(ViewStream parent_stream, + string price_col, + string volume_col, + int window_rows, + string timestamp_col) { + _parent_stream = parent_stream; + _price_col = price_col; + _volume_col = volume_col; + _window_rows = window_rows; + _timestamp_col = timestamp_col; + _validate_args(); + + ViewStream rs = new bts.BlueOrb.MathStream(parent_stream, $"{helper_notional_col} = {_price_col} * {_volume_col}"); + rs = new MultiRowRollingMathStream(rs, $"{helper_notional_col}:Sum, {_volume_col}:Sum", $"-{_timestamp_col}", _window_rows); + rs = new bts.BlueOrb.MathStream(rs, $"{output_col_name} = {helper_notional_col}_sum / {_volume_col}_sum"); + rs = new HideColumnsStream(rs, $"{helper_notional_col} {helper_notional_col}_sum {_volume_col}_sum"); + mySetRealSource(rs); + } + + void _validate_args() { + if (_parent_stream is null) + throw new ArgumentNullException(nameof(_parent_stream)); + if (String.IsNullOrWhiteSpace(_price_col)) + throw new ArgumentException("price_col cannot be null or empty.", nameof(_price_col)); + if (String.IsNullOrWhiteSpace(_volume_col)) + throw new ArgumentException("volume_col cannot be null or empty.", nameof(_volume_col)); + if (String.IsNullOrWhiteSpace(_timestamp_col)) + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + if (_window_rows <= 0) + throw new ArgumentException("window_rows must be greater than zero.", nameof(_window_rows)); + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/VolumeProfileStream.cs b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/VolumeProfileStream.cs new file mode 100644 index 000000000..3c17d4d0f --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/VolumeProfileStream.cs @@ -0,0 +1,246 @@ +namespace BlueOrb.Operators.Signal { + using System; + using System.Collections.Generic; + using System.Linq; + + using BCG; + + using bts; + + /// + /// Computes a simple rolling volume profile for each incoming row and appends + /// vp_poc, vp_value_area_low, and vp_value_area_high to + /// the parent schema. The profile is built from the most recent + /// window_rows rows using price buckets of width bin_size_ticks. + /// + /// Constructor arguments: + /// bin_size_ticks is the bucket width used to group prices, and + /// window_rows is the rolling lookback size used for each profile. + /// Larger windows smooth the structure while smaller windows react faster. + /// + [DataStreamUserRespresentation("VolumeProfileStream")] + public class VolumeProfileStream : ViewStream { + const string default_price_col = "close"; + const string default_volume_col = "volume"; + const string default_timestamp_col = "ts_event"; + const double default_bin_size_ticks = 1.0; + const int default_window_rows = 20; + const double default_value_area_fraction = 0.70; + const string poc_col_name = "vp_poc"; + const string value_area_low_col_name = "vp_value_area_low"; + const string value_area_high_col_name = "vp_value_area_high"; + + readonly ViewStream _parent_stream; + readonly string _price_col; + readonly string _volume_col; + readonly string _timestamp_col; + readonly double _bin_size_ticks; + readonly int _window_rows; + readonly double _value_area_fraction; + + public VolumeProfileStream(ViewStream parent_stream) + : this(parent_stream, default_bin_size_ticks, default_window_rows) { + } + + public VolumeProfileStream(ViewStream parent_stream, double bin_size_ticks, int window_rows) + : this(parent_stream, default_price_col, default_volume_col, bin_size_ticks, window_rows) { + } + + public VolumeProfileStream(ViewStream parent_stream, + string price_col, + string volume_col, + double bin_size_ticks, + int window_rows) + : this(parent_stream, price_col, volume_col, bin_size_ticks, window_rows, default_timestamp_col) { + } + + internal VolumeProfileStream(ViewStream parent_stream, + string price_col, + string volume_col, + double bin_size_ticks, + int window_rows, + string timestamp_col) + : this(parent_stream, price_col, volume_col, bin_size_ticks, window_rows, timestamp_col, default_value_area_fraction) { + } + + internal VolumeProfileStream(ViewStream parent_stream, + string price_col, + string volume_col, + double bin_size_ticks, + int window_rows, + string timestamp_col, + double value_area_fraction) { + _parent_stream = parent_stream; + _price_col = price_col; + _volume_col = volume_col; + _bin_size_ticks = bin_size_ticks; + _window_rows = window_rows; + _timestamp_col = timestamp_col; + _value_area_fraction = value_area_fraction; + _validate_args(); + } + + protected override void myOnFirstSubscriber() { + _parent_stream.onChange += _on_parent_stream_change; + } + + protected override void myOnLastSubscriber() { + _parent_stream.onChange -= _on_parent_stream_change; + } + + void _on_parent_stream_change(object dp_obj) { + var dp = dp_obj as DataPacket; + if (dp?.newRows is null) + return; + + var input_rows = dp.newRows.Cast().ToList(); + if (input_rows.Count == 0) + return; + + _validate_input_schema(dp.newRows.schema); + + var sorted_rows = input_rows + .OrderBy(r => r.get_datetime(_timestamp_col, DateTime.MinValue)) + .ThenBy(r => r.get("id", 0)) + .ToList(); + + var profile = _calculate_profiles(sorted_rows); + var out_schema = dp.newRows.schema + .add_columns(Tuple.Create(typeof(double), poc_col_name)) + .add_columns(Tuple.Create(typeof(double), value_area_low_col_name)) + .add_columns(Tuple.Create(typeof(double), value_area_high_col_name)); + var out_table = new OrderedBlueTable(out_schema); + + for (int i = 0; i < sorted_rows.Count; i++) { + var out_row = new MutableBlueRow(out_schema); + foreach (ColumnInfo ci in dp.newRows.schema.columnInfo) + out_row.setValue(ci.colName, sorted_rows[i][ci.colNo]); + + out_row.setValue(poc_col_name, profile.Poc[i]); + out_row.setValue(value_area_low_col_name, profile.ValueAreaLow[i]); + out_row.setValue(value_area_high_col_name, profile.ValueAreaHigh[i]); + out_table.addRow(out_row); + } + + var dp_out = BlueDataUtility.build_dp_inc(out_table, myLastValue as IDataPacket, true); + myFireEvent(dp_out); + } + + VolumeProfileResult _calculate_profiles(IReadOnlyList rows) { + int count = rows.Count; + var poc_values = Enumerable.Repeat(Double.NaN, count).ToList(); + var value_area_low_values = Enumerable.Repeat(Double.NaN, count).ToList(); + var value_area_high_values = Enumerable.Repeat(Double.NaN, count).ToList(); + + for (int i = 0; i < count; i++) { + int start_idx = Math.Max(0, i - _window_rows + 1); + var volume_by_bucket = new Dictionary(); + + for (int j = start_idx; j <= i; j++) { + double price = rows[j].get(_price_col, Double.NaN); + double volume = rows[j].get(_volume_col, Double.NaN); + if (Double.IsNaN(price) || Double.IsNaN(volume) || volume < 0.0) + continue; + + double bucket = _bucket_price(price); + if (!volume_by_bucket.ContainsKey(bucket)) + volume_by_bucket[bucket] = 0.0; + volume_by_bucket[bucket] += volume; + } + + if (volume_by_bucket.Count == 0) + continue; + + var ordered_buckets = volume_by_bucket.Keys.OrderBy(x => x).ToList(); + double total_volume = volume_by_bucket.Values.Sum(); + if (total_volume <= 0.0) + continue; + + double poc_bucket = ordered_buckets + .OrderByDescending(b => volume_by_bucket[b]) + .ThenBy(b => b) + .First(); + + int poc_index = ordered_buckets.IndexOf(poc_bucket); + int low_index = poc_index; + int high_index = poc_index; + double accumulated_volume = volume_by_bucket[poc_bucket]; + double target_volume = total_volume * _value_area_fraction; + + while (accumulated_volume < target_volume && (low_index > 0 || high_index < ordered_buckets.Count - 1)) { + double left_volume = low_index > 0 ? volume_by_bucket[ordered_buckets[low_index - 1]] : Double.NegativeInfinity; + double right_volume = high_index < ordered_buckets.Count - 1 ? volume_by_bucket[ordered_buckets[high_index + 1]] : Double.NegativeInfinity; + + if (right_volume > left_volume) { + high_index++; + accumulated_volume += volume_by_bucket[ordered_buckets[high_index]]; + } else if (left_volume > Double.NegativeInfinity) { + low_index--; + accumulated_volume += volume_by_bucket[ordered_buckets[low_index]]; + } else if (right_volume > Double.NegativeInfinity) { + high_index++; + accumulated_volume += volume_by_bucket[ordered_buckets[high_index]]; + } else { + break; + } + } + + poc_values[i] = _bucket_center(poc_bucket); + value_area_low_values[i] = ordered_buckets[low_index]; + value_area_high_values[i] = ordered_buckets[high_index] + _bin_size_ticks; + } + + return new VolumeProfileResult(poc_values, value_area_low_values, value_area_high_values); + } + + double _bucket_price(double price) { + return Math.Floor(price / _bin_size_ticks) * _bin_size_ticks; + } + + double _bucket_center(double bucket_start) { + return bucket_start + (_bin_size_ticks / 2.0); + } + + void _validate_args() { + if (_parent_stream is null) + throw new ArgumentNullException(nameof(_parent_stream)); + if (String.IsNullOrWhiteSpace(_price_col)) + throw new ArgumentException("price_col cannot be null or empty.", nameof(_price_col)); + if (String.IsNullOrWhiteSpace(_volume_col)) + throw new ArgumentException("volume_col cannot be null or empty.", nameof(_volume_col)); + if (String.IsNullOrWhiteSpace(_timestamp_col)) + throw new ArgumentException("timestamp_col cannot be null or empty.", nameof(_timestamp_col)); + if (_bin_size_ticks <= 0.0) + throw new ArgumentException("bin_size_ticks must be greater than zero.", nameof(_bin_size_ticks)); + if (_window_rows <= 0) + throw new ArgumentException("window_rows must be greater than zero.", nameof(_window_rows)); + if (_value_area_fraction <= 0.0 || _value_area_fraction > 1.0) + throw new ArgumentException("value_area_fraction must be in the interval (0, 1].", nameof(_value_area_fraction)); + } + + void _validate_input_schema(IBlueTableSchema schema) { + if (!schema.contains_column(_price_col)) + throw new ArgumentException($"Input stream does not contain price column '{_price_col}'."); + if (!schema.contains_column(_volume_col)) + throw new ArgumentException($"Input stream does not contain volume column '{_volume_col}'."); + if (!schema.contains_column(_timestamp_col)) + throw new ArgumentException($"Input stream does not contain timestamp column '{_timestamp_col}'."); + if (schema.contains_column(poc_col_name) || + schema.contains_column(value_area_low_col_name) || + schema.contains_column(value_area_high_col_name)) + throw new ArgumentException("Input stream already contains one or more volume profile output columns."); + } + + readonly struct VolumeProfileResult { + public VolumeProfileResult(List poc, List value_area_low, List value_area_high) { + Poc = poc; + ValueAreaLow = value_area_low; + ValueAreaHigh = value_area_high; + } + + public List Poc { get; } + public List ValueAreaLow { get; } + public List ValueAreaHigh { get; } + } + } +} diff --git a/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/signal_operator_pack_v3.md b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/signal_operator_pack_v3.md new file mode 100644 index 000000000..501b10c58 --- /dev/null +++ b/src/DataStreamSuite/SharedStreams/BlueOrb/OperatorPacks/Signals/signal_operator_pack_v3.md @@ -0,0 +1,86 @@ +# Signal Operator Pack v3.0 + +Guide spec for implementing streaming trading-signal operators in BlueOrb. This revision keeps the implemented operators aligned with the current code and adds concrete constructor and output-schema details for the planned operators. + +## Conventions +- All operators take `parent_stream` as the first constructor arg unless noted otherwise. +- Unless otherwise noted, operators expect a `ts_event` timestamp column for deterministic ordering. +- Operators append columns to the incoming schema and should reject input streams that already contain their output column names. +- Warmup periods may emit `Double.NaN` until enough observations are available. + +## Phase Summary +- Phase 0: Indicator transforms +- Phase 1: Events / normalization +- Phase 2: Setups +- Phase 3: Decision / scoring +- Phase 4: Risk / stop logic +- Phase 5: Session / context + +## Phase 0 - Indicator Transforms + +| Operator name | Phase | Data used | Description | Constructor arguments | Complete output schema | +| --- | --- | --- | --- | --- | --- | +| `BarBuilderStream` | 0 | Tick/trade stream with price, size, timestamp | Aggregates event-level market data into derived bars using time, tick, volume, or dollar thresholds. Foundational transform for later OHLCV-based indicators. | `price_stream`: upstream event stream.
`bar_type`: `TIME`, `TICK`, `VOLUME`, `DOLLAR`.
`bar_size`: seconds, event count, total volume, or notional depending on `bar_type`.
`show_open_bars`: whether the in-progress bar is emitted.
`schema_info`: `BarBuilderSchemaInfo` with `price_col="trade_price"`, `volume_col="trade_size"`, `timestamp_col="ts_event"`. | Parent stream transformed into bar rows with `id`, `ts_event`, `bar_start_ts`, `bar_end_ts`, `open`, `high`, `low`, `close`, `volume`, `notional`, `trade_count`, `n_events`, `vwap`, `is_active` | +| `MovingAverageStream` | 0 | Bars (OHLCV) or price stream | Computes a moving average over a rolling window. Supports `SMA`, `EMA`, and `WMA`. Intended for trend filters, support/resistance, and crossover inputs. | `parent_stream`: upstream stream containing a price series.
`price_col`: column to average, default `close`.
`period`: lookback length.
`method`: `"SMA"`, `"EMA"`, `"WMA"` or `MovingAverageMethod`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `moving_average` | +| `MACDStream` | 0 | Bars or price stream | Computes MACD line, signal line, and histogram from a price series. Used for momentum shifts, trend continuation, and crossover-style signals. | `parent_stream`: upstream stream with price series.
`price_col`: price column, default `close`.
`fast`: fast EMA period, default `12`.
`slow`: slow EMA period, default `26`.
`signal`: signal EMA period, default `9`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `macd`, `macd_signal`, `macd_histogram` | +| `RSIStream` | 0 | Bars or price stream | Computes Relative Strength Index over a rolling price window. Used for overbought/oversold detection and momentum regime checks. | `parent_stream`: upstream stream with price series.
`price_col`: price column, default `close`.
`period`: lookback length, default `14`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `rsi` | +| `ATRStream` | 0 | Bars (OHLC) | Computes Average True Range as a volatility measure using true range. Provides both absolute ATR and ATR in basis points relative to a reference price for normalization. | `parent_stream`: upstream stream with `high`, `low`, `close`.
`high_col`: default `high`.
`low_col`: default `low`.
`close_col`: default `close`.
`period`: lookback length, default `14`.
`ref_price_col`: normalization price, default `close`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `atr`, `atr_bps` | +| `ADXStream` | 0 | Bars (OHLC) | Computes ADX trend strength plus directional indicators `+DI` and `-DI`. Useful for trend-vs-range filtering and breakout confirmation. | `parent_stream`: upstream stream with `high`, `low`, `close`.
`high_col`: default `high`.
`low_col`: default `low`.
`close_col`: default `close`.
`period`: lookback length, default `14`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `adx`, `plus_di`, `minus_di` | +| `StochasticOscillatorStream` | 0 | Bars (OHLC) | Computes stochastic oscillator `%K` and `%D`. Supports fast and slow variants for momentum turns, overbought/oversold checks, and cross signals. | `parent_stream`: upstream stream with `high`, `low`, `close`.
`high_col`: default `high`.
`low_col`: default `low`.
`close_col`: default `close`.
`k_period`: `%K` lookback, default `14`.
`d_period`: smoothing for `%D`, default `3`.
`slowing_period`: optional smoothing applied to raw `%K` before `%D`; use `1` for fast stochastic and `3` for the common slow stochastic form, default `1`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `stoch_k`, `stoch_d` | +| `ParabolicSARStream` | 0 | Bars (OHLC) | Computes Parabolic SAR as a stop-and-reverse level. Often used as a trailing stop reference and trend-following reversal marker. | `parent_stream`: upstream stream with `high`, `low`.
`high_col`: default `high`.
`low_col`: default `low`.
`af_step`: acceleration factor step, default `0.02`.
`af_max`: max acceleration factor, default `0.20`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `psar`, `psar_trend` | +| `VWAPStream` | 0 | Intraday bars or trades with volume | Computes rolling VWAP over the most recent N rows. Intended for near-term price context and mean-reversion workflows when used on bar or trade streams. | `parent_stream`: upstream stream with price and volume.
`price_col`: default `close`.
`volume_col`: default `volume`.
`window_rows`: number of recent rows included in each VWAP calculation, default `20`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `vwap` | +| `VolumeProfileStream` | 0 | Bars or trades with price and volume | Computes point of control and value area levels over a rolling row-based window. Useful for intraday structure and acceptance/rejection context. | `parent_stream`: upstream stream with price and volume.
`price_col`: default `close`.
`volume_col`: default `volume`.
`bin_size_ticks`: price bucket width used to group prices, default `1.0`.
`window_rows`: rolling lookback size, default `20`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `vp_poc`, `vp_value_area_low`, `vp_value_area_high` | + +## Phase 1 - Events / Normalization + +| Operator name | Phase | Data used | Description | Constructor arguments | Complete output schema | +| --- | --- | --- | --- | --- | --- | +| `CrossSignalStream` | 1 | Two numeric series, or one series plus threshold | Detects when one series crosses another series or a fixed level. Useful for MA crossovers, zero-line crosses, and regime changes. | `parent_stream`: upstream stream.
`left_col`: primary series.
`right_col`: comparison series in series-vs-series mode.
`threshold_value`: fixed comparison level in threshold mode.
`emit_state`: whether to emit persistent state.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `cross_flag`, `cross_direction`, `cross_state` | +| `ThresholdSignalStream` | 1 | Single numeric series | Detects threshold entry, exit, and state for a numeric series. Covers simple above/below triggers as well as bounded zones. | `parent_stream`: upstream stream.
`value_col`: series being tested.
`threshold_value`: scalar threshold for one-sided checks.
`lower_bound`, `upper_bound`: range thresholds for band checks.
`threshold_type`: `"above"`, `"below"`, `"inside_band"`, `"outside_band"`.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `threshold_flag`, `threshold_type`, `threshold_state` | +| `VWAPDeviationStream` | 1 | Price stream with VWAP column | Measures distance between price and VWAP in absolute, percent, and z-score terms for normalization and setup logic. | `parent_stream`: upstream stream.
`price_col`: default `close`.
`vwap_col`: default `vwap`.
`z_window`: rolling window for z-score normalization.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `vwap_diff`, `vwap_diff_pct`, `vwap_z` | +| `ATRPercentileStream` | 1 | Stream with ATR column | Computes rolling percentile rank of ATR to normalize current volatility regime against recent history. | `parent_stream`: upstream stream.
`atr_col`: default `atr`.
`lookback`: percentile lookback window.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `atr_pct_rank` | +| `DebounceStream` | 1 | Boolean trigger stream | Suppresses repeated boolean triggers until a minimum row-based or time-based cooldown has elapsed. | `parent_stream`: upstream stream.
`flag_col`: boolean trigger input.
`cooldown_rows`: minimum rows between true emissions.
`cooldown_ms`: optional minimum elapsed milliseconds.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `debounced_flag` | + +## Phase 2 - Setups + +| Operator name | Phase | Data used | Description | Constructor arguments | Complete output schema | +| --- | --- | --- | --- | --- | --- | +| `TrendRegimeStream` | 2 | Trend features such as MAs and ADX | Classifies trend environment using direct trend columns or derived features like MA spread and ADX. Intended to separate trend, range, and transition states. | `parent_stream`: upstream stream.
`trend_col`, `strength_col`: direct trend inputs when already available.
`fast_ma_col`, `slow_ma_col`, `adx_col`: derived-feature inputs when classifying from indicators.
`adx_threshold`: cutoff for trend-strength gating.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `trend_regime`, `trend_strength` | +| `MeanReversionSetupStream` | 2 | RSI, deviation, optional regime context | Flags mean-reversion conditions from stretched price, overbought/oversold state, and optional regime filtering. | `parent_stream`: upstream stream.
`rsi_col`: RSI input.
`deviation_col` or `vwap_z_col`: stretch input.
`trend_regime_col`: optional regime filter.
`oversold_level`: long-side RSI threshold.
`overbought_level`: short-side RSI threshold.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `mr_flag`, `mr_side`, `mr_strength` | +| `BreakoutSetupStream` | 2 | Price plus breakout/reference levels | Flags breakout conditions using price relative to breakout levels, with optional volume and ATR confirmation. | `parent_stream`: upstream stream.
`price_col`: default `close`.
`breakout_level_col`: level being challenged or broken.
`volume_col`: optional participation filter.
`atr_col`: optional volatility normalization input.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `breakout_flag`, `breakout_side`, `breakout_strength` | +| `VolatilityCompressionExpansionStream` | 2 | ATR and optional ATR percentile | Detects compression and expansion phases in volatility, useful for anticipating breakout conditions or filtering mean-reversion entries. | `parent_stream`: upstream stream.
`atr_col`: ATR input.
`atr_pct_rank_col`: optional percentile-normalized ATR input.
`lookback`: local comparison window when used.
`compression_threshold`: low-volatility cutoff.
`expansion_threshold`: high-volatility cutoff.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `vol_compress_flag`, `vol_expand_flag`, `vol_regime` | + +## Phase 3 - Decision / Scoring + +| Operator name | Phase | Data used | Description | Constructor arguments | Complete output schema | +| --- | --- | --- | --- | --- | --- | +| `ConfluenceScoreStream` | 3 | Multiple normalized feature columns | Aggregates several signal features into a weighted composite score and maps that score into a high-level label. | `parent_stream`: upstream stream.
`feature_cols`: array of numeric feature columns.
`weights`: per-feature weights aligned with `feature_cols`.
`long_threshold`: label threshold for long bias.
`short_threshold`: label threshold for short bias.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `signal_score`, `signal_label` | +| `EntryExitSignalStream` | 3 | Score column and optional setup flag | Converts score and setup context into explicit entry and exit decisions suitable for downstream execution or analysis. | `parent_stream`: upstream stream.
`score_col`: numeric score input.
`setup_flag_col`: optional boolean setup qualifier.
`entry_threshold`: level required to open a position.
`exit_threshold`: level required to flatten or exit.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `entry_flag`, `exit_flag`, `trade_side`, `reason` | + +## Phase 4 - Risk / Stops + +| Operator name | Phase | Data used | Description | Constructor arguments | Complete output schema | +| --- | --- | --- | --- | --- | --- | +| `ATRStopStream` | 4 | Entry price, ATR, optional trade side | Computes an ATR-based stop level using entry price and volatility. Intended for dynamic risk bands that scale with current market conditions. | `parent_stream`: upstream stream.
`entry_price_col`: entry or anchor price.
`atr_col`: ATR input.
`trade_side_col`: optional side context.
`atr_multiple`: ATR multiplier used to place the stop.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `stop_price_atr` | +| `ParabolicSARStopStream` | 4 | PSAR column and optional trade side | Exposes a stop level derived from Parabolic SAR. Suitable when the PSAR stream is already part of the stack. | `parent_stream`: upstream stream.
`psar_col`: default `psar`.
`trade_side_col`: optional side context.
`timestamp_col`: internal arg, default `ts_event`. | Parent schema + `stop_price_psar` | + +## Phase 5 - Session / Context + +| Operator name | Phase | Data used | Description | Constructor arguments | Complete output schema | +| --- | --- | --- | --- | --- | --- | +| `SessionContextStream` | 5 | Any stream with timestamps | Tags each row with session identity and common intraday context windows such as opening or settlement periods. Useful for time-of-day filtering and reset-aware indicators. | `parent_stream`: upstream stream.
`timestamp_col`: default `ts_event`.
`session_timezone`: trading session timezone.
`opening_window`: duration treated as opening window.
`settlement_window`: duration treated as settlement window.
`trading_day_start`: internal arg for non-midnight trading days. | Parent schema + `session_tag`, `is_opening_window`, `is_settlement_window`, `session_id` | + +## LL's Signals + +| LL signal | Operator mapping | +| --- | --- | +| `MACD` | `MACDStream` | +| `RSI` | `RSIStream` | +| `Moving Averages (SMA, EMA, WMA)` | `MovingAverageStream` | +| `Volume Profile` | `VolumeProfileStream` | +| `VWAP` | `VWAPStream` | +| `ATR` | `ATRStream` | +| `ADX` | `ADXStream` | +| `Fast Stochastic` | `StochasticOscillatorStream` with `slowing_period=1` | +| `Slow Stochastic` | `StochasticOscillatorStream` with `slowing_period=3` | +| `Parabolic SAR (used occasionally)` | `ParabolicSARStream` | diff --git a/src/DataStreamSuite/SharedStreams/Business/MarketData/Analytics/RSIStream.cs b/src/DataStreamSuite/SharedStreams/Business/MarketData/Analytics/RSIStream.cs deleted file mode 100644 index 9aa58e72d..000000000 --- a/src/DataStreamSuite/SharedStreams/Business/MarketData/Analytics/RSIStream.cs +++ /dev/null @@ -1,26 +0,0 @@ -namespace bts.SilverPine { - using BCG; - - using bts; - - [DataStreamUserRespresentation("RSI")] - public class RSIStream : ViewStream { - // public RSIStream(ViewStreamDatabase vsd, string symbol, int n_days) { - - // } - - public RSIStream(ViewStream instrument_ohlc_str, int period) { - GlobalMapStream rs = new GlobalMapStream(instrument_ohlc_str, "ts_event", "contract", - (rows, idx) => { - IBlueRow ir = rows.ElementAt((int)idx); - IEnumerable closes = BlueDataUtility.get_colvalues(rows, "close", (int)idx + 1, period + 2); - double rsi = IndicatorCalc.calculate_RSI(closes.ToList(), period); - IBlueTableSchema schema = ir.schema.add_columns(Tuple.Create(typeof(double), "rsi")); - MutableBlueRow nr = new MutableBlueRow(schema, ir); - nr.setValue("rsi", rsi); - return nr; - }); - mySetRealSource(rs); - } - } -} \ No newline at end of file diff --git a/src/DataStreamSuite/SharedStreams/System/PS3/Health/DeadPublisherTagsStream.cs b/src/DataStreamSuite/SharedStreams/System/PS3/Health/DeadPublisherTagsStream.cs index b181d32bb..1fe27cdf4 100644 --- a/src/DataStreamSuite/SharedStreams/System/PS3/Health/DeadPublisherTagsStream.cs +++ b/src/DataStreamSuite/SharedStreams/System/PS3/Health/DeadPublisherTagsStream.cs @@ -1,21 +1,21 @@ -using bts; +// using bts; -using Bts.PubSub; +// using Bts.PubSub; -namespace BCG { - /// - /// List of all the tags that result from a - /// dead publisher, ie tags that have data - /// but no active publisher - /// - [DataStreamUserRespresentation(/*"deadPublisherTags"*/ false)] - public class DeadPublisherTagsStream : ViewStream { - public DeadPublisherTagsStream(ISubscriberCoreFactory subscriberCoreFactory, ViewStreamDatabase viewStreamDatabase) { - ViewStream serverState = new PubSubServerStateStream(subscriberCoreFactory, viewStreamDatabase); - serverState = new FilterStream(serverState, "publishers='' and deadPublishers<>''"); - serverState = new ProjectStream(serverState, "!subscribers publishers deadPublishers"); - mySetRealSource(serverState); - } +// namespace BCG { +// /// +// /// List of all the tags that result from a +// /// dead publisher, ie tags that have data +// /// but no active publisher +// /// +// [DataStreamUserRespresentation(/*"deadPublisherTags"*/ false)] +// public class DeadPublisherTagsStream : ViewStream { +// public DeadPublisherTagsStream(ISubscriberCoreFactory subscriberCoreFactory, ViewStreamDatabase viewStreamDatabase) { +// ViewStream serverState = new PubSubServerStateStream(subscriberCoreFactory, viewStreamDatabase); +// serverState = new FilterStream(serverState, "publishers='' and deadPublishers<>''"); +// serverState = new ProjectStream(serverState, "!subscribers publishers deadPublishers"); +// mySetRealSource(serverState); +// } - } -} +// } +// } diff --git a/src/DataStreamSuite/SharedStreams/System/PS3/Stats/PubSubServerTagStatsStream.cs b/src/DataStreamSuite/SharedStreams/System/PS3/Stats/PubSubServerTagStatsStream.cs index 99ac41db8..ea413fcdc 100644 --- a/src/DataStreamSuite/SharedStreams/System/PS3/Stats/PubSubServerTagStatsStream.cs +++ b/src/DataStreamSuite/SharedStreams/System/PS3/Stats/PubSubServerTagStatsStream.cs @@ -3,17 +3,22 @@ using BCG.Utilities.General; using Bts.PubSub; using Bts.SharedStreams.Tables; +using bts; -namespace bts { +namespace BlueOrb.Pubsub.Diagnostics { // TODO: Use dependency injection to instantiate this stream, and others like it that depend on // ISubscriberCore(Factory). Until then, hide it from DSQA. - [DataStreamUserRespresentation(/*"pss_stats"*/ false)] + [DataStreamUserRespresentation("pss_stats")] public class PubSubServerTagStatsStream : ViewStream, IWorker { readonly ISubscriberCore _sub_core; private ViewStreamDatabase _vsd; private IDictionary _tag_map = new Dictionary(); + + public PubSubServerTagStatsStream() + : this(new SubscriberCoreFactory(), ViewStreamDatabase.instance) { } + public PubSubServerTagStatsStream(ISubscriberCoreFactory subscriberCoreFactory, ViewStreamDatabase vsd) : this(subscriberCoreFactory.Create(), vsd) { } diff --git a/src/DataStreamSuite/SharedStreams/System/PS3/Subscription/PubSubServerStateStream.cs b/src/DataStreamSuite/SharedStreams/System/PS3/Subscription/PubSubServerStateStream.cs index afab38169..07a4c0a64 100644 --- a/src/DataStreamSuite/SharedStreams/System/PS3/Subscription/PubSubServerStateStream.cs +++ b/src/DataStreamSuite/SharedStreams/System/PS3/Subscription/PubSubServerStateStream.cs @@ -5,85 +5,18 @@ using Bts.PubSub; using Bts.SharedStreams.Tables; using Spark.Core.Diagnostics; +using bts; -namespace bts { - /// - /// Gets the subscription and publication state for one - /// server. - /// - // TODO: Use dependency injection to instantiate this stream, and others like it that depend on - // ISubscriberCore(Factory). - [DataStreamUserRespresentation("pss_state")] - public class PubSubServerStateStream : ViewStream, IWorker { - private IDictionary _tag_map = new Dictionary(); - private readonly string _tag = "System_AllSubscriptions"; - - readonly ISubscriberCore _sub_core; - private ViewStreamDatabase _vsd; +namespace BlueOrb.Pubsub.Diagnostics { + [DataStreamUserRespresentation("PubSubServerStateStream")] + public class PubSubServerStateStream : ViewStream { public PubSubServerStateStream() - : this(new SubscriberCoreFactory(), ViewStreamDatabase.instance) { } - - public PubSubServerStateStream(ISubscriberCoreFactory subscriberCoreFactory, ViewStreamDatabase vsd) - : this(subscriberCoreFactory.Create(), vsd) { } - - PubSubServerStateStream(ISubscriberCore subscriberCore, ViewStreamDatabase vsd) { - _sub_core = subscriberCore; - _vsd = vsd; - _sub_core = new SubscriberCore(); - } - - static IBlueTableSchema _schema => PubSubServerStateRow.Schema; - - protected override void myOnFirstSubscriber() { - _sub_core.subscribe(_tag); - _vsd.addWorker(this); - } - - protected override void myOnLastSubscriber() { - _sub_core.unsubscribe(_tag); - _vsd.removeWorker(this); - } - - #region IWorker Members - - public void doWork() { - var updates = _sub_core.get_updates(TimeSpan.Zero); - //this is where the pubsub updates are converted to rows - if (updates.Count() > 0) { - foreach (var u in updates) { - if (u.tag != _tag) { - continue; - } - var tpsi_list = TagPubSubInfo.deserialize(ExceptionAssert.NotNull(u.data)); - foreach (var tsi in tpsi_list) { - _tag_map[tsi.tag] = tsi; - } - } - } - _fire_dp(); - } - - #endregion - - private void _fire_dp() { - BlueTable bt = new BlueTable(_schema); - var sorted_tags = _tag_map.Keys.OrderBy(t => t); - foreach (var kv in _tag_map) { - var tsi = kv.Value; - bt.addRow(new PubSubServerStateRow() { - Id = bt.Count, - Tag = tsi.tag, - Server = tsi.pubsub_server, - Subscribers = tsi.subscribers_as_string, - Publishers = tsi.publishers_as_string, - DeadPublishers = tsi.dead_publishers_as_string, - }); - } - var dp = BlueDataUtility.build_dp_inc(bt, (myLastValue as IDataPacket)?.newRows, true); - if (dp.addedRows.Count + dp.deletedRows.Count > 0) - myFireEvent(dp); + : this(ViewStreamDatabase.instance) { } + public PubSubServerStateStream(ViewStreamDatabase vsd) { + ViewStream rs = new TableStream("ps_server_state", vsd); + mySetRealSource(rs); } } } diff --git a/src/DataStreamSuite/SharedStreams/System/PS3/Subscription/PubsubHeartbeatStream.cs b/src/DataStreamSuite/SharedStreams/System/PS3/Subscription/PubsubHeartbeatStream.cs index c84c561a5..7f3a343c6 100644 --- a/src/DataStreamSuite/SharedStreams/System/PS3/Subscription/PubsubHeartbeatStream.cs +++ b/src/DataStreamSuite/SharedStreams/System/PS3/Subscription/PubsubHeartbeatStream.cs @@ -1,14 +1,15 @@ -namespace bts; +namespace BlueOrb.Pubsub.Diagnostics; using BCG; using BCG.Utilities.General; using Bts.PubSub; using Bts.SharedStreams.Tables; +using bts; // TODO: Use dependency injection to instantiate this stream, and others like it that depend on // ISubscriberCore(Factory). -[DataStreamUserRespresentation("pss_hb")] +[DataStreamUserRespresentation("PubsubHeartbeatStream")] public class PubsubHeartbeatStream : ViewStream, IWorker { private ViewStreamDatabase _vsd; readonly ISubscriberCore _subcore; diff --git a/src/DataStreamSuite/SharedStreams/System/PS3/TableMetaDataStream.cs b/src/DataStreamSuite/SharedStreams/System/PS3/TableMetaDataStream.cs index 7c1f632d0..ff1928fbb 100644 --- a/src/DataStreamSuite/SharedStreams/System/PS3/TableMetaDataStream.cs +++ b/src/DataStreamSuite/SharedStreams/System/PS3/TableMetaDataStream.cs @@ -1,110 +1,110 @@ -namespace bts -{ - using BCG; - using BCG.Utilities.General; +// namespace bts +// { +// using BCG; +// using BCG.Utilities.General; - using Bts.PubSub; - using Bts.SharedStreams.Tables; +// using Bts.PubSub; +// using Bts.SharedStreams.Tables; - public class TableMetaDataStream : ViewStream, IWorker - { - private class TableState - { - public ViewStream table_stream; - public IBlueTableSchema? schema = null; - public bool processed = false; - public TableState(ViewStream table_stream_) - { - table_stream = table_stream_; - table_stream.onChange += _handle_table_update; - } - private void _handle_table_update(object dp_obj) - { - schema = ((IDataPacket)dp_obj).Schema; - } - public void unsub() - { - table_stream.onChange -= _handle_table_update; - } - } +// public class TableMetaDataStream : ViewStream, IWorker +// { +// private class TableState +// { +// public ViewStream table_stream; +// public IBlueTableSchema? schema = null; +// public bool processed = false; +// public TableState(ViewStream table_stream_) +// { +// table_stream = table_stream_; +// table_stream.onChange += _handle_table_update; +// } +// private void _handle_table_update(object dp_obj) +// { +// schema = ((IDataPacket)dp_obj).Schema; +// } +// public void unsub() +// { +// table_stream.onChange -= _handle_table_update; +// } +// } - private ViewStreamDatabase _vsd; - private ViewStream _base_stream; - private IDictionary _table_map = new Dictionary(); - private BlueTable _state; +// private ViewStreamDatabase _vsd; +// private ViewStream _base_stream; +// private IDictionary _table_map = new Dictionary(); +// private BlueTable _state; - public TableMetaDataStream(ISubscriberCoreFactory subscriberCoreFactory, ViewStreamDatabase vsd) - { - _vsd = vsd; - _base_stream = new PubSubServerStateStream(subscriberCoreFactory, _vsd); - _state = new BlueTable(_schema); - } +// public TableMetaDataStream(ISubscriberCoreFactory subscriberCoreFactory, ViewStreamDatabase vsd) +// { +// _vsd = vsd; +// _base_stream = new PubSubServerStateStream(subscriberCoreFactory, _vsd); +// _state = new BlueTable(_schema); +// } - static IBlueTableSchema _schema => TableMetadataRow.Schema; +// static IBlueTableSchema _schema => TableMetadataRow.Schema; - protected override void myOnFirstSubscriber() - { - _base_stream.onChange += _handle_base_stream; - _vsd.addWorker(this); - } +// protected override void myOnFirstSubscriber() +// { +// _base_stream.onChange += _handle_base_stream; +// _vsd.addWorker(this); +// } - protected override void myOnLastSubscriber() - { - _base_stream.onChange -= _handle_base_stream; - _vsd.removeWorker(this); - } +// protected override void myOnLastSubscriber() +// { +// _base_stream.onChange -= _handle_base_stream; +// _vsd.removeWorker(this); +// } - public void doWork() - { - bool changed = false; - foreach (TableState ts in _table_map.Values) - { - if (!ts.processed && ts.schema != null) - { - foreach (ColumnInfo ci in ts.schema.columnInfo) - { - changed = true; - _state.addRow(new TableMetadataRow() { - Id = _state.Count, - TableName = ts.schema.tableName, - ColumnName = ci.colName, - ColumnIndex = ci.colNo, - ColumnTypeCode = (int)BlueDataUtility.get_typecode(ci.colType), - }); - } - ts.processed = true; - ts.unsub(); - } - } - if (changed) - { - var dp_out = BlueDataUtility.build_dp_inc(_state, myLastValue as IDataPacket); - myFireEvent(dp_out); - } - } +// public void doWork() +// { +// bool changed = false; +// foreach (TableState ts in _table_map.Values) +// { +// if (!ts.processed && ts.schema != null) +// { +// foreach (ColumnInfo ci in ts.schema.columnInfo) +// { +// changed = true; +// _state.addRow(new TableMetadataRow() { +// Id = _state.Count, +// TableName = ts.schema.tableName, +// ColumnName = ci.colName, +// ColumnIndex = ci.colNo, +// ColumnTypeCode = (int)BlueDataUtility.get_typecode(ci.colType), +// }); +// } +// ts.processed = true; +// ts.unsub(); +// } +// } +// if (changed) +// { +// var dp_out = BlueDataUtility.build_dp_inc(_state, myLastValue as IDataPacket); +// myFireEvent(dp_out); +// } +// } - private void _handle_base_stream(object dp_obj) - { - var dp = (IDataPacket)dp_obj; - foreach (IBlueRow r in dp.newRows) - { - string tag = r.get("tag"); - if (tag.StartsWith("DS_")) - { - _handle_table(tag); - } - } - } +// private void _handle_base_stream(object dp_obj) +// { +// var dp = (IDataPacket)dp_obj; +// foreach (IBlueRow r in dp.newRows) +// { +// string tag = r.get("tag"); +// if (tag.StartsWith("DS_")) +// { +// _handle_table(tag); +// } +// } +// } - private void _handle_table(string tag_name) - { - Log.assert(tag_name.StartsWith("DS_")); - string table_name = tag_name.Remove(0, 3); - if (!_table_map.TryGetValue(table_name, out var ts)) - { - ts = new TableState(new TableStream(table_name, _vsd)); - _table_map.Add(table_name, ts); - } - } - } -} +// private void _handle_table(string tag_name) +// { +// Log.assert(tag_name.StartsWith("DS_")); +// string table_name = tag_name.Remove(0, 3); +// if (!_table_map.TryGetValue(table_name, out var ts)) +// { +// ts = new TableState(new TableStream(table_name, _vsd)); +// _table_map.Add(table_name, ts); +// } +// } +// } +// } diff --git a/src/client/spark/appsettings.json b/src/client/spark/appsettings.json index f0af53ded..27b090875 100644 --- a/src/client/spark/appsettings.json +++ b/src/client/spark/appsettings.json @@ -74,14 +74,9 @@ "Class": "bts.PubsubServerStreamTagHandler" }, { - "TagType": "System_Sub", - "Assembly": "PubSub", - "Class": "BCG.SystemSubscriptionMapPublisher" - }, - { - "TagType": "System_Stats", - "Assembly": "PubSub", - "Class": "BCG.SystemStatsPublisher" + "TagType": "DS_.*", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerStreamTagHandler" }, { "TagType": ".*", @@ -105,4 +100,4 @@ } ] } -} +} \ No newline at end of file diff --git a/src/client/spark_api_server/appsettings.json b/src/client/spark_api_server/appsettings.json index 3e02447f9..3cd468903 100644 --- a/src/client/spark_api_server/appsettings.json +++ b/src/client/spark_api_server/appsettings.json @@ -63,14 +63,9 @@ "Class": "bts.PubsubServerStreamTagHandler" }, { - "TagType": "System_Sub", - "Assembly": "PubSub", - "Class": "BCG.SystemSubscriptionMapPublisher" - }, - { - "TagType": "System_Stats", - "Assembly": "PubSub", - "Class": "BCG.SystemStatsPublisher" + "TagType": "DS_.*", + "Assembly": "DataStreamCore", + "Class": "bts.PubsubServerStreamTagHandler" }, { "TagType": ".*", @@ -80,4 +75,4 @@ ] } } -} +} \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/Bts.Spark.Core.csproj.nuget.dgspec.json b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/Bts.Spark.Core.csproj.nuget.dgspec.json new file mode 100644 index 000000000..b706c1bc2 --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/Bts.Spark.Core.csproj.nuget.dgspec.json @@ -0,0 +1,90 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": {} + }, + "projects": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "projectName": "Bts.Spark.Core", + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\.codexobj\\PubSubCommon\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "allWarningsAsErrors": true + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "dependencies": { + "Google.Protobuf": { + "target": "Package", + "version": "[3.24.3, )" + }, + "Microsoft.Extensions.Hosting": { + "target": "Package", + "version": "[10.0.0, )" + }, + "System.Reactive": { + "target": "Package", + "version": "[6.0.0, )" + }, + "protobuf-net": { + "target": "Package", + "version": "[3.2.26, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/Bts.Spark.Core.csproj.nuget.g.props b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/Bts.Spark.Core.csproj.nuget.g.props new file mode 100644 index 000000000..5ce197acf --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/Bts.Spark.Core.csproj.nuget.g.props @@ -0,0 +1,19 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\spark\.dotnet-cli\.nuget\packages\ + c:\Users\Owner\spark\.dotnet-cli\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 7.0.0 + + + + + + + + + \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/Bts.Spark.Core.csproj.nuget.g.targets b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/Bts.Spark.Core.csproj.nuget.g.targets new file mode 100644 index 000000000..fe72cd022 --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/Bts.Spark.Core.csproj.nuget.g.targets @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/project.assets.json b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/project.assets.json new file mode 100644 index 000000000..437a6597c --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/project.assets.json @@ -0,0 +1,2050 @@ +{ + "version": 3, + "targets": { + "net8.0": { + "Google.Protobuf/3.24.3": { + "type": "package", + "compile": { + "lib/net5.0/Google.Protobuf.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/net5.0/Google.Protobuf.dll": { + "related": ".pdb;.xml" + } + } + }, + "Microsoft.Extensions.Configuration/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Binder/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets": {} + } + }, + "Microsoft.Extensions.Configuration.CommandLine/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.FileExtensions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Json/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.UserSecrets/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Json": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.props": {}, + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.targets": {} + } + }, + "Microsoft.Extensions.DependencyInjection/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Diagnostics/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "10.0.0", + "Microsoft.Extensions.Options.ConfigurationExtensions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Diagnostics.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Diagnostics.DiagnosticSource": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileProviders.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileProviders.Physical/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileSystemGlobbing/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Hosting/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.Configuration.CommandLine": "10.0.0", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "10.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "10.0.0", + "Microsoft.Extensions.Configuration.Json": "10.0.0", + "Microsoft.Extensions.Configuration.UserSecrets": "10.0.0", + "Microsoft.Extensions.DependencyInjection": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Diagnostics": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0", + "Microsoft.Extensions.Hosting.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Configuration": "10.0.0", + "Microsoft.Extensions.Logging.Console": "10.0.0", + "Microsoft.Extensions.Logging.Debug": "10.0.0", + "Microsoft.Extensions.Logging.EventLog": "10.0.0", + "Microsoft.Extensions.Logging.EventSource": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Hosting.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Hosting.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Hosting.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "System.Diagnostics.DiagnosticSource": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Logging.Abstractions.targets": {} + } + }, + "Microsoft.Extensions.Logging.Configuration/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Options.ConfigurationExtensions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Console/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Configuration": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Debug/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.EventLog/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Diagnostics.EventLog": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.EventSource/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Options/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Options.targets": {} + } + }, + "Microsoft.Extensions.Options.ConfigurationExtensions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Primitives/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "protobuf-net/3.2.26": { + "type": "package", + "dependencies": { + "protobuf-net.Core": "3.2.26" + }, + "compile": { + "lib/net6.0/protobuf-net.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/protobuf-net.dll": { + "related": ".xml" + } + } + }, + "protobuf-net.Core/3.2.26": { + "type": "package", + "dependencies": { + "System.Collections.Immutable": "7.0.0" + }, + "compile": { + "lib/net6.0/protobuf-net.Core.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/protobuf-net.Core.dll": { + "related": ".xml" + } + } + }, + "System.Collections.Immutable/7.0.0": { + "type": "package", + "compile": { + "lib/net7.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net7.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + } + }, + "System.Diagnostics.DiagnosticSource/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "System.Diagnostics.EventLog/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Diagnostics.EventLog.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Diagnostics.EventLog.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + }, + "runtimeTargets": { + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll": { + "assetType": "runtime", + "rid": "win" + }, + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.IO.Pipelines/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "System.Reactive/6.0.0": { + "type": "package", + "compile": { + "lib/net6.0/System.Reactive.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.Reactive.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + } + }, + "System.Text.Encodings.Web/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Text.Encodings.Web.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Text.Encodings.Web.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + }, + "runtimeTargets": { + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll": { + "assetType": "runtime", + "rid": "browser" + } + } + }, + "System.Text.Json/10.0.0": { + "type": "package", + "dependencies": { + "System.IO.Pipelines": "10.0.0", + "System.Text.Encodings.Web": "10.0.0" + }, + "compile": { + "lib/net8.0/System.Text.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Text.Json.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/System.Text.Json.targets": {} + } + } + } + }, + "libraries": { + "Google.Protobuf/3.24.3": { + "sha512": "HX8KHRTJPUcC4KOvEobKBNlMpHGYmK+3X73xPq+OUE2M5dLYvpGhp9qQQWt2jASgTUbxI1yHaGeBqFYiECBupw==", + "type": "package", + "path": "google.protobuf/3.24.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "google.protobuf.3.24.3.nupkg.sha512", + "google.protobuf.nuspec", + "lib/net45/Google.Protobuf.dll", + "lib/net45/Google.Protobuf.pdb", + "lib/net45/Google.Protobuf.xml", + "lib/net5.0/Google.Protobuf.dll", + "lib/net5.0/Google.Protobuf.pdb", + "lib/net5.0/Google.Protobuf.xml", + "lib/netstandard1.1/Google.Protobuf.dll", + "lib/netstandard1.1/Google.Protobuf.pdb", + "lib/netstandard1.1/Google.Protobuf.xml", + "lib/netstandard2.0/Google.Protobuf.dll", + "lib/netstandard2.0/Google.Protobuf.pdb", + "lib/netstandard2.0/Google.Protobuf.xml" + ] + }, + "Microsoft.Extensions.Configuration/10.0.0": { + "sha512": "H4SWETCh/cC5L1WtWchHR6LntGk3rDTTznZMssr4cL8IbDmMWBxY+MOGDc/ASnqNolLKPIWHWeuC1ddiL/iNPw==", + "type": "package", + "path": "microsoft.extensions.configuration/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.xml", + "lib/net462/Microsoft.Extensions.Configuration.dll", + "lib/net462/Microsoft.Extensions.Configuration.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.xml", + "microsoft.extensions.configuration.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Abstractions/10.0.0": { + "sha512": "d2kDKnCsJvY7mBVhcjPSp9BkJk48DsaHPg5u+Oy4f8XaOqnEedRy/USyvnpHL92wpJ6DrTPy7htppUUzskbCXQ==", + "type": "package", + "path": "microsoft.extensions.configuration.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Binder/10.0.0": { + "sha512": "tMF9wNh+hlyYDWB8mrFCQHQmWHlRosol1b/N2Jrefy1bFLnuTlgSYmPyHNmz8xVQgs7DpXytBRWxGhG+mSTp0g==", + "type": "package", + "path": "microsoft.extensions.configuration.binder/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/cs/Microsoft.Extensions.Configuration.Binder.SourceGeneration.dll", + "analyzers/dotnet/cs/cs/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/de/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/es/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/fr/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/it/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ja/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ko/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/pl/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/pt-BR/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ru/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/tr/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/zh-Hans/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/zh-Hant/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net462/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net462/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.binder.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.CommandLine/10.0.0": { + "sha512": "CRj5clwZciVs46GMhAthkFq3+JiNM15Bz9CRlCZLBmRdggD6RwoBphRJ+EUDK2f+cZZ1L2zqVaQrn1KueoU5Kg==", + "type": "package", + "path": "microsoft.extensions.configuration.commandline/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.CommandLine.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.CommandLine.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net462/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net462/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "microsoft.extensions.configuration.commandline.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.commandline.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/10.0.0": { + "sha512": "TmFegsI/uCdwMBD4yKpmO+OkjVNHQL49Dh/ep83NI5rPUEoBK9OdsJo1zURc1A2FuS/R/Pos3wsTjlyLnguBLA==", + "type": "package", + "path": "microsoft.extensions.configuration.environmentvariables/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.EnvironmentVariables.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net462/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net462/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "microsoft.extensions.configuration.environmentvariables.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.environmentvariables.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.FileExtensions/10.0.0": { + "sha512": "LqCTyF0twrG4tyEN6PpSC5ewRBDwCBazRUfCOdRddwaQ3n2S57GDDeYOlTLcbV/V2dxSSZWg5Ofr48h6BsBmxw==", + "type": "package", + "path": "microsoft.extensions.configuration.fileextensions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.FileExtensions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.FileExtensions.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net462/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net462/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "microsoft.extensions.configuration.fileextensions.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.fileextensions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Json/10.0.0": { + "sha512": "BIOPTEAZoeWbHlDT9Zudu+rpecZizFwhdIFRiyZKDml7JbayXmfTXKUt+ezifsSXfBkWDdJM10oDOxo8pufEng==", + "type": "package", + "path": "microsoft.extensions.configuration.json/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.Json.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.Json.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/net462/Microsoft.Extensions.Configuration.Json.dll", + "lib/net462/Microsoft.Extensions.Configuration.Json.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.dll", + "lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.xml", + "microsoft.extensions.configuration.json.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.json.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.UserSecrets/10.0.0": { + "sha512": "B4qHB6gQ2B3I52YRohSV7wetp01BQzi8jDmrtiVm6e4l8vH5vjqwxWcR5wumGWjdBkj1asJLLsDIocdyTQSP0A==", + "type": "package", + "path": "microsoft.extensions.configuration.usersecrets/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/net462/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/net462/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net462/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net462/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "microsoft.extensions.configuration.usersecrets.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.usersecrets.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection/10.0.0": { + "sha512": "f0RBabswJq+gRu5a+hWIobrLWiUYPKMhCD9WO3sYBAdSy3FFH14LMvLVFZc2kPSCimBLxSuitUhsd6tb0TAY6A==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.targets", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/net462/Microsoft.Extensions.DependencyInjection.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.xml", + "microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": { + "sha512": "L3AdmZ1WOK4XXT5YFPEwyt0ep6l8lGIPs7F5OOBZc77Zqeo01Of7XXICy47628sdVl0v/owxYJTe86DTgFwKCA==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Diagnostics/10.0.0": { + "sha512": "xjkxIPgrT0mKTfBwb+CVqZnRchyZgzKIfDQOp8z+WUC6vPe3WokIf71z+hJPkH0YBUYJwa7Z/al1R087ib9oiw==", + "type": "package", + "path": "microsoft.extensions.diagnostics/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Diagnostics.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Diagnostics.targets", + "lib/net10.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net10.0/Microsoft.Extensions.Diagnostics.xml", + "lib/net462/Microsoft.Extensions.Diagnostics.dll", + "lib/net462/Microsoft.Extensions.Diagnostics.xml", + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net8.0/Microsoft.Extensions.Diagnostics.xml", + "lib/net9.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net9.0/Microsoft.Extensions.Diagnostics.xml", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.dll", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.xml", + "microsoft.extensions.diagnostics.10.0.0.nupkg.sha512", + "microsoft.extensions.diagnostics.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Diagnostics.Abstractions/10.0.0": { + "sha512": "SfK89ytD61S7DgzorFljSkUeluC1ncn6dtZgwc0ot39f/BEYWBl5jpgvodxduoYAs1d9HG8faCDRZxE95UMo2A==", + "type": "package", + "path": "microsoft.extensions.diagnostics.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Diagnostics.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Diagnostics.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "microsoft.extensions.diagnostics.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.diagnostics.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileProviders.Abstractions/10.0.0": { + "sha512": "/ppSdehKk3fuXjlqCDgSOtjRK/pSHU8eWgzSHfHdwVm5BP4Dgejehkw+PtxKG2j98qTDEHDst2Y99aNsmJldmw==", + "type": "package", + "path": "microsoft.extensions.fileproviders.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileProviders.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileProviders.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net462/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net462/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "microsoft.extensions.fileproviders.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.fileproviders.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileProviders.Physical/10.0.0": { + "sha512": "UZUQ74lQMmvcprlG8w+XpxBbyRDQqfb7GAnccITw32hdkUBlmm9yNC4xl4aR9YjgV3ounZcub194sdmLSfBmPA==", + "type": "package", + "path": "microsoft.extensions.fileproviders.physical/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileProviders.Physical.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileProviders.Physical.targets", + "lib/net10.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net10.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net462/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net462/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net9.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net9.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Physical.xml", + "microsoft.extensions.fileproviders.physical.10.0.0.nupkg.sha512", + "microsoft.extensions.fileproviders.physical.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileSystemGlobbing/10.0.0": { + "sha512": "5hfVl/e+bx1px2UkN+1xXhd3hu7Ui6ENItBzckFaRDQXfr+SHT/7qrCDrlQekCF/PBtEu2vtk87U2+gDEF8EhQ==", + "type": "package", + "path": "microsoft.extensions.filesystemglobbing/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileSystemGlobbing.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileSystemGlobbing.targets", + "lib/net10.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net10.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net462/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net462/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net9.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net9.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "microsoft.extensions.filesystemglobbing.10.0.0.nupkg.sha512", + "microsoft.extensions.filesystemglobbing.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Hosting/10.0.0": { + "sha512": "yKJiVdXkSfe9foojGpBRbuDPQI8YD71IO/aE8ehGjRHE0VkEF/YWkW6StthwuFF146pc2lypZrpk/Tks6Plwhw==", + "type": "package", + "path": "microsoft.extensions.hosting/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Hosting.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Hosting.targets", + "lib/net10.0/Microsoft.Extensions.Hosting.dll", + "lib/net10.0/Microsoft.Extensions.Hosting.xml", + "lib/net462/Microsoft.Extensions.Hosting.dll", + "lib/net462/Microsoft.Extensions.Hosting.xml", + "lib/net8.0/Microsoft.Extensions.Hosting.dll", + "lib/net8.0/Microsoft.Extensions.Hosting.xml", + "lib/net9.0/Microsoft.Extensions.Hosting.dll", + "lib/net9.0/Microsoft.Extensions.Hosting.xml", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.dll", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.xml", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.dll", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.xml", + "microsoft.extensions.hosting.10.0.0.nupkg.sha512", + "microsoft.extensions.hosting.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Hosting.Abstractions/10.0.0": { + "sha512": "KrN6TGFwCwqOkLLk/idW/XtDQh+8In+CL9T4M1Dx+5ScsjTq4TlVbal8q532m82UYrMr6RiQJF2HvYCN0QwVsA==", + "type": "package", + "path": "microsoft.extensions.hosting.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Hosting.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Hosting.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.xml", + "microsoft.extensions.hosting.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.hosting.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging/10.0.0": { + "sha512": "BStFkd5CcnEtarlcgYDBcFzGYCuuNMzPs02wN3WBsOFoYIEmYoUdAiU+au6opzoqfTYJsMTW00AeqDdnXH2CvA==", + "type": "package", + "path": "microsoft.extensions.logging/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.targets", + "lib/net10.0/Microsoft.Extensions.Logging.dll", + "lib/net10.0/Microsoft.Extensions.Logging.xml", + "lib/net462/Microsoft.Extensions.Logging.dll", + "lib/net462/Microsoft.Extensions.Logging.xml", + "lib/net8.0/Microsoft.Extensions.Logging.dll", + "lib/net8.0/Microsoft.Extensions.Logging.xml", + "lib/net9.0/Microsoft.Extensions.Logging.dll", + "lib/net9.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.1/Microsoft.Extensions.Logging.xml", + "microsoft.extensions.logging.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Abstractions/10.0.0": { + "sha512": "FU/IfjDfwaMuKr414SSQNTIti/69bHEMb+QKrskRb26oVqpx3lNFXMjs/RC9ZUuhBhcwDM2BwOgoMw+PZ+beqQ==", + "type": "package", + "path": "microsoft.extensions.logging.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "buildTransitive/net461/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net462/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml", + "microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Configuration/10.0.0": { + "sha512": "j8zcwhS6bYB6FEfaY3nYSgHdpiL2T+/V3xjpHtslVAegyI1JUbB9yAt/BFdvZdsNbY0Udm4xFtvfT/hUwcOOOg==", + "type": "package", + "path": "microsoft.extensions.logging.configuration/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Configuration.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Configuration.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net462/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net462/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.configuration.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Console/10.0.0": { + "sha512": "treWetuksp8LVb09fCJ5zNhNJjyDkqzVm83XxcrlWQnAdXznR140UUXo8PyEPBvFlHhjKhFQZEOP3Sk/ByCvEw==", + "type": "package", + "path": "microsoft.extensions.logging.console/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Console.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Console.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Console.xml", + "lib/net462/Microsoft.Extensions.Logging.Console.dll", + "lib/net462/Microsoft.Extensions.Logging.Console.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Console.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Console.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Console.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Console.xml", + "microsoft.extensions.logging.console.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.console.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Debug/10.0.0": { + "sha512": "A/4vBtVaySLBGj4qluye+KSbeVCCMa6GcTbxf2YgnSDHs9b9105+VojBJ1eJPel8F1ny0JOh+Ci3vgCKn69tNQ==", + "type": "package", + "path": "microsoft.extensions.logging.debug/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Debug.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Debug.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/net462/Microsoft.Extensions.Logging.Debug.dll", + "lib/net462/Microsoft.Extensions.Logging.Debug.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Debug.xml", + "microsoft.extensions.logging.debug.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.debug.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.EventLog/10.0.0": { + "sha512": "EWda5nSXhzQZr3yJ3+XgIApOek+Hm+txhWCEzWNVPp/OfimL4qmvctgXu87m+S2RXw/AoUP8aLMNicJ2KWblVA==", + "type": "package", + "path": "microsoft.extensions.logging.eventlog/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.EventLog.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.EventLog.targets", + "lib/net10.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net10.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net462/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net462/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net9.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net9.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventLog.xml", + "microsoft.extensions.logging.eventlog.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.eventlog.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.EventSource/10.0.0": { + "sha512": "+Qc+kgoJi1w2A/Jm+7h04LcK2JoJkwAxKg7kBakkNRcemTmRGocqPa7rVNVGorTYruFrUS25GwkFNtOECnjhXg==", + "type": "package", + "path": "microsoft.extensions.logging.eventsource/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.EventSource.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.EventSource.targets", + "lib/net10.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net10.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net462/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net462/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net9.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net9.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventSource.xml", + "microsoft.extensions.logging.eventsource.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.eventsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Options/10.0.0": { + "sha512": "8oCAgXOow5XDrY9HaXX1QmH3ORsyZO/ANVHBlhLyCeWTH5Sg4UuqZeOTWJi6484M+LqSx0RqQXDJtdYy2BNiLQ==", + "type": "package", + "path": "microsoft.extensions.options/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Options.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "buildTransitive/net461/Microsoft.Extensions.Options.targets", + "buildTransitive/net462/Microsoft.Extensions.Options.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Options.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Options.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets", + "lib/net10.0/Microsoft.Extensions.Options.dll", + "lib/net10.0/Microsoft.Extensions.Options.xml", + "lib/net462/Microsoft.Extensions.Options.dll", + "lib/net462/Microsoft.Extensions.Options.xml", + "lib/net8.0/Microsoft.Extensions.Options.dll", + "lib/net8.0/Microsoft.Extensions.Options.xml", + "lib/net9.0/Microsoft.Extensions.Options.dll", + "lib/net9.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.0/Microsoft.Extensions.Options.dll", + "lib/netstandard2.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.1/Microsoft.Extensions.Options.dll", + "lib/netstandard2.1/Microsoft.Extensions.Options.xml", + "microsoft.extensions.options.10.0.0.nupkg.sha512", + "microsoft.extensions.options.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Options.ConfigurationExtensions/10.0.0": { + "sha512": "tL9cSl3maS5FPzp/3MtlZI21ExWhni0nnUCF8HY4npTsINw45n9SNDbkKXBMtFyUFGSsQep25fHIDN4f/Vp3AQ==", + "type": "package", + "path": "microsoft.extensions.options.configurationextensions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Options.ConfigurationExtensions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Options.ConfigurationExtensions.targets", + "lib/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net462/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net462/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net9.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.options.configurationextensions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Primitives/10.0.0": { + "sha512": "inRnbpCS0nwO/RuoZIAqxQUuyjaknOOnCEZB55KSMMjRhl0RQDttSmLSGsUJN3RQ3ocf5NDLFd2mOQViHqMK5w==", + "type": "package", + "path": "microsoft.extensions.primitives/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Primitives.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Primitives.targets", + "lib/net10.0/Microsoft.Extensions.Primitives.dll", + "lib/net10.0/Microsoft.Extensions.Primitives.xml", + "lib/net462/Microsoft.Extensions.Primitives.dll", + "lib/net462/Microsoft.Extensions.Primitives.xml", + "lib/net8.0/Microsoft.Extensions.Primitives.dll", + "lib/net8.0/Microsoft.Extensions.Primitives.xml", + "lib/net9.0/Microsoft.Extensions.Primitives.dll", + "lib/net9.0/Microsoft.Extensions.Primitives.xml", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.xml", + "microsoft.extensions.primitives.10.0.0.nupkg.sha512", + "microsoft.extensions.primitives.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "protobuf-net/3.2.26": { + "sha512": "zBzBiKs4yP+tzQOsRA5WbI/zayS6eFv8g0KIKNPI7/RUY1nk9Oe+STmtbUYkNUkO3T3SidEoZv+tF1nmgTSutQ==", + "type": "package", + "path": "protobuf-net/3.2.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net462/protobuf-net.dll", + "lib/net462/protobuf-net.xml", + "lib/net6.0/protobuf-net.dll", + "lib/net6.0/protobuf-net.xml", + "lib/netstandard2.0/protobuf-net.dll", + "lib/netstandard2.0/protobuf-net.xml", + "lib/netstandard2.1/protobuf-net.dll", + "lib/netstandard2.1/protobuf-net.xml", + "protobuf-net.3.2.26.nupkg.sha512", + "protobuf-net.nuspec", + "protobuf-net.png" + ] + }, + "protobuf-net.Core/3.2.26": { + "sha512": "s8oJW9dBVxix4p8uqMbeG++DIGjgzOFAKoP2i5wayeeFOKBqG+cCBO2S/CAC4MAFlb5m1Os2m/miLcqRCgqJ7Q==", + "type": "package", + "path": "protobuf-net.core/3.2.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net462/protobuf-net.Core.dll", + "lib/net462/protobuf-net.Core.xml", + "lib/net6.0/protobuf-net.Core.dll", + "lib/net6.0/protobuf-net.Core.xml", + "lib/netstandard2.0/protobuf-net.Core.dll", + "lib/netstandard2.0/protobuf-net.Core.xml", + "lib/netstandard2.1/protobuf-net.Core.dll", + "lib/netstandard2.1/protobuf-net.Core.xml", + "protobuf-net.core.3.2.26.nupkg.sha512", + "protobuf-net.core.nuspec", + "protobuf-net.png" + ] + }, + "System.Collections.Immutable/7.0.0": { + "sha512": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", + "type": "package", + "path": "system.collections.immutable/7.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "README.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Collections.Immutable.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/System.Collections.Immutable.targets", + "lib/net462/System.Collections.Immutable.dll", + "lib/net462/System.Collections.Immutable.xml", + "lib/net6.0/System.Collections.Immutable.dll", + "lib/net6.0/System.Collections.Immutable.xml", + "lib/net7.0/System.Collections.Immutable.dll", + "lib/net7.0/System.Collections.Immutable.xml", + "lib/netstandard2.0/System.Collections.Immutable.dll", + "lib/netstandard2.0/System.Collections.Immutable.xml", + "system.collections.immutable.7.0.0.nupkg.sha512", + "system.collections.immutable.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Diagnostics.DiagnosticSource/10.0.0": { + "sha512": "0KdBK+h7G13PuOSC2R/DalAoFMvdYMznvGRuICtkdcUMXgl/gYXsG6z4yUvTxHSMACorWgHCU1Faq0KUHU6yAQ==", + "type": "package", + "path": "system.diagnostics.diagnosticsource/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Diagnostics.DiagnosticSource.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Diagnostics.DiagnosticSource.targets", + "lib/net10.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net10.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net462/System.Diagnostics.DiagnosticSource.dll", + "lib/net462/System.Diagnostics.DiagnosticSource.xml", + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net8.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net9.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net9.0/System.Diagnostics.DiagnosticSource.xml", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.xml", + "system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512", + "system.diagnostics.diagnosticsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Diagnostics.EventLog/10.0.0": { + "sha512": "uaFRda9NjtbJRkdx311eXlAA3n2em7223c1A8d1VWyl+4FL9vkG7y2lpPfBU9HYdj/9KgdRNdn1vFK8ZYCYT/A==", + "type": "package", + "path": "system.diagnostics.eventlog/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Diagnostics.EventLog.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Diagnostics.EventLog.targets", + "lib/net10.0/System.Diagnostics.EventLog.dll", + "lib/net10.0/System.Diagnostics.EventLog.xml", + "lib/net462/System.Diagnostics.EventLog.dll", + "lib/net462/System.Diagnostics.EventLog.xml", + "lib/net8.0/System.Diagnostics.EventLog.dll", + "lib/net8.0/System.Diagnostics.EventLog.xml", + "lib/net9.0/System.Diagnostics.EventLog.dll", + "lib/net9.0/System.Diagnostics.EventLog.xml", + "lib/netstandard2.0/System.Diagnostics.EventLog.dll", + "lib/netstandard2.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.xml", + "system.diagnostics.eventlog.10.0.0.nupkg.sha512", + "system.diagnostics.eventlog.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.IO.Pipelines/10.0.0": { + "sha512": "M1eb3nfXntaRJPrrMVM9EFS8I1bDTnt0uvUS6QP/SicZf/ZZjydMD5NiXxfmwW/uQwaMDP/yX2P+zQN1NBHChg==", + "type": "package", + "path": "system.io.pipelines/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.IO.Pipelines.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.IO.Pipelines.targets", + "lib/net10.0/System.IO.Pipelines.dll", + "lib/net10.0/System.IO.Pipelines.xml", + "lib/net462/System.IO.Pipelines.dll", + "lib/net462/System.IO.Pipelines.xml", + "lib/net8.0/System.IO.Pipelines.dll", + "lib/net8.0/System.IO.Pipelines.xml", + "lib/net9.0/System.IO.Pipelines.dll", + "lib/net9.0/System.IO.Pipelines.xml", + "lib/netstandard2.0/System.IO.Pipelines.dll", + "lib/netstandard2.0/System.IO.Pipelines.xml", + "system.io.pipelines.10.0.0.nupkg.sha512", + "system.io.pipelines.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Reactive/6.0.0": { + "sha512": "31kfaW4ZupZzPsI5PVe77VhnvFF55qgma7KZr/E0iFTs6fmdhhG8j0mgEx620iLTey1EynOkEfnyTjtNEpJzGw==", + "type": "package", + "path": "system.reactive/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "build/net6.0-windows10.0.19041/_._", + "build/net6.0/_._", + "buildTransitive/net6.0-windows10.0.19041/_._", + "buildTransitive/net6.0/_._", + "icon.png", + "lib/net472/System.Reactive.dll", + "lib/net472/System.Reactive.xml", + "lib/net6.0-windows10.0.19041/System.Reactive.dll", + "lib/net6.0-windows10.0.19041/System.Reactive.xml", + "lib/net6.0/System.Reactive.dll", + "lib/net6.0/System.Reactive.xml", + "lib/netstandard2.0/System.Reactive.dll", + "lib/netstandard2.0/System.Reactive.xml", + "lib/uap10.0.18362/System.Reactive.dll", + "lib/uap10.0.18362/System.Reactive.pri", + "lib/uap10.0.18362/System.Reactive.xml", + "readme.md", + "system.reactive.6.0.0.nupkg.sha512", + "system.reactive.nuspec" + ] + }, + "System.Text.Encodings.Web/10.0.0": { + "sha512": "257hh1ep1Gqm1Lm0ulxf7vVBVMJuGN6EL4xSWjpi46DffXzm1058IiWsfSC06zSm7SniN+Tb5160UnXsSa8rRg==", + "type": "package", + "path": "system.text.encodings.web/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Text.Encodings.Web.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Text.Encodings.Web.targets", + "lib/net10.0/System.Text.Encodings.Web.dll", + "lib/net10.0/System.Text.Encodings.Web.xml", + "lib/net462/System.Text.Encodings.Web.dll", + "lib/net462/System.Text.Encodings.Web.xml", + "lib/net8.0/System.Text.Encodings.Web.dll", + "lib/net8.0/System.Text.Encodings.Web.xml", + "lib/net9.0/System.Text.Encodings.Web.dll", + "lib/net9.0/System.Text.Encodings.Web.xml", + "lib/netstandard2.0/System.Text.Encodings.Web.dll", + "lib/netstandard2.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net10.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net10.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.xml", + "runtimes/wasi/lib/net10.0/System.Text.Encodings.Web.dll", + "runtimes/wasi/lib/net10.0/System.Text.Encodings.Web.xml", + "runtimes/win/lib/net9.0/System.Text.Encodings.Web.dll", + "runtimes/win/lib/net9.0/System.Text.Encodings.Web.xml", + "system.text.encodings.web.10.0.0.nupkg.sha512", + "system.text.encodings.web.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Text.Json/10.0.0": { + "sha512": "1Dpjwq9peG/Wt5BNbrzIhTpclfOSqBWZsUO28vVr59yQlkvL5jLBWfpfzRmJ1OY+6DciaY0DUcltyzs4fuZHjw==", + "type": "package", + "path": "system.text.json/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "buildTransitive/net461/System.Text.Json.targets", + "buildTransitive/net462/System.Text.Json.targets", + "buildTransitive/net8.0/System.Text.Json.targets", + "buildTransitive/netcoreapp2.0/System.Text.Json.targets", + "buildTransitive/netstandard2.0/System.Text.Json.targets", + "lib/net10.0/System.Text.Json.dll", + "lib/net10.0/System.Text.Json.xml", + "lib/net462/System.Text.Json.dll", + "lib/net462/System.Text.Json.xml", + "lib/net8.0/System.Text.Json.dll", + "lib/net8.0/System.Text.Json.xml", + "lib/net9.0/System.Text.Json.dll", + "lib/net9.0/System.Text.Json.xml", + "lib/netstandard2.0/System.Text.Json.dll", + "lib/netstandard2.0/System.Text.Json.xml", + "system.text.json.10.0.0.nupkg.sha512", + "system.text.json.nuspec", + "useSharedDesignerContext.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net8.0": [ + "Google.Protobuf >= 3.24.3", + "Microsoft.Extensions.Hosting >= 10.0.0", + "System.Reactive >= 6.0.0", + "protobuf-net >= 3.2.26" + ] + }, + "packageFolders": { + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "projectName": "Bts.Spark.Core", + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\.codexobj\\PubSubCommon\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "allWarningsAsErrors": true + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "dependencies": { + "Google.Protobuf": { + "target": "Package", + "version": "[3.24.3, )" + }, + "Microsoft.Extensions.Hosting": { + "target": "Package", + "version": "[10.0.0, )" + }, + "System.Reactive": { + "target": "Package", + "version": "[6.0.0, )" + }, + "protobuf-net": { + "target": "Package", + "version": "[3.2.26, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/project.nuget.cache b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/project.nuget.cache new file mode 100644 index 000000000..233e596fd --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommon/project.nuget.cache @@ -0,0 +1,46 @@ +{ + "version": 2, + "dgSpecHash": "UchechN/1X0=", + "success": true, + "projectFilePath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "expectedPackageFiles": [ + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\google.protobuf\\3.24.3\\google.protobuf.3.24.3.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration\\10.0.0\\microsoft.extensions.configuration.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\10.0.0\\microsoft.extensions.configuration.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.binder\\10.0.0\\microsoft.extensions.configuration.binder.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\10.0.0\\microsoft.extensions.configuration.commandline.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\10.0.0\\microsoft.extensions.configuration.environmentvariables.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\10.0.0\\microsoft.extensions.configuration.fileextensions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.json\\10.0.0\\microsoft.extensions.configuration.json.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\10.0.0\\microsoft.extensions.configuration.usersecrets.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\10.0.0\\microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\10.0.0\\microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.diagnostics\\10.0.0\\microsoft.extensions.diagnostics.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.diagnostics.abstractions\\10.0.0\\microsoft.extensions.diagnostics.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\10.0.0\\microsoft.extensions.fileproviders.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\10.0.0\\microsoft.extensions.fileproviders.physical.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\10.0.0\\microsoft.extensions.filesystemglobbing.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.hosting\\10.0.0\\microsoft.extensions.hosting.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\10.0.0\\microsoft.extensions.hosting.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging\\10.0.0\\microsoft.extensions.logging.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\10.0.0\\microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.configuration\\10.0.0\\microsoft.extensions.logging.configuration.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.console\\10.0.0\\microsoft.extensions.logging.console.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.debug\\10.0.0\\microsoft.extensions.logging.debug.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.eventlog\\10.0.0\\microsoft.extensions.logging.eventlog.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\10.0.0\\microsoft.extensions.logging.eventsource.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.options\\10.0.0\\microsoft.extensions.options.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\10.0.0\\microsoft.extensions.options.configurationextensions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.primitives\\10.0.0\\microsoft.extensions.primitives.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\protobuf-net\\3.2.26\\protobuf-net.3.2.26.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\protobuf-net.core\\3.2.26\\protobuf-net.core.3.2.26.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.collections.immutable\\7.0.0\\system.collections.immutable.7.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.diagnostics.diagnosticsource\\10.0.0\\system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.diagnostics.eventlog\\10.0.0\\system.diagnostics.eventlog.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.io.pipelines\\10.0.0\\system.io.pipelines.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.reactive\\6.0.0\\system.reactive.6.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.text.encodings.web\\10.0.0\\system.text.encodings.web.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.text.json\\10.0.0\\system.text.json.10.0.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/Bts.Spark.Core.csproj.nuget.dgspec.json b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/Bts.Spark.Core.csproj.nuget.dgspec.json new file mode 100644 index 000000000..3167ee241 --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/Bts.Spark.Core.csproj.nuget.dgspec.json @@ -0,0 +1,90 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": {} + }, + "projects": { + "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "projectName": "Bts.Spark.Core", + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\.codexobj\\PubSubCommonOnly\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "allWarningsAsErrors": true + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "dependencies": { + "Google.Protobuf": { + "target": "Package", + "version": "[3.24.3, )" + }, + "Microsoft.Extensions.Hosting": { + "target": "Package", + "version": "[10.0.0, )" + }, + "System.Reactive": { + "target": "Package", + "version": "[6.0.0, )" + }, + "protobuf-net": { + "target": "Package", + "version": "[3.2.26, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/Bts.Spark.Core.csproj.nuget.g.props b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/Bts.Spark.Core.csproj.nuget.g.props new file mode 100644 index 000000000..5ce197acf --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/Bts.Spark.Core.csproj.nuget.g.props @@ -0,0 +1,19 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\spark\.dotnet-cli\.nuget\packages\ + c:\Users\Owner\spark\.dotnet-cli\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 7.0.0 + + + + + + + + + \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/Bts.Spark.Core.csproj.nuget.g.targets b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/Bts.Spark.Core.csproj.nuget.g.targets new file mode 100644 index 000000000..fe72cd022 --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/Bts.Spark.Core.csproj.nuget.g.targets @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/project.assets.json b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/project.assets.json new file mode 100644 index 000000000..f4a9ec01e --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/project.assets.json @@ -0,0 +1,2050 @@ +{ + "version": 3, + "targets": { + "net8.0": { + "Google.Protobuf/3.24.3": { + "type": "package", + "compile": { + "lib/net5.0/Google.Protobuf.dll": { + "related": ".pdb;.xml" + } + }, + "runtime": { + "lib/net5.0/Google.Protobuf.dll": { + "related": ".pdb;.xml" + } + } + }, + "Microsoft.Extensions.Configuration/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Binder/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets": {} + } + }, + "Microsoft.Extensions.Configuration.CommandLine/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.FileExtensions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.Json/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Configuration.UserSecrets/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Json": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.props": {}, + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.targets": {} + } + }, + "Microsoft.Extensions.DependencyInjection/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Diagnostics/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "10.0.0", + "Microsoft.Extensions.Options.ConfigurationExtensions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Diagnostics.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Diagnostics.DiagnosticSource": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileProviders.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileProviders.Physical/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileSystemGlobbing": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.FileSystemGlobbing/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Hosting/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.Configuration.CommandLine": "10.0.0", + "Microsoft.Extensions.Configuration.EnvironmentVariables": "10.0.0", + "Microsoft.Extensions.Configuration.FileExtensions": "10.0.0", + "Microsoft.Extensions.Configuration.Json": "10.0.0", + "Microsoft.Extensions.Configuration.UserSecrets": "10.0.0", + "Microsoft.Extensions.DependencyInjection": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Diagnostics": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Physical": "10.0.0", + "Microsoft.Extensions.Hosting.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Configuration": "10.0.0", + "Microsoft.Extensions.Logging.Console": "10.0.0", + "Microsoft.Extensions.Logging.Debug": "10.0.0", + "Microsoft.Extensions.Logging.EventLog": "10.0.0", + "Microsoft.Extensions.Logging.EventSource": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Hosting.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Hosting.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Hosting.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Diagnostics.Abstractions": "10.0.0", + "Microsoft.Extensions.FileProviders.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Abstractions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "System.Diagnostics.DiagnosticSource": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Logging.Abstractions.targets": {} + } + }, + "Microsoft.Extensions.Logging.Configuration/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration": "10.0.0", + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Options.ConfigurationExtensions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Console/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging.Configuration": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.Debug/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.EventLog/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "System.Diagnostics.EventLog": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Logging.EventSource/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Logging": "10.0.0", + "Microsoft.Extensions.Logging.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0", + "System.Text.Json": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Options/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Options.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/Microsoft.Extensions.Options.targets": {} + } + }, + "Microsoft.Extensions.Options.ConfigurationExtensions/10.0.0": { + "type": "package", + "dependencies": { + "Microsoft.Extensions.Configuration.Abstractions": "10.0.0", + "Microsoft.Extensions.Configuration.Binder": "10.0.0", + "Microsoft.Extensions.DependencyInjection.Abstractions": "10.0.0", + "Microsoft.Extensions.Options": "10.0.0", + "Microsoft.Extensions.Primitives": "10.0.0" + }, + "compile": { + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "Microsoft.Extensions.Primitives/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.Primitives.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "protobuf-net/3.2.26": { + "type": "package", + "dependencies": { + "protobuf-net.Core": "3.2.26" + }, + "compile": { + "lib/net6.0/protobuf-net.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/protobuf-net.dll": { + "related": ".xml" + } + } + }, + "protobuf-net.Core/3.2.26": { + "type": "package", + "dependencies": { + "System.Collections.Immutable": "7.0.0" + }, + "compile": { + "lib/net6.0/protobuf-net.Core.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/protobuf-net.Core.dll": { + "related": ".xml" + } + } + }, + "System.Collections.Immutable/7.0.0": { + "type": "package", + "compile": { + "lib/net7.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net7.0/System.Collections.Immutable.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + } + }, + "System.Diagnostics.DiagnosticSource/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "System.Diagnostics.EventLog/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Diagnostics.EventLog.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Diagnostics.EventLog.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + }, + "runtimeTargets": { + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll": { + "assetType": "runtime", + "rid": "win" + }, + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll": { + "assetType": "runtime", + "rid": "win" + } + } + }, + "System.IO.Pipelines/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.IO.Pipelines.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + } + }, + "System.Reactive/6.0.0": { + "type": "package", + "compile": { + "lib/net6.0/System.Reactive.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/System.Reactive.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + } + }, + "System.Text.Encodings.Web/10.0.0": { + "type": "package", + "compile": { + "lib/net8.0/System.Text.Encodings.Web.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Text.Encodings.Web.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/_._": {} + }, + "runtimeTargets": { + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll": { + "assetType": "runtime", + "rid": "browser" + } + } + }, + "System.Text.Json/10.0.0": { + "type": "package", + "dependencies": { + "System.IO.Pipelines": "10.0.0", + "System.Text.Encodings.Web": "10.0.0" + }, + "compile": { + "lib/net8.0/System.Text.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/System.Text.Json.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net8.0/System.Text.Json.targets": {} + } + } + } + }, + "libraries": { + "Google.Protobuf/3.24.3": { + "sha512": "HX8KHRTJPUcC4KOvEobKBNlMpHGYmK+3X73xPq+OUE2M5dLYvpGhp9qQQWt2jASgTUbxI1yHaGeBqFYiECBupw==", + "type": "package", + "path": "google.protobuf/3.24.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "google.protobuf.3.24.3.nupkg.sha512", + "google.protobuf.nuspec", + "lib/net45/Google.Protobuf.dll", + "lib/net45/Google.Protobuf.pdb", + "lib/net45/Google.Protobuf.xml", + "lib/net5.0/Google.Protobuf.dll", + "lib/net5.0/Google.Protobuf.pdb", + "lib/net5.0/Google.Protobuf.xml", + "lib/netstandard1.1/Google.Protobuf.dll", + "lib/netstandard1.1/Google.Protobuf.pdb", + "lib/netstandard1.1/Google.Protobuf.xml", + "lib/netstandard2.0/Google.Protobuf.dll", + "lib/netstandard2.0/Google.Protobuf.pdb", + "lib/netstandard2.0/Google.Protobuf.xml" + ] + }, + "Microsoft.Extensions.Configuration/10.0.0": { + "sha512": "H4SWETCh/cC5L1WtWchHR6LntGk3rDTTznZMssr4cL8IbDmMWBxY+MOGDc/ASnqNolLKPIWHWeuC1ddiL/iNPw==", + "type": "package", + "path": "microsoft.extensions.configuration/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.xml", + "lib/net462/Microsoft.Extensions.Configuration.dll", + "lib/net462/Microsoft.Extensions.Configuration.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.xml", + "microsoft.extensions.configuration.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Abstractions/10.0.0": { + "sha512": "d2kDKnCsJvY7mBVhcjPSp9BkJk48DsaHPg5u+Oy4f8XaOqnEedRy/USyvnpHL92wpJ6DrTPy7htppUUzskbCXQ==", + "type": "package", + "path": "microsoft.extensions.configuration.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Abstractions.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Binder/10.0.0": { + "sha512": "tMF9wNh+hlyYDWB8mrFCQHQmWHlRosol1b/N2Jrefy1bFLnuTlgSYmPyHNmz8xVQgs7DpXytBRWxGhG+mSTp0g==", + "type": "package", + "path": "microsoft.extensions.configuration.binder/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/cs/Microsoft.Extensions.Configuration.Binder.SourceGeneration.dll", + "analyzers/dotnet/cs/cs/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/de/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/es/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/fr/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/it/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ja/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ko/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/pl/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/pt-BR/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/ru/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/tr/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/zh-Hans/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "analyzers/dotnet/cs/zh-Hant/Microsoft.Extensions.Configuration.Binder.SourceGeneration.resources.dll", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net462/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net462/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Binder.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Binder.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.binder.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.CommandLine/10.0.0": { + "sha512": "CRj5clwZciVs46GMhAthkFq3+JiNM15Bz9CRlCZLBmRdggD6RwoBphRJ+EUDK2f+cZZ1L2zqVaQrn1KueoU5Kg==", + "type": "package", + "path": "microsoft.extensions.configuration.commandline/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.CommandLine.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.CommandLine.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net462/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net462/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.CommandLine.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.CommandLine.xml", + "microsoft.extensions.configuration.commandline.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.commandline.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.EnvironmentVariables/10.0.0": { + "sha512": "TmFegsI/uCdwMBD4yKpmO+OkjVNHQL49Dh/ep83NI5rPUEoBK9OdsJo1zURc1A2FuS/R/Pos3wsTjlyLnguBLA==", + "type": "package", + "path": "microsoft.extensions.configuration.environmentvariables/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.EnvironmentVariables.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net462/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net462/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.EnvironmentVariables.xml", + "microsoft.extensions.configuration.environmentvariables.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.environmentvariables.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.FileExtensions/10.0.0": { + "sha512": "LqCTyF0twrG4tyEN6PpSC5ewRBDwCBazRUfCOdRddwaQ3n2S57GDDeYOlTLcbV/V2dxSSZWg5Ofr48h6BsBmxw==", + "type": "package", + "path": "microsoft.extensions.configuration.fileextensions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.FileExtensions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.FileExtensions.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net462/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net462/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.FileExtensions.xml", + "microsoft.extensions.configuration.fileextensions.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.fileextensions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.Json/10.0.0": { + "sha512": "BIOPTEAZoeWbHlDT9Zudu+rpecZizFwhdIFRiyZKDml7JbayXmfTXKUt+ezifsSXfBkWDdJM10oDOxo8pufEng==", + "type": "package", + "path": "microsoft.extensions.configuration.json/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.Json.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.Json.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/net462/Microsoft.Extensions.Configuration.Json.dll", + "lib/net462/Microsoft.Extensions.Configuration.Json.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Json.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.Json.xml", + "lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.dll", + "lib/netstandard2.1/Microsoft.Extensions.Configuration.Json.xml", + "microsoft.extensions.configuration.json.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.json.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Configuration.UserSecrets/10.0.0": { + "sha512": "B4qHB6gQ2B3I52YRohSV7wetp01BQzi8jDmrtiVm6e4l8vH5vjqwxWcR5wumGWjdBkj1asJLLsDIocdyTQSP0A==", + "type": "package", + "path": "microsoft.extensions.configuration.usersecrets/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/net462/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/net462/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/net8.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.props", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.targets", + "lib/net10.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net10.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net462/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net462/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net8.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/net9.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/net9.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.dll", + "lib/netstandard2.0/Microsoft.Extensions.Configuration.UserSecrets.xml", + "microsoft.extensions.configuration.usersecrets.10.0.0.nupkg.sha512", + "microsoft.extensions.configuration.usersecrets.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection/10.0.0": { + "sha512": "f0RBabswJq+gRu5a+hWIobrLWiUYPKMhCD9WO3sYBAdSy3FFH14LMvLVFZc2kPSCimBLxSuitUhsd6tb0TAY6A==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.targets", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/net462/Microsoft.Extensions.DependencyInjection.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.xml", + "microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.DependencyInjection.Abstractions/10.0.0": { + "sha512": "L3AdmZ1WOK4XXT5YFPEwyt0ep6l8lGIPs7F5OOBZc77Zqeo01Of7XXICy47628sdVl0v/owxYJTe86DTgFwKCA==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.dependencyinjection.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Diagnostics/10.0.0": { + "sha512": "xjkxIPgrT0mKTfBwb+CVqZnRchyZgzKIfDQOp8z+WUC6vPe3WokIf71z+hJPkH0YBUYJwa7Z/al1R087ib9oiw==", + "type": "package", + "path": "microsoft.extensions.diagnostics/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Diagnostics.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Diagnostics.targets", + "lib/net10.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net10.0/Microsoft.Extensions.Diagnostics.xml", + "lib/net462/Microsoft.Extensions.Diagnostics.dll", + "lib/net462/Microsoft.Extensions.Diagnostics.xml", + "lib/net8.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net8.0/Microsoft.Extensions.Diagnostics.xml", + "lib/net9.0/Microsoft.Extensions.Diagnostics.dll", + "lib/net9.0/Microsoft.Extensions.Diagnostics.xml", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.dll", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.xml", + "microsoft.extensions.diagnostics.10.0.0.nupkg.sha512", + "microsoft.extensions.diagnostics.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Diagnostics.Abstractions/10.0.0": { + "sha512": "SfK89ytD61S7DgzorFljSkUeluC1ncn6dtZgwc0ot39f/BEYWBl5jpgvodxduoYAs1d9HG8faCDRZxE95UMo2A==", + "type": "package", + "path": "microsoft.extensions.diagnostics.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Diagnostics.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Diagnostics.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Diagnostics.Abstractions.xml", + "microsoft.extensions.diagnostics.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.diagnostics.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileProviders.Abstractions/10.0.0": { + "sha512": "/ppSdehKk3fuXjlqCDgSOtjRK/pSHU8eWgzSHfHdwVm5BP4Dgejehkw+PtxKG2j98qTDEHDst2Y99aNsmJldmw==", + "type": "package", + "path": "microsoft.extensions.fileproviders.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileProviders.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileProviders.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net462/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net462/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Abstractions.xml", + "microsoft.extensions.fileproviders.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.fileproviders.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileProviders.Physical/10.0.0": { + "sha512": "UZUQ74lQMmvcprlG8w+XpxBbyRDQqfb7GAnccITw32hdkUBlmm9yNC4xl4aR9YjgV3ounZcub194sdmLSfBmPA==", + "type": "package", + "path": "microsoft.extensions.fileproviders.physical/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileProviders.Physical.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileProviders.Physical.targets", + "lib/net10.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net10.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net462/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net462/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net8.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/net9.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/net9.0/Microsoft.Extensions.FileProviders.Physical.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Physical.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileProviders.Physical.xml", + "microsoft.extensions.fileproviders.physical.10.0.0.nupkg.sha512", + "microsoft.extensions.fileproviders.physical.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.FileSystemGlobbing/10.0.0": { + "sha512": "5hfVl/e+bx1px2UkN+1xXhd3hu7Ui6ENItBzckFaRDQXfr+SHT/7qrCDrlQekCF/PBtEu2vtk87U2+gDEF8EhQ==", + "type": "package", + "path": "microsoft.extensions.filesystemglobbing/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.FileSystemGlobbing.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.FileSystemGlobbing.targets", + "lib/net10.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net10.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net462/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net462/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net8.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/net9.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/net9.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "lib/netstandard2.0/Microsoft.Extensions.FileSystemGlobbing.dll", + "lib/netstandard2.0/Microsoft.Extensions.FileSystemGlobbing.xml", + "microsoft.extensions.filesystemglobbing.10.0.0.nupkg.sha512", + "microsoft.extensions.filesystemglobbing.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Hosting/10.0.0": { + "sha512": "yKJiVdXkSfe9foojGpBRbuDPQI8YD71IO/aE8ehGjRHE0VkEF/YWkW6StthwuFF146pc2lypZrpk/Tks6Plwhw==", + "type": "package", + "path": "microsoft.extensions.hosting/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Hosting.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Hosting.targets", + "lib/net10.0/Microsoft.Extensions.Hosting.dll", + "lib/net10.0/Microsoft.Extensions.Hosting.xml", + "lib/net462/Microsoft.Extensions.Hosting.dll", + "lib/net462/Microsoft.Extensions.Hosting.xml", + "lib/net8.0/Microsoft.Extensions.Hosting.dll", + "lib/net8.0/Microsoft.Extensions.Hosting.xml", + "lib/net9.0/Microsoft.Extensions.Hosting.dll", + "lib/net9.0/Microsoft.Extensions.Hosting.xml", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.dll", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.xml", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.dll", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.xml", + "microsoft.extensions.hosting.10.0.0.nupkg.sha512", + "microsoft.extensions.hosting.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Hosting.Abstractions/10.0.0": { + "sha512": "KrN6TGFwCwqOkLLk/idW/XtDQh+8In+CL9T4M1Dx+5ScsjTq4TlVbal8q532m82UYrMr6RiQJF2HvYCN0QwVsA==", + "type": "package", + "path": "microsoft.extensions.hosting.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Hosting.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Hosting.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Hosting.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.Hosting.Abstractions.xml", + "microsoft.extensions.hosting.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.hosting.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging/10.0.0": { + "sha512": "BStFkd5CcnEtarlcgYDBcFzGYCuuNMzPs02wN3WBsOFoYIEmYoUdAiU+au6opzoqfTYJsMTW00AeqDdnXH2CvA==", + "type": "package", + "path": "microsoft.extensions.logging/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.targets", + "lib/net10.0/Microsoft.Extensions.Logging.dll", + "lib/net10.0/Microsoft.Extensions.Logging.xml", + "lib/net462/Microsoft.Extensions.Logging.dll", + "lib/net462/Microsoft.Extensions.Logging.xml", + "lib/net8.0/Microsoft.Extensions.Logging.dll", + "lib/net8.0/Microsoft.Extensions.Logging.xml", + "lib/net9.0/Microsoft.Extensions.Logging.dll", + "lib/net9.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.xml", + "lib/netstandard2.1/Microsoft.Extensions.Logging.dll", + "lib/netstandard2.1/Microsoft.Extensions.Logging.xml", + "microsoft.extensions.logging.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Abstractions/10.0.0": { + "sha512": "FU/IfjDfwaMuKr414SSQNTIti/69bHEMb+QKrskRb26oVqpx3lNFXMjs/RC9ZUuhBhcwDM2BwOgoMw+PZ+beqQ==", + "type": "package", + "path": "microsoft.extensions.logging.abstractions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Logging.Generators.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Logging.Generators.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Logging.Generators.resources.dll", + "buildTransitive/net461/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net462/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net462/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.xml", + "microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Configuration/10.0.0": { + "sha512": "j8zcwhS6bYB6FEfaY3nYSgHdpiL2T+/V3xjpHtslVAegyI1JUbB9yAt/BFdvZdsNbY0Udm4xFtvfT/hUwcOOOg==", + "type": "package", + "path": "microsoft.extensions.logging.configuration/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Configuration.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Configuration.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net462/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net462/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Configuration.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Configuration.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.configuration.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Console/10.0.0": { + "sha512": "treWetuksp8LVb09fCJ5zNhNJjyDkqzVm83XxcrlWQnAdXznR140UUXo8PyEPBvFlHhjKhFQZEOP3Sk/ByCvEw==", + "type": "package", + "path": "microsoft.extensions.logging.console/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Console.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Console.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Console.xml", + "lib/net462/Microsoft.Extensions.Logging.Console.dll", + "lib/net462/Microsoft.Extensions.Logging.Console.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Console.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Console.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Console.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Console.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Console.xml", + "microsoft.extensions.logging.console.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.console.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.Debug/10.0.0": { + "sha512": "A/4vBtVaySLBGj4qluye+KSbeVCCMa6GcTbxf2YgnSDHs9b9105+VojBJ1eJPel8F1ny0JOh+Ci3vgCKn69tNQ==", + "type": "package", + "path": "microsoft.extensions.logging.debug/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.Debug.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.Debug.targets", + "lib/net10.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net10.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/net462/Microsoft.Extensions.Logging.Debug.dll", + "lib/net462/Microsoft.Extensions.Logging.Debug.xml", + "lib/net8.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net8.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/net9.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/net9.0/Microsoft.Extensions.Logging.Debug.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Debug.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.Debug.xml", + "microsoft.extensions.logging.debug.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.debug.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.EventLog/10.0.0": { + "sha512": "EWda5nSXhzQZr3yJ3+XgIApOek+Hm+txhWCEzWNVPp/OfimL4qmvctgXu87m+S2RXw/AoUP8aLMNicJ2KWblVA==", + "type": "package", + "path": "microsoft.extensions.logging.eventlog/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.EventLog.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.EventLog.targets", + "lib/net10.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net10.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net462/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net462/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net8.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/net9.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/net9.0/Microsoft.Extensions.Logging.EventLog.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventLog.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventLog.xml", + "microsoft.extensions.logging.eventlog.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.eventlog.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Logging.EventSource/10.0.0": { + "sha512": "+Qc+kgoJi1w2A/Jm+7h04LcK2JoJkwAxKg7kBakkNRcemTmRGocqPa7rVNVGorTYruFrUS25GwkFNtOECnjhXg==", + "type": "package", + "path": "microsoft.extensions.logging.eventsource/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Logging.EventSource.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Logging.EventSource.targets", + "lib/net10.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net10.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net462/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net462/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net8.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/net9.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/net9.0/Microsoft.Extensions.Logging.EventSource.xml", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventSource.dll", + "lib/netstandard2.0/Microsoft.Extensions.Logging.EventSource.xml", + "microsoft.extensions.logging.eventsource.10.0.0.nupkg.sha512", + "microsoft.extensions.logging.eventsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Options/10.0.0": { + "sha512": "8oCAgXOow5XDrY9HaXX1QmH3ORsyZO/ANVHBlhLyCeWTH5Sg4UuqZeOTWJi6484M+LqSx0RqQXDJtdYy2BNiLQ==", + "type": "package", + "path": "microsoft.extensions.options/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Options.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Options.SourceGeneration.resources.dll", + "buildTransitive/net461/Microsoft.Extensions.Options.targets", + "buildTransitive/net462/Microsoft.Extensions.Options.targets", + "buildTransitive/net8.0/Microsoft.Extensions.Options.targets", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Options.targets", + "buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets", + "lib/net10.0/Microsoft.Extensions.Options.dll", + "lib/net10.0/Microsoft.Extensions.Options.xml", + "lib/net462/Microsoft.Extensions.Options.dll", + "lib/net462/Microsoft.Extensions.Options.xml", + "lib/net8.0/Microsoft.Extensions.Options.dll", + "lib/net8.0/Microsoft.Extensions.Options.xml", + "lib/net9.0/Microsoft.Extensions.Options.dll", + "lib/net9.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.0/Microsoft.Extensions.Options.dll", + "lib/netstandard2.0/Microsoft.Extensions.Options.xml", + "lib/netstandard2.1/Microsoft.Extensions.Options.dll", + "lib/netstandard2.1/Microsoft.Extensions.Options.xml", + "microsoft.extensions.options.10.0.0.nupkg.sha512", + "microsoft.extensions.options.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Options.ConfigurationExtensions/10.0.0": { + "sha512": "tL9cSl3maS5FPzp/3MtlZI21ExWhni0nnUCF8HY4npTsINw45n9SNDbkKXBMtFyUFGSsQep25fHIDN4f/Vp3AQ==", + "type": "package", + "path": "microsoft.extensions.options.configurationextensions/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Options.ConfigurationExtensions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Options.ConfigurationExtensions.targets", + "lib/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net10.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net462/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net462/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net8.0/Microsoft.Extensions.Options.ConfigurationExtensions.xml", + "lib/net9.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll", + "lib/net9.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.10.0.0.nupkg.sha512", + "microsoft.extensions.options.configurationextensions.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "Microsoft.Extensions.Primitives/10.0.0": { + "sha512": "inRnbpCS0nwO/RuoZIAqxQUuyjaknOOnCEZB55KSMMjRhl0RQDttSmLSGsUJN3RQ3ocf5NDLFd2mOQViHqMK5w==", + "type": "package", + "path": "microsoft.extensions.primitives/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.Primitives.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.Primitives.targets", + "lib/net10.0/Microsoft.Extensions.Primitives.dll", + "lib/net10.0/Microsoft.Extensions.Primitives.xml", + "lib/net462/Microsoft.Extensions.Primitives.dll", + "lib/net462/Microsoft.Extensions.Primitives.xml", + "lib/net8.0/Microsoft.Extensions.Primitives.dll", + "lib/net8.0/Microsoft.Extensions.Primitives.xml", + "lib/net9.0/Microsoft.Extensions.Primitives.dll", + "lib/net9.0/Microsoft.Extensions.Primitives.xml", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.dll", + "lib/netstandard2.0/Microsoft.Extensions.Primitives.xml", + "microsoft.extensions.primitives.10.0.0.nupkg.sha512", + "microsoft.extensions.primitives.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "protobuf-net/3.2.26": { + "sha512": "zBzBiKs4yP+tzQOsRA5WbI/zayS6eFv8g0KIKNPI7/RUY1nk9Oe+STmtbUYkNUkO3T3SidEoZv+tF1nmgTSutQ==", + "type": "package", + "path": "protobuf-net/3.2.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net462/protobuf-net.dll", + "lib/net462/protobuf-net.xml", + "lib/net6.0/protobuf-net.dll", + "lib/net6.0/protobuf-net.xml", + "lib/netstandard2.0/protobuf-net.dll", + "lib/netstandard2.0/protobuf-net.xml", + "lib/netstandard2.1/protobuf-net.dll", + "lib/netstandard2.1/protobuf-net.xml", + "protobuf-net.3.2.26.nupkg.sha512", + "protobuf-net.nuspec", + "protobuf-net.png" + ] + }, + "protobuf-net.Core/3.2.26": { + "sha512": "s8oJW9dBVxix4p8uqMbeG++DIGjgzOFAKoP2i5wayeeFOKBqG+cCBO2S/CAC4MAFlb5m1Os2m/miLcqRCgqJ7Q==", + "type": "package", + "path": "protobuf-net.core/3.2.26", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net462/protobuf-net.Core.dll", + "lib/net462/protobuf-net.Core.xml", + "lib/net6.0/protobuf-net.Core.dll", + "lib/net6.0/protobuf-net.Core.xml", + "lib/netstandard2.0/protobuf-net.Core.dll", + "lib/netstandard2.0/protobuf-net.Core.xml", + "lib/netstandard2.1/protobuf-net.Core.dll", + "lib/netstandard2.1/protobuf-net.Core.xml", + "protobuf-net.core.3.2.26.nupkg.sha512", + "protobuf-net.core.nuspec", + "protobuf-net.png" + ] + }, + "System.Collections.Immutable/7.0.0": { + "sha512": "dQPcs0U1IKnBdRDBkrCTi1FoajSTBzLcVTpjO4MBCMC7f4pDOIPzgBoX8JjG7X6uZRJ8EBxsi8+DR1JuwjnzOQ==", + "type": "package", + "path": "system.collections.immutable/7.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "README.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Collections.Immutable.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/System.Collections.Immutable.targets", + "lib/net462/System.Collections.Immutable.dll", + "lib/net462/System.Collections.Immutable.xml", + "lib/net6.0/System.Collections.Immutable.dll", + "lib/net6.0/System.Collections.Immutable.xml", + "lib/net7.0/System.Collections.Immutable.dll", + "lib/net7.0/System.Collections.Immutable.xml", + "lib/netstandard2.0/System.Collections.Immutable.dll", + "lib/netstandard2.0/System.Collections.Immutable.xml", + "system.collections.immutable.7.0.0.nupkg.sha512", + "system.collections.immutable.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Diagnostics.DiagnosticSource/10.0.0": { + "sha512": "0KdBK+h7G13PuOSC2R/DalAoFMvdYMznvGRuICtkdcUMXgl/gYXsG6z4yUvTxHSMACorWgHCU1Faq0KUHU6yAQ==", + "type": "package", + "path": "system.diagnostics.diagnosticsource/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Diagnostics.DiagnosticSource.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Diagnostics.DiagnosticSource.targets", + "lib/net10.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net10.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net462/System.Diagnostics.DiagnosticSource.dll", + "lib/net462/System.Diagnostics.DiagnosticSource.xml", + "lib/net8.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net8.0/System.Diagnostics.DiagnosticSource.xml", + "lib/net9.0/System.Diagnostics.DiagnosticSource.dll", + "lib/net9.0/System.Diagnostics.DiagnosticSource.xml", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.dll", + "lib/netstandard2.0/System.Diagnostics.DiagnosticSource.xml", + "system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512", + "system.diagnostics.diagnosticsource.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Diagnostics.EventLog/10.0.0": { + "sha512": "uaFRda9NjtbJRkdx311eXlAA3n2em7223c1A8d1VWyl+4FL9vkG7y2lpPfBU9HYdj/9KgdRNdn1vFK8ZYCYT/A==", + "type": "package", + "path": "system.diagnostics.eventlog/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Diagnostics.EventLog.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Diagnostics.EventLog.targets", + "lib/net10.0/System.Diagnostics.EventLog.dll", + "lib/net10.0/System.Diagnostics.EventLog.xml", + "lib/net462/System.Diagnostics.EventLog.dll", + "lib/net462/System.Diagnostics.EventLog.xml", + "lib/net8.0/System.Diagnostics.EventLog.dll", + "lib/net8.0/System.Diagnostics.EventLog.xml", + "lib/net9.0/System.Diagnostics.EventLog.dll", + "lib/net9.0/System.Diagnostics.EventLog.xml", + "lib/netstandard2.0/System.Diagnostics.EventLog.dll", + "lib/netstandard2.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net10.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net8.0/System.Diagnostics.EventLog.xml", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.Messages.dll", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.dll", + "runtimes/win/lib/net9.0/System.Diagnostics.EventLog.xml", + "system.diagnostics.eventlog.10.0.0.nupkg.sha512", + "system.diagnostics.eventlog.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.IO.Pipelines/10.0.0": { + "sha512": "M1eb3nfXntaRJPrrMVM9EFS8I1bDTnt0uvUS6QP/SicZf/ZZjydMD5NiXxfmwW/uQwaMDP/yX2P+zQN1NBHChg==", + "type": "package", + "path": "system.io.pipelines/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.IO.Pipelines.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.IO.Pipelines.targets", + "lib/net10.0/System.IO.Pipelines.dll", + "lib/net10.0/System.IO.Pipelines.xml", + "lib/net462/System.IO.Pipelines.dll", + "lib/net462/System.IO.Pipelines.xml", + "lib/net8.0/System.IO.Pipelines.dll", + "lib/net8.0/System.IO.Pipelines.xml", + "lib/net9.0/System.IO.Pipelines.dll", + "lib/net9.0/System.IO.Pipelines.xml", + "lib/netstandard2.0/System.IO.Pipelines.dll", + "lib/netstandard2.0/System.IO.Pipelines.xml", + "system.io.pipelines.10.0.0.nupkg.sha512", + "system.io.pipelines.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Reactive/6.0.0": { + "sha512": "31kfaW4ZupZzPsI5PVe77VhnvFF55qgma7KZr/E0iFTs6fmdhhG8j0mgEx620iLTey1EynOkEfnyTjtNEpJzGw==", + "type": "package", + "path": "system.reactive/6.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "build/net6.0-windows10.0.19041/_._", + "build/net6.0/_._", + "buildTransitive/net6.0-windows10.0.19041/_._", + "buildTransitive/net6.0/_._", + "icon.png", + "lib/net472/System.Reactive.dll", + "lib/net472/System.Reactive.xml", + "lib/net6.0-windows10.0.19041/System.Reactive.dll", + "lib/net6.0-windows10.0.19041/System.Reactive.xml", + "lib/net6.0/System.Reactive.dll", + "lib/net6.0/System.Reactive.xml", + "lib/netstandard2.0/System.Reactive.dll", + "lib/netstandard2.0/System.Reactive.xml", + "lib/uap10.0.18362/System.Reactive.dll", + "lib/uap10.0.18362/System.Reactive.pri", + "lib/uap10.0.18362/System.Reactive.xml", + "readme.md", + "system.reactive.6.0.0.nupkg.sha512", + "system.reactive.nuspec" + ] + }, + "System.Text.Encodings.Web/10.0.0": { + "sha512": "257hh1ep1Gqm1Lm0ulxf7vVBVMJuGN6EL4xSWjpi46DffXzm1058IiWsfSC06zSm7SniN+Tb5160UnXsSa8rRg==", + "type": "package", + "path": "system.text.encodings.web/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/System.Text.Encodings.Web.targets", + "buildTransitive/net462/_._", + "buildTransitive/net8.0/_._", + "buildTransitive/netcoreapp2.0/System.Text.Encodings.Web.targets", + "lib/net10.0/System.Text.Encodings.Web.dll", + "lib/net10.0/System.Text.Encodings.Web.xml", + "lib/net462/System.Text.Encodings.Web.dll", + "lib/net462/System.Text.Encodings.Web.xml", + "lib/net8.0/System.Text.Encodings.Web.dll", + "lib/net8.0/System.Text.Encodings.Web.xml", + "lib/net9.0/System.Text.Encodings.Web.dll", + "lib/net9.0/System.Text.Encodings.Web.xml", + "lib/netstandard2.0/System.Text.Encodings.Web.dll", + "lib/netstandard2.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net10.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net10.0/System.Text.Encodings.Web.xml", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.dll", + "runtimes/browser/lib/net8.0/System.Text.Encodings.Web.xml", + "runtimes/wasi/lib/net10.0/System.Text.Encodings.Web.dll", + "runtimes/wasi/lib/net10.0/System.Text.Encodings.Web.xml", + "runtimes/win/lib/net9.0/System.Text.Encodings.Web.dll", + "runtimes/win/lib/net9.0/System.Text.Encodings.Web.xml", + "system.text.encodings.web.10.0.0.nupkg.sha512", + "system.text.encodings.web.nuspec", + "useSharedDesignerContext.txt" + ] + }, + "System.Text.Json/10.0.0": { + "sha512": "1Dpjwq9peG/Wt5BNbrzIhTpclfOSqBWZsUO28vVr59yQlkvL5jLBWfpfzRmJ1OY+6DciaY0DUcltyzs4fuZHjw==", + "type": "package", + "path": "system.text.json/10.0.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "analyzers/dotnet/roslyn3.11/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn3.11/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn3.11/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.0/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.0/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/System.Text.Json.SourceGeneration.dll", + "analyzers/dotnet/roslyn4.4/cs/cs/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/de/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/es/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/fr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/it/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ja/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ko/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pl/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/pt-BR/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/ru/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/tr/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hans/System.Text.Json.SourceGeneration.resources.dll", + "analyzers/dotnet/roslyn4.4/cs/zh-Hant/System.Text.Json.SourceGeneration.resources.dll", + "buildTransitive/net461/System.Text.Json.targets", + "buildTransitive/net462/System.Text.Json.targets", + "buildTransitive/net8.0/System.Text.Json.targets", + "buildTransitive/netcoreapp2.0/System.Text.Json.targets", + "buildTransitive/netstandard2.0/System.Text.Json.targets", + "lib/net10.0/System.Text.Json.dll", + "lib/net10.0/System.Text.Json.xml", + "lib/net462/System.Text.Json.dll", + "lib/net462/System.Text.Json.xml", + "lib/net8.0/System.Text.Json.dll", + "lib/net8.0/System.Text.Json.xml", + "lib/net9.0/System.Text.Json.dll", + "lib/net9.0/System.Text.Json.xml", + "lib/netstandard2.0/System.Text.Json.dll", + "lib/netstandard2.0/System.Text.Json.xml", + "system.text.json.10.0.0.nupkg.sha512", + "system.text.json.nuspec", + "useSharedDesignerContext.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net8.0": [ + "Google.Protobuf >= 3.24.3", + "Microsoft.Extensions.Hosting >= 10.0.0", + "System.Reactive >= 6.0.0", + "protobuf-net >= 3.2.26" + ] + }, + "packageFolders": { + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "3.2.0-preview", + "restore": { + "projectUniqueName": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "projectName": "Bts.Spark.Core", + "projectPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "packagesPath": "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\.codexobj\\PubSubCommonOnly\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\Owner\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "C:\\Program Files\\dotnet\\library-packs": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "allWarningsAsErrors": true + }, + "restoreAuditProperties": { + "enableAudit": "false", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "10.0.100" + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "dependencies": { + "Google.Protobuf": { + "target": "Package", + "version": "[3.24.3, )" + }, + "Microsoft.Extensions.Hosting": { + "target": "Package", + "version": "[10.0.0, )" + }, + "System.Reactive": { + "target": "Package", + "version": "[6.0.0, )" + }, + "protobuf-net": { + "target": "Package", + "version": "[3.2.26, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.100/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/project.nuget.cache b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/project.nuget.cache new file mode 100644 index 000000000..abe0f43d4 --- /dev/null +++ b/src/cs/Bts.Spark.Core/.codexobj/PubSubCommonOnly/project.nuget.cache @@ -0,0 +1,46 @@ +{ + "version": 2, + "dgSpecHash": "98m5UdSQUeM=", + "success": true, + "projectFilePath": "C:\\Users\\Owner\\spark\\src\\cs\\Bts.Spark.Core\\Bts.Spark.Core.csproj", + "expectedPackageFiles": [ + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\google.protobuf\\3.24.3\\google.protobuf.3.24.3.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration\\10.0.0\\microsoft.extensions.configuration.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.abstractions\\10.0.0\\microsoft.extensions.configuration.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.binder\\10.0.0\\microsoft.extensions.configuration.binder.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.commandline\\10.0.0\\microsoft.extensions.configuration.commandline.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.environmentvariables\\10.0.0\\microsoft.extensions.configuration.environmentvariables.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.fileextensions\\10.0.0\\microsoft.extensions.configuration.fileextensions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.json\\10.0.0\\microsoft.extensions.configuration.json.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.configuration.usersecrets\\10.0.0\\microsoft.extensions.configuration.usersecrets.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.dependencyinjection\\10.0.0\\microsoft.extensions.dependencyinjection.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\10.0.0\\microsoft.extensions.dependencyinjection.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.diagnostics\\10.0.0\\microsoft.extensions.diagnostics.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.diagnostics.abstractions\\10.0.0\\microsoft.extensions.diagnostics.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.fileproviders.abstractions\\10.0.0\\microsoft.extensions.fileproviders.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.fileproviders.physical\\10.0.0\\microsoft.extensions.fileproviders.physical.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.filesystemglobbing\\10.0.0\\microsoft.extensions.filesystemglobbing.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.hosting\\10.0.0\\microsoft.extensions.hosting.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.hosting.abstractions\\10.0.0\\microsoft.extensions.hosting.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging\\10.0.0\\microsoft.extensions.logging.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\10.0.0\\microsoft.extensions.logging.abstractions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.configuration\\10.0.0\\microsoft.extensions.logging.configuration.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.console\\10.0.0\\microsoft.extensions.logging.console.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.debug\\10.0.0\\microsoft.extensions.logging.debug.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.eventlog\\10.0.0\\microsoft.extensions.logging.eventlog.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.logging.eventsource\\10.0.0\\microsoft.extensions.logging.eventsource.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.options\\10.0.0\\microsoft.extensions.options.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.options.configurationextensions\\10.0.0\\microsoft.extensions.options.configurationextensions.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\microsoft.extensions.primitives\\10.0.0\\microsoft.extensions.primitives.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\protobuf-net\\3.2.26\\protobuf-net.3.2.26.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\protobuf-net.core\\3.2.26\\protobuf-net.core.3.2.26.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.collections.immutable\\7.0.0\\system.collections.immutable.7.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.diagnostics.diagnosticsource\\10.0.0\\system.diagnostics.diagnosticsource.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.diagnostics.eventlog\\10.0.0\\system.diagnostics.eventlog.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.io.pipelines\\10.0.0\\system.io.pipelines.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.reactive\\6.0.0\\system.reactive.6.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.text.encodings.web\\10.0.0\\system.text.encodings.web.10.0.0.nupkg.sha512", + "c:\\Users\\Owner\\spark\\.dotnet-cli\\.nuget\\packages\\system.text.json\\10.0.0\\system.text.json.10.0.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/src/cs/Bts.Spark.Core/Collections/Extensions/CollectionExtensions.cs b/src/cs/Bts.Spark.Core/Collections/Extensions/CollectionExtensions.cs index 64d57d8c0..bb6a1455a 100644 --- a/src/cs/Bts.Spark.Core/Collections/Extensions/CollectionExtensions.cs +++ b/src/cs/Bts.Spark.Core/Collections/Extensions/CollectionExtensions.cs @@ -35,7 +35,7 @@ namespace Spark.Core.Collections { foreach (var v in collection) { var (resIdx, res) = selector(v); rv[resIdx] = res; - } + } return rv; }