Selaa lähdekoodia

Architectural refactoring

master
Savorboard 5 vuotta sitten
vanhempi
commit
5d1c1bfb08
100 muutettua tiedostoa jossa 161 lisäystä ja 25 poistoa
  1. +7
    -0
      CAP.sln
  2. +6
    -6
      samples/Sample.RabbitMQ.MySql/Controllers/ValuesController.cs
  3. +1
    -0
      samples/Sample.RabbitMQ.MySql/Program.cs
  4. +1
    -1
      samples/Sample.RabbitMQ.MySql/Properties/launchSettings.json
  5. +3
    -2
      samples/Sample.RabbitMQ.MySql/Startup.cs
  6. +1
    -1
      samples/Sample.RabbitMQ.MySql/appsettings.json
  7. +1
    -1
      src/DotNetCore.CAP.AzureServiceBus/CAP.AzureServiceBusOptionsExtension.cs
  8. +0
    -0
      src/DotNetCore.CAP.Dashboard/BatchCommandDispatcher.cs
  9. +0
    -0
      src/DotNetCore.CAP.Dashboard/CAP.DashboardMiddleware.cs
  10. +0
    -0
      src/DotNetCore.CAP.Dashboard/CAP.DashboardOptions.cs
  11. +0
    -0
      src/DotNetCore.CAP.Dashboard/CAP.DashboardOptionsExtensions.cs
  12. +0
    -0
      src/DotNetCore.CAP.Dashboard/CombinedResourceDispatcher.cs
  13. +0
    -0
      src/DotNetCore.CAP.Dashboard/CommandDispatcher.cs
  14. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/css/bootstrap.min.css
  15. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/css/cap.css
  16. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/css/jsonview.min.css
  17. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/css/rickshaw.min.css
  18. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.eot
  19. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.svg
  20. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.ttf
  21. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.woff
  22. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.woff2
  23. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/js/bootstrap.min.js
  24. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/js/cap.js
  25. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/js/d3.layout.min.js
  26. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/js/d3.min.js
  27. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/js/jquery-2.1.4.min.js
  28. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/js/jsonview.min.js
  29. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/js/moment-with-locales.min.js
  30. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/js/moment.min.js
  31. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/js/rickshaw.min.js
  32. +1
    -1
      src/DotNetCore.CAP.Dashboard/Content/resx/Strings.Designer.cs
  33. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/resx/Strings.resx
  34. +0
    -0
      src/DotNetCore.CAP.Dashboard/Content/resx/Strings.zh.resx
  35. +0
    -0
      src/DotNetCore.CAP.Dashboard/DashboardContext.cs
  36. +0
    -0
      src/DotNetCore.CAP.Dashboard/DashboardMetric.cs
  37. +0
    -0
      src/DotNetCore.CAP.Dashboard/DashboardMetrics.cs
  38. +0
    -0
      src/DotNetCore.CAP.Dashboard/DashboardRequest.cs
  39. +0
    -0
      src/DotNetCore.CAP.Dashboard/DashboardResponse.cs
  40. +0
    -0
      src/DotNetCore.CAP.Dashboard/DashboardRoutes.cs
  41. +125
    -0
      src/DotNetCore.CAP.Dashboard/DotNetCore.CAP.Dashboard.csproj
  42. +0
    -0
      src/DotNetCore.CAP.Dashboard/EmbeddedResourceDispatcher.cs
  43. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/DownstreamUrl.cs
  44. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/GatewayProxyMiddleware.cs
  45. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/IRequestMapper.Default.cs
  46. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/IRequestMapper.cs
  47. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/HttpClientBuilder.cs
  48. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/HttpClientHttpRequester.cs
  49. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/IHttpClient.cs
  50. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/IHttpClientBuilder.cs
  51. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/IHttpClientCache.cs
  52. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/IHttpRequester.cs
  53. +0
    -0
      src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/MemoryHttpClientCache.cs
  54. +1
    -1
      src/DotNetCore.CAP.Dashboard/HtmlHelper.cs
  55. +0
    -0
      src/DotNetCore.CAP.Dashboard/IDashboardAuthorizationFilter.cs
  56. +0
    -0
      src/DotNetCore.CAP.Dashboard/IDashboardDispatcher.cs
  57. +1
    -1
      src/DotNetCore.CAP.Dashboard/IMonitoringApi.cs
  58. +0
    -0
      src/DotNetCore.CAP.Dashboard/JsonDispatcher.cs
  59. +0
    -0
      src/DotNetCore.CAP.Dashboard/JsonStats.cs
  60. +0
    -0
      src/DotNetCore.CAP.Dashboard/LocalRequestsOnlyAuthorizationFilter.cs
  61. +0
    -0
      src/DotNetCore.CAP.Dashboard/MenuItem.cs
  62. +0
    -0
      src/DotNetCore.CAP.Dashboard/MessageHistoryRenderer.cs
  63. +0
    -0
      src/DotNetCore.CAP.Dashboard/MessagesSidebarMenu.cs
  64. +0
    -0
      src/DotNetCore.CAP.Dashboard/Metric.cs
  65. +0
    -0
      src/DotNetCore.CAP.Dashboard/Monitoring/MessageDto.cs
  66. +1
    -1
      src/DotNetCore.CAP.Dashboard/Monitoring/MessageQueryDto.cs
  67. +0
    -0
      src/DotNetCore.CAP.Dashboard/Monitoring/ServerDto.cs
  68. +0
    -0
      src/DotNetCore.CAP.Dashboard/Monitoring/StatisticsDto.cs
  69. +0
    -0
      src/DotNetCore.CAP.Dashboard/NavigationMenu.cs
  70. +0
    -0
      src/DotNetCore.CAP.Dashboard/NonEscapedString.cs
  71. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pager.cs
  72. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/BlockMetric.cs
  73. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/Breadcrumbs.cs
  74. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/HomePage.cs
  75. +1
    -1
      src/DotNetCore.CAP.Dashboard/Pages/HomePage.cshtml
  76. +3
    -3
      src/DotNetCore.CAP.Dashboard/Pages/HomePage.generated.cs
  77. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/InlineMetric.cs
  78. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/LayoutPage.cs
  79. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/LayoutPage.cshtml
  80. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/LayoutPage.generated.cs
  81. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/NodePage.cs
  82. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/NodePage.cshtml
  83. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/NodePage.generated.cs
  84. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/PublishedPage.cs
  85. +1
    -1
      src/DotNetCore.CAP.Dashboard/Pages/PublishedPage.cshtml
  86. +3
    -2
      src/DotNetCore.CAP.Dashboard/Pages/PublishedPage.generated.cs
  87. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/ReceivedPage.cs
  88. +1
    -1
      src/DotNetCore.CAP.Dashboard/Pages/ReceivedPage.cshtml
  89. +3
    -2
      src/DotNetCore.CAP.Dashboard/Pages/ReceivedPage.generated.cs
  90. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/SidebarMenu.cs
  91. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/SubscriberPage.cshtml
  92. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/SubscriberPage.generated.cs
  93. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/_BlockMetric.cshtml
  94. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/_BlockMetric.generated.cs
  95. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/_Breadcrumbs.cshtml
  96. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/_Breadcrumbs.generated.cs
  97. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/_InlineMetric.cshtml
  98. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/_InlineMetric.generated.cs
  99. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/_Navigation.cshtml
  100. +0
    -0
      src/DotNetCore.CAP.Dashboard/Pages/_Navigation.generated.cs

+ 7
- 0
CAP.sln Näytä tiedosto

@@ -68,6 +68,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DotNetCore.CAP.InMemoryStor
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sample.AzureServiceBus.InMemory", "samples\Sample.AzureServiceBus.InMemory\Sample.AzureServiceBus.InMemory.csproj", "{1E1E959C-3D0E-45C3-ABCA-DAAACE68AAB8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCore.CAP.Dashboard", "src\DotNetCore.CAP.Dashboard\DotNetCore.CAP.Dashboard.csproj", "{56FB261C-67AF-4715-9A46-4FA4FAB91B2C}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -142,6 +144,10 @@ Global
{1E1E959C-3D0E-45C3-ABCA-DAAACE68AAB8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1E1E959C-3D0E-45C3-ABCA-DAAACE68AAB8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1E1E959C-3D0E-45C3-ABCA-DAAACE68AAB8}.Release|Any CPU.Build.0 = Release|Any CPU
{56FB261C-67AF-4715-9A46-4FA4FAB91B2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{56FB261C-67AF-4715-9A46-4FA4FAB91B2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{56FB261C-67AF-4715-9A46-4FA4FAB91B2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{56FB261C-67AF-4715-9A46-4FA4FAB91B2C}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -165,6 +171,7 @@ Global
{63B2A464-FBEA-42FB-8EFA-98AFA39FC920} = {9B2AE124-6636-4DE9-83A3-70360DABD0C4}
{58B6E829-C6C8-457C-9DD0-C600650254DF} = {9B2AE124-6636-4DE9-83A3-70360DABD0C4}
{1E1E959C-3D0E-45C3-ABCA-DAAACE68AAB8} = {3A6B6931-A123-477A-9469-8B468B5385AF}
{56FB261C-67AF-4715-9A46-4FA4FAB91B2C} = {9B2AE124-6636-4DE9-83A3-70360DABD0C4}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2E70565D-94CF-40B4-BFE1-AC18D5F736AB}


+ 6
- 6
samples/Sample.RabbitMQ.MySql/Controllers/ValuesController.cs Näytä tiedosto

@@ -36,10 +36,10 @@ namespace Sample.RabbitMQ.MySql.Controllers
//your business code
connection.Execute("insert into test(name) values('test')", transaction: (IDbTransaction)transaction.DbTransaction);

for (int i = 0; i < 5; i++)
{
_capBus.Publish("sample.rabbitmq.mysql", DateTime.Now);
}
//for (int i = 0; i < 5; i++)
//{
_capBus.Publish("sample.rabbitmq.mysql", DateTime.Now);
//}

transaction.Commit();
}
@@ -68,10 +68,10 @@ namespace Sample.RabbitMQ.MySql.Controllers
}

[NonAction]
[CapSubscribe("#.rabbitmq.mysql")]
[CapSubscribe("sample.rabbitmq.mysql")]
public void Subscriber(DateTime time)
{
Console.WriteLine($@"{DateTime.Now}, Subscriber invoked, Sent time:{time}");
//Console.WriteLine($@"{DateTime.Now}, Subscriber invoked, Sent time:{time}");
}
}
}

+ 1
- 0
samples/Sample.RabbitMQ.MySql/Program.cs Näytä tiedosto

@@ -13,6 +13,7 @@ namespace Sample.RabbitMQ.MySql
public static IWebHost BuildWebHost(string[] args) =>
WebHost.CreateDefaultBuilder(args)
.UseStartup<Startup>()
.UseUrls("http://*:15173")
.Build();
}
}

+ 1
- 1
samples/Sample.RabbitMQ.MySql/Properties/launchSettings.json Näytä tiedosto

@@ -21,7 +21,7 @@
"launchBrowser": true,
"launchUrl": "cap",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
"ASPNETCORE_ENVIRONMENT": "Production"
},
"applicationUrl": "http://localhost:57173/"
}


+ 3
- 2
samples/Sample.RabbitMQ.MySql/Startup.cs Näytä tiedosto

@@ -15,12 +15,13 @@ namespace Sample.RabbitMQ.MySql
services.AddCap(x =>
{
x.UseEntityFramework<AppDbContext>();
x.UseRabbitMQ("localhost");
x.UseRabbitMQ("192.168.2.120");
x.UseDashboard();
x.FailedRetryCount = 5;
x.FailedThresholdCallback = (type, name, content) =>
{
Console.WriteLine($@"A message of type {type} failed after executing {x.FailedRetryCount} several times, requiring manual troubleshooting. Message name: {name}, message body: {content}");
Console.WriteLine(
$@"A message of type {type} failed after executing {x.FailedRetryCount} several times, requiring manual troubleshooting. Message name: {name}, message body: {content}");
};
});



+ 1
- 1
samples/Sample.RabbitMQ.MySql/appsettings.json Näytä tiedosto

@@ -2,7 +2,7 @@
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug"
"Default": "Error"
}
}
}

+ 1
- 1
src/DotNetCore.CAP.AzureServiceBus/CAP.AzureServiceBusOptionsExtension.cs Näytä tiedosto

@@ -24,7 +24,7 @@ namespace DotNetCore.CAP
services.Configure(_configure);

services.AddSingleton<IConsumerClientFactory, AzureServiceBusConsumerClientFactory>();
services.AddSingleton<IPublishExecutor, AzureServiceBusPublishMessageSender>();
services.AddSingleton<ITransportPublisher, AzureServiceBusPublishMessageSender>();
services.AddSingleton<IPublishMessageSender, AzureServiceBusPublishMessageSender>();
}
}

src/DotNetCore.CAP/Dashboard/BatchCommandDispatcher.cs → src/DotNetCore.CAP.Dashboard/BatchCommandDispatcher.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/CAP.DashboardMiddleware.cs → src/DotNetCore.CAP.Dashboard/CAP.DashboardMiddleware.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/CAP.DashboardOptions.cs → src/DotNetCore.CAP.Dashboard/CAP.DashboardOptions.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/CAP.DashboardOptionsExtensions.cs → src/DotNetCore.CAP.Dashboard/CAP.DashboardOptionsExtensions.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/CombinedResourceDispatcher.cs → src/DotNetCore.CAP.Dashboard/CombinedResourceDispatcher.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/CommandDispatcher.cs → src/DotNetCore.CAP.Dashboard/CommandDispatcher.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/css/bootstrap.min.css → src/DotNetCore.CAP.Dashboard/Content/css/bootstrap.min.css Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/css/cap.css → src/DotNetCore.CAP.Dashboard/Content/css/cap.css Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/css/jsonview.min.css → src/DotNetCore.CAP.Dashboard/Content/css/jsonview.min.css Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/css/rickshaw.min.css → src/DotNetCore.CAP.Dashboard/Content/css/rickshaw.min.css Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/fonts/glyphicons-halflings-regular.eot → src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.eot Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/fonts/glyphicons-halflings-regular.svg → src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.svg Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/fonts/glyphicons-halflings-regular.ttf → src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.ttf Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/fonts/glyphicons-halflings-regular.woff → src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.woff Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/fonts/glyphicons-halflings-regular.woff2 → src/DotNetCore.CAP.Dashboard/Content/fonts/glyphicons-halflings-regular.woff2 Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/js/bootstrap.min.js → src/DotNetCore.CAP.Dashboard/Content/js/bootstrap.min.js Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/js/cap.js → src/DotNetCore.CAP.Dashboard/Content/js/cap.js Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/js/d3.layout.min.js → src/DotNetCore.CAP.Dashboard/Content/js/d3.layout.min.js Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/js/d3.min.js → src/DotNetCore.CAP.Dashboard/Content/js/d3.min.js Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/js/jquery-2.1.4.min.js → src/DotNetCore.CAP.Dashboard/Content/js/jquery-2.1.4.min.js Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/js/jsonview.min.js → src/DotNetCore.CAP.Dashboard/Content/js/jsonview.min.js Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/js/moment-with-locales.min.js → src/DotNetCore.CAP.Dashboard/Content/js/moment-with-locales.min.js Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/js/moment.min.js → src/DotNetCore.CAP.Dashboard/Content/js/moment.min.js Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/js/rickshaw.min.js → src/DotNetCore.CAP.Dashboard/Content/js/rickshaw.min.js Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/resx/Strings.Designer.cs → src/DotNetCore.CAP.Dashboard/Content/resx/Strings.Designer.cs Näytä tiedosto

@@ -19,7 +19,7 @@ namespace DotNetCore.CAP.Dashboard.Resources {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Strings {

src/DotNetCore.CAP/Dashboard/Content/resx/Strings.resx → src/DotNetCore.CAP.Dashboard/Content/resx/Strings.resx Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Content/resx/Strings.zh.resx → src/DotNetCore.CAP.Dashboard/Content/resx/Strings.zh.resx Näytä tiedosto


src/DotNetCore.CAP/Dashboard/DashboardContext.cs → src/DotNetCore.CAP.Dashboard/DashboardContext.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/DashboardMetric.cs → src/DotNetCore.CAP.Dashboard/DashboardMetric.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/DashboardMetrics.cs → src/DotNetCore.CAP.Dashboard/DashboardMetrics.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/DashboardRequest.cs → src/DotNetCore.CAP.Dashboard/DashboardRequest.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/DashboardResponse.cs → src/DotNetCore.CAP.Dashboard/DashboardResponse.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/DashboardRoutes.cs → src/DotNetCore.CAP.Dashboard/DashboardRoutes.cs Näytä tiedosto


+ 125
- 0
src/DotNetCore.CAP.Dashboard/DotNetCore.CAP.Dashboard.csproj Näytä tiedosto

@@ -0,0 +1,125 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<EmbeddedResource Include="Content\css\bootstrap.min.css" />
<EmbeddedResource Include="Content\css\cap.css" />
<EmbeddedResource Include="Content\css\jsonview.min.css" />
<EmbeddedResource Include="Content\css\rickshaw.min.css" />
<EmbeddedResource Include="Content\fonts\glyphicons-halflings-regular.eot" />
<EmbeddedResource Include="Content\fonts\glyphicons-halflings-regular.svg" />
<EmbeddedResource Include="Content\fonts\glyphicons-halflings-regular.ttf" />
<EmbeddedResource Include="Content\fonts\glyphicons-halflings-regular.woff" />
<EmbeddedResource Include="Content\fonts\glyphicons-halflings-regular.woff2" />
<EmbeddedResource Include="Content\js\bootstrap.min.js" />
<EmbeddedResource Include="Content\js\cap.js" />
<EmbeddedResource Include="Content\js\d3.layout.min.js" />
<EmbeddedResource Include="Content\js\d3.min.js" />
<EmbeddedResource Include="Content\js\jquery-2.1.4.min.js" />
<EmbeddedResource Include="Content\js\jsonview.min.js" />
<EmbeddedResource Include="Content\js\moment-with-locales.min.js" />
<EmbeddedResource Include="Content\js\moment.min.js" />
<EmbeddedResource Include="Content\js\rickshaw.min.js" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\DotNetCore.CAP\DotNetCore.CAP.csproj" />
</ItemGroup>

<ItemGroup>
<Compile Update="Dashboard\Content\resx\Strings.Designer.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>Strings.resx</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\_SidebarMenu.generated.cs">
<DependentUpon>_SidebarMenu.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\SidebarMenu.cs">
<DependentUpon>_SidebarMenu.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\ReceivedPage.generated.cs">
<DependentUpon>ReceivedPage.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\ReceivedPage.cs">
<DependentUpon>ReceivedPage.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\_BlockMetric.generated.cs">
<DependentUpon>_BlockMetric.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\BlockMetric.cs">
<DependentUpon>_BlockMetric.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\Breadcrumbs.cs">
<DependentUpon>_Breadcrumbs.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\_Breadcrumbs.generated.cs">
<DependentUpon>_Breadcrumbs.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\_Paginator.generated.cs">
<DependentUpon>_Paginator.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\_Paginator.cs">
<DependentUpon>_Paginator.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\_PerPageSelector.cs">
<DependentUpon>_PerPageSelector.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\_PerPageSelector.generated.cs">
<DependentUpon>_PerPageSelector.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\PublishedPage.cs">
<DependentUpon>PublishedPage.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\PublishedPage*.cs">
<DependentUpon>PublishedPage.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\LayoutPage.*.cs">
<DependentUpon>LayoutPage.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\LayoutPage.cs">
<DependentUpon>LayoutPage.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\InlineMetric.cs">
<DependentUpon>_InlineMetric.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\_InlineMetric.generated.cs">
<DependentUpon>_InlineMetric.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\_Navigation.generated.cs">
<DependentUpon>_Navigation.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\HomePage.generated.cs">
<DependentUpon>HomePage.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\HomePage.cs">
<DependentUpon>HomePage.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\SubscriberPage.generated.cs">
<DependentUpon>SubscriberPage.cshtml</DependentUpon>
</Compile>
<Compile Update="Dashboard\Pages\NodePage*.cs">
<DependentUpon>NodePage.cshtml</DependentUpon>
</Compile>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Content\resx\Strings.resx">
<CustomToolNamespace>DotNetCore.CAP.Dashboard.Resources</CustomToolNamespace>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
<Generator>PublicResXFileCodeGenerator</Generator>
</EmbeddedResource>
</ItemGroup>

<ItemGroup>
<EmbeddedResource Update="Dashboard\Content\resx\Strings.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<CustomToolNamespace>DotNetCore.CAP.Dashboard.Resources</CustomToolNamespace>
<LastGenOutput>Strings.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>

</Project>

src/DotNetCore.CAP/Dashboard/EmbeddedResourceDispatcher.cs → src/DotNetCore.CAP.Dashboard/EmbeddedResourceDispatcher.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/DownstreamUrl.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/DownstreamUrl.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/GatewayProxyMiddleware.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/GatewayProxyMiddleware.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/IRequestMapper.Default.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/IRequestMapper.Default.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/IRequestMapper.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/IRequestMapper.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/Requester/HttpClientBuilder.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/HttpClientBuilder.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/Requester/HttpClientHttpRequester.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/HttpClientHttpRequester.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/Requester/IHttpClient.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/IHttpClient.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/Requester/IHttpClientBuilder.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/IHttpClientBuilder.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/Requester/IHttpClientCache.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/IHttpClientCache.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/Requester/IHttpRequester.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/IHttpRequester.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/GatewayProxy/Requester/MemoryHttpClientCache.cs → src/DotNetCore.CAP.Dashboard/GatewayProxy/Requester/MemoryHttpClientCache.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/HtmlHelper.cs → src/DotNetCore.CAP.Dashboard/HtmlHelper.cs Näytä tiedosto

@@ -11,7 +11,7 @@ using System.Text.RegularExpressions;
using DotNetCore.CAP.Dashboard.Pages;
using DotNetCore.CAP.Dashboard.Resources;
using DotNetCore.CAP.Infrastructure;
using DotNetCore.CAP.Models;
using DotNetCore.CAP.Messages;
using Microsoft.Extensions.Internal;

namespace DotNetCore.CAP.Dashboard

src/DotNetCore.CAP/Dashboard/IDashboardAuthorizationFilter.cs → src/DotNetCore.CAP.Dashboard/IDashboardAuthorizationFilter.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/IDashboardDispatcher.cs → src/DotNetCore.CAP.Dashboard/IDashboardDispatcher.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/IMonitoringApi.cs → src/DotNetCore.CAP.Dashboard/IMonitoringApi.cs Näytä tiedosto

@@ -4,7 +4,7 @@
using System;
using System.Collections.Generic;
using DotNetCore.CAP.Dashboard.Monitoring;
using DotNetCore.CAP.Models;
using DotNetCore.CAP.Messages;

namespace DotNetCore.CAP.Dashboard
{

src/DotNetCore.CAP/Dashboard/JsonDispatcher.cs → src/DotNetCore.CAP.Dashboard/JsonDispatcher.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/JsonStats.cs → src/DotNetCore.CAP.Dashboard/JsonStats.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/LocalRequestsOnlyAuthorizationFilter.cs → src/DotNetCore.CAP.Dashboard/LocalRequestsOnlyAuthorizationFilter.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/MenuItem.cs → src/DotNetCore.CAP.Dashboard/MenuItem.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/MessageHistoryRenderer.cs → src/DotNetCore.CAP.Dashboard/MessageHistoryRenderer.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/MessagesSidebarMenu.cs → src/DotNetCore.CAP.Dashboard/MessagesSidebarMenu.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Metric.cs → src/DotNetCore.CAP.Dashboard/Metric.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Monitoring/MessageDto.cs → src/DotNetCore.CAP.Dashboard/Monitoring/MessageDto.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Monitoring/MessageQueryDto.cs → src/DotNetCore.CAP.Dashboard/Monitoring/MessageQueryDto.cs Näytä tiedosto

@@ -1,7 +1,7 @@
// Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.

using DotNetCore.CAP.Models;
using DotNetCore.CAP.Messages;

namespace DotNetCore.CAP.Dashboard.Monitoring
{

src/DotNetCore.CAP/Dashboard/Monitoring/ServerDto.cs → src/DotNetCore.CAP.Dashboard/Monitoring/ServerDto.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Monitoring/StatisticsDto.cs → src/DotNetCore.CAP.Dashboard/Monitoring/StatisticsDto.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/NavigationMenu.cs → src/DotNetCore.CAP.Dashboard/NavigationMenu.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/NonEscapedString.cs → src/DotNetCore.CAP.Dashboard/NonEscapedString.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pager.cs → src/DotNetCore.CAP.Dashboard/Pager.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/BlockMetric.cs → src/DotNetCore.CAP.Dashboard/Pages/BlockMetric.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/Breadcrumbs.cs → src/DotNetCore.CAP.Dashboard/Pages/Breadcrumbs.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/HomePage.cs → src/DotNetCore.CAP.Dashboard/Pages/HomePage.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/HomePage.cshtml → src/DotNetCore.CAP.Dashboard/Pages/HomePage.cshtml Näytä tiedosto

@@ -1,7 +1,7 @@
@* Generator: Template TypeVisibility: Internal GeneratePrettyNames: True *@
@using DotNetCore.CAP.Dashboard.Pages
@using DotNetCore.CAP.Dashboard.Resources
@using DotNetCore.CAP.Models
@using DotNetCore.CAP.Messages
@using Newtonsoft.Json
@inherits DotNetCore.CAP.Dashboard.RazorPage
@{

src/DotNetCore.CAP/Dashboard/Pages/HomePage.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/HomePage.generated.cs Näytä tiedosto

@@ -1,4 +1,6 @@
#pragma warning disable 1591
using DotNetCore.CAP.Messages;

#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@@ -45,8 +47,6 @@ namespace DotNetCore.CAP.Dashboard.Pages
#line hidden

#line 4 "..\..\HomePage.cshtml"
using DotNetCore.CAP.Models;

#line default
#line hidden


src/DotNetCore.CAP/Dashboard/Pages/InlineMetric.cs → src/DotNetCore.CAP.Dashboard/Pages/InlineMetric.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/LayoutPage.cs → src/DotNetCore.CAP.Dashboard/Pages/LayoutPage.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/LayoutPage.cshtml → src/DotNetCore.CAP.Dashboard/Pages/LayoutPage.cshtml Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/LayoutPage.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/LayoutPage.generated.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/NodePage.cs → src/DotNetCore.CAP.Dashboard/Pages/NodePage.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/NodePage.cshtml → src/DotNetCore.CAP.Dashboard/Pages/NodePage.cshtml Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/NodePage.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/NodePage.generated.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.cs → src/DotNetCore.CAP.Dashboard/Pages/PublishedPage.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.cshtml → src/DotNetCore.CAP.Dashboard/Pages/PublishedPage.cshtml Näytä tiedosto

@@ -4,7 +4,7 @@
@using DotNetCore.CAP.Dashboard.Monitoring
@using DotNetCore.CAP.Dashboard.Pages
@using DotNetCore.CAP.Dashboard.Resources
@using DotNetCore.CAP.Models
@using DotNetCore.CAP.Messages
@inherits DotNetCore.CAP.Dashboard.RazorPage
@{
Layout = new LayoutPage(Strings.PublishedMessagesPage_Title);

src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/PublishedPage.generated.cs Näytä tiedosto

@@ -1,4 +1,6 @@
#pragma warning disable 1591
using DotNetCore.CAP.Messages;

#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@@ -46,7 +48,6 @@ namespace DotNetCore.CAP.Dashboard.Pages
#line hidden

#line 3 "..\..\PublishedPage.cshtml"
using DotNetCore.CAP.Models;

#line default
#line hidden

src/DotNetCore.CAP/Dashboard/Pages/ReceivedPage.cs → src/DotNetCore.CAP.Dashboard/Pages/ReceivedPage.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/ReceivedPage.cshtml → src/DotNetCore.CAP.Dashboard/Pages/ReceivedPage.cshtml Näytä tiedosto

@@ -4,7 +4,7 @@
@using DotNetCore.CAP.Dashboard.Monitoring
@using DotNetCore.CAP.Dashboard.Pages
@using DotNetCore.CAP.Dashboard.Resources
@using DotNetCore.CAP.Models
@using DotNetCore.CAP.Messages
@inherits DotNetCore.CAP.Dashboard.RazorPage
@{
Layout = new LayoutPage(Strings.ReceivedMessagesPage_Title);

src/DotNetCore.CAP/Dashboard/Pages/ReceivedPage.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/ReceivedPage.generated.cs Näytä tiedosto

@@ -1,4 +1,6 @@
#pragma warning disable 1591
using DotNetCore.CAP.Messages;

#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@@ -46,7 +48,6 @@ namespace DotNetCore.CAP.Dashboard.Pages
#line hidden

#line 3 "..\..\ReceivedPage.cshtml"
using DotNetCore.CAP.Models;

#line default
#line hidden

src/DotNetCore.CAP/Dashboard/Pages/SidebarMenu.cs → src/DotNetCore.CAP.Dashboard/Pages/SidebarMenu.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/SubscriberPage.cshtml → src/DotNetCore.CAP.Dashboard/Pages/SubscriberPage.cshtml Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/SubscriberPage.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/SubscriberPage.generated.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/_BlockMetric.cshtml → src/DotNetCore.CAP.Dashboard/Pages/_BlockMetric.cshtml Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/_BlockMetric.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/_BlockMetric.generated.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/_Breadcrumbs.cshtml → src/DotNetCore.CAP.Dashboard/Pages/_Breadcrumbs.cshtml Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/_Breadcrumbs.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/_Breadcrumbs.generated.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/_InlineMetric.cshtml → src/DotNetCore.CAP.Dashboard/Pages/_InlineMetric.cshtml Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/_InlineMetric.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/_InlineMetric.generated.cs Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/_Navigation.cshtml → src/DotNetCore.CAP.Dashboard/Pages/_Navigation.cshtml Näytä tiedosto


src/DotNetCore.CAP/Dashboard/Pages/_Navigation.generated.cs → src/DotNetCore.CAP.Dashboard/Pages/_Navigation.generated.cs Näytä tiedosto


Some files were not shown because too many files changed in this diff

Ladataan…
Peruuta
Tallenna