From 1b538b5b6c42c87ed2b0f9055d9b9c31e4fe0ff9 Mon Sep 17 00:00:00 2001 From: sxf359 Date: Sun, 10 Jun 2018 21:44:23 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=88=91=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ .../Surging.IModuleServices.Common/IUserService.cs | 2 ++ .../Surging.Modules.Common/Domain/PersonService.cs | 5 ++++- .../Surging.Modules.Common/Domain/UserService.cs | 5 +++++ src/Surging.Services/Surging.Services.Client/Program.cs | 2 +- src/Surging.Services/Surging.Services.Client/Startup.cs | 1 + src/Surging.Services/Surging.Services.Server/Program.cs | 3 +++ .../Surging.Services.Server/Surging.Services.Server.csproj | 2 ++ 8 files changed, 21 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3ddda332d..bc6caa778 100644 --- a/.gitignore +++ b/.gitignore @@ -262,3 +262,6 @@ paket-files/ __pycache__/ *.pyc +surging.client.bat +surging.services.bat +新人快速安装入门.docx diff --git a/src/Surging.IModuleServices/Surging.IModuleServices.Common/IUserService.cs b/src/Surging.IModuleServices/Surging.IModuleServices.Common/IUserService.cs index d1569de2e..408d74432 100644 --- a/src/Surging.IModuleServices/Surging.IModuleServices.Common/IUserService.cs +++ b/src/Surging.IModuleServices/Surging.IModuleServices.Common/IUserService.cs @@ -69,5 +69,7 @@ public interface IUserService: IServiceKey [Service(Date = "2017-8-11", Director = "fanly", Name = "获取用户")] Task PublishThroughEventBusAsync(IntegrationEvent evt); + + Task HelloWorld(string username); } } diff --git a/src/Surging.Modules/Surging.Modules.Common/Domain/PersonService.cs b/src/Surging.Modules/Surging.Modules.Common/Domain/PersonService.cs index 5e83938df..b90e4e3da 100644 --- a/src/Surging.Modules/Surging.Modules.Common/Domain/PersonService.cs +++ b/src/Surging.Modules/Surging.Modules.Common/Domain/PersonService.cs @@ -97,7 +97,10 @@ public Task Save(IdentityUser requestData) { return Task.FromResult(requestData); } - + public Task HelloWorld(string username) + { + return Task.FromResult($"'{username}',HelloWorld"); + } #endregion Implementation of IUserService } } diff --git a/src/Surging.Modules/Surging.Modules.Common/Domain/UserService.cs b/src/Surging.Modules/Surging.Modules.Common/Domain/UserService.cs index 07d868f8c..cf9f8d087 100644 --- a/src/Surging.Modules/Surging.Modules.Common/Domain/UserService.cs +++ b/src/Surging.Modules/Surging.Modules.Common/Domain/UserService.cs @@ -100,6 +100,11 @@ public Task Save(IdentityUser requestData) { return Task.FromResult(requestData); } + + public Task HelloWorld(string username) + { + return Task.FromResult($"'{username}',HelloWorld"); + } #endregion Implementation of IUserService } } \ No newline at end of file diff --git a/src/Surging.Services/Surging.Services.Client/Program.cs b/src/Surging.Services/Surging.Services.Client/Program.cs index a0bc01c7f..f3254b52d 100644 --- a/src/Surging.Services/Surging.Services.Client/Program.cs +++ b/src/Surging.Services/Surging.Services.Client/Program.cs @@ -75,7 +75,7 @@ static void Main(string[] args) //var connectionCount = 250000; //var requestThread = new Thread(() => StartRequest(connectionCount)) { IsBackground = true }; //requestThread.Start(); - //Console.ReadLine(); + //Console.ReadLine(); } } diff --git a/src/Surging.Services/Surging.Services.Client/Startup.cs b/src/Surging.Services/Surging.Services.Client/Startup.cs index a644bd603..5b7c1816c 100644 --- a/src/Surging.Services/Surging.Services.Client/Startup.cs +++ b/src/Surging.Services/Surging.Services.Client/Startup.cs @@ -106,6 +106,7 @@ await userProxy.PublishThroughEventBusAsync(new UserEvent } watch.Stop(); Console.WriteLine($"1w次调用结束,执行时间:{watch.ElapsedMilliseconds}ms"); + Console.WriteLine(await userProxy.HelloWorld("盛学飞")); Console.WriteLine("Press any key to continue, q to exit the loop..."); var key = Console.ReadLine(); if (key.ToLower() == "q") diff --git a/src/Surging.Services/Surging.Services.Server/Program.cs b/src/Surging.Services/Surging.Services.Server/Program.cs index 0973747e2..cb3491233 100644 --- a/src/Surging.Services/Surging.Services.Server/Program.cs +++ b/src/Surging.Services/Surging.Services.Server/Program.cs @@ -84,6 +84,9 @@ static void Main(string[] args) using (host.Run()) { + //var user = ServiceLocator.GetService().CreateProxy("User"); + //var model = user.GetUser(new IModuleServices.Common.Models.UserModel { Name = "sxf359", Age = 45 }); + //Console.WriteLine($"获取服务器用户名:" + ); Console.WriteLine($"服务端启动成功,{DateTime.Now}。"); } } diff --git a/src/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj b/src/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj index d3cb9f7a6..eea0d19f9 100644 --- a/src/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj +++ b/src/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj @@ -52,4 +52,6 @@ + + \ No newline at end of file From fad78fc1890b33edef17a22c7dd791c8ee5f13aa Mon Sep 17 00:00:00 2001 From: sxf359 Date: Mon, 31 Dec 2018 11:30:58 +0800 Subject: [PATCH 2/5] sxf --- src/Surging.ApiGateway/Surging.ApiGateway.csproj | 13 ++++++++++--- .../Surging.Core.Caching.csproj | 2 +- .../Surging.Core.NLog/Surging.Core.Nlog.csproj | 2 +- .../Surging.Core.Swagger.csproj | 2 +- .../Surging.Services.Client/Startup.cs | 1 - .../Surging.Services.Client/surgingSettings.json | 3 ++- .../Surging.Services.Server/surgingSettings.json | 3 ++- 7 files changed, 17 insertions(+), 9 deletions(-) diff --git a/src/Surging.ApiGateway/Surging.ApiGateway.csproj b/src/Surging.ApiGateway/Surging.ApiGateway.csproj index e84376d47..7ff4d21c5 100644 --- a/src/Surging.ApiGateway/Surging.ApiGateway.csproj +++ b/src/Surging.ApiGateway/Surging.ApiGateway.csproj @@ -15,16 +15,22 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - ..\docker-compose.dcproj + ..\docker-compose.dcproj + true + + + + - + - + + @@ -49,6 +55,7 @@ + diff --git a/src/Surging.Core/Surging.Core.Caching/Surging.Core.Caching.csproj b/src/Surging.Core/Surging.Core.Caching/Surging.Core.Caching.csproj index 66d64847d..0b43bd1cf 100644 --- a/src/Surging.Core/Surging.Core.Caching/Surging.Core.Caching.csproj +++ b/src/Surging.Core/Surging.Core.Caching/Surging.Core.Caching.csproj @@ -23,7 +23,7 @@ - + diff --git a/src/Surging.Core/Surging.Core.NLog/Surging.Core.Nlog.csproj b/src/Surging.Core/Surging.Core.NLog/Surging.Core.Nlog.csproj index 1050a7cc5..3bef2bb43 100644 --- a/src/Surging.Core/Surging.Core.NLog/Surging.Core.Nlog.csproj +++ b/src/Surging.Core/Surging.Core.NLog/Surging.Core.Nlog.csproj @@ -20,7 +20,7 @@ - + diff --git a/src/Surging.Core/Surging.Core.Swagger/Surging.Core.Swagger.csproj b/src/Surging.Core/Surging.Core.Swagger/Surging.Core.Swagger.csproj index d5797dbe7..5fa7b2a3e 100644 --- a/src/Surging.Core/Surging.Core.Swagger/Surging.Core.Swagger.csproj +++ b/src/Surging.Core/Surging.Core.Swagger/Surging.Core.Swagger.csproj @@ -46,7 +46,7 @@ - + diff --git a/src/Surging.Services/Surging.Services.Client/Startup.cs b/src/Surging.Services/Surging.Services.Client/Startup.cs index 97370bb3d..a23fd22f8 100644 --- a/src/Surging.Services/Surging.Services.Client/Startup.cs +++ b/src/Surging.Services/Surging.Services.Client/Startup.cs @@ -110,7 +110,6 @@ public static void Test(IServiceProxyFactory serviceProxyFactory) } watch.Stop(); Console.WriteLine($"1w次调用结束,执行时间:{watch.ElapsedMilliseconds}ms"); - Console.WriteLine(await userProxy.HelloWorld("盛学飞")); Console.WriteLine("Press any key to continue, q to exit the loop..."); var key = Console.ReadLine(); if (key.ToLower() == "q") diff --git a/src/Surging.Services/Surging.Services.Client/surgingSettings.json b/src/Surging.Services/Surging.Services.Client/surgingSettings.json index 48dc426b0..30c193438 100644 --- a/src/Surging.Services/Surging.Services.Client/surgingSettings.json +++ b/src/Surging.Services/Surging.Services.Client/surgingSettings.json @@ -7,7 +7,8 @@ "MappingPort": "${Mapping_Port}", "Token": "true", "Protocol": "${Protocol}|Tcp", //HttpTcpNone - "RootPath": "${RootPath}|d:\\microsurging", + //"RootPath": "${RootPath}|d:\\microsurging", + "RootPath": "${RootPath}|F:\\github\\surging\\src\\Surging.Services\\Surging.Services.Client\\bin\\Release\\PublishOutput", "Ports": { "HttpPort": "${HttpPort}|180" }, diff --git a/src/Surging.Services/Surging.Services.Server/surgingSettings.json b/src/Surging.Services/Surging.Services.Server/surgingSettings.json index f6b6b82bf..7edfd98b8 100644 --- a/src/Surging.Services/Surging.Services.Server/surgingSettings.json +++ b/src/Surging.Services/Surging.Services.Server/surgingSettings.json @@ -9,7 +9,8 @@ "MaxConcurrentRequests": 20, "ExecutionTimeoutInMilliseconds": 30000, "Protocol": "${Protocol}|None", //HttpTcpNone - "RootPath": "${RootPath}|D:\\userapp", + //"RootPath": "${RootPath}|D:\\userapp", + "RootPath": "${RootPath}|F:\\github\\surging\\src\\Surging.Services\\Surging.Services.Server\\bin\\Release\\PublishOutput", "Ports": { "HttpPort": "${HttpPort}|280", "WSPort": "${WSPort}|96" From eebd91c227764d43b5c1e26006cd05d51a99167f Mon Sep 17 00:00:00 2001 From: sxf359 Date: Sat, 5 Jan 2019 14:38:55 +0800 Subject: [PATCH 3/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=A2=AB=E6=94=B9?= =?UTF-8?q?=E5=8F=98=E7=9A=84=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 268 ------------------ .../Surging.ApiGateway.csproj | 75 ----- 2 files changed, 343 deletions(-) delete mode 100644 .gitignore delete mode 100644 src/Surging.ApiGateway/Surging.ApiGateway.csproj diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 114f38046..000000000 --- a/.gitignore +++ /dev/null @@ -1,268 +0,0 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - -# User-specific files -*.suo -*.user -*.userosscache -*.sln.docstates - -# User-specific files (MonoDevelop/Xamarin Studio) -*.userprefs -sffd -# Build results -[Dd]ebug/ -[Dd]ebugPublic/ -[Rr]elease/ -[Rr]eleases/ -x64/ -x86/ -bld/ -[Bb]in/ -[Oo]bj/ -[Ll]og/ -wwwroot/dist/ -# Visual Studio 2015 cache/options directory -.vs/ -# Uncomment if you have tasks that create the project's static files in wwwroot -#wwwroot/ - -# MSTest test Results -[Tt]est[Rr]esult*/ -[Bb]uild[Ll]og.* - -# NUNIT -*.VisualState.xml -TestResult.xml - -# Build Results of an ATL Project -[Dd]ebugPS/ -[Rr]eleasePS/ -dlldata.c - -# DNX -project.lock.json -project.fragment.lock.json -artifacts/ - -*_i.c -*_p.c -*_i.h -*.ilk -*.meta -*.obj -*.pch -*.pdb -*.pgc -*.pgd -*.rsp -*.sbr -*.tlb -*.tli -*.tlh -*.tmp -*.tmp_proj -*.log -*.vspscc -*.vssscc -.builds -*.pidb -*.svclog -*.scc - -# Chutzpah Test files -_Chutzpah* - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -# Visual Studio profiler -*.psess -*.vsp -*.vspx -*.sap - -# TFS 2012 Local Workspace -$tf/ - -# Guidance Automation Toolkit -*.gpState - -# ReSharper is a .NET coding add-in -_ReSharper*/ -*.[Rr]e[Ss]harper -*.DotSettings.user - -# JustCode is a .NET coding add-in -.JustCode - -# TeamCity is a build add-in -_TeamCity* - -# DotCover is a Code Coverage Tool -*.dotCover - -# NCrunch -_NCrunch_* -.*crunch*.local.xml -nCrunchTemp_* - -# MightyMoose -*.mm.* -AutoTest.Net/ - -# Web workbench (sass) -.sass-cache/ - -# Installshield output folder -[Ee]xpress/ - -# DocProject is a documentation generator add-in -DocProject/buildhelp/ -DocProject/Help/*.HxT -DocProject/Help/*.HxC -DocProject/Help/*.hhc -DocProject/Help/*.hhk -DocProject/Help/*.hhp -DocProject/Help/Html2 -DocProject/Help/html - -# Click-Once directory -publish/ - -# Publish Web Output -*.[Pp]ublish.xml -*.azurePubxml -# TODO: Comment the next line if you want to checkin your web deploy settings -# but database connection strings (with potential passwords) will be unencrypted -#*.pubxml -*.publishproj - -# Microsoft Azure Web App publish settings. Comment the next line if you want to -# checkin your Azure Web App publish settings, but sensitive information contained -# in these scripts will be unencrypted -PublishScripts/ - -# NuGet Packages -*.nupkg -# The packages folder can be ignored because of Package Restore -**/packages/* -# Shared Assembly file. -!**/packages/SharedSolutionFiles/ -# except build/, which is used as an MSBuild target. -!**/packages/build/ -# Uncomment if necessary however generally it will be regenerated when needed -#!**/packages/repositories.config -# NuGet v3's project.json files produces more ignoreable files -*.nuget.props -*.nuget.targets - -# Microsoft Azure Build Output -csx/ -*.build.csdef - -# Microsoft Azure Emulator -ecf/ -rcf/ - -# Windows Store app package directories and files -AppPackages/ -BundleArtifacts/ -Package.StoreAssociation.xml -_pkginfo.txt - -# Visual Studio cache files -# files ending in .cache can be ignored -*.[Cc]ache -# but keep track of directories ending in .cache -!*.[Cc]ache/ - -# Others -ClientBin/ -~$* -*~ -*.dbmdl -*.dbproj.schemaview -*.jfm -*.pfx -*.publishsettings -node_modules/ -!/node_modules/swagger-ui-dist/ -orleans.codegen.cs - -# Since there are multiple workflows, uncomment next line to ignore bower_components -# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) -#bower_components/ - -# RIA/Silverlight projects -Generated_Code/ - -# Backup & report files from converting an old project file -# to a newer Visual Studio version. Backup files are not needed, -# because we have git ;-) -_UpgradeReport_Files/ -Backup*/ -UpgradeLog*.XML -UpgradeLog*.htm - -# SQL Server files -*.mdf -*.ldf - -# Business Intelligence projects -*.rdl.data -*.bim.layout -*.bim_*.settings - -# Microsoft Fakes -FakesAssemblies/ - -# GhostDoc plugin setting file -*.GhostDoc.xml - -# Node.js Tools for Visual Studio -.ntvs_analysis.dat - -# Visual Studio 6 build log -*.plg - -# Visual Studio 6 workspace options file -*.opt - -# Visual Studio LightSwitch build output -**/*.HTMLClient/GeneratedArtifacts -**/*.DesktopClient/GeneratedArtifacts -**/*.DesktopClient/ModelManifest.xml -**/*.Server/GeneratedArtifacts -**/*.Server/ModelManifest.xml -_Pvt_Extensions - -# Paket dependency manager -.paket/paket.exe -paket-files/ - -# FAKE - F# Make -.fake/ - -# JetBrains Rider -.idea/ -*.sln.iml - -# CodeRush -.cr/ - -# Python Tools for Visual Studio (PTVS) -__pycache__/ -*.pyc - -surging.client.bat -surging.services.bat -新人快速安装入门.docx diff --git a/src/Surging.ApiGateway/Surging.ApiGateway.csproj b/src/Surging.ApiGateway/Surging.ApiGateway.csproj deleted file mode 100644 index 7ff4d21c5..000000000 --- a/src/Surging.ApiGateway/Surging.ApiGateway.csproj +++ /dev/null @@ -1,75 +0,0 @@ - - - - netcoreapp2.1 - true - $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; - aspnet-Surging.ApiGateway-147A234E-A922-4E6A-89B8-DCC64AEA96EE - false - 0.4.8 - fanly - surging Micro Service Framework - - surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec - Copyright © fanly All Rights Reserved. - https://github.com/dotnetcore/surging/blob/master/LICENSE - https://github.com/dotnetcore/surging - MicroService surging - ..\docker-compose.dcproj - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - From 59efd0066f7094fcabe6d5c70a7589d6572f2b36 Mon Sep 17 00:00:00 2001 From: sxf359 Date: Mon, 7 Jan 2019 19:52:03 +0800 Subject: [PATCH 4/5] update upstream --- README.md | 9 + Statement-of-Income-and-Expense.md | 53 + samples/.gitignore | 17 - .../Application.Interface.Auth.csproj | 19 - .../Dto/LoginReq.cs | 14 - .../Event/CorporationActivated.cs | 15 - .../Event/IAuthEventHandler.cs | 15 - .../IAuthAppService.cs | 32 - .../Application.Service.Auth.csproj | 23 - .../EventHandling/AuthEventHandler.cs | 55 - .../Query/AuthAppService.cs | 32 - .../UseCases/AuthAppService.cs | 65 - .../AuthServer/Domain/Aggregate/SubDomain.cs | 24 - samples/AuthServer/Domain/Aggregate/User.cs | 32 - samples/AuthServer/Domain/Domain.Auth.csproj | 27 - .../Domain/Entity/SubDomainPermission.cs | 40 - .../Domain/Repository/UserRepository.cs | 12 - .../Domain/ValueObject/InquiryParameter.cs | 29 - .../HostService/Configs/log4net.config | 24 - .../AuthServer/HostService/HostService.csproj | 39 - samples/AuthServer/HostService/Program.cs | 66 - samples/AuthServer/HostService/Startup.cs | 71 - .../AuthServer/HostService/cacheSettings.json | 47 - .../AuthServer/HostService/dbSettings.json | 5 - .../HostService/eventBusSettings.json | 6 - .../Repository.Auth/AuthRepository.cs | 48 - .../Repository.Auth/Repository.Auth.csproj | 16 - samples/Common/App.Core/App.Core.csproj | 15 - samples/Common/App.Core/BaseAppService.cs | 17 - .../App.Core/Security/EncryptionService.cs | 159 --- .../App.Core/Security/IEncryptionService.cs | 48 - samples/Common/Config.Core/Config.Core.csproj | 17 - .../Config.Core/DBConfigurationExtensions.cs | 101 -- samples/Common/DDD.Core/BaseEntity.cs | 44 - samples/Common/DDD.Core/BaseValueObject.cs | 24 - .../DDD.Core.Extensions/GenericExtension.cs | 140 -- .../DDD.Core.Extensions/ObjectExtension.cs | 1181 ----------------- .../DDD.Core.Extensions/StringExtensions.cs | 247 ---- samples/Common/DDD.Core/DDD.Core.csproj | 24 - samples/Common/DDD.Core/IAggregate.cs | 29 - .../Common/DDD.Core/IQueryOnlyRepository.cs | 33 - samples/Common/DDD.Core/IRepository.cs | 33 - samples/Common/DDD.Core/IUnitOfWork.cs | 24 - .../Common/DTO.Core/BasePagedRequestDto.cs | 19 - samples/Common/DTO.Core/BaseRequestDto.cs | 55 - samples/Common/DTO.Core/BaseResponseDto.cs | 39 - .../Common/DTO.Core/BaseSearchCriteriaDto.cs | 11 - .../Common/DTO.Core/BaseSortCriteriaDto.cs | 36 - samples/Common/DTO.Core/DTO.Core.csproj | 7 - samples/Common/DTO.Core/IdentifyDto.cs | 89 -- samples/Common/DTO.Core/KeyIdReq.cs | 11 - samples/Common/DTO.Core/OperateResultDto.cs | 15 - .../BaseImpQueryOnlyRepository.cs | 72 - .../BaseImpRepository.cs | 40 - .../DapperExtensions.cs | 567 -------- .../DapperExtensionsConfiguration.cs | 132 -- .../DapperImplementor.cs | 825 ------------ .../Common/Repository.Dapper.Core/Database.cs | 159 --- .../Repository.Dapper.Core/DatabasePartial.cs | 514 ------- .../DatabaseServiceCollectionExtensions.cs | 105 -- .../GetMultiplePredicate.cs | 48 - .../GetMultipleResult.cs | 44 - .../Mapper/AutoClassMapper.cs | 41 - .../Mapper/ClassMapper.cs | 180 --- .../Mapper/PluralizedAutoClassMapper.cs | 67 - .../Mapper/PropertyMap.cs | 162 --- samples/Common/Repository.Dapper.Core/Page.cs | 34 - .../Repository.Dapper.Core/Predicates.cs | 732 ---------- .../ReflectionHelper.cs | 108 -- .../Repository.Dapper.Core.csproj | 34 - .../Repository.Dapper.Core/Sql/DB2Dialect.cs | 138 -- .../Sql/MySqlDialect.cs | 38 - .../Sql/OracleDialect.cs | 80 -- .../Sql/PostgreSqlDialect.cs | 58 - .../Sql/SqlCeDialect.cs | 69 - .../Sql/SqlDialectBase.cs | 156 --- .../Sql/SqlGenerator.cs | 413 ------ .../Sql/SqlServerDialect.cs | 146 -- .../Sql/SqliteDialect.cs | 53 - ...yRepository - \345\244\215\345\210\266.cs" | 150 --- .../BaseImpQueryOnlyRepository.cs | 149 --- .../Repository.EF.Core/BaseImpRepository.cs | 66 - .../Common/Repository.EF.Core/ConfigHelper.cs | 101 -- .../Repository.EF.Core/DbContextOption.cs | 50 - .../Repository.EF.Core/DefaultDbContext.cs | 233 ---- .../Repository.EF.Core/IQueryableExtension.cs | 120 -- .../Repository.EF.Core/InquiryRepository.cs | 22 - .../PublishProfiles/FolderProfile.pubxml | 13 - .../Repository.EF.Core.csproj | 31 - .../Common/Repository.EF.Core/SqlHelper.cs | 135 -- .../Common/Repository.EF.Core/UnitOfWork.cs | 64 - .../AuthManger/Controllers/AuthController.cs | 250 ---- .../Controllers/CorpMangerController.cs | 91 -- .../Controllers/EmployeeController.cs | 47 - .../Controllers/RoleMangerController.cs | 48 - .../Configs/appsettings.Development.json | 10 - .../GateWay.WebApi/Configs/appsettings.json | 15 - .../GateWay.WebApi/Configs/cacheSettings.json | 47 - .../Configs/gatewaySettings.json | 10 - .../Controllers/AuthController.cs | 40 - .../Controllers/BaseApiController.cs | 20 - .../Controllers/ServicesController.cs | 219 --- .../Controllers/ValuesController.cs | 39 - .../CustomExceptionFilterAttribute.cs | 76 -- samples/GateWay.WebApi/GateWay.WebApi.csproj | 51 - samples/GateWay.WebApi/HiddenApiFilter.cs | 45 - samples/GateWay.WebApi/Program.cs | 44 - .../Properties/launchSettings.json | 29 - samples/GateWay.WebApi/ScaffoldingReadMe.txt | 12 - samples/GateWay.WebApi/Startup.cs | 162 --- .../appsettings.Development.json | 10 - samples/GateWay.WebApi/appsettings.json | 15 - .../Application.Interface.SysLog.csproj | 15 - .../ILogAppService.cs | 45 - .../Application.Service.SysLog.csproj | 23 - .../LogAppService.cs | 16 - .../HostService/Configs/log4net.config | 24 - .../LogServer/HostService/HostService.csproj | 30 - samples/LogServer/HostService/Program.cs | 64 - samples/LogServer/HostService/Startup.cs | 62 - .../LogServer/HostService/cacheSettings.json | 47 - .../HostService/eventBusSettings.json | 6 - samples/MicroService.sln | 206 --- .../Application.Interface.Org.csproj | 19 - .../DTO/DeptAddReq.cs | 111 -- .../DTO/EmployeePermission.cs | 10 - .../EVENT/CorporationActivated.cs | 18 - .../EVENT/ICorpEventHandler.cs | 13 - .../IOrgAppService.cs | 142 -- .../Application.Service.Org.csproj | 28 - .../Query/OrgAppService.cs | 85 -- .../UseCases/OrgAppService.cs | 280 ---- .../OrgServer/Domain/Aggregate/Corporation.cs | 79 -- samples/OrgServer/Domain/Domain.Org.csproj | 32 - .../EventHandling/InquiryEditedHandler.cs | 17 - .../PublishEvent/InquiryEditedEvent.cs | 14 - samples/OrgServer/Domain/Entity/CorpRole.cs | 20 - samples/OrgServer/Domain/Entity/Department.cs | 40 - samples/OrgServer/Domain/Entity/Employee.cs | 30 - .../Domain/ValueObject/EmployeeRole.cs | 15 - .../Domain/ValueObject/RolePermission.cs | 32 - .../HostService/Configs/log4net.config | 24 - .../OrgServer/HostService/HostService.csproj | 40 - samples/OrgServer/HostService/Program.cs | 65 - samples/OrgServer/HostService/Startup.cs | 70 - .../OrgServer/HostService/cacheSettings.json | 47 - samples/OrgServer/HostService/dbSettings.json | 5 - .../HostService/eventBusSettings.json | 6 - .../OrgServer/Repository.Org/OrgRepository.cs | 46 - .../Repository.Org/Repository.Org.csproj | 16 - samples/README.md | 0 samples/pack/Surging.Core.ApiGateWay.dll | Bin 30208 -> 0 bytes .../Controllers/HomeController.cs | 2 +- .../Controllers/ServicesController.cs | 7 +- src/Surging.ApiGateway/Program.cs | 11 +- src/Surging.ApiGateway/Startup.cs | 2 +- .../Surging.Core.ApiGateWay.csproj | 16 +- .../Address/AddressModel.cs | 6 +- .../Address/IpAddressModel.cs | 13 + .../CommunicationProtocol.cs | 3 +- .../CPlatformConfigurationExtensions.cs | 18 +- .../CPlatformConfigurationProvider.cs | 5 +- .../CPlatformConfigurationSource.cs | 3 - .../IConfigurationWatchManager.cs | 3 - .../Configurations/ModulePackage.cs | 6 +- .../Configurations/ProtocolPortOptions.cs | 16 +- .../Configurations/SurgingServerOptions.cs | 10 +- .../Watch/ConfigurationWatchManager.cs | 17 +- .../ContainerBuilderExtensions.cs | 98 +- .../EventBus/ISubscriptionAdapt.cs | 2 + .../EventBus/Implementation/IEventBus.cs | 2 + .../InMemoryEventBusSubscriptionsManager.cs | 2 +- .../HashAlgorithms/ConsistentHash.cs | 32 +- .../Logging/ConsoleLogger.cs | 75 -- .../Surging.Core.CPlatform/Logging/ILogger.cs | 142 -- .../Module/EchoService.cs | 18 +- .../Module/IEchoService.cs | 8 +- .../Mqtt/IMqttServiceFactory.cs | 18 + .../Mqtt/IMqttServiceRouteManager.cs | 37 + .../MqttServiceRouteManagerBase.cs | 114 ++ .../Mqtt/MqttDescriptor.cs | 105 ++ .../Mqtt/MqttServiceDescriptor.cs | 55 + .../Mqtt/MqttServiceRoute.cs | 59 + .../DefaultServiceRouteProvider.cs | 2 +- .../Address/Resolvers/IAddressResolver.cs | 2 +- .../Implementation/DefaultAddressResolver.cs | 14 +- .../Selectors/IAddressSelector.cs | 4 +- .../Implementation/FairPollingAdrSelector.cs | 8 + .../HashAlgorithmAdrSelector.cs | 89 +- .../Implementation/PollingAddressSelector.cs | 9 + .../HealthChecks/IHealthCheckService.cs | 6 + .../DefaultHealthCheckService.cs | 41 +- .../Implementation/HealthCheckEventArgs.cs | 25 + .../Client/IServiceHeartbeatManager.cs | 14 + .../DefaultServiceHeartbeatManager.cs | 22 + .../Implementation/RemoteInvokeService.cs | 10 +- .../Runtime/Client/RemoteInvokeContext.cs | 2 +- .../Implementation/DefaultServiceExecutor.cs | 5 +- .../Implementation/ClrServiceEntryFactory.cs | 19 +- .../ServiceDescriptor.cs | 7 +- .../ServiceHostBuilderExtensions.cs | 82 +- .../Support/IBreakeRemoteInvokeService.cs | 2 - .../Support/IClusterInvoker.cs | 4 +- .../BreakeRemoteInvokeService.cs | 31 +- .../Implementation/FailoverHandoverInvoker.cs | 4 +- .../FailoverInjectionInvoker.cs | 7 +- .../Support/ServiceCommand.cs | 3 - .../Support/ServiceCommandDescriptor.cs | 6 +- .../Support/ServiceInvokeListenInfo.cs | 4 +- .../Support/StrategyType.cs | 8 +- .../Transport/IMessageListener.cs | 1 - .../Transport/Implementation/RpcContext.cs | 2 - .../Implementation/TransportClient.cs | 1 + .../Utilities/CancellationTokenExtensions.cs | 15 +- .../Utilities/NetUtils.cs | 108 ++ .../Implementation/DefaultAddressResolver.cs | 56 +- .../CacheConfigurationExtensions.cs | 15 +- .../ConfigurationWatchProvider.cs | 29 +- .../HashAlgorithms/ConsistentHash.cs | 43 +- .../RedisCache/RedisContext.cs | 5 +- .../Surging.Core.Caching.csproj | 8 +- .../Messages/DynamicItem.cs | 2 +- .../MessagePackRemoteInvokeMessage.cs | 5 +- .../Surging.Core.Codec.MessagePack.csproj | 8 +- .../Surging.Core.Codec.ProtoBuffer.csproj | 8 +- .../Surging.Core.Common}/ApiResult.cs | 8 +- .../Surging.Core.Common/CommonModule.cs | 11 + .../Surging.Core.Common.csproj | 8 + .../Configurations/ConfigInfo.cs | 12 +- .../Configurations/ConsulOption.cs | 2 + .../Surging.Core.Consul/ConsulModule.cs | 31 +- .../ConsulMqttServiceRouteManager.cs | 371 ++++++ .../ConsulServiceCacheManager.cs | 2 +- .../ConsulServiceCommandManager.cs | 27 +- .../ConsulServiceRouteManager.cs | 29 +- .../ContainerBuilderExtensions.cs | 28 +- .../Surging.Core.Consul.csproj | 8 +- .../Implementation/NodeMonitorWatcher.cs | 6 +- .../TransportMessageChannelHandlerAdapter.cs | 1 - .../DotNettyServerMessageListener.cs | 27 +- .../DotNettyTransportClientFactory.cs | 15 +- .../Surging.Core.DotNetty.csproj | 12 +- .../EventBusConfigurationExtensions.cs | 17 +- .../IConsumeConfigurator.cs | 2 + .../DefaultConsumeConfigurator.cs | 35 + .../Implementation/EventBusKafka.cs | 2 + .../Implementation/KafkaSubscriptionAdapt.cs | 5 + .../Surging.Core.EventBusKafka.csproj | 8 +- .../EventBusConfigurationExtensions.cs | 16 +- .../EventBusRabbitMQModule.cs | 11 +- .../IConsumeConfigurator.cs | 2 + .../IRabbitMQPersisterConnection.cs | 2 + .../DefaultConsumeConfigurator.cs | 37 +- .../DefaultRabbitMQPersisterConnection.cs | 10 +- .../Implementation/EventBusRabbitMQ.cs | 81 +- .../RabbitMqSubscriptionAdapt.cs | 6 + .../ServiceHostBuilderExtensions.cs | 12 + .../Surging.Core.EventBusRabbitMQ.csproj | 8 +- .../Abstractions/ActionContext.cs | 22 + .../Abstractions/ActionResult.cs | 15 +- .../Abstractions/ContentResult.cs | 2 +- .../Abstractions/FileContentResult.cs | 90 ++ .../Abstractions/FileResult.cs | 2 +- .../Abstractions/IActionResult.cs | 13 + .../MvcApplicationBuilderExtensions.cs | 49 - .../HttpMessageListener.cs | 3 +- .../HttpServerMessageSender.cs | 60 +- .../Internal/StreamCopyOperation.cs | 239 ++++ .../KestrelHttpMessageListener.cs | 19 +- .../Surging.Core.KestrelHttpServer.csproj | 16 +- .../Surging.Core.Log4net.csproj | 8 +- .../Surging.Core.Nlog.csproj | 8 +- .../DotNettyHttpServerMessageListener.cs | 11 +- .../Surging.Core.Protocol.Http.csproj | 12 +- .../DotNettyMqttServerMessageListener.cs | 195 +++ .../DefaultMqttServiceFactory.cs | 61 + .../ServerMqttHandlerService.cs | 187 +++ .../Internal/Channel/MqttChannel.cs | 70 + .../Internal/Enums/Behavior.cs | 12 + .../Internal/Enums/ConfirmStatus.cs | 14 + .../Internal/Enums/ConnReturnCode.cs | 16 + .../Internal/Enums/MessageType.cs | 24 + .../Internal/Enums/SessionStatus.cs | 12 + .../Internal/Enums/SubscribeStatus.cs | 12 + .../Internal/Messages/ConnectMessage.cs | 38 + .../Internal/Messages/MqttMessage.cs | 22 + .../Internal/Messages/MqttWillMessage.cs | 18 + .../Internal/Messages/RetainMessage.cs | 14 + .../Internal/Messages/SendMqttMessage.cs | 27 + .../Internal/Messages/SessionMessage.cs | 16 + .../Internal/Runtime/IMqttBehaviorProvider.cs | 12 + .../Runtime/IMqttBrokerEntryManger.cs | 17 + .../Runtime/IMqttRemoteInvokeService.cs | 19 + .../Runtime/IMqttRomtePublishService.cs | 19 + .../DefaultMqttBehaviorProvider.cs | 38 + .../DefaultMqttBrokerEntryManager.cs | 83 ++ .../Implementation/MqttRemoteInvokeService.cs | 111 ++ .../Implementation/MqttRomtePublishService.cs | 19 + .../Runtime/MqttRemoteInvokeContext.cs | 13 + .../Internal/Runtime/Runnable.cs | 24 + .../Internal/Runtime/SacnScheduled.cs | 73 + .../Internal/Runtime/ScanRunnable.cs | 41 + .../Services/AbstractChannelService.cs | 195 +++ .../Internal/Services/IChannelService.cs | 29 + .../Services/IClientSessionService.cs | 15 + .../Internal/Services/IMessagePushService.cs | 28 + .../Internal/Services/IWillService.cs | 17 + .../Implementation/ClientSessionService.cs | 28 + .../Implementation/MessagePushService.cs | 149 +++ .../Implementation/MqttChannelService.cs | 428 ++++++ .../Services/Implementation/WillService.cs | 52 + .../Internal/Services/MqttBehavior.cs | 26 + .../MqttHandlerServiceBase.cs | 48 + .../MqttProtocolModule.cs | 119 ++ .../MqttServiceHost.cs | 56 + .../Surging.Core.Protocol.Mqtt.csproj | 31 + .../Util/MessageIdGenerater.cs | 32 + .../Attributes/BehaviorContractAttribute.cs | 16 + .../Configurations/BehaviorOption.cs | 15 + .../Configurations/WebSocketOptions.cs | 39 + .../DefaultWSServerMessageListener.cs | 10 +- .../DefaultWSServiceEntryProvider.cs | 33 +- .../Runtime/WSServiceEntry.cs | 3 +- .../Surging.Core.Protocol.WS.csproj | 8 +- .../WSProtocolModule.cs | 33 +- .../Implementation/ServiceProxyBase.cs | 5 +- .../Surging.Core.ProxyGenerator.csproj | 9 +- .../Surging.Core.ServiceHosting.csproj | 10 +- .../Surging.Core.Swagger.csproj | 14 + .../Swagger/Model/SwaggerDocument.cs | 2 +- .../SwaggerGen/Generator/ISchemaRegistry.cs | 2 + .../SwaggerGen/Generator/SchemaRegistry.cs | 31 +- .../SwaggerGen/Generator/SwaggerGenerator.cs | 44 +- .../Configurations/ConfigInfo.cs | 13 +- .../Configurations/ZookeeperOption.cs | 2 + .../ContainerBuilderExtensions.cs | 24 +- .../Surging.Core.Zookeeper.csproj | 8 +- .../ZooKeeperMqttServiceRouteManager.cs | 410 ++++++ .../ZooKeeperServiceRouteManager.cs | 3 +- .../Surging.Core.Zookeeper/ZookeeperModule.cs | 24 + .../IChatService.cs | 2 + .../IControllerService.cs | 23 + .../IUserService.cs | 25 +- .../Models/WillMessage.cs | 18 + .../Surging.IModuleServices.Common.csproj | 1 + .../Domain/ControllerService.cs | 40 + .../Domain/PersonService.cs | 27 + .../Domain/UserService.cs | 30 +- .../UserLoginDateChangeHandler.cs | 19 +- .../UserLogoutDataChangeHandler.cs | 3 - .../Surging.Modules.Common.csproj | 1 + .../Surging.Services.Client/Program.cs | 6 +- .../Surging.Services.Client/Startup.cs | 14 +- .../Surging.Services.Client.csproj | 1 + .../cacheSettings.json | 164 ++- .../Surging.Services.Client/nLog.config | 13 +- .../surgingSettings.json | 4 +- .../Surging.Services.Server/NLog.config | 2 +- .../Surging.Services.Server/Program.cs | 5 +- .../Surging.Services.Server/Startup.cs | 4 +- .../Surging.Services.Server.csproj | 3 + .../cacheSettings.json | 149 ++- .../surgingSettings.json | 23 +- src/Surging.sln | 7 + .../WebSocketCore/WebSocketCore.csproj | 6 +- "\346\215\220\350\265\240.png" | Bin 0 -> 55248 bytes 366 files changed, 5994 insertions(+), 13400 deletions(-) create mode 100644 Statement-of-Income-and-Expense.md delete mode 100644 samples/.gitignore delete mode 100644 samples/AuthServer/Application.Interface.Auth/Application.Interface.Auth.csproj delete mode 100644 samples/AuthServer/Application.Interface.Auth/Dto/LoginReq.cs delete mode 100644 samples/AuthServer/Application.Interface.Auth/Event/CorporationActivated.cs delete mode 100644 samples/AuthServer/Application.Interface.Auth/Event/IAuthEventHandler.cs delete mode 100644 samples/AuthServer/Application.Interface.Auth/IAuthAppService.cs delete mode 100644 samples/AuthServer/Application.Service.Auth/Application.Service.Auth.csproj delete mode 100644 samples/AuthServer/Application.Service.Auth/EventHandling/AuthEventHandler.cs delete mode 100644 samples/AuthServer/Application.Service.Auth/Query/AuthAppService.cs delete mode 100644 samples/AuthServer/Application.Service.Auth/UseCases/AuthAppService.cs delete mode 100644 samples/AuthServer/Domain/Aggregate/SubDomain.cs delete mode 100644 samples/AuthServer/Domain/Aggregate/User.cs delete mode 100644 samples/AuthServer/Domain/Domain.Auth.csproj delete mode 100644 samples/AuthServer/Domain/Entity/SubDomainPermission.cs delete mode 100644 samples/AuthServer/Domain/Repository/UserRepository.cs delete mode 100644 samples/AuthServer/Domain/ValueObject/InquiryParameter.cs delete mode 100644 samples/AuthServer/HostService/Configs/log4net.config delete mode 100644 samples/AuthServer/HostService/HostService.csproj delete mode 100644 samples/AuthServer/HostService/Program.cs delete mode 100644 samples/AuthServer/HostService/Startup.cs delete mode 100644 samples/AuthServer/HostService/cacheSettings.json delete mode 100644 samples/AuthServer/HostService/dbSettings.json delete mode 100644 samples/AuthServer/HostService/eventBusSettings.json delete mode 100644 samples/AuthServer/Repository.Auth/AuthRepository.cs delete mode 100644 samples/AuthServer/Repository.Auth/Repository.Auth.csproj delete mode 100644 samples/Common/App.Core/App.Core.csproj delete mode 100644 samples/Common/App.Core/BaseAppService.cs delete mode 100644 samples/Common/App.Core/Security/EncryptionService.cs delete mode 100644 samples/Common/App.Core/Security/IEncryptionService.cs delete mode 100644 samples/Common/Config.Core/Config.Core.csproj delete mode 100644 samples/Common/Config.Core/DBConfigurationExtensions.cs delete mode 100644 samples/Common/DDD.Core/BaseEntity.cs delete mode 100644 samples/Common/DDD.Core/BaseValueObject.cs delete mode 100644 samples/Common/DDD.Core/DDD.Core.Extensions/GenericExtension.cs delete mode 100644 samples/Common/DDD.Core/DDD.Core.Extensions/ObjectExtension.cs delete mode 100644 samples/Common/DDD.Core/DDD.Core.Extensions/StringExtensions.cs delete mode 100644 samples/Common/DDD.Core/DDD.Core.csproj delete mode 100644 samples/Common/DDD.Core/IAggregate.cs delete mode 100644 samples/Common/DDD.Core/IQueryOnlyRepository.cs delete mode 100644 samples/Common/DDD.Core/IRepository.cs delete mode 100644 samples/Common/DDD.Core/IUnitOfWork.cs delete mode 100644 samples/Common/DTO.Core/BasePagedRequestDto.cs delete mode 100644 samples/Common/DTO.Core/BaseRequestDto.cs delete mode 100644 samples/Common/DTO.Core/BaseResponseDto.cs delete mode 100644 samples/Common/DTO.Core/BaseSearchCriteriaDto.cs delete mode 100644 samples/Common/DTO.Core/BaseSortCriteriaDto.cs delete mode 100644 samples/Common/DTO.Core/DTO.Core.csproj delete mode 100644 samples/Common/DTO.Core/IdentifyDto.cs delete mode 100644 samples/Common/DTO.Core/KeyIdReq.cs delete mode 100644 samples/Common/DTO.Core/OperateResultDto.cs delete mode 100644 samples/Common/Repository.Dapper.Core/BaseImpQueryOnlyRepository.cs delete mode 100644 samples/Common/Repository.Dapper.Core/BaseImpRepository.cs delete mode 100644 samples/Common/Repository.Dapper.Core/DapperExtensions.cs delete mode 100644 samples/Common/Repository.Dapper.Core/DapperExtensionsConfiguration.cs delete mode 100644 samples/Common/Repository.Dapper.Core/DapperImplementor.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Database.cs delete mode 100644 samples/Common/Repository.Dapper.Core/DatabasePartial.cs delete mode 100644 samples/Common/Repository.Dapper.Core/DatabaseServiceCollectionExtensions.cs delete mode 100644 samples/Common/Repository.Dapper.Core/GetMultiplePredicate.cs delete mode 100644 samples/Common/Repository.Dapper.Core/GetMultipleResult.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Mapper/AutoClassMapper.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Mapper/ClassMapper.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Mapper/PluralizedAutoClassMapper.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Mapper/PropertyMap.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Page.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Predicates.cs delete mode 100644 samples/Common/Repository.Dapper.Core/ReflectionHelper.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Repository.Dapper.Core.csproj delete mode 100644 samples/Common/Repository.Dapper.Core/Sql/DB2Dialect.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Sql/MySqlDialect.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Sql/OracleDialect.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Sql/PostgreSqlDialect.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Sql/SqlCeDialect.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Sql/SqlDialectBase.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Sql/SqlGenerator.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Sql/SqlServerDialect.cs delete mode 100644 samples/Common/Repository.Dapper.Core/Sql/SqliteDialect.cs delete mode 100644 "samples/Common/Repository.EF.Core/BaseImpQueryOnlyRepository - \345\244\215\345\210\266.cs" delete mode 100644 samples/Common/Repository.EF.Core/BaseImpQueryOnlyRepository.cs delete mode 100644 samples/Common/Repository.EF.Core/BaseImpRepository.cs delete mode 100644 samples/Common/Repository.EF.Core/ConfigHelper.cs delete mode 100644 samples/Common/Repository.EF.Core/DbContextOption.cs delete mode 100644 samples/Common/Repository.EF.Core/DefaultDbContext.cs delete mode 100644 samples/Common/Repository.EF.Core/IQueryableExtension.cs delete mode 100644 samples/Common/Repository.EF.Core/InquiryRepository.cs delete mode 100644 samples/Common/Repository.EF.Core/Properties/PublishProfiles/FolderProfile.pubxml delete mode 100644 samples/Common/Repository.EF.Core/Repository.EF.Core.csproj delete mode 100644 samples/Common/Repository.EF.Core/SqlHelper.cs delete mode 100644 samples/Common/Repository.EF.Core/UnitOfWork.cs delete mode 100644 samples/GateWay.WebApi/Areas/AuthManger/Controllers/AuthController.cs delete mode 100644 samples/GateWay.WebApi/Areas/OrgManger/Controllers/CorpMangerController.cs delete mode 100644 samples/GateWay.WebApi/Areas/OrgManger/Controllers/EmployeeController.cs delete mode 100644 samples/GateWay.WebApi/Areas/OrgManger/Controllers/RoleMangerController.cs delete mode 100644 samples/GateWay.WebApi/Configs/appsettings.Development.json delete mode 100644 samples/GateWay.WebApi/Configs/appsettings.json delete mode 100644 samples/GateWay.WebApi/Configs/cacheSettings.json delete mode 100644 samples/GateWay.WebApi/Configs/gatewaySettings.json delete mode 100644 samples/GateWay.WebApi/Controllers/AuthController.cs delete mode 100644 samples/GateWay.WebApi/Controllers/BaseApiController.cs delete mode 100644 samples/GateWay.WebApi/Controllers/ServicesController.cs delete mode 100644 samples/GateWay.WebApi/Controllers/ValuesController.cs delete mode 100644 samples/GateWay.WebApi/CustomExceptionFilterAttribute.cs delete mode 100644 samples/GateWay.WebApi/GateWay.WebApi.csproj delete mode 100644 samples/GateWay.WebApi/HiddenApiFilter.cs delete mode 100644 samples/GateWay.WebApi/Program.cs delete mode 100644 samples/GateWay.WebApi/Properties/launchSettings.json delete mode 100644 samples/GateWay.WebApi/ScaffoldingReadMe.txt delete mode 100644 samples/GateWay.WebApi/Startup.cs delete mode 100644 samples/GateWay.WebApi/appsettings.Development.json delete mode 100644 samples/GateWay.WebApi/appsettings.json delete mode 100644 samples/LogServer/Application.Interface.SysLog/Application.Interface.SysLog.csproj delete mode 100644 samples/LogServer/Application.Interface.SysLog/ILogAppService.cs delete mode 100644 samples/LogServer/Application.Service.SysLog/Application.Service.SysLog.csproj delete mode 100644 samples/LogServer/Application.Service.SysLog/LogAppService.cs delete mode 100644 samples/LogServer/HostService/Configs/log4net.config delete mode 100644 samples/LogServer/HostService/HostService.csproj delete mode 100644 samples/LogServer/HostService/Program.cs delete mode 100644 samples/LogServer/HostService/Startup.cs delete mode 100644 samples/LogServer/HostService/cacheSettings.json delete mode 100644 samples/LogServer/HostService/eventBusSettings.json delete mode 100644 samples/MicroService.sln delete mode 100644 samples/OrgServer/Application.Interface.Org/Application.Interface.Org.csproj delete mode 100644 samples/OrgServer/Application.Interface.Org/DTO/DeptAddReq.cs delete mode 100644 samples/OrgServer/Application.Interface.Org/DTO/EmployeePermission.cs delete mode 100644 samples/OrgServer/Application.Interface.Org/EVENT/CorporationActivated.cs delete mode 100644 samples/OrgServer/Application.Interface.Org/EVENT/ICorpEventHandler.cs delete mode 100644 samples/OrgServer/Application.Interface.Org/IOrgAppService.cs delete mode 100644 samples/OrgServer/Application.Service.Org/Application.Service.Org.csproj delete mode 100644 samples/OrgServer/Application.Service.Org/Query/OrgAppService.cs delete mode 100644 samples/OrgServer/Application.Service.Org/UseCases/OrgAppService.cs delete mode 100644 samples/OrgServer/Domain/Aggregate/Corporation.cs delete mode 100644 samples/OrgServer/Domain/Domain.Org.csproj delete mode 100644 samples/OrgServer/Domain/DomainEvents/EventHandling/InquiryEditedHandler.cs delete mode 100644 samples/OrgServer/Domain/DomainEvents/PublishEvent/InquiryEditedEvent.cs delete mode 100644 samples/OrgServer/Domain/Entity/CorpRole.cs delete mode 100644 samples/OrgServer/Domain/Entity/Department.cs delete mode 100644 samples/OrgServer/Domain/Entity/Employee.cs delete mode 100644 samples/OrgServer/Domain/ValueObject/EmployeeRole.cs delete mode 100644 samples/OrgServer/Domain/ValueObject/RolePermission.cs delete mode 100644 samples/OrgServer/HostService/Configs/log4net.config delete mode 100644 samples/OrgServer/HostService/HostService.csproj delete mode 100644 samples/OrgServer/HostService/Program.cs delete mode 100644 samples/OrgServer/HostService/Startup.cs delete mode 100644 samples/OrgServer/HostService/cacheSettings.json delete mode 100644 samples/OrgServer/HostService/dbSettings.json delete mode 100644 samples/OrgServer/HostService/eventBusSettings.json delete mode 100644 samples/OrgServer/Repository.Org/OrgRepository.cs delete mode 100644 samples/OrgServer/Repository.Org/Repository.Org.csproj delete mode 100644 samples/README.md delete mode 100644 samples/pack/Surging.Core.ApiGateWay.dll delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Logging/ConsoleLogger.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Logging/ILogger.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceFactory.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceRouteManager.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/Implementation/MqttServiceRouteManagerBase.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttDescriptor.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceDescriptor.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceRoute.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/HealthCheckEventArgs.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/IServiceHeartbeatManager.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/DefaultServiceHeartbeatManager.cs create mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/NetUtils.cs rename src/{Surging.IModuleServices/Surging.IModuleServices.Common/Models => Surging.Core/Surging.Core.Common}/ApiResult.cs (69%) create mode 100644 src/Surging.Core/Surging.Core.Common/CommonModule.cs create mode 100644 src/Surging.Core/Surging.Core.Consul/ConsulMqttServiceRouteManager.cs create mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionContext.cs create mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileContentResult.cs create mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/IActionResult.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Builder/MvcApplicationBuilderExtensions.cs create mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/StreamCopyOperation.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/DotNettyMqttServerMessageListener.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/DefaultMqttServiceFactory.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/ServerMqttHandlerService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Channel/MqttChannel.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/Behavior.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConfirmStatus.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConnReturnCode.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/MessageType.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SessionStatus.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SubscribeStatus.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/ConnectMessage.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttMessage.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttWillMessage.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/RetainMessage.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SendMqttMessage.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SessionMessage.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBehaviorProvider.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBrokerEntryManger.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRemoteInvokeService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRomtePublishService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBehaviorProvider.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBrokerEntryManager.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRemoteInvokeService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRomtePublishService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/MqttRemoteInvokeContext.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Runnable.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/SacnScheduled.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/ScanRunnable.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/AbstractChannelService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IChannelService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IClientSessionService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IMessagePushService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IWillService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/ClientSessionService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MessagePushService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MqttChannelService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/WillService.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/MqttBehavior.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttHandlerServiceBase.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttProtocolModule.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttServiceHost.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Surging.Core.Protocol.Mqtt.csproj create mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Util/MessageIdGenerater.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Attributes/BehaviorContractAttribute.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Configurations/BehaviorOption.cs create mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Configurations/WebSocketOptions.cs create mode 100644 src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperMqttServiceRouteManager.cs create mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/IControllerService.cs create mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/WillMessage.cs create mode 100644 src/Surging.Modules/Surging.Modules.Common/Domain/ControllerService.cs create mode 100644 "\346\215\220\350\265\240.png" diff --git a/README.md b/README.md index 7357671b4..3130ea037 100644 --- a/README.md +++ b/README.md @@ -261,6 +261,15 @@ Task.FromResult(new Surging.IModuleServices.Common.Models.UserModel ```C# .AddClientIntercepted(typeof(CacheProviderInterceptor)) ``` +### 捐赠基金 +如果觉得这个框架不错,可以支持surging开源,请fanly喝一杯咖啡或吃一顿午餐或者是更好的社区发展,扫描下方二维码进行捐赠,并在付款说明填写您的改进意见。 + +![](https://github.com/dotnetcore/surging/blob/master/%E6%8D%90%E8%B5%A0.png) + + +## 捐赠明细 + +surging 接受来自社区的捐赠,所有款项将通过 [捐赠明细表](Statement-of-Income-and-Expense.md) 进行公示,接受社区监督。 IDE:Visual Studio 2017 15.5,vscode
diff --git a/Statement-of-Income-and-Expense.md b/Statement-of-Income-and-Expense.md new file mode 100644 index 000000000..afbd62a8f --- /dev/null +++ b/Statement-of-Income-and-Expense.md @@ -0,0 +1,53 @@ +# 收支明细表 + +说明:为保证surging财务公开透明,决定将每一笔捐赠和支出记录于本表,资金由 [fanly](https://github.com/fanliang11) 托管,并且受社区人员监督用于surging的生态发展 + + +## 汇总 + +截止到 2018 年 12 月 28 日: ++ 共获得捐赠 `38` 笔计 `8250.4` 元人民币 ++ 暂无支出项 + +## 明细 + +| 序号 | 捐赠人 | 时间 | 金额 | 说明 | 留言 | 类型 | +|------------|:------------:|-------------|--------------------|-------------------|--------------------|-----| +| 1 | Murphy | 2018-12-19 | 100 | Murphy 个人捐赠 | 这家伙很懒 |获赠 | +| 2 | 宗国 | 2018-12-19 | 20 | 宗国 个人捐赠 | 这家伙很懒 |获赠 | +| 3 | 紫能 | 2018-12-19 | 50 | 紫能 个人捐赠 | 这家伙很懒 |获赠 | +| 4 | Damon | 2018-12-19 | 18.8 | Damon 个人捐赠 | 支持一下 |获赠 | +| 5 | 悉路 | 2018-12-19 | 10 | 悉路 个人捐赠 | 感谢作者的付出,希望能完善文档 |获赠 | +| 6 | jiang | 2018-12-19 | 16.66 | jiang 个人捐赠 | 这家伙很懒 |获赠 | +| 7 | 伯锰 z.l | 2018-12-19 | 20 | 伯锰 z.l 个人捐赠 | 期待1.0 |获赠 | +| 8 | 匿名 | 2018-12-19 | 5000 | 匿名个人捐赠 | 这家伙很懒 |获赠 | +| 9 | 爱吃牛排的牛仔 | 2018-12-19 | 66.66 | 爱吃牛排的牛仔个人捐赠 | 这家伙很懒 |获赠 | +| 10 | siyue | 2018-12-20 | 50 | siyue个人捐赠 | 这家伙很懒 |获赠 | +| 11 | 学飞 | 2018-12-20 | 200 | 学飞个人捐赠 | 还在学习,期待surging越来越好 |获赠 | +| 12 | 昵称bai | 2018-12-21 | 10 | 昵称bai个人捐赠 | 这家伙很懒 |获赠 | +| 13 | 半碗的彩霞 | 2018-12-21 | 10 | 半碗的彩霞个人捐赠 | 这家伙很懒 |获赠 | +| 14 | 虎牙 | 2018-12-21 | 1000 | 虎牙个人捐赠 | 这家伙很懒 |获赠 | +| 15 | 寸草无心 | 2018-12-21 | 100 | 寸草无心个人捐赠 | 关注surging已有大半年了 默默支持 |获赠 | +| 16 | 洋 | 2018-12-24 | 1 | 洋个人捐赠 | dotnetty支持websocket了 |获赠 | +| 17 | 高文 | 2018-12-24 | 10 | 高文个人捐赠 | 庆祝1.0 |获赠 | +| 18 | 培根 | 2018-12-24 | 36 | 培根个人捐赠 | 捐赠一杯咖啡 |获赠 | +| 19 | gesneriana | 2018-12-24 | 26 | gesneriana个人捐赠 | 这家伙很懒 |获赠 | +| 20 | 学军 | 2018-12-27 | 100 | 学军个人捐赠 | 这家伙很懒 |获赠 | +| 21 | 高立哲 | 2018-12-27 | 30 | 高立哲个人捐赠 | 这家伙很懒 |获赠 | +| 22 | 俊文 | 2018-12-27 | 10 | 俊文个人捐赠 | 这家伙很懒 |获赠 | +| 23 | 根堂 | 2018-12-28 | 100 | 根堂个人捐赠 | 这家伙很懒 |获赠 | +| 24 | 东周 | 2018-12-28 | 5 | 东周个人捐赠 | 辛苦 |获赠 | +| 25 | 纯 | 2018-12-28 | 20 | 纯个人捐赠 | 这家伙很懒 |获赠 | +| 26 | 夏志行 | 2018-12-28 | 88 | 夏志行个人捐赠 | 这家伙很懒 |获赠 | +| 27 | 勇 | 2018-12-28 | 88.88 | 勇个人捐赠 | 这家伙很懒 |获赠 | +| 28 | 启旺 | 2018-12-28 | 10 | 勇个人捐赠 | 这家伙很懒 |获赠 | +| 29 | 雯昌 | 2018-12-28 | 20 | 雯昌个人捐赠 | 支持surging |获赠 | +| 30 | 宏伟 | 2018-12-28 | 500 | 宏伟个人捐赠 | 这家伙很懒 |获赠 | +| 31 | 伟 | 2018-12-28 | 20 | 伟个人捐赠 | 这家伙很懒 |获赠 | +| 32 | 建 | 2018-12-28 | 10 |建个人捐赠 | 希望大佬搞好文档,在下尽点微薄之力 |获赠 | +| 33 | 林 | 2018-12-29 | 30 |林个人捐赠 | 这家伙很懒 |获赠 | +| 34 | 俊强 | 2018-12-29 | 100 | 俊强个人捐赠 | 这家伙很懒 |获赠 | +| 35 | 彪 | 2018-01-02 | 10 | 彪个人捐赠 | 支持一下surging |获赠 | +| 36 | 忠全 | 2018-01-02 | 200 | 忠全个人捐赠 | 学习一下 |获赠 | +| 37 | 思恒 | 2018-01-03 | 10 | 思恒个人捐赠 | 这家伙很懒 |获赠 | +| 38 | 松波 | 2018-01-04 | 100 | 松波个人捐赠 | 出精品 |获赠 | diff --git a/samples/.gitignore b/samples/.gitignore deleted file mode 100644 index befad6a88..000000000 --- a/samples/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -/Centa.Agency.HostService/bin -/Centa.Agency.HostService/obj -/Centa.Agency.Application.Service/bin -/Centa.Agency.Application.Service/obj -/DDD.Core/bin -/DDD.Core/obj -/Centa.Agency.Web/bin -bin -obj -/Centa.HostService.SysLog/obj -/Centa.HostService.SysLog/bin -/Centa.Agency.Application.Interface/obj -/Centa.Agency.Domain/obj -/Centa.Agency.Domain/bin -/Centa.Agency.Query/bin -/Centa.Agency.Query/obj -/Centa.Agency.Web/obj diff --git a/samples/AuthServer/Application.Interface.Auth/Application.Interface.Auth.csproj b/samples/AuthServer/Application.Interface.Auth/Application.Interface.Auth.csproj deleted file mode 100644 index 8c27115ea..000000000 --- a/samples/AuthServer/Application.Interface.Auth/Application.Interface.Auth.csproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - - - - - diff --git a/samples/AuthServer/Application.Interface.Auth/Dto/LoginReq.cs b/samples/AuthServer/Application.Interface.Auth/Dto/LoginReq.cs deleted file mode 100644 index acbad5813..000000000 --- a/samples/AuthServer/Application.Interface.Auth/Dto/LoginReq.cs +++ /dev/null @@ -1,14 +0,0 @@ -using DTO.Core; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Application.Service.Auth.Dto -{ - public class LoginReq : BaseDto - { - public string UserName { get; set; } - public string Pwd { get; set; } - public Guid CorporationKeyId { get; set; } - } -} diff --git a/samples/AuthServer/Application.Interface.Auth/Event/CorporationActivated.cs b/samples/AuthServer/Application.Interface.Auth/Event/CorporationActivated.cs deleted file mode 100644 index 11f421dad..000000000 --- a/samples/AuthServer/Application.Interface.Auth/Event/CorporationActivated.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Surging.Core.CPlatform.EventBus.Events; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Application.Interface.Auth.EVENT -{ - // /// - // /// 新注册公司被激活的事件 - // /// - //public class CorporationActivatedEvent: IntegrationEvent - // { - - // } -} diff --git a/samples/AuthServer/Application.Interface.Auth/Event/IAuthEventHandler.cs b/samples/AuthServer/Application.Interface.Auth/Event/IAuthEventHandler.cs deleted file mode 100644 index 93ae5b0b7..000000000 --- a/samples/AuthServer/Application.Interface.Auth/Event/IAuthEventHandler.cs +++ /dev/null @@ -1,15 +0,0 @@ -using Application.Interface.Org.EVENT; -using Surging.Core.CPlatform.EventBus.Events; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Application.Interface.Auth.EVENT -{ - /// - /// 事件处理器 - /// - public interface IAuthEventHandler : IIntegrationEventHandler - { - } -} diff --git a/samples/AuthServer/Application.Interface.Auth/IAuthAppService.cs b/samples/AuthServer/Application.Interface.Auth/IAuthAppService.cs deleted file mode 100644 index 3b899c1ea..000000000 --- a/samples/AuthServer/Application.Interface.Auth/IAuthAppService.cs +++ /dev/null @@ -1,32 +0,0 @@ -using Application.Service.Auth.Dto; -using DTO.Core; -using Surging.Core.CPlatform.Ioc; -using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Application.Interface.Auth -{ - [ServiceBundle("api/{Service}")] - public interface IAuthAppService : IServiceKey - { - - /// - /// 登录系统 - /// - /// - [Service(Date = "2018-1-30", Director = "刘旭东", Name = "登录系统")] - Task SignIn( LoginReq req); - - /// - /// 退出系统 - /// - /// - [Service(Date = "2018-1-30", Director = "刘旭东", Name = "退出系统")] - Task SignUp(CommonCMDReq req); - - [Service(Date = "2018-1-30", Director = "刘旭东", Name = "查询系统模块下的所有权限")] - Task FindDomainPermissions(CommonCMDReq req); - } -} diff --git a/samples/AuthServer/Application.Service.Auth/Application.Service.Auth.csproj b/samples/AuthServer/Application.Service.Auth/Application.Service.Auth.csproj deleted file mode 100644 index 0e9898f87..000000000 --- a/samples/AuthServer/Application.Service.Auth/Application.Service.Auth.csproj +++ /dev/null @@ -1,23 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - - - - - - - - - diff --git a/samples/AuthServer/Application.Service.Auth/EventHandling/AuthEventHandler.cs b/samples/AuthServer/Application.Service.Auth/EventHandling/AuthEventHandler.cs deleted file mode 100644 index ab81150ff..000000000 --- a/samples/AuthServer/Application.Service.Auth/EventHandling/AuthEventHandler.cs +++ /dev/null @@ -1,55 +0,0 @@ -using App.Core.Security; -using Application.Interface.Auth.EVENT; -using Application.Interface.Org.EVENT; -using Domain.Auth.Aggregate; -using Repository.Auth; -using Surging.Core.ProxyGenerator; -using System; -using System.Collections.Generic; -using System.Text; -using System.Threading.Tasks; - -namespace Application.Service.Auth.EventHandling -{ - //[QueueConsumerAttribute] - public class AuthEventHandler : IAuthEventHandler - { - private readonly UserRepository _userRepository; - private readonly SubDomainRepository _subDomainRepository; - private readonly UserQueryRepository _queryUserRepository; - private readonly SubDomainQueryRepository _querySubDomainRepository; - // private ICacheProvider _cacheProvider; - public AuthEventHandler(UserRepository userRepository, UserQueryRepository queryUserRepository, - SubDomainRepository subDomainRepository, SubDomainQueryRepository querySubDomainRepository) - { - _userRepository = userRepository; - _subDomainRepository = subDomainRepository; - _queryUserRepository = queryUserRepository; - _querySubDomainRepository = querySubDomainRepository; - } - - - public Task Handle(CorporationActivatedEvent @event) - { - //需要为企业管理做初始化,并生成管理员账号 - return Task.Run(() => - { - var encryptionService = new EncryptionService(); - _userRepository.Add(new User - { - CorporationKeyId = @event.CorpId, - IsDelete = false, - EmployeeKeyID = Guid.Parse(@event.EmpId), - KeyId = Guid.NewGuid(), - Name = "超级管理员", - No = "SuperMan", - Version = 1, - Pwd = encryptionService.EncryptText("123456") - }); - - _userRepository.Commit(); - }); - - } - } -} diff --git a/samples/AuthServer/Application.Service.Auth/Query/AuthAppService.cs b/samples/AuthServer/Application.Service.Auth/Query/AuthAppService.cs deleted file mode 100644 index d6db7d3de..000000000 --- a/samples/AuthServer/Application.Service.Auth/Query/AuthAppService.cs +++ /dev/null @@ -1,32 +0,0 @@ -using DTO.Core; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace Application.Service.Auth -{ - public partial class AuthAppService - { - public Task FindDomainPermissions(CommonCMDReq req) - { - BaseListResponseDto rsp = new BaseListResponseDto(); - var rows= _querySubDomainRepository.Get(a => !a.IsDelete,b=>b.SubDomainPermissions).ToList(); - rsp.Result = rows.Select(a => new { - keyId = a.KeyId, - domainNmae = a.Name, - action = a.SubDomainPermissions.Where(b=>b.PermissionType== Domain.Auth.Entity.PermissionCategory.Action)?.GroupBy(b => b.GroupName, c => new { - name=c.Name, - no=c.No - }).ToDictionary(b=>b.Key,c=>c), - page = a.SubDomainPermissions.Where(b => b.PermissionType == Domain.Auth.Entity.PermissionCategory.Page)?.Select(c => new { - name = c.Name, - no = c.No - }).ToList() - }).ToList(); - return Task.FromResult(rsp); - } - - } -} diff --git a/samples/AuthServer/Application.Service.Auth/UseCases/AuthAppService.cs b/samples/AuthServer/Application.Service.Auth/UseCases/AuthAppService.cs deleted file mode 100644 index f3d351d92..000000000 --- a/samples/AuthServer/Application.Service.Auth/UseCases/AuthAppService.cs +++ /dev/null @@ -1,65 +0,0 @@ -using App.Core.Security; -using Application.Interface.Auth; -using Application.Service.Auth.Dto; -using Domain.Auth.Aggregate; -using DTO.Core; -using Repository.Auth; -using Surging.Core.Caching; -using Surging.Core.CPlatform.Ioc; -using Surging.Core.ProxyGenerator; - -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Application.Service.Auth -{ - [ModuleName("Auth")] - public partial class AuthAppService : ProxyServiceBase, IAuthAppService - { - private readonly UserRepository _userRepository; - private readonly SubDomainRepository _subDomainRepository; - private readonly UserQueryRepository _queryUserRepository; - private readonly SubDomainQueryRepository _querySubDomainRepository; - // private ICacheProvider _cacheProvider; - public AuthAppService(UserRepository userRepository, UserQueryRepository queryUserRepository, - SubDomainRepository subDomainRepository, SubDomainQueryRepository querySubDomainRepository) - { - _userRepository = userRepository; - _subDomainRepository = subDomainRepository; - _queryUserRepository = queryUserRepository; - _querySubDomainRepository = querySubDomainRepository; - } - - public Task SignIn(LoginReq req) - { - User user=null; - try { - //缓存增加当前用户相关信息 - //_cacheProvider= CacheContainer.GetInstances("Redis"); - //_cacheProvider.Add("UserKeyId=22", "{ UserKeyId=22,TenantId=3}"); - var encryptionService = new EncryptionService(); - var pwde = encryptionService.EncryptText(req.Pwd); - user = _queryUserRepository.GetSingle(a => a.CorporationKeyId == req.CorporationKeyId && !a.IsDelete && a.Pwd == pwde && a.No == req.UserName); - } - catch (Exception ex) - { - string ss = ex.Message; - } - if (user != null) - { - return Task.FromResult(new TokenDto { CorporationKeyId = user.CorporationKeyId, Token = user.EmployeeKeyID.ToString() }); - - } - else - { - return Task.FromResult(null); - } - } - - public Task SignUp(CommonCMDReq req) - { - throw new NotImplementedException(); - } - } -} diff --git a/samples/AuthServer/Domain/Aggregate/SubDomain.cs b/samples/AuthServer/Domain/Aggregate/SubDomain.cs deleted file mode 100644 index ba5963c54..000000000 --- a/samples/AuthServer/Domain/Aggregate/SubDomain.cs +++ /dev/null @@ -1,24 +0,0 @@ -using DDD.Core; -using Domain.Auth.Entity; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.Auth.Aggregate -{ - /// - /// 服务模块(子领域) - /// - [Table("Auth_SubDomains")] - public class SubDomain : IAggregate - { - - /// - /// 模块下的权限 - /// - public virtual List SubDomainPermissions { get; set; } - - } -} diff --git a/samples/AuthServer/Domain/Aggregate/User.cs b/samples/AuthServer/Domain/Aggregate/User.cs deleted file mode 100644 index 2135d1a39..000000000 --- a/samples/AuthServer/Domain/Aggregate/User.cs +++ /dev/null @@ -1,32 +0,0 @@ -using DDD.Core; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.Auth.Aggregate -{ - /// - /// 平台用户(账号) - /// - [Table("Auth_Users")] - public class User : IAggregate - { - - /// - /// 密码 - /// - public string Pwd { get; set; } - - - /// - /// 归属员工 - /// - public Guid EmployeeKeyID { get; set; } - - - //public virtual List Departments { get; set; } - - } -} diff --git a/samples/AuthServer/Domain/Domain.Auth.csproj b/samples/AuthServer/Domain/Domain.Auth.csproj deleted file mode 100644 index 557735dc9..000000000 --- a/samples/AuthServer/Domain/Domain.Auth.csproj +++ /dev/null @@ -1,27 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - - - - - - - - - - - - - diff --git a/samples/AuthServer/Domain/Entity/SubDomainPermission.cs b/samples/AuthServer/Domain/Entity/SubDomainPermission.cs deleted file mode 100644 index b34a3e9dc..000000000 --- a/samples/AuthServer/Domain/Entity/SubDomainPermission.cs +++ /dev/null @@ -1,40 +0,0 @@ -using DDD.Core; -using Domain.Auth.Aggregate; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.Auth.Entity -{ - /// - /// 模块下的权限 - /// - [Table("Auth_SubDomain_Permissions")] - public class SubDomainPermission : BaseEntity - { - public string GroupName { get; set; } - public string GroupNo { get; set; } - - public PermissionCategory PermissionType { get; set; } - - public Guid SubDomainKeyId { get; set; } - - [ForeignKey("SubDomainKeyId")] - public SubDomain SubDomain { get; set; } - } - - public enum PermissionCategory - { - /// - /// 页面 - /// - Page=1, - - /// - /// 动作 - /// - Action=2 - } -} diff --git a/samples/AuthServer/Domain/Repository/UserRepository.cs b/samples/AuthServer/Domain/Repository/UserRepository.cs deleted file mode 100644 index 00c3f69c7..000000000 --- a/samples/AuthServer/Domain/Repository/UserRepository.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Domain.Auth.Aggregate; -using Microsoft.EntityFrameworkCore; -using Repository.EF.Core; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Domain.Auth.Repository -{ - -} diff --git a/samples/AuthServer/Domain/ValueObject/InquiryParameter.cs b/samples/AuthServer/Domain/ValueObject/InquiryParameter.cs deleted file mode 100644 index 4dcf8b670..000000000 --- a/samples/AuthServer/Domain/ValueObject/InquiryParameter.cs +++ /dev/null @@ -1,29 +0,0 @@ -using DDD.Core; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.ValueObject.Inquiry -{ - - public class InquiryParameter: BaseValueObject - { - // [Column("InquiryKeyId")] - public Guid InquiryKeyId { get; set; } - // [ForeignKey("InquiryKeyId")] - // public CusInquiry OwnCusInquiry { get; set; } - - public Guid SysParameterItemKeyId { get; set; } - public int ParameterType { get; set; } - public int Seq { get; set; } - /* - [InverseProperty("Author")] - public List AuthoredPosts { get; set; } - - [InverseProperty("Contributor")] - public List ContributedToPosts { get; set; } - */ - - } -} diff --git a/samples/AuthServer/HostService/Configs/log4net.config b/samples/AuthServer/HostService/Configs/log4net.config deleted file mode 100644 index 42fd16880..000000000 --- a/samples/AuthServer/HostService/Configs/log4net.config +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/AuthServer/HostService/HostService.csproj b/samples/AuthServer/HostService/HostService.csproj deleted file mode 100644 index 6fc04dddc..000000000 --- a/samples/AuthServer/HostService/HostService.csproj +++ /dev/null @@ -1,39 +0,0 @@ - - - - Exe - netcoreapp2.0 - - - - - - - - - - - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - diff --git a/samples/AuthServer/HostService/Program.cs b/samples/AuthServer/HostService/Program.cs deleted file mode 100644 index fd254ab5b..000000000 --- a/samples/AuthServer/HostService/Program.cs +++ /dev/null @@ -1,66 +0,0 @@ -using Autofac; -using Surging.Core.Codec.MessagePack; -using Surging.Core.Consul; -using Surging.Core.Consul.Configurations; -using Surging.Core.CPlatform; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.DotNetty; -using Surging.Core.EventBusRabbitMQ; -using Surging.Core.ServiceHosting; -using Surging.Core.ServiceHosting.Internal.Implementation; -using System; -using System.Text; -using Surging.Core.Log4net; -using Surging.Core.ProxyGenerator; - -namespace Centa.HostService.Auth -{ - public class Program - { - static void Main(string[] args) - { - Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); - var host = new ServiceHostBuilder() - .RegisterServices(builder => - { - // builder.RegisterAssemblyModules(); - //这里写自己的注册 - }) - .RegisterServices(builder => - { - builder.AddMicroService(option => - { - option.AddServiceRuntime(); - option.AddRelateService(); - option.UseConsulManager(new ConfigInfo("127.0.0.1:8500")); - option.UseDotNettyTransport(); - option.UseRabbitMQTransport(); - option.AddRabbitMQAdapt(); - //option.UseMessagePackCodec(); - option.UseJsonCodec(); - builder.Register(p => new CPlatformContainer(ServiceLocator.Current)); - }); - }) - .SubscribeAt() - .UseLog4net("Configs/log4net.config") - .UseServer(options => - { - options.Ip = "127.0.0.1"; - options.Port = 10241; - options.Token = "True"; - options.ExecutionTimeoutInMilliseconds = 30000; - options.MaxConcurrentRequests = 200; - }) - .UseProxy() - .UseStartup() - .Build(); - - using (host.Run()) - { - Console.Title = "认证授权"; - Console.WriteLine($"认证授权——服务端启动成功,{DateTime.Now}。"); - Console.ReadLine(); - } - } - } -} diff --git a/samples/AuthServer/HostService/Startup.cs b/samples/AuthServer/HostService/Startup.cs deleted file mode 100644 index 84043e018..000000000 --- a/samples/AuthServer/HostService/Startup.cs +++ /dev/null @@ -1,71 +0,0 @@ -using Autofac; -using Autofac.Extensions.DependencyInjection; -using Config.Core.Extensions; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; -using Surging.Core.Caching.Configurations; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.EventBusRabbitMQ.Configurations; -using System; - -namespace Centa.HostService.Auth -{ - public class Startup - { - public Startup() - { - var config = new ConfigurationBuilder() - .SetBasePath(AppContext.BaseDirectory); - ConfigureEventBus(config); - ConfigureCache(config); - ConfigureDB(config); - - } - - public IContainer ConfigureServices(ContainerBuilder builder) - { - var services = new ServiceCollection(); - ConfigureLogging(services); - builder.Populate(services); - ServiceLocator.Current = builder.Build(); - return ServiceLocator.Current; - } - - public void Configure(IContainer app) - { - app.Resolve().AddConsole((c, l) => (int)l >= 3); - } - - #region 私有方法 - /// - /// 配置日志服务 - /// - /// - private void ConfigureLogging(IServiceCollection services) - { - services.AddLogging(); - } - - private static void ConfigureEventBus(IConfigurationBuilder build) - { - build - .AddEventBusFile("eventBusSettings.json", optional: false); - } - - /// - /// 配置缓存服务 - /// - private void ConfigureCache(IConfigurationBuilder build) - { - build.AddCacheFile("cacheSettings.json", optional: false); - } - - private void ConfigureDB(IConfigurationBuilder build) - { - build.AddDBFile("dbSettings.json", optional: false); - } - #endregion - - } -} diff --git a/samples/AuthServer/HostService/cacheSettings.json b/samples/AuthServer/HostService/cacheSettings.json deleted file mode 100644 index ab9c7e43d..000000000 --- a/samples/AuthServer/HostService/cacheSettings.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "CachingSettings": [ - { - "Id": "ddlCache", - "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", - "Properties": [ - { - "Name": "appRuleFile", - "Ref": "rule" - }, - { - "Name": "dataContextPool", - "Ref": "ddls_sample", - "Maps": [ - { - "Name": "Redis", - "Properties": [ - { - "value": "127.0.0.1:6379::1" - } - ] - }, - { - "Name": "MemoryCache" - } - ] - }, - { - "Name": "defaultExpireTime", - "value": "120" - }, - { - "Name": "connectTimeout", - "Value": "120" - }, - { - "Name": "minSize", - "Value": "1" - }, - { - "Name": "maxSize", - "Value": "10" - } - ] - } - ] -} diff --git a/samples/AuthServer/HostService/dbSettings.json b/samples/AuthServer/HostService/dbSettings.json deleted file mode 100644 index 9903dfd68..000000000 --- a/samples/AuthServer/HostService/dbSettings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ConnectionString": "Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=Web_A2;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", - "ModelAssemblyName": "Domain.Auth" -} - diff --git a/samples/AuthServer/HostService/eventBusSettings.json b/samples/AuthServer/HostService/eventBusSettings.json deleted file mode 100644 index d5d4487b7..000000000 --- a/samples/AuthServer/HostService/eventBusSettings.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "EventBusConnection": "localhost", - "EventBusUserName": "guest", - "EventBusPassword": "guest" -} - diff --git a/samples/AuthServer/Repository.Auth/AuthRepository.cs b/samples/AuthServer/Repository.Auth/AuthRepository.cs deleted file mode 100644 index 25ce7ba6c..000000000 --- a/samples/AuthServer/Repository.Auth/AuthRepository.cs +++ /dev/null @@ -1,48 +0,0 @@ -using DDD.Core; -using Domain.Auth.Aggregate; -using Microsoft.EntityFrameworkCore; -using Repository.EF.Core; -using Surging.Core.CPlatform.Ioc; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Text; - -namespace Repository.Auth -{ - - - - public class UserRepository : BaseImpRepository - { - public override User FindBy(Guid key) - { - return _set //.Include(a => a.Departments).ThenInclude(a => a.Employees) - .SingleOrDefault(a => a.KeyId == key); - } - } - - public class SubDomainRepository : BaseImpRepository - { - public override SubDomain FindBy(Guid key) - { - return _set //.Include(a => a.Departments).ThenInclude(a => a.Employees) - .SingleOrDefault(a => a.KeyId == key); - } - } - - public class UserQueryRepository : BaseImpQueryOnlyRepository - { - } - - public class SubDomainQueryRepository : BaseImpQueryOnlyRepository - { - - public override IQueryable Get(Expression> where = null) - { - return _set.Include(a => a.SubDomainPermissions).Where(where); - } - } - -} diff --git a/samples/AuthServer/Repository.Auth/Repository.Auth.csproj b/samples/AuthServer/Repository.Auth/Repository.Auth.csproj deleted file mode 100644 index 9fb3bffee..000000000 --- a/samples/AuthServer/Repository.Auth/Repository.Auth.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - - diff --git a/samples/Common/App.Core/App.Core.csproj b/samples/Common/App.Core/App.Core.csproj deleted file mode 100644 index df1909e24..000000000 --- a/samples/Common/App.Core/App.Core.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - netcoreapp2.0 - - - - - - - - - - - diff --git a/samples/Common/App.Core/BaseAppService.cs b/samples/Common/App.Core/BaseAppService.cs deleted file mode 100644 index a7b6e682c..000000000 --- a/samples/Common/App.Core/BaseAppService.cs +++ /dev/null @@ -1,17 +0,0 @@ -using Repository.EF.Core; -using Surging.Core.ProxyGenerator; -using System; - -namespace App.Core -{ - public class BaseAppService : ProxyServiceBase - { - // protected BaseImpRepository _repository; - //protected QueryOrgRepository _queryOnlyRepository; - public BaseAppService()//(BaseImpRepository repository)//, QueryOrgRepository queryOnlyRepository) - { - // _repository = repository; - //_queryOnlyRepository = queryOnlyRepository; - } - } -} diff --git a/samples/Common/App.Core/Security/EncryptionService.cs b/samples/Common/App.Core/Security/EncryptionService.cs deleted file mode 100644 index 36159e03e..000000000 --- a/samples/Common/App.Core/Security/EncryptionService.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System; -using System.IO; -using System.Security.Cryptography; -using System.Text; - -namespace App.Core.Security -{ - /// - /// Encryption service - /// - public class EncryptionService : IEncryptionService - { - #region Fields - - private readonly dynamic _securitySettings ; - private readonly string EncryptionKey = "loveC#loveC#loveC#"; - #endregion - - #region Ctor - public EncryptionService() - { - //_securitySettings.EncryptionKey = "loveC#"; - } - - - #endregion - - #region Utilities - - private byte[] EncryptTextToMemory(string data, byte[] key, byte[] iv) - { - using (var ms = new MemoryStream()) { - using (var cs = new CryptoStream(ms, new TripleDESCryptoServiceProvider().CreateEncryptor(key, iv), CryptoStreamMode.Write)) { - var toEncrypt = Encoding.Unicode.GetBytes(data); - cs.Write(toEncrypt, 0, toEncrypt.Length); - cs.FlushFinalBlock(); - } - - return ms.ToArray(); - } - } - - private string DecryptTextFromMemory(byte[] data, byte[] key, byte[] iv) - { - using (var ms = new MemoryStream(data)) { - using (var cs = new CryptoStream(ms, new TripleDESCryptoServiceProvider().CreateDecryptor(key, iv), CryptoStreamMode.Read)) - { - using (var sr = new StreamReader(cs, Encoding.Unicode)) - { - return sr.ReadToEnd(); - } - } - } - } - - #endregion - - #region Methods - - /// - /// Create salt key - /// - /// Key size - /// Salt key - public virtual string CreateSaltKey(int size) - { - //generate a cryptographic random number - using (var provider = new RNGCryptoServiceProvider()) - { - var buff = new byte[size]; - provider.GetBytes(buff); - - // Return a Base64 string representation of the random number - return Convert.ToBase64String(buff); - } - } - - /// - /// Create a password hash - /// - /// Password - /// Salk key - /// Password format (hash algorithm) - /// Password hash - public virtual string CreatePasswordHash(string password, string saltkey, string passwordFormat) - { - return CreateHash(Encoding.UTF8.GetBytes(string.Concat(password, saltkey)), passwordFormat); - } - - /// - /// Create a data hash - /// - /// The data for calculating the hash - /// Hash algorithm - /// Data hash - public virtual string CreateHash(byte[] data, string hashAlgorithm) - { - if (string.IsNullOrEmpty(hashAlgorithm)) - throw new ArgumentNullException(nameof(hashAlgorithm)); - - var algorithm = HashAlgorithm.Create(hashAlgorithm); - if (algorithm == null) - throw new ArgumentException("Unrecognized hash name"); - - var hashByteArray = algorithm.ComputeHash(data); - return BitConverter.ToString(hashByteArray).Replace("-", ""); - } - - /// - /// Encrypt text - /// - /// Text to encrypt - /// Encryption private key - /// Encrypted text - public virtual string EncryptText(string plainText, string encryptionPrivateKey = "") - { - if (string.IsNullOrEmpty(plainText)) - return plainText; - - if (string.IsNullOrEmpty(encryptionPrivateKey)) - encryptionPrivateKey = EncryptionKey;// _securitySettings.EncryptionKey; - - using (var provider = new TripleDESCryptoServiceProvider()) - { - provider.Key = Encoding.ASCII.GetBytes(encryptionPrivateKey.Substring(0, 16)); - provider.IV = Encoding.ASCII.GetBytes(encryptionPrivateKey.Substring(8, 8)); - - var encryptedBinary = EncryptTextToMemory(plainText, provider.Key, provider.IV); - return Convert.ToBase64String(encryptedBinary); - } - } - - /// - /// Decrypt text - /// - /// Text to decrypt - /// Encryption private key - /// Decrypted text - public virtual string DecryptText(string cipherText, string encryptionPrivateKey = "") - { - if (string.IsNullOrEmpty(cipherText)) - return cipherText; - - if (string.IsNullOrEmpty(encryptionPrivateKey)) - encryptionPrivateKey = EncryptionKey;// _securitySettings.EncryptionKey; - - using (var provider = new TripleDESCryptoServiceProvider()) - { - provider.Key = Encoding.ASCII.GetBytes(encryptionPrivateKey.Substring(0, 16)); - provider.IV = Encoding.ASCII.GetBytes(encryptionPrivateKey.Substring(8, 8)); - - var buffer = Convert.FromBase64String(cipherText); - return DecryptTextFromMemory(buffer, provider.Key, provider.IV); - } - } - - #endregion - } -} diff --git a/samples/Common/App.Core/Security/IEncryptionService.cs b/samples/Common/App.Core/Security/IEncryptionService.cs deleted file mode 100644 index 57c6af36c..000000000 --- a/samples/Common/App.Core/Security/IEncryptionService.cs +++ /dev/null @@ -1,48 +0,0 @@ -namespace App.Core.Security -{ - /// - /// Encryption service - /// - public interface IEncryptionService - { - /// - /// Create salt key - /// - /// Key size - /// Salt key - string CreateSaltKey(int size); - - /// - /// Create a password hash - /// - /// Password - /// Salk key - /// Password format (hash algorithm) - /// Password hash - string CreatePasswordHash(string password, string saltkey, string passwordFormat); - - /// - /// Create a data hash - /// - /// The data for calculating the hash - /// Hash algorithm - /// Data hash - string CreateHash(byte [] data, string hashAlgorithm); - - /// - /// Encrypt text - /// - /// Text to encrypt - /// Encryption private key - /// Encrypted text - string EncryptText(string plainText, string encryptionPrivateKey = ""); - - /// - /// Decrypt text - /// - /// Text to decrypt - /// Encryption private key - /// Decrypted text - string DecryptText(string cipherText, string encryptionPrivateKey = ""); - } -} diff --git a/samples/Common/Config.Core/Config.Core.csproj b/samples/Common/Config.Core/Config.Core.csproj deleted file mode 100644 index 89c8baf3a..000000000 --- a/samples/Common/Config.Core/Config.Core.csproj +++ /dev/null @@ -1,17 +0,0 @@ - - - - netcoreapp2.0 - - - - - - - - - C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.configuration.fileextensions\2.0.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.FileExtensions.dll - - - - diff --git a/samples/Common/Config.Core/DBConfigurationExtensions.cs b/samples/Common/Config.Core/DBConfigurationExtensions.cs deleted file mode 100644 index 15a651324..000000000 --- a/samples/Common/Config.Core/DBConfigurationExtensions.cs +++ /dev/null @@ -1,101 +0,0 @@ -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.FileProviders; -using Surging.Core.CPlatform.Configurations.Remote; -using Surging.Core.CPlatform.Utilities; -using System; -using System.Collections.Generic; -using System.IO; -using System.Text; - -namespace Config.Core.Extensions -{ - public static class DBConfigurationExtensions - { - public static IConfigurationBuilder AddDBFile(this IConfigurationBuilder builder, string path) - { - return AddDBFile(builder, provider: null, path: path, optional: false, reloadOnChange: false); - } - - public static IConfigurationBuilder AddDBFile(this IConfigurationBuilder builder, string path, bool optional) - { - return AddDBFile(builder, provider: null, path: path, optional: optional, reloadOnChange: false); - } - - public static IConfigurationBuilder AddDBFile(this IConfigurationBuilder builder, string path, bool optional, bool reloadOnChange) - { - return AddDBFile(builder, provider: null, path: path, optional: optional, reloadOnChange: reloadOnChange); - } - - public static IConfigurationBuilder AddDBFile(this IConfigurationBuilder builder, IFileProvider provider, string path, bool optional, bool reloadOnChange) - { - Check.NotNull(builder, "builder"); - Check.CheckCondition(() => string.IsNullOrEmpty(path), "path"); - if (provider == null && Path.IsPathRooted(path)) - { - provider = new PhysicalFileProvider(Path.GetDirectoryName(path)); - path = Path.GetFileName(path); - } - var source = new DBConfigurationSource - { - FileProvider = provider, - Path = path, - Optional = optional, - ReloadOnChange = reloadOnChange - }; - builder.Add(source); - DBConfig.Configuration = builder.Build(); - return builder; - } - } - public class DBConfig - { - - public static IConfiguration Configuration { get; set; } - /* static ConfigHelper() - { - configuration = AutofacContainer.Resolve(); - } - - public static IConfigurationSection GetSection(string key) - { - return configuration.GetSection(key); - } - - public static string GetConfigurationValue(string key) - { - return configuration[key]; - } - - public static string GetConfigurationValue(string section, string key) - { - return GetSection(section)?[key]; - } - - public static string GetConnectionString(string key) - { - return configuration.GetConnectionString(key); - } - */ - } - - public class DBConfigurationSource : FileConfigurationSource - { - public string ConfigurationKeyPrefix { get; set; } - - public override IConfigurationProvider Build(IConfigurationBuilder builder) - { - FileProvider = FileProvider ?? builder.GetFileProvider(); - return new DBConfigurationProvider(this); - } - } - public class DBConfigurationProvider : FileConfigurationProvider - { - public DBConfigurationProvider(DBConfigurationSource source) : base(source) { } - - public override void Load(Stream stream) - { - var parser = new JsonConfigurationParser(); - this.Data = parser.Parse(stream, null); - } - } -} diff --git a/samples/Common/DDD.Core/BaseEntity.cs b/samples/Common/DDD.Core/BaseEntity.cs deleted file mode 100644 index 9093f51b4..000000000 --- a/samples/Common/DDD.Core/BaseEntity.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.Text; - -namespace DDD.Core -{ - public abstract class BaseEntity : IDBModel - { - [Key] - public Guid KeyId { get; set; } - public virtual Guid CorporationKeyId { get; set; } - public virtual DateTime CreateTime { get; set; } - public virtual Guid CreateUserKeyId { get; set; } - public virtual DateTime UpdateTime { get; set; } - public virtual Guid UpdateUserKeyId { get; set; } - public virtual bool IsDelete { get; set; } - public virtual int Version { get; set; } - - //2-12增加名字、编号 - public string Name { get; set; } - - public string No { get; set; } - - public virtual void SetEditer(Guid? editer) - { - if(this.KeyId==Guid.Empty) - { - this.CreateTime = DateTime.Now; - this.CreateUserKeyId = Guid.Empty; - this.UpdateUserKeyId = Guid.Empty; - this.UpdateTime = DateTime.Now; - } - else - { - if (editer.HasValue) - { - this.UpdateUserKeyId = editer.Value; - this.UpdateTime = DateTime.Now; - } - } - } - } -} diff --git a/samples/Common/DDD.Core/BaseValueObject.cs b/samples/Common/DDD.Core/BaseValueObject.cs deleted file mode 100644 index 91399b62b..000000000 --- a/samples/Common/DDD.Core/BaseValueObject.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.Text; - -namespace DDD.Core -{ - public abstract class BaseValueObject : IDBModel - { - [Key] - public Guid KeyId { get; set; } - public virtual Guid CorporationKeyId { get; set; } - public virtual DateTime CreateTime { get; set; } - public virtual Guid CreateUserKeyId { get; set; } - public virtual DateTime UpdateTime { get; set; } - public virtual Guid UpdateUserKeyId { get; set; } - public virtual bool IsDelete { get; set; } - public virtual int Version { get; set; } - - public string Name { get; set; } - - public string No { get; set; } - } -} diff --git a/samples/Common/DDD.Core/DDD.Core.Extensions/GenericExtension.cs b/samples/Common/DDD.Core/DDD.Core.Extensions/GenericExtension.cs deleted file mode 100644 index 35919f27c..000000000 --- a/samples/Common/DDD.Core/DDD.Core.Extensions/GenericExtension.cs +++ /dev/null @@ -1,140 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Reflection; - -namespace DDD.Core.Extensions -{ - /// - /// 泛型扩展 - /// - public static class GenericExtension - { - public static bool Equal(this T x, T y) - { - return ((IComparable)(x)).CompareTo(y) == 0; - } - - #region ToDictionary - - public static Dictionary ToDictionary(this T t, Dictionary dic = null) where T : class - { - if (dic == null) - dic = new Dictionary(); - var properties = t.GetType().GetProperties(); - foreach (var property in properties) - { - var value = property.GetValue(t, null); - dic.Add(property.Name, value?.ToString() ?? ""); - } - return dic; - } - - public static Dictionary ToDictionary(this TInterface t, Dictionary dic = null) where T : class, TInterface - { - if (dic == null) - dic = new Dictionary(); - var properties = typeof(T).GetProperties(); - foreach (var property in properties) - { - var value = property.GetValue(t, null); - if (value == null) continue; - dic.Add(property.Name, value?.ToString() ?? ""); - } - return dic; - } - - #endregion - - /// - /// 将字符串转换为指定的类型,如果转换不成功,返回默认值。 - /// - /// 结构体类型或枚举类型 - /// 需要转换的字符串 - /// 返回指定的类型。 - public static T ParseTo(this string str) where T : struct - { - return str.ParseTo(default(T)); - } - - /// - /// 将字符串转换为指定的类型,如果转换不成功,返回默认值。 - /// - /// 结构体类型或枚举类型 - /// 需要转换的字符串 - /// 如果转换失败,需要使用的默认值 - /// 返回指定的类型。 - public static T ParseTo(this string str, T defaultValue) where T : struct - { - var t = str.ParseToNullable(); - if (t.HasValue) - { - return t.Value; - } - return defaultValue; - } - - /// - /// 将字符串转换为指定的类型,如果转换不成功,返回null - /// - /// 结构体类型或枚举类型 - /// 需要转换的字符串 - /// 返回指定的类型 - public static T? ParseToNullable(this string str) where T : struct - { - if (string.IsNullOrEmpty(str)) - { - return null; - } - var typeFromHandle = typeof(T); - if (typeFromHandle.IsEnum) - { - return str.ToEnum(); - } - return (T?)str.ParseTo(typeFromHandle.FullName); - } - - public static DataTable ToDataTable(this IEnumerable source) - { - DataTable dtReturn = new DataTable(); - - // column names - PropertyInfo[] oProps = null; - - if (source == null) return dtReturn; - - foreach (var rec in source) - { - // Use reflection to get property names, to create table, Only first time, others will follow - if (oProps == null) - { - oProps = rec.GetType().GetProperties(); - foreach (var pi in oProps) - { - var colType = pi.PropertyType; - - if ((colType.IsGenericType) && (colType.GetGenericTypeDefinition() == typeof(Nullable<>))) - { - colType = colType.GetGenericArguments()[0]; - } - - dtReturn.Columns.Add(new DataColumn(pi.Name, colType)); - } - } - - var dr = dtReturn.NewRow(); - - foreach (var pi in oProps) - { - dr[pi.Name] = pi.GetValue(rec, null) == null - ? DBNull.Value - : pi.GetValue - (rec, null); - } - - dtReturn.Rows.Add(dr); - } - return dtReturn; - } - } -} diff --git a/samples/Common/DDD.Core/DDD.Core.Extensions/ObjectExtension.cs b/samples/Common/DDD.Core/DDD.Core.Extensions/ObjectExtension.cs deleted file mode 100644 index 306776e06..000000000 --- a/samples/Common/DDD.Core/DDD.Core.Extensions/ObjectExtension.cs +++ /dev/null @@ -1,1181 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Data; -using System.IO; -using System.Linq; -using System.Linq.Expressions; -using System.Runtime.Serialization.Formatters.Binary; -using System.Text; -using System.Text.RegularExpressions; -using System.Web; -using System.Xml; -using System.Xml.Linq; - -namespace DDD.Core.Extensions -{ - public static class ObjectExtension - { - /// - /// 将集合转换为数据集。 - /// - /// 转换的元素类型。 - /// 集合。 - /// 是否生成泛型数据集。 - /// 数据集。 - public static DataSet ToDataSet(this IEnumerable list, bool generic = true) - { - return ListToDataSet(list, generic); - } - - /// - /// 将集合转换为数据集。 - /// - /// 集合。 - /// 是否生成泛型数据集。 - /// 数据集。 - public static DataSet ToDataSet(this IEnumerable list, bool generic = true) - { - return ListToDataSet(list, generic); - } - - /// - /// 将集合转换为数据集。 - /// - /// 转换的元素类型。 - /// 集合。 - /// 是否生成泛型数据集。 - /// 数据集。 - public static DataSet ToDataSet(this IEnumerable list, bool generic = true) - { - return ListToDataSet(list, typeof(T), generic); - } - - /// - /// 将实例转换为集合数据集。 - /// - /// 实例类型。 - /// 实例。 - /// 是否生成泛型数据集。 - /// 数据集。 - public static DataSet ToListSet(this T o, bool generic = true) - { - if (o is IEnumerable) - { - return ListToDataSet(o as IEnumerable, generic); - } - else - { - return ListToDataSet(new T[] { o }, generic); - } - } - - /// - /// 将可序列化实例转换为XmlDocument。 - /// - /// 实例类型。 - /// 实例。 - /// XmlDocument。 - public static XmlDocument ToXmlDocument(this T o) - { - XmlDocument xmlDocument = new XmlDocument(); - xmlDocument.InnerXml = o.ToListSet().GetXml(); - return xmlDocument; - } - - /// - /// 将集合转换为数据集。 - /// - /// 集合。 - /// 转换的元素类型。 - /// 是否生成泛型数据集。 - /// 转换后的数据集。 - private static DataSet ListToDataSet(IEnumerable list, Type t, bool generic) - { - DataSet ds = new DataSet("Data"); - if (t == null) - { - if (list != null) - { - foreach (var i in list) - { - if (i == null) - { - continue; - } - t = i.GetType(); - break; - } - } - if (t == null) - { - return ds; - } - } - ds.Tables.Add(t.Name); - //如果集合中元素为DataSet扩展涉及到的基本类型时,进行特殊转换。 - if (t.IsValueType || t == typeof(string)) - { - ds.Tables[0].TableName = "Info"; - ds.Tables[0].Columns.Add(t.Name); - if (list != null) - { - foreach (var i in list) - { - DataRow addRow = ds.Tables[0].NewRow(); - addRow[t.Name] = i; - ds.Tables[0].Rows.Add(addRow); - } - } - return ds; - } - //处理模型的字段和属性。 - var fields = t.GetFields(); - var properties = t.GetProperties(); - foreach (var j in fields) - { - if (!ds.Tables[0].Columns.Contains(j.Name)) - { - if (generic) - { - ds.Tables[0].Columns.Add(j.Name, j.FieldType); - } - else - { - ds.Tables[0].Columns.Add(j.Name); - } - } - } - foreach (var j in properties) - { - if (!ds.Tables[0].Columns.Contains(j.Name)) - { - if (generic) - { - ds.Tables[0].Columns.Add(j.Name, j.PropertyType); - } - else - { - ds.Tables[0].Columns.Add(j.Name); - } - } - } - if (list == null) - { - return ds; - } - //读取list中元素的值。 - foreach (var i in list) - { - if (i == null) - { - continue; - } - DataRow addRow = ds.Tables[0].NewRow(); - foreach (var j in fields) - { - MemberExpression field = Expression.Field(Expression.Constant(i), j.Name); - LambdaExpression lambda = Expression.Lambda(field, new ParameterExpression[] { }); - Delegate func = lambda.Compile(); - object value = func.DynamicInvoke(); - addRow[j.Name] = value; - } - foreach (var j in properties) - { - MemberExpression property = Expression.Property(Expression.Constant(i), j); - LambdaExpression lambda = Expression.Lambda(property, new ParameterExpression[] { }); - Delegate func = lambda.Compile(); - object value = func.DynamicInvoke(); - addRow[j.Name] = value; - } - ds.Tables[0].Rows.Add(addRow); - } - return ds; - } - - /// - /// 将集合转换为数据集。 - /// - /// 转换的元素类型。 - /// 集合。 - /// 是否生成泛型数据集。 - /// 数据集。 - private static DataSet ListToDataSet(IEnumerable list, bool generic) - { - return ListToDataSet(list, typeof(T), generic); - } - - /// - /// 将集合转换为数据集。 - /// - /// 集合。 - /// 是否转换为字符串形式。 - /// 转换后的数据集。 - private static DataSet ListToDataSet(IEnumerable list, bool generic) - { - return ListToDataSet(list, null, generic); - } - - /// - /// 获取DataSet第一表,第一行,第一列的值。 - /// - /// DataSet数据集。 - /// 值。 - public static object GetData(this DataSet ds) - { - if ( - ds == null - || ds.Tables.Count == 0 - ) - { - return string.Empty; - } - else - { - return ds.Tables[0].GetData(); - } - } - - /// - /// 获取DataTable第一行,第一列的值。 - /// - /// DataTable数据集表。 - /// 值。 - public static object GetData(this DataTable dt) - { - if ( - dt.Columns.Count == 0 - || dt.Rows.Count == 0 - ) - { - return string.Empty; - } - else - { - return dt.Rows[0][0]; - } - } - - /// - /// 获取DataSet第一个匹配columnName的值。 - /// - /// 数据集。 - /// 列名。 - /// 值。 - public static object GetData(this DataSet ds, string columnName) - { - if ( - ds == null - || ds.Tables.Count == 0 - ) - { - return string.Empty; - } - foreach (DataTable dt in ds.Tables) - { - object o = dt.GetData(columnName); - if (!string.IsNullOrEmpty(o.ToString())) - { - return o; - } - } - return string.Empty; - } - - /// - /// 获取DataTable第一个匹配columnName的值。 - /// - /// 数据表。 - /// 列名。 - /// 值。 - public static object GetData(this DataTable dt, string columnName) - { - if (string.IsNullOrEmpty(columnName)) - { - return GetData(dt); - } - if ( - dt.Columns.Count == 0 - || dt.Columns.IndexOf(columnName) == -1 - || dt.Rows.Count == 0 - ) - { - return string.Empty; - } - return dt.Rows[0][columnName]; - } - - /// - /// 将object转换为string类型信息。 - /// - /// object。 - /// 默认值。 - /// string。 - public static string ToString(this object o, string t) - { - string info = string.Empty; - if (o == null) - { - info = t; - } - else - { - info = o.ToString(); - } - return info; - } - - /// - /// 将DateTime?转换为string类型信息。 - /// - /// DateTime?。 - /// 标准或自定义日期和时间格式的字符串。 - /// 默认值。 - /// string。 - public static string ToString(this DateTime? o, string format, string t) - { - string info = string.Empty; - if (o == null) - { - info = t; - } - else - { - info = o.Value.ToString(format); - } - return info; - } - - /// - /// 将TimeSpan?转换为string类型信息。 - /// - /// TimeSpan?。 - /// 标准或自定义时间格式的字符串。 - /// 默认值。 - /// string。 - public static string ToString(this TimeSpan? o, string format, string t) - { - string info = string.Empty; - if (o == null) - { - info = t; - } - else - { - info = o.Value.ToString(format); - } - return info; - } - - /// - /// 将object转换为截取后的string类型信息。 - /// - /// object。 - /// 此实例中子字符串的起始字符位置(从零开始)。 - /// 子字符串中的字符数。 - /// 后缀。如果没有截取则不添加。 - /// 截取后的string类型信息。 - public static string ToSubString(this object o, int startIndex, int length, string suffix = null) - { - string inputString = o.ToString(string.Empty); - startIndex = Math.Max(startIndex, 0); - startIndex = Math.Min(startIndex, (inputString.Length - 1)); - length = Math.Max(length, 1); - if (startIndex + length > inputString.Length) - { - length = inputString.Length - startIndex; - } - if (inputString.Length == startIndex + length) - { - return inputString; - } - else - { - return inputString.Substring(startIndex, length) + suffix; - } - } - - /// - /// 将object转换为byte类型信息。 - /// - /// object。 - /// 默认值。 - /// byte。 - public static byte ToByte(this object o, byte t = default(byte)) - { - byte info; - if (!byte.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - public static byte[] ToBytes(this object obj) - { - if (obj == null) - return null; - var bf = new BinaryFormatter(); - using (var ms = new MemoryStream()) - { - bf.Serialize(ms, obj); - return ms.ToArray(); - } - } - - public static object ToObject(this byte[] source) - { - using (var memStream = new MemoryStream()) - { - var bf = new BinaryFormatter(); - memStream.Write(source, 0, source.Length); - memStream.Seek(0, SeekOrigin.Begin); - var obj = bf.Deserialize(memStream); - return obj; - } - } - - /// - /// 将object转换为char类型信息。 - /// - /// object。 - /// 默认值。 - /// char。 - public static char ToChar(this object o, char t = default(char)) - { - char info; - if (!char.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为int类型信息。 - /// - /// object。 - /// 默认值。 - /// int。 - public static int ToInt(this object o, int t = default(int)) - { - int info; - if (!int.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为double类型信息。 - /// - /// object。 - /// 默认值。 - /// double。 - public static double ToDouble(this object o, double t = default(double)) - { - double info; - if (!double.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为decimal类型信息。 - /// - /// object。 - /// 默认值。 - /// decimal。 - public static decimal ToDecimal(this object o, decimal t = default(decimal)) - { - decimal info; - if (!decimal.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为float类型信息。 - /// - /// object。 - /// 默认值。 - /// float。 - public static float ToFloat(this object o, float t = default(float)) - { - float info; - if (!float.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为long类型信息。 - /// - /// object。 - /// 默认值。 - /// long。 - public static long ToLong(this object o, long t = default(long)) - { - long info; - if (!long.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为bool类型信息。 - /// - /// object。 - /// 默认值。 - /// bool。 - public static bool ToBool(this object o, bool t = default(bool)) - { - bool info; - if (!bool.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为sbyte类型信息。 - /// - /// object。 - /// 默认值。 - /// sbyte。 - public static sbyte ToSbyte(this object o, sbyte t = default(sbyte)) - { - sbyte info; - if (!sbyte.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为short类型信息。 - /// - /// object。 - /// 默认值。 - /// short。 - public static short ToShort(this object o, short t = default(short)) - { - short info; - if (!short.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为ushort类型信息。 - /// - /// object。 - /// 默认值。 - /// ushort。 - public static ushort ToUShort(this object o, ushort t = default(ushort)) - { - ushort info; - if (!ushort.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为ulong类型信息。 - /// - /// object。 - /// 默认值。 - /// ulong。 - public static ulong ToULong(this object o, ulong t = default(ulong)) - { - ulong info; - if (!ulong.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为Enum[T]类型信息。 - /// - /// object。 - /// 默认值。 - /// Enum[T]。 - public static T ToEnum(this object o, T t = default(T)) - where T : struct - { - T info; - if (!Enum.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为DateTime类型信息。 - /// - /// object。 - /// 默认值。 - /// DateTime。 - public static DateTime ToDateTime(this object o, DateTime t = default(DateTime)) - { - if (t == default(DateTime)) - { - t = new DateTime(1753, 1, 1); - } - DateTime info; - if (!DateTime.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为TimeSpan类型信息。 - /// - /// object。 - /// 默认值。 - /// TimeSpan。 - public static TimeSpan ToTimeSpan(this object o, TimeSpan t = default(TimeSpan)) - { - if (t == default(TimeSpan)) - { - t = new TimeSpan(0, 0, 0); - } - TimeSpan info; - if (!TimeSpan.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - /// - /// 将object转换为Guid类型信息。 - /// - /// object。 - /// 默认值。 - /// Guid。 - public static Guid ToGuid(this object o, Guid t = default(Guid)) - { - Guid info; - if (!Guid.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - return info; - } - - private static Regex BoolRegex = new Regex("(?(true|false))", RegexOptions.IgnoreCase | RegexOptions.Singleline); - - /// - /// 从object中获取bool类型信息。 - /// - /// object。 - /// bool。 - public static bool? GetBool(this object o) - { - bool info; - if (!bool.TryParse(BoolRegex.Match(o.ToString(string.Empty)).Groups["info"].Value, out info)) - { - return null; - } - return info; - } - - private static Regex IntRegex = new Regex("(?-?\\d+)", RegexOptions.IgnoreCase | RegexOptions.Singleline); - - /// - /// 从object中获取int类型信息。 - /// - /// object。 - /// int。 - public static int? GetInt(this object o) - { - int info; - if (!int.TryParse(IntRegex.Match(o.ToString(string.Empty)).Groups["info"].Value, out info)) - { - return null; - } - return info; - } - - private static Regex DecimalRegex = new Regex("(?-?\\d+(\\.\\d+)?)", RegexOptions.IgnoreCase | RegexOptions.Singleline); - - /// - /// 从object中获取decimal类型信息。 - /// - /// object。 - /// decimal。 - public static decimal? GetDecimal(this object o) - { - decimal info; - if (!decimal.TryParse(DecimalRegex.Match(o.ToString(string.Empty)).Groups["info"].Value, out info)) - { - return null; - } - return info; - } - - /// - /// 从object中获取double类型信息。 - /// - /// object。 - /// double。 - public static double? GetDouble(this object o) - { - double info; - if (!double.TryParse(DecimalRegex.Match(o.ToString(string.Empty)).Groups["info"].Value, out info)) - { - return null; - } - return info; - } - - /// - /// 从object中获取正数信息。 - /// - /// object。 - /// decimal。 - public static decimal? GetPositiveNumber(this object o) - { - decimal info; - if (!decimal.TryParse(DecimalRegex.Match(o.ToString(string.Empty)).Groups["info"].Value, out info)) - { - return null; - } - return Math.Abs(info); - } - - private static Regex DateTimeRegex = new Regex("(?(((\\d+)[/年-](0?[13578]|1[02])[/月-](3[01]|[12]\\d|0?\\d)[日]?)|((\\d+)[/年-](0?[469]|11)[/月-](30|[12]\\d|0?\\d)[日]?)|((\\d+)[/年-]0?2[/月-](2[0-8]|1\\d|0?\\d)[日]?))(\\s((2[0-3]|[0-1]\\d)):[0-5]\\d:[0-5]\\d)?)", RegexOptions.IgnoreCase | RegexOptions.Singleline); - - /// - /// 从object中获取DateTime?类型信息。 - /// - /// object。 - /// DateTime?。 - public static DateTime? GetDateTime(this object o) - { - DateTime info; - if (!DateTime.TryParse(DateTimeRegex.Match(o.ToString(string.Empty)).Groups["info"].Value.Replace("年", "-").Replace("月", "-").Replace("/", "-").Replace("日", ""), out info)) - { - return null; - } - return info; - } - - private static Regex TimeSpanRegex = new Regex("(?-?(\\d+\\.(([0-1]\\d)|(2[0-3])):[0-5]\\d:[0-5]\\d)|((([0-1]\\d)|(2[0-3])):[0-5]\\d:[0-5]\\d)|(\\d+))", RegexOptions.IgnoreCase | RegexOptions.Singleline); - - /// - /// 从object中获取TimeSpan?类型信息。 - /// - /// object。 - /// TimeSpan?。 - public static TimeSpan? GetTimeSpan(this object o) - { - TimeSpan info; - if (!TimeSpan.TryParse(TimeSpanRegex.Match(o.ToString(string.Empty)).Groups["info"].Value, out info)) - { - return null; - } - return info; - } - - private static Regex GuidRegex = new Regex("(?\\{{0,1}([0-9a-fA-F]){8}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){4}-([0-9a-fA-F]){12}\\}{0,1})", RegexOptions.IgnoreCase | RegexOptions.Singleline); - - /// - /// 从object中获取Guid?类型信息。 - /// - /// object。 - /// Guid?。 - public static Guid? GetGuid(this object o) - { - Guid info; - if (!Guid.TryParse(GuidRegex.Match(o.ToString(string.Empty)).Groups["info"].Value, out info)) - { - return null; - } - return info; - } - - /// - /// 将object转换为SqlServer中的DateTime?类型信息。 - /// - /// object。 - /// 默认值。 - /// DateTime?。 - public static DateTime? GetSqlDateTime(this object o, DateTime t = default(DateTime)) - { - DateTime info; - if (!DateTime.TryParse(o.ToString(string.Empty), out info)) - { - info = t; - } - if (info < new DateTime(1753, 1, 1) || info > new DateTime(9999, 12, 31)) - { - return null; - } - return info; - } - - /// - /// 读取XElement节点的文本内容。 - /// - /// XElement节点。 - /// 默认值。 - /// 文本内容。 - public static string Value(this XElement xElement, string t = default(string)) - { - if (xElement == null) - { - return t; - } - else - { - return xElement.Value; - } - } - - /// - /// 获取与指定键相关的值。 - /// - /// 键类型。 - /// 值类型。 - /// 表示键/值对象的泛型集合。 - /// 键。 - /// 默认值。 - /// 值。 - public static TValue GetValue(this IDictionary dictionary, TKey key, TValue t = default(TValue)) - { - TValue value = default(TValue); - if (dictionary == null || key == null) - { - return t; - } - if (!dictionary.TryGetValue(key, out value)) - { - value = t; - } - return value; - } - - /// - /// 获取与指定键相关或者第一个的值。 - /// - /// 键类型。 - /// 值类型。 - /// 表示键/值对象的泛型集合。 - /// 键。 - /// 默认值。 - /// 值。 - public static TValue GetFirstOrDefaultValue(this IDictionary dictionary, TKey key, TValue t = default(TValue)) - { - TValue value = default(TValue); - if (dictionary == null || key == null) - { - return t; - } - if (!dictionary.TryGetValue(key, out value)) - { - if (dictionary.Count() == 0) - { - value = t; - } - else - { - value = dictionary.FirstOrDefault().Value; - } - } - return value; - } - - /// - /// 获取具有指定 System.Xml.Linq.XName 的第一个(按文档顺序)子元素。 - /// - /// XContainer。 - /// 要匹配的 System.Xml.Linq.XName。 - /// 是否返回同名默认值。 - /// 与指定 System.Xml.Linq.XName 匹配的 System.Xml.Linq.XElement,或者为 null。 - public static XElement Element(this XContainer xContainer, XName xName, bool t) - { - XElement info; - if (xContainer == null) - { - info = null; - } - else - { - info = xContainer.Element(xName); - } - if (t && info == null) - { - info = new XElement(xName); - } - return info; - } - - /// - /// 按文档顺序返回此元素或文档的子元素集合。 - /// - /// XContainer。 - /// 是否返回非空默认值。 - /// System.Xml.Linq.XElement 的按文档顺序包含此System.Xml.Linq.XContainer 的子元素,或者非空默认值。 - public static IEnumerable Elements(this XContainer xContainer, bool t) - { - IEnumerable info; - if (xContainer == null) - { - info = null; - } - else - { - info = xContainer.Elements(); - } - if (t && info == null) - { - info = new List(); - } - return info; - } - - /// - /// 按文档顺序返回此元素或文档的经过筛选的子元素集合。集合中只包括具有匹配 System.Xml.Linq.XName 的元素。 - /// - /// XContainer。 - /// 要匹配的 System.Xml.Linq.XName。 - /// 是否返回非空默认值。 - /// System.Xml.Linq.XElement 的按文档顺序包含具有匹配System.Xml.Linq.XName 的 System.Xml.Linq.XContainer 的子级,或者非空默认值。 - public static IEnumerable Elements(this XContainer xContainer, XName xName, bool t) - { - IEnumerable info; - if (xContainer == null) - { - info = null; - } - else - { - info = xContainer.Elements(xName); - } - if (t && info == null) - { - info = new List(); - } - return info; - } - - /// - /// 删除html标签。 - /// - /// 输入的字符串。 - /// 没有html标签的字符串。 - public static string RemoveHTMLTags(this string html) - { - return Regex.Replace(Regex.Replace(Regex.Replace((html ?? string.Empty).Replace(" ", " ").Replace("\r\n", " ").Replace("\n", " ").Replace("\r", " ").Replace("\t", " "), "<\\/?[^>]+>", "\r\n"), "(\r\n)+", "\r\n"), "(\\s)+", " ").Trim(); - } - - /// - /// 字符串转换为文件名。 - /// - /// 字符串。 - /// 文件名。 - public static string ToFileName(this string s) - { - return Regex.Replace(s.ToString(string.Empty), @"[\\/:*?<>|]", "_").Replace("\t", " ").Replace("\r\n", " ").Replace("\"", " "); - } - - /// - /// 获取星期一的日期。 - /// - /// 日期。 - /// 星期一的日期。 - public static DateTime? GetMonday(this DateTime dateTime) - { - return dateTime.AddDays(-1 * (int)dateTime.AddDays(-1).DayOfWeek).ToString("yyyy-MM-dd").GetDateTime(); - } - - /// - /// 获取默认非空字符串。 - /// - /// 首选默认非空字符串。 - /// 依次非空字符串可选项。 - /// 默认非空字符串。若无可选项则返回string.Empty。 - public static string DefaultStringIfEmpty(this string s, params string[] args) - { - if (string.IsNullOrEmpty(s)) - { - foreach (string i in args) - { - if (!string.IsNullOrEmpty(i) && !string.IsNullOrEmpty(i.Trim())) - { - return i; - } - } - } - return (s ?? string.Empty); - } - - /// - /// 对 URL 字符串进行编码。 - /// - /// 要编码的文本。 - /// 匹配要编码的文本。 - /// 指定编码方案的 System.Text.Encoding 对象。 - /// 一个已编码的字符串。 - public static string ToUrlEncodeString(this string s, Regex regex = default(Regex), Encoding encoding = null) - { - if (encoding == null) - { - encoding = Encoding.UTF8; - } - if (regex == null) - { - return HttpUtility.UrlEncode(s, encoding); - } - List l = new List(); - foreach (char i in s) - { - string t = i.ToString(); - l.Add(regex.IsMatch(t) ? HttpUtility.UrlEncode(t, encoding) : t); - } - return string.Join(string.Empty, l); - } - - /// - /// 对 URL 字符串进行编码。 - /// - /// 要编码的文本。 - /// 匹配要编码的文本。 - /// 指定编码方案的 System.Text.Encoding 对象。 - /// 一个已编码的字符串。 - public static string ToUrlEncodeString(this string s, string regex, Encoding encoding = null) - { - return ToUrlEncodeString(s, new Regex(regex), encoding); - } - - /// - /// 将日期转换为UNIX时间戳字符串 - /// - /// - /// - public static string ToUnixTimeStamp(this DateTime date) - { - DateTime startTime = TimeZoneInfo.ConvertTimeToUtc(new DateTime(1970, 1, 1)); - string timeStamp = date.Subtract(startTime).Ticks.ToString(); - return timeStamp.Substring(0, timeStamp.Length - 7); - } - - private static Regex MobileRegex = new Regex("^1[3|4|5|7|8][0-9]\\d{4,8}$"); - private static Regex EmailRegex = new Regex("^([a-zA-Z0-9_-])+@([a-zA-Z0-9_-])+((\\.[a-zA-Z0-9_-]{2,3}){1,2})$"); - - /// - /// 判断当前字符串是否是移动电话号码 - /// - /// - /// - public static bool IsMobile(this string mobile) - { - return MobileRegex.IsMatch(mobile); - } - - /// - /// 判断当前字符串是否为邮箱 - /// - /// - /// - public static bool IsEmail(this string email) - { - return EmailRegex.IsMatch(email); - } - } - - /// - /// 结果。 - /// - /// 结果返回值类型。 - public class Result - { - /// - /// 标记。 - /// - public Flag Flag { get; set; } - - /// - /// 返回值。 - /// - public T Return { get; set; } - - /// - /// 消息。 - /// - public string Message { get; set; } - - /// - /// 异常。 - /// - public Exception Exception { get; set; } - - /// - /// 时间。 - /// - public DateTime DateTime { get; set; } - - /// - /// 整型数据。 - /// - public int Int { get; set; } - - /// - /// 浮点数据。 - /// - public decimal Decimal { get; set; } - - /// - /// 布尔数据。 - /// - public bool Bool { get; set; } - - /// - /// 对象。 - /// - public object Object { get; set; } - } - - /// - /// 标记。 - /// - public enum Flag - { - /// - /// 默认。 - /// - Default, - - /// - /// 真。 - /// - True, - - /// - /// 假。 - /// - False - } -} \ No newline at end of file diff --git a/samples/Common/DDD.Core/DDD.Core.Extensions/StringExtensions.cs b/samples/Common/DDD.Core/DDD.Core.Extensions/StringExtensions.cs deleted file mode 100644 index b1c191880..000000000 --- a/samples/Common/DDD.Core/DDD.Core.Extensions/StringExtensions.cs +++ /dev/null @@ -1,247 +0,0 @@ -using System; -using System.Text.RegularExpressions; - -namespace DDD.Core.Extensions -{ - public static class StringExtensions - { - public static object ParseTo(this string str, string type) - { - switch (type) - { - case "System.Boolean": - return ToBoolean(str); - case "System.SByte": - return ToSByte(str); - case "System.Byte": - return ToByte(str); - case "System.UInt16": - return ToUInt16(str); - case "System.Int16": - return ToInt16(str); - case "System.uInt32": - return ToUInt32(str); - case "System.Int32": - return str.ToInt32(); - case "System.UInt64": - return ToUInt64(str); - case "System.Int64": - return ToInt64(str); - case "System.Single": - return ToSingle(str); - case "System.Double": - return ToDouble(str); - case "System.Decimal": - return ToDecimal(str); - case "System.DateTime": - return ToDateTime(str); - case "System.Guid": - return ToGuid(str); - } - throw new NotSupportedException(string.Format("The string of \"{0}\" can not be parsed to {1}", str, type)); - } - - public static sbyte? ToSByte(this string value) - { - sbyte value2; - if (sbyte.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static byte? ToByte(this string value) - { - byte value2; - if (byte.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static ushort? ToUInt16(this string value) - { - ushort value2; - if (ushort.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static short? ToInt16(this string value) - { - short value2; - if (short.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static uint? ToUInt32(this string value) - { - uint value2; - if (uint.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static ulong? ToUInt64(this string value) - { - ulong value2; - if (ulong.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static long? ToInt64(this string value) - { - long value2; - if (long.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static float? ToSingle(this string value) - { - float value2; - if (float.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static double? ToDouble(this string value) - { - double value2; - if (double.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static decimal? ToDecimal(this string value) - { - decimal value2; - if (decimal.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static bool? ToBoolean(this string value) - { - bool value2; - if (bool.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static T? ToEnum(this string str) where T : struct - { - T t; - if (Enum.TryParse(str, true, out t) && Enum.IsDefined(typeof(T), t)) - { - return t; - } - return null; - } - - public static Guid? ToGuid(this string str) - { - Guid value; - if (Guid.TryParse(str, out value)) - { - return value; - } - return null; - } - - public static DateTime? ToDateTime(this string value) - { - DateTime value2; - if (DateTime.TryParse(value, out value2)) - { - return value2; - } - return null; - } - - public static int? ToInt32(this string input) - { - if (string.IsNullOrEmpty(input)) - { - return null; - } - int value; - if (int.TryParse(input, out value)) - { - return value; - } - return null; - } - - /// - /// 替换空格字符 - /// - /// - /// 替换为该字符 - /// 替换后的字符串 - public static string ReplaceWhitespace(this string input, string replacement = "") - { - return string.IsNullOrEmpty(input) ? null : Regex.Replace(input, "\\s", replacement, RegexOptions.Compiled); - } - - /// - /// 返回一个值,该值指示指定的 String 对象是否出现在此字符串中。 - /// - /// - /// 要搜寻的字符串。 - /// 指定搜索规则的枚举值之一。 - /// 如果 value 参数出现在此字符串中则为 true;否则为 false。 - public static bool Contains(this string source, string value, - StringComparison comparisonType = StringComparison.OrdinalIgnoreCase) - { - return source.IndexOf(value, comparisonType) >= 0; - } - - /// - /// 清除 Html 代码,并返回指定长度的文本。(连续空行或空格会被替换为一个) - /// - /// - /// 返回的文本长度(为0返回所有文本) - /// - public static string StripHtml(this string text, int maxLength = 0) - { - if (string.IsNullOrEmpty(text)) return string.Empty; - text = text.Trim(); - - text = Regex.Replace(text, "[\\r\\n]{2,}", "<&rn>"); //替换回车和换行为<&rn>,防止下一行代码替换空格的时候被替换掉 - text = Regex.Replace(text, "[\\s]{2,}", " "); //替换 2 个以上的空格为 1 个 - text = Regex.Replace(text, "(<&rn>)+", "\n"); //还原 <&rn> 为 \n - text = Regex.Replace(text, "(\\s*&[n|N][b|B][s|S][p|P];\\s*)+", " "); //  - - text = Regex.Replace(text, "(<[b|B][r|R]/*>)+|(<[p|P](.|\\n)*?>)", "\n"); //
- text = Regex.Replace(text, "<(.|\n)+?>", " ", RegexOptions.IgnoreCase); //any other tags - - if (maxLength > 0 && text.Length > maxLength) - text = text.Substring(0, maxLength); - - return text; - } - } -} diff --git a/samples/Common/DDD.Core/DDD.Core.csproj b/samples/Common/DDD.Core/DDD.Core.csproj deleted file mode 100644 index 3cfd4024c..000000000 --- a/samples/Common/DDD.Core/DDD.Core.csproj +++ /dev/null @@ -1,24 +0,0 @@ - - - - netstandard2.0 - - - - - - - - - - - - - C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.configuration.abstractions\2.0.0\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll - - - C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.fileproviders.physical\2.0.0\lib\netstandard2.0\Microsoft.Extensions.FileProviders.Physical.dll - - - - diff --git a/samples/Common/DDD.Core/IAggregate.cs b/samples/Common/DDD.Core/IAggregate.cs deleted file mode 100644 index 0edd419b1..000000000 --- a/samples/Common/DDD.Core/IAggregate.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; - -namespace DDD.Core -{ - - /// Represents an aggregate root. - /// - public abstract class IAggregate: IDBModel - { - [Key] - public virtual Guid KeyId { get; set; } - /// - /// 归属公司 - /// - public virtual Guid CorporationKeyId { get; set; } - public DateTime CreateTime { get; set; } - public Guid CreateUserKeyId { get; set; } - public DateTime UpdateTime { get; set; } - public Guid UpdateUserKeyId { get; set; } - public bool IsDelete { get; set; } - public int Version { get; set; } - - public string Name { get; set; } - - public string No { get; set; } - } -} diff --git a/samples/Common/DDD.Core/IQueryOnlyRepository.cs b/samples/Common/DDD.Core/IQueryOnlyRepository.cs deleted file mode 100644 index 0d17da9b7..000000000 --- a/samples/Common/DDD.Core/IQueryOnlyRepository.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Text; - -namespace DDD.Core -{ - /// - /// 只读的查询资源库接口 - /// - public interface IQueryOnlyRepository where T : class,IDBModel - { - - int Count(Expression> @where = null); - - bool Exist(Expression> @where = null); - bool Exist(Expression> @where = null, params Expression>[] includes); - int ExecuteSqlWithNonQuery(string sql, params object[] parameters); - T GetSingle(TKey key); - T GetSingle(TKey key, params Expression>[] includes); - T GetSingle(Expression> @where = null); - T GetSingle(Expression> @where = null, params Expression>[] includes); - IQueryable Get(Expression> @where = null); - IQueryable Get(Expression> @where = null, params Expression>[] includes); - IEnumerable GetByPagination(Expression> @where, int pageSize, int pageIndex, - Expression>[] include,bool asc = true, params Func[] @orderby); - - IList SqlQuery(string sql, params object[] parameters) where TView : class, new(); - - - } -} diff --git a/samples/Common/DDD.Core/IRepository.cs b/samples/Common/DDD.Core/IRepository.cs deleted file mode 100644 index 8d0d5ac01..000000000 --- a/samples/Common/DDD.Core/IRepository.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; - -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Text; - -namespace DDD.Core -{ - public interface IDBModel - { - TKey KeyId { get; set; } - - TKey CorporationKeyId { get; set; } - DateTime CreateTime { get; set; } - TKey CreateUserKeyId { get; set; } - DateTime UpdateTime { get; set; } - TKey UpdateUserKeyId { get; set; } - bool IsDelete { get; set; } - int Version { get; set; } - - - } - public interface IRepository: IUnitOfWork where T : IAggregate - { - void Add(T aggregate); //where T : IAggregate; - T FindBy(TKey key); //where T : IAggregate; - void Update(T aggregate); //where T : IAggregate; - void Delete(TKey key); - - - } -} diff --git a/samples/Common/DDD.Core/IUnitOfWork.cs b/samples/Common/DDD.Core/IUnitOfWork.cs deleted file mode 100644 index d687b586b..000000000 --- a/samples/Common/DDD.Core/IUnitOfWork.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System; - -namespace DDD.Core -{ - public interface IUnitOfWork: IDisposable - { - #region for transaction - /// - /// 提交一个聚合内的所有变更 - /// - /// - /// If the entity have fixed properties and any optimistic concurrency problem exists, - /// then an exception is thrown - /// - int Commit(); - - - #endregion - - // int SaveChanges(); - //int SaveChangesAsync(); - - } -} diff --git a/samples/Common/DTO.Core/BasePagedRequestDto.cs b/samples/Common/DTO.Core/BasePagedRequestDto.cs deleted file mode 100644 index 03a9bbd71..000000000 --- a/samples/Common/DTO.Core/BasePagedRequestDto.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace DTO.Core -{ - public class BasePagedRequestDto: BaseRequestDto - { - /// - /// 页码号,从1开始,可空(返回全部记录) - /// - public int PageIndex { get; set; } - - /// - /// 每页显示的记录数,可空(返回全部记录) - /// - public int PageSize { get; set; } - } -} diff --git a/samples/Common/DTO.Core/BaseRequestDto.cs b/samples/Common/DTO.Core/BaseRequestDto.cs deleted file mode 100644 index 9220bf810..000000000 --- a/samples/Common/DTO.Core/BaseRequestDto.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace DTO.Core -{ - /// - /// 接口参数 dto抽象基类 - /// - public abstract class BaseRequestDto : BaseDto - { - /// - /// 服务访问身份信息 - /// - public TokenDto Identify { get; set; } - - - } - /// - /// 实体的增、删、改 - /// - public class EntityCUDReq : BaseRequestDto - { - public Guid? KeyId { get; set; } - } - /// - /// 实体上的命令 - /// - public class EntityCMDReq : BaseRequestDto - { - - } - - /// - /// 简单的请求 - /// 参数不确定 - /// - public class CommonCMDReq : BaseRequestDto - { - public string CommonCMD { get; set; } - } - - - /// - /// 树形列表的搜索 - /// - public class BaseTreeSearchReq : BaseRequestDto - { - /// - /// 搜索条件 - /// - public string SearchKey { get; set; } - - } -} diff --git a/samples/Common/DTO.Core/BaseResponseDto.cs b/samples/Common/DTO.Core/BaseResponseDto.cs deleted file mode 100644 index 4cada02d1..000000000 --- a/samples/Common/DTO.Core/BaseResponseDto.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace DTO.Core -{ - public class BaseResponseDto:BaseDto - { - /// - /// 请求结果,请求成功/失败 - /// - public bool OperateFlag { get; set; } - - /// - /// 服务端错误信息 - /// - public string FlagErrorMsg { get; set; } - - - } - - public class BaseTreeResponseDto: BaseResponseDto - { - public List Tree { get; set; } - } - - public class BaseTreeDto - { - public string Id { get; set; } - public string PId { get; set; } - public string Name { get; set; } - } - - public class BaseListResponseDto : BaseResponseDto - { - public dynamic Result { get; set; } - } - -} diff --git a/samples/Common/DTO.Core/BaseSearchCriteriaDto.cs b/samples/Common/DTO.Core/BaseSearchCriteriaDto.cs deleted file mode 100644 index a9e983098..000000000 --- a/samples/Common/DTO.Core/BaseSearchCriteriaDto.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace DTO.Core -{ - public abstract class BaseSearchCriteriaDto : BaseDto - { - - } -} diff --git a/samples/Common/DTO.Core/BaseSortCriteriaDto.cs b/samples/Common/DTO.Core/BaseSortCriteriaDto.cs deleted file mode 100644 index bb0b01142..000000000 --- a/samples/Common/DTO.Core/BaseSortCriteriaDto.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace DTO.Core -{ - /// - /// 搜索条件排序基类Dto。 - /// - public abstract class BaseSortCriteriaDto : BaseDto - { - /// - /// 创建时间 - /// - - public static readonly string CREATE_TIME = "CreateTime"; - - /// - /// 修改时间 - /// - - public static readonly string UPDATE_TIME = "UpdateTime"; - - /// - /// 正向/反向排序 - /// - - public bool Ascending { set; get; } - - /// - /// 排序名称 - /// - - public string SortPropertyName { set; get; } - } -} diff --git a/samples/Common/DTO.Core/DTO.Core.csproj b/samples/Common/DTO.Core/DTO.Core.csproj deleted file mode 100644 index 5766db614..000000000 --- a/samples/Common/DTO.Core/DTO.Core.csproj +++ /dev/null @@ -1,7 +0,0 @@ - - - - netcoreapp2.0 - - - diff --git a/samples/Common/DTO.Core/IdentifyDto.cs b/samples/Common/DTO.Core/IdentifyDto.cs deleted file mode 100644 index 61a276b6e..000000000 --- a/samples/Common/DTO.Core/IdentifyDto.cs +++ /dev/null @@ -1,89 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace DTO.Core -{ - public abstract class BaseDto - { - - } - public class TokenDto: BaseDto - { - /// - /// 员工编号 - /// - public string Token { get; set; } - public Guid CorporationKeyId { get; set; } - - } - public class IdentifyDto : BaseDto - { - /// - /// 当前用户keyId - /// - - public Guid UserKeyId { get; set; } - - /// - /// 当前用户名 - /// - - public string UserName { get; set; } - - /// - /// 当前用户部门keyId - /// - - public Guid DepartmentKeyId { get; set; } - - /// - /// 部门编号 - /// - - public string DepartmentNo { get; set; } - - /// - /// 当前用户部门名称 - /// - - public string DepartmentName { get; set; } - - /// - /// 当前用户所属公司keyId - /// - - public Guid CorporationKeyId { get; set; } - - - /// - /// 用户登录方式 - /// - - public string LoginType { get; set; } - - /// - /// 用户账号 - /// - - public string UserNo { get; set; } - - /// - /// 当前用户手机号 - /// - - public string UserPhone { get; set; } - - /// - /// 角色code - /// - - public string RoleCode { get; set; } - - /// - /// 角色名称 - /// - - public string RoleName { get; set; } - } - } diff --git a/samples/Common/DTO.Core/KeyIdReq.cs b/samples/Common/DTO.Core/KeyIdReq.cs deleted file mode 100644 index aebc1b302..000000000 --- a/samples/Common/DTO.Core/KeyIdReq.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace DTO.Core -{ - public class KeyIdReq:BaseRequestDto - { - public Guid KeyId { get; set; } - } -} diff --git a/samples/Common/DTO.Core/OperateResultDto.cs b/samples/Common/DTO.Core/OperateResultDto.cs deleted file mode 100644 index a8a88f3f4..000000000 --- a/samples/Common/DTO.Core/OperateResultDto.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace DTO.Core -{ - public class OperateResultRsp : BaseResponseDto - { - /// - /// 操作结果 - /// - public string OperateResult { get; set; } - - } -} diff --git a/samples/Common/Repository.Dapper.Core/BaseImpQueryOnlyRepository.cs b/samples/Common/Repository.Dapper.Core/BaseImpQueryOnlyRepository.cs deleted file mode 100644 index 614dbd9a3..000000000 --- a/samples/Common/Repository.Dapper.Core/BaseImpQueryOnlyRepository.cs +++ /dev/null @@ -1,72 +0,0 @@ -using DDD.Core; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Text; - -namespace Repository.Dapper.Core -{ - public class BaseImpQueryOnlyRepository : IQueryOnlyRepository where T : class, IDBModel - { - public int Count(Expression> where = null) - { - throw new NotImplementedException(); - } - - public int ExecuteSqlWithNonQuery(string sql, params object[] parameters) - { - throw new NotImplementedException(); - } - - public bool Exist(Expression> where = null) - { - throw new NotImplementedException(); - } - - public bool Exist(Expression> where = null, params Expression>[] includes) - { - throw new NotImplementedException(); - } - - public IQueryable Get(Expression> where = null) - { - throw new NotImplementedException(); - } - - public IQueryable Get(Expression> where = null, params Expression>[] includes) - { - throw new NotImplementedException(); - } - - public IEnumerable GetByPagination(Expression> where, int pageSize, int pageIndex, Expression>[] include, bool asc = true, params Func[] orderby) - { - throw new NotImplementedException(); - } - - public T GetSingle(Guid key) - { - throw new NotImplementedException(); - } - - public T GetSingle(Guid key, params Expression>[] includes) - { - throw new NotImplementedException(); - } - - public T GetSingle(Expression> where = null) - { - throw new NotImplementedException(); - } - - public T GetSingle(Expression> where = null, params Expression>[] includes) - { - throw new NotImplementedException(); - } - - public IList SqlQuery(string sql, params object[] parameters) where TView : class, new() - { - throw new NotImplementedException(); - } - } -} diff --git a/samples/Common/Repository.Dapper.Core/BaseImpRepository.cs b/samples/Common/Repository.Dapper.Core/BaseImpRepository.cs deleted file mode 100644 index a22e182ad..000000000 --- a/samples/Common/Repository.Dapper.Core/BaseImpRepository.cs +++ /dev/null @@ -1,40 +0,0 @@ -using DDD.Core; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Repository.Dapper.Core -{ - public class BaseImpRepository : IRepository where T : IAggregate - { - public void Add(T aggregate) - { - throw new NotImplementedException(); - } - - public int Commit() - { - throw new NotImplementedException(); - } - - public void Delete(Guid key) - { - throw new NotImplementedException(); - } - - public void Dispose() - { - throw new NotImplementedException(); - } - - public T FindBy(Guid key) - { - throw new NotImplementedException(); - } - - public void Update(T aggregate) - { - throw new NotImplementedException(); - } - } -} diff --git a/samples/Common/Repository.Dapper.Core/DapperExtensions.cs b/samples/Common/Repository.Dapper.Core/DapperExtensions.cs deleted file mode 100644 index 61b4a2146..000000000 --- a/samples/Common/Repository.Dapper.Core/DapperExtensions.cs +++ /dev/null @@ -1,567 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Reflection; -using System.Text; -using Repository.Dapper.Core.Sql; -using Repository.Dapper.Core.Mapper; -using System.Text.RegularExpressions; -using System.Threading.Tasks; - -namespace Repository.Dapper.Core -{ - public static class DapperExtensions - { - #region other - private readonly static object _lock = new object(); - - private static Func _instanceFactory; - private static IDapperImplementor _instance; - private static IDapperExtensionsConfiguration _configuration; - - /// - /// Gets or sets the default class mapper to use when generating class maps. If not specified, AutoClassMapper is used. - /// Repository.Dapper.Core.Configure(Type, IList, ISqlDialect) can be used instead to set all values at once - /// - public static Type DefaultMapper - { - get - { - return _configuration.DefaultMapper; - } - - set - { - Configure(value, _configuration.MappingAssemblies, _configuration.Dialect); - } - } - - /// - /// Gets or sets the type of sql to be generated. - /// DapperExtensions.Configure(Type, IList, ISqlDialect) can be used instead to set all values at once - /// - public static ISqlDialect SqlDialect - { - get - { - return _configuration.Dialect; - } - - set - { - Configure(_configuration.DefaultMapper, _configuration.MappingAssemblies, value); - } - } - - /// - /// Get or sets the Dapper Extensions Implementation Factory. - /// - public static Func InstanceFactory - { - get - { - if (_instanceFactory == null) - { - _instanceFactory = config => new DapperImplementor(new SqlGeneratorImpl(config)); - } - - return _instanceFactory; - } - set - { - _instanceFactory = value; - Configure(_configuration.DefaultMapper, _configuration.MappingAssemblies, _configuration.Dialect); - } - } - - /// - /// Gets the Dapper Extensions Implementation - /// - private static IDapperImplementor Instance - { - get - { - if (_instance == null) - { - lock (_lock) - { - if (_instance == null) - { - _instance = InstanceFactory(_configuration); - } - } - } - - return _instance; - } - } - - //static DapperExtensions() - //{ - // Configure(typeof(AutoClassMapper<>), new List(), new SqlServerDialect()); - //} - - /// - /// Add other assemblies that Dapper Extensions will search if a mapping is not found in the same assembly of the POCO. - /// - /// - public static void SetMappingAssemblies(IList assemblies) - { - Configure(_configuration.DefaultMapper, assemblies, _configuration.Dialect); - } - - /// - /// Configure DapperExtensions extension methods. - /// - /// - /// - /// - public static void Configure(IDapperExtensionsConfiguration configuration) - { - _instance = null; - _configuration = configuration; - } - - /// - /// Configure DapperExtensions extension methods. - /// - /// - /// - /// - public static void Configure(Type defaultMapper, IList mappingAssemblies, ISqlDialect sqlDialect) - { - Configure(new DapperExtensionsConfiguration(defaultMapper, mappingAssemblies, sqlDialect)); - } - - public static void Configure(ISqlDialect sqlDialect, Type defaultMapper = null, IList mappingAssemblies = null) - { - defaultMapper = defaultMapper ?? typeof(AutoClassMapper<>); - mappingAssemblies = mappingAssemblies ?? new List(); - Configure(new DapperExtensionsConfiguration(defaultMapper, mappingAssemblies, sqlDialect)); - } - - #endregion - - #region Get - /// - /// Executes a query for the specified id, returning the data typed as per T - /// - public static T Get(this IDbConnection connection, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Get(connection, null, id, transaction, commandTimeout); - - public static T Get(this IDbConnection connection, string tableName, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Get(connection, tableName, null, id, transaction, commandTimeout); - - public static T Get(this IDbConnection connection, string tableName, string schemaName, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => (T)Instance.Get(connection, id, transaction, commandTimeout, tableName, schemaName, null, null); - - public static async Task GetAsync(this IDbConnection connection, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetAsync(connection, null, id, transaction, commandTimeout); - - public static async Task GetAsync(this IDbConnection connection, string tableName, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetAsync(connection, tableName, null, id, transaction, commandTimeout); - - public static async Task GetAsync(this IDbConnection connection, string tableName, string schemaName, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetAsync(connection, id, transaction, commandTimeout, tableName, schemaName, null, null); - - public static T Get(this IDbConnection connection, IList join, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Get(connection, join, null, id, transaction, commandTimeout); - - public static T Get(this IDbConnection connection, IList join, IList alias, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => (T)Instance.Get(connection, id, transaction, commandTimeout, null, null, join, alias); - - public static async Task GetAsync(this IDbConnection connection, IList join, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetAsync(connection, join, null, id, transaction, commandTimeout); - - public static async Task GetAsync(this IDbConnection connection, IList join, IList alias, dynamic id, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetAsync(connection, id, transaction, commandTimeout, null, null, join, alias); - - #endregion - - #region Insert - /// - /// Executes an insert query for the specified entity. - /// - public static void Insert(this IDbConnection connection, IEnumerable entities, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Insert(connection, null, entities, transaction, commandTimeout); - - public static void Insert(this IDbConnection connection, string tableName, IEnumerable entities, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Insert(connection, tableName, null, entities, transaction, commandTimeout); - - public static void Insert(this IDbConnection connection, string tableName, string schemaName, IEnumerable entities, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Instance.Insert(connection, entities, transaction, commandTimeout, tableName, schemaName); - - - /// - /// Executes an insert query for the specified entity, returning the primary key. - /// If the entity has a single key, just the value is returned. - /// If the entity has a composite key, an IDictionary<string, object> is returned with the key values. - /// The key value for the entity will also be updated if the KeyType is a Guid or Identity. - /// - public static dynamic Insert(this IDbConnection connection, T entity, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Insert(connection, null, entity, transaction, commandTimeout); - - public static dynamic Insert(this IDbConnection connection, string tableName, T entity, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Insert(connection, tableName, null, entity, transaction, commandTimeout); - - public static dynamic Insert(this IDbConnection connection, string tableName, string schemaName, T entity, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Instance.Insert(connection, entity, transaction, commandTimeout, tableName, schemaName); - - #endregion - - #region Update - /// - /// Executes an update query for the specified entity. - /// - public static bool Update(this IDbConnection connection, T entity, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => Update(connection, null, entity, transaction, commandTimeout, ignoreAllKeyProperties); - - public static bool Update(this IDbConnection connection, string tableName, T entity, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => Update(connection, tableName, null, entity, transaction, commandTimeout, ignoreAllKeyProperties); - - public static bool Update(this IDbConnection connection, string tableName, string schemaName, T entity, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => Instance.Update(connection, entity, null, transaction, commandTimeout, tableName, schemaName, ignoreAllKeyProperties); - - - public static bool Update(this IDbConnection connection, T entity, object predicate, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => Update(connection, null, entity, predicate, transaction, commandTimeout, ignoreAllKeyProperties); - - public static bool Update(this IDbConnection connection, string tableName, T entity, object predicate, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => Update(connection, tableName, null, entity, predicate, transaction, commandTimeout, ignoreAllKeyProperties); - - public static bool Update(this IDbConnection connection, string tableName, string schemaName, T entity, object predicate, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => Instance.Update(connection, entity, predicate, transaction, commandTimeout, tableName, schemaName, ignoreAllKeyProperties); - - - public static async Task UpdateAsync(this IDbConnection connection, T entity, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => await UpdateAsync(connection, null, entity, transaction, commandTimeout, ignoreAllKeyProperties); - - public static async Task UpdateAsync(this IDbConnection connection, string tableName, T entity, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => await UpdateAsync(connection, tableName, null, entity, transaction, commandTimeout, ignoreAllKeyProperties); - - public static async Task UpdateAsync(this IDbConnection connection, string tableName, string schemaName, T entity, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => await Instance.UpdateAsync(connection, entity, null, transaction, commandTimeout, tableName, schemaName, ignoreAllKeyProperties); - - public static async Task UpdateAsync(this IDbConnection connection, T entity, object predicate, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => await UpdateAsync(connection, null, entity, predicate, transaction, commandTimeout, ignoreAllKeyProperties); - - public static async Task UpdateAsync(this IDbConnection connection, string tableName, T entity, object predicate, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => await UpdateAsync(connection, tableName, null, entity, predicate, transaction, commandTimeout, ignoreAllKeyProperties); - - public static async Task UpdateAsync(this IDbConnection connection, string tableName, string schemaName, T entity, object predicate, IDbTransaction transaction = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => await Instance.UpdateAsync(connection, entity, predicate, transaction, commandTimeout, tableName, schemaName, ignoreAllKeyProperties); - - - - public static bool UpdateSet(this IDbConnection connection, object entity, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => UpdateSet(connection, null, entity, predicate, transaction, commandTimeout); - - public static bool UpdateSet(this IDbConnection connection, string tableName, object entity, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => UpdateSet(connection, tableName, null, entity, predicate, transaction, commandTimeout); - - public static bool UpdateSet(this IDbConnection connection, string tableName, string schemaName, object entity, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Instance.UpdateSet(connection, entity, predicate, transaction, commandTimeout, tableName, schemaName); - - - public static async Task UpdateSetAsync(this IDbConnection connection, object entity, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await UpdateSetAsync(connection, null, entity, predicate, transaction, commandTimeout); - - public static async Task UpdateSetAsync(this IDbConnection connection, string tableName, object entity, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await UpdateSetAsync(connection, tableName, null, entity, predicate, transaction, commandTimeout); - - public static async Task UpdateSetAsync(this IDbConnection connection, string tableName, string schemaName, object entity, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.UpdateSetAsync(connection, entity, predicate, transaction, commandTimeout, tableName, schemaName); - - - #endregion - - #region Delete - /// - /// Executes a delete query for the specified entity. - /// - public static bool Delete(this IDbConnection connection, T entity, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Delete(connection, null, entity, transaction, commandTimeout); - - public static bool Delete(this IDbConnection connection, string tableName, T entity, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Delete(connection, tableName, null, entity, transaction, commandTimeout); - - public static bool Delete(this IDbConnection connection, string tableName, string schemaName, T entity, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Instance.Delete(connection, entity, transaction, commandTimeout, tableName, schemaName); - - - public static async Task DeleteAsync(this IDbConnection connection, T entity, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await DeleteAsync(connection, null, entity, transaction, commandTimeout); - - public static async Task DeleteAsync(this IDbConnection connection, string tableName, T entity, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await DeleteAsync(connection, tableName, null, entity, transaction, commandTimeout); - - public static async Task DeleteAsync(this IDbConnection connection, string tableName, string schemaName, T entity, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.DeleteAsync(connection, entity, transaction, commandTimeout, tableName, schemaName); - - - /// - /// Executes a delete query using the specified predicate. - /// - public static bool Delete(this IDbConnection connection, object predicate, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Delete(connection, null, predicate, transaction, commandTimeout); - - public static bool Delete(this IDbConnection connection, string tableName, object predicate, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Delete(connection, tableName, null, predicate, transaction, commandTimeout); - - public static bool Delete(this IDbConnection connection, string tableName, string schemaName, object predicate, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Instance.Delete(connection, predicate, transaction, commandTimeout, tableName, schemaName); - - public static async Task DeleteAsync(this IDbConnection connection, object predicate, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await DeleteAsync(connection, null, predicate, transaction, commandTimeout); - - public static async Task DeleteAsync(this IDbConnection connection, string tableName, object predicate, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await DeleteAsync(connection, tableName, null, predicate, transaction, commandTimeout); - - public static async Task DeleteAsync(this IDbConnection connection, string tableName, string schemaName, object predicate, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.DeleteAsync(connection, predicate, transaction, commandTimeout, tableName, schemaName); - - - #endregion - - #region GetList - /// - /// Executes a select query using the specified predicate, returning an IEnumerable data typed as per T. - /// - public static IEnumerable GetList(this IDbConnection connection, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => GetList(connection, (string)null, null, predicate, sort, transaction, commandTimeout, buffered); - - public static IEnumerable GetList(this IDbConnection connection, string tableName, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => GetList(connection, tableName, null, predicate, sort, transaction, commandTimeout, buffered); - - public static IEnumerable GetList(this IDbConnection connection, string tableName, string schemaName, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => Instance.GetList(connection, predicate, sort, transaction, commandTimeout, buffered, tableName, schemaName, null, null); - - - public static async Task> GetListAsync(this IDbConnection connection, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetListAsync(connection, (string)null, null, predicate, sort, transaction, commandTimeout); - - public static async Task> GetListAsync(this IDbConnection connection, string tableName, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetListAsync(connection, tableName, null, predicate, sort, transaction, commandTimeout); - - public static async Task> GetListAsync(this IDbConnection connection, string tableName, string schemaName, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetListAsync(connection, predicate, sort, transaction, commandTimeout, tableName, schemaName, null, null); - - - public static IEnumerable GetList(this IDbConnection connection, IList join, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => GetList(connection, join, null, predicate, sort, transaction, commandTimeout, buffered); - - public static IEnumerable GetList(this IDbConnection connection, IList join, IList alias, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => Instance.GetList(connection, predicate, sort, transaction, commandTimeout, buffered, null, null, join, alias); - - public static async Task> GetListAsync(this IDbConnection connection, IList join, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetListAsync(connection, join, null, predicate, sort, transaction, commandTimeout); - - public static async Task> GetListAsync(this IDbConnection connection, IList join, IList alias, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetListAsync(connection, predicate, sort, transaction, commandTimeout, null, null, join, alias); - - - #endregion - - #region GetPage - /// - /// Executes a select query using the specified predicate, returning an IEnumerable data typed as per T. - /// Data returned is dependent upon the specified page and resultsPerPage. - /// - public static IEnumerable GetPage(this IDbConnection connection, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => GetPage(connection, (string)null, page, resultsPerPage, predicate, sort, transaction, commandTimeout, buffered); - - public static IEnumerable GetPage(this IDbConnection connection, string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => GetPage(connection, tableName, null, page, resultsPerPage, predicate, sort, transaction, commandTimeout, buffered); - - public static IEnumerable GetPage(this IDbConnection connection, string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => Instance.GetPage(connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout, buffered, tableName, schemaName, null, null); - - - public static async Task> GetPageAsync(this IDbConnection connection, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetPageAsync(connection, (string)null, page, resultsPerPage, predicate, sort, transaction, commandTimeout); - - public static async Task> GetPageAsync(this IDbConnection connection, string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetPageAsync(connection, tableName, null, page, resultsPerPage, predicate, sort, transaction, commandTimeout); - - public static async Task> GetPageAsync(this IDbConnection connection, string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetPageAsync(connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout, tableName, schemaName, null, null); - - public static IEnumerable GetPage(this IDbConnection connection, IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => GetPage(connection, join, null, page, resultsPerPage, predicate, sort, transaction, commandTimeout, buffered); - - public static IEnumerable GetPage(this IDbConnection connection, IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => Instance.GetPage(connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout, buffered, null, null, join, alias); - - public static async Task> GetPageAsync(this IDbConnection connection, IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetPageAsync(connection, join, null, page, resultsPerPage, predicate, sort, transaction, commandTimeout); - - public static async Task> GetPageAsync(this IDbConnection connection, IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetPageAsync(connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout, null, null, join, alias); - #endregion - - #region GetPages - - /// - /// Executes a select query using the specified predicate, returning an IEnumerable data typed as per T. - /// Data returned is dependent upon the specified page and resultsPerPage. - /// - public static Page GetPages(this IDbConnection connection, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => GetPages(connection, (string)null, page, resultsPerPage, predicate, sort, transaction, commandTimeout); - - public static Page GetPages(this IDbConnection connection, string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => GetPages(connection, tableName, null, page, resultsPerPage, predicate, sort, transaction, commandTimeout); - - public static Page GetPages(this IDbConnection connection, string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Instance.GetPages(connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout, tableName, schemaName, null, null); - - public static async Task> GetPagesAsync(this IDbConnection connection, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetPagesAsync(connection, (string)null, page, resultsPerPage, predicate, sort, transaction, commandTimeout); - - public static async Task> GetPagesAsync(this IDbConnection connection, string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetPagesAsync(connection, tableName, null, page, resultsPerPage, predicate, sort, transaction, commandTimeout); - - public static async Task> GetPagesAsync(this IDbConnection connection, string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetPagesAsync(connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout, tableName, schemaName, null, null); - - public static Page GetPages(this IDbConnection connection, IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => GetPages(connection, join, null, page, resultsPerPage, predicate, sort, transaction, commandTimeout); - - public static Page GetPages(this IDbConnection connection, IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Instance.GetPages(connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout, null, null, join, alias); - - public static async Task> GetPagesAsync(this IDbConnection connection, IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetPagesAsync(connection, join, null, page, resultsPerPage, predicate, sort, transaction, commandTimeout); - - public static async Task> GetPagesAsync(this IDbConnection connection, IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetPagesAsync(connection, predicate, sort, page, resultsPerPage, transaction, commandTimeout, null, null, join, alias); - - - #endregion - - #region GetSet - /// - /// Executes a select query using the specified predicate, returning an IEnumerable data typed as per T. - /// Data returned is dependent upon the specified firstResult and maxResults. - /// - public static IEnumerable GetSet(this IDbConnection connection, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => GetSet(connection, (string)null, predicate, sort, firstResult, maxResults, transaction, commandTimeout, buffered); - - public static IEnumerable GetSet(this IDbConnection connection, string tableName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => GetSet(connection, tableName, null, predicate, sort, firstResult, maxResults, transaction, commandTimeout, buffered); - - public static IEnumerable GetSet(this IDbConnection connection, string tableName, string schemaName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => Instance.GetSet(connection, predicate, sort, firstResult, maxResults, transaction, commandTimeout, buffered, tableName, schemaName, null, null); - - public static async Task> GetSetAsync(this IDbConnection connection, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetSetAsync(connection, (string)null, predicate, sort, firstResult, maxResults, transaction, commandTimeout); - - public static async Task> GetSetAsync(this IDbConnection connection, string tableName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetSetAsync(connection, tableName, null, predicate, sort, firstResult, maxResults, transaction, commandTimeout); - - public static async Task> GetSetAsync(this IDbConnection connection, string tableName, string schemaName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetSetAsync(connection, predicate, sort, firstResult, maxResults, transaction, commandTimeout, tableName, schemaName, null, null); - - public static IEnumerable GetSet(this IDbConnection connection, IList join, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => GetSet(connection, join, null, predicate, sort, firstResult, maxResults, transaction, commandTimeout, buffered); - - public static IEnumerable GetSet(this IDbConnection connection, IList join, IList alias, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null, bool buffered = false) where T : class - => Instance.GetSet(connection, predicate, sort, firstResult, maxResults, transaction, commandTimeout, buffered, null, null, join, alias); - - public static async Task> GetSetAsync(this IDbConnection connection, IList join, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await GetSetAsync(connection, join, null, predicate, sort, firstResult, maxResults, transaction, commandTimeout); - - public static async Task> GetSetAsync(this IDbConnection connection, IList join, IList alias, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.GetSetAsync(connection, predicate, sort, firstResult, maxResults, transaction, commandTimeout, null, null, join, alias); - - #endregion - - #region Count - /// - /// Executes a query using the specified predicate, returning an integer that represents the number of rows that match the query. - /// - public static long Count(this IDbConnection connection, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Count(connection, (string)null, predicate, transaction, commandTimeout); - - public static long Count(this IDbConnection connection, string tableName, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Count(connection, tableName, null, predicate, transaction, commandTimeout); - - public static long Count(this IDbConnection connection, string tableName, string schemaName, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Instance.Count(connection, predicate, transaction, commandTimeout, tableName, schemaName, null); - - - public static async Task CountAsync(this IDbConnection connection, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await CountAsync(connection, (string)null, predicate, transaction, commandTimeout); - - public static async Task CountAsync(this IDbConnection connection, string tableName, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await CountAsync(connection, tableName, null, predicate, transaction, commandTimeout); - - public static async Task CountAsync(this IDbConnection connection, string tableName, string schemaName, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.CountAsync(connection, predicate, transaction, commandTimeout, tableName, schemaName, null); - - public static long Count(this IDbConnection connection, IList join, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => Instance.Count(connection, predicate, transaction, commandTimeout, null, null, join); - - public static async Task CountAsync(this IDbConnection connection, IList join, object predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) where T : class - => await Instance.CountAsync(connection, predicate, transaction, commandTimeout, null, null, join); - #endregion - - #region GetMultiple - - /// - /// Executes a select query for multiple objects, returning IMultipleResultReader for each predicate. - /// - public static IMultipleResultReader GetMultiple(this IDbConnection connection, GetMultiplePredicate predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) - => GetMultiple(connection, null, null, predicate, transaction, commandTimeout); - - public static IMultipleResultReader GetMultiple(this IDbConnection connection, string tableName, GetMultiplePredicate predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) - => GetMultiple(connection, tableName, null, predicate, transaction, commandTimeout); - - public static IMultipleResultReader GetMultiple(this IDbConnection connection, string tableName, string schemaName, GetMultiplePredicate predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) - { - return Instance.GetMultiple(connection, predicate, transaction, commandTimeout, tableName, schemaName); - } - - public static async Task GetMultipleAsync(this IDbConnection connection, GetMultiplePredicate predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) - => await GetMultipleAsync(connection, null, null, predicate, transaction, commandTimeout); - - public static async Task GetMultipleAsync(this IDbConnection connection, string tableName, GetMultiplePredicate predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) - => await GetMultipleAsync(connection, tableName, null, predicate, transaction, commandTimeout); - - public static async Task GetMultipleAsync(this IDbConnection connection, string tableName, string schemaName, GetMultiplePredicate predicate = null, IDbTransaction transaction = null, int? commandTimeout = null) - { - return await Instance.GetMultipleAsync(connection, predicate, transaction, commandTimeout, tableName, schemaName); - } - #endregion - - #region - /// - /// Gets the appropriate mapper for the specified type T. - /// If the mapper for the type is not yet created, a new mapper is generated from the mapper type specifed by DefaultMapper. - /// - public static IClassMapper GetMap() where T : class - { - return Instance.SqlGenerator.Configuration.GetMap(); - } - - /// - /// Clears the ClassMappers for each type. - /// - public static void ClearCache() - { - Instance.SqlGenerator.Configuration.ClearCache(); - } - - /// - /// Generates a COMB Guid which solves the fragmented index issue. - /// See: http://davybrion.com/blog/2009/05/using-the-guidcomb-identifier-strategy - /// - public static Guid GetNextGuid() - { - return Instance.SqlGenerator.Configuration.GetNextGuid(); - } - - - #endregion - } -} diff --git a/samples/Common/Repository.Dapper.Core/DapperExtensionsConfiguration.cs b/samples/Common/Repository.Dapper.Core/DapperExtensionsConfiguration.cs deleted file mode 100644 index 8ae8b3df5..000000000 --- a/samples/Common/Repository.Dapper.Core/DapperExtensionsConfiguration.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Text; -using Repository.Dapper.Core.Mapper; -using Repository.Dapper.Core.Sql; -using Microsoft.Extensions.Options; - -namespace Repository.Dapper.Core -{ - public interface IDapperExtensionsConfiguration - { - Type DefaultMapper { get; } - IList MappingAssemblies { get; } - ISqlDialect Dialect { get; } - IClassMapper GetMap(Type entityType); - IClassMapper GetMap() where T : class; - void ClearCache(); - Guid GetNextGuid(); - } - - public class DapperExtensionsConfiguration : IDapperExtensionsConfiguration - { - public DateTime NowTime { get; set; } - - private readonly ConcurrentDictionary _classMaps = new ConcurrentDictionary(); - - public DapperExtensionsConfiguration() - : this(typeof(AutoClassMapper<>), new List(), new SqlServerDialect()) - { - } - public DapperExtensionsConfiguration(IOptions options) - : this(typeof(AutoClassMapper<>), new List(), options.Value.sqlDialect) - { - NowTime = DateTime.Now; - } - public DapperExtensionsConfiguration(ISqlDialect sqlDialect) - : this(typeof(AutoClassMapper<>), new List(), sqlDialect) - { - NowTime = DateTime.Now; - } - - - public DapperExtensionsConfiguration(Type defaultMapper, IList mappingAssemblies, ISqlDialect sqlDialect) - { - DefaultMapper = defaultMapper; - MappingAssemblies = mappingAssemblies ?? new List(); - Dialect = sqlDialect; - } - - public Type DefaultMapper { get; private set; } - public IList MappingAssemblies { get; private set; } - public ISqlDialect Dialect { get; private set; } - - public IClassMapper GetMap(Type entityType) - { - IClassMapper map; - if (!_classMaps.TryGetValue(entityType, out map)) - { - Type mapType = GetMapType(entityType); - if (mapType == null) - { - mapType = DefaultMapper.MakeGenericType(entityType); - } - - map = Activator.CreateInstance(mapType) as IClassMapper; - _classMaps[entityType] = map; - } - - return map; - } - - public IClassMapper GetMap() where T : class - { - return GetMap(typeof (T)); - } - - public void ClearCache() - { - _classMaps.Clear(); - } - - public Guid GetNextGuid() - { - byte[] b = Guid.NewGuid().ToByteArray(); - DateTime dateTime = new DateTime(1900, 1, 1); - DateTime now = DateTime.Now; - TimeSpan timeSpan = new TimeSpan(now.Ticks - dateTime.Ticks); - TimeSpan timeOfDay = now.TimeOfDay; - byte[] bytes1 = BitConverter.GetBytes(timeSpan.Days); - byte[] bytes2 = BitConverter.GetBytes((long)(timeOfDay.TotalMilliseconds / 3.333333)); - Array.Reverse(bytes1); - Array.Reverse(bytes2); - Array.Copy(bytes1, bytes1.Length - 2, b, b.Length - 6, 2); - Array.Copy(bytes2, bytes2.Length - 4, b, b.Length - 4, 4); - return new Guid(b); - } - - protected virtual Type GetMapType(Type entityType) - { - Func getType = a => - { - Type[] types = a.GetTypes(); - return (from type in types - let interfaceType = type.GetInterface(typeof(IClassMapper<>).FullName) - where - interfaceType != null && - interfaceType.GetGenericArguments()[0] == entityType - select type).SingleOrDefault(); - }; - - Type result = getType(entityType.Assembly); - if (result != null) - { - return result; - } - - foreach (var mappingAssembly in MappingAssemblies) - { - result = getType(mappingAssembly); - if (result != null) - { - return result; - } - } - - return getType(entityType.Assembly); - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/DapperImplementor.cs b/samples/Common/Repository.Dapper.Core/DapperImplementor.cs deleted file mode 100644 index 8b4162036..000000000 --- a/samples/Common/Repository.Dapper.Core/DapperImplementor.cs +++ /dev/null @@ -1,825 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Dynamic; -using System.Linq; -using System.Reflection; -using System.Text; -using Dapper; -using Repository.Dapper.Core.Mapper; -using Repository.Dapper.Core.Sql; -using System.Threading.Tasks; - -namespace Repository.Dapper.Core -{ - public interface IDapperImplementor - { - ISqlGenerator SqlGenerator { get; } - - #region Get - T Get(IDbConnection connection, dynamic id, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class; - Task GetAsync(IDbConnection connection, dynamic id, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class; - - #endregion - - #region Insert - void Insert(IDbConnection connection, IEnumerable entities, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class; - dynamic Insert(IDbConnection connection, T entity, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class; - - #endregion - - #region Update - bool Update(IDbConnection connection, T entity, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, bool ignoreAllKeyProperties) where T : class; - Task UpdateAsync(IDbConnection connection, T entity, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, bool ignoreAllKeyProperties) where T : class; - bool UpdateSet(IDbConnection connection, object entity, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class; - Task UpdateSetAsync(IDbConnection connection, object entity, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class; - - #endregion - - #region Delete - bool Delete(IDbConnection connection, T entity, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class; - Task DeleteAsync(IDbConnection connection, T entity, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class; - bool Delete(IDbConnection connection, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class; - Task DeleteAsync(IDbConnection connection, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class; - #endregion - - #region GetList - IEnumerable GetList(IDbConnection connection, object predicate, IList sort, IDbTransaction transaction, int? commandTimeout, bool buffered, string tableName, string schemaName, IList join, IList alias) where T : class; - - Task> GetListAsync(IDbConnection connection, object predicate, IList sort, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class; - #endregion - - #region GetPage - IEnumerable GetPage(IDbConnection connection, object predicate, IList sort, int page, int resultsPerPage, IDbTransaction transaction, int? commandTimeout, bool buffered, string tableName, string schemaName, IList join, IList alias) where T : class; - Task> GetPageAsync(IDbConnection connection, object predicate, IList sort, int page, int resultsPerPage, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class; - #endregion - - #region GetPages - Page GetPages(IDbConnection connection, object predicate, IList sort, int page, int resultsPerPage, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class; - Task> GetPagesAsync(IDbConnection connection, object predicate, IList sort, int page, int resultsPerPage, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class; - #endregion - - #region GetSet - IEnumerable GetSet(IDbConnection connection, object predicate, IList sort, int firstResult, int maxResults, IDbTransaction transaction, int? commandTimeout, bool buffered, string tableName, string schemaName, IList join, IList alias) where T : class; - Task> GetSetAsync(IDbConnection connection, object predicate, IList sort, int firstResult, int maxResults, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class; - #endregion - - #region Count - long Count(IDbConnection connection, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join) where T : class; - Task CountAsync(IDbConnection connection, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join) where T : class; - #endregion - - #region GetMultiple - IMultipleResultReader GetMultiple(IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName); - - Task GetMultipleAsync(IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName); - #endregion - - } - - public class DapperImplementor : IDapperImplementor - { - public DapperImplementor(ISqlGenerator sqlGenerator) - { - SqlGenerator = sqlGenerator; - } - - public ISqlGenerator SqlGenerator { get; private set; } - - #region Get - - public T Get(IDbConnection connection, dynamic id, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate predicate = GetIdPredicate(classMap, id); - T result = GetList(connection, predicate, null, transaction, commandTimeout, true, tableName,schemaName, join, alias).SingleOrDefault(); - return result; - } - public async Task GetAsync(IDbConnection connection, dynamic id, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate predicate = GetIdPredicate(classMap, id); - return (await GetListAsync(connection, predicate, null, transaction, commandTimeout, tableName, schemaName, join, alias)).SingleOrDefault(); - } - - #endregion - - #region Insert - public void Insert(IDbConnection connection, IEnumerable entities, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class - { - IEnumerable properties = null; - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - var notKeyProperties = classMap.Properties.Where(p => p.KeyType != KeyType.NotAKey); - var triggerIdentityColumn = classMap.Properties.SingleOrDefault(p => p.KeyType == KeyType.TriggerIdentity); - - var parameters = new List(); - if (triggerIdentityColumn != null) - { - properties = typeof(T).GetProperties(BindingFlags.GetProperty | BindingFlags.Instance | BindingFlags.Public) - .Where(p => p.Name != triggerIdentityColumn.PropertyInfo.Name); - } - - foreach (var e in entities) - { - foreach (var column in notKeyProperties) - { - if (column.KeyType == KeyType.Guid && (Guid)column.PropertyInfo.GetValue(e, null) == Guid.Empty) - { - Guid comb = SqlGenerator.Configuration.GetNextGuid(); - column.PropertyInfo.SetValue(e, comb, null); - } - } - - if (triggerIdentityColumn != null) - { - var dynamicParameters = new DynamicParameters(); - foreach (var prop in properties) - { - dynamicParameters.Add(prop.Name, prop.GetValue(e, null)); - } - - // defaultValue need for identify type of parameter - var defaultValue = typeof(T).GetProperty(triggerIdentityColumn.PropertyInfo.Name).GetValue(e, null); - dynamicParameters.Add("IdOutParam", direction: ParameterDirection.Output, value: defaultValue); - - parameters.Add(dynamicParameters); - } - } - - string sql = SqlGenerator.Insert(classMap,schemaName, tableName); - - if (triggerIdentityColumn == null) - { - connection.Execute(sql, entities, transaction, commandTimeout, CommandType.Text); - } - else - { - connection.Execute(sql, parameters, transaction, commandTimeout, CommandType.Text); - } - } - - public dynamic Insert(IDbConnection connection, T entity, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName = null) where T : class - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - List nonIdentityKeyProperties = classMap.Properties.Where(p => p.KeyType == KeyType.Guid || p.KeyType == KeyType.Assigned).ToList(); - var identityColumn = classMap.Properties.SingleOrDefault(p => p.KeyType == KeyType.Identity); - var triggerIdentityColumn = classMap.Properties.SingleOrDefault(p => p.KeyType == KeyType.TriggerIdentity); - foreach (var column in nonIdentityKeyProperties) - { - if (column.KeyType == KeyType.Guid && (Guid)column.PropertyInfo.GetValue(entity, null) == Guid.Empty) - { - Guid comb = SqlGenerator.Configuration.GetNextGuid(); - column.PropertyInfo.SetValue(entity, comb, null); - } - } - - IDictionary keyValues = new ExpandoObject(); - string sql = SqlGenerator.Insert(classMap,schemaName, tableName); - if (identityColumn != null) - { - IEnumerable result; - if (SqlGenerator.SupportsMultipleStatements()) - { - sql += SqlGenerator.Configuration.Dialect.BatchSeperator + SqlGenerator.IdentitySql(classMap,schemaName, tableName); - result = connection.Query(sql, entity, transaction, false, commandTimeout, CommandType.Text); - } - else - { - connection.Execute(sql, entity, transaction, commandTimeout, CommandType.Text); - sql = SqlGenerator.IdentitySql(classMap,schemaName, tableName); - result = connection.Query(sql, entity, transaction, false, commandTimeout, CommandType.Text); - } - - // We are only interested in the first identity, but we are iterating over all resulting items (if any). - // This makes sure that ADO.NET drivers (like MySql) won't actively terminate the query. - bool hasResult = false; - int identityInt = 0; - foreach (var identityValue in result) - { - if (hasResult) - { - continue; - } - identityInt = Convert.ToInt32(identityValue); - hasResult = true; - } - if (!hasResult) - { - throw new InvalidOperationException("The source sequence is empty."); - } - - keyValues.Add(identityColumn.Name, identityInt); - identityColumn.PropertyInfo.SetValue(entity, identityInt, null); - } - else if (triggerIdentityColumn != null) - { - var dynamicParameters = new DynamicParameters(); - foreach (var prop in entity.GetType().GetProperties(BindingFlags.GetProperty | BindingFlags.Instance | BindingFlags.Public) - .Where(p => p.Name != triggerIdentityColumn.PropertyInfo.Name)) - { - dynamicParameters.Add(prop.Name, prop.GetValue(entity, null)); - } - - // defaultValue need for identify type of parameter - var defaultValue = entity.GetType().GetProperty(triggerIdentityColumn.PropertyInfo.Name).GetValue(entity, null); - dynamicParameters.Add("IdOutParam", direction: ParameterDirection.Output, value: defaultValue); - - connection.Execute(sql, dynamicParameters, transaction, commandTimeout, CommandType.Text); - - var value = dynamicParameters.Get(SqlGenerator.Configuration.Dialect.ParameterPrefix + "IdOutParam"); - keyValues.Add(triggerIdentityColumn.Name, value); - triggerIdentityColumn.PropertyInfo.SetValue(entity, value, null); - } - else - { - connection.Execute(sql, entity, transaction, commandTimeout, CommandType.Text); - } - - foreach (var column in nonIdentityKeyProperties) - { - keyValues.Add(column.Name, column.PropertyInfo.GetValue(entity, null)); - } - - if (keyValues.Count == 1) - { - return keyValues.First().Value; - } - - return keyValues; - } - - - #endregion - - #region Update - - public bool Update(IDbConnection connection, T entity, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName = null, bool ignoreAllKeyProperties = false) where T : class - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate wherePredicate = predicate == null ? GetKeyPredicate(classMap, entity) : GetPredicate(classMap, predicate); - Dictionary parameters = new Dictionary(); - string sql = SqlGenerator.Update(classMap, wherePredicate, parameters, schemaName, tableName); - DynamicParameters dynamicParameters = new DynamicParameters(); - - var columns = ignoreAllKeyProperties - ? classMap.Properties.Where(p => !(p.Ignored || p.IsReadOnly) && p.KeyType == KeyType.NotAKey) - : classMap.Properties.Where(p => !(p.Ignored || p.IsReadOnly || p.KeyType == KeyType.Identity || p.KeyType == KeyType.Assigned)); - - foreach (var property in ReflectionHelper.GetObjectValues(entity).Where(property => columns.Any(c => c.Name == property.Key))) - { - dynamicParameters.Add(property.Key, property.Value); - } - - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - - return connection.Execute(sql, dynamicParameters, transaction, commandTimeout, CommandType.Text) > 0; - } - public async Task UpdateAsync(IDbConnection connection, T entity, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, bool ignoreAllKeyProperties) where T : class - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate wherePredicate = predicate == null ? GetKeyPredicate(classMap, entity) : GetPredicate(classMap, predicate); - Dictionary parameters = new Dictionary(); - string sql = SqlGenerator.Update(classMap, wherePredicate, parameters, schemaName, tableName); - DynamicParameters dynamicParameters = new DynamicParameters(); - - var columns = ignoreAllKeyProperties - ? classMap.Properties.Where(p => !(p.Ignored || p.IsReadOnly) && p.KeyType == KeyType.NotAKey) - : classMap.Properties.Where(p => !(p.Ignored || p.IsReadOnly || p.KeyType == KeyType.Identity || p.KeyType == KeyType.Assigned)); - - foreach (var property in ReflectionHelper.GetObjectValues(entity).Where(property => columns.Any(c => c.Name == property.Key))) - { - dynamicParameters.Add(property.Key, property.Value); - } - - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - - return await connection.ExecuteAsync(sql, dynamicParameters, transaction, commandTimeout, CommandType.Text) > 0; - } - - public bool UpdateSet(IDbConnection connection, object entity, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName = null) where T : class - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate wherePredicate = predicate == null ? GetSetKeyPredicate(classMap, entity) : GetPredicate(classMap, predicate); - Dictionary parameters = new Dictionary(); - string sql = SqlGenerator.UpdateSet(classMap, entity, wherePredicate, parameters, schemaName, tableName); - DynamicParameters dynamicParameters = new DynamicParameters(); - - var columns = classMap.Properties.Where(p => !(p.Ignored || p.IsReadOnly || p.KeyType == KeyType.Identity || p.KeyType == KeyType.Assigned)); - - foreach (var property in ReflectionHelper.GetObjectValues(entity).Where(property => columns.Any(c => c.Name.Equals(property.Key)))) - { - dynamicParameters.Add(property.Key, property.Value); - } - - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - - return connection.Execute(sql, dynamicParameters, transaction, commandTimeout, CommandType.Text) > 0; - } - public async Task UpdateSetAsync(IDbConnection connection, object entity, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate wherePredicate = predicate == null ? GetSetKeyPredicate(classMap, entity) : GetPredicate(classMap, predicate); - Dictionary parameters = new Dictionary(); - string sql = SqlGenerator.UpdateSet(classMap, entity, wherePredicate, parameters, schemaName, tableName); - DynamicParameters dynamicParameters = new DynamicParameters(); - - var columns = classMap.Properties.Where(p => !(p.Ignored || p.IsReadOnly || p.KeyType == KeyType.Identity || p.KeyType == KeyType.Assigned)); - - foreach (var property in ReflectionHelper.GetObjectValues(entity).Where(property => columns.Any(c => c.Name.Equals(property.Key)))) - { - dynamicParameters.Add(property.Key, property.Value); - } - - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - - return await connection.ExecuteAsync(sql, dynamicParameters, transaction, commandTimeout, CommandType.Text) > 0; - } - #endregion - - #region Delete - public bool Delete(IDbConnection connection, T entity, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName = null) where T : class - { - var build = BuildDelete(entity, null, tableName, schemaName); - return connection.Execute(build.sql, build.dynamicParameters, transaction, commandTimeout, CommandType.Text) > 0; - } - public bool Delete(IDbConnection connection, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class - { - var build = BuildDelete(null, predicate, tableName, schemaName); - return connection.Execute(build.sql, build.dynamicParameters, transaction, commandTimeout, CommandType.Text) > 0; - } - - public async Task DeleteAsync(IDbConnection connection, T entity, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class - { - var build = BuildDelete(entity, null, tableName, schemaName); - return await connection.ExecuteAsync(build.sql, build.dynamicParameters, transaction, commandTimeout, CommandType.Text) > 0; - } - - - public async Task DeleteAsync(IDbConnection connection, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) where T : class - { - var build = BuildDelete(null, predicate, tableName, schemaName); - return await connection.ExecuteAsync(build.sql, build.dynamicParameters, transaction, commandTimeout, CommandType.Text) > 0; - } - - - protected (string sql, DynamicParameters dynamicParameters) BuildDelete(T entity, object predicate, string tableName, string schemaName) where T : class - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate wherePredicate = entity == null && predicate != null ? GetPredicate(classMap, predicate) : GetKeyPredicate(classMap, entity); - - Dictionary parameters = new Dictionary(); - string sql = SqlGenerator.Delete(classMap, wherePredicate, parameters, schemaName, tableName); - DynamicParameters dynamicParameters = new DynamicParameters(); - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - return (sql, dynamicParameters); - } - - - #endregion - - #region GetList - public IEnumerable GetList(IDbConnection connection, object predicate, IList sort, IDbTransaction transaction, int? commandTimeout, bool buffered, string tableName, string schemaName, IList join, IList alias) where T : class - { - var build = BuildList(predicate, sort, tableName, schemaName, join, alias); - return connection.Query(build.sql, build.dynamicParameters, transaction, buffered, commandTimeout, CommandType.Text); - } - - public async Task> GetListAsync(IDbConnection connection, object predicate, IList sort, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class - { - var build = BuildList(predicate, sort, tableName, schemaName, join, alias); - return await connection.QueryAsync(build.sql, build.dynamicParameters, transaction, commandTimeout, CommandType.Text); - } - - protected (string sql, DynamicParameters dynamicParameters) BuildList(object predicate, IList sort, string tableName, string schemaName, IList join, IList alias) where T : class - { - VerifyJoinPredicate(join, predicate); - - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - Dictionary parameters = new Dictionary(); - IPredicate wherePredicate = GetPredicate(classMap, predicate); - string sql = SqlGenerator.Select(classMap, wherePredicate, sort, parameters, schemaName, tableName, join, alias); - - - DynamicParameters dynamicParameters = new DynamicParameters(); - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - return (sql, dynamicParameters); - } - - - #endregion - - #region GetPage - public IEnumerable GetPage(IDbConnection connection, object predicate, IList sort, int page, int resultsPerPage, IDbTransaction transaction, int? commandTimeout, bool buffered, string tableName, string schemaName, IList join, IList alias) where T : class - { - var build = BuildPage(predicate, sort, page, resultsPerPage, tableName, schemaName, join, alias); - return connection.Query(build.sql, build.dynamicParameters, transaction, buffered, commandTimeout, CommandType.Text); - } - - public async Task> GetPageAsync(IDbConnection connection, object predicate, IList sort, int page, int resultsPerPage, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class - { - var build = BuildPage(predicate, sort, page, resultsPerPage, tableName, schemaName, join, alias); - return await connection.QueryAsync(build.sql, build.dynamicParameters, transaction, commandTimeout, CommandType.Text); - } - - protected (string sql, DynamicParameters dynamicParameters) BuildPage(object predicate, IList sort, int page, int resultsPerPage, string tableName, string schemaName, IList join, IList alias) where T : class - { - VerifyJoinPredicate(join, predicate); - - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate wherePredicate = GetPredicate(classMap, predicate); - Dictionary parameters = new Dictionary(); - - string sql = SqlGenerator.SelectPaged(classMap, wherePredicate, sort, page, resultsPerPage, parameters, schemaName, tableName, join, alias); - DynamicParameters dynamicParameters = new DynamicParameters(); - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - return (sql, dynamicParameters); - } - - - #endregion - - #region GetPages - - public Page GetPages(IDbConnection connection, object predicate, IList sort, int page, int resultsPerPage, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class - { - var PageResult = new Page() { CurrentPage = page, ItemsPerPage = resultsPerPage }; - PageResult.TotalItems = Count(connection, predicate, transaction, commandTimeout, tableName, schemaName, join); - if (PageResult.TotalItems == 0) - { - PageResult.Items = new List(); - return PageResult; - } - var build = BuildPage(predicate, sort, page, resultsPerPage, tableName, schemaName, join, alias); - PageResult.Items = connection.Query(build.sql, build.dynamicParameters, transaction, false, commandTimeout, CommandType.Text); - return PageResult; - } - public async Task> GetPagesAsync(IDbConnection connection, object predicate, IList sort, int page, int resultsPerPage, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class - { - var PageResult = new Page() { CurrentPage = page, ItemsPerPage = resultsPerPage }; - PageResult.TotalItems = await CountAsync(connection, predicate, transaction, commandTimeout, tableName, schemaName, join); - if (PageResult.TotalItems == 0) - { - PageResult.Items = new List(); - return PageResult; - } - var build = BuildPage(predicate, sort, page, resultsPerPage, tableName, schemaName, join, alias); - PageResult.Items = await connection.QueryAsync(build.sql, build.dynamicParameters, transaction, commandTimeout, CommandType.Text); - return PageResult; - } - #endregion - - #region GetSet - public IEnumerable GetSet(IDbConnection connection, object predicate, IList sort, int firstResult, int maxResults, IDbTransaction transaction, int? commandTimeout, bool buffered, string tableName, string schemaName, IList join, IList alias) where T : class - { - var build = BuildPage(predicate, sort, firstResult, maxResults, tableName, schemaName, join, alias); - return connection.Query(build.sql, build.dynamicParameters, transaction, buffered, commandTimeout, CommandType.Text); - } - - public async Task> GetSetAsync(IDbConnection connection, object predicate, IList sort, int firstResult, int maxResults, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join, IList alias) where T : class - { - var build = BuildPage(predicate, sort, firstResult, maxResults, tableName, schemaName, join, alias); - return await connection.QueryAsync(build.sql, build.dynamicParameters, transaction, commandTimeout, CommandType.Text); - } - - protected (string sql, DynamicParameters dynamicParameters) BuildGetSet(object predicate, IList sort, int firstResult, int maxResults, string tableName, string schemaName, IList join, IList alias) where T : class - { - VerifyJoinPredicate(join, predicate); - - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate wherePredicate = GetPredicate(classMap, predicate); - Dictionary parameters = new Dictionary(); - string sql = SqlGenerator.SelectSet(classMap, wherePredicate, sort, firstResult, maxResults, parameters, schemaName, tableName, join, alias); - DynamicParameters dynamicParameters = new DynamicParameters(); - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - return (sql, dynamicParameters); - } - - #endregion - - #region Count - public long Count(IDbConnection connection, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join) where T : class - { - var build = BuildCount(predicate, tableName, schemaName, join); - return (long)(connection.Query(build.sql, build.dynamicParameters, transaction, false, commandTimeout, CommandType.Text).Single().Total); - } - - public async Task CountAsync(IDbConnection connection, object predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName, IList join) where T : class - { - var build = BuildCount(predicate, tableName, schemaName, join); - return (int)(await connection.QueryAsync(build.sql, build.dynamicParameters, transaction, commandTimeout, CommandType.Text)).Single().Total; - } - - protected (string sql, DynamicParameters dynamicParameters) BuildCount(object predicate, string tableName, string schemaName, IList join) where T : class - { - VerifyJoinPredicate(join, predicate); - - IClassMapper classMap = SqlGenerator.Configuration.GetMap(); - IPredicate wherePredicate = GetPredicate(classMap, predicate); - Dictionary parameters = new Dictionary(); - string sql = SqlGenerator.Count(classMap, wherePredicate, parameters, schemaName, tableName, join); - DynamicParameters dynamicParameters = new DynamicParameters(); - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - return (sql, dynamicParameters); - } - - #endregion - - #region GetMultiple - - public IMultipleResultReader GetMultiple(IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) - { - if (SqlGenerator.SupportsMultipleStatements()) - { - return GetMultipleByBatch(connection, predicate, transaction, commandTimeout, tableName, schemaName); - } - - return GetMultipleBySequence(connection, predicate, transaction, commandTimeout, tableName, schemaName); - } - public async Task GetMultipleAsync(IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) - { - if (SqlGenerator.SupportsMultipleStatements()) - { - return await GetMultipleByBatchAsync(connection, predicate, transaction, commandTimeout, tableName, schemaName); - } - - return await GetMultipleBySequenceAsync(connection, predicate, transaction, commandTimeout, tableName, schemaName); - } - - #endregion - - #region Helpers - - protected IPredicate GetPredicate(IClassMapper classMap, object predicate) - { - IPredicate wherePredicate = predicate as IPredicate; - if (wherePredicate == null && predicate != null) - { - wherePredicate = GetEntityPredicate(classMap, predicate); - } - - return wherePredicate; - } - - protected IPredicate GetIdPredicate(IClassMapper classMap, object id) - { - bool isSimpleType = ReflectionHelper.IsSimpleType(id.GetType()); - var keys = classMap.Properties.Where(p => p.KeyType != KeyType.NotAKey); - IDictionary paramValues = null; - IList predicates = new List(); - if (!isSimpleType) - { - paramValues = ReflectionHelper.GetObjectValues(id); - } - - foreach (var key in keys) - { - object value = id; - if (!isSimpleType) - { - value = paramValues[key.Name]; - } - - Type predicateType = typeof(FieldPredicate<>).MakeGenericType(classMap.EntityType); - - IFieldPredicate fieldPredicate = Activator.CreateInstance(predicateType) as IFieldPredicate; - fieldPredicate.Not = false; - fieldPredicate.Operator = Operator.Eq; - fieldPredicate.PropertyName = key.Name; - fieldPredicate.Value = value; - predicates.Add(fieldPredicate); - } - - return predicates.Count == 1 - ? predicates[0] - : new PredicateGroup - { - Operator = GroupOperator.And, - Predicates = predicates - }; - } - - protected IPredicate GetKeyPredicate(IClassMapper classMap, T entity) where T : class - { - var whereFields = classMap.Properties.Where(p => p.KeyType != KeyType.NotAKey); - if (!whereFields.Any()) - { - throw new ArgumentException("At least one Key column must be defined."); - } - - IList predicates = (from field in whereFields - select new FieldPredicate - { - Not = false, - Operator = Operator.Eq, - PropertyName = field.Name, - Value = field.PropertyInfo.GetValue(entity, null) - }).Cast().ToList(); - - return predicates.Count == 1 - ? predicates[0] - : new PredicateGroup - { - Operator = GroupOperator.And, - Predicates = predicates - }; - } - - protected IPredicate GetSetKeyPredicate(IClassMapper classMap, object entity) where T : class - { - var whereFields = classMap.Properties.Where(p => p.KeyType != KeyType.NotAKey); - if (!whereFields.Any()) - { - throw new ArgumentException("At least one Key column must be defined."); - } - var vKeyValue = ReflectionHelper.GetObjectValues(entity); - IList predicates = (from field in whereFields - select new FieldPredicate - { - Not = false, - Operator = Operator.Eq, - PropertyName = field.Name, - Value = vKeyValue.Where(w => w.Key.Equals(field.Name, StringComparison.OrdinalIgnoreCase)).First().Value - }).Cast().ToList(); - - return predicates.Count == 1 - ? predicates[0] - : new PredicateGroup - { - Operator = GroupOperator.And, - Predicates = predicates - }; - } - - protected IPredicate GetEntityPredicate(IClassMapper classMap, object entity) - { - Type predicateType = typeof(FieldPredicate<>).MakeGenericType(classMap.EntityType); - IList predicates = new List(); - foreach (var kvp in ReflectionHelper.GetObjectValues(entity)) - { - IFieldPredicate fieldPredicate = Activator.CreateInstance(predicateType) as IFieldPredicate; - fieldPredicate.Not = false; - fieldPredicate.Operator = Operator.Eq; - fieldPredicate.PropertyName = kvp.Key; - fieldPredicate.Value = kvp.Value; - predicates.Add(fieldPredicate); - } - - return predicates.Count == 1 - ? predicates[0] - : new PredicateGroup - { - Operator = GroupOperator.And, - Predicates = predicates - }; - } - - protected GridReaderResultReader GetMultipleByBatch(IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) - { - Dictionary parameters = new Dictionary(); - StringBuilder sql = new StringBuilder(); - foreach (var item in predicate.Items) - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(item.Type); - IPredicate itemPredicate = item.Value as IPredicate; - if (itemPredicate == null && item.Value != null) - { - itemPredicate = GetPredicate(classMap, item.Value); - } - - sql.AppendLine(SqlGenerator.Select(classMap, itemPredicate, item.Sort, parameters,schemaName, tableName) + SqlGenerator.Configuration.Dialect.BatchSeperator); - } - - DynamicParameters dynamicParameters = new DynamicParameters(); - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - - SqlMapper.GridReader grid = connection.QueryMultiple(sql.ToString(), dynamicParameters, transaction, commandTimeout, CommandType.Text); - return new GridReaderResultReader(grid); - } - - protected SequenceReaderResultReader GetMultipleBySequence(IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) - { - IList items = new List(); - foreach (var item in predicate.Items) - { - Dictionary parameters = new Dictionary(); - IClassMapper classMap = SqlGenerator.Configuration.GetMap(item.Type); - IPredicate itemPredicate = item.Value as IPredicate; - if (itemPredicate == null && item.Value != null) - { - itemPredicate = GetPredicate(classMap, item.Value); - } - - string sql = SqlGenerator.Select(classMap, itemPredicate, item.Sort, parameters,schemaName, tableName); - DynamicParameters dynamicParameters = new DynamicParameters(); - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - - SqlMapper.GridReader queryResult = connection.QueryMultiple(sql, dynamicParameters, transaction, commandTimeout, CommandType.Text); - items.Add(queryResult); - } - - return new SequenceReaderResultReader(items); - } - - - protected async Task GetMultipleByBatchAsync(IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) - { - Dictionary parameters = new Dictionary(); - StringBuilder sql = new StringBuilder(); - foreach (var item in predicate.Items) - { - IClassMapper classMap = SqlGenerator.Configuration.GetMap(item.Type); - IPredicate itemPredicate = item.Value as IPredicate; - if (itemPredicate == null && item.Value != null) - { - itemPredicate = GetPredicate(classMap, item.Value); - } - - sql.AppendLine(SqlGenerator.Select(classMap, itemPredicate, item.Sort, parameters, schemaName, tableName) + SqlGenerator.Configuration.Dialect.BatchSeperator); - } - - DynamicParameters dynamicParameters = new DynamicParameters(); - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - - SqlMapper.GridReader grid = await connection.QueryMultipleAsync(sql.ToString(), dynamicParameters, transaction, commandTimeout, CommandType.Text); - return new GridReaderResultReader(grid); - } - - protected async Task GetMultipleBySequenceAsync(IDbConnection connection, GetMultiplePredicate predicate, IDbTransaction transaction, int? commandTimeout, string tableName, string schemaName) - { - IList items = new List(); - foreach (var item in predicate.Items) - { - Dictionary parameters = new Dictionary(); - IClassMapper classMap = SqlGenerator.Configuration.GetMap(item.Type); - IPredicate itemPredicate = item.Value as IPredicate; - if (itemPredicate == null && item.Value != null) - { - itemPredicate = GetPredicate(classMap, item.Value); - } - - string sql = SqlGenerator.Select(classMap, itemPredicate, item.Sort, parameters, schemaName, tableName); - DynamicParameters dynamicParameters = new DynamicParameters(); - foreach (var parameter in parameters) - { - dynamicParameters.Add(parameter.Key, parameter.Value); - } - - SqlMapper.GridReader queryResult = await connection.QueryMultipleAsync(sql, dynamicParameters, transaction, commandTimeout, CommandType.Text); - items.Add(queryResult); - } - - return new SequenceReaderResultReader(items); - } - - /// - /// 检测join模式下的条件参数类型 - /// - /// - /// - protected void VerifyJoinPredicate(IList join, object predicate) - { - //联合查询时,参数必须是IPredicate格式,不能是anonymoustype、IEnumerable> - if (join != null && join.Count > 0 && predicate != null && (predicate as IPredicate) == null) - { - throw new Exception(" join predicate = IPredicate"); - } - } - #endregion - } -} diff --git a/samples/Common/Repository.Dapper.Core/Database.cs b/samples/Common/Repository.Dapper.Core/Database.cs deleted file mode 100644 index 2bf0145bb..000000000 --- a/samples/Common/Repository.Dapper.Core/Database.cs +++ /dev/null @@ -1,159 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Linq; -using System.Text; -using Repository.Dapper.Core.Mapper; -using Repository.Dapper.Core.Sql; -using System.Threading.Tasks; -using Microsoft.Extensions.Options; - -namespace Repository.Dapper.Core -{ - public partial interface IDatabase : IDisposable - { - bool HasActiveTransaction { get; } - IDbConnection Connection { get; } - void BeginTransaction(IsolationLevel isolationLevel = IsolationLevel.ReadCommitted); - void Commit(); - void Rollback(); - void RunInTransaction(Action action); - T RunInTransaction(Func func); - void ClearCache(); - Guid GetNextGuid(); - IClassMapper GetMap() where T : class; - - } - - public partial class Database : IDatabase - { - - private readonly IDapperImplementor _dapper; - - private IDbTransaction _transaction; - - public Database(IDbConnection connection, ISqlGenerator sqlGenerator) - { - _dapper = new DapperImplementor(sqlGenerator); - Connection = connection; - - if (Connection.State != ConnectionState.Open) - { - Connection.Open(); - } - } - public Database(IOptions options, IDapperExtensionsConfiguration Configuration) - { - _dapper = new DapperImplementor(new SqlGeneratorImpl(Configuration)); - Connection = options.Value.DbConnection(); - - if (Connection.State != ConnectionState.Open) - { - Connection.Open(); - } - } - - public bool HasActiveTransaction - { - get - { - return _transaction != null; - } - } - - public IDbConnection Connection { get; private set; } - - public void Dispose() - { - if (Connection.State != ConnectionState.Closed) - { - if (_transaction != null) - { - _transaction.Rollback(); - } - - Connection.Close(); - } - } - - public void BeginTransaction(IsolationLevel isolationLevel = IsolationLevel.ReadCommitted) - { - _transaction = Connection.BeginTransaction(isolationLevel); - } - - public void Commit() - { - _transaction.Commit(); - _transaction = null; - } - - public void Rollback() - { - _transaction.Rollback(); - _transaction = null; - } - - public void RunInTransaction(Action action) - { - BeginTransaction(); - try - { - action(); - Commit(); - } - catch (Exception ex) - { - if (HasActiveTransaction) - { - Rollback(); - } - - throw ex; - } - } - - public T RunInTransaction(Func func) - { - BeginTransaction(); - try - { - T result = func(); - Commit(); - return result; - } - catch (Exception ex) - { - if (HasActiveTransaction) - { - Rollback(); - } - - throw ex; - } - } - - public void ClearCache() - { - _dapper.SqlGenerator.Configuration.ClearCache(); - } - - public Guid GetNextGuid() - { - return _dapper.SqlGenerator.Configuration.GetNextGuid(); - } - - public IClassMapper GetMap() where T : class - { - return _dapper.SqlGenerator.Configuration.GetMap(); - } - - - } - - public class DataBaseOptions - { - public ISqlDialect sqlDialect { get; set; } - - public Func DbConnection { get; set; } - } -} diff --git a/samples/Common/Repository.Dapper.Core/DatabasePartial.cs b/samples/Common/Repository.Dapper.Core/DatabasePartial.cs deleted file mode 100644 index 4cd8ba6dd..000000000 --- a/samples/Common/Repository.Dapper.Core/DatabasePartial.cs +++ /dev/null @@ -1,514 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Text; -using System.Threading.Tasks; - -namespace Repository.Dapper.Core -{ - public partial interface IDatabase - { - #region Count - long Count(object predicate = null, int? commandTimeout = null) where T : class; - long Count(string tableName, object predicate = null, int? commandTimeout = null) where T : class; - long Count(string tableName, string schemaName, object predicate = null, int? commandTimeout = null) where T : class; - - Task CountAsync(object predicate = null, int? commandTimeout = null) where T : class; - Task CountAsync(string tableName, object predicate = null, int? commandTimeout = null) where T : class; - Task CountAsync(string tableName, string schemaName, object predicate = null, int? commandTimeout = null) where T : class; - - - long Count(IList join, object predicate = null, int? commandTimeout = null) where T : class; - - Task CountAsync(IList join, object predicate = null, int? commandTimeout = null) where T : class; - - #endregion - - #region Delete - bool Delete(T entity, int? commandTimeout = null) where T : class; - bool Delete(string tableName, T entity, int? commandTimeout = null) where T : class; - bool Delete(string tableName, string schemaName, T entity, int? commandTimeout = null) where T : class; - - bool Delete(object predicate, int? commandTimeout = null) where T : class; - bool Delete(string tableName, object predicate, int? commandTimeout = null) where T : class; - bool Delete(string tableName, string schemaName, object predicate, int? commandTimeout = null) where T : class; - - Task DeleteAsync(T entity, int? commandTimeout = null) where T : class; - Task DeleteAsync(string tableName, T entity, int? commandTimeout = null) where T : class; - Task DeleteAsync(string tableName, string schemaName, T entity, int? commandTimeout = null) where T : class; - - Task DeleteAsync(object predicate, int? commandTimeout = null) where T : class; - Task DeleteAsync(string tableName, object predicate, int? commandTimeout = null) where T : class; - Task DeleteAsync(string tableName, string schemaName, object predicate, int? commandTimeout = null) where T : class; - #endregion - - #region Get - T Get(dynamic id, int? commandTimeout = null) where T : class; - T Get(dynamic id, string tableName, int? commandTimeout = null) where T : class; - T Get(dynamic id, string tableName, string schemaName, int? commandTimeout = null) where T : class; - - Task GetAsync(dynamic id, int? commandTimeout = null) where T : class; - Task GetAsync(dynamic id, string tableName, int? commandTimeout = null) where T : class; - Task GetAsync(dynamic id, string tableName, string schemaName, int? commandTimeout = null) where T : class; - - T Get(IList join, dynamic id, int? commandTimeout = null) where T : class; - T Get(IList join, IList alias, dynamic id, int? commandTimeout = null) where T : class; - - Task GetAsync(IList join, dynamic id, int? commandTimeout = null) where T : class; - Task GetAsync(IList join, IList alias, dynamic id, int? commandTimeout = null) where T : class; - #endregion - - #region GetList - IEnumerable GetList(object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - IEnumerable GetList(string tableName, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - IEnumerable GetList(string tableName, string schemaName, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - - Task> GetListAsync(object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Task> GetListAsync(string tableName, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Task> GetListAsync(string tableName, string schemaName, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - - IEnumerable GetList(IList join, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - - IEnumerable GetList(IList join, IList alias = null, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - - Task> GetListAsync(IList join, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - Task> GetListAsync(IList join, IList alias = null, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - #endregion - - #region GetMultiple - IMultipleResultReader GetMultiple(GetMultiplePredicate predicate = null, int? commandTimeout = null); - IMultipleResultReader GetMultiple(string tableName, GetMultiplePredicate predicate = null, int? commandTimeout = null); - IMultipleResultReader GetMultiple(string tableName, string schemaName, GetMultiplePredicate predicate = null, int? commandTimeout = null); - Task GetMultipleAsync(GetMultiplePredicate predicate = null, int? commandTimeout = null); - Task GetMultipleAsync(string tableName, GetMultiplePredicate predicate = null, int? commandTimeout = null); - Task GetMultipleAsync(string tableName, string schemaName, GetMultiplePredicate predicate = null, int? commandTimeout = null); - #endregion - - #region GetPage - IEnumerable GetPage(int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - IEnumerable GetPage(string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - IEnumerable GetPage(string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - - - Task> GetPageAsync(int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Task> GetPageAsync(string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Task> GetPageAsync(string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - IEnumerable GetPage(IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - - IEnumerable GetPage(IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class; - - Task> GetPageAsync(IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - Task> GetPageAsync(IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - #endregion - - - #region GetPages - Page GetPages(int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Page GetPages(string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Page GetPages(string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - Task> GetPagesAsync(int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Task> GetPagesAsync(string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Task> GetPagesAsync(string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - Page GetPages(IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Page GetPages(IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - Task> GetPagesAsync(IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - Task> GetPagesAsync(IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class; - - #endregion - - #region GetSet - IEnumerable GetSet(object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class; - IEnumerable GetSet(string tableName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class; - IEnumerable GetSet(string tableName, string schemaName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class; - Task> GetSetAsync(object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class; - Task> GetSetAsync(string tableName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class; - Task> GetSetAsync(string tableName, string schemaName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class; - - IEnumerable GetSet(IList join, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class; - - IEnumerable GetSet(IList join, IList alias, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class; - Task> GetSetAsync(IList join, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class; - - Task> GetSetAsync(IList join, IList alias, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class; - - #endregion - - #region Insert - void Insert(IEnumerable entities, int? commandTimeout = null) where T : class; - void Insert(string tableName, IEnumerable entities, int? commandTimeout = null) where T : class; - void Insert(string tableName, string schemaName, IEnumerable entities, int? commandTimeout = null) where T : class; - - dynamic Insert(T entity, int? commandTimeout = null) where T : class; - dynamic Insert(string tableName, T entity, int? commandTimeout = null) where T : class; - dynamic Insert(string tableName, string schemaName, T entity, int? commandTimeout = null) where T : class; - #endregion - - #region Update - - bool Update(T entity, object predicate = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class; - bool Update(string tableName, T entity, object predicate = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class; - bool Update(string tableName, string schemaName, T entity, object predicate = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class; - - - bool UpdateSet(object entity, object predicate = null, int? commandTimeout = null) where T : class; - bool UpdateSet(string tableName, object entity, object predicate = null, int? commandTimeout = null) where T : class; - bool UpdateSet(string tableName, string schemaName, object entity, object predicate = null, int? commandTimeout = null) where T : class; - - - - - Task UpdateAsync(T entity, object predicate = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class; - Task UpdateAsync(string tableName, T entity, object predicate = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class; - Task UpdateAsync(string tableName, string schemaName, T entity, object predicate = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class; - - Task UpdateSetAsync(object entity, object predicate = null, int? commandTimeout = null) where T : class; - Task UpdateSetAsync(string tableName, object entity, object predicate = null, int? commandTimeout = null) where T : class; - Task UpdateSetAsync(string tableName, string schemaName, object entity, object predicate = null, int? commandTimeout = null) where T : class; - - - #endregion - - } - public partial class Database - { - #region Count - public long Count(object predicate = null, int? commandTimeout = null) where T : class - => Count((string)null, predicate, commandTimeout); - - public long Count(string tableName, object predicate = null, int? commandTimeout = null) where T : class - => Count(tableName, null, predicate, commandTimeout); - - public long Count(string tableName, string schemaName, object predicate = null, int? commandTimeout = null) where T : class - => _dapper.Count(Connection, predicate, _transaction, commandTimeout, tableName, schemaName, null); - - public async Task CountAsync(object predicate = null, int? commandTimeout = null) where T : class - => await CountAsync((string)null, predicate, commandTimeout); - - public async Task CountAsync(string tableName, object predicate = null, int? commandTimeout = null) where T : class - => await CountAsync(tableName, null, predicate, commandTimeout); - - public async Task CountAsync(string tableName, string schemaName, object predicate = null, int? commandTimeout = null) where T : class - => await _dapper.CountAsync(Connection, predicate, _transaction, commandTimeout, tableName, schemaName, null); - - public long Count(IList join, object predicate = null, int? commandTimeout = null) where T : class - => _dapper.Count(Connection, predicate, _transaction, commandTimeout, null, null, join); - - public async Task CountAsync(IList join, object predicate = null, int? commandTimeout = null) where T : class - => await _dapper.CountAsync(Connection, predicate, _transaction, commandTimeout, null, null, join); - #endregion - - #region Delete - public bool Delete(T entity, int? commandTimeout = null) where T : class - => Delete(null, entity, commandTimeout); - - public bool Delete(string tableName, T entity, int? commandTimeout = null) where T : class - => Delete(tableName, null, entity, commandTimeout); - - public bool Delete(string tableName, string schemaName, T entity, int? commandTimeout = null) where T : class - => _dapper.Delete(Connection, entity, _transaction, commandTimeout, tableName, schemaName); - - - public bool Delete(object predicate, int? commandTimeout = null) where T : class - => Delete(null, predicate, commandTimeout); - - public bool Delete(string tableName, object predicate, int? commandTimeout = null) where T : class - => Delete(tableName, null, predicate, commandTimeout); - - public bool Delete(string tableName, string schemaName, object predicate, int? commandTimeout = null) where T : class - => _dapper.Delete(Connection, predicate, _transaction, commandTimeout, tableName, schemaName); - - - public async Task DeleteAsync(T entity, int? commandTimeout = null) where T : class - => await DeleteAsync(null, entity, commandTimeout); - - public async Task DeleteAsync(string tableName, T entity, int? commandTimeout = null) where T : class - => await DeleteAsync(tableName, null, entity, commandTimeout); - - public async Task DeleteAsync(string tableName, string schemaName, T entity, int? commandTimeout = null) where T : class - => await _dapper.DeleteAsync(Connection, entity, _transaction, commandTimeout, tableName, schemaName); - - - public async Task DeleteAsync(object predicate, int? commandTimeout = null) where T : class - => await DeleteAsync(null, predicate, commandTimeout); - - public async Task DeleteAsync(string tableName, object predicate, int? commandTimeout = null) where T : class - => await DeleteAsync(tableName, null, predicate, commandTimeout); - - public async Task DeleteAsync(string tableName, string schemaName, object predicate, int? commandTimeout = null) where T : class - => await _dapper.DeleteAsync(Connection, predicate, _transaction, commandTimeout, tableName, schemaName); - - #endregion - - #region Get - public T Get(dynamic id, int? commandTimeout = null) where T : class - => Get(id, (string)null, commandTimeout); - - public T Get(dynamic id, string tableName, int? commandTimeout = null) where T : class - => Get(id, tableName, (string)null, commandTimeout); - - public T Get(dynamic id, string tableName, string schemaName, int? commandTimeout = null) where T : class - => (T)_dapper.Get(Connection, id, _transaction, commandTimeout, tableName, schemaName, null, null); - - - public async Task GetAsync(dynamic id, int? commandTimeout = null) where T : class - => await GetAsync(id, (string)null, commandTimeout); - - public async Task GetAsync(dynamic id, string tableName, int? commandTimeout = null) where T : class - => await GetAsync(id, tableName, (string)null, commandTimeout); - - public async Task GetAsync(dynamic id, string tableName, string schemaName, int? commandTimeout = null) where T : class - => await _dapper.GetAsync(Connection, id, _transaction, commandTimeout, tableName, schemaName, null, null); - - - - public T Get(IList join, dynamic id, int? commandTimeout = null) where T : class - => Get(join, null, id, commandTimeout); - - public T Get(IList join, IList alias, dynamic id, int? commandTimeout = null) where T : class - => (T)_dapper.Get(Connection, id, _transaction, commandTimeout, null, null, join, alias); - - public async Task GetAsync(IList join, dynamic id, int? commandTimeout = null) where T : class - => await GetAsync(join, null, id, commandTimeout); - public async Task GetAsync(IList join, IList alias, dynamic id, int? commandTimeout = null) where T : class - => await _dapper.GetAsync(Connection, id, _transaction, commandTimeout, null, null, join, alias); - #endregion - - #region GetList - - public IEnumerable GetList(object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => GetList((string)null, predicate, sort, commandTimeout, buffered); - - public IEnumerable GetList(string tableName, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => GetList(tableName, null, predicate, sort, commandTimeout, buffered); - - public IEnumerable GetList(string tableName, string schemaName, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => _dapper.GetList(Connection, predicate, sort, _transaction, commandTimeout, buffered, tableName, schemaName, null, null); - - - public async Task> GetListAsync(object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await GetListAsync((string)null, predicate, sort, commandTimeout); - - public async Task> GetListAsync(string tableName, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await GetListAsync(tableName, null, predicate, sort, commandTimeout); - - public async Task> GetListAsync(string tableName, string schemaName, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await _dapper.GetListAsync(Connection, predicate, sort, _transaction, commandTimeout, tableName, schemaName, null, null); - - - - public IEnumerable GetList(IList join, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => GetList(join, null, predicate, sort, commandTimeout, buffered); - - public IEnumerable GetList(IList join, IList alias = null, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => _dapper.GetList(Connection, predicate, sort, _transaction, commandTimeout, buffered, null, null, join, alias); - - public async Task> GetListAsync(IList join, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await GetListAsync(join, null, predicate, sort, commandTimeout); - - public async Task> GetListAsync(IList join, IList alias = null, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await _dapper.GetListAsync(Connection, predicate, sort, _transaction, commandTimeout, null, null, join, alias); - - #endregion - - #region GetMultiple - - public IMultipleResultReader GetMultiple(GetMultiplePredicate predicate = null, int? commandTimeout = null) - => GetMultiple(null, predicate, commandTimeout); - public IMultipleResultReader GetMultiple(string tableName, GetMultiplePredicate predicate = null, int? commandTimeout = null) - => GetMultiple(tableName, null, predicate, commandTimeout); - public IMultipleResultReader GetMultiple(string tableName, string schemaName, GetMultiplePredicate predicate = null, int? commandTimeout = null) - => _dapper.GetMultiple(Connection, predicate, _transaction, commandTimeout, tableName, schemaName); - - - - - public async Task GetMultipleAsync(GetMultiplePredicate predicate = null, int? commandTimeout = null) - => await GetMultipleAsync(null, predicate, commandTimeout); - - public async Task GetMultipleAsync(string tableName, GetMultiplePredicate predicate = null, int? commandTimeout = null) - => await GetMultipleAsync(tableName, null, predicate, commandTimeout); - - public async Task GetMultipleAsync(string tableName, string schemaName, GetMultiplePredicate predicate = null, int? commandTimeout = null) - => await _dapper.GetMultipleAsync(Connection, predicate, _transaction, commandTimeout, tableName, schemaName); - - #endregion - - - #region GetPage - public IEnumerable GetPage(int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => GetPage((string)null, page, resultsPerPage, predicate, sort, commandTimeout); - - public IEnumerable GetPage(string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => GetPage(tableName, null, page, resultsPerPage, predicate, sort, commandTimeout); - - public IEnumerable GetPage(string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => _dapper.GetPage(Connection, predicate, sort, page, resultsPerPage, _transaction, commandTimeout, buffered, tableName, schemaName, null, null); - - - public async Task> GetPageAsync(int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await GetPageAsync((string)null, page, resultsPerPage, predicate, sort, commandTimeout); - - public async Task> GetPageAsync(string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await GetPageAsync(tableName, null, page, resultsPerPage, predicate, sort, commandTimeout); - - public async Task> GetPageAsync(string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await _dapper.GetPageAsync(Connection, predicate, sort, page, resultsPerPage, _transaction, commandTimeout, tableName, schemaName, null, null); - - public IEnumerable GetPage(IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => GetPage(join, null, page, resultsPerPage, predicate, sort, commandTimeout); - public IEnumerable GetPage(IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null, bool buffered = true) where T : class - => _dapper.GetPage(Connection, predicate, sort, page, resultsPerPage, _transaction, commandTimeout, buffered, null, null, join, alias); - public async Task> GetPageAsync(IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await GetPageAsync(join, null, page, resultsPerPage, predicate, sort, commandTimeout); - public async Task> GetPageAsync(IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await _dapper.GetPageAsync(Connection, predicate, sort, page, resultsPerPage, _transaction, commandTimeout, null, null, join, alias); - - #endregion - - #region GetPages - - public Page GetPages(int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => GetPages((string)null, page, resultsPerPage, predicate, sort, commandTimeout); - - public Page GetPages(string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => GetPages(tableName, null, page, resultsPerPage, predicate, sort, commandTimeout); - - public Page GetPages(string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => _dapper.GetPages(Connection, predicate, sort, page, resultsPerPage, _transaction, commandTimeout, tableName, schemaName, null, null); - - - public async Task> GetPagesAsync(int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await GetPagesAsync((string)null, page, resultsPerPage, predicate, sort, commandTimeout); - - public async Task> GetPagesAsync(string tableName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await GetPagesAsync(tableName, null, page, resultsPerPage, predicate, sort, commandTimeout); - - public async Task> GetPagesAsync(string tableName, string schemaName, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await _dapper.GetPagesAsync(Connection, predicate, sort, page, resultsPerPage, _transaction, commandTimeout, tableName, schemaName, null, null); - - public Page GetPages(IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => GetPages(join, null, page, resultsPerPage, predicate, sort, commandTimeout); - - public Page GetPages(IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => _dapper.GetPages(Connection, predicate, sort, page, resultsPerPage, _transaction, commandTimeout, null, null, join, alias); - public async Task> GetPagesAsync(IList join, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await GetPagesAsync(join, null, page, resultsPerPage, predicate, sort, commandTimeout); - public async Task> GetPagesAsync(IList join, IList alias, int page = 1, int resultsPerPage = 10, object predicate = null, IList sort = null, int? commandTimeout = null) where T : class - => await _dapper.GetPagesAsync(Connection, predicate, sort, page, resultsPerPage, _transaction, commandTimeout, null, null, join, alias); - - - #endregion - - #region GetSet - public IEnumerable GetSet(object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class - => GetSet((string)null, predicate, sort, firstResult, maxResults, commandTimeout, buffered); - - public IEnumerable GetSet(string tableName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class - => GetSet(tableName, null, predicate, sort, firstResult, maxResults, commandTimeout, buffered); - - public IEnumerable GetSet(string tableName, string schemaName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class - => _dapper.GetSet(Connection, predicate, sort, firstResult, maxResults, _transaction, commandTimeout, buffered, tableName, schemaName, null, null); - - - public async Task> GetSetAsync(object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class - => await GetSetAsync((string)null, predicate, sort, firstResult, maxResults, commandTimeout); - - public async Task> GetSetAsync(string tableName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class - => await GetSetAsync(tableName, null, predicate, sort, firstResult, maxResults, commandTimeout); - - public async Task> GetSetAsync(string tableName, string schemaName, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class - => await _dapper.GetSetAsync(Connection, predicate, sort, firstResult, maxResults, _transaction, commandTimeout, tableName, schemaName, null, null); - - public IEnumerable GetSet(IList join, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class - => GetSet(join, null, predicate, sort, firstResult, maxResults, commandTimeout, buffered); - - public IEnumerable GetSet(IList join, IList alias, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null, bool buffered = true) where T : class - => _dapper.GetSet(Connection, predicate, sort, firstResult, maxResults, _transaction, commandTimeout, buffered, null, null, join, alias); - - public async Task> GetSetAsync(IList join, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class - => await GetSetAsync(join, null, predicate, sort, firstResult, maxResults, commandTimeout); - - public async Task> GetSetAsync(IList join, IList alias, object predicate = null, IList sort = null, int firstResult = 1, int maxResults = 10, int? commandTimeout = null) where T : class - => await _dapper.GetSetAsync(Connection, predicate, sort, firstResult, maxResults, _transaction, commandTimeout, null, null, join, alias); - - #endregion - - #region Insert - public void Insert(IEnumerable entities, int? commandTimeout = null) where T : class - => Insert(null, entities, commandTimeout); - - public void Insert(string tableName, IEnumerable entities, int? commandTimeout = null) where T : class - => Insert(tableName, null, entities, commandTimeout); - - public void Insert(string tableName, string schemaName, IEnumerable entities, int? commandTimeout = null) where T : class - => _dapper.Insert(Connection, entities, _transaction, commandTimeout, tableName, schemaName); - - public dynamic Insert(T entity, int? commandTimeout = null) where T : class - => Insert(null, entity, commandTimeout); - - public dynamic Insert(string tableName, T entity, int? commandTimeout = null) where T : class - => Insert(tableName, null, entity, commandTimeout); - - public dynamic Insert(string tableName, string schemaName, T entity, int? commandTimeout = null) where T : class - => _dapper.Insert(Connection, entity, _transaction, commandTimeout, tableName, schemaName); - #endregion - - #region Update - - public bool Update(T entity, object predicate = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => Update(null, entity, predicate, commandTimeout, ignoreAllKeyProperties); - - public bool Update(string tableName, T entity, object predicate = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => Update(tableName, null, entity, predicate, commandTimeout, ignoreAllKeyProperties); - - public bool Update(string tableName, string schemaName, T entity, object predicate = null, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => _dapper.Update(Connection, entity, predicate, _transaction, commandTimeout, tableName, schemaName, ignoreAllKeyProperties); - - - - public bool UpdateSet(object entity, object predicate = null, int? commandTimeout = null) where T : class - => UpdateSet(null, entity, predicate, commandTimeout); - - public bool UpdateSet(string tableName, object entity, object predicate = null, int? commandTimeout = null) where T : class - => UpdateSet(tableName, null, entity, predicate, commandTimeout); - - public bool UpdateSet(string tableName, string schemaName, object entity, object predicate = null, int? commandTimeout = null) where T : class - => _dapper.UpdateSet(Connection, entity, predicate, _transaction, commandTimeout, tableName, schemaName); - - - - - public async Task UpdateAsync(T entity, object predicate, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => await UpdateAsync(null, entity, predicate, commandTimeout, ignoreAllKeyProperties); - - public async Task UpdateAsync(string tableName, T entity, object predicate, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => await UpdateAsync(tableName, null, entity, predicate, commandTimeout, ignoreAllKeyProperties); - - public async Task UpdateAsync(string tableName, string schemaName, T entity, object predicate, int? commandTimeout = null, bool ignoreAllKeyProperties = false) where T : class - => await _dapper.UpdateAsync(Connection, entity, predicate, _transaction, commandTimeout, tableName, schemaName, ignoreAllKeyProperties); - - - - public async Task UpdateSetAsync(object entity, object predicate = null, int? commandTimeout = null) where T : class - => await UpdateSetAsync(null, entity, predicate, commandTimeout); - - public async Task UpdateSetAsync(string tableName, object entity, object predicate = null, int? commandTimeout = null) where T : class - => await UpdateSetAsync(tableName, null, entity, predicate, commandTimeout); - - public async Task UpdateSetAsync(string tableName, string schemaName, object entity, object predicate = null, int? commandTimeout = null) where T : class - => await _dapper.UpdateSetAsync(Connection, entity, predicate, _transaction, commandTimeout, tableName, schemaName); - - - #endregion - - } -} diff --git a/samples/Common/Repository.Dapper.Core/DatabaseServiceCollectionExtensions.cs b/samples/Common/Repository.Dapper.Core/DatabaseServiceCollectionExtensions.cs deleted file mode 100644 index ea01dcf60..000000000 --- a/samples/Common/Repository.Dapper.Core/DatabaseServiceCollectionExtensions.cs +++ /dev/null @@ -1,105 +0,0 @@ -using Repository.Dapper.Core.Sql; -using Microsoft.Extensions.DependencyInjection; -using System; -using System.Collections.Generic; -using System.Data; -using System.Text; - -namespace Repository.Dapper.Core -{ - public enum ESqlDialect - { - DB2, - MySQL, - Oracle, - PostgreSql, - SqlCe, - Sqlite, - SqlServer - } - public class SqlDialectUtil - { - public static ISqlDialect ConvertESqlDialect(ESqlDialect sqlDialect) - { - ISqlDialect SqlDialect = null; - switch (sqlDialect) - { - case ESqlDialect.DB2: - SqlDialect = new DB2Dialect(); - break; - case ESqlDialect.MySQL: - SqlDialect = new MySqlDialect(); - break; - case ESqlDialect.Oracle: - SqlDialect = new OracleDialect(); - break; - case ESqlDialect.PostgreSql: - SqlDialect = new PostgreSqlDialect(); - break; - case ESqlDialect.SqlCe: - SqlDialect = new SqlCeDialect(); - break; - case ESqlDialect.Sqlite: - SqlDialect = new SqliteDialect(); - break; - case ESqlDialect.SqlServer: - SqlDialect = new SqlServerDialect(); - break; - } - return SqlDialect; - } - } - public static class DatabaseServiceCollectionExtensions - { - - /// - /// 设置SqlDialect,使用默认用法 - /// - /// - /// - /// - /// using(var con=new SqlConnection(Configuration.GetConnectionString("DefaultConnection")) - /// { - /// con.Insert(data); - /// } - /// - /// - public static IServiceCollection AddDapper(this IServiceCollection services, ESqlDialect SqlDialect) - { - DapperExtensions.Configure(SqlDialectUtil.ConvertESqlDialect(SqlDialect)); - - return services; - } - - /// - /// 使用IDatabase用法 - /// - /// - /// - /// - /// 是否同时使用扩展方法 - /// - public static IServiceCollection AddDapperDataBase(this IServiceCollection services, ESqlDialect sqlDialect, Func CreateConnection, bool UseExtension = false) - { - var SqlDialect = SqlDialectUtil.ConvertESqlDialect(sqlDialect); - services.AddOptions(); - services.Configure(opt => - { - opt.DbConnection = CreateConnection; - opt.sqlDialect = SqlDialectUtil.ConvertESqlDialect(sqlDialect); - }); - - if (UseExtension) - { - var Configuration = new DapperExtensionsConfiguration(SqlDialect); - DapperExtensions.Configure(Configuration); - services.AddSingleton(Configuration); - } - else - services.AddSingleton(); - - services.AddTransient(); - return services; - } - } -} diff --git a/samples/Common/Repository.Dapper.Core/GetMultiplePredicate.cs b/samples/Common/Repository.Dapper.Core/GetMultiplePredicate.cs deleted file mode 100644 index e931c2423..000000000 --- a/samples/Common/Repository.Dapper.Core/GetMultiplePredicate.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Repository.Dapper.Core -{ - public class GetMultiplePredicate - { - private readonly List _items; - - public GetMultiplePredicate() - { - _items = new List(); - } - - public IEnumerable Items - { - get { return _items.AsReadOnly(); } - } - - public void Add(IPredicate predicate, IList sort = null) where T : class - { - _items.Add(new GetMultiplePredicateItem - { - Value = predicate, - Type = typeof(T), - Sort = sort - }); - } - - public void Add(object id) where T : class - { - _items.Add(new GetMultiplePredicateItem - { - Value = id, - Type = typeof (T) - }); - } - - public class GetMultiplePredicateItem - { - public object Value { get; set; } - public Type Type { get; set; } - public IList Sort { get; set; } - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/GetMultipleResult.cs b/samples/Common/Repository.Dapper.Core/GetMultipleResult.cs deleted file mode 100644 index 752a8f1d6..000000000 --- a/samples/Common/Repository.Dapper.Core/GetMultipleResult.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Dapper; - -namespace Repository.Dapper.Core -{ - public interface IMultipleResultReader - { - IEnumerable Read(); - } - - public class GridReaderResultReader : IMultipleResultReader - { - private readonly SqlMapper.GridReader _reader; - - public GridReaderResultReader(SqlMapper.GridReader reader) - { - _reader = reader; - } - - public IEnumerable Read() - { - return _reader.Read(); - } - } - - public class SequenceReaderResultReader : IMultipleResultReader - { - private readonly Queue _items; - - public SequenceReaderResultReader(IEnumerable items) - { - _items = new Queue(items); - } - - public IEnumerable Read() - { - SqlMapper.GridReader reader = _items.Dequeue(); - return reader.Read(); - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Mapper/AutoClassMapper.cs b/samples/Common/Repository.Dapper.Core/Mapper/AutoClassMapper.cs deleted file mode 100644 index 29b1cc6c7..000000000 --- a/samples/Common/Repository.Dapper.Core/Mapper/AutoClassMapper.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System.Text; -using System.Linq; -using System.Collections.Generic; -using System; -using System.Reflection; -using System.ComponentModel.DataAnnotations.Schema; - -namespace Repository.Dapper.Core.Mapper -{ - /// - /// Automatically maps an entity to a table using a combination of reflection and naming conventions for keys. - /// - public class AutoClassMapper : ClassMapper where T : class - { - public AutoClassMapper() - { - Type type = typeof(T); - var vTable = type.GetTypeInfo().GetCustomAttributes(typeof(TableAttribute), true).ToArray(); - var TableName = vTable.Length == 0 ? type.Name : (vTable[0] as TableAttribute).Name; - Table(TableName);// Table(type.Name); - if (vTable.Length > 0 && !string.IsNullOrWhiteSpace((vTable[0] as TableAttribute).Schema)) - Schema((vTable[0] as TableAttribute).Schema); - - var vNotKey = type.GetTypeInfo().GetCustomAttributes(typeof(NotKeyAttribute), true).ToArray(); - if (vNotKey.Length > 0) - DefinedKey(false); - AutoMap(); - } - } - - [AttributeUsage(AttributeTargets.Class)] - public sealed class NotKeyAttribute : Attribute - { - public NotKeyAttribute() - { - NoDefinedKey = true; - } - - public bool NoDefinedKey { get; set; } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Mapper/ClassMapper.cs b/samples/Common/Repository.Dapper.Core/Mapper/ClassMapper.cs deleted file mode 100644 index 4ba847cab..000000000 --- a/samples/Common/Repository.Dapper.Core/Mapper/ClassMapper.cs +++ /dev/null @@ -1,180 +0,0 @@ -using System.Numerics; -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using System.ComponentModel.DataAnnotations; - -namespace Repository.Dapper.Core.Mapper -{ - public interface IClassMapper - { - string SchemaName { get; } - string TableName { get; } - IList Properties { get; } - Type EntityType { get; } - } - - public interface IClassMapper : IClassMapper where T : class - { - } - - /// - /// Maps an entity to a table through a collection of property maps. - /// - public class ClassMapper : IClassMapper where T : class - { - /// - /// Gets or sets the schema to use when referring to the corresponding table name in the database. - /// - public string SchemaName { get; protected set; } - - /// - /// Gets or sets the table to use in the database. - /// - public string TableName { get; protected set; } - private bool _HasDefinedKey = true; - public bool HasDefinedKey { get { return _HasDefinedKey; } protected set { _HasDefinedKey = value; } } - - /// - /// A collection of properties that will map to columns in the database table. - /// - public IList Properties { get; private set; } - - public Type EntityType - { - get { return typeof(T); } - } - - public ClassMapper() - { - PropertyTypeKeyTypeMapping = new Dictionary - { - { typeof(byte), KeyType.Identity }, { typeof(byte?), KeyType.Identity }, - { typeof(sbyte), KeyType.Identity }, { typeof(sbyte?), KeyType.Identity }, - { typeof(short), KeyType.Identity }, { typeof(short?), KeyType.Identity }, - { typeof(ushort), KeyType.Identity }, { typeof(ushort?), KeyType.Identity }, - { typeof(int), KeyType.Identity }, { typeof(int?), KeyType.Identity }, - { typeof(uint), KeyType.Identity}, { typeof(uint?), KeyType.Identity }, - { typeof(long), KeyType.Identity }, { typeof(long?), KeyType.Identity }, - { typeof(ulong), KeyType.Identity }, { typeof(ulong?), KeyType.Identity }, - { typeof(BigInteger), KeyType.Identity }, { typeof(BigInteger?), KeyType.Identity }, - { typeof(Guid), KeyType.Guid }, { typeof(Guid?), KeyType.Guid }, - }; - - Properties = new List(); - Table(typeof(T).Name); - } - - protected Dictionary PropertyTypeKeyTypeMapping { get; private set; } - - public virtual void Schema(string schemaName) - { - SchemaName = schemaName; - } - - public virtual void Table(string tableName) - { - TableName = tableName; - } - public virtual void DefinedKey(bool hasDefinedKey) - { - HasDefinedKey = hasDefinedKey; - } - - protected virtual void AutoMap() - { - AutoMap(null); - } - - protected virtual void AutoMap(Func canMap) - { - Type type = typeof(T); - bool hasDefinedKey = Properties.Any(p => p.KeyType != KeyType.NotAKey); - PropertyMap keyMap = null; - foreach (var propertyInfo in type.GetProperties()) - { - if (Properties.Any(p => p.Name.Equals(propertyInfo.Name, StringComparison.InvariantCultureIgnoreCase))) - { - continue; - } - - if ((canMap != null && !canMap(type, propertyInfo))) - { - continue; - } - - PropertyMap map = Map(propertyInfo); - if (!hasDefinedKey && _HasDefinedKey) - { - if (string.Equals(map.PropertyInfo.Name, "id", StringComparison.InvariantCultureIgnoreCase) && !map.Ignored && !map.IsReadOnly) - { - keyMap = map; - } - - if (keyMap == null && map.PropertyInfo.Name.EndsWith("id", true, CultureInfo.InvariantCulture) && !map.Ignored && !map.IsReadOnly) - { - keyMap = map; - } - var KeyAttr = propertyInfo.GetCustomAttributes(typeof(KeyAttribute), true).ToArray(); - if (KeyAttr.Length > 0) - keyMap = map; - } - } - - if (keyMap != null) - { - keyMap.Key(PropertyTypeKeyTypeMapping.ContainsKey(keyMap.PropertyInfo.PropertyType) - ? PropertyTypeKeyTypeMapping[keyMap.PropertyInfo.PropertyType] - : KeyType.Assigned); - } - } - - /// - /// Fluently, maps an entity property to a column - /// - protected PropertyMap Map(Expression> expression) - { - PropertyInfo propertyInfo = ReflectionHelper.GetProperty(expression) as PropertyInfo; - return Map(propertyInfo); - } - - /// - /// Fluently, maps an entity property to a column - /// - protected PropertyMap Map(PropertyInfo propertyInfo) - { - PropertyMap result = new PropertyMap(propertyInfo); - this.GuardForDuplicatePropertyMap(result); - Properties.Add(result); - return result; - } - - /// - /// Removes a propertymap entry - /// - /// - protected void UnMap(Expression> expression) - { - var propertyInfo = ReflectionHelper.GetProperty(expression) as PropertyInfo; - var mapping = this.Properties.Where(w => w.Name == propertyInfo.Name).SingleOrDefault(); - - if (mapping == null) - { - throw new ApplicationException("Unable to UnMap because mapping does not exist."); - } - - this.Properties.Remove(mapping); - } - - private void GuardForDuplicatePropertyMap(PropertyMap result) - { - if (Properties.Any(p => p.Name.Equals(result.Name))) - { - throw new ArgumentException(string.Format("Duplicate mapping for property {0} detected.",result.Name)); - } - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Mapper/PluralizedAutoClassMapper.cs b/samples/Common/Repository.Dapper.Core/Mapper/PluralizedAutoClassMapper.cs deleted file mode 100644 index 19c74af0e..000000000 --- a/samples/Common/Repository.Dapper.Core/Mapper/PluralizedAutoClassMapper.cs +++ /dev/null @@ -1,67 +0,0 @@ -using System.Text; -using System.Linq; -using System.Collections.Generic; -using System; -using System.Text.RegularExpressions; - -namespace Repository.Dapper.Core.Mapper -{ - /// - /// Automatically maps an entity to a table using a combination of reflection and naming conventions for keys. - /// Identical to AutoClassMapper, but attempts to pluralize table names automatically. - /// Example: Person entity maps to People table - /// - public class PluralizedAutoClassMapper : AutoClassMapper where T : class - { - public override void Table(string tableName) - { - base.Table(Formatting.Pluralize(tableName)); - } - - // Adapted from: http://mattgrande.wordpress.com/2009/10/28/pluralization-helper-for-c/ - public static class Formatting - { - private static readonly IList Unpluralizables = new List { "equipment", "information", "rice", "money", "species", "series", "fish", "sheep", "deer" }; - private static readonly IDictionary Pluralizations = new Dictionary - { - // Start with the rarest cases, and move to the most common - { "person", "people" }, - { "ox", "oxen" }, - { "child", "children" }, - { "foot", "feet" }, - { "tooth", "teeth" }, - { "goose", "geese" }, - // And now the more standard rules. - { "(.*)fe?$", "$1ves" }, // ie, wolf, wife - { "(.*)man$", "$1men" }, - { "(.+[aeiou]y)$", "$1s" }, - { "(.+[^aeiou])y$", "$1ies" }, - { "(.+z)$", "$1zes" }, - { "([m|l])ouse$", "$1ice" }, - { "(.+)(e|i)x$", @"$1ices"}, // ie, Matrix, Index - { "(octop|vir)us$", "$1i"}, - { "(.+(s|x|sh|ch))$", @"$1es"}, - { "(.+)", @"$1s" } - }; - - public static string Pluralize(string singular) - { - if (Unpluralizables.Contains(singular)) - return singular; - - var plural = string.Empty; - - foreach (var pluralization in Pluralizations) - { - if (Regex.IsMatch(singular, pluralization.Key)) - { - plural = Regex.Replace(singular, pluralization.Key, pluralization.Value); - break; - } - } - - return plural; - } - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Mapper/PropertyMap.cs b/samples/Common/Repository.Dapper.Core/Mapper/PropertyMap.cs deleted file mode 100644 index ab5b14ba3..000000000 --- a/samples/Common/Repository.Dapper.Core/Mapper/PropertyMap.cs +++ /dev/null @@ -1,162 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Linq; -using System.Reflection; - -namespace Repository.Dapper.Core.Mapper -{ - /// - /// Maps an entity property to its corresponding column in the database. - /// - public interface IPropertyMap - { - string Name { get; } - string ColumnName { get; } - bool Ignored { get; } - bool IsReadOnly { get; } - KeyType KeyType { get; } - PropertyInfo PropertyInfo { get; } - } - - /// - /// Maps an entity property to its corresponding column in the database. - /// - public class PropertyMap : IPropertyMap - { - public PropertyMap(PropertyInfo propertyInfo) - { - PropertyInfo = propertyInfo; - var ColumnAttr = propertyInfo.GetCustomAttributes(typeof(ColumnAttribute), true).ToArray(); - ColumnName = ColumnAttr.Length == 0 ? PropertyInfo.Name : (ColumnAttr[0] as ColumnAttribute).Name; // PropertyInfo.Name; - - var cIgnore = propertyInfo.GetCustomAttributes(typeof(NotMappedAttribute), true).ToArray(); - Ignored = cIgnore.Length > 0; - - //var cReadOnly = propertyInfo.GetCustomAttributes(typeof(DatabaseGeneratedAttribute), true).ToArray(); - //IsReadOnly = cReadOnly.Length > 0; - } - - /// - /// Gets the name of the property by using the specified propertyInfo. - /// - public string Name - { - get { return PropertyInfo.Name; } - } - - /// - /// Gets the column name for the current property. - /// - public string ColumnName { get; private set; } - - /// - /// Gets the key type for the current property. - /// - public KeyType KeyType { get; private set; } - - /// - /// Gets the ignore status of the current property. If ignored, the current property will not be included in queries. - /// - public bool Ignored { get; private set; } - - /// - /// Gets the read-only status of the current property. If read-only, the current property will not be included in INSERT and UPDATE queries. - /// - public bool IsReadOnly { get; private set; } - - /// - /// Gets the property info for the current property. - /// - public PropertyInfo PropertyInfo { get; private set; } - - /// - /// Fluently sets the column name for the property. - /// - /// The column name as it exists in the database. - public PropertyMap Column(string columnName) - { - ColumnName = columnName; - return this; - } - - /// - /// Fluently sets the key type of the property. - /// - /// The column name as it exists in the database. - public PropertyMap Key(KeyType keyType) - { - if (Ignored) - { - throw new ArgumentException(string.Format("'{0}' is ignored and cannot be made a key field. ", Name)); - } - - if (IsReadOnly) - { - throw new ArgumentException(string.Format("'{0}' is readonly and cannot be made a key field. ", Name)); - } - - KeyType = keyType; - return this; - } - - /// - /// Fluently sets the ignore status of the property. - /// - public PropertyMap Ignore() - { - if (KeyType != KeyType.NotAKey) - { - throw new ArgumentException(string.Format("'{0}' is a key field and cannot be ignored.", Name)); - } - - Ignored = true; - return this; - } - - /// - /// Fluently sets the read-only status of the property. - /// - public PropertyMap ReadOnly() - { - if (KeyType != KeyType.NotAKey) - { - throw new ArgumentException(string.Format("'{0}' is a key field and cannot be marked readonly.", Name)); - } - - IsReadOnly = true; - return this; - } - } - - /// - /// Used by ClassMapper to determine which entity property represents the key. - /// - public enum KeyType - { - /// - /// The property is not a key and is not automatically managed. - /// - NotAKey, - - /// - /// The property is an integery-based identity generated from the database. - /// - Identity, - - /// - /// The property is an identity generated by the database trigger. - /// - TriggerIdentity, - - /// - /// The property is a Guid identity which is automatically managed. - /// - Guid, - - /// - /// The property is a key that is not automatically managed. - /// - Assigned - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Page.cs b/samples/Common/Repository.Dapper.Core/Page.cs deleted file mode 100644 index 4788c368d..000000000 --- a/samples/Common/Repository.Dapper.Core/Page.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; - -namespace Repository.Dapper.Core -{ - public class Page - { - - /// - /// Ŀ - /// - public long TotalItems { get; set; } - - /// - /// ÿҳĿ - /// - public long ItemsPerPage { get; set; } - - /// - /// ǰҳ - /// - public long CurrentPage { get; set; } - - public IEnumerable Items { get; set; } - - /// - /// ҳ - /// - public long TotalPages - { - get { return (long)Math.Ceiling((decimal)TotalItems / ItemsPerPage); } - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Predicates.cs b/samples/Common/Repository.Dapper.Core/Predicates.cs deleted file mode 100644 index be96f22eb..000000000 --- a/samples/Common/Repository.Dapper.Core/Predicates.cs +++ /dev/null @@ -1,732 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using System.Text; -using Repository.Dapper.Core.Mapper; -using Repository.Dapper.Core.Sql; - -namespace Repository.Dapper.Core -{ - public static class Predicates - { - /// - /// 创建条件 - /// Factory method that creates a new IFieldPredicate predicate: [FieldName] [Operator] [Value]. - /// Example: WHERE FirstName = 'Foo' - /// - /// The type of the entity. - /// An expression that returns the left operand [FieldName]. - /// The comparison operator. - /// The value for the predicate. - /// Effectively inverts the comparison operator. Example: WHERE FirstName <> 'Foo'. - /// An instance of IFieldPredicate. - public static IFieldPredicate Field(Expression> expression, Operator op, object value, string tableName = null, string schemaName = null, bool not = false) where T : class - { - PropertyInfo propertyInfo = ReflectionHelper.GetProperty(expression) as PropertyInfo; - return new FieldPredicate - { - PropertyName = propertyInfo.Name, - Operator = op, - Value = value, - Not = not, - SchemaName = schemaName, - TableName = tableName - }; - } - - public static IFieldPredicate Field(Type type,string PropertyName, Operator op, object value, string tableName = null, string schemaName = null, bool not = false) - { - PropertyInfo propertyInfo = type.GetProperties().Where(w => w.Name == PropertyName).First(); - return new FieldPredicate - { - FieldType = type, - PropertyName = propertyInfo.Name, - Operator = op, - Value = value, - Not = not, - SchemaName = schemaName, - TableName = tableName - }; - } - - /// - /// Factory method that creates a new IPropertyPredicate predicate: [FieldName1] [Operator] [FieldName2] - /// Example: WHERE FirstName = LastName - /// - /// The type of the entity for the left operand. - /// The type of the entity for the right operand. - /// An expression that returns the left operand [FieldName1]. - /// The comparison operator. - /// An expression that returns the right operand [FieldName2]. - /// Effectively inverts the comparison operator. Example: WHERE FirstName <> LastName - /// An instance of IPropertyPredicate. - public static IPropertyPredicate Property(Expression> expression, Operator op, Expression> expression2, string tableName = null, string tableName2 = null, string schemaName = null, string schemaName2 = null, bool not = false) - where T : class - where T2 : class - { - PropertyInfo propertyInfo = ReflectionHelper.GetProperty(expression) as PropertyInfo; - PropertyInfo propertyInfo2 = ReflectionHelper.GetProperty(expression2) as PropertyInfo; - return new PropertyPredicate - { - SchemaName = schemaName, - TableName = tableName, - SchemaName2 = schemaName2, - TableName2 = tableName2, - PropertyName = propertyInfo.Name, - PropertyName2 = propertyInfo2.Name, - Operator = op, - Not = not - }; - } - - /// - /// 关联查询列表重复设置 - /// - /// - /// - /// - /// - /// - public static IJoinAliasPredicate JoinAlia(Expression> expression, Expression> expression2) - where T : class - where T2 : class - { - PropertyInfo propertyInfo = ReflectionHelper.GetProperty(expression) as PropertyInfo; - PropertyInfo propertyInfo2 = ReflectionHelper.GetProperty(expression2) as PropertyInfo; - return new JoinAliasPredicate - { - PropertyName = propertyInfo.Name, - PropertyName2 = propertyInfo2.Name - }; - } - - /// - /// 设置关联查询 - /// - /// - /// - /// - /// - /// - /// - /// - /// - public static IJoinPredicate Join(Expression> expression, Operator op, Expression> expression2, JoinOperator join = JoinOperator.Inner, string tableName = null, string tableName2 = null, string schemaName = null, string schemaName2 = null, bool not = false) - where T : class - where T2 : class - { - PropertyInfo propertyInfo = ReflectionHelper.GetProperty(expression) as PropertyInfo; - PropertyInfo propertyInfo2 = ReflectionHelper.GetProperty(expression2) as PropertyInfo; - return new JoinPredicate - { - SchemaName = schemaName, - TableName = tableName, - SchemaName2 = schemaName2, - TableName2 = tableName2, - Join = join, - PropertyName = propertyInfo.Name, - PropertyName2 = propertyInfo2.Name, - Operator = op, - Not = not - }; - } - - /// - /// Factory method that creates a new IPredicateGroup predicate. - /// Predicate groups can be joined together with other predicate groups. - /// - /// The grouping operator to use when joining the predicates (AND / OR). - /// A list of predicates to group. - /// An instance of IPredicateGroup. - public static IPredicateGroup Group(GroupOperator op, params IPredicate[] predicate) - { - return new PredicateGroup - { - Operator = op, - Predicates = predicate - }; - } - - /// - /// Factory method that creates a new IExistsPredicate predicate. - /// - public static IExistsPredicate Exists(IPredicate predicate, bool not = false) - where TSub : class - { - return new ExistsPredicate - { - Not = not, - Predicate = predicate - }; - } - - /// - /// Factory method that creates a new IBetweenPredicate predicate. - /// - public static IBetweenPredicate Between(Expression> expression, BetweenValues values, string tableName = null, string schemaName = null, bool not = false) - where T : class - { - PropertyInfo propertyInfo = ReflectionHelper.GetProperty(expression) as PropertyInfo; - return new BetweenPredicate - { - Not = not, - PropertyName = propertyInfo.Name, - Value = values, - SchemaName = schemaName, - TableName = tableName - }; - } - - /// - /// Factory method that creates a new Sort which controls how the results will be sorted. - /// - public static ISort Sort(Expression> expression, bool ascending = true, string tableName = null, string schemaName = null) - { - PropertyInfo propertyInfo = ReflectionHelper.GetProperty(expression) as PropertyInfo; - return new Sort - { - PropertyName = propertyInfo.Name, - Ascending = ascending, - SchemaName = schemaName, - TableName = tableName - }; - } - } - - /// - /// 条件 - /// - public interface IPredicate - { - /// - /// 返回条件的类 - /// - /// - Type GetPredicateType(); - - /// - /// 返回条件的sql - /// - /// - /// - /// - /// - /// - string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName); - } - - /// - /// 基本条件 - /// - public interface IBasePredicate : IPredicate - { - /// - /// 前缀 - /// - string SchemaName { get; set; } - /// - /// 表名 - /// - string TableName { get; set; } - - /// - /// 条件属性 - /// - string PropertyName { get; set; } - - } - - /// - /// 基本条件 - /// - public abstract class BasePredicate : IBasePredicate - { - public abstract Type GetPredicateType(); - - /// - /// 返回sql - /// - /// - /// - /// - /// - /// - public abstract string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName); - /// - /// 条件属性 - /// - public string PropertyName { get; set; } - /// - /// 前缀 - /// - public string SchemaName { get; set; } - /// - /// 表名 - /// - public string TableName { get; set; } - - /// - /// 返回列名 - /// - /// - /// - /// - /// - /// - /// - protected virtual string GetColumnName(bool prefix, Type entityType, ISqlGenerator sqlGenerator, string propertyName, string schemaName, string tableName) - { - IClassMapper map = GetMapper(entityType, sqlGenerator); - if (map == null) - { - throw new NullReferenceException(string.Format("Map was not found for {0}", entityType)); - } - - IPropertyMap propertyMap = map.Properties.SingleOrDefault(p => p.Name == propertyName); - if (propertyMap == null) - { - throw new NullReferenceException(string.Format("{0} was not found for {1}", propertyName, entityType)); - } - return sqlGenerator.GetColumnName(prefix,map, propertyMap, false, schemaName, tableName); - } - - protected virtual IClassMapper GetMapper(Type entityType, ISqlGenerator sqlGenerator) - { - return sqlGenerator.Configuration.GetMap(entityType); - } - } - - /// - /// 比较条件 - /// - public interface IComparePredicate : IBasePredicate - { - /// - /// 操作符 - /// - Operator Operator { get; set; } - /// - /// 操作符取反 - /// - bool Not { get; set; } - } - - public abstract class ComparePredicate : BasePredicate - { - public Operator Operator { get; set; } - public bool Not { get; set; } - - public virtual string GetOperatorString(ISqlGenerator sqlGenerator) => sqlGenerator.GetOperatorString(Operator, Not); - } - - public interface IFieldPredicate : IComparePredicate - { - object Value { get; set; } - } - - public class FieldPredicate : ComparePredicate, IFieldPredicate - where T : class - { - public override Type GetPredicateType() - { - return typeof(T); - } - public object Value { get; set; } - - public override string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName) - { - string columnName = GetColumnName(prefix,typeof(T), sqlGenerator, PropertyName, SchemaName ?? schemaName, TableName ?? tableName); - if (Value == null) - { - return string.Format("({0} IS {1}NULL)", columnName, Not ? "NOT " : string.Empty); - } - - if (Value is IEnumerable && !(Value is string)) - { - if (Operator != Operator.Eq) - { - throw new ArgumentException("Operator must be set to Eq for Enumerable types"); - } - - List @params = new List(); - foreach (var value in (IEnumerable)Value) - { - string valueParameterName = parameters.SetParameterName(this.PropertyName, value, sqlGenerator.Configuration.Dialect.ParameterPrefix); - @params.Add(valueParameterName); - } - - string paramStrings = @params.Aggregate(new StringBuilder(), (sb, s) => sb.Append((sb.Length != 0 ? ", " : string.Empty) + s), sb => sb.ToString()); - return string.Format("({0} {1}IN ({2}))", columnName, Not ? "NOT " : string.Empty, paramStrings); - } - - string parameterName = parameters.SetParameterName(this.PropertyName, this.Value, sqlGenerator.Configuration.Dialect.ParameterPrefix); - return string.Format("({0} {1} {2})", columnName, GetOperatorString(sqlGenerator), parameterName); - } - } - - public class FieldPredicate : ComparePredicate, IFieldPredicate - { - public override Type GetPredicateType() - { - return FieldType; - } - public Type FieldType { get; set; } - - public object Value { get; set; } - - public override string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName) - { - string columnName = GetColumnName(prefix,FieldType, sqlGenerator, PropertyName, SchemaName ?? schemaName, TableName ?? tableName); - if (Value == null) - { - return string.Format("({0} IS {1}NULL)", columnName, Not ? "NOT " : string.Empty); - } - - if (Value is IEnumerable && !(Value is string)) - { - if (Operator != Operator.Eq) - { - throw new ArgumentException("Operator must be set to Eq for Enumerable types"); - } - - List @params = new List(); - foreach (var value in (IEnumerable)Value) - { - string valueParameterName = parameters.SetParameterName(this.PropertyName, value, sqlGenerator.Configuration.Dialect.ParameterPrefix); - @params.Add(valueParameterName); - } - - string paramStrings = @params.Aggregate(new StringBuilder(), (sb, s) => sb.Append((sb.Length != 0 ? ", " : string.Empty) + s), sb => sb.ToString()); - return string.Format("({0} {1}IN ({2}))", columnName, Not ? "NOT " : string.Empty, paramStrings); - } - - string parameterName = parameters.SetParameterName(this.PropertyName, this.Value, sqlGenerator.Configuration.Dialect.ParameterPrefix); - return string.Format("({0} {1} {2})", columnName, GetOperatorString(sqlGenerator), parameterName); - } - } - - public interface IJoinPredicate : IComparePredicate - { - - string SchemaName2 { get; set; } - string TableName2 { get; set; } - string PropertyName2 { get; set; } - JoinOperator Join { get; set; } - IClassMapper GetLeftMapper(ISqlGenerator sqlGenerator); - IClassMapper GetRightMapper(ISqlGenerator sqlGenerator); - } - - public class JoinPredicate : ComparePredicate, IJoinPredicate - where T : class - where T2 : class - { - public override Type GetPredicateType() - { - return typeof(T); - } - public string PropertyName2 { get; set; } - - public JoinOperator Join { get; set; } - - public string SchemaName2 { get; set; } - public string TableName2 { get; set; } - - public IClassMapper GetLeftMapper(ISqlGenerator sqlGenerator) - { - return GetMapper(typeof(T), sqlGenerator); - } - - public IClassMapper GetRightMapper(ISqlGenerator sqlGenerator) - { - return GetMapper(typeof(T2), sqlGenerator); - } - - public override string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName) - { - string righttable = sqlGenerator.GetTableName(GetRightMapper(sqlGenerator), SchemaName2, TableName2); - string columnName = GetColumnName(true,typeof(T), sqlGenerator, PropertyName, SchemaName ?? schemaName, TableName ?? tableName); - string columnName2 = GetColumnName(true,typeof(T2), sqlGenerator, PropertyName2, SchemaName2, TableName2); - string vjoin = Join == JoinOperator.Full ? "full join" : Join == JoinOperator.Left ? "left join" : Join == JoinOperator.Right ? "right join" : "inner join"; - return $" {vjoin} {righttable} on {columnName} {GetOperatorString(sqlGenerator)} {columnName2}"; - } - } - - public interface IJoinAliasPredicate : IComparePredicate - { - string PropertyName2 { get; set; } - - IClassMapper GetRightMapper(ISqlGenerator sqlGenerator); - IPropertyMap GetPropertyMap(ISqlGenerator sqlGenerator); - } - public class JoinAliasPredicate : ComparePredicate, IJoinAliasPredicate - where T : class - where T2 : class - { - public override Type GetPredicateType() - { - return typeof(T); - } - public string PropertyName2 { get; set; } - - public IClassMapper GetRightMapper(ISqlGenerator sqlGenerator) - { - return GetMapper(typeof(T2), sqlGenerator); - } - - public IPropertyMap GetPropertyMap(ISqlGenerator sqlGenerator) - { - var rightMap = GetRightMapper(sqlGenerator); - var property = rightMap.Properties.Where(w => w.Name.Equals(PropertyName2)).First(); - return property; - } - - public override string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName) - { - return string.Empty; - } - } - - public interface IPropertyPredicate : IComparePredicate - { - string SchemaName2 { get; set; } - string TableName2 { get; set; } - string PropertyName2 { get; set; } - } - - - public class PropertyPredicate : ComparePredicate, IPropertyPredicate - where T : class - where T2 : class - { - public override Type GetPredicateType() - { - return typeof(T); - } - public string PropertyName2 { get; set; } - public string SchemaName2 { get; set; } - public string TableName2 { get; set; } - - public override string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName) - { - string columnName = GetColumnName(prefix,typeof(T), sqlGenerator, PropertyName, SchemaName ?? schemaName, TableName ?? tableName); - string columnName2 = GetColumnName(prefix, typeof(T2), sqlGenerator, PropertyName2, schemaName, tableName); - return string.Format("({0} {1} {2})", columnName, GetOperatorString(sqlGenerator), columnName2); - } - } - - public struct BetweenValues - { - public object Value1 { get; set; } - public object Value2 { get; set; } - } - - public interface IBetweenPredicate : IPredicate - { - string PropertyName { get; set; } - BetweenValues Value { get; set; } - bool Not { get; set; } - - } - - public class BetweenPredicate : BasePredicate, IBetweenPredicate - where T : class - { - public override Type GetPredicateType() - { - return typeof(T); - } - public override string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName) - { - string columnName = GetColumnName(prefix, typeof(T), sqlGenerator, PropertyName, SchemaName ?? schemaName, TableName ?? tableName); - string propertyName1 = parameters.SetParameterName(this.PropertyName, this.Value.Value1, sqlGenerator.Configuration.Dialect.ParameterPrefix); - string propertyName2 = parameters.SetParameterName(this.PropertyName, this.Value.Value2, sqlGenerator.Configuration.Dialect.ParameterPrefix); - return string.Format("({0} {1}BETWEEN {2} AND {3})", columnName, Not ? "NOT " : string.Empty, propertyName1, propertyName2); - } - - public BetweenValues Value { get; set; } - - public bool Not { get; set; } - } - - /// - /// Comparison operator for predicates. - /// - public enum Operator - { - /// - /// Equal to = - /// - Eq, - - /// - /// Greater than > - /// - Gt, - - /// - /// Greater than or equal to >= - /// - Ge, - - /// - /// Less than < - /// - Lt, - - /// - /// Less than or equal to <= - /// - Le, - - /// - /// Like (You can use % in the value to do wilcard searching) - /// - Like - } - - public interface IPredicateGroup : IPredicate - { - GroupOperator Operator { get; set; } - IList Predicates { get; set; } - } - - /// - /// Groups IPredicates together using the specified group operator. - /// - public class PredicateGroup : IPredicateGroup - { - public Type GetPredicateType() - { - return null; - } - public GroupOperator Operator { get; set; } - public IList Predicates { get; set; } - public string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName) - { - string seperator = Operator == GroupOperator.And ? " AND " : " OR "; - return "(" + Predicates.Aggregate(new StringBuilder(), - (sb, p) => (sb.Length == 0 ? sb : sb.Append(seperator)).Append(p.GetSql(prefix, sqlGenerator, parameters, schemaName, tableName)), - sb => - { - var s = sb.ToString(); - if (s.Length == 0) return sqlGenerator.Configuration.Dialect.EmptyExpression; - return s; - } - ) + ")"; - } - } - - public interface IExistsPredicate : IPredicate - { - IPredicate Predicate { get; set; } - bool Not { get; set; } - } - - public class ExistsPredicate : IExistsPredicate - where TSub : class - { - public Type GetPredicateType() - { - return typeof(TSub); - } - public IPredicate Predicate { get; set; } - public bool Not { get; set; } - - public string GetSql(bool prefix, ISqlGenerator sqlGenerator, IDictionary parameters, string schemaName, string tableName) - { - IClassMapper mapSub = sqlGenerator.Configuration.GetMap(typeof(TSub)); - string sql = string.Format("({0}EXISTS (SELECT 1 FROM {1} WHERE {2}))", - Not ? "NOT " : string.Empty, - sqlGenerator.GetTableName(mapSub, schemaName, tableName), - Predicate.GetSql(prefix, sqlGenerator, parameters, schemaName, tableName)); - return sql; - } - } - - public interface ISort - { - string SchemaName { get; set; } - /// - /// 表名 - /// - string TableName { get; set; } - string PropertyName { get; set; } - bool Ascending { get; set; } - string GetSql(bool prefix, ISqlGenerator sqlGenerator, string schemaName, string tableName); - } - - public class Sort : ISort - { - /// - /// 前缀 - /// - public string SchemaName { get; set; } - /// - /// 表名 - /// - public string TableName { get; set; } - public string PropertyName { get; set; } - public bool Ascending { get; set; } - - public string GetSql(bool prefix, ISqlGenerator sqlGenerator, string schemaName, string tableName) - { - return sqlGenerator.GetColumnName(prefix,sqlGenerator.Configuration.GetMap(typeof(T)), PropertyName, false, SchemaName ?? schemaName, TableName ?? tableName) + (Ascending ? " ASC" : " DESC"); - } - } - internal class SortKey : ISort - { - private IClassMapper classMapper { get; set; } - public SortKey(IClassMapper classMapper) - { - this.classMapper = classMapper; - } - - /// - /// 前缀 - /// - public string SchemaName { get; set; } - /// - /// 表名 - /// - public string TableName { get; set; } - public string PropertyName { get; set; } - public bool Ascending { get; set; } - - public string GetSql(bool prefix, ISqlGenerator sqlGenerator, string schemaName, string tableName) - { - return sqlGenerator.GetColumnName(prefix,classMapper, PropertyName, false, SchemaName ?? schemaName, TableName ?? tableName) + (Ascending ? " ASC" : " DESC"); - } - } - - /// - /// 在条件组中的操作符 Operator to use when joining predicates in a PredicateGroup. - /// - public enum GroupOperator - { - And, - Or - } - - public enum JoinOperator - { - /// - /// 内关联 - /// - Inner, - /// - /// 左关联 - /// - Left, - /// - /// 右关联 - /// - Right, - /// - /// 全关联 - /// - Full - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/ReflectionHelper.cs b/samples/Common/Repository.Dapper.Core/ReflectionHelper.cs deleted file mode 100644 index ab21ff211..000000000 --- a/samples/Common/Repository.Dapper.Core/ReflectionHelper.cs +++ /dev/null @@ -1,108 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using System.Text; - -namespace Repository.Dapper.Core -{ - public static class ReflectionHelper - { - private static List _simpleTypes = new List - { - typeof(byte), - typeof(sbyte), - typeof(short), - typeof(ushort), - typeof(int), - typeof(uint), - typeof(long), - typeof(ulong), - typeof(float), - typeof(double), - typeof(decimal), - typeof(bool), - typeof(string), - typeof(char), - typeof(Guid), - typeof(DateTime), - typeof(DateTimeOffset), - typeof(byte[]) - }; - - public static MemberInfo GetProperty(LambdaExpression lambda) - { - Expression expr = lambda; - for (; ; ) - { - switch (expr.NodeType) - { - case ExpressionType.Lambda: - expr = ((LambdaExpression)expr).Body; - break; - case ExpressionType.Convert: - expr = ((UnaryExpression)expr).Operand; - break; - case ExpressionType.MemberAccess: - MemberExpression memberExpression = (MemberExpression)expr; - MemberInfo mi = memberExpression.Member; - return mi; - default: - return null; - } - } - } - - public static IDictionary GetObjectValues(object obj) - { - IDictionary result = new Dictionary(); - if (obj == null) - { - return result; - } - if (obj is IDictionary) - return obj as IDictionary; - - foreach (var propertyInfo in obj.GetType().GetProperties()) - { - string name = propertyInfo.Name; - object value = propertyInfo.GetValue(obj, null); - result[name] = value; - } - - return result; - } - - public static string AppendStrings(this IEnumerable list, string seperator = ", ") - { - return list.Aggregate( - new StringBuilder(), - (sb, s) => (sb.Length == 0 ? sb : sb.Append(seperator)).Append(s), - sb => sb.ToString()); - } - - public static bool IsSimpleType(Type type) - { - Type actualType = type; - if (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(Nullable<>)) - { - actualType = type.GetGenericArguments()[0]; - } - - return _simpleTypes.Contains(actualType); - } - - public static string GetParameterName(this IDictionary parameters, string parameterName, char parameterPrefix) - { - return string.Format("{0}{1}_{2}", parameterPrefix, parameterName, parameters.Count); - } - - public static string SetParameterName(this IDictionary parameters, string parameterName, object value, char parameterPrefix) - { - string name = parameters.GetParameterName(parameterName, parameterPrefix); - parameters.Add(name, value); - return name; - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Repository.Dapper.Core.csproj b/samples/Common/Repository.Dapper.Core/Repository.Dapper.Core.csproj deleted file mode 100644 index fac8c0a0b..000000000 --- a/samples/Common/Repository.Dapper.Core/Repository.Dapper.Core.csproj +++ /dev/null @@ -1,34 +0,0 @@ - - - - - DapperExtensions - Xakep - netstandard2.0 - DapperExtensions - Xakep.DapperExtensions - 1.6.2.91 - true - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/Common/Repository.Dapper.Core/Sql/DB2Dialect.cs b/samples/Common/Repository.Dapper.Core/Sql/DB2Dialect.cs deleted file mode 100644 index 836960bbd..000000000 --- a/samples/Common/Repository.Dapper.Core/Sql/DB2Dialect.cs +++ /dev/null @@ -1,138 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Repository.Dapper.Core.Sql -{ - public class DB2Dialect : SqlDialectBase - { - public override string GetIdentitySql(string tableName) - { - return "SELECT CAST(IDENTITY_VAL_LOCAL() AS BIGINT) AS \"ID\" FROM SYSIBM.SYSDUMMY1"; - } - - public override string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary parameters) - { - var startValue = ((page - 1) * resultsPerPage) + 1; - var endValue = (page * resultsPerPage); - return GetSetSql(sql, startValue, endValue, parameters); - } - - public override string GetSetSql(string sql, int firstResult, int maxResults, IDictionary parameters) - { - if (string.IsNullOrEmpty(sql)) - { - throw new ArgumentNullException("SQL"); - } - - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - int selectIndex = GetSelectEnd(sql) + 1; - string orderByClause = GetOrderByClause(sql); - if (orderByClause == null) - { - orderByClause = "ORDER BY CURRENT_TIMESTAMP"; - } - - - string projectedColumns = GetColumnNames(sql).Aggregate(new StringBuilder(), (sb, s) => (sb.Length == 0 ? sb : sb.Append(", ")).Append(GetColumnName("_TEMP", s, null)), sb => sb.ToString()); - string newSql = sql - .Replace(" " + orderByClause, string.Empty) - .Insert(selectIndex, string.Format("ROW_NUMBER() OVER(ORDER BY {0}) AS {1}, ", orderByClause.Substring(9), GetColumnName(null, "_ROW_NUMBER", null))); - - string result = string.Format("SELECT {0} FROM ({1}) AS \"_TEMP\" WHERE {2} BETWEEN @_pageStartRow AND @_pageEndRow", - projectedColumns.Trim(), newSql, GetColumnName("_TEMP", "_ROW_NUMBER", null)); - - parameters.Add("@_pageStartRow", firstResult); - parameters.Add("@_pageEndRow", maxResults); - return result; - } - - protected string GetOrderByClause(string sql) - { - int orderByIndex = sql.LastIndexOf(" ORDER BY ", StringComparison.InvariantCultureIgnoreCase); - if (orderByIndex == -1) - { - return null; - } - - string result = sql.Substring(orderByIndex).Trim(); - - int whereIndex = result.IndexOf(" WHERE ", StringComparison.InvariantCultureIgnoreCase); - if (whereIndex == -1) - { - return result; - } - - return result.Substring(0, whereIndex).Trim(); - } - - protected int GetFromStart(string sql) - { - int selectCount = 0; - string[] words = sql.Split(' '); - int fromIndex = 0; - foreach (var word in words) - { - if (word.Equals("SELECT", StringComparison.InvariantCultureIgnoreCase)) - { - selectCount++; - } - - if (word.Equals("FROM", StringComparison.InvariantCultureIgnoreCase)) - { - selectCount--; - if (selectCount == 0) - { - break; - } - } - - fromIndex += word.Length + 1; - } - - return fromIndex; - } - - protected virtual int GetSelectEnd(string sql) - { - if (sql.StartsWith("SELECT DISTINCT", StringComparison.InvariantCultureIgnoreCase)) - { - return 15; - } - - if (sql.StartsWith("SELECT", StringComparison.InvariantCultureIgnoreCase)) - { - return 6; - } - - throw new ArgumentException("SQL must be a SELECT statement.", "sql"); - } - - protected virtual IList GetColumnNames(string sql) - { - int start = GetSelectEnd(sql); - int stop = GetFromStart(sql); - string[] columnSql = sql.Substring(start, stop - start).Split(','); - List result = new List(); - foreach (string c in columnSql) - { - int index = c.IndexOf(" AS ", StringComparison.InvariantCultureIgnoreCase); - if (index > 0) - { - result.Add(c.Substring(index + 4).Trim()); - continue; - } - - string[] colParts = c.Split('.'); - result.Add(colParts[colParts.Length - 1].Trim()); - } - - return result; - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Sql/MySqlDialect.cs b/samples/Common/Repository.Dapper.Core/Sql/MySqlDialect.cs deleted file mode 100644 index a8adde9b5..000000000 --- a/samples/Common/Repository.Dapper.Core/Sql/MySqlDialect.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace Repository.Dapper.Core.Sql -{ - public class MySqlDialect : SqlDialectBase - { - public override char OpenQuote - { - get { return '`'; } - } - - public override char CloseQuote - { - get { return '`'; } - } - - public override string GetIdentitySql(string tableName) - { - return "SELECT CONVERT(LAST_INSERT_ID(), SIGNED INTEGER) AS ID"; - } - - public override string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary parameters) - { - int startValue = page * resultsPerPage; - return GetSetSql(sql, startValue, resultsPerPage, parameters); - } - - public override string GetSetSql(string sql, int firstResult, int maxResults, IDictionary parameters) - { - string result = string.Format("{0} LIMIT @firstResult, @maxResults", sql); - parameters.Add("@firstResult", firstResult); - parameters.Add("@maxResults", maxResults); - return result; - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Sql/OracleDialect.cs b/samples/Common/Repository.Dapper.Core/Sql/OracleDialect.cs deleted file mode 100644 index 336cf7720..000000000 --- a/samples/Common/Repository.Dapper.Core/Sql/OracleDialect.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System.Collections.Generic; -using System.Text; - -namespace Repository.Dapper.Core.Sql -{ - public class OracleDialect : SqlDialectBase - { - public OracleDialect() { } - - public override string GetIdentitySql(string tableName) - { - throw new System.NotImplementedException("Oracle does not support get last inserted identity."); - } - - public override bool SupportsMultipleStatements - { - get { return false; } - } - - //from Simple.Data.Oracle implementation https://github.com/flq/Simple.Data.Oracle/blob/master/Simple.Data.Oracle/OraclePager.cs - public override string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary parameters) - { - var toSkip = page * resultsPerPage; - var topLimit = (page + 1) * resultsPerPage; - - var sb = new StringBuilder(); - sb.AppendLine("SELECT * FROM ("); - sb.AppendLine("SELECT \"_ss_dapper_1_\".*, ROWNUM RNUM FROM ("); - sb.Append(sql); - sb.AppendLine(") \"_ss_dapper_1_\""); - sb.AppendLine("WHERE ROWNUM <= :topLimit) \"_ss_dapper_2_\" "); - sb.AppendLine("WHERE \"_ss_dapper_2_\".RNUM > :toSkip"); - - parameters.Add(":topLimit", topLimit); - parameters.Add(":toSkip", toSkip); - - return sb.ToString(); - } - - public override string GetSetSql(string sql, int firstResult, int maxResults, IDictionary parameters) - { - var sb = new StringBuilder(); - sb.AppendLine("SELECT * FROM ("); - sb.AppendLine("SELECT \"_ss_dapper_1_\".*, ROWNUM RNUM FROM ("); - sb.Append(sql); - sb.AppendLine(") \"_ss_dapper_1_\""); - sb.AppendLine("WHERE ROWNUM <= :topLimit) \"_ss_dapper_2_\" "); - sb.AppendLine("WHERE \"_ss_dapper_2_\".RNUM > :toSkip"); - - parameters.Add(":topLimit", maxResults + firstResult); - parameters.Add(":toSkip", firstResult); - - return sb.ToString(); - } - - public override string QuoteString(string value) - { - if (value != null && value[0]=='`') - { - return string.Format("{0}{1}{2}", OpenQuote, value.Substring(1, value.Length - 2), CloseQuote); - } - return value.ToUpper(); - } - - public override char ParameterPrefix - { - get { return ':'; } - } - - public override char OpenQuote - { - get { return '"'; } - } - - public override char CloseQuote - { - get { return '"'; } - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Sql/PostgreSqlDialect.cs b/samples/Common/Repository.Dapper.Core/Sql/PostgreSqlDialect.cs deleted file mode 100644 index 9af35d41d..000000000 --- a/samples/Common/Repository.Dapper.Core/Sql/PostgreSqlDialect.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Repository.Dapper.Core.Sql -{ - public class PostgreSqlDialect : SqlDialectBase - { - public override string GetIdentitySql(string tableName) - { - return "SELECT LASTVAL() AS Id"; - } - - public override string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary parameters) - { - int startValue = (page-1) * resultsPerPage; - return GetSetSql(sql, startValue < 0 ? 0 : startValue, resultsPerPage, parameters); - } - - public override string GetSetSql(string sql, int firstResult, int maxResults, IDictionary parameters) - { - string result = string.Format("{0} LIMIT @maxResults OFFSET @pageStartRowNbr", sql); - parameters.Add("@maxResults", maxResults); - parameters.Add("@pageStartRowNbr", firstResult); - return result; - } - - public override string GetColumnName(string prefix, string columnName, string alias) - { - return base.GetColumnName(prefix, columnName, alias);//.ToLower(); - } - - public override string GetTableName(string schemaName, string tableName, string alias) - { - return base.GetTableName(schemaName, tableName, alias);//.ToLower(); - } - public override string GetOperatorString(Operator Operator, bool Not) - { - switch (Operator) - { - case Operator.Gt: - return Not ? "<=" : ">"; - case Operator.Ge: - return Not ? "<" : ">="; - case Operator.Lt: - return Not ? ">=" : "<"; - case Operator.Le: - return Not ? ">" : "<="; - case Operator.Like: - return Not ? "NOT ILIKE" : "ILIKE"; - default: - return Not ? "<>" : "="; - } - } - } - -} diff --git a/samples/Common/Repository.Dapper.Core/Sql/SqlCeDialect.cs b/samples/Common/Repository.Dapper.Core/Sql/SqlCeDialect.cs deleted file mode 100644 index e5a74145a..000000000 --- a/samples/Common/Repository.Dapper.Core/Sql/SqlCeDialect.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Repository.Dapper.Core.Sql -{ - public class SqlCeDialect : SqlDialectBase - { - public override char OpenQuote - { - get { return '['; } - } - - public override char CloseQuote - { - get { return ']'; } - } - - public override bool SupportsMultipleStatements - { - get { return false; } - } - - public override string GetTableName(string schemaName, string tableName, string alias) - { - if (string.IsNullOrWhiteSpace(tableName)) - { - throw new ArgumentNullException("TableName"); - } - - StringBuilder result = new StringBuilder(); - result.Append(OpenQuote); - if (!string.IsNullOrWhiteSpace(schemaName)) - { - result.AppendFormat("{0}_", schemaName); - } - - result.AppendFormat("{0}{1}", tableName, CloseQuote); - - - if (!string.IsNullOrWhiteSpace(alias)) - { - result.AppendFormat(" AS {0}{1}{2}", OpenQuote, alias, CloseQuote); - } - - return result.ToString(); - } - - public override string GetIdentitySql(string tableName) - { - return "SELECT CAST(@@IDENTITY AS BIGINT) AS [Id]"; - } - - public override string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary parameters) - { - int startValue = (page * resultsPerPage); - return GetSetSql(sql, startValue, resultsPerPage, parameters); - } - - public override string GetSetSql(string sql, int firstResult, int maxResults, IDictionary parameters) - { - string result = string.Format("{0} OFFSET @firstResult ROWS FETCH NEXT @maxResults ROWS ONLY", sql); - parameters.Add("@firstResult", firstResult); - parameters.Add("@maxResults", maxResults); - return result; - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Sql/SqlDialectBase.cs b/samples/Common/Repository.Dapper.Core/Sql/SqlDialectBase.cs deleted file mode 100644 index 339111991..000000000 --- a/samples/Common/Repository.Dapper.Core/Sql/SqlDialectBase.cs +++ /dev/null @@ -1,156 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Repository.Dapper.Core.Sql -{ - public interface ISqlDialect - { - char OpenQuote { get; } - char CloseQuote { get; } - string BatchSeperator { get; } - bool SupportsMultipleStatements { get; } - char ParameterPrefix { get; } - string EmptyExpression { get; } - string GetTableName(string schemaName, string tableName, string alias); - string GetColumnName(string prefix, string columnName, string alias); - string GetIdentitySql(string tableName); - string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary parameters); - string GetSetSql(string sql, int firstResult, int maxResults, IDictionary parameters); - bool IsQuoted(string value); - string QuoteString(string value); - string GetOperatorString(Operator Operator, bool Not); - } - - public abstract class SqlDialectBase : ISqlDialect - { - public virtual char OpenQuote - { - get { return '"'; } - } - - public virtual char CloseQuote - { - get { return '"'; } - } - - public virtual string BatchSeperator - { - get { return ";" + Environment.NewLine; } - } - - public virtual bool SupportsMultipleStatements - { - get { return true; } - } - - public virtual char ParameterPrefix - { - get - { - return '@'; - } - } - - public string EmptyExpression - { - get - { - return "1=1"; - } - } - - public virtual string GetTableName(string schemaName, string tableName, string alias) - { - if (string.IsNullOrWhiteSpace(tableName)) - { - throw new ArgumentNullException("TableName", "tableName cannot be null or empty."); - } - - StringBuilder result = new StringBuilder(); - if (!string.IsNullOrWhiteSpace(schemaName)) - { - result.AppendFormat(QuoteString(schemaName) + "."); - } - - result.AppendFormat(QuoteString(tableName)); - - if (!string.IsNullOrWhiteSpace(alias)) - { - result.AppendFormat(" AS {0}", QuoteString(alias)); - } - return result.ToString(); - } - - public virtual string GetColumnName(string prefix, string columnName, string alias) - { - if (string.IsNullOrWhiteSpace(columnName)) - { - throw new ArgumentNullException("ColumnName", "columnName cannot be null or empty."); - } - - StringBuilder result = new StringBuilder(); - if (!string.IsNullOrWhiteSpace(prefix)) - { - result.AppendFormat(QuoteString(prefix) + "."); - } - - result.AppendFormat(QuoteString(columnName)); - - if (!string.IsNullOrWhiteSpace(alias)) - { - result.AppendFormat(" AS {0}", QuoteString(alias)); - } - - return result.ToString(); - } - - public abstract string GetIdentitySql(string tableName); - public abstract string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary parameters); - public abstract string GetSetSql(string sql, int firstResult, int maxResults, IDictionary parameters); - - public virtual bool IsQuoted(string value) - { - if (value.Trim()[0] == OpenQuote) - { - return value.Trim().Last() == CloseQuote; - } - - return false; - } - - public virtual string QuoteString(string value) - { - if (IsQuoted(value) || value == "*") - { - return value; - } - return string.Format("{0}{1}{2}", OpenQuote, value.Trim(), CloseQuote); - } - - public virtual string UnQuoteString(string value) - { - return IsQuoted(value) ? value.Substring(1, value.Length - 2) : value; - } - - public virtual string GetOperatorString(Operator Operator, bool Not) - { - switch (Operator) - { - case Operator.Gt: - return Not ? "<=" : ">"; - case Operator.Ge: - return Not ? "<" : ">="; - case Operator.Lt: - return Not ? ">=" : "<"; - case Operator.Le: - return Not ? ">" : "<="; - case Operator.Like: - return Not ? "NOT LIKE" : "LIKE"; - default: - return Not ? "<>" : "="; - } - } - } -} diff --git a/samples/Common/Repository.Dapper.Core/Sql/SqlGenerator.cs b/samples/Common/Repository.Dapper.Core/Sql/SqlGenerator.cs deleted file mode 100644 index dfd5379e0..000000000 --- a/samples/Common/Repository.Dapper.Core/Sql/SqlGenerator.cs +++ /dev/null @@ -1,413 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Repository.Dapper.Core.Mapper; - -namespace Repository.Dapper.Core.Sql -{ - public interface ISqlGenerator - { - IDapperExtensionsConfiguration Configuration { get; } - - string Select(IClassMapper classMap, IPredicate predicate, IList sort, IDictionary parameters, string schemaName, string tableName, IList join=null, IList alias = null); - - string SelectPaged(IClassMapper classMap, IPredicate predicate, IList sort, int page, int resultsPerPage, IDictionary parameters, string schemaName, string tableName, IList join, IList alias); - string SelectSet(IClassMapper classMap, IPredicate predicate, IList sort, int firstResult, int maxResults, IDictionary parameters, string schemaName, string tableName, IList join, IList alias); - string Count(IClassMapper classMap, IPredicate predicate, IDictionary parameters, string schemaName, string tableName, IList join); - - string Insert(IClassMapper classMap, string schemaName, string tableName); - string Update(IClassMapper classMap, IPredicate predicate, IDictionary parameters, string schemaName, string tableName); - string UpdateSet(IClassMapper classMap,object entity, IPredicate predicate, IDictionary parameters, string schemaName, string tableName); - string Delete(IClassMapper classMap, IPredicate predicate, IDictionary parameters, string schemaName, string tableName); - - string IdentitySql(IClassMapper classMap, string schemaName, string tableName); - string GetTableName(IClassMapper map, string schemaName, string tableName, IList join = null); - string GetColumnName(bool prefix,IClassMapper map, IPropertyMap property, bool includeAlias, string schemaName, string tableName, string aliasName = null); - string GetColumnName(bool prefix, IClassMapper map, string propertyName, bool includeAlias, string schemaName, string tableName); - bool SupportsMultipleStatements(); - string GetOperatorString(Operator Operator, bool Not); - } - - public class SqlGeneratorImpl : ISqlGenerator - { - public SqlGeneratorImpl(IDapperExtensionsConfiguration configuration) - { - Configuration = configuration; - } - - public IDapperExtensionsConfiguration Configuration { get; private set; } - - public virtual string Select(IClassMapper classMap, IPredicate predicate, IList sort, IDictionary parameters, string schemaName, string tableName, IList join=null, IList alias=null) - { - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - StringBuilder sql = new StringBuilder(string.Format("SELECT {0} FROM {1}", - BuildSelectColumns(classMap, schemaName, tableName,join,alias), - GetTableName(classMap, schemaName, tableName,join))); - - if (predicate != null) - { - sql.Append(" WHERE ") - .Append(predicate.GetSql(join!=null,this, parameters,schemaName,tableName)); - } - - if (sort != null && sort.Any()) - { - sql.Append(" ORDER BY ") - .Append(sort.Select(s => s.GetSql(join != null,this, schemaName,tableName)).AppendStrings()); - } - - return sql.ToString(); - } - - public virtual string SelectPaged(IClassMapper classMap, IPredicate predicate, IList sort, int page, int resultsPerPage, IDictionary parameters, string schemaName, string tableName, IList join, IList alias) - { - if (sort == null || !sort.Any()) - { - sort = classMap.Properties.Where(w => w.KeyType != KeyType.NotAKey).Select(w => (ISort)new SortKey(classMap) { PropertyName = w.Name, Ascending = true }).ToList(); - //throw new ArgumentNullException("Sort", "Sort cannot be null or empty."); - } - - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - StringBuilder innerSql = new StringBuilder(string.Format("SELECT {0} FROM {1}", - BuildSelectColumns(classMap, schemaName, tableName,join,alias), - GetTableName(classMap, schemaName, tableName,join))); - if (predicate != null) - { - innerSql.Append(" WHERE ") - .Append(predicate.GetSql(join!=null,this, parameters,schemaName,tableName)); - } - - string orderBy = sort.Select(s => s.GetSql(join != null, this, schemaName, tableName)).AppendStrings(); - innerSql.Append(" ORDER BY " + orderBy); - - string sql = Configuration.Dialect.GetPagingSql(innerSql.ToString(), page, resultsPerPage, parameters); - return sql; - } - - public virtual string SelectSet(IClassMapper classMap, IPredicate predicate, IList sort, int firstResult, int maxResults, IDictionary parameters, string schemaName, string tableName, IList join, IList alias) - { - if (sort == null || !sort.Any()) - { - sort = classMap.Properties.Where(w => w.KeyType != KeyType.NotAKey).Select(w => (ISort)new SortKey(classMap) { PropertyName = w.Name, Ascending = true }).ToList(); - //throw new ArgumentNullException("Sort", "Sort cannot be null or empty."); - } - - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - StringBuilder innerSql = new StringBuilder(string.Format("SELECT {0} FROM {1}", - BuildSelectColumns(classMap, schemaName, tableName,join,alias), - GetTableName(classMap, schemaName, tableName,join))); - if (predicate != null) - { - innerSql.Append(" WHERE ") - .Append(predicate.GetSql(join != null, this, parameters,schemaName,tableName)); - } - - string orderBy = sort.Select(s => s.GetSql(join != null, this, schemaName, tableName)).AppendStrings(); - innerSql.Append(" ORDER BY " + orderBy); - - string sql = Configuration.Dialect.GetSetSql(innerSql.ToString(), firstResult, maxResults, parameters); - return sql; - } - - - public virtual string Count(IClassMapper classMap, IPredicate predicate, IDictionary parameters, string schemaName, string tableName, IList join) - { - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - StringBuilder sql = new StringBuilder(string.Format("SELECT COUNT(*) AS {0}Total{1} FROM {2}", - Configuration.Dialect.OpenQuote, - Configuration.Dialect.CloseQuote, - GetTableName(classMap, schemaName, tableName,join))); - if (predicate != null) - { - sql.Append(" WHERE ") - .Append(predicate.GetSql(join != null, this, parameters,schemaName,tableName)); - } - - return sql.ToString(); - } - - public virtual string Insert(IClassMapper classMap, string schemaName, string tableName) - { - var columns = classMap.Properties.Where(p => !(p.Ignored || p.IsReadOnly || p.KeyType == KeyType.Identity || p.KeyType == KeyType.TriggerIdentity)); - if (!columns.Any()) - { - throw new ArgumentException("No columns were mapped."); - } - - var columnNames = columns.Select(p => GetColumnName(false,classMap, p, false, schemaName, tableName)); - var parameters = columns.Select(p => Configuration.Dialect.ParameterPrefix + p.Name); - - string sql = string.Format("INSERT INTO {0} ({1}) VALUES ({2})", - GetTableName(classMap, schemaName, tableName), - columnNames.AppendStrings(), - parameters.AppendStrings()); - - var triggerIdentityColumn = classMap.Properties.Where(p => p.KeyType == KeyType.TriggerIdentity).ToList(); - - if (triggerIdentityColumn.Count > 0) - { - if (triggerIdentityColumn.Count > 1) - throw new ArgumentException("TriggerIdentity generator cannot be used with multi-column keys"); - - sql += string.Format(" RETURNING {0} INTO {1}IdOutParam", triggerIdentityColumn.Select(p => GetColumnName(false,classMap, p, false, schemaName, tableName)).First(), Configuration.Dialect.ParameterPrefix); - } - - return sql; - } - - public virtual string Update(IClassMapper classMap, IPredicate predicate, IDictionary parameters, string schemaName, string tableName) - { - if (predicate == null) - { - throw new ArgumentNullException("Predicate"); - } - - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - var columns = classMap.Properties.Where(p => !(p.Ignored || p.IsReadOnly || p.KeyType == KeyType.Identity || p.KeyType == KeyType.Assigned)); - if (!columns.Any()) - { - throw new ArgumentException("No columns were mapped."); - } - - var setSql = - columns.Select( - p => - string.Format( - "{0} = {1}{2}", GetColumnName(false,classMap, p, false, schemaName, tableName), Configuration.Dialect.ParameterPrefix, p.Name)); - - return string.Format("UPDATE {0} SET {1} WHERE {2}", - GetTableName(classMap, schemaName, tableName), - setSql.AppendStrings(), - predicate.GetSql(false,this, parameters,schemaName,tableName)); - } - - public virtual string UpdateSet(IClassMapper classMap, object entity, IPredicate predicate, IDictionary parameters, string schemaName, string tableName) - { - if (predicate == null) - { - throw new ArgumentNullException("Predicate"); - } - - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - var columns = classMap.Properties.Where(p => !(p.Ignored || p.IsReadOnly || p.KeyType == KeyType.Identity || p.KeyType == KeyType.Assigned)); - if (!columns.Any()) - { - throw new ArgumentException("No columns were mapped."); - } - var vColName = ReflectionHelper.GetObjectValues(entity).Select(w => w.Key); - var setSql = - columns.Where(w => vColName.Contains(w.Name)).Select( - p => - string.Format( - "{0} = {1}{2}", GetColumnName(false,classMap, p, false, schemaName, tableName), Configuration.Dialect.ParameterPrefix, p.Name)); - - return string.Format("UPDATE {0} SET {1} WHERE {2}", - GetTableName(classMap, schemaName, tableName), - setSql.AppendStrings(), - predicate.GetSql(false,this, parameters, schemaName, tableName)); - } - - public virtual string Delete(IClassMapper classMap, IPredicate predicate, IDictionary parameters, string schemaName, string tableName) - { - if (predicate == null) - { - throw new ArgumentNullException("Predicate"); - } - - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - StringBuilder sql = new StringBuilder(string.Format("DELETE FROM {0}", GetTableName(classMap, schemaName, tableName))); - sql.Append(" WHERE ").Append(predicate.GetSql(false,this, parameters,schemaName,tableName)); - return sql.ToString(); - } - - public virtual string IdentitySql(IClassMapper classMap, string schemaName, string tableName) - { - return Configuration.Dialect.GetIdentitySql(GetTableName(classMap, schemaName, tableName)); - } - - public virtual string GetTableName(IClassMapper map, string schemaName, string tableName, IList join = null) - { - if (join != null && join.Count > 0) - { - var baseClassMap = join[0].GetLeftMapper(this); - var baseTable = GetTableName(baseClassMap, join[0].SchemaName, join[0].TableName); - return $"{baseTable} {string.Join(" ", join.Select(w => w.GetSql(join != null, this, null, null, null)))}"; - } - - schemaName = string.IsNullOrWhiteSpace(schemaName) ? map.SchemaName : schemaName; - tableName = string.IsNullOrWhiteSpace(tableName) ? map.TableName : tableName; - return Configuration.Dialect.GetTableName(schemaName, tableName, null); - } - - public virtual string GetColumnName(bool prefix, IClassMapper map, IPropertyMap property, bool includeAlias, string schemaName, string tableName, string aliasName = null) - { - string alias = null; - string propertyName = property.Name; - if (aliasName != null) - { - propertyName = aliasName; - } - if (property.ColumnName != propertyName && includeAlias) - { - alias = propertyName; - } - - return Configuration.Dialect.GetColumnName(prefix ? GetTableName(map, schemaName, tableName) : null, property.ColumnName, alias); - } - - public virtual string GetColumnName(bool prefix, IClassMapper map, string propertyName, bool includeAlias, string schemaName, string tableName) - { - IPropertyMap propertyMap = map.Properties.SingleOrDefault(p => p.Name.Equals(propertyName, StringComparison.InvariantCultureIgnoreCase)); - if (propertyMap == null) - { - throw new ArgumentException(string.Format("Could not find '{0}' in Mapping.", propertyName)); - } - - return GetColumnName(prefix,map, propertyMap, includeAlias,schemaName, tableName); - } - - public virtual bool SupportsMultipleStatements() - { - return Configuration.Dialect.SupportsMultipleStatements; - } - - public virtual string BuildSelectColumns(IClassMapper classMap, string schemaName, string tableName, IList join = null, IList alias = null) - { - if (join != null && join.Count > 0) - { - Dictionary joinMap = new Dictionary(); - - foreach (var itemJoin in join) - { - var leftMap = itemJoin.GetLeftMapper(this); - var tablename = $"{leftMap.SchemaName}.{leftMap.TableName}"; - if (!joinMap.ContainsKey(tablename)) - joinMap.Add(tablename, new JoinMapper() - { - Mapper = leftMap, - SchemaName = itemJoin.SchemaName, - TableName = itemJoin.TableName - }); - var rightMap = itemJoin.GetRightMapper(this); - tablename = $"{rightMap.SchemaName}.{rightMap.TableName}"; - if (!joinMap.ContainsKey(tablename)) - joinMap.Add(tablename, new JoinMapper() - { - Mapper = rightMap, - SchemaName = itemJoin.SchemaName2, - TableName = itemJoin.TableName2 - }); - } - - var vMapPro = classMap.Properties.Select(w => w.Name).ToList(); - - List ListColumn = new List(); - - foreach (var itemMap in joinMap) - { - if (vMapPro.Count == 0) - break; - var vAllProperty = itemMap.Value.Mapper.Properties.Where(w => !w.Ignored); - for (int i = vMapPro.Count - 1; i >= 0; i--) - { - var jitem = vAllProperty.Where(w => w.Name.Equals(vMapPro[i], StringComparison.OrdinalIgnoreCase)); - if (jitem.Count() > 0) - { - ListColumn.Add(new JoinMapper() - { - AliasName = null, - Mapper = itemMap.Value.Mapper, - Propertry = jitem.First(), - SchemaName = itemMap.Value.SchemaName, - TableName = itemMap.Value.TableName - }); - vMapPro.RemoveAt(i); - } - } - } - - if (alias != null && vMapPro.Count > 0) - { - foreach (var itemAlia in alias) - { - if (vMapPro.Count == 0) - break; - - var rightMap = itemAlia.GetRightMapper(this); - var tablename = $"{rightMap.SchemaName}.{rightMap.TableName}"; - if (!joinMap.ContainsKey(tablename)) - break; - - var vrightSchemaMap = joinMap[tablename]; - var propertyMap = itemAlia.GetPropertyMap(this); - for (int i = vMapPro.Count - 1; i >= 0; i--) - { - if (itemAlia.PropertyName.Equals(vMapPro[i])) - { - ListColumn.Add(new JoinMapper() - { - AliasName = itemAlia.PropertyName, - Mapper = vrightSchemaMap.Mapper, - Propertry = propertyMap, - SchemaName = vrightSchemaMap.SchemaName, - TableName = vrightSchemaMap.TableName - }); - vMapPro.RemoveAt(i); - break; - } - } - } - } - - var jcolumns = ListColumn.Select(p => GetColumnName(true,p.Mapper, p.Propertry, true, p.SchemaName, p.TableName, p.AliasName)); - return jcolumns.AppendStrings(); - } - - var columns = classMap.Properties - .Where(p => !p.Ignored) - .Select(p => GetColumnName(false,classMap, p, true, schemaName, tableName)); - return columns.AppendStrings(); - } - - public string GetOperatorString(Operator Operator, bool Not) => Configuration.Dialect.GetOperatorString(Operator, Not); - - internal class JoinMapper - { - public IPropertyMap Propertry { get; set; } - public IClassMapper Mapper { get; set; } - public string SchemaName { get; set; } - public string TableName { get; set; } - - public string AliasName { get; set; } - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Sql/SqlServerDialect.cs b/samples/Common/Repository.Dapper.Core/Sql/SqlServerDialect.cs deleted file mode 100644 index 53e09f788..000000000 --- a/samples/Common/Repository.Dapper.Core/Sql/SqlServerDialect.cs +++ /dev/null @@ -1,146 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Repository.Dapper.Core.Sql -{ - public class SqlServerDialect : SqlDialectBase - { - public override char OpenQuote - { - get { return '['; } - } - - public override char CloseQuote - { - get { return ']'; } - } - - public override string GetIdentitySql(string tableName) - { - return string.Format("SELECT CAST(SCOPE_IDENTITY() AS BIGINT) AS [Id]"); - } - - public override string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary parameters) - { - int startValue = ((page-1) * resultsPerPage) + 1; - return GetSetSql(sql, startValue < 1 ? 1 : startValue, resultsPerPage, parameters); - } - - public override string GetSetSql(string sql, int firstResult, int maxResults, IDictionary parameters) - { - if (string.IsNullOrEmpty(sql)) - { - throw new ArgumentNullException("SQL"); - } - - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - int selectIndex = GetSelectEnd(sql) + 1; - string orderByClause = GetOrderByClause(sql); - if (orderByClause == null) - { - orderByClause = "ORDER BY CURRENT_TIMESTAMP"; - } - - - string projectedColumns = GetColumnNames(sql).Aggregate(new StringBuilder(), (sb, s) => (sb.Length == 0 ? sb : sb.Append(", ")).Append(GetColumnName("_proj", s, null)), sb => sb.ToString()); - string newSql = sql - .Replace(" " + orderByClause, string.Empty) - .Insert(selectIndex, string.Format("ROW_NUMBER() OVER(ORDER BY {0}) AS {1}, ", orderByClause.Substring(9), GetColumnName(null, "_row_number", null))); - - string result = string.Format("SELECT TOP({0}) {1} FROM ({2}) [_proj] WHERE {3} >= @_pageStartRow ORDER BY {3}", - maxResults, projectedColumns.Trim(), newSql, GetColumnName("_proj", "_row_number", null)); - - parameters.Add("@_pageStartRow", firstResult); - return result; - } - - protected string GetOrderByClause(string sql) - { - int orderByIndex = sql.LastIndexOf(" ORDER BY ", StringComparison.InvariantCultureIgnoreCase); - if (orderByIndex == -1) - { - return null; - } - - string result = sql.Substring(orderByIndex).Trim(); - - int whereIndex = result.IndexOf(" WHERE ", StringComparison.InvariantCultureIgnoreCase); - if (whereIndex == -1) - { - return result; - } - - return result.Substring(0, whereIndex).Trim(); - } - - protected int GetFromStart(string sql) - { - int selectCount = 0; - string[] words = sql.Split(' '); - int fromIndex = 0; - foreach (var word in words) - { - if (word.Equals("SELECT", StringComparison.InvariantCultureIgnoreCase)) - { - selectCount++; - } - - if (word.Equals("FROM", StringComparison.InvariantCultureIgnoreCase)) - { - selectCount--; - if (selectCount == 0) - { - break; - } - } - - fromIndex += word.Length + 1; - } - - return fromIndex; - } - - protected virtual int GetSelectEnd(string sql) - { - if (sql.StartsWith("SELECT DISTINCT", StringComparison.InvariantCultureIgnoreCase)) - { - return 15; - } - - if (sql.StartsWith("SELECT", StringComparison.InvariantCultureIgnoreCase)) - { - return 6; - } - - throw new ArgumentException("SQL must be a SELECT statement.", "sql"); - } - - protected virtual IList GetColumnNames(string sql) - { - int start = GetSelectEnd(sql); - int stop = GetFromStart(sql); - string[] columnSql = sql.Substring(start, stop - start).Split(','); - List result = new List(); - foreach (string c in columnSql) - { - int index = c.IndexOf(" AS ", StringComparison.InvariantCultureIgnoreCase); - if (index > 0) - { - result.Add(c.Substring(index + 4).Trim()); - continue; - } - - string[] colParts = c.Split('.'); - result.Add(colParts[colParts.Length - 1].Trim()); - } - - return result; - } - } -} \ No newline at end of file diff --git a/samples/Common/Repository.Dapper.Core/Sql/SqliteDialect.cs b/samples/Common/Repository.Dapper.Core/Sql/SqliteDialect.cs deleted file mode 100644 index e21bbba56..000000000 --- a/samples/Common/Repository.Dapper.Core/Sql/SqliteDialect.cs +++ /dev/null @@ -1,53 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Repository.Dapper.Core.Sql -{ - public class SqliteDialect : SqlDialectBase - { - public override string GetIdentitySql(string tableName) - { - return "SELECT LAST_INSERT_ROWID() AS [Id]"; - } - - public override string GetPagingSql(string sql, int page, int resultsPerPage, IDictionary parameters) - { - int startValue = (page - 1) * resultsPerPage; - return GetSetSql(sql, startValue < 0 ? 0 : startValue, resultsPerPage, parameters); - } - - public override string GetSetSql(string sql, int firstResult, int maxResults, IDictionary parameters) - { - if (string.IsNullOrEmpty(sql)) - { - throw new ArgumentNullException("SQL"); - } - - if (parameters == null) - { - throw new ArgumentNullException("Parameters"); - } - - var result = string.Format("{0} LIMIT @Offset, @Count", sql); - parameters.Add("@Offset", firstResult); - parameters.Add("@Count", maxResults); - return result; - } - - public override string GetColumnName(string prefix, string columnName, string alias) - { - if (string.IsNullOrWhiteSpace(columnName)) - { - throw new ArgumentNullException(columnName, "columnName cannot be null or empty."); - } - var result = new StringBuilder(); - result.AppendFormat(columnName); - if (!string.IsNullOrWhiteSpace(alias)) - { - result.AppendFormat(" AS {0}", QuoteString(alias)); - } - return result.ToString(); - } - } -} diff --git "a/samples/Common/Repository.EF.Core/BaseImpQueryOnlyRepository - \345\244\215\345\210\266.cs" "b/samples/Common/Repository.EF.Core/BaseImpQueryOnlyRepository - \345\244\215\345\210\266.cs" deleted file mode 100644 index a5cb78318..000000000 --- "a/samples/Common/Repository.EF.Core/BaseImpQueryOnlyRepository - \345\244\215\345\210\266.cs" +++ /dev/null @@ -1,150 +0,0 @@ -using DDD.Core; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Query; -using Surging.Core.CPlatform.Ioc; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Text; - -namespace Repository.EF.Core -{ - public class BaseImpQueryOnlyRepository: BaseRepository,IQueryOnlyRepository //where T : class, IDBModel - { - private readonly DefaultDbContext _dbContext; - private readonly DbSet _set; - public BaseImpQueryOnlyRepository(string modelAssemblyName)//DefaultDbContext dbContext) - { - //if (dbContext == null) throw new ArgumentNullException(nameof(dbContext)); - - _dbContext = new DefaultDbContext(modelAssemblyName); - _dbContext.Database.EnsureCreated(); - _set = _dbContext.Set(); - } - - - - #region 所有跟添加/修改/删除无关的界面查询,也不包含报表查询 - - public virtual int Count(Expression> @where = null) where T : class, IDBModel - { - return where == null ? _set.Count() : _set.Count(@where); - } - - public virtual bool Exist(Expression> @where = null) where T : class, IDBModel - { - return Get(where).Any(); - } - - public virtual bool Exist(Expression> @where = null, params Expression>[] includes) - { - return Get(where, includes).Any(); - } - - public virtual int ExecuteSqlWithNonQuery(string sql, params object[] parameters) - { - return _dbContext.ExecuteSqlWithNonQuery(sql, parameters); - } - - public virtual T GetSingle(Guid key) - { - return _set.Find(key); - } - - public T GetSingle(Guid key, params Expression>[] includes) - { - if (includes == null) return GetSingle(key); - var query = _set.AsQueryable(); - foreach (var include in includes) - { - query = query.Include(include); - } - Expression> filter = m => m.KeyId.Equals(key); - return query.SingleOrDefault(filter.Compile()); - } - - public T GetSingle(Expression> @where = null) - { - if (where == null) return _set.SingleOrDefault(); - return _set.SingleOrDefault(@where); - } - - public T GetSingle(Expression> @where = null, params Expression>[] includes) - { - if (includes == null) return GetSingle(where); - var query = _set.AsQueryable(); - foreach (var include in includes) - { - query = query.Include(include); - } - if (where == null) return query.SingleOrDefault(); - return query.SingleOrDefault(where); - } - - public virtual IQueryable Get(Expression> @where = null) - { - return @where != null ? _set.AsNoTracking().Where(@where) : _set.AsNoTracking(); - } - - - public virtual IQueryable Get(Expression> @where = null, params Expression>[] includes) - { - if (includes == null) - return Get(where); - var query = _set.AsQueryable(); - foreach (var include in includes) - { - query = query.Include(include); - } - return @where != null ? query.AsNoTracking().Where(@where) : query.AsNoTracking(); - } - public class IncludeTree - { - public Expression> Property { get; set; } - public Expression>[] navigationPropertyPath { get; set; } - - public List< IncludeTree>[] Childs { get; set; } - } - - //static IIncludableQueryable IncludeTable( IIncludableQueryable queryable, List< IncludeTree> includeTrees) - // { - // foreach (var includeTree in includeTrees) - // { - // queryable.Include(includeTree.Property).ThenInclude((includeTree.ChildInclude)); - - // } - // } - - - - - - public virtual IList SqlQuery(string sql, params object[] parameters) where TView : class, new() - { - return _dbContext.SqlQuery(sql, parameters); - } - - - public virtual IEnumerable GetByPagination(Expression> @where, int pageSize, int pageIndex, Expression>[] includes, bool asc = true, params Func[] @orderby) - { - var filter = Get(where).AsQueryable(); - if (includes != null) - { - foreach (var include in includes) - { - filter = filter.Include(include); - } - } - if (orderby != null) - { - foreach (var func in orderby) - { - filter = asc ? filter.OrderBy(func).AsQueryable() : filter.OrderByDescending(func).AsQueryable(); - } - } - return filter.Skip(pageSize * (pageIndex - 1)).Take(pageSize); - } - #endregion - } -} diff --git a/samples/Common/Repository.EF.Core/BaseImpQueryOnlyRepository.cs b/samples/Common/Repository.EF.Core/BaseImpQueryOnlyRepository.cs deleted file mode 100644 index 82c9efda4..000000000 --- a/samples/Common/Repository.EF.Core/BaseImpQueryOnlyRepository.cs +++ /dev/null @@ -1,149 +0,0 @@ -using DDD.Core; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Query; -using Surging.Core.CPlatform.Ioc; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using System.Text; - -namespace Repository.EF.Core -{ - public class BaseImpQueryOnlyRepository: BaseRepository,IQueryOnlyRepository where T : class, IDBModel - { - protected readonly DefaultDbContext _dbContext; - protected readonly DbSet _set; - public BaseImpQueryOnlyRepository()//DefaultDbContext dbContext) - { - //if (dbContext == null) throw new ArgumentNullException(nameof(dbContext)); - - _dbContext = new DefaultDbContext(); - _set = _dbContext.Set(); - } - - - - #region 所有跟添加/修改/删除无关的界面查询,也不包含报表查询 - - public virtual int Count(Expression> @where = null) - { - return where == null ? _set.Count() : _set.Count(@where); - } - - public virtual bool Exist(Expression> @where = null) - { - return Get(where).Any(); - } - - public virtual bool Exist(Expression> @where = null, params Expression>[] includes) - { - return Get(where, includes).Any(); - } - - public virtual int ExecuteSqlWithNonQuery(string sql, params object[] parameters) - { - return _dbContext.ExecuteSqlWithNonQuery(sql, parameters); - } - - public virtual T GetSingle(Guid key) - { - return _set.Find(key); - } - - public T GetSingle(Guid key, params Expression>[] includes) - { - if (includes == null) return GetSingle(key); - var query = _set.AsQueryable(); - foreach (var include in includes) - { - query = query.Include(include); - } - Expression> filter = m => m.KeyId.Equals(key); - return query.SingleOrDefault(filter.Compile()); - } - - public T GetSingle(Expression> @where = null) - { - if (where == null) return _set.SingleOrDefault(); - return _set.SingleOrDefault(@where); - } - - public T GetSingle(Expression> @where = null, params Expression>[] includes) - { - if (includes == null) return GetSingle(where); - var query = _set.AsQueryable(); - foreach (var include in includes) - { - query = query.Include(include); - } - if (where == null) return query.SingleOrDefault(); - return query.SingleOrDefault(where); - } - - public virtual IQueryable Get(Expression> @where = null) - { - return @where != null ? _set.AsNoTracking().Where(@where) : _set.AsNoTracking(); - } - - - public virtual IQueryable Get(Expression> @where = null, params Expression>[] includes) - { - if (includes == null) - return Get(where); - var query = _set.AsQueryable(); - foreach (var include in includes) - { - query = query.Include(include); - } - return @where != null ? query.AsNoTracking().Where(@where) : query.AsNoTracking(); - } - public class IncludeTree - { - public Expression> Property { get; set; } - public Expression>[] navigationPropertyPath { get; set; } - - public List< IncludeTree>[] Childs { get; set; } - } - - //static IIncludableQueryable IncludeTable( IIncludableQueryable queryable, List< IncludeTree> includeTrees) - // { - // foreach (var includeTree in includeTrees) - // { - // queryable.Include(includeTree.Property).ThenInclude((includeTree.ChildInclude)); - - // } - // } - - - - - - public virtual IList SqlQuery(string sql, params object[] parameters) where TView : class, new() - { - return _dbContext.SqlQuery(sql, parameters); - } - - - public virtual IEnumerable GetByPagination(Expression> @where, int pageSize, int pageIndex, Expression>[] includes, bool asc = true, params Func[] @orderby) - { - var filter = Get(where).AsQueryable(); - if (includes != null) - { - foreach (var include in includes) - { - filter = filter.Include(include); - } - } - if (orderby != null) - { - foreach (var func in orderby) - { - filter = asc ? filter.OrderBy(func).AsQueryable() : filter.OrderByDescending(func).AsQueryable(); - } - } - return filter.Skip(pageSize * (pageIndex - 1)).Take(pageSize); - } - #endregion - } -} diff --git a/samples/Common/Repository.EF.Core/BaseImpRepository.cs b/samples/Common/Repository.EF.Core/BaseImpRepository.cs deleted file mode 100644 index 8a8312319..000000000 --- a/samples/Common/Repository.EF.Core/BaseImpRepository.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Linq.Expressions; -using DDD.Core; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Query; -using Surging.Core.CPlatform.Ioc; - -namespace Repository.EF.Core -{ - public class BaseImpRepository : BaseRepository,IRepository where T : IAggregate - { - private readonly string _modelAssemblyName; - private readonly DefaultDbContext _dbContext; - protected readonly DbSet _set; - public BaseImpRepository()//DefaultDbContext dbContext) - { - //if (dbContext == null) throw new ArgumentNullException(nameof(dbContext)); - - _dbContext = new DefaultDbContext(); - //_dbContext.Database.EnsureCreated(); - _set = _dbContext.Set(); - } - - - - public virtual void Delete(Guid key) - { - } - - - - public virtual void Dispose() - { - if (_dbContext != null) - { - _dbContext.Dispose(); - } - } - - public virtual T FindBy(Guid key) //where T : IAggregate - { - //TODO:想要动态地加载聚合的所有数据 - return null;// _dbContext.Set().First(a => a.KeyId == key); - } - - public void Add(T aggregate)// where T : IAggregate - { - // using (var _dbContext=new DefaultDbContext(_modelAssemblyName)) - // { - _dbContext.Set().Add(aggregate); - // _dbContext.SaveChanges(); - // } - } - public void Update(T aggregate)// where T : IAggregate - { - _dbContext.Set().Update(aggregate); - } - - public int Commit() - { - return _dbContext.SaveChanges(); - } - } -} diff --git a/samples/Common/Repository.EF.Core/ConfigHelper.cs b/samples/Common/Repository.EF.Core/ConfigHelper.cs deleted file mode 100644 index 41670aff7..000000000 --- a/samples/Common/Repository.EF.Core/ConfigHelper.cs +++ /dev/null @@ -1,101 +0,0 @@ -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.FileProviders; -using Surging.Core.CPlatform.Configurations.Remote; -using Surging.Core.CPlatform.Utilities; -using System; -using System.Collections.Generic; -using System.IO; -using System.Text; - -namespace Repository.EF.Extensions -{ - public static class DBConfigurationExtensions - { - public static IConfigurationBuilder AddDBFile(this IConfigurationBuilder builder, string path) - { - return AddDBFile(builder, provider: null, path: path, optional: false, reloadOnChange: false); - } - - public static IConfigurationBuilder AddDBFile(this IConfigurationBuilder builder, string path, bool optional) - { - return AddDBFile(builder, provider: null, path: path, optional: optional, reloadOnChange: false); - } - - public static IConfigurationBuilder AddDBFile(this IConfigurationBuilder builder, string path, bool optional, bool reloadOnChange) - { - return AddDBFile(builder, provider: null, path: path, optional: optional, reloadOnChange: reloadOnChange); - } - - public static IConfigurationBuilder AddDBFile(this IConfigurationBuilder builder, IFileProvider provider, string path, bool optional, bool reloadOnChange) - { - Check.NotNull(builder, "builder"); - Check.CheckCondition(() => string.IsNullOrEmpty(path), "path"); - if (provider == null && Path.IsPathRooted(path)) - { - provider = new PhysicalFileProvider(Path.GetDirectoryName(path)); - path = Path.GetFileName(path); - } - var source = new DBConfigurationSource - { - FileProvider = provider, - Path = path, - Optional = optional, - ReloadOnChange = reloadOnChange - }; - builder.Add(source); - DBConfig.Configuration = builder.Build(); - return builder; - } - } - public class DBConfig - { - - public static IConfiguration Configuration { get; set; } - /* static ConfigHelper() - { - configuration = AutofacContainer.Resolve(); - } - - public static IConfigurationSection GetSection(string key) - { - return configuration.GetSection(key); - } - - public static string GetConfigurationValue(string key) - { - return configuration[key]; - } - - public static string GetConfigurationValue(string section, string key) - { - return GetSection(section)?[key]; - } - - public static string GetConnectionString(string key) - { - return configuration.GetConnectionString(key); - } - */ - } - - public class DBConfigurationSource : FileConfigurationSource - { - public string ConfigurationKeyPrefix { get; set; } - - public override IConfigurationProvider Build(IConfigurationBuilder builder) - { - FileProvider = FileProvider ?? builder.GetFileProvider(); - return new DBConfigurationProvider(this); - } - } - public class DBConfigurationProvider : FileConfigurationProvider - { - public DBConfigurationProvider(DBConfigurationSource source) : base(source) { } - - public override void Load(Stream stream) - { - var parser = new JsonConfigurationParser(); - this.Data = parser.Parse(stream, null); - } - } -} diff --git a/samples/Common/Repository.EF.Core/DbContextOption.cs b/samples/Common/Repository.EF.Core/DbContextOption.cs deleted file mode 100644 index 9f11e290b..000000000 --- a/samples/Common/Repository.EF.Core/DbContextOption.cs +++ /dev/null @@ -1,50 +0,0 @@ -namespace Repository.EF.Core -{ - - public class DbContextOption - { - /// - /// 数据库连接字符串 - /// - public string ConnectionString { get; set; } - /// - /// 实体程序集名称 - /// - public string ModelAssemblyName { get; set; } - /// - /// 数据库类型 - /// - public DbType DbType { get; set; } = DbType.MSSQLSERVER; - } - - /// - /// 数据库类型枚举 - /// - public enum DbType - { - /// - /// MS SQL Server - /// - MSSQLSERVER=0, - /// - /// Oracle - /// - ORACLE, - /// - /// MySQL - /// - MYSQL, - /// - /// Sqlite - /// - SQLITE, - /// - /// in-memory database - /// - MEMORY, - /// - /// PostgreSQL - /// - NPGSQL - } -} diff --git a/samples/Common/Repository.EF.Core/DefaultDbContext.cs b/samples/Common/Repository.EF.Core/DefaultDbContext.cs deleted file mode 100644 index c15bc3696..000000000 --- a/samples/Common/Repository.EF.Core/DefaultDbContext.cs +++ /dev/null @@ -1,233 +0,0 @@ -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Data.SqlClient; -using System.Linq; -using System.Linq.Expressions; -using System.Reflection; -using System.Threading; -using Config.Core.Extensions; -using DDD.Core; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Extensions; -using Microsoft.Extensions.Configuration; -using Surging.Core.CPlatform; -using Z.EntityFramework.Plus; - -namespace Repository.EF.Core -{ - public sealed class DefaultDbContext : DbContext - { - private DbContextOption _option; - - - public DefaultDbContext() - { - _option = new DbContextOption - { - ConnectionString = DBConfig.Configuration["ConnectionString"], - ModelAssemblyName = DBConfig.Configuration["ModelAssemblyName"], - DbType = DbType.MSSQLSERVER - }; - } - /// - /// 构造函数 - /// - /// - public DefaultDbContext(DbContextOption option) - { - if(option==null) - throw new ArgumentNullException(nameof(option)); - if(string.IsNullOrEmpty(option.ConnectionString)) - throw new ArgumentNullException(nameof(option.ConnectionString)); - if (string.IsNullOrEmpty(option.ModelAssemblyName)) - throw new ArgumentNullException(nameof(option.ModelAssemblyName)); - _option = option; - } - - protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) - { - switch (_option.DbType) - { - case DbType.ORACLE: - throw new NotSupportedException("Oracle EF Core Database Provider is not yet available."); - //case DbType.MYSQL: - // optionsBuilder.UseMySql(_option.ConnectionString); - // break; - //case DbType.SQLITE: - // optionsBuilder.UseSqlite(_option.ConnectionString); - // break; - //case DbType.MEMORY: - // optionsBuilder.UseInMemoryDatabase(_option.ConnectionString); - // break; - //case DbType.NPGSQL: - // optionsBuilder.UseNpgsql(_option.ConnectionString); - // break; - default: - optionsBuilder.UseSqlServer(_option.ConnectionString); - break; - } - base.OnConfiguring(optionsBuilder); - } - - protected override void OnModelCreating(ModelBuilder modelBuilder) - { - AddEntityTypes(modelBuilder); - base.OnModelCreating(modelBuilder); - } - - private void AddEntityTypes(ModelBuilder modelBuilder) - { - var assembly = Assembly.Load(_option.ModelAssemblyName); - var types = assembly?.GetTypes(); - var list = types?.Where(t => - t.IsClass && !t.IsGenericType && !t.IsAbstract&& - t.GetInterfaces().Any(m => m.IsGenericType && m.GetGenericTypeDefinition() == typeof(IDBModel<>))).ToList(); - if (list != null && list.Any()) - { - list.ForEach(t => - { - if (modelBuilder.Model.FindEntityType(t) == null) - modelBuilder.Model.AddEntityType(t); - }); - } - } - - /// - /// ExecuteSqlWithNonQuery - /// - /// - /// - /// - public int ExecuteSqlWithNonQuery(string sql, params object[] parameters) - { - return Database.ExecuteSqlCommand(sql, - CancellationToken.None, - parameters); - } - - /// - /// edit an entity. - /// - /// - /// - /// - public int Edit(T entity) where T : class - { - Entry(entity).State = EntityState.Modified; - return SaveChanges(); - } - - /// - /// edit entities. - /// - /// - /// - /// - public int EditRange(ICollection entities) where T : class - { - Set().AttachRange(entities.ToArray()); - return SaveChanges(); - } - - /// - /// update query datas by columns. - /// - /// - /// - /// - /// - public int Update(Expression> @where, Expression> updateExp) - where T : class - { - return Set().Where(@where).Update(updateExp); - } - - /// - /// update data by columns. - /// - /// - /// - /// - /// - public int Update(T model, params string[] updateColumns) where T : class - { - if (updateColumns != null && updateColumns.Length > 0) - { - if (Entry(model).State == EntityState.Added || - Entry(model).State == EntityState.Detached) Set().Attach(model); - foreach (var propertyName in updateColumns) - { - Entry(model).Property(propertyName).IsModified = true; - } - } - else - { - Entry(model).State = EntityState.Modified; - } - return SaveChanges(); - } - - /// - /// delete by query. - /// - /// - /// - /// - public int Delete(Expression> @where) where T : class - { - Set().Where(@where).Delete(); - return SaveChanges(); - } - - /* - /// - /// bulk insert by sqlbulkcopy, and with transaction. - /// - /// - /// - /// - public void BulkInsert(IList entities, string destinationTableName = null) where T : class - { - if (entities == null || !entities.Any()) return; - if (string.IsNullOrEmpty(destinationTableName)) - { - var mappingTableName = typeof(T).GetCustomAttribute()?.Name; - destinationTableName = string.IsNullOrEmpty(mappingTableName) ? typeof(T).Name : mappingTableName; - } - using (var dt = entities.ToDataTable()) - { - using (var conn = new SqlConnection(_option.ConnectionString)) - { - conn.Open(); - using (var tran = conn.BeginTransaction()) - { - try - { - var bulk = new SqlBulkCopy(conn, SqlBulkCopyOptions.Default, tran); - bulk.BatchSize = entities.Count; - bulk.DestinationTableName = destinationTableName; - bulk.EnableStreaming = true; - bulk.WriteToServerAsync(dt); - tran.Commit(); - } - catch (Exception) - { - tran.Rollback(); - throw; - } - } - conn.Close(); - } - } - } - */ - public List SqlQuery(string sql, params object[] parameters) - where T : class - where TView : class - { - return Set().FromSql(sql, parameters).Cast().ToList(); - } - - } -} \ No newline at end of file diff --git a/samples/Common/Repository.EF.Core/IQueryableExtension.cs b/samples/Common/Repository.EF.Core/IQueryableExtension.cs deleted file mode 100644 index 6a9b9ef56..000000000 --- a/samples/Common/Repository.EF.Core/IQueryableExtension.cs +++ /dev/null @@ -1,120 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Globalization; -using System.Linq; -using System.Linq.Expressions; -using System.Text; -using System.Data.Entity.Infrastructure.DbQuery; -namespace Centa.Agency.Repository.EF -{ - /// - /// Class for IQuerable extensions methods - /// - /// Include method in IQueryable ( base contract for IObjectSet ) is - /// intended for mock Include method in ObjectQuery{T}. - /// Paginate solve not parametrized queries issues with skip and take L2E methods - /// - /// - public static class IQueryableExtensions - { - - #region Extension Methods - - /// - /// Include method for IQueryable - /// - /// Type of elements - /// Queryable object - /// Path to include - /// Queryable object with include path information - public static IQueryable Include(this IQueryable queryable, string path) - where TEntity : class - { - if (String.IsNullOrEmpty(path)) - throw new ArgumentNullException("path can not empty"); - // var query = queryable as ObjectQuery;//ObjectContext時用 - var query = queryable as DbQuery;//DbContext時用 - - if (query != null)//if is a EF ObjectQuery object - return query.Include(path); - return null; - } - - /// - /// Include extension method for IQueryable - /// - /// Type of elements in IQueryable - /// Queryable object - /// Expression with path to include - /// Queryable object with include path information - public static IQueryable Include(this IQueryable queryable, Expression> path) - where TEntity : class - { - return Include(queryable, AnalyzeExpressionPath(path)); - } - - /// - /// Paginate query in a specific page range - /// - /// Typeof entity in underlying query - /// Typeof ordered data value - /// Query to paginate - /// Order by expression used in paginate method - /// - /// At this moment Order by expression only support simple order by c=>c.CustomerCode. If you need - /// add more complex order functionality don't use this extension method - /// - /// - /// Page index - /// Page count - /// order direction - /// A paged queryable - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")] - public static IQueryable Paginate(this IQueryable queryable, Expression> orderBy, int pageIndex, int pageCount, bool ascending) - where TEntity : class - { - ObjectQuery query = queryable as ObjectQuery; - - if (query != null) - { - //this paginate method use ESQL for solve problems with Parametrized queries - //in L2E and Skip/Take methods - - string orderPath = AnalyzeExpressionPath(orderBy); - - return query.Skip(string.Format(CultureInfo.InvariantCulture, "it.{0} {1}", orderPath, (ascending) ? "asc" : "desc"), "@skip", new ObjectParameter("skip", (pageIndex) * pageCount)) - .Top("@limit", new ObjectParameter("limit", pageCount)); - - } - else // for In-Memory object set - return queryable.OrderBy(orderBy).Skip((pageIndex * pageCount)).Take(pageCount); - } - - #endregion - - #region Private Methods - - static string AnalyzeExpressionPath(Expression> expression) - where TEntity : class - { - if (expression == (Expression>)null) - throw new ArgumentNullException("Argument error"); - - MemberExpression body = expression.Body as MemberExpression; - if ( - ( - (body == null) - || - !body.Member.DeclaringType.IsAssignableFrom(typeof(TEntity)) - ) - || - (body.Expression.NodeType != ExpressionType.Parameter)) - { - throw new ArgumentException("Argument error"); - } - else - return body.Member.Name; - } - #endregion - } - } diff --git a/samples/Common/Repository.EF.Core/InquiryRepository.cs b/samples/Common/Repository.EF.Core/InquiryRepository.cs deleted file mode 100644 index 1c79f86c0..000000000 --- a/samples/Common/Repository.EF.Core/InquiryRepository.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using Microsoft.EntityFrameworkCore; -using System.Linq.Expressions; -using System.Linq; -using Microsoft.EntityFrameworkCore.Query; - - - -namespace Repository.EF.Core.Inquiry -{ - //public class InquiryRepository : BaseImpRepository - //{ - - // public override Customer FindBy(Guid key) - // { - // return _set.Include(a => a.CusInquirys).ThenInclude(b => b.InquiryParameters).Where(a => a.KeyId == key).FirstOrDefault(); - // } - - //} -} diff --git a/samples/Common/Repository.EF.Core/Properties/PublishProfiles/FolderProfile.pubxml b/samples/Common/Repository.EF.Core/Properties/PublishProfiles/FolderProfile.pubxml deleted file mode 100644 index 6c005a7a9..000000000 --- a/samples/Common/Repository.EF.Core/Properties/PublishProfiles/FolderProfile.pubxml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - FileSystem - Debug - netcoreapp2.0 - bin\Release\PublishOutput - - \ No newline at end of file diff --git a/samples/Common/Repository.EF.Core/Repository.EF.Core.csproj b/samples/Common/Repository.EF.Core/Repository.EF.Core.csproj deleted file mode 100644 index a7952b432..000000000 --- a/samples/Common/Repository.EF.Core/Repository.EF.Core.csproj +++ /dev/null @@ -1,31 +0,0 @@ - - - - netcoreapp2.0 - - - - bin\Debug\netstandard2.0\ - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/Common/Repository.EF.Core/SqlHelper.cs b/samples/Common/Repository.EF.Core/SqlHelper.cs deleted file mode 100644 index aede601d6..000000000 --- a/samples/Common/Repository.EF.Core/SqlHelper.cs +++ /dev/null @@ -1,135 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Data; -using System.Data.SqlClient; -using System.Linq; -using System.Text; -using System.Text.RegularExpressions; -using System.Threading.Tasks; - -namespace Repository.EF.Core -{ - public class SqlHelper - { - /// - /// 参数拼装 - /// - /// 参数名称 - /// 参数类型 - /// 参数值 - /// 拼装后的参数对象 - public static SqlParameter MakeParam(string parameterName, SqlDbType parameterType, object parameterValue) - { - SqlParameter p = new SqlParameter(); - p.ParameterName = parameterName; - p.SqlDbType = parameterType; - if (parameterValue == null) - { - p.Value = DBNull.Value; - } - else - { - if (parameterType == SqlDbType.Structured) - { - Type type = parameterValue.GetType(); - if (type.IsGenericType)//判断是否是泛型 - { - string t = type.GetGenericArguments()[0].Name; //泛型的类型 - switch (t) - { - case "Guid": - p.TypeName = "GuidCollectionTVP"; - p.Value = InitialCollectionTVP(parameterValue as List); - break; - case "Int32": - p.TypeName = "IntCollectionTVP"; - p.Value = InitialCollectionTVP(parameterValue as List); - break; - case "String": - p.TypeName = "StringCollectionTVP"; - p.Value = InitialCollectionTVP(parameterValue as List); - break; - default: - p.Value = parameterValue; - break; - } - } - else - { - p.Value = parameterValue; - } - - } - else - { - p.Value = parameterValue; - } - } - - return p; - } - - /* - /// - /// 参数拼装 - /// - /// 参数名称 - /// 参数类型 - /// 参数值 - /// 拼装后的参数对象 - public static SqlParameter MakeParam(string parameterName, DbType parameterType, object parameterValue) - { - SqlParameter p = new SqlParameter(); - p.ParameterName = parameterName; - p.DbType = parameterType; - if (parameterValue == null) - { - p.Value = DBNull.Value; - } - else - { - p.Value = parameterValue; - } - - return p; - } - - */ - /// - /// 初始化CollectionTVP - /// - /// 数据列表 - /// DataTable - public static DataTable InitialCollectionTVP(List list) - { - DataTable dt = new DataTable(); - dt.Columns.Add("Item", typeof(T)); - if (list == null | list.Count == 0) - { - return dt; - } - - foreach (T item in list) - { - dt.Rows.Add(item); - } - - return dt; - } - /// - /// 过滤sql注入2015/7/25 xingyongkang - /// - /// - /// - public static string CheckKeyWord(string keyWord) - { - //过滤关键字 - string StrKeyWord = @"select|insert|delete|from|count\(|drop table|update|truncate|asc\(|mid\(|char\(|xp_cmdshell|exec master|netlocalgroup administrators|:|net user|""|or|and"; - if (Regex.IsMatch(keyWord, StrKeyWord, RegexOptions.IgnoreCase)) - { - return ""; - } - return keyWord; - } - } -} diff --git a/samples/Common/Repository.EF.Core/UnitOfWork.cs b/samples/Common/Repository.EF.Core/UnitOfWork.cs deleted file mode 100644 index 4a12170a3..000000000 --- a/samples/Common/Repository.EF.Core/UnitOfWork.cs +++ /dev/null @@ -1,64 +0,0 @@ -using DDD.Core; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Centa.Agency.Repository.EF -{ - public class UnitOfWork : IUnitOfWork - { - private bool disposed = false; - private DefaultDbContext _context; - public UnitOfWork()//DefaultDbContext context) - { - _context = new DefaultDbContext();// context; - } - /* - dbContext = CallContext.GetData(provider.ConnectionStringName) as AppDbContext; - if (dbContext == null) - { - dbContext = new AppDbContext(provider.ConnectionString); - dbContext.Configuration.ValidateOnSaveEnabled = false; - //将新创建的 ef上下文对象 存入线程 - CallContext.SetData(provider.ConnectionStringName, dbContext); - } - - */ - public int Commit() - { - using (var tran = _context.Database.CurrentTransaction ?? _context.Database.BeginTransaction()) - { - try - { - var result = _context.SaveChanges(); - tran.Commit(); - return result; - } - catch (Exception) - { - tran.Rollback(); - throw; - } - } - } - - protected virtual void Dispose(bool disposing) - { - if (!this.disposed) - { - if (disposing) - { - _context.Dispose(); - } - } - this.disposed = true; - } - - public void Dispose() - { - Dispose(true); - GC.SuppressFinalize(this); - } - - } -} diff --git a/samples/GateWay.WebApi/Areas/AuthManger/Controllers/AuthController.cs b/samples/GateWay.WebApi/Areas/AuthManger/Controllers/AuthController.cs deleted file mode 100644 index 665bcbd7b..000000000 --- a/samples/GateWay.WebApi/Areas/AuthManger/Controllers/AuthController.cs +++ /dev/null @@ -1,250 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Reflection; -using System.Security.Cryptography; -using System.Text; -using System.Threading.Tasks; -using Application.Interface.Auth; -using Application.Interface.Org; -using Application.Service.Auth.Dto; -using DTO.Core; -using GateWay.WebApi.Controllers; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Newtonsoft.Json; -using Surging.Core.ApiGateWay; -using Surging.Core.ApiGateWay.OAuth; -using Surging.Core.Caching.DependencyResolution; -using Surging.Core.CPlatform; -using Surging.Core.CPlatform.Filters.Implementation; -using Surging.Core.CPlatform.Routing; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.ProxyGenerator; -using Surging.Core.ProxyGenerator.Implementation; -using GateWayAppConfig = Surging.Core.ApiGateWay.AppConfig; - -namespace GateWay.WebApi.Areas.OrgManger.Controllers -{ - - [Produces("application/json")] - [Route("api/[controller]")] - public class AuthController : BaseApiController - { - private readonly IServiceProxyProvider _serviceProxyProvider; - private readonly IServiceRouteProvider _serviceRouteProvider; - private readonly IAuthorizationServerProvider _authorizationServerProvider; - - private IAuthAppService _authProxy; - public AuthController() - { - _authProxy = serviceProxyFactory.CreateProxy(); - _serviceProxyProvider = ServiceLocator.GetService(); - _serviceRouteProvider = ServiceLocator.GetService(); //serviceRouteProvider; - _authorizationServerProvider = ServiceLocator.GetService();// authorizationServerProvider; - - } - #region 角色 - [HttpGet] - private async Task Get() - { - Dictionary model = new Dictionary(); - model.Add("req",JsonConvert.SerializeObject( new { - UserName= "SuperMan", - Pwd= "123456", - CorporationKeyId= Guid.Parse("8C100FEE-2D1D-4B70-A27D-13D65DCD5E38") - })); - string path = "api/authapp/signin"; - string serviceKey = "Auth"; - var serviceProxyProvider = ServiceLocator.GetService(); - var res = await serviceProxyProvider.Invoke(model, path, serviceKey); - return res; - } - - [HttpGet] - public async Task> DomainPermissions(CommonCMDReq req) - { - var result = await _authProxy.FindDomainPermissions(req); - return ServiceResult.Create(true, result); - } - - - [HttpPost("SignIn")] - public async Task> SignIn(LoginReq req) - { - //要注意参数类型 - var model = new Dictionary(); - model.Add("req", JsonConvert.SerializeObject(req)); - var serviceKey = "Auth"; - ServiceResult result = ServiceResult.Create(false, null); - var path = GateWayAppConfig.AuthorizationRoutePath; - if (OnAuthorization(path, model, ref result)) - { - if (path == GateWayAppConfig.AuthorizationRoutePath) - { - var token = await _authorizationServerProvider.GenerateTokenCredential(model); - if (token != null) - { - //查询当前用户的权限,返回给客户端 - var tmp = JsonConvert.DeserializeObject(_authorizationServerProvider.GetPayloadString(token)); - var identify = JsonConvert.DeserializeObject(tmp); - Dictionary reqQueryUserPermission = new Dictionary(); - reqQueryUserPermission.Add("req", JsonConvert.SerializeObject(new - { - Identify = identify - })); - string servicePath = "api/orgapp/QueryUserPermission"; - var res = await _serviceProxyProvider.Invoke(reqQueryUserPermission, servicePath); - if (res!=null&&res.OperateFlag) - { - result = ServiceResult.Create(true,new { token = token, auth=res.Result }); - result.StatusCode = (int)ServiceStatusCode.Success; - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - } - } - else - { - if (!string.IsNullOrEmpty(serviceKey)) - { - - result = ServiceResult.Create(true, await _serviceProxyProvider.Invoke(model, path, serviceKey)); - result.StatusCode = (int)ServiceStatusCode.Success; - } - else - { - result = ServiceResult.Create(true, await _serviceProxyProvider.Invoke(model, path)); - result.StatusCode = (int)ServiceStatusCode.Success; - } - } - } - return result; - } - #endregion - - #region Private - private bool OnAuthorization(string path, Dictionary model, ref ServiceResult result) - { - bool isSuccess = true; - var route = _serviceRouteProvider.GetRouteByPath(path).Result; - if (route.ServiceDescriptor.EnableAuthorization()) - { - if (route.ServiceDescriptor.AuthType() == AuthorizationType.JWT.ToString()) - { - isSuccess = ValidateJwtAuthentication(route, model, ref result); - } - else - { - isSuccess = ValidateAppSecretAuthentication(route, path, model, ref result); - } - - } - return isSuccess; - } - - private bool ValidateJwtAuthentication(ServiceRoute route, Dictionary model, ref ServiceResult result) - { - bool isSuccess = true; - var author = HttpContext.Request.Headers["Authorization"]; - if (author.Count > 0) - { - if (route.Address.Any(p => p.DisableAuth == false)) - { - isSuccess = _authorizationServerProvider.ValidateClientAuthentication(author).Result; - if (!isSuccess) - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - } - else - { - var keyValue = model.FirstOrDefault(); - if (!(keyValue.Value is IConvertible) || !typeof(IConvertible).GetTypeInfo().IsAssignableFrom(keyValue.Value.GetType())) - { - dynamic instance = keyValue.Value; - instance.Payload = _authorizationServerProvider.GetPayloadString(author); - model.Remove(keyValue.Key); - model.Add(keyValue.Key, instance); - } - } - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.RequestError, Message = "Request error" }; - isSuccess = false; - } - return isSuccess; - } - - private bool ValidateAppSecretAuthentication(ServiceRoute route, string path, - Dictionary model, ref ServiceResult result) - { - bool isSuccess = true; - DateTime time; - var author = HttpContext.Request.Headers["Authorization"]; - if (route.Address.Any(p => p.DisableAuth == false)) - { - if (!string.IsNullOrEmpty(path) && model.ContainsKey("timeStamp") && author.Count > 0) - { - if (DateTime.TryParse(model["timeStamp"].ToString(), out time)) - { - var seconds = (DateTime.Now - time).TotalSeconds; - if (seconds <= 3560 && seconds >= 0) - { - if (!route.Address.Any(p => GetMD5($"{p.Token}{time.ToString("yyyy-MM-dd hh:mm:ss") }") == author.ToString())) - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - isSuccess = false; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - isSuccess = false; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - isSuccess = false; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.RequestError, Message = "Request error" }; - isSuccess = false; - } - } - return isSuccess; - } - - private string GetMD5(string encypStr) - { - try - { - var md5 = MD5.Create(); - var bs = md5.ComputeHash(Encoding.UTF8.GetBytes(encypStr)); - var sb = new StringBuilder(); - foreach (byte b in bs) - { - sb.Append(b.ToString("X2")); - } - //所有字符转为大写 - return sb.ToString().ToLower(); - } - catch (Exception e) - { - Console.Error.WriteLine(e.StackTrace); - return null; - } - } - #endregion - } -} \ No newline at end of file diff --git a/samples/GateWay.WebApi/Areas/OrgManger/Controllers/CorpMangerController.cs b/samples/GateWay.WebApi/Areas/OrgManger/Controllers/CorpMangerController.cs deleted file mode 100644 index bdcd0cd9e..000000000 --- a/samples/GateWay.WebApi/Areas/OrgManger/Controllers/CorpMangerController.cs +++ /dev/null @@ -1,91 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Application.Interface.Org; -using DTO.Core; -using GateWay.WebApi.Controllers; -using Microsoft.AspNetCore.Mvc; -using Surging.Core.ApiGateWay; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.ProxyGenerator; - -namespace GateWay.WebApi -{ - [Route("api/corp"), CustomAuthorizeFilter] - public class CorpController : BaseApiController - { - private IOrgAppService _orgProxy; - - public CorpController() - { - _orgProxy = serviceProxyFactory.CreateProxy(); - } - - - #region 公司 - [HttpPost] - public async Task> RegisterCorporation(CorpEditReq req) - { - var result = await _orgProxy.RegisterCorporation(req); - return ServiceResult.Create(result.OperateFlag, result.OperateResult); - } - - [HttpPut("activate")] - public async Task> ActivateCorporation(CommonCMDReq req) - { - var result = await _orgProxy.ActivateCorporation(req); - return ServiceResult.Create(result.OperateFlag, result.OperateResult); - } - - [HttpGet("tree")] - public async Task> GetCorpTree(BaseTreeSearchReq req) - { - - var result = await _orgProxy.FindCorps(req); - return ServiceResult.Create(true, result); - } - - #endregion - #region 部门管理 - [HttpGet("org/tree")] - public async Task> GetOrgTree(BaseTreeSearchReq req) - { - - var result = await _orgProxy.FindDepartments(req); - return ServiceResult.Create(true, result); - } - - [HttpGet("org/info")] - public ServiceResult GetInfo(KeyIdReq req) - { - return ServiceResult.Create(true, ""); - } - - [HttpPost("org")] - public async Task> Post(DeptEditReq req) - { - - var result = await _orgProxy.CreateDepartment(req); - return ServiceResult.Create(result.OperateFlag, result.OperateResult); - } - - [HttpPut("org")] - public async Task> Put(DeptEditReq req) - { - - var result = await _orgProxy.ModifyDepartment(req); - return ServiceResult.Create(result.OperateFlag, result.OperateResult); - } - - [HttpDelete("org")] - public async Task> Delete(KeyIdReq req) - { - var result = await _orgProxy.RemoveDepartment(req); - return ServiceResult.Create(result.OperateFlag, result.OperateResult); - } - - #endregion - - } -} diff --git a/samples/GateWay.WebApi/Areas/OrgManger/Controllers/EmployeeController.cs b/samples/GateWay.WebApi/Areas/OrgManger/Controllers/EmployeeController.cs deleted file mode 100644 index 94e923900..000000000 --- a/samples/GateWay.WebApi/Areas/OrgManger/Controllers/EmployeeController.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Application.Interface.Org; -using DTO.Core; -using GateWay.WebApi.Controllers; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Surging.Core.ApiGateWay; - -namespace GateWay.WebApi.Areas.OrgManger.Controllers -{ - //[Produces("application/json")] - [Route("api/[controller]")] - public class EmployeeController : BaseApiController - { - private IOrgAppService _orgProxy; - - public EmployeeController() - { - _orgProxy = serviceProxyFactory.CreateProxy(); - } - - - #region 员工 - [HttpPost] - public async Task> Post(EmployeeEditReq req) - { - //HttpContext.Request.Headers - var result = await _orgProxy.CreateEmployee(req); - return ServiceResult.Create(result.OperateFlag, result.OperateResult); - } - - [HttpGet("list")] - public async Task> GetRoleTree(BasePagedRequestDto req) - { - var result = await _orgProxy.FindEmployeePageBy(req); - return ServiceResult.Create(true, result); - } - - - #endregion - - - } -} \ No newline at end of file diff --git a/samples/GateWay.WebApi/Areas/OrgManger/Controllers/RoleMangerController.cs b/samples/GateWay.WebApi/Areas/OrgManger/Controllers/RoleMangerController.cs deleted file mode 100644 index b1fd0dfc0..000000000 --- a/samples/GateWay.WebApi/Areas/OrgManger/Controllers/RoleMangerController.cs +++ /dev/null @@ -1,48 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Application.Interface.Org; -using DTO.Core; -using GateWay.WebApi.Controllers; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Surging.Core.ApiGateWay; - -namespace GateWay.WebApi.Areas.OrgManger.Controllers -{ - //[Produces("application/json")] - [Route("api/[controller]")] - public class RoleController : BaseApiController - { - private IOrgAppService _orgProxy; - - public RoleController() - { - _orgProxy = serviceProxyFactory.CreateProxy(); - } - - - #region 角色 - [HttpPost] - public async Task> Post(RoleEditReq req) - { - var result = await _orgProxy.CreateRole(req); - return ServiceResult.Create(result.OperateFlag, result.OperateResult); - } - - [HttpGet("list")] - public async Task> GetRoleTree(CommonCMDReq req) - { - var result = await _orgProxy.FindCorpRoles(req); - return ServiceResult.Create(true, result); - } - - - #endregion - - #region 角色包含的权限 - - #endregion - } -} \ No newline at end of file diff --git a/samples/GateWay.WebApi/Configs/appsettings.Development.json b/samples/GateWay.WebApi/Configs/appsettings.Development.json deleted file mode 100644 index fa8ce71a9..000000000 --- a/samples/GateWay.WebApi/Configs/appsettings.Development.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - } - } -} diff --git a/samples/GateWay.WebApi/Configs/appsettings.json b/samples/GateWay.WebApi/Configs/appsettings.json deleted file mode 100644 index 26bb0ac7a..000000000 --- a/samples/GateWay.WebApi/Configs/appsettings.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "Debug": { - "LogLevel": { - "Default": "Warning" - } - }, - "Console": { - "LogLevel": { - "Default": "Warning" - } - } - } -} diff --git a/samples/GateWay.WebApi/Configs/cacheSettings.json b/samples/GateWay.WebApi/Configs/cacheSettings.json deleted file mode 100644 index ab9c7e43d..000000000 --- a/samples/GateWay.WebApi/Configs/cacheSettings.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "CachingSettings": [ - { - "Id": "ddlCache", - "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", - "Properties": [ - { - "Name": "appRuleFile", - "Ref": "rule" - }, - { - "Name": "dataContextPool", - "Ref": "ddls_sample", - "Maps": [ - { - "Name": "Redis", - "Properties": [ - { - "value": "127.0.0.1:6379::1" - } - ] - }, - { - "Name": "MemoryCache" - } - ] - }, - { - "Name": "defaultExpireTime", - "value": "120" - }, - { - "Name": "connectTimeout", - "Value": "120" - }, - { - "Name": "minSize", - "Value": "1" - }, - { - "Name": "maxSize", - "Value": "10" - } - ] - } - ] -} diff --git a/samples/GateWay.WebApi/Configs/gatewaySettings.json b/samples/GateWay.WebApi/Configs/gatewaySettings.json deleted file mode 100644 index 24fa1cba2..000000000 --- a/samples/GateWay.WebApi/Configs/gatewaySettings.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "AccessTokenExpireTimeSpan": "30", - "AuthorizationRoutePath": "api/authapp/signin", - "AuthorizationServiceKey": "Auth", - "TokenEndpointPath": "api/Auth", - "Register": { - "Provider": "Consul", - "Address": "127.0.0.1:8500" - } -} diff --git a/samples/GateWay.WebApi/Controllers/AuthController.cs b/samples/GateWay.WebApi/Controllers/AuthController.cs deleted file mode 100644 index 93e141624..000000000 --- a/samples/GateWay.WebApi/Controllers/AuthController.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Mvc; -using Newtonsoft.Json; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.ProxyGenerator; - -namespace Centa.Agency.WebApi.Controllers -{ - /// - /// 身份认证 - /// - [Route("api/[controller]")] - public class AuthController : Controller - { - /// - /// 登录 - /// - /// - [HttpPost("token")] - public object SignIn( [FromBody]Dictionary model) - { - model.Add("user", JsonConvert.SerializeObject(new - { - Name = "fanly", - Age = 18, - UserId = 1 - })); - string path = "api/AuthApp/SignIn"; - string serviceKey = "Auth"; - - - var serviceProxyProvider = ServiceLocator.GetService(); - return serviceProxyProvider.Invoke(model, path, serviceKey).Result; - - } - } -} diff --git a/samples/GateWay.WebApi/Controllers/BaseApiController.cs b/samples/GateWay.WebApi/Controllers/BaseApiController.cs deleted file mode 100644 index d484b5799..000000000 --- a/samples/GateWay.WebApi/Controllers/BaseApiController.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Http; -using Microsoft.AspNetCore.Mvc; -using Microsoft.Extensions.Caching.Distributed; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.ProxyGenerator; - -namespace GateWay.WebApi.Controllers -{ - [Produces("application/json")] - [Route("api/BaseApi")] - public class BaseApiController : Controller //ControllerBase - { - protected IServiceProxyFactory serviceProxyFactory = ServiceLocator.GetService(); - protected readonly IDistributedCache _cache; - } -} \ No newline at end of file diff --git a/samples/GateWay.WebApi/Controllers/ServicesController.cs b/samples/GateWay.WebApi/Controllers/ServicesController.cs deleted file mode 100644 index c298b28fb..000000000 --- a/samples/GateWay.WebApi/Controllers/ServicesController.cs +++ /dev/null @@ -1,219 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Surging.Core.ApiGateWay; -using Surging.Core.ApiGateWay.OAuth; -using Surging.Core.CPlatform; -using Surging.Core.CPlatform.Filters.Implementation; -using Surging.Core.CPlatform.Routing; -using Surging.Core.ProxyGenerator; -using Surging.Core.ProxyGenerator.Utilitys; -using System; -using System.Collections.Generic; -using System.Security.Cryptography; -using System.Text; -using System.Threading.Tasks; -using System.Linq; -using GateWayAppConfig = Surging.Core.ApiGateWay.AppConfig; -using System.Reflection; -using Surging.Core.CPlatform.Utilities; - -namespace GateWay.WebApi -{ - /// - /// 身份认证 - /// - [Route("api/[controller]")] - public class AuthController : Controller - { - private readonly IServiceProxyProvider _serviceProxyProvider; - private readonly IServiceRouteProvider _serviceRouteProvider; - private readonly IAuthorizationServerProvider _authorizationServerProvider; - - - public AuthController() - /* IServiceProxyProvider serviceProxyProvider, - IServiceRouteProvider serviceRouteProvider, - IAuthorizationServerProvider authorizationServerProvider) - */ - { - // ServiceLocator.GetService(); // - //_serviceProxyProvider = serviceProxyProvider; - //_serviceRouteProvider = serviceRouteProvider; - //_authorizationServerProvider = authorizationServerProvider; - - _serviceProxyProvider = ServiceLocator.GetService(); - _serviceRouteProvider = ServiceLocator.GetService(); //serviceRouteProvider; - _authorizationServerProvider = ServiceLocator.GetService();// authorizationServerProvider; - - - } - - [HttpGet] - public IEnumerable Get() - { - return new string[] { "value1", "value2" }; - } - - /// - /// 登录 - /// - /// - /// - /// - /// - [HttpPost] - public async Task> Post(string path, string serviceKey, Dictionary model) - { - model = model ?? new Dictionary(); - ServiceResult result = ServiceResult.Create(false, null); - path = string.IsNullOrEmpty(path) ? - GateWayAppConfig.AuthorizationRoutePath : path.ToLower(); - if (OnAuthorization(path, model, ref result)) - { - if (path == GateWayAppConfig.AuthorizationRoutePath) - { - var token = await _authorizationServerProvider.GenerateTokenCredential(model); - if (token != null) - { - result = ServiceResult.Create(true, token); - result.StatusCode = (int)ServiceStatusCode.Success; - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - } - } - else - { - if (!string.IsNullOrEmpty(serviceKey)) - { - - result = ServiceResult.Create(true, await _serviceProxyProvider.Invoke(model, path, serviceKey)); - result.StatusCode = (int)ServiceStatusCode.Success; - } - else - { - result = ServiceResult.Create(true, await _serviceProxyProvider.Invoke(model, path)); - result.StatusCode = (int)ServiceStatusCode.Success; - } - } - } - return result; - } - - private bool OnAuthorization(string path, Dictionary model, ref ServiceResult result) - { - bool isSuccess = true; - var route = _serviceRouteProvider.GetRouteByPath(path).Result; - if (route.ServiceDescriptor.EnableAuthorization()) - { - if (route.ServiceDescriptor.AuthType() == AuthorizationType.JWT.ToString()) - { - isSuccess = ValidateJwtAuthentication(route, model, ref result); - } - else - { - isSuccess = ValidateAppSecretAuthentication(route, path, model, ref result); - } - - } - return isSuccess; - } - - public bool ValidateJwtAuthentication(ServiceRoute route, Dictionary model, ref ServiceResult result) - { - bool isSuccess = true; - var author = HttpContext.Request.Headers["Authorization"]; - if (author.Count > 0) - { - if (route.Address.Any(p => p.DisableAuth == false)) - { - isSuccess = _authorizationServerProvider.ValidateClientAuthentication(author).Result; - if (!isSuccess) - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - } - else - { - var keyValue = model.FirstOrDefault(); - if (!(keyValue.Value is IConvertible) || !typeof(IConvertible).GetTypeInfo().IsAssignableFrom(keyValue.Value.GetType())) - { - dynamic instance = keyValue.Value; - instance.Payload = _authorizationServerProvider.GetPayloadString(author); - model.Remove(keyValue.Key); - model.Add(keyValue.Key, instance); - } - } - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.RequestError, Message = "Request error" }; - isSuccess = false; - } - return isSuccess; - } - - private bool ValidateAppSecretAuthentication(ServiceRoute route, string path, - Dictionary model, ref ServiceResult result) - { - bool isSuccess = true; - DateTime time; - var author = HttpContext.Request.Headers["Authorization"]; - if (route.Address.Any(p => p.DisableAuth == false)) - { - if (!string.IsNullOrEmpty(path) && model.ContainsKey("timeStamp") && author.Count > 0) - { - if (DateTime.TryParse(model["timeStamp"].ToString(), out time)) - { - var seconds = (DateTime.Now - time).TotalSeconds; - if (seconds <= 3560 && seconds >= 0) - { - if (!route.Address.Any(p => GetMD5($"{p.Token}{time.ToString("yyyy-MM-dd hh:mm:ss") }") == author.ToString())) - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - isSuccess = false; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - isSuccess = false; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - isSuccess = false; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.RequestError, Message = "Request error" }; - isSuccess = false; - } - } - return isSuccess; - } - - public static string GetMD5(string encypStr) - { - try - { - var md5 = MD5.Create(); - var bs = md5.ComputeHash(Encoding.UTF8.GetBytes(encypStr)); - var sb = new StringBuilder(); - foreach (byte b in bs) - { - sb.Append(b.ToString("X2")); - } - //所有字符转为大写 - return sb.ToString().ToLower(); - } - catch (Exception e) - { - Console.Error.WriteLine(e.StackTrace); - return null; - } - } - } -} diff --git a/samples/GateWay.WebApi/Controllers/ValuesController.cs b/samples/GateWay.WebApi/Controllers/ValuesController.cs deleted file mode 100644 index f09497629..000000000 --- a/samples/GateWay.WebApi/Controllers/ValuesController.cs +++ /dev/null @@ -1,39 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore.Mvc; - -namespace GateWay.WebApi -{ - [Route("api/[controller]")] - public class ValuesController : Controller - { - [HttpGet] - public IEnumerable Get() - { - return new string[] { "value1", "value2" }; - } - - [HttpGet("{id}")] - public string Get(int id) - { - return "value"; - } - - [HttpPost] - public void Post([FromBody]string value) - { - } - - [HttpPut("{id}")] - public void Put(int id, [FromBody]string value) - { - } - - [HttpDelete("{id}")] - public void Delete(int id) - { - } - } -} diff --git a/samples/GateWay.WebApi/CustomExceptionFilterAttribute.cs b/samples/GateWay.WebApi/CustomExceptionFilterAttribute.cs deleted file mode 100644 index 93393e9e7..000000000 --- a/samples/GateWay.WebApi/CustomExceptionFilterAttribute.cs +++ /dev/null @@ -1,76 +0,0 @@ -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.Filters; -using Microsoft.AspNetCore.Mvc.ModelBinding; -using Surging.Core.ApiGateWay; -using Surging.Core.ApiGateWay.OAuth; -using Surging.Core.CPlatform.Utilities; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace GateWay.WebApi -{ - public class ResponeMsg - { - public string IsSucceed { get; set; } - public int StatusCode { get; set; } - public string Message { get; set; } - } - - public class CustomExceptionFilterAttribute : ExceptionFilterAttribute - { - private readonly IHostingEnvironment _hostingEnvironment; - private readonly IModelMetadataProvider _modelMetadataProvider; - - public CustomExceptionFilterAttribute( - IHostingEnvironment hostingEnvironment, - IModelMetadataProvider modelMetadataProvider) - { - _hostingEnvironment = hostingEnvironment; - _modelMetadataProvider = modelMetadataProvider; - } - - public override void OnException(ExceptionContext context) - { - if (!_hostingEnvironment.IsDevelopment()) - { - return; - } - var result = ServiceResult.Create(false, errorMessage: "request fail"); - result.StatusCode = 400; - context.Result = new JsonResult(result); - } - } - - public class CustomAuthorizeFilter : Attribute, IAuthorizationFilter - { - public void OnAuthorization(AuthorizationFilterContext context) - { - var isSuccess = false; - var _authorizationServerProvider = ServiceLocator.GetService(); - var author = context.HttpContext.Request.Headers["Authorization"]; - if(author.Count > 0) - { - isSuccess = _authorizationServerProvider.ValidateClientAuthentication(author).Result; - } - if (true||!isSuccess) - { - context.Result = new UnauthorizedResult(); - } - - /* var entry = - Dns.GetHostEntryAsync(context.HttpContext.Connection.RemoteIpAddress) - .GetAwaiter() - .GetResult(); - if (!entry.HostName.EndsWith(".MyDomain", - StringComparison.OrdinalIgnoreCase)) - { - context.Result = new UnauthorizedResult(); - } - */ - } - } -} - diff --git a/samples/GateWay.WebApi/GateWay.WebApi.csproj b/samples/GateWay.WebApi/GateWay.WebApi.csproj deleted file mode 100644 index b97ec5f3d..000000000 --- a/samples/GateWay.WebApi/GateWay.WebApi.csproj +++ /dev/null @@ -1,51 +0,0 @@ - - - - netcoreapp2.0 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ..\pack\Surging.Core.ApiGateWay.dll - - - - diff --git a/samples/GateWay.WebApi/HiddenApiFilter.cs b/samples/GateWay.WebApi/HiddenApiFilter.cs deleted file mode 100644 index bc9021507..000000000 --- a/samples/GateWay.WebApi/HiddenApiFilter.cs +++ /dev/null @@ -1,45 +0,0 @@ -using Microsoft.AspNetCore.Mvc.ApiExplorer; -using Swashbuckle.AspNetCore.Swagger; -using Swashbuckle.AspNetCore.SwaggerGen; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace GateWay.WebApi -{ - /// - /// 隐藏接口,不生成到swagger文档展示 - /// - [AttributeUsage(AttributeTargets.Method | AttributeTargets.Class)] - - public partial class HiddenApiAttribute : Attribute { } - public class HiddenApiFilter : IDocumentFilter - { - /// - /// 重写Apply方法,移除隐藏接口的生成 - /// - /// - /// - public void Apply(SwaggerDocument swaggerDoc, DocumentFilterContext context) - { - foreach (ApiDescriptionGroup apiDescriptionGroup in context.ApiDescriptionsGroups.Items) - { - foreach (var apiDescription in apiDescriptionGroup.Items) - { - if(apiDescription.ControllerAttributes().First(c => c is HiddenApiAttribute)!=null) //if (Enumerable.OfType(apiDescription.ControllerAttributes().Where(c=>c is HiddenApiAttribute).ToList()) - { - string key = "/" + apiDescription.RelativePath; - if (key.Contains("?")) - { - int idx = key.IndexOf("?", StringComparison.Ordinal); - key = key.Substring(0, idx); - } - swaggerDoc.Paths.Remove(key); - } - } - - } - } - } -} diff --git a/samples/GateWay.WebApi/Program.cs b/samples/GateWay.WebApi/Program.cs deleted file mode 100644 index 42bc45609..000000000 --- a/samples/GateWay.WebApi/Program.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; -using Microsoft.AspNetCore; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Server.Kestrel.Core; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.Logging; - -namespace GateWay.WebApi -{ - public class Program - { - public static void Main(string[] args) - { - var host = new WebHostBuilder() - .UseUrls("http://*:729") - .UseKestrel(options => - { - options.Limits.MaxConcurrentConnections = 100; - options.Limits.MaxConcurrentUpgradedConnections = 100; - options.Limits.MaxRequestBodySize = 10 * 1024; - options.Limits.MinRequestBodyDataRate = - new MinDataRate(bytesPerSecond: 100, gracePeriod: TimeSpan.FromSeconds(10)); - options.Limits.MinResponseDataRate = - new MinDataRate(bytesPerSecond: 100, gracePeriod: TimeSpan.FromSeconds(10)); - }) - .UseContentRoot(Directory.GetCurrentDirectory()) - .UseIISIntegration() - .UseStartup() - .UseApplicationInsights() - .Build(); - host.Run(); - // BuildWebHost(args).Run(); - } - - public static IWebHost BuildWebHost(string[] args) => - WebHost.CreateDefaultBuilder(args) - .UseStartup() - .Build(); - } -} diff --git a/samples/GateWay.WebApi/Properties/launchSettings.json b/samples/GateWay.WebApi/Properties/launchSettings.json deleted file mode 100644 index c5d069c3f..000000000 --- a/samples/GateWay.WebApi/Properties/launchSettings.json +++ /dev/null @@ -1,29 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:729/", - "sslPort": 0 - } - }, - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "launchUrl": "api/values", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "Centa.Agency.WebApi": { - "commandName": "Project", - "launchBrowser": true, - "launchUrl": "api/values", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "applicationUrl": "http://localhost:56956/" - } - } -} \ No newline at end of file diff --git a/samples/GateWay.WebApi/ScaffoldingReadMe.txt b/samples/GateWay.WebApi/ScaffoldingReadMe.txt deleted file mode 100644 index 19b66d8a3..000000000 --- a/samples/GateWay.WebApi/ScaffoldingReadMe.txt +++ /dev/null @@ -1,12 +0,0 @@ -Scaffolding has generated all the files and added the required dependencies. - -However the Application's Startup code may required additional changes for things to work end to end. -Add the following code to the Configure method in your Application's Startup class if not already done: - - app.UseMvc(routes => - { - route.MapRoute( - name : "areas", - template : "{area:exists}/{controller=Home}/{action=Index}/{id?}" - ); - }); diff --git a/samples/GateWay.WebApi/Startup.cs b/samples/GateWay.WebApi/Startup.cs deleted file mode 100644 index 942233503..000000000 --- a/samples/GateWay.WebApi/Startup.cs +++ /dev/null @@ -1,162 +0,0 @@ -using System; -using Autofac; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Swashbuckle.AspNetCore.Swagger; -using Newtonsoft.Json.Serialization; -using ApiGateWayConfig = Surging.Core.ApiGateWay.AppConfig; -using Surging.Core.CPlatform; -using Surging.Core.ProxyGenerator; -using Surging.Core.Consul; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.DotNetty; -using Surging.Core.Consul.Configurations; -using Surging.Core.ApiGateWay.OAuth.Implementation.Configurations; -using Autofac.Extensions.DependencyInjection; -using Surging.Core.ApiGateWay; -using Surging.Core.Caching.Configurations; -using Surging.Core.Codec.MessagePack; -using Microsoft.AspNetCore.Mvc; - -namespace GateWay.WebApi -{ - public class Startup - { - public IConfiguration Configuration { get; } - public IContainer ApplicationContainer { get; private set; } - - public Startup(IHostingEnvironment env) - { - var builder = new ConfigurationBuilder() - .SetBasePath(env.ContentRootPath) - .AddCacheFile("Configs/cacheSettings.json", optional: false) - .AddJsonFile("Configs/appsettings.json", optional: true, reloadOnChange: true) - .AddGatewayFile("Configs/gatewaySettings.json", optional: false) - .AddJsonFile($"Configs/appsettings.{env.EnvironmentName}.json", optional: true); - Configuration = builder.Build(); - } - - - // This method gets called by the runtime. Use this method to add services to the container. - public void ConfigureServices(IServiceCollection services) - { - RegisterAutofac(services); - // Register the Swagger generator, defining one or more Swagger documents - services.AddSwaggerGen(c => - { - c.SwaggerDoc("v1", new Info { Title = "网关 API", Version = "v1" }); - c.DescribeAllParametersInCamelCase(); - }); - - // services.AddResponseCaching(); - - //分布式缓存 Microsoft.Extensions.Caching.Redis NuGet package - /*services.AddDistributedRedisCache(options => - { - options.Configuration = "servername"; - options.InstanceName = "Shopping"; - });*/ - //基于 的身份认证 - /* services.AddCookieAuthentication(CookieAuthenticationDefaults.Authenticatio - nScheme, options => - { - options.LoginPath = "/Account/Login/"; - options.AccessDeniedPath = "/Account/Forbidden/"; - options.LogoutPath = "/Account/Logout"; - options.ReturnUrlParameter = "ReturnUrl"; - }); - - Microsoft.AspNetCore.Identity.EntityFrameworkCore - - services.AddEntityFramework() -.AddSqlServer() -.AddDbContext(options => -options.UseSqlServer(Configuration["Data:DefaultConnection:ConnectionString -"])); -services.AddIdentity() -.AddEntityFrameworkStores() -.AddDefaultTokenProviders(); - - - services.AddCors(); - - - - - - - - */ - } - - private IServiceProvider RegisterAutofac(IServiceCollection services) - { - var registerConfig = ApiGateWayConfig.Register; - services.AddMvc(options => - { - options.Filters.Add(typeof(CustomExceptionFilterAttribute)); - //options.CacheProfiles.Add("5minutes", new CacheProfile - //{ - // Duration = 5 * 60, - // Location = ResponseCacheLocation.Any, - // VaryByHeader = "Accept-Language" - //}); - //[ResponseCache(CacheProfileName = "5minutes")] - }).AddJsonOptions(options => - { - options.SerializerSettings.DateFormatString = "yyyy-MM-dd HH:mm:ss"; - options.SerializerSettings.ContractResolver = new DefaultContractResolver(); - }); - services.AddLogging(); - var builder = new ContainerBuilder(); - builder.Populate(services); - builder.AddMicroService(option => - { - option.AddClient(); - // option.AddClientIntercepted(typeof(CacheProviderInterceptor)); - option.UseConsulManager(new ConfigInfo(registerConfig.Address)); - option.UseDotNettyTransport(); - option.AddApiGateWay(); - option.UseJsonCodec(); - // option.UseMessagePackCodec(); - builder.Register(m => new CPlatformContainer(ServiceLocator.Current)); - }); - ServiceLocator.Current = builder.Build(); - return new AutofacServiceProvider(ServiceLocator.Current); - - } - - // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. - public void Configure(IApplicationBuilder app, IHostingEnvironment env) - { - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - - - } - else - { - app.UseExceptionHandler("/Home/Error"); - } - app.UseStaticFiles(); - - // app.UseAuthentication(); - //app.UseCors(builder => builder.WithOrigins("http://mysite.com")); - //app.UseResponseCaching(); - app.UseMvc(); - - // Enable middleware to serve generated Swagger as a JSON endpoint. - app.UseSwagger(); - - // Enable middleware to serve swagger-ui (HTML, JS, CSS, etc.), specifying the Swagger JSON endpoint. - app.UseSwaggerUI(c => - { - c.SwaggerEndpoint("/swagger/v1/swagger.json", "网关 API V1"); - }); - - } - } -} diff --git a/samples/GateWay.WebApi/appsettings.Development.json b/samples/GateWay.WebApi/appsettings.Development.json deleted file mode 100644 index fa8ce71a9..000000000 --- a/samples/GateWay.WebApi/appsettings.Development.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - } - } -} diff --git a/samples/GateWay.WebApi/appsettings.json b/samples/GateWay.WebApi/appsettings.json deleted file mode 100644 index 26bb0ac7a..000000000 --- a/samples/GateWay.WebApi/appsettings.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "Debug": { - "LogLevel": { - "Default": "Warning" - } - }, - "Console": { - "LogLevel": { - "Default": "Warning" - } - } - } -} diff --git a/samples/LogServer/Application.Interface.SysLog/Application.Interface.SysLog.csproj b/samples/LogServer/Application.Interface.SysLog/Application.Interface.SysLog.csproj deleted file mode 100644 index 8b977eded..000000000 --- a/samples/LogServer/Application.Interface.SysLog/Application.Interface.SysLog.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - diff --git a/samples/LogServer/Application.Interface.SysLog/ILogAppService.cs b/samples/LogServer/Application.Interface.SysLog/ILogAppService.cs deleted file mode 100644 index db0c2c0aa..000000000 --- a/samples/LogServer/Application.Interface.SysLog/ILogAppService.cs +++ /dev/null @@ -1,45 +0,0 @@ -using Surging.Core.CPlatform.Ioc; -using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Application.Interface.SysLog -{ - public class LogListViewDto - { - /// - /// 日志类型 - /// - public string LogType { get; set; } - - /// - /// 日志类型 - /// - public DateTime CreateTime { get; set; } - - /// - /// 操作部门 - /// - public string OpDept { get; set; } - - /// - /// 操作人 - /// - public string OpUser { get; set; } - } - [ServiceBundle("api/{Service}")] - public interface ILogAppService : IServiceKey - { - /// - /// 列表分页查询 - /// - /// - [Service(Date = "2018-1-20", Director = "刘旭东", Name = "查询日志")] - //[Authorization(AuthType = AuthorizationType.JWT)] - // [BindEvent("修改系统参数的事件|订单支付的事件")] - Task> PagedQuery(int pageIndex,int pageSize); - - - } -} diff --git a/samples/LogServer/Application.Service.SysLog/Application.Service.SysLog.csproj b/samples/LogServer/Application.Service.SysLog/Application.Service.SysLog.csproj deleted file mode 100644 index 72bd41272..000000000 --- a/samples/LogServer/Application.Service.SysLog/Application.Service.SysLog.csproj +++ /dev/null @@ -1,23 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - - - - - - - - - diff --git a/samples/LogServer/Application.Service.SysLog/LogAppService.cs b/samples/LogServer/Application.Service.SysLog/LogAppService.cs deleted file mode 100644 index 717e0794e..000000000 --- a/samples/LogServer/Application.Service.SysLog/LogAppService.cs +++ /dev/null @@ -1,16 +0,0 @@ -using Application.Interface.SysLog; -using Surging.Core.ProxyGenerator; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Application.Service.SysLog -{ - public class LogAppService : ProxyServiceBase, ILogAppService - { - public Task> PagedQuery(int pageIndex, int pageSize) - { - throw new NotImplementedException(); - } - } -} diff --git a/samples/LogServer/HostService/Configs/log4net.config b/samples/LogServer/HostService/Configs/log4net.config deleted file mode 100644 index 42fd16880..000000000 --- a/samples/LogServer/HostService/Configs/log4net.config +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/LogServer/HostService/HostService.csproj b/samples/LogServer/HostService/HostService.csproj deleted file mode 100644 index 2339f49f1..000000000 --- a/samples/LogServer/HostService/HostService.csproj +++ /dev/null @@ -1,30 +0,0 @@ - - - - Exe - netcoreapp2.0 - - - - - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - - diff --git a/samples/LogServer/HostService/Program.cs b/samples/LogServer/HostService/Program.cs deleted file mode 100644 index 0b4ed6bc8..000000000 --- a/samples/LogServer/HostService/Program.cs +++ /dev/null @@ -1,64 +0,0 @@ -using Autofac; -using Surging.Core.Codec.MessagePack; -using Surging.Core.Consul; -using Surging.Core.Consul.Configurations; -using Surging.Core.CPlatform; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.DotNetty; -using Surging.Core.EventBusRabbitMQ; -using Surging.Core.ServiceHosting; -using Surging.Core.ServiceHosting.Internal.Implementation; -using System; -using System.Text; -using Surging.Core.Log4net; -using Surging.Core.ProxyGenerator; - -namespace Centa.HostService.SysLog -{ - public class Program - { - static void Main(string[] args) - { - Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); - var host = new ServiceHostBuilder() - //.RegisterServices(provider => - //{ - // //这里写自己的注册 - //}) - .RegisterServices(builder => - { - builder.AddMicroService(option => - { - option.AddServiceRuntime(); - option.AddRelateService(); - option.UseConsulManager(new ConfigInfo("127.0.0.1:8500")); - option.UseDotNettyTransport(); - option.UseRabbitMQTransport(); - option.AddRabbitMQAdapt(); - // option.UseMessagePackCodec(); - option.UseJsonCodec(); - builder.Register(p => new CPlatformContainer(ServiceLocator.Current)); - }); - }) - .SubscribeAt() - .UseLog4net("Configs/log4net.config") - .UseServer(options => - { - options.Ip = "127.0.0.1"; - options.Port = 2018; - options.Token = "True"; - options.ExecutionTimeoutInMilliseconds = 30000; - options.MaxConcurrentRequests = 200; - }) - // .UseProxy() - .UseStartup() - .Build(); - - using (host.Run()) - { - Console.WriteLine($"服务端启动成功,{DateTime.Now}。"); - Console.ReadLine(); - } - } - } -} diff --git a/samples/LogServer/HostService/Startup.cs b/samples/LogServer/HostService/Startup.cs deleted file mode 100644 index 1b90c95a5..000000000 --- a/samples/LogServer/HostService/Startup.cs +++ /dev/null @@ -1,62 +0,0 @@ -using Autofac; -using Autofac.Extensions.DependencyInjection; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.EventBusRabbitMQ.Configurations; -using System; - -namespace Centa.HostService.SysLog -{ - public class Startup - { - public Startup() - { - var config = new ConfigurationBuilder() - .SetBasePath(AppContext.BaseDirectory); - ConfigureEventBus(config); - ConfigureCache(config); - } - - public IContainer ConfigureServices(ContainerBuilder builder) - { - var services = new ServiceCollection(); - ConfigureLogging(services); - builder.Populate(services); - ServiceLocator.Current = builder.Build(); - return ServiceLocator.Current; - } - - public void Configure(IContainer app) - { - app.Resolve().AddConsole((c, l) => (int)l >= 3); - } - - #region 私有方法 - /// - /// 配置日志服务 - /// - /// - private void ConfigureLogging(IServiceCollection services) - { - services.AddLogging(); - } - - private static void ConfigureEventBus(IConfigurationBuilder build) - { - build - .AddEventBusFile("eventBusSettings.json", optional: false); - } - - /// - /// 配置缓存服务 - /// - private void ConfigureCache(IConfigurationBuilder build) - { - // build.AddCacheFile("cacheSettings.json", optional: false); - } - #endregion - - } -} diff --git a/samples/LogServer/HostService/cacheSettings.json b/samples/LogServer/HostService/cacheSettings.json deleted file mode 100644 index ab9c7e43d..000000000 --- a/samples/LogServer/HostService/cacheSettings.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "CachingSettings": [ - { - "Id": "ddlCache", - "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", - "Properties": [ - { - "Name": "appRuleFile", - "Ref": "rule" - }, - { - "Name": "dataContextPool", - "Ref": "ddls_sample", - "Maps": [ - { - "Name": "Redis", - "Properties": [ - { - "value": "127.0.0.1:6379::1" - } - ] - }, - { - "Name": "MemoryCache" - } - ] - }, - { - "Name": "defaultExpireTime", - "value": "120" - }, - { - "Name": "connectTimeout", - "Value": "120" - }, - { - "Name": "minSize", - "Value": "1" - }, - { - "Name": "maxSize", - "Value": "10" - } - ] - } - ] -} diff --git a/samples/LogServer/HostService/eventBusSettings.json b/samples/LogServer/HostService/eventBusSettings.json deleted file mode 100644 index d5d4487b7..000000000 --- a/samples/LogServer/HostService/eventBusSettings.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "EventBusConnection": "localhost", - "EventBusUserName": "guest", - "EventBusPassword": "guest" -} - diff --git a/samples/MicroService.sln b/samples/MicroService.sln deleted file mode 100644 index 64818f727..000000000 --- a/samples/MicroService.sln +++ /dev/null @@ -1,206 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 15 -VisualStudioVersion = 15.0.27130.2010 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "FrontEnd", "FrontEnd", "{16D922E9-E971-4E09-8957-2BEC03950B59}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Doc", "Doc", "{6B3A06FA-EF30-4CB4-955F-AF7FE2E9C60D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{24CC1A19-D3EE-4B3E-89EC-012BA4AFD112}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "LogServer", "LogServer", "{11EC931F-CFB3-4395-BB64-1295DBA7CC3D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "1-Distributed Services", "1-Distributed Services", "{7B1CB514-E30D-4D9D-B0DD-AC31AD7BB543}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "2-Application Services", "2-Application Services", "{4AE3BF33-FE59-4FD2-BB67-E4CB313708C5}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "4-Repository", "4-Repository", "{7ED005CB-4A0C-4E2A-8723-EF98EDC58037}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Repository.Dapper.Core", "Common\Repository.Dapper.Core\Repository.Dapper.Core.csproj", "{52B3EA74-1B2C-44B2-A617-9F32B3135818}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Repository.EF.Core", "Common\Repository.EF.Core\Repository.EF.Core.csproj", "{2F30368D-2ECE-4833-AE7B-0FDC34BA3102}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DDD.Core", "Common\DDD.Core\DDD.Core.csproj", "{FABAFCF3-4A9A-4853-8178-CFA7FC93E8BB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DTO.Core", "Common\DTO.Core\DTO.Core.csproj", "{93CC491E-83CD-47B6-8142-5F4CD28AC614}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HostService", "LogServer\HostService\HostService.csproj", "{FBB4AF83-CD4A-4428-8C10-676B2658006A}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application.Interface.SysLog", "LogServer\Application.Interface.SysLog\Application.Interface.SysLog.csproj", "{631D7361-D683-4909-91F1-5C3324DCA282}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application.Service.SysLog", "LogServer\Application.Service.SysLog\Application.Service.SysLog.csproj", "{53D00367-E40B-472A-935F-4C27B5762128}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "AuthServer", "AuthServer", "{1AFE40BE-F129-457C-AA23-C9A19D6ADF4F}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "1-Distributed Services", "1-Distributed Services", "{0AB757EA-7849-4461-9849-40D49B3E86ED}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HostService", "AuthServer\HostService\HostService.csproj", "{6313CF74-D8EE-4D18-93FD-6F2DAC33D90E}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "2-Application Services", "2-Application Services", "{904FEED6-3597-4BFB-9BF3-5DA54DC705A3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application.Interface.Auth", "AuthServer\Application.Interface.Auth\Application.Interface.Auth.csproj", "{936B0D84-8B2A-4DEA-A287-0290EC64C017}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application.Service.Auth", "AuthServer\Application.Service.Auth\Application.Service.Auth.csproj", "{6E4677D6-60A5-4868-B92A-6FE8FF1714D2}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "4-Repository", "4-Repository", "{95507E5B-2725-4263-93A0-4DF88A32C9D1}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "OrgServer", "OrgServer", "{6850BB45-B72B-45FD-969B-58A5852FE52D}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "1-Distributed Services", "1-Distributed Services", "{977B9CD7-FA17-417F-8577-2A13E7D6AFB9}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "2-Application Services", "2-Application Services", "{7F1BD8CD-4F80-4586-B3BE-B8B159E224A5}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "4-Repository", "4-Repository", "{27935240-E1E5-4D55-AFA2-27AA92681789}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "HostService", "OrgServer\HostService\HostService.csproj", "{C19A5D2C-8E75-41AE-A1FF-D63D25CB98A0}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application.Interface.Org", "OrgServer\Application.Interface.Org\Application.Interface.Org.csproj", "{F47E8649-62A3-4B7F-8B81-13E995D17DAF}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application.Service.Org", "OrgServer\Application.Service.Org\Application.Service.Org.csproj", "{797C2369-5E7D-4CA3-8AAC-15BE4604E7C7}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "App.Core", "Common\App.Core\App.Core.csproj", "{027BA86B-43EE-4825-A3E3-A988F847A1CA}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "3-Domain", "3-Domain", "{9924D2D9-6D66-44CA-B5F8-9A46ACD637C5}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Domain.Org", "OrgServer\Domain\Domain.Org.csproj", "{F44DCA50-03E6-46CF-9694-E15915C9F443}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "3-Domain", "3-Domain", "{13D4465F-E298-46DD-822D-048BCF99CC47}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Domain.Auth", "AuthServer\Domain\Domain.Auth.csproj", "{2D571933-83F7-4D36-A0DB-3A47EAC64930}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Repository.Auth", "AuthServer\Repository.Auth\Repository.Auth.csproj", "{543EEE3D-7A8D-44F1-86AB-B5EADB3579B2}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Repository.Org", "OrgServer\Repository.Org\Repository.Org.csproj", "{B884CB7A-70E7-4710-A49A-3F22E90BBF1E}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Config.Core", "Common\Config.Core\Config.Core.csproj", "{91E42C03-C901-4085-A89F-B6BEED95E25F}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GateWay.WebApi", "GateWay.WebApi\GateWay.WebApi.csproj", "{49370CFD-21BC-4B4E-8AB9-8CC8B18C3180}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {52B3EA74-1B2C-44B2-A617-9F32B3135818}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {52B3EA74-1B2C-44B2-A617-9F32B3135818}.Debug|Any CPU.Build.0 = Debug|Any CPU - {52B3EA74-1B2C-44B2-A617-9F32B3135818}.Release|Any CPU.ActiveCfg = Release|Any CPU - {52B3EA74-1B2C-44B2-A617-9F32B3135818}.Release|Any CPU.Build.0 = Release|Any CPU - {2F30368D-2ECE-4833-AE7B-0FDC34BA3102}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2F30368D-2ECE-4833-AE7B-0FDC34BA3102}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2F30368D-2ECE-4833-AE7B-0FDC34BA3102}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2F30368D-2ECE-4833-AE7B-0FDC34BA3102}.Release|Any CPU.Build.0 = Release|Any CPU - {FABAFCF3-4A9A-4853-8178-CFA7FC93E8BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FABAFCF3-4A9A-4853-8178-CFA7FC93E8BB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FABAFCF3-4A9A-4853-8178-CFA7FC93E8BB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FABAFCF3-4A9A-4853-8178-CFA7FC93E8BB}.Release|Any CPU.Build.0 = Release|Any CPU - {93CC491E-83CD-47B6-8142-5F4CD28AC614}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {93CC491E-83CD-47B6-8142-5F4CD28AC614}.Debug|Any CPU.Build.0 = Debug|Any CPU - {93CC491E-83CD-47B6-8142-5F4CD28AC614}.Release|Any CPU.ActiveCfg = Release|Any CPU - {93CC491E-83CD-47B6-8142-5F4CD28AC614}.Release|Any CPU.Build.0 = Release|Any CPU - {FBB4AF83-CD4A-4428-8C10-676B2658006A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FBB4AF83-CD4A-4428-8C10-676B2658006A}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FBB4AF83-CD4A-4428-8C10-676B2658006A}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FBB4AF83-CD4A-4428-8C10-676B2658006A}.Release|Any CPU.Build.0 = Release|Any CPU - {631D7361-D683-4909-91F1-5C3324DCA282}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {631D7361-D683-4909-91F1-5C3324DCA282}.Debug|Any CPU.Build.0 = Debug|Any CPU - {631D7361-D683-4909-91F1-5C3324DCA282}.Release|Any CPU.ActiveCfg = Release|Any CPU - {631D7361-D683-4909-91F1-5C3324DCA282}.Release|Any CPU.Build.0 = Release|Any CPU - {53D00367-E40B-472A-935F-4C27B5762128}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {53D00367-E40B-472A-935F-4C27B5762128}.Debug|Any CPU.Build.0 = Debug|Any CPU - {53D00367-E40B-472A-935F-4C27B5762128}.Release|Any CPU.ActiveCfg = Release|Any CPU - {53D00367-E40B-472A-935F-4C27B5762128}.Release|Any CPU.Build.0 = Release|Any CPU - {6313CF74-D8EE-4D18-93FD-6F2DAC33D90E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6313CF74-D8EE-4D18-93FD-6F2DAC33D90E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6313CF74-D8EE-4D18-93FD-6F2DAC33D90E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6313CF74-D8EE-4D18-93FD-6F2DAC33D90E}.Release|Any CPU.Build.0 = Release|Any CPU - {936B0D84-8B2A-4DEA-A287-0290EC64C017}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {936B0D84-8B2A-4DEA-A287-0290EC64C017}.Debug|Any CPU.Build.0 = Debug|Any CPU - {936B0D84-8B2A-4DEA-A287-0290EC64C017}.Release|Any CPU.ActiveCfg = Release|Any CPU - {936B0D84-8B2A-4DEA-A287-0290EC64C017}.Release|Any CPU.Build.0 = Release|Any CPU - {6E4677D6-60A5-4868-B92A-6FE8FF1714D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6E4677D6-60A5-4868-B92A-6FE8FF1714D2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6E4677D6-60A5-4868-B92A-6FE8FF1714D2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6E4677D6-60A5-4868-B92A-6FE8FF1714D2}.Release|Any CPU.Build.0 = Release|Any CPU - {C19A5D2C-8E75-41AE-A1FF-D63D25CB98A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C19A5D2C-8E75-41AE-A1FF-D63D25CB98A0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C19A5D2C-8E75-41AE-A1FF-D63D25CB98A0}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C19A5D2C-8E75-41AE-A1FF-D63D25CB98A0}.Release|Any CPU.Build.0 = Release|Any CPU - {F47E8649-62A3-4B7F-8B81-13E995D17DAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F47E8649-62A3-4B7F-8B81-13E995D17DAF}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F47E8649-62A3-4B7F-8B81-13E995D17DAF}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F47E8649-62A3-4B7F-8B81-13E995D17DAF}.Release|Any CPU.Build.0 = Release|Any CPU - {797C2369-5E7D-4CA3-8AAC-15BE4604E7C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {797C2369-5E7D-4CA3-8AAC-15BE4604E7C7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {797C2369-5E7D-4CA3-8AAC-15BE4604E7C7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {797C2369-5E7D-4CA3-8AAC-15BE4604E7C7}.Release|Any CPU.Build.0 = Release|Any CPU - {027BA86B-43EE-4825-A3E3-A988F847A1CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {027BA86B-43EE-4825-A3E3-A988F847A1CA}.Debug|Any CPU.Build.0 = Debug|Any CPU - {027BA86B-43EE-4825-A3E3-A988F847A1CA}.Release|Any CPU.ActiveCfg = Release|Any CPU - {027BA86B-43EE-4825-A3E3-A988F847A1CA}.Release|Any CPU.Build.0 = Release|Any CPU - {F44DCA50-03E6-46CF-9694-E15915C9F443}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F44DCA50-03E6-46CF-9694-E15915C9F443}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F44DCA50-03E6-46CF-9694-E15915C9F443}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F44DCA50-03E6-46CF-9694-E15915C9F443}.Release|Any CPU.Build.0 = Release|Any CPU - {2D571933-83F7-4D36-A0DB-3A47EAC64930}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2D571933-83F7-4D36-A0DB-3A47EAC64930}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2D571933-83F7-4D36-A0DB-3A47EAC64930}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2D571933-83F7-4D36-A0DB-3A47EAC64930}.Release|Any CPU.Build.0 = Release|Any CPU - {543EEE3D-7A8D-44F1-86AB-B5EADB3579B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {543EEE3D-7A8D-44F1-86AB-B5EADB3579B2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {543EEE3D-7A8D-44F1-86AB-B5EADB3579B2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {543EEE3D-7A8D-44F1-86AB-B5EADB3579B2}.Release|Any CPU.Build.0 = Release|Any CPU - {B884CB7A-70E7-4710-A49A-3F22E90BBF1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B884CB7A-70E7-4710-A49A-3F22E90BBF1E}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B884CB7A-70E7-4710-A49A-3F22E90BBF1E}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B884CB7A-70E7-4710-A49A-3F22E90BBF1E}.Release|Any CPU.Build.0 = Release|Any CPU - {91E42C03-C901-4085-A89F-B6BEED95E25F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {91E42C03-C901-4085-A89F-B6BEED95E25F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {91E42C03-C901-4085-A89F-B6BEED95E25F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {91E42C03-C901-4085-A89F-B6BEED95E25F}.Release|Any CPU.Build.0 = Release|Any CPU - {49370CFD-21BC-4B4E-8AB9-8CC8B18C3180}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {49370CFD-21BC-4B4E-8AB9-8CC8B18C3180}.Debug|Any CPU.Build.0 = Debug|Any CPU - {49370CFD-21BC-4B4E-8AB9-8CC8B18C3180}.Release|Any CPU.ActiveCfg = Release|Any CPU - {49370CFD-21BC-4B4E-8AB9-8CC8B18C3180}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {7B1CB514-E30D-4D9D-B0DD-AC31AD7BB543} = {11EC931F-CFB3-4395-BB64-1295DBA7CC3D} - {4AE3BF33-FE59-4FD2-BB67-E4CB313708C5} = {11EC931F-CFB3-4395-BB64-1295DBA7CC3D} - {7ED005CB-4A0C-4E2A-8723-EF98EDC58037} = {11EC931F-CFB3-4395-BB64-1295DBA7CC3D} - {52B3EA74-1B2C-44B2-A617-9F32B3135818} = {24CC1A19-D3EE-4B3E-89EC-012BA4AFD112} - {2F30368D-2ECE-4833-AE7B-0FDC34BA3102} = {24CC1A19-D3EE-4B3E-89EC-012BA4AFD112} - {FABAFCF3-4A9A-4853-8178-CFA7FC93E8BB} = {24CC1A19-D3EE-4B3E-89EC-012BA4AFD112} - {93CC491E-83CD-47B6-8142-5F4CD28AC614} = {24CC1A19-D3EE-4B3E-89EC-012BA4AFD112} - {FBB4AF83-CD4A-4428-8C10-676B2658006A} = {7B1CB514-E30D-4D9D-B0DD-AC31AD7BB543} - {631D7361-D683-4909-91F1-5C3324DCA282} = {4AE3BF33-FE59-4FD2-BB67-E4CB313708C5} - {53D00367-E40B-472A-935F-4C27B5762128} = {4AE3BF33-FE59-4FD2-BB67-E4CB313708C5} - {0AB757EA-7849-4461-9849-40D49B3E86ED} = {1AFE40BE-F129-457C-AA23-C9A19D6ADF4F} - {6313CF74-D8EE-4D18-93FD-6F2DAC33D90E} = {0AB757EA-7849-4461-9849-40D49B3E86ED} - {904FEED6-3597-4BFB-9BF3-5DA54DC705A3} = {1AFE40BE-F129-457C-AA23-C9A19D6ADF4F} - {936B0D84-8B2A-4DEA-A287-0290EC64C017} = {904FEED6-3597-4BFB-9BF3-5DA54DC705A3} - {6E4677D6-60A5-4868-B92A-6FE8FF1714D2} = {904FEED6-3597-4BFB-9BF3-5DA54DC705A3} - {95507E5B-2725-4263-93A0-4DF88A32C9D1} = {1AFE40BE-F129-457C-AA23-C9A19D6ADF4F} - {977B9CD7-FA17-417F-8577-2A13E7D6AFB9} = {6850BB45-B72B-45FD-969B-58A5852FE52D} - {7F1BD8CD-4F80-4586-B3BE-B8B159E224A5} = {6850BB45-B72B-45FD-969B-58A5852FE52D} - {27935240-E1E5-4D55-AFA2-27AA92681789} = {6850BB45-B72B-45FD-969B-58A5852FE52D} - {C19A5D2C-8E75-41AE-A1FF-D63D25CB98A0} = {977B9CD7-FA17-417F-8577-2A13E7D6AFB9} - {F47E8649-62A3-4B7F-8B81-13E995D17DAF} = {7F1BD8CD-4F80-4586-B3BE-B8B159E224A5} - {797C2369-5E7D-4CA3-8AAC-15BE4604E7C7} = {7F1BD8CD-4F80-4586-B3BE-B8B159E224A5} - {027BA86B-43EE-4825-A3E3-A988F847A1CA} = {24CC1A19-D3EE-4B3E-89EC-012BA4AFD112} - {9924D2D9-6D66-44CA-B5F8-9A46ACD637C5} = {6850BB45-B72B-45FD-969B-58A5852FE52D} - {F44DCA50-03E6-46CF-9694-E15915C9F443} = {9924D2D9-6D66-44CA-B5F8-9A46ACD637C5} - {13D4465F-E298-46DD-822D-048BCF99CC47} = {1AFE40BE-F129-457C-AA23-C9A19D6ADF4F} - {2D571933-83F7-4D36-A0DB-3A47EAC64930} = {13D4465F-E298-46DD-822D-048BCF99CC47} - {543EEE3D-7A8D-44F1-86AB-B5EADB3579B2} = {95507E5B-2725-4263-93A0-4DF88A32C9D1} - {B884CB7A-70E7-4710-A49A-3F22E90BBF1E} = {27935240-E1E5-4D55-AFA2-27AA92681789} - {91E42C03-C901-4085-A89F-B6BEED95E25F} = {24CC1A19-D3EE-4B3E-89EC-012BA4AFD112} - {49370CFD-21BC-4B4E-8AB9-8CC8B18C3180} = {16D922E9-E971-4E09-8957-2BEC03950B59} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {9536404C-EF7E-42FF-A785-CAADEA7C08A5} - EndGlobalSection -EndGlobal diff --git a/samples/OrgServer/Application.Interface.Org/Application.Interface.Org.csproj b/samples/OrgServer/Application.Interface.Org/Application.Interface.Org.csproj deleted file mode 100644 index e4da24ad5..000000000 --- a/samples/OrgServer/Application.Interface.Org/Application.Interface.Org.csproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - - - - - diff --git a/samples/OrgServer/Application.Interface.Org/DTO/DeptAddReq.cs b/samples/OrgServer/Application.Interface.Org/DTO/DeptAddReq.cs deleted file mode 100644 index ab9879432..000000000 --- a/samples/OrgServer/Application.Interface.Org/DTO/DeptAddReq.cs +++ /dev/null @@ -1,111 +0,0 @@ -using DTO.Core; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Application.Interface.Org -{ - public class DeptEditReq : EntityCUDReq - { - /// - /// 所属公司ID - /// - - public Guid CorporationKeyId { get; set; } - public Guid? DepartmentKeyId { get; set; } - - /// - /// 部门名称 - /// - - public string DepartmentName { get; set; } - - /// - /// 部门名称简拼 - /// - - public string NameSpell { get; set; } - - /// - /// 部门编号 - /// - - public string DepartmentNo { get; set; } - - - - /// - /// 部门负责人KeyId - /// - - public Guid? DeptCheifKeyId { get; set; } - /// - /// 部门上一级负责人 - /// - - public Guid? ParentDeptCheifKeyId { get; set; } - /// - /// 部门上一级负责人部门ID - /// - - public Guid? ParentDeptCheifDeptId { get; set; } - /// - /// 父部门KeyId - /// - - public Guid? ParentDeptKeyId { get; set; } - - /// - /// 部门电话 - /// - - public string Telephone { get; set; } - - /// - /// 部门来源(null为A+系统新增,1为CCAI系统新增) - /// - - public int? SourceObjectFlag { get; set; } - - /// - /// 纬度 - /// - - public string Latitude { get; set; } - /// - /// 经度 - /// - - public string Longitude { get; set; } - - /// - /// 部门类型(普通额外公客池、客源市场) - /// - - // public DepartmentTypeEnum? DepartmentType { get; set; } - } - - public class CorpEditReq: EntityCUDReq - { - public string CorpName { get; set; } - - } - - public class RoleEditReq : EntityCUDReq - { - public string RoleName { get; set; } - - } - - public class EmployeeEditReq : EntityCUDReq - { - public string Name { get; set; } - public string Mobile { get; set; } - public Guid DeptKeyId { get; set; } - public Guid RoleKeyId { get; set; } - public string RoleName { get; set; } - - - - } -} diff --git a/samples/OrgServer/Application.Interface.Org/DTO/EmployeePermission.cs b/samples/OrgServer/Application.Interface.Org/DTO/EmployeePermission.cs deleted file mode 100644 index 71978f5a5..000000000 --- a/samples/OrgServer/Application.Interface.Org/DTO/EmployeePermission.cs +++ /dev/null @@ -1,10 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Application.Interface.Org.DTO -{ - class EmployeePermission - { - } -} diff --git a/samples/OrgServer/Application.Interface.Org/EVENT/CorporationActivated.cs b/samples/OrgServer/Application.Interface.Org/EVENT/CorporationActivated.cs deleted file mode 100644 index a157e80bd..000000000 --- a/samples/OrgServer/Application.Interface.Org/EVENT/CorporationActivated.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Surging.Core.CPlatform.EventBus.Events; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Application.Interface.Org.EVENT -{ - /// - /// 新注册公司被激活的事件 - /// - public class CorporationActivatedEvent: IntegrationEvent - { - public Guid CorpId { get; set; } - public string Email { get; set; } - public string EmpId { get; set; } - - } -} diff --git a/samples/OrgServer/Application.Interface.Org/EVENT/ICorpEventHandler.cs b/samples/OrgServer/Application.Interface.Org/EVENT/ICorpEventHandler.cs deleted file mode 100644 index 2d1ae5637..000000000 --- a/samples/OrgServer/Application.Interface.Org/EVENT/ICorpEventHandler.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Application.Interface.Org -{ - /// - /// 事件处理器 - /// - public interface ICorpEventHandler //: IIntegrationEventHandler - { - } -} diff --git a/samples/OrgServer/Application.Interface.Org/IOrgAppService.cs b/samples/OrgServer/Application.Interface.Org/IOrgAppService.cs deleted file mode 100644 index e4ff25a6a..000000000 --- a/samples/OrgServer/Application.Interface.Org/IOrgAppService.cs +++ /dev/null @@ -1,142 +0,0 @@ -using DTO.Core; -using Surging.Core.CPlatform.Ioc; -using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes; -using Surging.Core.CPlatform.Support; -using Surging.Core.CPlatform.Support.Attributes; -using System; -using System.Collections.Generic; -using System.Threading.Tasks; - -namespace Application.Interface.Org -{ - [ServiceBundle("api/{Service}")] - public interface IOrgAppService : IServiceKey - { - #region CMD - #region 公司管理 - - /// - /// 注册一个新公司 - /// - /// - /// - [Service(Date = "2018-2-12", Director = "刘旭东", Name = "注册一个新公司")] - Task RegisterCorporation(CorpEditReq req); - - /// - /// 激活一个新公司 - /// 手机短信或者邮箱确认 - /// - /// - /// - [Service(Date = "2018-2-12", Director = "刘旭东", Name = "激活一个新公司")] - Task ActivateCorporation(CommonCMDReq req); - - /// - /// 修改公司信息 - /// - /// - /// - [Service(Date = "2018-2-12", Director = "刘旭东", Name = "修改公司信息")] - Task EditCorporation(CorpEditReq req); - #endregion - - #region 权限管理 - - #endregion - - #endregion - - - #region Query - - #region 公司 - /// - /// 所有公司列表 - /// - /// - /// - [Service(Date = "2018-1-30", Director = "刘旭东", Name = "所有公司列表")] - Task FindCorps(BaseTreeSearchReq req); - #endregion - - #region 部门管理 - - /// - /// 当前用户所在公司全部部门列表 - /// 使用场景:部门树加载显示 - /// - /// - /// 全部部门列表 - //[Command(Strategy = StrategyType.Failover, RequestCacheEnabled = false)] - [Service(Date = "2018-1-30", Director = "刘旭东", Name = "当前用户所在公司全部部门列表")] - Task FindDepartments(BaseTreeSearchReq req); - - /// - /// 添加一个新部门 - /// - /// - /// 操作结果 - [Service(Date = "2018-2-1", Director = "刘旭东", Name = "添加一个新部门")] - Task CreateDepartment(DeptEditReq req); - - /// - /// 修改一个部门 - /// - /// - /// - [Service(Date = "2018-2-1", Director = "刘旭东", Name = "修改一个部门")] - Task ModifyDepartment(DeptEditReq req); - - /// - /// 删除一个部门 - /// - /// - /// - [Service(Date = "2018-2-1", Director = "刘旭东", Name = "删除一个部门")] - Task RemoveDepartment(KeyIdReq req); - - #endregion 部门管理 - - #region 权限管理 - /// - /// 添加一个新角色 - /// - /// - /// - [Service(Date = "2018-2-1", Director = "刘旭东", Name = "添加一个新角色")] - Task CreateRole(RoleEditReq req); - - /// - /// 查询用户的所有权限 - /// - /// - /// - [Service(Date = "2018-2-14", Director = "刘旭东", Name = "查询用户的所有权限")] - Task QueryUserPermission(CommonCMDReq req); - - [Service(Date = "2018-2-14", Director = "刘旭东", Name = "查询公司的所有角色")] - Task FindCorpRoles(CommonCMDReq req); - - #endregion - - #region 员工管理 - /// - /// 添加一个新员工 - /// - /// - /// - [Service(Date = "2018-2-1", Director = "刘旭东", Name = "添加一个新员工")] - Task CreateEmployee(EmployeeEditReq req); - - /// - /// 分页查询员工 - /// - /// - /// - [Service(Date = "2018-2-1", Director = "刘旭东", Name = "分页查询员工")] - Task FindEmployeePageBy(BasePagedRequestDto req); - #endregion - #endregion - } -} diff --git a/samples/OrgServer/Application.Service.Org/Application.Service.Org.csproj b/samples/OrgServer/Application.Service.Org/Application.Service.Org.csproj deleted file mode 100644 index d80fece76..000000000 --- a/samples/OrgServer/Application.Service.Org/Application.Service.Org.csproj +++ /dev/null @@ -1,28 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - - - - - - - - - - - - - - diff --git a/samples/OrgServer/Application.Service.Org/Query/OrgAppService.cs b/samples/OrgServer/Application.Service.Org/Query/OrgAppService.cs deleted file mode 100644 index b1613de4a..000000000 --- a/samples/OrgServer/Application.Service.Org/Query/OrgAppService.cs +++ /dev/null @@ -1,85 +0,0 @@ -using Application.Interface.Org; -using DTO.Core; -using Surging.Core.Caching; -using Surging.Core.CPlatform.Ioc; -using Surging.Core.ProxyGenerator; -using System; -using System.Linq; -using System.Collections.Generic; -using System.Threading.Tasks; -using System.Linq.Expressions; -using Domain.Org.Entity; - -namespace Application.Service.Org -{ - public partial class OrgAppService - { - public Task FindCorps(BaseTreeSearchReq req) - { - BaseTreeResponseDto rsp = new BaseTreeResponseDto(); - rsp.Tree = _queryCorpRepository.Get(a => !a.IsDelete).Select(a => new BaseTreeDto - { - Id = a.CorporationKeyId.ToString(), - Name = a.Name, - PId = Guid.Empty.ToString() - }).ToList(); - - return Task.FromResult(rsp); - } - - public Task FindDepartments(BaseTreeSearchReq req) - { - BaseTreeResponseDto rsp = new BaseTreeResponseDto(); - var rows = _queryOrgRepository.Get(a => !a.IsDelete && a.CorporationKeyId == req.Identify.CorporationKeyId).Select(a => new BaseTreeDto - { - Id = a.CorporationKeyId.ToString(), - Name = a.Name, - PId = a.ParentKeyId.ToString() - }).ToList(); - rsp.Tree = rows; - return Task.FromResult(rsp); - } - - public Task QueryUserPermission(CommonCMDReq req) - { - var rsp = new BaseListResponseDto(); - var rows = _queryEmployeeRepository.FindUserRolePermission(Guid.Parse(req.Identify.Token)); - rsp.Result = new - { - pages = rows.Where(a => a.PermissionType == 1)?.Select(a => new - { - name = a.Name, - no = a.No, - }), - actions = rows.Where(a => a.PermissionType == 2)?.Select(a => new - { - name = a.Name, - no = a.No, - }) - }; - rsp.OperateFlag = true; - return Task.FromResult(rsp); - - } - - - public Task FindCorpRoles(CommonCMDReq req) - { - var rsp = new BaseListResponseDto(); - var rows = _queryCorpRepository.Get(a=>a.CorporationKeyId== req.Identify.CorporationKeyId,a=>a.CorpRoles).FirstOrDefault()?.CorpRoles.ToList(); - rsp.Result = rows?.Select(a=>new { roleName=a.Name,roleId=a.KeyId }).ToList(); - rsp.OperateFlag = true; - return Task.FromResult(rsp); - - } - - public Task FindEmployeePageBy(BasePagedRequestDto req) - { - var rsp = new BaseListResponseDto(); - var rows = _queryEmployeeRepository.GetByPagination(a => !a.IsDelete&&a.CorporationKeyId==req.Identify.CorporationKeyId, req.PageSize, req.PageIndex,null).ToList(); - rsp.Result = rows; - rsp.OperateFlag = true; - return Task.FromResult(rsp); - } - } -} diff --git a/samples/OrgServer/Application.Service.Org/UseCases/OrgAppService.cs b/samples/OrgServer/Application.Service.Org/UseCases/OrgAppService.cs deleted file mode 100644 index 191bbc943..000000000 --- a/samples/OrgServer/Application.Service.Org/UseCases/OrgAppService.cs +++ /dev/null @@ -1,280 +0,0 @@ -using App.Core; -using Application.Interface.Org; -using Domain.Org.Entity; -using DTO.Core; -using Repository.EF.Core; -using Surging.Core.Caching; -using Surging.Core.CPlatform.Ioc; -using Surging.Core.ProxyGenerator; -using System; -using System.Linq; -using System.Collections.Generic; -using System.Threading.Tasks; -using Domain.Org.Aggregate; -using Application.Interface.Org.EVENT; -using Repository.Org; - -namespace Application.Service.Org -{ - [ModuleName("Org")] - public partial class OrgAppService : BaseAppService, IOrgAppService - { - private readonly OrgRepository _repository; - private readonly CorpQueryRepository _queryCorpRepository; - private readonly OrgQueryRepository _queryOrgRepository; - private readonly EmployeeQueryRepository _queryEmployeeRepository; - - // private ICacheProvider _cacheProvider; - public OrgAppService(OrgRepository repository, OrgQueryRepository queryOrgRepository, CorpQueryRepository queryCorpRepository, EmployeeQueryRepository queryEmployeeRepository) - // : base(repository)//, queryOnlyRepository) - { - _repository = repository; - _queryCorpRepository = queryCorpRepository; - _queryOrgRepository = queryOrgRepository; - _queryEmployeeRepository = queryEmployeeRepository; - } - #region 公司 - - public Task RegisterCorporation(CorpEditReq req) - { - //是否已经被注册? - var existCorp = _queryCorpRepository.Exist(a => !a.IsDelete && a.Name == req.CorpName); - if (!existCorp) - { - var aCorp = new Corporation - { - CorporationKeyId = Guid.NewGuid(), - Name = req.CorpName, - No = req.CorpName, - Version = 1, - CreateTime = DateTime.Now, - UpdateTime = DateTime.Now, - IsDelete = false - }; - _repository.Add(aCorp); - _repository.Commit(); - return Task.FromResult(new OperateResultRsp - { - OperateFlag = true, - OperateResult = "注册成功" - }); - } - else - { - return Task.FromResult(new OperateResultRsp - { - OperateFlag = false, - OperateResult = "该企业已经被注册" - }); - } - - } - - public Task ActivateCorporation(CommonCMDReq req) - { - var rsp = new OperateResultRsp - { - OperateFlag = false, - OperateResult = "参数错误" - }; - try - { - if (!string.IsNullOrEmpty(req.CommonCMD)) - { - var corp = _queryCorpRepository.Get(a => a.CorporationKeyId == req.Identify.CorporationKeyId).FirstOrDefault(); - corp.IsDelete = false; - var empId = corp.Activate(); - - _repository.Commit(); - rsp.OperateFlag = true; - rsp.OperateResult = "激活成功"; - Publish(new CorporationActivatedEvent() - { - CorpId = req.Identify.CorporationKeyId, - Email = req.CommonCMD, - EmpId = empId - }); - } - } - catch (Exception ex) - { - string msg = ex.Message; - } - return Task.FromResult(rsp); - - // return rsp; - } - - public Task EditCorporation(CorpEditReq req) - { - throw new NotImplementedException(); - } - #endregion - - #region 部门 - - public Task CreateDepartment(DeptEditReq req) - { - if (req.CorporationKeyId != Guid.Empty) - { - var corp = _repository.FindBy(req.CorporationKeyId); - if (corp != null) - { - corp.Departments.Add(new Department() - { - Name = req.DepartmentName, - No = req.DepartmentNo, - DepartmentType = DepartmentCategory.Bizz, - ParentKeyId = req.ParentDeptKeyId.GetValueOrDefault(), - Version = 1, - CreateTime = DateTime.Now, - UpdateTime = DateTime.Now, - IsDelete = false - }); - } - else - { - - } - } - else - { - return Task.FromResult(new OperateResultRsp - { - OperateFlag = false, - OperateResult = string.Empty - }); - } - _repository.Commit(); - return Task.FromResult(new OperateResultRsp - { - OperateFlag = true, - OperateResult = string.Empty - }); - } - - - - public Task ModifyDepartment(DeptEditReq req) - { - var corp = _repository.FindBy(req.CorporationKeyId); - if (corp != null) - { - var dept = corp.Departments.FirstOrDefault(c => c.KeyId == req.DepartmentKeyId.Value); - if (dept != null) - { - dept.Name = req.DepartmentName; - dept.No = req.DepartmentNo; - } - } - _repository.Commit(); - return Task.FromResult(new OperateResultRsp - { - OperateFlag = true, - OperateResult = string.Empty - }); - - } - - - - public Task RemoveDepartment(KeyIdReq req) - { - var corporation = _repository.FindBy(req.Identify.CorporationKeyId); - var dept = corporation.Departments.FirstOrDefault(c => c.KeyId == req.KeyId); - if (dept != null) - { - dept.IsDelete = true; - } - _repository.Commit(); - return Task.FromResult(new OperateResultRsp - { - OperateFlag = true, - OperateResult = string.Empty - }); - } - - - #endregion - - #region 角色 - public Task CreateRole(RoleEditReq req) - { - OperateResultRsp rsp = new OperateResultRsp(); - var corporation = _repository.FindBy(req.Identify.CorporationKeyId); - if (corporation != null) - { - if (!corporation.CorpRoles.Exists(a => a.Name == req.RoleName.Trim())) - { - var corpRole = new CorpRole - { - Name = req.RoleName, - CorporationKeyId = req.Identify.CorporationKeyId, - - }; - corpRole.SetEditer(null); - corpRole.KeyId = Guid.NewGuid(); - corporation.CorpRoles.Add(corpRole); - _repository.Commit(); - rsp.OperateFlag = true; - } - else - { - rsp.OperateFlag = false; - rsp.FlagErrorMsg = "角色名字已经存在"; - } - } - else - { - rsp.OperateFlag = false; - rsp.FlagErrorMsg = "当前公司编号错误"; - } - return Task.FromResult(rsp); - } - - - #endregion - - #region 员工 - public Task CreateEmployee(EmployeeEditReq req) - { - OperateResultRsp rsp = new OperateResultRsp(); - var corporation = _repository.FindBy(req.Identify.CorporationKeyId); - if (corporation != null) - { - var dept = corporation.Departments.FirstOrDefault(a => a.KeyId == req.DeptKeyId); - if (dept != null) - { - var emp = new Employee - { - Name = req.Name, - CorporationKeyId = req.Identify.CorporationKeyId, - DepartmentKeyId=req.DeptKeyId, - RoleKeyId = req.RoleKeyId, - RoleName = req.RoleName - - }; - emp.SetEditer(null); - emp.KeyId = Guid.NewGuid(); - dept.Employees.Add(emp); - _repository.Commit(); - rsp.OperateFlag = true; - } - else - { - rsp.OperateFlag = false; - rsp.FlagErrorMsg = "角色名字已经存在"; - } - } - else - { - rsp.OperateFlag = false; - rsp.FlagErrorMsg = "当前公司编号错误"; - } - return Task.FromResult(rsp); - } - - - #endregion - } -} diff --git a/samples/OrgServer/Domain/Aggregate/Corporation.cs b/samples/OrgServer/Domain/Aggregate/Corporation.cs deleted file mode 100644 index 95cc29c56..000000000 --- a/samples/OrgServer/Domain/Aggregate/Corporation.cs +++ /dev/null @@ -1,79 +0,0 @@ -using DDD.Core; -using Domain.Org.Entity; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.Org.Aggregate -{ - [Table("Org_Corporations")] - public class Corporation : IAggregate - { - /// - /// 这个字段没有用,禁止使用 - /// - [NotMapped] - public override Guid KeyId { get => base.KeyId; set => base.KeyId = value; } - - [Key] - public override Guid CorporationKeyId { get; set; } - - public virtual List Departments { get; set; } - public virtual List CorpRoles { get; set; } - - /// - /// 注册后激活,初始化管理员数据 - /// - public string Activate() - { - //是否已经存在虚拟部门 - var dept = this.Departments.Find(a => !a.IsDelete && a.Name == "" && a.ParentKeyId == CorporationKeyId); - if(dept==null) - { - //添加虚拟部门 - dept = new Department() - { - Name=string.Empty, - CorporationKeyId=CorporationKeyId, - KeyId=Guid.NewGuid(), - CreateTime=DateTime.Now, - CreateUserKeyId=Guid.Empty, - No="000000", - ParentKeyId=CorporationKeyId, - UpdateTime=DateTime.Now, - UpdateUserKeyId=Guid.Empty, - Address=string.Empty, - NameSpell=string.Empty, - Telephone=string.Empty, - DepartmentType= DepartmentCategory.Sysinternal, - Employees=new List (), - IsDelete=false, - Version=1 - - }; - //添加管理员对应的员工 - var empid = Guid.NewGuid(); - dept.Employees.Add(new Employee() - { - Name="超级管理员", - No = "SuperManger", - KeyId=empid, - CorporationKeyId=CorporationKeyId, - CreateTime=DateTime.Now, - CreateUserKeyId=Guid.Empty, - DepartmentKeyId= dept.KeyId, - UpdateTime=DateTime.Now, - UpdateUserKeyId=Guid.Empty, - Version=1 - }); - return empid.ToString(); - } - else - { - return string.Empty; - } - } - } -} diff --git a/samples/OrgServer/Domain/Domain.Org.csproj b/samples/OrgServer/Domain/Domain.Org.csproj deleted file mode 100644 index 3ca3b9dd8..000000000 --- a/samples/OrgServer/Domain/Domain.Org.csproj +++ /dev/null @@ -1,32 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/OrgServer/Domain/DomainEvents/EventHandling/InquiryEditedHandler.cs b/samples/OrgServer/Domain/DomainEvents/EventHandling/InquiryEditedHandler.cs deleted file mode 100644 index 8f8b1e201..000000000 --- a/samples/OrgServer/Domain/DomainEvents/EventHandling/InquiryEditedHandler.cs +++ /dev/null @@ -1,17 +0,0 @@ -using Surging.Core.CPlatform.EventBus.Events; -using System; -using System.Collections.Generic; -using System.Text; -using System.Threading.Tasks; - -namespace Domain.DomainEvents.Inquiry -{ - public class InquiryEditedHandler : IIntegrationEventHandler - { - public async Task Handle(InquiryEditedEvent @event) - { - - await Task.FromResult("InquiryEditedEvent更改名字》"+@event.CustomerName+"请进行下一步操作"); - } - } -} diff --git a/samples/OrgServer/Domain/DomainEvents/PublishEvent/InquiryEditedEvent.cs b/samples/OrgServer/Domain/DomainEvents/PublishEvent/InquiryEditedEvent.cs deleted file mode 100644 index 3807072ae..000000000 --- a/samples/OrgServer/Domain/DomainEvents/PublishEvent/InquiryEditedEvent.cs +++ /dev/null @@ -1,14 +0,0 @@ -using Surging.Core.CPlatform.EventBus.Events; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Domain.DomainEvents.Inquiry -{ - public class InquiryEditedEvent: IntegrationEvent - { - public Guid CustomerKeyId { get; set; } - public string CustomerName { get; set; } - - } -} diff --git a/samples/OrgServer/Domain/Entity/CorpRole.cs b/samples/OrgServer/Domain/Entity/CorpRole.cs deleted file mode 100644 index eb58fd86a..000000000 --- a/samples/OrgServer/Domain/Entity/CorpRole.cs +++ /dev/null @@ -1,20 +0,0 @@ -using DDD.Core; -using Domain.Org.ValueObject; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.Org.Entity -{ - /// - /// 公司下的角色 - /// - [Table("Org_CorpRoles")] - public class CorpRole: BaseEntity - { - - public virtual List RolePermissions { get; set; } - - } -} diff --git a/samples/OrgServer/Domain/Entity/Department.cs b/samples/OrgServer/Domain/Entity/Department.cs deleted file mode 100644 index f10a8738a..000000000 --- a/samples/OrgServer/Domain/Entity/Department.cs +++ /dev/null @@ -1,40 +0,0 @@ -using DDD.Core; -using Domain.Org.Aggregate; -using Domain.Org.Entity; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.Org.Entity -{ - [Table("Org_Departments")] - public class Department : BaseEntity - { - public Guid ParentKeyId { get; set; } - - public string NameSpell { get; set; } - - public string Telephone { get; set; } - public string Address { get; set; } - public DepartmentCategory DepartmentType { get; set; } - - - [ForeignKey("CorporationKeyId")] - public Corporation OwnCorporation { get; set; } - public virtual List Employees { get; set; } - } - - public enum DepartmentCategory - { - /// - /// 系统为企业内置的虚拟部门 - /// - Sysinternal=0, - /// - /// 公司自己添加维护的部门 - /// - Bizz =1 - } -} diff --git a/samples/OrgServer/Domain/Entity/Employee.cs b/samples/OrgServer/Domain/Entity/Employee.cs deleted file mode 100644 index bf28259cb..000000000 --- a/samples/OrgServer/Domain/Entity/Employee.cs +++ /dev/null @@ -1,30 +0,0 @@ -using DDD.Core; -using Domain.Org.ValueObject; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.Org.Entity -{ - [Table("Org_Employees")] - public class Employee : BaseEntity - { - public string NameSpell { get; set; } - public string Mobile { get; set; } - public string WxNo { get; set; } - public string Email { get; set; } - public string PhotoPath { get; set; } - public string Sex { get; set; } - public string Signature { get; set; } - - public Guid DepartmentKeyId { get; set; } - [ForeignKey("DepartmentKeyId")] - public Department OwnDepartment { get; set; } - /// - /// 员工拥有的角色 - /// - public Guid RoleKeyId{ get;set;} - public string RoleName{ get;set; } - } -} diff --git a/samples/OrgServer/Domain/ValueObject/EmployeeRole.cs b/samples/OrgServer/Domain/ValueObject/EmployeeRole.cs deleted file mode 100644 index 64cd5616a..000000000 --- a/samples/OrgServer/Domain/ValueObject/EmployeeRole.cs +++ /dev/null @@ -1,15 +0,0 @@ -using DDD.Core; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.Org.ValueObject -{ - public class EmployeeRole: BaseValueObject - { - [ForeignKey("Employee")] - public Guid EmployeeKeyId { get; set; } - - } -} diff --git a/samples/OrgServer/Domain/ValueObject/RolePermission.cs b/samples/OrgServer/Domain/ValueObject/RolePermission.cs deleted file mode 100644 index 7abe11323..000000000 --- a/samples/OrgServer/Domain/ValueObject/RolePermission.cs +++ /dev/null @@ -1,32 +0,0 @@ -using DDD.Core; -using System; -using System.Collections.Generic; -using System.ComponentModel.DataAnnotations.Schema; -using System.Text; - -namespace Domain.Org.ValueObject -{ - /// - /// 角色下的权限 - /// - [Table("Org_Role_Permissions")] - public class RolePermission : BaseValueObject - { - /// - /// 服务ID(模块) - /// - public Guid SubDomainKeyId { get; set; } - /// - /// 具体的权限,页面和动作 - /// - public Guid SubDomainPermissionKeyId { get; set; } - - public int PermissionType { get; set; } - - - - [ForeignKey("CorpRole")] - public Guid CorpRoleKeyId { get; set; } - - } -} diff --git a/samples/OrgServer/HostService/Configs/log4net.config b/samples/OrgServer/HostService/Configs/log4net.config deleted file mode 100644 index 42fd16880..000000000 --- a/samples/OrgServer/HostService/Configs/log4net.config +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/samples/OrgServer/HostService/HostService.csproj b/samples/OrgServer/HostService/HostService.csproj deleted file mode 100644 index 6af0a37d2..000000000 --- a/samples/OrgServer/HostService/HostService.csproj +++ /dev/null @@ -1,40 +0,0 @@ - - - - Exe - netcoreapp2.0 - - - - - - - - - - - - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - diff --git a/samples/OrgServer/HostService/Program.cs b/samples/OrgServer/HostService/Program.cs deleted file mode 100644 index 5133ac408..000000000 --- a/samples/OrgServer/HostService/Program.cs +++ /dev/null @@ -1,65 +0,0 @@ -using Autofac; -using Surging.Core.Codec.MessagePack; -using Surging.Core.Consul; -using Surging.Core.Consul.Configurations; -using Surging.Core.CPlatform; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.DotNetty; -using Surging.Core.EventBusRabbitMQ; -using Surging.Core.ServiceHosting; -using Surging.Core.ServiceHosting.Internal.Implementation; -using System; -using System.Text; -using Surging.Core.Log4net; -using Surging.Core.ProxyGenerator; - -namespace Centa.HostService.Org -{ - public class Program - { - static void Main(string[] args) - { - Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); - var host = new ServiceHostBuilder() - //.RegisterServices(provider => - //{ - // //这里写自己的注册 - //}) - .RegisterServices(builder => - { - builder.AddMicroService(option => - { - option.AddServiceRuntime(); - option.AddRelateService(); - option.UseConsulManager(new ConfigInfo("127.0.0.1:8500")); - option.UseDotNettyTransport(); - option.UseRabbitMQTransport(); - option.AddRabbitMQAdapt(); - //option.UseMessagePackCodec(); - option.UseJsonCodec(); - builder.Register(p => new CPlatformContainer(ServiceLocator.Current)); - }); - }) - .SubscribeAt() - .UseLog4net("Configs/log4net.config") - .UseServer(options => - { - options.Ip = "127.0.0.1"; - options.Port = 10242; - options.Token = "True"; - options.ExecutionTimeoutInMilliseconds = 30000; - options.MaxConcurrentRequests = 200; - }) - .UseProxy() - .UseStartup() - .Build(); - - using (host.Run()) - { - Console.Title = "组织管理"; - Console.WriteLine($"组织管理——服务端启动成功,{DateTime.Now}。"); - Console.ReadLine(); - } - } - } -} diff --git a/samples/OrgServer/HostService/Startup.cs b/samples/OrgServer/HostService/Startup.cs deleted file mode 100644 index 3f488ae1a..000000000 --- a/samples/OrgServer/HostService/Startup.cs +++ /dev/null @@ -1,70 +0,0 @@ -using Autofac; -using Autofac.Extensions.DependencyInjection; -using Config.Core.Extensions; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.EventBusRabbitMQ.Configurations; -using System; - -namespace Centa.HostService.Org -{ - public class Startup - { - public Startup() - { - var config = new ConfigurationBuilder() - .SetBasePath(AppContext.BaseDirectory); - ConfigureEventBus(config); - ConfigureCache(config); - ConfigureDB(config); - - } - - public IContainer ConfigureServices(ContainerBuilder builder) - { - var services = new ServiceCollection(); - ConfigureLogging(services); - builder.Populate(services); - ServiceLocator.Current = builder.Build(); - return ServiceLocator.Current; - } - - public void Configure(IContainer app) - { - app.Resolve().AddConsole((c, l) => (int)l >= 3); - } - - #region 私有方法 - /// - /// 配置日志服务 - /// - /// - private void ConfigureLogging(IServiceCollection services) - { - services.AddLogging(); - } - - private static void ConfigureEventBus(IConfigurationBuilder build) - { - build - .AddEventBusFile("eventBusSettings.json", optional: false); - } - - /// - /// 配置缓存服务 - /// - private void ConfigureCache(IConfigurationBuilder build) - { - // build.AddCacheFile("cacheSettings.json", optional: false); - } - - private void ConfigureDB(IConfigurationBuilder build) - { - build.AddDBFile("dbSettings.json", optional: false); - } - #endregion - - } -} diff --git a/samples/OrgServer/HostService/cacheSettings.json b/samples/OrgServer/HostService/cacheSettings.json deleted file mode 100644 index ab9c7e43d..000000000 --- a/samples/OrgServer/HostService/cacheSettings.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "CachingSettings": [ - { - "Id": "ddlCache", - "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", - "Properties": [ - { - "Name": "appRuleFile", - "Ref": "rule" - }, - { - "Name": "dataContextPool", - "Ref": "ddls_sample", - "Maps": [ - { - "Name": "Redis", - "Properties": [ - { - "value": "127.0.0.1:6379::1" - } - ] - }, - { - "Name": "MemoryCache" - } - ] - }, - { - "Name": "defaultExpireTime", - "value": "120" - }, - { - "Name": "connectTimeout", - "Value": "120" - }, - { - "Name": "minSize", - "Value": "1" - }, - { - "Name": "maxSize", - "Value": "10" - } - ] - } - ] -} diff --git a/samples/OrgServer/HostService/dbSettings.json b/samples/OrgServer/HostService/dbSettings.json deleted file mode 100644 index 35262d07c..000000000 --- a/samples/OrgServer/HostService/dbSettings.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "ConnectionString": "Data Source=(localdb)\\MSSQLLocalDB;Initial Catalog=Web_A2;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", - "ModelAssemblyName": "Domain.Org" -} - diff --git a/samples/OrgServer/HostService/eventBusSettings.json b/samples/OrgServer/HostService/eventBusSettings.json deleted file mode 100644 index d5d4487b7..000000000 --- a/samples/OrgServer/HostService/eventBusSettings.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "EventBusConnection": "localhost", - "EventBusUserName": "guest", - "EventBusPassword": "guest" -} - diff --git a/samples/OrgServer/Repository.Org/OrgRepository.cs b/samples/OrgServer/Repository.Org/OrgRepository.cs deleted file mode 100644 index e30e44e3e..000000000 --- a/samples/OrgServer/Repository.Org/OrgRepository.cs +++ /dev/null @@ -1,46 +0,0 @@ -using Microsoft.EntityFrameworkCore; -using Repository.EF.Core; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using Domain.Org.Entity; -using Domain.Org.ValueObject; -using System.Data.SqlClient; -using System.Data; -using Domain.Org.Aggregate; - -namespace Repository.Org -{ - public class OrgRepository : BaseImpRepository - { - public override Corporation FindBy(Guid key) - { - return _set.Include(a => a.Departments).ThenInclude(a => a.Employees) - .Include(a=>a.CorpRoles) - .SingleOrDefault(a => a.CorporationKeyId == key); - } - } - - public class CorpQueryRepository : BaseImpQueryOnlyRepository - { - - } - - public class OrgQueryRepository : BaseImpQueryOnlyRepository - { - } - - public class EmployeeQueryRepository : BaseImpQueryOnlyRepository - { - - public List FindUserRolePermission(Guid empId) - { - return _dbContext.Set().AsNoTracking().Where(a=>a.KeyId==empId).Join(_dbContext.Set().AsNoTracking(), a => a.RoleKeyId, b => b.CorpRoleKeyId,(a,b)=>b).ToList(); - } - } - - public class RolePermissionQueryRepository : BaseImpQueryOnlyRepository - { - } -} diff --git a/samples/OrgServer/Repository.Org/Repository.Org.csproj b/samples/OrgServer/Repository.Org/Repository.Org.csproj deleted file mode 100644 index 3ed970561..000000000 --- a/samples/OrgServer/Repository.Org/Repository.Org.csproj +++ /dev/null @@ -1,16 +0,0 @@ - - - - netcoreapp2.0 - - - - ..\HostService\bin\Debug - - - - - - - - diff --git a/samples/README.md b/samples/README.md deleted file mode 100644 index e69de29bb..000000000 diff --git a/samples/pack/Surging.Core.ApiGateWay.dll b/samples/pack/Surging.Core.ApiGateWay.dll deleted file mode 100644 index 8d68e8355528e2b720149660c28dd5c882c04f67..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7xy{HO z1-TcZCXx3I%j4%o3-MiqFVEpE_{E$iSwqEOKjh%0K|uD(f3*KFB8cOQ(CZnHyB0Eb ziA2_W02;D|JUdh18BGh)XT|S1KLueW%i}qlYsaI{Pt|gBf-?wiO!3(+wyd}N;22_C zaz1A4KWEc+^sFIwa3uC(TzX(d!BeC2UI%o}Wwp|0ltF04@mrkLcx*U+O689n!NU0Q v|A&#sx>aJAGuaMU%k%2=ZPb{Hv;G^DdLXO*pOJC-`%I-(|Be0s?}7gX?vbFD diff --git a/src/Surging.ApiGateway/Controllers/HomeController.cs b/src/Surging.ApiGateway/Controllers/HomeController.cs index 744d5d9e0..e81047ba8 100644 --- a/src/Surging.ApiGateway/Controllers/HomeController.cs +++ b/src/Surging.ApiGateway/Controllers/HomeController.cs @@ -10,7 +10,7 @@ public IActionResult Index() { return View(); } - + public IActionResult Error() { return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier }); diff --git a/src/Surging.ApiGateway/Controllers/ServicesController.cs b/src/Surging.ApiGateway/Controllers/ServicesController.cs index e3fc8b7ca..734287873 100644 --- a/src/Surging.ApiGateway/Controllers/ServicesController.cs +++ b/src/Surging.ApiGateway/Controllers/ServicesController.cs @@ -39,6 +39,7 @@ public ServicesController(IServiceProxyProvider serviceProxyProvider, public async Task> Path([FromServices]IServicePartProvider servicePartProvider, string path, [FromBody]Dictionary model) { string serviceKey = this.Request.Query["servicekey"]; + path = path.IndexOf("/") < 0 ? $"/{path}" : path; if (model == null) { model = new Dictionary(); @@ -48,7 +49,7 @@ public async Task> Path([FromServices]IServicePartProvider model[n] = this.Request.Query[n].ToString(); } ServiceResult result = ServiceResult.Create(false,null); - path = path.ToLower() == GateWayAppConfig.TokenEndpointPath.ToLower() ? + path = String.Compare(path,GateWayAppConfig.TokenEndpointPath,true) ==0 ? GateWayAppConfig.AuthorizationRoutePath : path.ToLower(); if( await GetAllowRequest(path)==false) return new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.RequestError, Message = "Request error" }; if (servicePartProvider.IsPart(path)) @@ -82,7 +83,7 @@ public async Task> Path([FromServices]IServicePartProvider } else { - result = ServiceResult.Create(true, await _serviceProxyProvider.Invoke(model, path)); + result = ServiceResult.Create(true, await _serviceProxyProvider.Invoke(model, path)); result.StatusCode = (int)ServiceStatusCode.Success; } } @@ -99,7 +100,7 @@ private async Task GetAllowRequest(string path) private bool OnAuthorization(string path, Dictionary model, ref ServiceResult result) { bool isSuccess = true; - var route = _serviceRouteProvider.GetRouteByPath(path).Result; + var route = _serviceRouteProvider.GetRouteByPath(path).GetAwaiter().GetResult(); if (route.ServiceDescriptor.EnableAuthorization()) { if(route.ServiceDescriptor.AuthType()== AuthorizationType.JWT.ToString()) diff --git a/src/Surging.ApiGateway/Program.cs b/src/Surging.ApiGateway/Program.cs index 134669977..b0f8eb85c 100644 --- a/src/Surging.ApiGateway/Program.cs +++ b/src/Surging.ApiGateway/Program.cs @@ -25,16 +25,7 @@ public static void Main(string[] args) { var host = new WebHostBuilder() .UseUrls("http://*:729") - .UseKestrel(options => - { - options.Limits.MaxRequestBodySize = null; - options.Limits.MaxConcurrentConnections =100; - options.Limits.MaxConcurrentUpgradedConnections = 100; - options.Limits.MinRequestBodyDataRate = - new MinDataRate(bytesPerSecond: 100, gracePeriod: TimeSpan.FromSeconds(10)); - options.Limits.MinResponseDataRate = - new MinDataRate(bytesPerSecond: 100, gracePeriod: TimeSpan.FromSeconds(10)); - }) + .UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory()) .UseIISIntegration() .UseStartup() diff --git a/src/Surging.ApiGateway/Startup.cs b/src/Surging.ApiGateway/Startup.cs index 5bef0a625..0ad34f9d2 100644 --- a/src/Surging.ApiGateway/Startup.cs +++ b/src/Surging.ApiGateway/Startup.cs @@ -72,7 +72,7 @@ private IServiceProvider RegisterAutofac(IServiceCollection services) option.AddClientIntercepted(typeof(CacheProviderInterceptor)); //option.UseZooKeeperManager(new ConfigInfo("127.0.0.1:2181")); if(registerConfig.Provider== RegisterProvider.Consul) - option.UseConsulManager(new ConfigInfo(registerConfig.Address,enableChildrenMonitor:true)); + option.UseConsulManager(new ConfigInfo(registerConfig.Address,enableChildrenMonitor:false)); else if(registerConfig.Provider == RegisterProvider.Zookeeper) option.UseZooKeeperManager(new ZookeeperConfigInfo(registerConfig.Address, enableChildrenMonitor: true)); option.UseDotNettyTransport(); diff --git a/src/Surging.Core/Surging.Core.ApiGateWay/Surging.Core.ApiGateWay.csproj b/src/Surging.Core/Surging.Core.ApiGateWay/Surging.Core.ApiGateWay.csproj index 4f5f21e10..3652c6110 100644 --- a/src/Surging.Core/Surging.Core.ApiGateWay/Surging.Core.ApiGateWay.csproj +++ b/src/Surging.Core/Surging.Core.ApiGateWay/Surging.Core.ApiGateWay.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - 0.6.6 + 1.0.0.0 fanly surging Micro Service Framework @@ -11,17 +11,9 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 1.Fix does not support multiple interceptors -2.Fix NLog file path configuration (Download Surging.Core.Nlog V0.6.6) -3.Optimize zookeeper connection(Download Surging.Core.Zookeeper V0.6.6) -4. Consul,zookeeper add reloadOnChange configuration(Download Surging.Core.Zookeeper or -Surging.Core.Consul V0.6.6) -5.Fix Service Router heartbeat registration failed(Download Surging.Core.Zookeeper or -Surging.Core.Consul V0.6.6) -6.add Exception Filter(Download Surging.Core.Zookeeper 0.6.6) -7.Upgrade netty version to repair transmission of big data(Download Surging.Core.DotNetty 0.6.6) - 0.6.6.0 - 0.6.6.0 + 1.Fix bug + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.CPlatform/Address/AddressModel.cs b/src/Surging.Core/Surging.Core.CPlatform/Address/AddressModel.cs index d140f5c4f..ce5591a8b 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Address/AddressModel.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Address/AddressModel.cs @@ -1,4 +1,5 @@ -using System; +using Newtonsoft.Json; +using System; using System.Net; namespace Surging.Core.CPlatform.Address @@ -13,7 +14,8 @@ public abstract class AddressModel /// /// public abstract EndPoint CreateEndPoint(); - + + [JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)] public decimal ProcessorTime { get; set; } /// /// 重写后的标识。 diff --git a/src/Surging.Core/Surging.Core.CPlatform/Address/IpAddressModel.cs b/src/Surging.Core/Surging.Core.CPlatform/Address/IpAddressModel.cs index a4d2144c1..0d9fc3641 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Address/IpAddressModel.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Address/IpAddressModel.cs @@ -1,3 +1,4 @@ +using Newtonsoft.Json; using System; using System.Net; using System.Text; @@ -43,6 +44,18 @@ public IpAddressModel(string ip, int port) /// public int Port { get; set; } + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public string WanIp { get; set; } + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public int? WsPort { get; set; } + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public int? MqttPort { get; set; } + + [JsonProperty(NullValueHandling = NullValueHandling.Ignore)] + public int? HttpPort { get; set; } + #endregion Property #region Overrides of AddressModel diff --git a/src/Surging.Core/Surging.Core.CPlatform/CommunicationProtocol.cs b/src/Surging.Core/Surging.Core.CPlatform/CommunicationProtocol.cs index 8403135b5..49edff25f 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/CommunicationProtocol.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/CommunicationProtocol.cs @@ -9,6 +9,7 @@ public enum CommunicationProtocol None, Tcp, Http, - WS + WS, + Mqtt } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationExtensions.cs b/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationExtensions.cs index 35b53ba8a..0442b6abd 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationExtensions.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationExtensions.cs @@ -12,20 +12,25 @@ public static class CacheConfigurationExtensionsstatic { public static IConfigurationBuilder AddCPlatformFile(this IConfigurationBuilder builder, string path) { - return AddCPlatformFile(builder, provider: null, path: path, optional: false, reloadOnChange: false); + return AddCPlatformFile(builder, provider: null, path: path,basePath: null, optional: false, reloadOnChange: false); } public static IConfigurationBuilder AddCPlatformFile(this IConfigurationBuilder builder, string path, bool optional) { - return AddCPlatformFile(builder, provider: null, path: path, optional: optional, reloadOnChange: false); + return AddCPlatformFile(builder, provider: null, path: path,basePath: null, optional: optional, reloadOnChange: false); } public static IConfigurationBuilder AddCPlatformFile(this IConfigurationBuilder builder, string path, bool optional, bool reloadOnChange) { - return AddCPlatformFile(builder, provider: null, path: path, optional: optional, reloadOnChange: reloadOnChange); + return AddCPlatformFile(builder, provider: null, path: path, basePath:null, optional: optional, reloadOnChange: reloadOnChange); } - public static IConfigurationBuilder AddCPlatformFile(this IConfigurationBuilder builder, IFileProvider provider, string path, bool optional, bool reloadOnChange) + public static IConfigurationBuilder AddCPlatformFile(this IConfigurationBuilder builder, string path, string basePath, bool optional, bool reloadOnChange) + { + return AddCPlatformFile(builder, provider: null, path: path, basePath:basePath, optional: optional, reloadOnChange: reloadOnChange); + } + + public static IConfigurationBuilder AddCPlatformFile(this IConfigurationBuilder builder, IFileProvider provider, string path,string basePath, bool optional, bool reloadOnChange) { Check.NotNull(builder, "builder"); Check.CheckCondition(() => string.IsNullOrEmpty(path), "path"); @@ -36,7 +41,7 @@ public static IConfigurationBuilder AddCPlatformFile(this IConfigurationBuilder { provider = new PhysicalFileProvider(Path.GetDirectoryName(path)); path = Path.GetFileName(path); - } + } var source = new CPlatformConfigurationSource { FileProvider = provider, @@ -44,7 +49,10 @@ public static IConfigurationBuilder AddCPlatformFile(this IConfigurationBuilder Optional = optional, ReloadOnChange = reloadOnChange }; + builder.Add(source); + if (!string.IsNullOrEmpty(basePath)) + builder.SetBasePath(basePath); AppConfig.Configuration = builder.Build(); AppConfig.ServerOptions = AppConfig.Configuration.Get(); var section = AppConfig.Configuration.GetSection("Surging"); diff --git a/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationProvider.cs b/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationProvider.cs index e805a6817..a45528373 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationProvider.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationProvider.cs @@ -1,13 +1,10 @@ using Microsoft.Extensions.Configuration; using Surging.Core.CPlatform.Configurations.Remote; -using System; -using System.Collections.Generic; using System.IO; -using System.Text; namespace Surging.Core.CPlatform.Configurations { - public class CPlatformConfigurationProvider : FileConfigurationProvider + public class CPlatformConfigurationProvider : FileConfigurationProvider { public CPlatformConfigurationProvider(CPlatformConfigurationSource source) : base(source) { } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationSource.cs b/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationSource.cs index 0983f6238..4a6413edc 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationSource.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationSource.cs @@ -1,7 +1,4 @@ using Microsoft.Extensions.Configuration; -using System; -using System.Collections.Generic; -using System.Text; namespace Surging.Core.CPlatform.Configurations { diff --git a/src/Surging.Core/Surging.Core.CPlatform/Configurations/IConfigurationWatchManager.cs b/src/Surging.Core/Surging.Core.CPlatform/Configurations/IConfigurationWatchManager.cs index 32dc9e494..74c99ffcd 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Configurations/IConfigurationWatchManager.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Configurations/IConfigurationWatchManager.cs @@ -1,7 +1,4 @@ using Surging.Core.CPlatform.Configurations.Watch; -using System; -using System.Collections.Generic; -using System.Text; namespace Surging.Core.CPlatform.Configurations { diff --git a/src/Surging.Core/Surging.Core.CPlatform/Configurations/ModulePackage.cs b/src/Surging.Core/Surging.Core.CPlatform/Configurations/ModulePackage.cs index b139fe6f9..13b2414f9 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Configurations/ModulePackage.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Configurations/ModulePackage.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Surging.Core.CPlatform.Configurations +namespace Surging.Core.CPlatform.Configurations { public class ModulePackage { diff --git a/src/Surging.Core/Surging.Core.CPlatform/Configurations/ProtocolPortOptions.cs b/src/Surging.Core/Surging.Core.CPlatform/Configurations/ProtocolPortOptions.cs index db1a5b3de..ade12ab73 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Configurations/ProtocolPortOptions.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Configurations/ProtocolPortOptions.cs @@ -1,15 +1,11 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Surging.Core.CPlatform.Configurations +namespace Surging.Core.CPlatform.Configurations { - public class ProtocolPortOptions + public class ProtocolPortOptions { - public int MQTTPort { get; set; } = 97; - - public int HttpPort { get; set; } = 80; + public int MQTTPort { get; set; } + + public int HttpPort { get; set; } - public int WSPort { get; set; } = 96; + public int WSPort { get; set; } } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Configurations/SurgingServerOptions.cs b/src/Surging.Core/Surging.Core.CPlatform/Configurations/SurgingServerOptions.cs index 379d5f448..0c3383564 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Configurations/SurgingServerOptions.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Configurations/SurgingServerOptions.cs @@ -1,8 +1,6 @@ using Surging.Core.CPlatform.Support; -using System; using System.Collections.Generic; using System.Net; -using System.Text; namespace Surging.Core.CPlatform.Configurations { @@ -14,8 +12,16 @@ public partial class SurgingServerOptions: ServiceCommand public int MappingPort { get; set; } + public string WanIp { get; set; } + public double WatchInterval { get; set; } = 20d; + public bool Libuv { get; set; } = false; + + public int SoBacklog { get; set; } = 8192; + + public bool EnableRouteWatch { get; set; } + public IPEndPoint IpEndpoint { get; set; } public List Packages { get; set; } = new List(); diff --git a/src/Surging.Core/Surging.Core.CPlatform/Configurations/Watch/ConfigurationWatchManager.cs b/src/Surging.Core/Surging.Core.CPlatform/Configurations/Watch/ConfigurationWatchManager.cs index 4d6ffbad0..7ca0fd478 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Configurations/Watch/ConfigurationWatchManager.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Configurations/Watch/ConfigurationWatchManager.cs @@ -1,4 +1,5 @@ -using System; +using Microsoft.Extensions.Logging; +using System; using System.Collections.Generic; using System.Text; using System.Threading; @@ -11,9 +12,11 @@ public class ConfigurationWatchManager: IConfigurationWatchManager internal HashSet dataWatches = new HashSet(); private readonly Timer _timer; + private readonly ILogger _logger; - public ConfigurationWatchManager() + public ConfigurationWatchManager(ILogger logger) { + _logger = logger; var timeSpan = TimeSpan.FromSeconds(AppConfig.ServerOptions.WatchInterval); _timer = new Timer(async s => { @@ -46,7 +49,15 @@ private async Task Watching() { foreach (var watch in dataWatches) { - await watch.Process(); + try + { + await watch.Process(); + } + catch(Exception ex) + { + if (_logger.IsEnabled(LogLevel.Error)) + _logger.LogError($"message:{ex.Message},Source:{ex.Source},Trace:{ex.StackTrace}"); + } } } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/ContainerBuilderExtensions.cs b/src/Surging.Core/Surging.Core.CPlatform/ContainerBuilderExtensions.cs index 8fdfe4e96..3804f41cc 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/ContainerBuilderExtensions.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/ContainerBuilderExtensions.cs @@ -17,6 +17,7 @@ using Surging.Core.CPlatform.Ids.Implementation; using Surging.Core.CPlatform.Ioc; using Surging.Core.CPlatform.Module; +using Surging.Core.CPlatform.Mqtt; using Surging.Core.CPlatform.Routing; using Surging.Core.CPlatform.Routing.Implementation; using Surging.Core.CPlatform.Runtime.Client; @@ -86,6 +87,7 @@ public static class ContainerBuilderExtensions { private static List _referenceAssembly = new List(); private static List _modules = new List(); + /// /// 添加Json序列化支持。 /// @@ -173,6 +175,18 @@ public static IServiceBuilder UseRouteManager(this IServiceBuilder builder, ISer return builder; } + /// + /// 设置mqtt服务路由管理者。 + /// + /// mqtt服务构建者。 + /// mqtt服务路由管理者实例工厂。 + /// 服务构建者。 + public static IServiceBuilder UseMqttRouteManager(this IServiceBuilder builder, Func factory) + { + builder.Services.RegisterAdapter(factory).InstancePerLifetimeScope(); + return builder; + } + #endregion RouteManager /// @@ -427,6 +441,7 @@ public static IServiceBuilder AddCoreService(this ContainerBuilder services) services.RegisterType(typeof(ServiceTokenGenerator)).As(typeof(IServiceTokenGenerator)).SingleInstance(); services.RegisterType(typeof(HashAlgorithm)).As(typeof(IHashAlgorithm)).SingleInstance(); services.RegisterType(typeof(ServiceEngineLifetime)).As(typeof(IServiceEngineLifetime)).SingleInstance(); + services.RegisterType(typeof(DefaultServiceHeartbeatManager)).As(typeof(IServiceHeartbeatManager)).SingleInstance(); return new ServiceBuilder(services) .AddJsonSerialization() .UseJsonCodec(); @@ -472,7 +487,7 @@ public static IServiceBuilder RegisterServices(this IServiceBuilder builder, par try { var services = builder.Services; - var referenceAssemblies = GetReferenceAssembly(virtualPaths); + var referenceAssemblies = GetAssemblies(virtualPaths); foreach (var assembly in referenceAssemblies) { services.RegisterAssemblyTypes(assembly) @@ -513,7 +528,7 @@ public static IServiceBuilder RegisterServiceBus (this IServiceBuilder builder, params string[] virtualPaths) { var services = builder.Services; - var referenceAssemblies = GetReferenceAssembly(virtualPaths); + var referenceAssemblies = GetAssemblies(virtualPaths); foreach (var assembly in referenceAssemblies) { @@ -534,7 +549,7 @@ public static IServiceBuilder RegisterRepositories (this IServiceBuilder builder, params string[] virtualPaths) { var services = builder.Services; - var referenceAssemblies = GetReferenceAssembly(virtualPaths); + var referenceAssemblies = GetAssemblies(virtualPaths); foreach (var assembly in referenceAssemblies) { @@ -548,19 +563,7 @@ public static IServiceBuilder RegisterModules( this IServiceBuilder builder, params string[] virtualPaths) { var services = builder.Services; - List referenceAssemblies = new List(); - if (virtualPaths.Any()) - { - referenceAssemblies = GetReferenceAssembly(virtualPaths); - } - else - { - string[] assemblyNames = DependencyContext - .Default.GetDefaultAssemblyNames().Select(p => p.Name).ToArray(); - assemblyNames = GetFilterAssemblies(assemblyNames); - foreach (var name in assemblyNames) - referenceAssemblies.Add(Assembly.Load(name)); - } + var referenceAssemblies = GetAssemblies(virtualPaths); if (builder == null) throw new ArgumentNullException("builder"); var packages = ConvertDictionary(AppConfig.ServerOptions.Packages); foreach (var moduleAssembly in referenceAssemblies) @@ -599,17 +602,22 @@ public static List GetInterfaceService(this IServiceBuilder builder) public static IEnumerable GetDataContractName(this IServiceBuilder builder) { var namespaces = new List(); - var referenceAssemblies = builder.GetInterfaceService(); - referenceAssemblies.ForEach(p => + var assemblies = builder.GetInterfaceService() + .Select(p => p.Assembly) + .Union(GetSystemModules()) + .Distinct() + .ToList(); + + assemblies.ForEach(assembly => { - namespaces.AddRange(p.Assembly.GetTypes().Where(t => t.GetCustomAttribute() != null).Select(n => n.Namespace)); + namespaces.AddRange(assembly.GetTypes().Where(t => t.GetCustomAttribute() != null).Select(n => n.Namespace)); }); - return namespaces.Distinct(); + return namespaces; } private static IDictionary ConvertDictionary(List list) { - var result = new Dictionary(); + var result = new Dictionary(); list.ForEach(p => { result.Add(p.TypeName, p.Using); @@ -632,7 +640,7 @@ private static List GetReferenceAssembly(params string[] virtualPaths) paths.ForEach(path => { var assemblyFiles = GetAllAssemblyFiles(path); - + foreach (var referencedAssemblyFile in assemblyFiles) { var referencedAssembly = Assembly.LoadFrom(referencedAssemblyFile); @@ -640,12 +648,46 @@ private static List GetReferenceAssembly(params string[] virtualPaths) _referenceAssembly.Add(referencedAssembly); refAssemblies.Add(referencedAssembly); } - result = existsPath ? refAssemblies: _referenceAssembly; + result = existsPath ? refAssemblies : _referenceAssembly; }); } return result; } - + + private static List GetSystemModules() + { + var assemblies = new List(); + var referenceAssemblies = GetReferenceAssembly(); + foreach (var referenceAssembly in referenceAssemblies) + { + var abstractModules = GetAbstractModules(referenceAssembly); + if (abstractModules.Any(p => p.GetType().IsSubclassOf(typeof(SystemModule)))) + { + assemblies.Add(referenceAssembly); + } + } + return assemblies; + } + + private static List GetAssemblies(params string[] virtualPaths) + { + var referenceAssemblies = new List(); + if (virtualPaths.Any()) + { + referenceAssemblies = GetReferenceAssembly(virtualPaths); + } + else + { + string[] assemblyNames = DependencyContext + .Default.GetDefaultAssemblyNames().Select(p => p.Name).ToArray(); + assemblyNames = GetFilterAssemblies(assemblyNames); + foreach (var name in assemblyNames) + referenceAssemblies.Add(Assembly.Load(name)); + _referenceAssembly.AddRange(referenceAssemblies.Except(_referenceAssembly)); + } + return referenceAssemblies; + } + private static List GetAbstractModules(Assembly assembly) { var abstractModules = new List(); @@ -660,9 +702,9 @@ private static List GetAbstractModules(Assembly assembly) return abstractModules; } - private static string[] GetFilterAssemblies(string[] assemblyNames) + private static string[] GetFilterAssemblies(string[] assemblyNames) { - var notRelatedFile = AppConfig.ServerOptions.NotRelatedAssemblyFiles; + var notRelatedFile = AppConfig.ServerOptions.NotRelatedAssemblyFiles; var relatedFile = AppConfig.ServerOptions.RelatedAssemblyFiles; var pattern = string.Format("^Microsoft.\\w*|^System.\\w*|^DotNetty.\\w*|^runtime.\\w*|^ZooKeeperNetEx\\w*|^StackExchange.Redis\\w*|^Consul\\w*|^Newtonsoft.Json.\\w*|^Autofac.\\w*{0}", string.IsNullOrEmpty(notRelatedFile) ? "" : $"|{notRelatedFile}"); @@ -679,7 +721,7 @@ private static string[] GetFilterAssemblies(string[] assemblyNames) return assemblyNames.Where( name => !notRelatedRegex.IsMatch(name)).ToArray(); - } +} } private static List GetAllAssemblyFiles(string parentDir) @@ -700,7 +742,7 @@ private static List GetAllAssemblyFiles(string parentDir) { return Directory.GetFiles(parentDir, "*.dll").Select(Path.GetFullPath).Where( - a => !notRelatedRegex.IsMatch(a)).ToList(); + a => !notRelatedRegex.IsMatch(Path.GetFileName(a))).ToList(); } } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/EventBus/ISubscriptionAdapt.cs b/src/Surging.Core/Surging.Core.CPlatform/EventBus/ISubscriptionAdapt.cs index c01896cd6..f7adefd76 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/EventBus/ISubscriptionAdapt.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/EventBus/ISubscriptionAdapt.cs @@ -7,5 +7,7 @@ namespace Surging.Core.CPlatform.EventBus public interface ISubscriptionAdapt { void SubscribeAt(); + + void Unsubscribe(); } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/EventBus/Implementation/IEventBus.cs b/src/Surging.Core/Surging.Core.CPlatform/EventBus/Implementation/IEventBus.cs index b182df949..005fd765d 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/EventBus/Implementation/IEventBus.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/EventBus/Implementation/IEventBus.cs @@ -13,5 +13,7 @@ void Unsubscribe() where TH : IIntegrationEventHandler; void Publish(IntegrationEvent @event); + + event EventHandler OnShutdown; } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/EventBus/InMemoryEventBusSubscriptionsManager.cs b/src/Surging.Core/Surging.Core.CPlatform/EventBus/InMemoryEventBusSubscriptionsManager.cs index 83266580f..fdb930561 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/EventBus/InMemoryEventBusSubscriptionsManager.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/EventBus/InMemoryEventBusSubscriptionsManager.cs @@ -74,7 +74,7 @@ private void RaiseOnEventRemoved(string eventName,string consumerName) var handler = OnEventRemoved; if (handler != null) { - OnEventRemoved(this,new ValueTuple(consumerName, eventName)); + handler(this,new ValueTuple(consumerName, eventName)); } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/HashAlgorithms/ConsistentHash.cs b/src/Surging.Core/Surging.Core.CPlatform/HashAlgorithms/ConsistentHash.cs index 5576384df..ea8574321 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/HashAlgorithms/ConsistentHash.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/HashAlgorithms/ConsistentHash.cs @@ -45,23 +45,7 @@ public int VirtualNodeReplicationFactor get { return _virtualNodeReplicationFactor; } } #endregion - - /// - /// 初始化节点服务器 - /// - /// 节点 - /// - /// 创建:范亮 - /// 日期:2016/4/2 - /// - public void Initialize(IEnumerable nodes) - { - foreach (var node in nodes) - { - AddNode(node); - } - _nodeKeysInRing = _ring.Keys.ToArray(); - } + /// /// 添加节点 @@ -71,9 +55,9 @@ public void Initialize(IEnumerable nodes) /// 创建:范亮 /// 日期:2016/4/2 /// - public void Add(T node) + public void Add(T node,string value) { - AddNode(node); + AddNode(node,value); _nodeKeysInRing = _ring.Keys.ToArray(); } @@ -85,7 +69,7 @@ public void Add(T node) /// 创建:范亮 /// 日期:2016/4/2 /// - public void Remove(T node) + public void Remove(string node) { RemoveNode(node); _nodeKeysInRing = _ring.Keys.ToArray(); @@ -115,11 +99,11 @@ public T GetItemNode(string item) /// 创建:范亮 /// 日期:2016/4/2 /// - private void AddNode(T node) + private void AddNode(T node,string value) { for (var i = 0; i < _virtualNodeReplicationFactor; i++) { - var hashOfVirtualNode = _hashAlgorithm.Hash(node.GetHashCode().ToString(CultureInfo.InvariantCulture) + i); + var hashOfVirtualNode = _hashAlgorithm.Hash(value.ToString(CultureInfo.InvariantCulture) + i); _ring[hashOfVirtualNode] = node; } } @@ -132,11 +116,11 @@ private void AddNode(T node) /// 创建:范亮 /// 日期:2016/4/2 /// - private void RemoveNode(T node) + private void RemoveNode(string value) { for (var i = 0; i < _virtualNodeReplicationFactor; i++) { - var hashOfVirtualNode = _hashAlgorithm.Hash(node.GetHashCode().ToString() + i); + var hashOfVirtualNode = _hashAlgorithm.Hash(value.ToString() + i); _ring.Remove(hashOfVirtualNode); } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Logging/ConsoleLogger.cs b/src/Surging.Core/Surging.Core.CPlatform/Logging/ConsoleLogger.cs deleted file mode 100644 index 2e2c8a124..000000000 --- a/src/Surging.Core/Surging.Core.CPlatform/Logging/ConsoleLogger.cs +++ /dev/null @@ -1,75 +0,0 @@ -/*using System; - -namespace Surging.Core.CPlatform.Logging -{ - public class ConsoleLogger : ConsoleLogger, ILogger - { - } - - public class ConsoleLogger : ILogger - { - #region Implementation of ILogger - - /// - /// 判断日志记录器是否开启。 - /// - /// 日志等级。 - /// 如果开启返回true,否则返回false。 - public bool IsEnabled(LogLevel level) - { - return (int)level > 2; - } - - /// - /// 记录日志。 - /// - /// 日志等级。 - /// 消息。 - /// 异常。 - /// 任务。 - public void Log(LogLevel level, string message, Exception exception = null) - { - Console.ResetColor(); - var color = Console.ForegroundColor; - - switch (level) - { - case LogLevel.Trace: - color = ConsoleColor.DarkGray; - break; - - case LogLevel.Debug: - color = ConsoleColor.Gray; - break; - - case LogLevel.Information: - color = ConsoleColor.DarkBlue; - break; - - case LogLevel.Warning: - color = ConsoleColor.Yellow; - break; - - case LogLevel.Error: - color = ConsoleColor.DarkRed; - break; - - case LogLevel.Fatal: - color = ConsoleColor.Red; - break; - } - - Console.ForegroundColor = color; - - Console.WriteLine($"level:{level}"); - Console.WriteLine($"message:{message}"); - if (exception != null) - Console.WriteLine($"exception:{exception}"); - Console.WriteLine("========================================"); - - Console.ResetColor(); - } - - #endregion Implementation of ILogger - } -}*/ \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.CPlatform/Logging/ILogger.cs b/src/Surging.Core/Surging.Core.CPlatform/Logging/ILogger.cs deleted file mode 100644 index 285fb38b0..000000000 --- a/src/Surging.Core/Surging.Core.CPlatform/Logging/ILogger.cs +++ /dev/null @@ -1,142 +0,0 @@ -/*using System; - -namespace Surging.Core.CPlatform.Logging -{ - /// - /// 日志等级。 - /// - public enum LogLevel - { - /// - /// 追踪。 - /// - Trace = 0, - - /// - /// 调试。 - /// - Debug = 1, - - /// - /// 信息。 - /// - Information = 2, - - /// - /// 警告。 - /// - Warning = 3, - - /// - /// 错误。 - /// - Error = 4, - - /// - /// 致命错误。 - /// - Fatal = 5 - } - - /// - /// 一个抽象的日志记录器。 - /// - /// 日志记录器类型。 - public interface ILogger : ILogger - { - } - - /// - /// 一个抽象的日志记录器。 - /// - public interface ILogger - { - /// - /// 判断日志记录器是否开启。 - /// - /// 日志等级。 - /// 如果开启返回true,否则返回false。 - bool IsEnabled(LogLevel level); - - /// - /// 记录日志。 - /// - /// 日志等级。 - /// 消息。 - /// 异常。 - /// 任务。 - void Log(LogLevel level, string message, Exception exception = null); - } - - /// - /// 日志记录器扩展。 - /// - public static class LoggerExtensions - { - /// - /// 追踪。 - /// - /// 日志记录器。 - /// 消息。 - /// 异常信息。 - public static void Trace(this ILogger logger, string message, Exception exception = null) - { - logger.Log(LogLevel.Trace, message, exception); - } - - /// - /// 调试。 - /// - /// 日志记录器。 - /// 消息。 - /// 异常信息。 - public static void Debug(this ILogger logger, string message, Exception exception = null) - { - logger.Log(LogLevel.Debug, message, exception); - } - - /// - /// 信息。 - /// - /// 日志记录器。 - /// 消息。 - /// 异常信息。 - public static void Information(this ILogger logger, string message, Exception exception = null) - { - logger.Log(LogLevel.Information, message, exception); - } - - /// - /// 警告。 - /// - /// 日志记录器。 - /// 消息。 - /// 异常信息。 - public static void Warning(this ILogger logger, string message, Exception exception = null) - { - logger.Log(LogLevel.Warning, message, exception); - } - - /// - /// 错误。 - /// - /// 日志记录器。 - /// 消息。 - /// 异常信息。 - public static void Error(this ILogger logger, string message, Exception exception = null) - { - logger.Log(LogLevel.Error, message, exception); - } - - /// - /// 失败。 - /// - /// 日志记录器。 - /// 消息。 - /// 异常信息。 - public static void Fatal(this ILogger logger, string message, Exception exception = null) - { - logger.Log(LogLevel.Fatal, message, exception); - } - } -}*/ \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.CPlatform/Module/EchoService.cs b/src/Surging.Core/Surging.Core.CPlatform/Module/EchoService.cs index 134fcf0da..c819b8484 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Module/EchoService.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Module/EchoService.cs @@ -2,6 +2,7 @@ using Surging.Core.CPlatform.HashAlgorithms; using Surging.Core.CPlatform.Ioc; using Surging.Core.CPlatform.Routing; +using Surging.Core.CPlatform.Runtime.Client; using Surging.Core.CPlatform.Runtime.Client.Address.Resolvers.Implementation.Selectors; using Surging.Core.CPlatform.Runtime.Client.Address.Resolvers.Implementation.Selectors.Implementation; using System.Threading.Tasks; @@ -13,14 +14,19 @@ public class EchoService : ServiceBase, IEchoService private readonly IHashAlgorithm _hashAlgorithm; private readonly IAddressSelector _addressSelector; private readonly IServiceRouteProvider _serviceRouteProvider; - public EchoService(IHashAlgorithm hashAlgorithm, IServiceRouteProvider serviceRouteProvider, CPlatformContainer container) + private readonly IServiceHeartbeatManager _serviceHeartbeatManager; + + public EchoService(IHashAlgorithm hashAlgorithm, IServiceRouteProvider serviceRouteProvider, + CPlatformContainer container, IServiceHeartbeatManager serviceHeartbeatManager) { _hashAlgorithm = hashAlgorithm; _addressSelector =container.GetInstances(AddressSelectorMode.HashAlgorithm.ToString()); _serviceRouteProvider = serviceRouteProvider; + + _serviceHeartbeatManager = serviceHeartbeatManager; } - public async Task Locate(string routePath,string key) + public async Task Locate(string key,string routePath) { var route= await _serviceRouteProvider.SearchRoute(routePath); AddressModel result = new IpAddressModel(); @@ -30,10 +36,12 @@ public async Task Locate(string routePath,string key) { Address = route.Address, Descriptor = route.ServiceDescriptor, - HashCode = _hashAlgorithm.Hash(key) + Item = key, }); - } - return result.ToString(); + _serviceHeartbeatManager.AddWhitelist(route.ServiceDescriptor.Id); + } + var ipAddress = result as IpAddressModel; + return ipAddress; } } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Module/IEchoService.cs b/src/Surging.Core/Surging.Core.CPlatform/Module/IEchoService.cs index 48008d7a4..175b0d258 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Module/IEchoService.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Module/IEchoService.cs @@ -1,5 +1,8 @@ -using Surging.Core.CPlatform.Ioc; +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Ioc; +using Surging.Core.CPlatform.Runtime.Client.Address.Resolvers.Implementation.Selectors.Implementation; using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes; +using Surging.Core.CPlatform.Support.Attributes; using System.Threading.Tasks; namespace Surging.Core.CPlatform.Module @@ -7,6 +10,7 @@ namespace Surging.Core.CPlatform.Module [ServiceBundle("")] public interface IEchoService: IServiceKey { - Task Locate(string routePath, string key); + [Command(ShuntStrategy = AddressSelectorMode.HashAlgorithm)] + Task Locate(string key,string routePath); } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceFactory.cs b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceFactory.cs new file mode 100644 index 000000000..2249cd0dc --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceFactory.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.CPlatform.Mqtt +{ + public interface IMqttServiceFactory + { + + /// + /// 根据Mqtt服务路由描述符创建Mqtt服务路由。 + /// + /// Mqtt服务路由描述符。 + /// Mqtt服务路由集合。 + Task> CreateMqttServiceRoutesAsync(IEnumerable descriptors); + } +} diff --git a/src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceRouteManager.cs b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceRouteManager.cs new file mode 100644 index 000000000..27325cf6e --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceRouteManager.cs @@ -0,0 +1,37 @@ +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Mqtt.Implementation; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.CPlatform.Mqtt +{ + public interface IMqttServiceRouteManager + { + event EventHandler Created; + + event EventHandler Removed; + + event EventHandler Changed; + + Task> GetRoutesAsync(); + + /// + /// 设置服务路由。 + /// + /// 服务路由集合。 + /// 一个任务。 + Task SetRoutesAsync(IEnumerable routes); + + Task RemoveByTopicAsync(string topic, IEnumerable endpoint); + + + Task RemveAddressAsync(IEnumerable addresses); + /// + /// 清空所有的服务路由。 + /// + /// 一个任务。 + Task ClearAsync(); + } +} diff --git a/src/Surging.Core/Surging.Core.CPlatform/Mqtt/Implementation/MqttServiceRouteManagerBase.cs b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/Implementation/MqttServiceRouteManagerBase.cs new file mode 100644 index 000000000..ab25bf068 --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/Implementation/MqttServiceRouteManagerBase.cs @@ -0,0 +1,114 @@ +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Serialization; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.CPlatform.Mqtt.Implementation +{ + public class MqttServiceRouteEventArgs + { + public MqttServiceRouteEventArgs(MqttServiceRoute route) + { + Route = route; + } + + public MqttServiceRoute Route { get; private set; } + } + + public class MqttServiceRouteChangedEventArgs : MqttServiceRouteEventArgs + { + public MqttServiceRouteChangedEventArgs(MqttServiceRoute route, MqttServiceRoute oldRoute) : base(route) + { + OldRoute = oldRoute; + } + + public MqttServiceRoute OldRoute { get; set; } + } + + public abstract class MqttServiceRouteManagerBase : IMqttServiceRouteManager + { + private readonly ISerializer _serializer; + private EventHandler _created; + private EventHandler _removed; + private EventHandler _changed; + + protected MqttServiceRouteManagerBase(ISerializer serializer) + { + _serializer = serializer; + } + + public event EventHandler Created + { + add { _created += value; } + remove { _created -= value; } + } + + public event EventHandler Removed + { + add { _removed += value; } + remove { _removed -= value; } + } + + public event EventHandler Changed + { + add { _changed += value; } + remove { _changed -= value; } + } + + public abstract Task ClearAsync(); + public abstract Task> GetRoutesAsync(); + + public abstract Task RemveAddressAsync(IEnumerable addresses); + + public abstract Task RemoveByTopicAsync(string topic, IEnumerable endpoint); + + + public virtual Task SetRoutesAsync(IEnumerable routes) + { + if (routes == null) + throw new ArgumentNullException(nameof(routes)); + + var descriptors = routes.Where(route => route != null).Select(route => new MqttServiceDescriptor + { + AddressDescriptors = route.MqttEndpoint?.Select(address => new MqttEndpointDescriptor + { + Type = address.GetType().FullName, + Value = _serializer.Serialize(address) + }) ?? Enumerable.Empty(), + MqttDescriptor = route.MqttDescriptor + }); + return SetRoutesAsync(descriptors); + } + protected abstract Task SetRoutesAsync(IEnumerable descriptors); + + protected void OnCreated(params MqttServiceRouteEventArgs[] args) + { + if (_created == null) + return; + + foreach (var arg in args) + _created(this, arg); + } + + protected void OnChanged(params MqttServiceRouteChangedEventArgs[] args) + { + if (_changed == null) + return; + + foreach (var arg in args) + _changed(this, arg); + } + + protected void OnRemoved(params MqttServiceRouteEventArgs[] args) + { + if (_removed == null) + return; + + foreach (var arg in args) + _removed(this, arg); + } + } +} diff --git a/src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttDescriptor.cs b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttDescriptor.cs new file mode 100644 index 000000000..48693b634 --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttDescriptor.cs @@ -0,0 +1,105 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Surging.Core.CPlatform.Mqtt +{ + /// + /// 服务描述符扩展方法。 + /// + public static class MqttDescriptorExtensions + { + + } + + /// + /// 服务描述符。 + /// + [Serializable] + public class MqttDescriptor + { + /// + /// 初始化一个新的服务描述符。 + /// + public MqttDescriptor() + { + Metadatas = new Dictionary(StringComparer.OrdinalIgnoreCase); + } + + /// + /// Topic。 + /// + public string Topic { get; set; } + /// + /// 元数据。 + /// + public IDictionary Metadatas { get; set; } + + /// + /// 获取一个元数据。 + /// + /// 元数据类型。 + /// 元数据名称。 + /// 如果指定名称的元数据不存在则返回这个参数。 + /// 元数据值。 + public T GetMetadata(string name, T def = default(T)) + { + if (!Metadatas.ContainsKey(name)) + return def; + + return (T)Metadatas[name]; + } + + #region Equality members + + /// Determines whether the specified object is equal to the current object. + /// true if the specified object is equal to the current object; otherwise, false. + /// The object to compare with the current object. + public override bool Equals(object obj) + { + var model = obj as MqttDescriptor; + if (model == null) + return false; + + if (obj.GetType() != GetType()) + return false; + + if (model.Topic != Topic) + return false; + + return model.Metadatas.Count == Metadatas.Count && model.Metadatas.All(metadata => + { + object value; + if (!Metadatas.TryGetValue(metadata.Key, out value)) + return false; + + if (metadata.Value == null && value == null) + return true; + if (metadata.Value == null || value == null) + return false; + + return metadata.Value.Equals(value); + }); + } + + /// Serves as the default hash function. + /// A hash code for the current object. + public override int GetHashCode() + { + return ToString().GetHashCode(); + } + + public static bool operator ==(MqttDescriptor model1, MqttDescriptor model2) + { + return Equals(model1, model2); + } + + public static bool operator !=(MqttDescriptor model1, MqttDescriptor model2) + { + return !Equals(model1, model2); + } + + #endregion Equality members + } +} diff --git a/src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceDescriptor.cs b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceDescriptor.cs new file mode 100644 index 000000000..aac8c3063 --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceDescriptor.cs @@ -0,0 +1,55 @@ +using Newtonsoft.Json; +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Serialization; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.CPlatform.Mqtt +{ + /// + /// Mqtt地址描述符。 + /// + public class MqttEndpointDescriptor + { + /// + /// 地址类型。 + /// + [JsonIgnore] + public string Type { get; set; } + + /// + /// 地址值。 + /// + public string Value { get; set; } + + /// + /// 创建一个描述符。 + /// + /// 地址模型类型。 + /// 地址模型实例。 + /// 序列化器。 + /// Mqtt地址描述符。 + public static MqttEndpointDescriptor CreateDescriptor(T address, ISerializer serializer) where T : AddressModel, new() + { + return new MqttEndpointDescriptor + { + Type = typeof(T).FullName, + Value = serializer.Serialize(address) + }; + } + } + + public class MqttServiceDescriptor + { + /// + /// Mqtt地址描述符集合。 + /// + public IEnumerable AddressDescriptors { get; set; } + + /// + /// Mqtt描述符。 + /// + public MqttDescriptor MqttDescriptor { get; set; } + } +} diff --git a/src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceRoute.cs b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceRoute.cs new file mode 100644 index 000000000..49e56e6fc --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceRoute.cs @@ -0,0 +1,59 @@ +using Surging.Core.CPlatform.Address; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Surging.Core.CPlatform.Mqtt +{ + public class MqttServiceRoute + { + /// + /// Mqtt服务可用地址。 + /// + public IEnumerable MqttEndpoint { get; set; } + /// + /// Mqtt服务描述符。 + /// + public MqttDescriptor MqttDescriptor { get; set; } + + #region Equality members + + /// Determines whether the specified object is equal to the current object. + /// true if the specified object is equal to the current object; otherwise, false. + /// The object to compare with the current object. + public override bool Equals(object obj) + { + var model = obj as MqttServiceRoute; + if (model == null) + return false; + + if (obj.GetType() != GetType()) + return false; + + if (model.MqttDescriptor != MqttDescriptor) + return false; + + return model.MqttEndpoint.Count() == MqttEndpoint.Count() && model.MqttEndpoint.All(addressModel => MqttEndpoint.Contains(addressModel)); + } + + /// Serves as the default hash function. + /// A hash code for the current object. + public override int GetHashCode() + { + return ToString().GetHashCode(); + } + + public static bool operator ==(MqttServiceRoute model1, MqttServiceRoute model2) + { + return Equals(model1, model2); + } + + public static bool operator != (MqttServiceRoute model1, MqttServiceRoute model2) + { + return !Equals(model1, model2); + } + + #endregion Equality members + } +} diff --git a/src/Surging.Core/Surging.Core.CPlatform/Routing/Implementation/DefaultServiceRouteProvider.cs b/src/Surging.Core/Surging.Core.CPlatform/Routing/Implementation/DefaultServiceRouteProvider.cs index a5f558b96..27bad5f20 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Routing/Implementation/DefaultServiceRouteProvider.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Routing/Implementation/DefaultServiceRouteProvider.cs @@ -90,7 +90,7 @@ private void ServiceRouteManager_Add(object sender, ServiceRouteEventArgs e) private async Task SearchRouteAsync(string path) { var routes = await _serviceRouteManager.GetRoutesAsync(); - var route = routes.FirstOrDefault(i => i.ServiceDescriptor.RoutePath.Contains(path)); + var route = routes.FirstOrDefault(i => i.ServiceDescriptor.RoutePath.ToLower()== path.ToLower()); if (route == null) { if (_logger.IsEnabled(LogLevel.Warning)) diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/IAddressResolver.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/IAddressResolver.cs index f4b93911c..57045a465 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/IAddressResolver.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/IAddressResolver.cs @@ -13,6 +13,6 @@ public interface IAddressResolver /// /// 服务Id。 /// 服务地址模型。 - ValueTask Resolver(string serviceId, int hashCode); + ValueTask Resolver(string serviceId, string item); } } \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/DefaultAddressResolver.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/DefaultAddressResolver.cs index b991700d8..713160989 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/DefaultAddressResolver.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/DefaultAddressResolver.cs @@ -15,7 +15,7 @@ namespace Surging.Core.CPlatform.Runtime.Client.Address.Resolvers.Implementation { /// - /// 一个人默认的服务地址解析器。 + /// 默认的服务地址解析器。 /// public class DefaultAddressResolver : IAddressResolver { @@ -30,11 +30,14 @@ public class DefaultAddressResolver : IAddressResolver private readonly IServiceCommandProvider _commandProvider; private readonly ConcurrentDictionary _concurrent = new ConcurrentDictionary(); + private readonly IServiceHeartbeatManager _serviceHeartbeatManager; #endregion Field #region Constructor - public DefaultAddressResolver(IServiceCommandProvider commandProvider, IServiceRouteManager serviceRouteManager, ILogger logger, CPlatformContainer container, IHealthCheckService healthCheckService) + public DefaultAddressResolver(IServiceCommandProvider commandProvider, IServiceRouteManager serviceRouteManager, ILogger logger, CPlatformContainer container, + IHealthCheckService healthCheckService, + IServiceHeartbeatManager serviceHeartbeatManager) { _container = container; _serviceRouteManager = serviceRouteManager; @@ -42,6 +45,7 @@ public DefaultAddressResolver(IServiceCommandProvider commandProvider, IServiceR LoadAddressSelectors(); _commandProvider = commandProvider; _healthCheckService = healthCheckService; + _serviceHeartbeatManager = serviceHeartbeatManager; serviceRouteManager.Changed += ServiceRouteManager_Removed; serviceRouteManager.Removed += ServiceRouteManager_Removed; serviceRouteManager.Created += ServiceRouteManager_Add; @@ -56,7 +60,7 @@ public DefaultAddressResolver(IServiceCommandProvider commandProvider, IServiceR /// /// 服务Id。 /// 服务地址模型。 - public async ValueTask Resolver(string serviceId, int hashCode) + public async ValueTask Resolver(string serviceId, string item) { if (_logger.IsEnabled(LogLevel.Debug)) _logger.LogDebug($"准备为服务id:{serviceId},解析可用地址。"); @@ -69,6 +73,7 @@ public async ValueTask Resolver(string serviceId, int hashCode) if (descriptor != null) { _concurrent.GetOrAdd(serviceId, descriptor); + _serviceHeartbeatManager.AddWhitelist(serviceId); } else { @@ -102,11 +107,12 @@ public async ValueTask Resolver(string serviceId, int hashCode) _logger.LogInformation($"根据服务id:{serviceId},找到以下可用地址:{string.Join(",", address.Select(i => i.ToString()))}。"); var command = await _commandProvider.GetCommand(serviceId); var addressSelector = _addressSelectors[command.ShuntStrategy.ToString()]; + return await addressSelector.SelectAsync(new AddressSelectContext { Descriptor = descriptor.ServiceDescriptor, Address = address, - HashCode = hashCode + Item = item }); } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/IAddressSelector.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/IAddressSelector.cs index 3aab76598..b0479e86f 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/IAddressSelector.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/IAddressSelector.cs @@ -15,9 +15,9 @@ public class AddressSelectContext public ServiceDescriptor Descriptor { get; set; } /// - /// 参数的哈希值 + /// 哈希参数 /// - public int HashCode { get; set; } + public string Item { get; set; } /// /// 服务可用地址。 /// diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/FairPollingAdrSelector.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/FairPollingAdrSelector.cs index 31bf8d53a..a920d4852 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/FairPollingAdrSelector.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/FairPollingAdrSelector.cs @@ -44,9 +44,17 @@ protected override async Task SelectAsync(AddressSelectContext con //根据服务id缓存服务地址。 var addressEntry = _concurrent.GetOrAdd(key, k => new Lazy(() => new AddressEntry(context.Address))).Value; AddressModel addressModel; + var index = 0; + var len = context.Address.Count(); do { addressModel = addressEntry.GetAddress(); + if (len <= index) + { + addressModel = null; + break; + } + index++; } while (await _healthCheckService.IsHealth(addressModel) == false); return addressModel; } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/HashAlgorithmAdrSelector.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/HashAlgorithmAdrSelector.cs index 65143c885..f9155648c 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/HashAlgorithmAdrSelector.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/HashAlgorithmAdrSelector.cs @@ -1,7 +1,9 @@ using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.HashAlgorithms; using Surging.Core.CPlatform.Routing; using Surging.Core.CPlatform.Routing.Implementation; using Surging.Core.CPlatform.Runtime.Client.HealthChecks; +using Surging.Core.CPlatform.Runtime.Client.HealthChecks.Implementation; using System; using System.Collections.Concurrent; using System.Collections.Generic; @@ -14,8 +16,19 @@ namespace Surging.Core.CPlatform.Runtime.Client.Address.Resolvers.Implementation { public class HashAlgorithmAdrSelector : AddressSelectorBase { - public HashAlgorithmAdrSelector() - { + private readonly IHealthCheckService _healthCheckService; + private readonly ConcurrentDictionary> _concurrent = + new ConcurrentDictionary>(); + private readonly List> _unHealths = + new List>(); + private readonly IHashAlgorithm _hashAlgorithm; + public HashAlgorithmAdrSelector(IServiceRouteManager serviceRouteManager, IHealthCheckService healthCheckService, IHashAlgorithm hashAlgorithm) + { + _healthCheckService = healthCheckService; + _hashAlgorithm = hashAlgorithm; + //路由发生变更时重建地址条目。 + serviceRouteManager.Changed += ServiceRouteManager_Removed; + serviceRouteManager.Removed += ServiceRouteManager_Removed; } #region Overrides of AddressSelectorBase @@ -24,12 +37,76 @@ public HashAlgorithmAdrSelector() /// /// 地址选择上下文。 /// 地址模型。 - protected override Task SelectAsync(AddressSelectContext context) + protected override async Task SelectAsync(AddressSelectContext context) { - var address = context.Address.ToArray(); - var index = context.HashCode%address.Length; - return Task.FromResult(address[index]); + var key = GetCacheKey(context.Descriptor); + var addressEntry = _concurrent.GetOrAdd(key, k => + { + var len = context.Address.Count(); + len = len > 1 && len < 10 ? len * 10 : len; + var hash = new ConsistentHash(_hashAlgorithm, len); + foreach (var address in context.Address) + { + hash.Add(address,address.ToString()); + } + return hash; + }); + AddressModel addressModel; + var IsHealth = false; + var index = 0; + var count = context.Address.Count(); + do + { + addressModel = addressEntry.GetItemNode(context.Item); + if (count <= index) + { + addressModel = null; + break; + } + index++; + IsHealth = await _healthCheckService.IsHealth(addressModel); + if(!IsHealth) + { + addressEntry.Remove(addressModel.ToString()); + _unHealths.Add(new ValueTuple(key,addressModel)); + _healthCheckService.Changed += ItemNode_Changed; + } + } while (!IsHealth); + return addressModel; } #endregion Overrides of AddressSelectorBase + + #region Private Method + + private void ItemNode_Changed(object sender, HealthCheckEventArgs e) + { + var list= _unHealths.Where(p=>p.Item2.ToString()==e.Address.ToString()).ToList(); + foreach (var item in list) + { + if (item.Item1 != null && e.Health) + { + var addressEntry = _concurrent.GetValueOrDefault(item.Item1); + addressEntry.Add(item.Item2, item.Item2.ToString()); + _unHealths.Remove(item); + } + } + if(_unHealths.Count==0) + _healthCheckService.Changed -= ItemNode_Changed; + } + + private static string GetCacheKey(ServiceDescriptor descriptor) + { + return descriptor.Id; + } + + private void ServiceRouteManager_Removed(object sender, ServiceRouteEventArgs e) + { + var key = GetCacheKey(e.Route.ServiceDescriptor); + var item = _unHealths.Where(p => e.Route.Address.Select(addr=> addr.ToString()).Contains(p.Item2.ToString())).ToList(); + item.ForEach(p => _unHealths.Remove(p)); + _concurrent.TryRemove(key, out ConsistentHash value); + } + + #endregion } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/PollingAddressSelector.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/PollingAddressSelector.cs index 6efcd4a0f..ce13ad2a8 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/PollingAddressSelector.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/PollingAddressSelector.cs @@ -42,9 +42,18 @@ protected override async Task SelectAsync(AddressSelectContext con //根据服务id缓存服务地址。 var addressEntry = _concurrent.GetOrAdd(key, k => new Lazy(() => new AddressEntry(context.Address))).Value; AddressModel addressModel; + var index = 0; + var len = context.Address.Count(); do { + addressModel = addressEntry.GetAddress(); + if (len <= index) + { + addressModel = null; + break; + } + index++; } while (await _healthCheckService.IsHealth(addressModel) == false); return addressModel; } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/IHealthCheckService.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/IHealthCheckService.cs index 40ee7970c..32577d4a1 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/IHealthCheckService.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/IHealthCheckService.cs @@ -1,4 +1,6 @@ using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Runtime.Client.HealthChecks.Implementation; +using System; using System.Threading.Tasks; namespace Surging.Core.CPlatform.Runtime.Client.HealthChecks @@ -29,5 +31,9 @@ public interface IHealthCheckService /// 地址模型。 /// 一个任务。 Task MarkFailure(AddressModel address); + + event EventHandler Removed; + + event EventHandler Changed; } } \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/DefaultHealthCheckService.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/DefaultHealthCheckService.cs index 8bbe668f3..518cf798d 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/DefaultHealthCheckService.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/DefaultHealthCheckService.cs @@ -18,6 +18,21 @@ public class DefaultHealthCheckService : IHealthCheckService, IDisposable private readonly IServiceRouteManager _serviceRouteManager; private readonly int _timeout = 30000; private readonly Timer _timer; + private EventHandler _removed; + + private EventHandler _changed; + + public event EventHandler Removed + { + add { _removed += value; } + remove { _removed -= value; } + } + + public event EventHandler Changed + { + add { _changed += value; } + remove { _changed -= value; } + } public DefaultHealthCheckService(IServiceRouteManager serviceRouteManager) { @@ -75,11 +90,13 @@ public void Monitor(AddressModel address) /// /// 地址模型。 /// 健康返回true,否则返回false。 - public ValueTask IsHealth(AddressModel address) + public async ValueTask IsHealth(AddressModel address) { var ipAddress = address as IpAddressModel; MonitorEntry entry; - return !_dictionary.TryGetValue(new ValueTuple(ipAddress.Ip, ipAddress.Port), out entry) ? new ValueTask(Check(address, _timeout)) : new ValueTask(entry.Health); + var isHealth= !_dictionary.TryGetValue(new ValueTuple(ipAddress.Ip, ipAddress.Port), out entry) ? await Check(address, _timeout) :entry.Health; + OnChanged(new HealthCheckEventArgs(address,isHealth)); + return isHealth; } /// @@ -97,6 +114,24 @@ public Task MarkFailure(AddressModel address) }); } + protected void OnRemoved(params HealthCheckEventArgs[] args) + { + if (_removed == null) + return; + + foreach (var arg in args) + _removed(this, arg); + } + + protected void OnChanged(params HealthCheckEventArgs[] args) + { + if (_changed == null) + return; + + foreach (var arg in args) + _changed(this, arg); + } + #endregion Implementation of IHealthCheckService #region Implementation of IDisposable @@ -135,7 +170,7 @@ private void RemoveUnhealthyAddress(IEnumerable monitorEntry) var ipAddress = p as IpAddressModel; _dictionary.TryRemove(new ValueTuple(ipAddress.Ip, ipAddress.Port), out MonitorEntry value); }); - + OnRemoved(addresses.Select(p => new HealthCheckEventArgs(p)).ToArray()); } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/HealthCheckEventArgs.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/HealthCheckEventArgs.cs new file mode 100644 index 000000000..6d5b553a7 --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/HealthCheckEventArgs.cs @@ -0,0 +1,25 @@ +using Surging.Core.CPlatform.Address; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.CPlatform.Runtime.Client.HealthChecks.Implementation +{ + public class HealthCheckEventArgs + { + public HealthCheckEventArgs(AddressModel address) + { + Address = address; + } + + public HealthCheckEventArgs(AddressModel address,bool health) + { + Address = address; + Health = health; + } + + public AddressModel Address { get; private set; } + + public bool Health { get; private set; } + } +} diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/IServiceHeartbeatManager.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/IServiceHeartbeatManager.cs new file mode 100644 index 000000000..1f9bd741f --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/IServiceHeartbeatManager.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.CPlatform.Runtime.Client +{ + public interface IServiceHeartbeatManager + { + void AddWhitelist(string serviceId); + + bool ExistsWhitelist(string serviceId); + } +} diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/DefaultServiceHeartbeatManager.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/DefaultServiceHeartbeatManager.cs new file mode 100644 index 000000000..7a5e5a251 --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/DefaultServiceHeartbeatManager.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Concurrent; +using System.Linq; + +namespace Surging.Core.CPlatform.Runtime.Client.Implementation +{ + public class DefaultServiceHeartbeatManager : IServiceHeartbeatManager + { + private readonly ConcurrentBag _whitelist = new ConcurrentBag(); + + public void AddWhitelist(string serviceId) + { + if(!_whitelist.Contains(serviceId)) + _whitelist.Add(serviceId); + } + + public bool ExistsWhitelist(string serviceId) + { + return _whitelist.Contains(serviceId); + } + } +} diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/RemoteInvokeService.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/RemoteInvokeService.cs index f1d5fc9b4..f6ede5130 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/RemoteInvokeService.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/RemoteInvokeService.cs @@ -38,7 +38,7 @@ public async Task InvokeAsync(RemoteInvokeContext con public async Task InvokeAsync(RemoteInvokeContext context, CancellationToken cancellationToken) { var invokeMessage = context.InvokeMessage; - var address = await ResolverAddress(context,context.HashCode); + var address = await ResolverAddress(context,context.Item); try { var endPoint = address.CreateEndPoint(); @@ -62,7 +62,7 @@ public async Task InvokeAsync(RemoteInvokeContext con public async Task InvokeAsync(RemoteInvokeContext context, int requestTimeout) { var invokeMessage = context.InvokeMessage; - var address = await ResolverAddress(context,context.HashCode); + var address = await ResolverAddress(context,context.Item); try { var endPoint = address.CreateEndPoint(); @@ -78,12 +78,12 @@ public async Task InvokeAsync(RemoteInvokeContext con } catch (Exception exception) { - _logger.LogError(exception, $"发起请求中发生了错误,服务Id:{invokeMessage.ServiceId}。"); + _logger.LogError(exception, $"发起请求中发生了错误,服务Id:{invokeMessage.ServiceId}。错误信息:{exception.Message}"); throw; } } - private async ValueTask ResolverAddress(RemoteInvokeContext context,int hashCode) + private async ValueTask ResolverAddress(RemoteInvokeContext context,string item) { if (context == null) throw new ArgumentNullException(nameof(context)); @@ -94,7 +94,7 @@ private async ValueTask ResolverAddress(RemoteInvokeContext contex if (string.IsNullOrEmpty(context.InvokeMessage.ServiceId)) throw new ArgumentException("服务Id不能为空。", nameof(context.InvokeMessage.ServiceId)); var invokeMessage = context.InvokeMessage; - var address = await _addressResolver.Resolver(invokeMessage.ServiceId, hashCode); + var address = await _addressResolver.Resolver(invokeMessage.ServiceId, item); if (address == null) throw new CPlatformException($"无法解析服务Id:{invokeMessage.ServiceId}的地址信息。"); return address; diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/RemoteInvokeContext.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/RemoteInvokeContext.cs index 2a7cab8ee..4384f417d 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/RemoteInvokeContext.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/RemoteInvokeContext.cs @@ -12,6 +12,6 @@ public class RemoteInvokeContext /// public RemoteInvokeMessage InvokeMessage { get; set; } - public int HashCode { get; set; } + public string Item { get; set; } } } \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/DefaultServiceExecutor.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/DefaultServiceExecutor.cs index fbbca97bb..2b15ea054 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/DefaultServiceExecutor.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/DefaultServiceExecutor.cs @@ -3,6 +3,7 @@ using Surging.Core.CPlatform.Filters; using Surging.Core.CPlatform.Messages; using Surging.Core.CPlatform.Routing; +using Surging.Core.CPlatform.Runtime.Client; using Surging.Core.CPlatform.Transport; using Surging.Core.CPlatform.Transport.Implementation; using Surging.Core.CPlatform.Utilities; @@ -53,7 +54,7 @@ public async Task ExecuteAsync(IMessageSender sender, TransportMessage message) if (!message.IsInvokeMessage()) return; - + RemoteInvokeMessage remoteInvokeMessage; try { @@ -79,7 +80,6 @@ public async Task ExecuteAsync(IMessageSender sender, TransportMessage message) foreach(var attachment in remoteInvokeMessage.Attachments) RpcContext.GetContext().SetAttachment(attachment.Key,attachment.Value); } - if (_logger.IsEnabled(LogLevel.Debug)) _logger.LogDebug("准备执行本地逻辑。"); @@ -115,7 +115,6 @@ private async Task LocalExecuteAsync(ServiceEntry entry, RemoteInvokeMessage rem { try { - var cancelTokenSource = new CancellationTokenSource(); var result = await entry.Func(remoteInvokeMessage.ServiceKey, remoteInvokeMessage.Parameters); var task = result as Task; diff --git a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Implementation/ClrServiceEntryFactory.cs b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Implementation/ClrServiceEntryFactory.cs index 3a21c607d..0208d48b0 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Implementation/ClrServiceEntryFactory.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Implementation/ClrServiceEntryFactory.cs @@ -45,10 +45,10 @@ public ClrServiceEntryFactory(CPlatformContainer serviceProvider, IServiceIdGene /// Ŀϡ public IEnumerable CreateServiceEntry(Type service) { - var routeTemplate = service.GetCustomAttribute() ; + var routeTemplate = service.GetCustomAttribute(); foreach (var methodInfo in service.GetTypeInfo().GetMethods()) { - yield return Create(methodInfo,service.Name, routeTemplate.RouteTemplate); + yield return Create(methodInfo, service.Name, routeTemplate.RouteTemplate); } } #endregion Implementation of IClrServiceEntryFactory @@ -64,17 +64,16 @@ private ServiceEntry Create(MethodInfo method, string serviceName, string routeT Id = serviceId, RoutePath = RoutePatternParser.Parse(routeTemplate, serviceName, method.Name) }; - var descriptorAttributes = method.GetCustomAttributes(); foreach (var descriptorAttribute in descriptorAttributes) { descriptorAttribute.Apply(serviceDescriptor); } var authorization = attributes.Where(p => p is AuthorizationFilterAttribute).FirstOrDefault(); - if(authorization != null) - serviceDescriptor.EnableAuthorization(true); if (authorization != null) - { + serviceDescriptor.EnableAuthorization(true); + if (authorization != null) + { serviceDescriptor.AuthType(((authorization as AuthorizationAttribute)?.AuthType) ?? AuthorizationType.AppSecret); } @@ -82,9 +81,9 @@ private ServiceEntry Create(MethodInfo method, string serviceName, string routeT return new ServiceEntry { Descriptor = serviceDescriptor, - RoutePath= serviceDescriptor.RoutePath, - MethodName=method.Name, - Type= method.DeclaringType, + RoutePath = serviceDescriptor.RoutePath, + MethodName = method.Name, + Type = method.DeclaringType, Attributes = attributes, Func = (key, parameters) => { @@ -109,7 +108,7 @@ private ServiceEntry Create(MethodInfo method, string serviceName, string routeT } }; } - + private FastInvokeHandler GetHandler(string key, MethodInfo method) { var objInstance = ServiceResolver.Current.GetService(null, key); diff --git a/src/Surging.Core/Surging.Core.CPlatform/ServiceDescriptor.cs b/src/Surging.Core/Surging.Core.CPlatform/ServiceDescriptor.cs index 3c20cd16f..680e20c5e 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/ServiceDescriptor.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/ServiceDescriptor.cs @@ -1,4 +1,5 @@ -using Surging.Core.CPlatform.Filters.Implementation; +using Newtonsoft.Json; +using Surging.Core.CPlatform.Filters.Implementation; using System; using System.Collections.Generic; using System.Linq; @@ -111,6 +112,7 @@ public static string AuthType(this ServiceDescriptor descriptor) { return descriptor.GetMetadata("AuthType", AuthorizationType.AppSecret.ToString()); } + /// /// 设置授权类型 @@ -196,9 +198,10 @@ public ServiceDescriptor() /// public string RoutePath { get; set; } + /// /// 元数据。 - /// + /// public IDictionary Metadatas { get; set; } /// diff --git a/src/Surging.Core/Surging.Core.CPlatform/ServiceHostBuilderExtensions.cs b/src/Surging.Core/Surging.Core.CPlatform/ServiceHostBuilderExtensions.cs index 51e0ff4f5..7eeeee308 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/ServiceHostBuilderExtensions.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/ServiceHostBuilderExtensions.cs @@ -33,35 +33,13 @@ public static IServiceHostBuilder UseServer(this IServiceHostBuilder hostBuilder BuildServiceEngine(mapper); mapper.Resolve().SetServiceCommandsAsync(); string serviceToken = mapper.Resolve().GeneratorToken(token); - int _port = AppConfig.ServerOptions.Port == 0 ? port : AppConfig.ServerOptions.Port; - string _ip = AppConfig.ServerOptions.Ip ?? ip; - _port = AppConfig.ServerOptions.IpEndpoint?.Port ?? _port; - _ip = AppConfig.ServerOptions.IpEndpoint?.Address.ToString() ?? _ip; - if (_ip.IndexOf(".") < 0 || _ip == "" || _ip == "0.0.0.0") - { - NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); - foreach (NetworkInterface adapter in nics) - { - if (adapter.NetworkInterfaceType == NetworkInterfaceType.Ethernet && (_ip == "" || _ip == "0.0.0.0" || _ip == adapter.Name)) - { - IPInterfaceProperties ipxx = adapter.GetIPProperties(); - UnicastIPAddressInformationCollection ipCollection = ipxx.UnicastAddresses; - foreach (UnicastIPAddressInformation ipadd in ipCollection) - { - if (ipadd.Address.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork) - { - _ip = ipadd.Address.ToString(); - } - } - } - } - } - var mappingIp = AppConfig.ServerOptions.MappingIP ?? _ip; - var mappingPort = AppConfig.ServerOptions.MappingPort; - if (mappingPort == 0) - mappingPort = _port; + int _port = AppConfig.ServerOptions.Port= AppConfig.ServerOptions.Port == 0 ? port : AppConfig.ServerOptions.Port; + string _ip = AppConfig.ServerOptions.Ip = AppConfig.ServerOptions.Ip ?? ip; + _port = AppConfig.ServerOptions.Port = AppConfig.ServerOptions.IpEndpoint?.Port ?? _port; + _ip = AppConfig.ServerOptions.Ip =AppConfig.ServerOptions.IpEndpoint?.Address.ToString() ?? _ip; + _ip = NetUtils.GetHostAddress(_ip); - ConfigureRoute(mapper, mappingIp, mappingPort, serviceToken); + ConfigureRoute(mapper, serviceToken); mapper.Resolve().Initialize(); var serviceHosts = mapper.Resolve>(); Task.Factory.StartNew(async () => @@ -117,31 +95,37 @@ public static void BuildServiceEngine(IContainer container) } } - public static void ConfigureRoute(IContainer mapper,string mappingIp,int mappingPort,string serviceToken) + public static void ConfigureRoute(IContainer mapper,string serviceToken) { - var serviceEntryManager = mapper.Resolve(); if (AppConfig.ServerOptions.Protocol == CommunicationProtocol.Tcp || AppConfig.ServerOptions.Protocol == CommunicationProtocol.None) - new ServiceRouteWatch(mapper.Resolve(), () => + { + if (AppConfig.ServerOptions.EnableRouteWatch) + new ServiceRouteWatch(mapper.Resolve(), + () => RegisterRoutes(mapper, serviceToken, + Math.Round(Convert.ToDecimal(Process.GetCurrentProcess().TotalProcessorTime.TotalSeconds), 2, MidpointRounding.AwayFromZero))); + else + RegisterRoutes(mapper, serviceToken,0); + } + } + + public static void RegisterRoutes(IContainer mapper, string serviceToken,decimal processorTime) + { + var serviceEntryManager = mapper.Resolve(); + var ports = AppConfig.ServerOptions.Ports; + var addess = NetUtils.GetHostAddress(); + addess.ProcessorTime = processorTime; + RpcContext.GetContext().SetAttachment("Host", addess); + var addressDescriptors = serviceEntryManager.GetEntries().Select(i => + { + i.Descriptor.Token = serviceToken; + return new ServiceRoute { - var addess = new IpAddressModel - { - Ip = mappingIp, - Port = mappingPort, - ProcessorTime = Math.Round(Convert.ToDecimal(Process.GetCurrentProcess().TotalProcessorTime.TotalSeconds), 2, MidpointRounding.AwayFromZero), - }; - RpcContext.GetContext().SetAttachment("Host", addess); - var addressDescriptors = serviceEntryManager.GetEntries().Select(i => - { - i.Descriptor.Token = serviceToken; - return new ServiceRoute - { - Address = new[] { addess }, - ServiceDescriptor = i.Descriptor - }; - }).ToList(); - mapper.Resolve().SetRoutesAsync(addressDescriptors).Wait(); - }); + Address = new[] { addess }, + ServiceDescriptor = i.Descriptor + }; + }).ToList(); + mapper.Resolve().SetRoutesAsync(addressDescriptors).Wait(); } } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Support/IBreakeRemoteInvokeService.cs b/src/Surging.Core/Surging.Core.CPlatform/Support/IBreakeRemoteInvokeService.cs index 22883d07c..5dfc059e3 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Support/IBreakeRemoteInvokeService.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Support/IBreakeRemoteInvokeService.cs @@ -1,7 +1,5 @@ using Surging.Core.CPlatform.Messages; -using System; using System.Collections.Generic; -using System.Text; using System.Threading.Tasks; namespace Surging.Core.CPlatform.Support diff --git a/src/Surging.Core/Surging.Core.CPlatform/Support/IClusterInvoker.cs b/src/Surging.Core/Surging.Core.CPlatform/Support/IClusterInvoker.cs index 55774d068..421528473 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Support/IClusterInvoker.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Support/IClusterInvoker.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; +using System.Collections.Generic; using System.Threading.Tasks; namespace Surging.Core.CPlatform.Support diff --git a/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/BreakeRemoteInvokeService.cs b/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/BreakeRemoteInvokeService.cs index 3539b6e84..f1cc05019 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/BreakeRemoteInvokeService.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/BreakeRemoteInvokeService.cs @@ -49,7 +49,7 @@ bool reachRequestVolumeThreshold() => intervalSeconds <= 10 && serviceInvokeInfos.SinceFaultRemoteServiceRequests > command.BreakerRequestVolumeThreshold; bool reachErrorThresholdPercentage() => (double)serviceInvokeInfos.FaultRemoteServiceRequests / (double)(serviceInvokeInfos.RemoteServiceRequests ?? 1) * 100 > command.BreakeErrorThresholdPercentage; - var hashCode = GetHashCode(command,parameters); + var item = GetHashItem(command,parameters); if (command.BreakerForceClosed) { _serviceInvokeListenInfo.AddOrUpdate(serviceId, new ServiceInvokeListenInfo(), (k, v) => { v.LocalServiceRequests++; return v; }); @@ -61,7 +61,7 @@ bool reachErrorThresholdPercentage() => { if (intervalSeconds * 1000 > command.BreakeSleepWindowInMilliseconds) { - return await MonitorRemoteInvokeAsync(parameters, serviceId, serviceKey, decodeJOject, command.ExecutionTimeoutInMilliseconds, hashCode); + return await MonitorRemoteInvokeAsync(parameters, serviceId, serviceKey, decodeJOject, command.ExecutionTimeoutInMilliseconds, item); } else { @@ -71,14 +71,13 @@ bool reachErrorThresholdPercentage() => } else { - return await MonitorRemoteInvokeAsync(parameters, serviceId, serviceKey, decodeJOject, command.ExecutionTimeoutInMilliseconds, hashCode); + return await MonitorRemoteInvokeAsync(parameters, serviceId, serviceKey, decodeJOject, command.ExecutionTimeoutInMilliseconds, item); } } } - private async Task MonitorRemoteInvokeAsync(IDictionary parameters, string serviceId, string serviceKey, bool decodeJOject, int requestTimeout,int hashCode) + private async Task MonitorRemoteInvokeAsync(IDictionary parameters, string serviceId, string serviceKey, bool decodeJOject, int requestTimeout,string item) { - var serviceInvokeInfo = _serviceInvokeListenInfo.GetOrAdd(serviceId, new ServiceInvokeListenInfo()); CancellationTokenSource source = new CancellationTokenSource(); var token = source.Token; var invokeMessage = new RemoteInvokeMessage @@ -100,7 +99,7 @@ private async Task MonitorRemoteInvokeAsync(IDictiona }); var message = await _remoteInvokeService.InvokeAsync(new RemoteInvokeContext { - HashCode=hashCode , + Item=item , InvokeMessage = invokeMessage }, requestTimeout); _serviceInvokeListenInfo.AddOrUpdate(serviceId, new ServiceInvokeListenInfo(), (k, v) => @@ -126,23 +125,23 @@ private async Task MonitorRemoteInvokeAsync(IDictiona private async Task ExecuteExceptionFilter(Exception ex, RemoteInvokeMessage invokeMessage, CancellationToken token) { - foreach (var filter in exceptionFilters) + foreach (var filter in exceptionFilters) + { + await filter.ExecuteExceptionFilterAsync(new RpcActionExecutedContext { - await filter.ExecuteExceptionFilterAsync(new RpcActionExecutedContext - { - Exception = ex, - InvokeMessage = invokeMessage - }, token); - } + Exception = ex, + InvokeMessage = invokeMessage + }, token); + } } - private int GetHashCode(ServiceCommand command, IDictionary parameters) + private string GetHashItem(ServiceCommand command, IDictionary parameters) { - var result = 0; + string result = ""; if(command.ShuntStrategy==AddressSelectorMode.HashAlgorithm) { var parameter = parameters.Values.FirstOrDefault(); - result= _hashAlgorithm.Hash(parameter?.ToString()); + result= parameter?.ToString(); } return result; } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverHandoverInvoker.cs b/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverHandoverInvoker.cs index a8ef3b660..7d094dcc1 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverHandoverInvoker.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverHandoverInvoker.cs @@ -1,14 +1,12 @@ using Surging.Core.CPlatform.Convertibles; using Surging.Core.CPlatform.Messages; using Surging.Core.CPlatform.Runtime.Client; -using System; using System.Collections.Generic; -using System.Text; using System.Threading.Tasks; namespace Surging.Core.CPlatform.Support.Implementation { - public class FailoverHandoverInvoker: IClusterInvoker + public class FailoverHandoverInvoker: IClusterInvoker { #region Field private readonly IRemoteInvokeService _remoteInvokeService; diff --git a/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverInjectionInvoker.cs b/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverInjectionInvoker.cs index 6ac9d56fe..fe81fc1d6 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverInjectionInvoker.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverInjectionInvoker.cs @@ -1,10 +1,9 @@ -using Surging.Core.CPlatform.Runtime.Server; +using Surging.Core.CPlatform.Convertibles; +using Surging.Core.CPlatform.Runtime.Server; using System; using System.Collections.Generic; -using System.Text; -using System.Threading.Tasks; using System.Linq; -using Surging.Core.CPlatform.Convertibles; +using System.Threading.Tasks; namespace Surging.Core.CPlatform.Support.Implementation { diff --git a/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommand.cs b/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommand.cs index 052955467..23a68ed13 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommand.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommand.cs @@ -1,9 +1,6 @@ using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Surging.Core.CPlatform.Runtime.Client.Address.Resolvers.Implementation.Selectors.Implementation; -using System; -using System.Collections.Generic; -using System.Text; namespace Surging.Core.CPlatform.Support { diff --git a/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommandDescriptor.cs b/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommandDescriptor.cs index 45ee809a9..da42ed5cb 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommandDescriptor.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommandDescriptor.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Surging.Core.CPlatform.Support +namespace Surging.Core.CPlatform.Support { public class ServiceCommandDescriptor:ServiceCommand { diff --git a/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceInvokeListenInfo.cs b/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceInvokeListenInfo.cs index 295e165c9..c4a984adc 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceInvokeListenInfo.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Support/ServiceInvokeListenInfo.cs @@ -1,10 +1,8 @@ using System; -using System.Collections.Generic; -using System.Text; namespace Surging.Core.CPlatform.Support { - public class ServiceInvokeListenInfo + public class ServiceInvokeListenInfo { /// diff --git a/src/Surging.Core/Surging.Core.CPlatform/Support/StrategyType.cs b/src/Surging.Core/Surging.Core.CPlatform/Support/StrategyType.cs index 7be6f7d2d..ff9a8f85d 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Support/StrategyType.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Support/StrategyType.cs @@ -1,10 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace Surging.Core.CPlatform.Support +namespace Surging.Core.CPlatform.Support { - public enum StrategyType + public enum StrategyType { Failover=0, Injection=1, diff --git a/src/Surging.Core/Surging.Core.CPlatform/Transport/IMessageListener.cs b/src/Surging.Core/Surging.Core.CPlatform/Transport/IMessageListener.cs index a81727f9c..6f4e146c0 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Transport/IMessageListener.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Transport/IMessageListener.cs @@ -1,5 +1,4 @@ using Surging.Core.CPlatform.Messages; -using System.Net; using System.Threading.Tasks; namespace Surging.Core.CPlatform.Transport diff --git a/src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/RpcContext.cs b/src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/RpcContext.cs index be9a05072..7edb76d26 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/RpcContext.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/RpcContext.cs @@ -1,7 +1,5 @@ using System; using System.Collections.Concurrent; -using System.Collections.Generic; -using System.Text; using System.Threading; namespace Surging.Core.CPlatform.Transport.Implementation diff --git a/src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/TransportClient.cs b/src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/TransportClient.cs index 9bf1b4ae2..2c93a906d 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/TransportClient.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/TransportClient.cs @@ -122,6 +122,7 @@ private async Task RegisterResultCallbackAsync(string //删除回调任务 TaskCompletionSource value; _resultDictionary.TryRemove(id, out value); + value.TrySetCanceled(); } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Utilities/CancellationTokenExtensions.cs b/src/Surging.Core/Surging.Core.CPlatform/Utilities/CancellationTokenExtensions.cs index cfe1ff231..feb179024 100644 --- a/src/Surging.Core/Surging.Core.CPlatform/Utilities/CancellationTokenExtensions.cs +++ b/src/Surging.Core/Surging.Core.CPlatform/Utilities/CancellationTokenExtensions.cs @@ -22,16 +22,23 @@ public static async Task WithCancellation( using (cancellationToken.Register( s => ((TaskCompletionSource)s).TrySetResult(true), tcs)) if (task != await Task.WhenAny(task, tcs.Task)) - throw new OperationCanceledException("请求超时", cancellationToken); + throw new TimeoutException(); return await task; } public static async Task WithCancellation( this Task task, int requestTimeout) { - if (task != await Task.WhenAny(task, Task.Delay(requestTimeout))) - throw new OperationCanceledException("请求超时"); - return await task; + using (var cts = new CancellationTokenSource()) + { + if (task == await Task.WhenAny(task, Task.Delay(requestTimeout, cts.Token))) + { + cts.Cancel(); + return await task; + } + } + + throw new TimeoutException(); } } } diff --git a/src/Surging.Core/Surging.Core.CPlatform/Utilities/NetUtils.cs b/src/Surging.Core/Surging.Core.CPlatform/Utilities/NetUtils.cs new file mode 100644 index 000000000..624479d4b --- /dev/null +++ b/src/Surging.Core/Surging.Core.CPlatform/Utilities/NetUtils.cs @@ -0,0 +1,108 @@ +using Surging.Core.CPlatform.Address; +using System; +using System.Collections.Generic; +using System.Net.NetworkInformation; +using System.Text; + +namespace Surging.Core.CPlatform.Utilities +{ + public class NetUtils + { + public const string LOCALHOST = "127.0.0.1"; + public const string ANYHOST = "0.0.0.0"; + private const int MIN_PORT = 0; + private const int MAX_PORT = 65535; + private const string LOCAL_IP_PATTERN = "127(\\.\\d{1,3}){3}$"; + private const string IP_PATTERN = "\\d{1,3}(\\.\\d{1,3}){3,5}$"; + private static AddressModel _host=null; + + public static bool IsInvalidPort(int port) + { + return port <= MIN_PORT || port > MAX_PORT; + } + + public static bool IsLocalHost(string host) + { + return host != null + && (host.IsMatch(LOCAL_IP_PATTERN) + || host.Equals("localhost", StringComparison.OrdinalIgnoreCase)); + } + + public static bool IsAnyHost(String host) + { + return "0.0.0.0".Equals(host); + } + + private static bool IsValidAddress(string address) + { + return (address != null + && !ANYHOST.Equals(address) + && !LOCALHOST.Equals(address) + && address.IsMatch(IP_PATTERN)); + } + + public static bool IsInvalidLocalHost(String host) + { + return host == null + || host.Length == 0 + || host.Equals("localhost", StringComparison.OrdinalIgnoreCase) + || host.Equals("0.0.0.0") + || (host.IsMatch(LOCAL_IP_PATTERN)); + } + + public static string GetAnyHostAddress() + { + string result = ""; + NetworkInterface[] nics = NetworkInterface.GetAllNetworkInterfaces(); + foreach (NetworkInterface adapter in nics) + { + if (adapter.NetworkInterfaceType == NetworkInterfaceType.Ethernet) + { + IPInterfaceProperties ipxx = adapter.GetIPProperties(); + UnicastIPAddressInformationCollection ipCollection = ipxx.UnicastAddresses; + foreach (UnicastIPAddressInformation ipadd in ipCollection) + { + if (ipadd.Address.AddressFamily == System.Net.Sockets.AddressFamily.InterNetwork) + { + result = ipadd.Address.ToString(); + } + } + } + } + return result; + } + + public static string GetHostAddress(string hostAddress) + { + var result = hostAddress; + if(IsValidAddress(hostAddress) || IsAnyHost(hostAddress)) + { + result = GetAnyHostAddress(); + } + return result; + } + + public static AddressModel GetHostAddress() + { + if (_host != null) + return _host; + var ports = AppConfig.ServerOptions.Ports; + string address = GetHostAddress(AppConfig.ServerOptions.Ip); + int port = AppConfig.ServerOptions.Port; + var mappingIp = AppConfig.ServerOptions.MappingIP ?? address; + var mappingPort = AppConfig.ServerOptions.MappingPort; + if (mappingPort == 0) + mappingPort = port; + _host= new IpAddressModel + { + HttpPort = ports.HttpPort, + Ip = mappingIp, + Port = mappingPort, + MqttPort = ports.MQTTPort, + WanIp = AppConfig.ServerOptions.WanIp, + WsPort = ports.WSPort + }; + return _host; + } + } +} diff --git a/src/Surging.Core/Surging.Core.Caching/AddressResolvers/Implementation/DefaultAddressResolver.cs b/src/Surging.Core/Surging.Core.Caching/AddressResolvers/Implementation/DefaultAddressResolver.cs index bf230eb61..20cfc30fd 100644 --- a/src/Surging.Core/Surging.Core.Caching/AddressResolvers/Implementation/DefaultAddressResolver.cs +++ b/src/Surging.Core/Surging.Core.Caching/AddressResolvers/Implementation/DefaultAddressResolver.cs @@ -92,35 +92,43 @@ private static string GetKey(CacheDescriptor descriptor) private void ServiceCacheManager_Removed(object sender, ServiceCacheEventArgs e) { var key = GetKey(e.Cache.CacheDescriptor); - var redisContext = CacheContainer.GetService(e.Cache.CacheDescriptor.Prefix); - ServiceCache value; - _concurrent.TryRemove(key, out value); - ConsistentHash hash; - redisContext.dicHash.TryGetValue(e.Cache.CacheDescriptor.Type, out hash); - if (hash != null) - foreach (var node in e.Cache.CacheEndpoint) - { - var hashNode = node as ConsistentHashNode; - hash.Remove(hashNode); - hash.Add(hashNode); - } - + if (CacheContainer.IsRegistered(e.Cache.CacheDescriptor.Prefix)) + { + var redisContext = CacheContainer.GetService(e.Cache.CacheDescriptor.Prefix); + ServiceCache value; + _concurrent.TryRemove(key, out value); + ConsistentHash hash; + redisContext.dicHash.TryGetValue(e.Cache.CacheDescriptor.Type, out hash); + if (hash != null) + foreach (var node in e.Cache.CacheEndpoint) + { + + var hashNode = node as ConsistentHashNode; + var addr = string.Format("{0}:{1}", hashNode.Host, hashNode.Port); + hash.Remove(addr); + hash.Add(hashNode, addr); + } + } } private void ServiceCacheManager_Add(object sender, ServiceCacheEventArgs e) { var key = GetKey(e.Cache.CacheDescriptor); - var redisContext = CacheContainer.GetService(e.Cache.CacheDescriptor.Prefix); - _concurrent.GetOrAdd(key, e.Cache); - ConsistentHash hash; - redisContext.dicHash.TryGetValue(e.Cache.CacheDescriptor.Type, out hash); - if (hash != null) - foreach (var node in e.Cache.CacheEndpoint) - { - var hashNode = node as ConsistentHashNode; - hash.Remove(hashNode); - hash.Add(hashNode); - } + if (CacheContainer.IsRegistered(e.Cache.CacheDescriptor.Prefix)) + { + var redisContext = CacheContainer.GetService(e.Cache.CacheDescriptor.Prefix); + _concurrent.GetOrAdd(key, e.Cache); + ConsistentHash hash; + redisContext.dicHash.TryGetValue(e.Cache.CacheDescriptor.Type, out hash); + if (hash != null) + foreach (var node in e.Cache.CacheEndpoint) + { + var hashNode = node as ConsistentHashNode; + var addr = string.Format("{0}:{1}", hashNode.Host, hashNode.Port); + hash.Remove(addr); + hash.Add(hashNode, addr); + } + } } } } diff --git a/src/Surging.Core/Surging.Core.Caching/Configurations/CacheConfigurationExtensions.cs b/src/Surging.Core/Surging.Core.Caching/Configurations/CacheConfigurationExtensions.cs index eab7df3d6..7b5e00531 100644 --- a/src/Surging.Core/Surging.Core.Caching/Configurations/CacheConfigurationExtensions.cs +++ b/src/Surging.Core/Surging.Core.Caching/Configurations/CacheConfigurationExtensions.cs @@ -12,20 +12,25 @@ public static class CacheConfigurationExtensionsstatic { public static IConfigurationBuilder AddCacheFile(this IConfigurationBuilder builder, string path) { - return AddCacheFile(builder, provider: null, path: path, optional: false, reloadOnChange: false); + return AddCacheFile(builder, provider: null, path: path, basePath: null, optional: false, reloadOnChange: false); } public static IConfigurationBuilder AddCacheFile(this IConfigurationBuilder builder, string path, bool optional) { - return AddCacheFile(builder, provider: null, path: path, optional: optional, reloadOnChange: false); + return AddCacheFile(builder, provider: null, path: path, basePath: null, optional: optional, reloadOnChange: false); } public static IConfigurationBuilder AddCacheFile(this IConfigurationBuilder builder, string path, bool optional, bool reloadOnChange) { - return AddCacheFile(builder, provider: null, path: path, optional: optional, reloadOnChange: reloadOnChange); + return AddCacheFile(builder, provider: null, path: path, basePath: null, optional: optional, reloadOnChange: reloadOnChange); } - public static IConfigurationBuilder AddCacheFile(this IConfigurationBuilder builder, IFileProvider provider, string path, bool optional, bool reloadOnChange) + public static IConfigurationBuilder AddCacheFile(this IConfigurationBuilder builder, string path, string basePath, bool optional, bool reloadOnChange) + { + return AddCacheFile(builder, provider: null, path: path, basePath: basePath, optional: optional, reloadOnChange: reloadOnChange); + } + + public static IConfigurationBuilder AddCacheFile(this IConfigurationBuilder builder, IFileProvider provider, string path, string basePath, bool optional, bool reloadOnChange) { Check.NotNull(builder, "builder"); Check.CheckCondition(() => string.IsNullOrEmpty(path), "path"); @@ -43,6 +48,8 @@ public static IConfigurationBuilder AddCacheFile(this IConfigurationBuilder buil ReloadOnChange = reloadOnChange }; builder.Add(source); + if (!string.IsNullOrEmpty(basePath)) + builder.SetBasePath(basePath); AppConfig.Path = path; AppConfig.Configuration = builder.Build(); return builder; diff --git a/src/Surging.Core/Surging.Core.Caching/Configurations/Implementation/ConfigurationWatchProvider.cs b/src/Surging.Core/Surging.Core.Caching/Configurations/Implementation/ConfigurationWatchProvider.cs index 2d4ac3f09..d2ce0224e 100644 --- a/src/Surging.Core/Surging.Core.Caching/Configurations/Implementation/ConfigurationWatchProvider.cs +++ b/src/Surging.Core/Surging.Core.Caching/Configurations/Implementation/ConfigurationWatchProvider.cs @@ -54,23 +54,26 @@ private void SaveConfiguration(ServiceCache cache) { if (this.queue.Count > 0) this.queue.Dequeue(); var setting = _cachingProvider.CachingSettings.Where(p => p.Id == cache.CacheDescriptor.Prefix).FirstOrDefault(); - setting.Properties.ForEach(p => + if (setting != null) { - if (p.Maps != null) - p.Maps.ForEach(m => + setting.Properties.ForEach(p => { - if (m.Name == cache.CacheDescriptor.Type) - m.Properties = cache.CacheEndpoint.Select(n => - { - var hashNode = n as ConsistentHashNode; - return new Property + if (p.Maps != null) + p.Maps.ForEach(m => + { + if (m.Name == cache.CacheDescriptor.Type) + m.Properties = cache.CacheEndpoint.Select(n => { - Value = $"{hashNode.Host}:{hashNode.Port}::{hashNode.Db}" - }; - }).ToList(); + var hashNode = n as ConsistentHashNode; + return new Property + { + Value = $"{hashNode.Host}:{hashNode.Port}::{hashNode.Db}" + }; + }).ToList(); + }); }); - }); - this.queue.Enqueue(true); + this.queue.Enqueue(true); + } } public override async Task Process() diff --git a/src/Surging.Core/Surging.Core.Caching/HashAlgorithms/ConsistentHash.cs b/src/Surging.Core/Surging.Core.Caching/HashAlgorithms/ConsistentHash.cs index 03cfc68bb..33a852505 100644 --- a/src/Surging.Core/Surging.Core.Caching/HashAlgorithms/ConsistentHash.cs +++ b/src/Surging.Core/Surging.Core.Caching/HashAlgorithms/ConsistentHash.cs @@ -46,22 +46,6 @@ public int VirtualNodeReplicationFactor } #endregion - /// - /// 初始化节点服务器 - /// - /// 节点 - /// - /// 创建:范亮 - /// 日期:2016/4/2 - /// - public void Initialize(IEnumerable nodes) - { - foreach (var node in nodes) - { - AddNode(node); - } - _nodeKeysInRing = _ring.Keys.ToArray(); - } /// /// 添加节点 @@ -71,12 +55,17 @@ public void Initialize(IEnumerable nodes) /// 创建:范亮 /// 日期:2016/4/2 /// - public void Add(T node) + public void Add(T node, string value) { - AddNode(node); + AddNode(node, value); _nodeKeysInRing = _ring.Keys.ToArray(); } + public IEnumerable GetNodes() + { + return _ring.Values.Distinct().ToList(); + } + /// /// 删除节点 /// @@ -85,7 +74,7 @@ public void Add(T node) /// 创建:范亮 /// 日期:2016/4/2 /// - public void Remove(T node) + public void Remove(string node) { RemoveNode(node); _nodeKeysInRing = _ring.Keys.ToArray(); @@ -107,11 +96,6 @@ public T GetItemNode(string item) return _ring[_nodeKeysInRing[nearestNodePosition]]; } - public IEnumerable GetNodes() - { - return _ring.Values.Distinct().ToList(); - } - /// /// 添加节点 /// @@ -120,11 +104,11 @@ public IEnumerable GetNodes() /// 创建:范亮 /// 日期:2016/4/2 /// - private void AddNode(T node) + private void AddNode(T node, string value) { for (var i = 0; i < _virtualNodeReplicationFactor; i++) { - var hashOfVirtualNode = _hashAlgorithm.Hash(node.GetHashCode().ToString(CultureInfo.InvariantCulture) + i); + var hashOfVirtualNode = _hashAlgorithm.Hash(value.ToString(CultureInfo.InvariantCulture) + i); _ring[hashOfVirtualNode] = node; } } @@ -137,13 +121,12 @@ private void AddNode(T node) /// 创建:范亮 /// 日期:2016/4/2 /// - private void RemoveNode(T node) + private void RemoveNode(string value) { for (var i = 0; i < _virtualNodeReplicationFactor; i++) { - var hashOfVirtualNode = _hashAlgorithm.Hash(node.GetHashCode().ToString() + i); - if (_ring.ContainsKey(hashOfVirtualNode)) - _ring.Remove(hashOfVirtualNode); + var hashOfVirtualNode = _hashAlgorithm.Hash(value.ToString() + i); + _ring.Remove(hashOfVirtualNode); } } diff --git a/src/Surging.Core/Surging.Core.Caching/RedisCache/RedisContext.cs b/src/Surging.Core/Surging.Core.Caching/RedisCache/RedisContext.cs index 18f948d21..238d3e0a4 100644 --- a/src/Surging.Core/Surging.Core.Caching/RedisCache/RedisContext.cs +++ b/src/Surging.Core/Surging.Core.Caching/RedisCache/RedisContext.cs @@ -206,7 +206,7 @@ private void InitSettingHashStorage() { db = dbs[dbs.Length - 1]; } - hash.Add(new ConsistentHashNode() + var node = new ConsistentHashNode() { Type = targetType, Host = endpoints[0], @@ -216,7 +216,8 @@ private void InitSettingHashStorage() MaxSize = this._maxSize, MinSize = this._minSize, Db = db.ToString() - }); + }; + hash.Add(node,string.Format("{0}:{1}",node.Host,node.Port)); dicHash.GetOrAdd(targetType.ToString(), hash); }); } diff --git a/src/Surging.Core/Surging.Core.Caching/Surging.Core.Caching.csproj b/src/Surging.Core/Surging.Core.Caching/Surging.Core.Caching.csproj index 0b43bd1cf..ead9f4dad 100644 --- a/src/Surging.Core/Surging.Core.Caching/Surging.Core.Caching.csproj +++ b/src/Surging.Core/Surging.Core.Caching/Surging.Core.Caching.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - 0.9.0.2 + 1.0.0.0 fanly surging Micro Service Framework @@ -11,9 +11,9 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 0.9.0.2 - 0.9.0.2 - 1.Support for hot-swap engine components + 1.0.0.0 + 1.0.0.0 + 1. fix bug diff --git a/src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/DynamicItem.cs b/src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/DynamicItem.cs index 255841e20..8d4152ea3 100644 --- a/src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/DynamicItem.cs +++ b/src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/DynamicItem.cs @@ -55,7 +55,7 @@ public object Get() if (typeName == UtilityType.JObjectType || typeName == UtilityType.JArrayType) { var content = SerializerUtilitys.Deserialize(Content); - return JsonConvert.DeserializeObject(content,typeName); + return JsonConvert.DeserializeObject(content, typeName); } else { diff --git a/src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/MessagePackRemoteInvokeMessage.cs b/src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/MessagePackRemoteInvokeMessage.cs index e22da7618..c8069698f 100644 --- a/src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/MessagePackRemoteInvokeMessage.cs +++ b/src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/MessagePackRemoteInvokeMessage.cs @@ -1,5 +1,6 @@ using MessagePack; using Surging.Core.CPlatform.Messages; +using System; using System.Collections.Generic; using System.Linq; @@ -34,7 +35,7 @@ public class MessagePackRemoteInvokeMessage { public MessagePackRemoteInvokeMessage(RemoteInvokeMessage message) { - ServiceId = message.ServiceId; + ServiceId = message.ServiceId; DecodeJOject = message.DecodeJOject; ServiceKey = message.ServiceKey; Parameters = message.Parameters?.Select(i => new ParameterItem(i)).ToArray(); @@ -71,7 +72,7 @@ public RemoteInvokeMessage GetRemoteInvokeMessage() Attachments = Attachments?.ToDictionary(i => i.Key, i => i.Value?.Get()), ServiceId = ServiceId, DecodeJOject = DecodeJOject, - ServiceKey = ServiceKey, + ServiceKey = ServiceKey, }; } } diff --git a/src/Surging.Core/Surging.Core.Codec.MessagePack/Surging.Core.Codec.MessagePack.csproj b/src/Surging.Core/Surging.Core.Codec.MessagePack/Surging.Core.Codec.MessagePack.csproj index 1502bacec..3628da1bf 100644 --- a/src/Surging.Core/Surging.Core.Codec.MessagePack/Surging.Core.Codec.MessagePack.csproj +++ b/src/Surging.Core/Surging.Core.Codec.MessagePack/Surging.Core.Codec.MessagePack.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - 0.9.0.2 + 1.0.0.0 fanly surging Micro Service Framework @@ -11,9 +11,9 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 1.Support for hot-swap engine components - 0.9.0.2 - 0.9.0.2 + 1.fix bug + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Surging.Core.Codec.ProtoBuffer.csproj b/src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Surging.Core.Codec.ProtoBuffer.csproj index 9f12621cb..e98bd8b79 100644 --- a/src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Surging.Core.Codec.ProtoBuffer.csproj +++ b/src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Surging.Core.Codec.ProtoBuffer.csproj @@ -3,7 +3,7 @@ netcoreapp2.1 surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec - 0.9.0.2 + 1.0.0.0 fanly surging Micro Service Framework @@ -11,9 +11,9 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 1.Support for hot-swap engine components - 0.9.0.2 - 0.9.0.2 + 1. fix bug + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/ApiResult.cs b/src/Surging.Core/Surging.Core.Common/ApiResult.cs similarity index 69% rename from src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/ApiResult.cs rename to src/Surging.Core/Surging.Core.Common/ApiResult.cs index f39d7149a..95f2ff913 100644 --- a/src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/ApiResult.cs +++ b/src/Surging.Core/Surging.Core.Common/ApiResult.cs @@ -1,12 +1,14 @@ - - +using System; +using System.Collections.Generic; using System.Runtime.Serialization; +using System.Text; -namespace Surging.IModuleServices.Common.Models +namespace Surging.Core.Common { [DataContract] public class ApiResult { + [DataMember] public int StatusCode { get; set; } diff --git a/src/Surging.Core/Surging.Core.Common/CommonModule.cs b/src/Surging.Core/Surging.Core.Common/CommonModule.cs new file mode 100644 index 000000000..32900cda3 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Common/CommonModule.cs @@ -0,0 +1,11 @@ +using Surging.Core.CPlatform.Module; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Common +{ + public class CommonModule:SystemModule + { + } +} diff --git a/src/Surging.Core/Surging.Core.Common/Surging.Core.Common.csproj b/src/Surging.Core/Surging.Core.Common/Surging.Core.Common.csproj index 6ba969fcd..7d9adabed 100644 --- a/src/Surging.Core/Surging.Core.Common/Surging.Core.Common.csproj +++ b/src/Surging.Core/Surging.Core.Common/Surging.Core.Common.csproj @@ -4,4 +4,12 @@ netcoreapp2.1 + + + + + + + + \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.Consul/Configurations/ConfigInfo.cs b/src/Surging.Core/Surging.Core.Consul/Configurations/ConfigInfo.cs index 17e6c1f98..084ef88b7 100644 --- a/src/Surging.Core/Surging.Core.Consul/Configurations/ConfigInfo.cs +++ b/src/Surging.Core/Surging.Core.Consul/Configurations/ConfigInfo.cs @@ -18,8 +18,9 @@ public ConfigInfo(string connectionString,string routePath = "services/serviceRo string subscriberPath = "services/serviceSubscribers/", string commandPath = "services/serviceCommands/", string cachePath="services/serviceCaches/", + string mqttRoutePath = "services/mqttServiceRoutes/", bool reloadOnChange=false, bool enableChildrenMonitor = false) : - this(connectionString, TimeSpan.FromSeconds(20), routePath, subscriberPath,commandPath, cachePath, reloadOnChange, enableChildrenMonitor) + this(connectionString, TimeSpan.FromSeconds(20), routePath, subscriberPath,commandPath, cachePath, mqttRoutePath, reloadOnChange, enableChildrenMonitor) { } @@ -32,11 +33,13 @@ public ConfigInfo(string connectionString,string routePath = "services/serviceRo /// 订阅者配置命令。 /// 路由路径配置路径 /// 缓存中心配置路径 + /// Mqtt路由路径配置路径 public ConfigInfo(string connectionString, TimeSpan sessionTimeout, string routePath = "services/serviceRoutes/", string subscriberPath = "services/serviceSubscribers/", string commandPath = "services/serviceCommands/", string cachePath= "services/serviceCaches/", + string mqttRoutePath= "services/mqttServiceRoutes/", bool reloadOnChange=false, bool enableChildrenMonitor = false) { CachePath = cachePath; @@ -45,6 +48,7 @@ public ConfigInfo(string connectionString, TimeSpan sessionTimeout, RoutePath = routePath; SubscriberPath = subscriberPath; CommandPath = commandPath; + MqttRoutePath = mqttRoutePath; EnableChildrenMonitor = enableChildrenMonitor; if (!string.IsNullOrEmpty(connectionString)) { @@ -94,6 +98,12 @@ public ConfigInfo(string host, int port, TimeSpan sessionTimeout) /// public string RoutePath { get; set; } + + /// + /// Mqtt路由配置路径。 + /// + public string MqttRoutePath { get; set; } + /// /// 缓存中心配置中心 /// diff --git a/src/Surging.Core/Surging.Core.Consul/Configurations/ConsulOption.cs b/src/Surging.Core/Surging.Core.Consul/Configurations/ConsulOption.cs index 37ba88253..f650678d3 100644 --- a/src/Surging.Core/Surging.Core.Consul/Configurations/ConsulOption.cs +++ b/src/Surging.Core/Surging.Core.Consul/Configurations/ConsulOption.cs @@ -18,6 +18,8 @@ public class ConsulOption public string CachePath { get; set; } + public string MqttRoutePath { get; set; } + public string ReloadOnChange { get; set; } public string EnableChildrenMonitor { get; set; } diff --git a/src/Surging.Core/Surging.Core.Consul/ConsulModule.cs b/src/Surging.Core/Surging.Core.Consul/ConsulModule.cs index 206986d6f..aeecd676e 100644 --- a/src/Surging.Core/Surging.Core.Consul/ConsulModule.cs +++ b/src/Surging.Core/Surging.Core.Consul/ConsulModule.cs @@ -7,6 +7,7 @@ using Surging.Core.CPlatform; using Surging.Core.CPlatform.Cache; using Surging.Core.CPlatform.Module; +using Surging.Core.CPlatform.Mqtt; using Surging.Core.CPlatform.Routing; using Surging.Core.CPlatform.Runtime.Client; using Surging.Core.CPlatform.Runtime.Server; @@ -37,7 +38,8 @@ protected override void RegisterBuilder(ContainerBuilderWrapper builder) .UseConsulServiceSubscribeManager(builder, configInfo) .UseConsulCommandManager(builder, configInfo) .UseConsulCacheManager(builder, configInfo) - .UseConsulWatch(builder, configInfo); + .UseConsulWatch(builder, configInfo) + .UseConsulMqttRouteManager(builder,configInfo); } public ConsulModule UseConsulRouteManager(ContainerBuilderWrapper builder, ConfigInfo configInfo) @@ -49,7 +51,8 @@ public ConsulModule UseConsulRouteManager(ContainerBuilderWrapper builder, Confi provider.GetRequiredService>(), provider.GetRequiredService(), provider.GetRequiredService(), - provider.GetRequiredService>())); + provider.GetRequiredService>(), + provider.GetRequiredService())); return this; } @@ -83,7 +86,8 @@ public ConsulModule UseConsulCommandManager(ContainerBuilderWrapper builder, Con provider.GetRequiredService(), provider.GetRequiredService(), provider.GetRequiredService(), - provider.GetRequiredService>()); + provider.GetRequiredService>(), + provider.GetRequiredService()); return result; }); return this; @@ -105,6 +109,20 @@ public ConsulModule UseConsulServiceSubscribeManager(ContainerBuilderWrapper bui return this; } + public ConsulModule UseConsulMqttRouteManager(ContainerBuilderWrapper builder, ConfigInfo configInfo) + { + UseMqttRouteManager(builder, provider => + new ConsulMqttServiceRouteManager( + GetConfigInfo(configInfo), + provider.GetRequiredService>(), + provider.GetRequiredService>(), + provider.GetRequiredService(), + provider.GetRequiredService(), + provider.GetRequiredService>(), + provider.GetRequiredService())); + return this; + } + /// /// 设置使用基于Consul的Watch机制 /// @@ -143,6 +161,12 @@ public ContainerBuilderWrapper UseRouteManager(ContainerBuilderWrapper builder, return builder; } + public ContainerBuilderWrapper UseMqttRouteManager(ContainerBuilderWrapper builder, Func factory) + { + builder.RegisterAdapter(factory).InstancePerLifetimeScope(); + return builder; + } + private ConfigInfo GetConfigInfo(ConfigInfo config) { ConsulOption option = null; @@ -162,6 +186,7 @@ private ConfigInfo GetConfigInfo(ConfigInfo config) option.SubscriberPath ?? config.SubscriberPath, option.CommandPath ?? config.CommandPath, option.CachePath ?? config.CachePath, + option.MqttRoutePath ?? config.MqttRoutePath, option.ReloadOnChange != null ? bool.Parse(option.ReloadOnChange) : config.ReloadOnChange, option.EnableChildrenMonitor != null ? bool.Parse(option.EnableChildrenMonitor) : diff --git a/src/Surging.Core/Surging.Core.Consul/ConsulMqttServiceRouteManager.cs b/src/Surging.Core/Surging.Core.Consul/ConsulMqttServiceRouteManager.cs new file mode 100644 index 000000000..921eca381 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Consul/ConsulMqttServiceRouteManager.cs @@ -0,0 +1,371 @@ +using Consul; +using Microsoft.Extensions.Logging; +using Surging.Core.Consul.Configurations; +using Surging.Core.Consul.Utilitys; +using Surging.Core.Consul.WatcherProvider; +using Surging.Core.Consul.WatcherProvider.Implementation; +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Mqtt; +using Surging.Core.CPlatform.Mqtt.Implementation; +using Surging.Core.CPlatform.Runtime.Client; +using Surging.Core.CPlatform.Serialization; +using Surging.Core.CPlatform.Transport.Implementation; +using Surging.Core.CPlatform.Utilities; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Consul +{ + public class ConsulMqttServiceRouteManager : MqttServiceRouteManagerBase, IDisposable + { + private readonly ConsulClient _consul; + private readonly ConfigInfo _configInfo; + private readonly ISerializer _serializer; + private readonly IMqttServiceFactory _mqttServiceFactory; + private readonly ILogger _logger; + private readonly ISerializer _stringSerializer; + private readonly IClientWatchManager _manager; + private MqttServiceRoute[] _routes; + private readonly IServiceHeartbeatManager _serviceHeartbeatManager; + + public ConsulMqttServiceRouteManager(ConfigInfo configInfo, ISerializer serializer, + ISerializer stringSerializer, IClientWatchManager manager, IMqttServiceFactory mqttServiceFactory, + ILogger logger,IServiceHeartbeatManager serviceHeartbeatManager) : base(stringSerializer) + { + _configInfo = configInfo; + _serializer = serializer; + _stringSerializer = stringSerializer; + _mqttServiceFactory = mqttServiceFactory; + _logger = logger; + _manager = manager; + _serviceHeartbeatManager = serviceHeartbeatManager; + _consul = new ConsulClient(config => + { + config.Address = new Uri($"http://{configInfo.Host}:{configInfo.Port}"); + }, null, h => { h.UseProxy = false; h.Proxy = null; }); + EnterRoutes().Wait(); + } + + public override async Task ClearAsync() + { + var queryResult = await _consul.KV.List(_configInfo.MqttRoutePath); + var response = queryResult.Response; + if (response != null) + { + foreach (var result in response) + { + await _consul.KV.DeleteCAS(result); + } + } + } + + public void Dispose() + { + _consul.Dispose(); + } + + /// + /// 获取所有可用的服务路由信息。 + /// + /// 服务路由集合。 + public override async Task> GetRoutesAsync() + { + await EnterRoutes(); + return _routes; + } + + public override async Task SetRoutesAsync(IEnumerable routes) + { + var hostAddr = NetUtils.GetHostAddress(); + var mqttServiceRoutes = await GetRoutes(routes.Select(p => $"{ _configInfo.MqttRoutePath}{p.MqttDescriptor.Topic}")); + foreach (var route in routes) + { + var mqttServiceRoute = mqttServiceRoutes.Where(p => p.MqttDescriptor.Topic == route.MqttDescriptor.Topic).FirstOrDefault(); + + if (mqttServiceRoute != null) + { + var addresses = mqttServiceRoute.MqttEndpoint.Concat( + route.MqttEndpoint.Except(mqttServiceRoute.MqttEndpoint)).ToList(); + + foreach (var address in route.MqttEndpoint) + { + addresses.Remove(addresses.Where(p => p.ToString() == address.ToString()).FirstOrDefault()); + addresses.Add(address); + } + route.MqttEndpoint = addresses; + } + } + + await base.SetRoutesAsync(routes); + } + + public override async Task RemveAddressAsync(IEnumerable endpoint) + { + var routes = await GetRoutesAsync(); + try + { + foreach (var route in routes) + { + route.MqttEndpoint = route.MqttEndpoint.Except(endpoint); + } + } + catch (Exception ex) + { + throw ex; + } + await base.SetRoutesAsync(routes); + } + + public override async Task RemoveByTopicAsync(string topic, IEnumerable endpoint) + { + var routes = await GetRoutesAsync(); + try + { + var route = routes.Where(p => p.MqttDescriptor.Topic == topic).SingleOrDefault(); + if(route !=null) + { + route.MqttEndpoint = route.MqttEndpoint.Except(endpoint); + await base.SetRoutesAsync(new MqttServiceRoute[] { route }); + } + } + catch (Exception ex) + { + throw ex; + } + + } + + protected override async Task SetRoutesAsync(IEnumerable routes) + { + + foreach (var serviceRoute in routes) + { + var nodeData = _serializer.Serialize(serviceRoute); + var keyValuePair = new KVPair($"{_configInfo.MqttRoutePath}{serviceRoute.MqttDescriptor.Topic}") { Value = nodeData }; + await _consul.KV.Put(keyValuePair); + } + } + + #region 私有方法 + + private async Task RemoveExceptRoutesAsync(IEnumerable routes, AddressModel hostAddr) + { + routes = routes.ToArray(); + + if (_routes != null) + { + var oldRouteTopics = _routes.Select(i => i.MqttDescriptor.Topic).ToArray(); + var newRouteTopics = routes.Select(i => i.MqttDescriptor.Topic).ToArray(); + var deletedRouteTopics = oldRouteTopics.Except(newRouteTopics).ToArray(); + foreach (var deletedRouteTopic in deletedRouteTopics) + { + var addresses = _routes.Where(p => p.MqttDescriptor.Topic == deletedRouteTopic).Select(p => p.MqttEndpoint).FirstOrDefault(); + if (addresses.Contains(hostAddr)) + await _consul.KV.Delete($"{_configInfo.MqttRoutePath}{deletedRouteTopic}"); + } + } + } + + private async Task GetRoute(byte[] data) + { + if (_logger.IsEnabled(Microsoft.Extensions.Logging.LogLevel.Debug)) + _logger.LogDebug($"准备转换mqtt服务路由,配置内容:{Encoding.UTF8.GetString(data)}。"); + + if (data == null) + return null; + + var descriptor = _serializer.Deserialize(data); + return (await _mqttServiceFactory.CreateMqttServiceRoutesAsync(new[] { descriptor })).First(); + } + + private async Task GetRouteDatas(string[] routes) + { + List serviceRoutes = new List(); + foreach (var route in routes) + { + var serviceRoute = await GetRouteData(route); + serviceRoutes.Add(serviceRoute); + } + return serviceRoutes.ToArray(); + } + + private async Task GetRouteData(string data) + { + if (data == null) + return null; + + var descriptor = _stringSerializer.Deserialize(data, typeof(MqttServiceDescriptor)) as MqttServiceDescriptor; + return (await _mqttServiceFactory.CreateMqttServiceRoutesAsync(new[] { descriptor })).First(); + } + + private async Task GetRoutes(IEnumerable childrens) + { + + childrens = childrens.ToArray(); + var routes = new List(childrens.Count()); + + foreach (var children in childrens) + { + if (_logger.IsEnabled(Microsoft.Extensions.Logging.LogLevel.Debug)) + _logger.LogDebug($"准备从节点:{children}中获取mqtt路由信息。"); + + var route = await GetRoute(children); + if (route != null) + routes.Add(route); + } + + return routes.ToArray(); + } + + private async Task GetRoute(string path) + { + MqttServiceRoute result = null; + var watcher = new NodeMonitorWatcher(_consul, _manager, path, + async (oldData, newData) => await NodeChange(oldData, newData),tmpPath=> { + var index = tmpPath.LastIndexOf("/"); + return _serviceHeartbeatManager.ExistsWhitelist(tmpPath.Substring(index + 1)); + }); + + var queryResult = await _consul.KV.Keys(path); + if (queryResult.Response != null) + { + var data = (await _consul.GetDataAsync(path)); + if (data != null) + { + watcher.SetCurrentData(data); + result = await GetRoute(data); + } + } + return result; + } + + private async Task EnterRoutes() + { + if (_routes != null && _routes.Length > 0) + return; + Action action = null; + if (_configInfo.EnableChildrenMonitor) + { + var watcher = new ChildrenMonitorWatcher(_consul, _manager, _configInfo.MqttRoutePath, + async (oldChildrens, newChildrens) => await ChildrenChange(oldChildrens, newChildrens), + (result) => ConvertPaths(result).Result); + action = currentData => watcher.SetCurrentData(currentData); + } + if (_consul.KV.Keys(_configInfo.MqttRoutePath).Result.Response?.Count() > 0) + { + var result = await _consul.GetChildrenAsync(_configInfo.MqttRoutePath); + var keys = await _consul.KV.Keys(_configInfo.MqttRoutePath); + var childrens = result; + action?.Invoke(ConvertPaths(childrens).Result.Select(key => $"{_configInfo.MqttRoutePath}{key}").ToArray()); + _routes = await GetRoutes(keys.Response); + } + else + { + if (_logger.IsEnabled(Microsoft.Extensions.Logging.LogLevel.Warning)) + _logger.LogWarning($"无法获取路由信息,因为节点:{_configInfo.MqttRoutePath},不存在。"); + _routes = new MqttServiceRoute[0]; + } + } + + private static bool DataEquals(IReadOnlyList data1, IReadOnlyList data2) + { + if (data1.Count != data2.Count) + return false; + for (var i = 0; i < data1.Count; i++) + { + var b1 = data1[i]; + var b2 = data2[i]; + if (b1 != b2) + return false; + } + return true; + } + + /// + /// 转化topic集合 + /// + /// 信息数据集合 + /// 返回路径集合 + private async Task ConvertPaths(string[] datas) + { + List topics = new List(); + foreach (var data in datas) + { + var result = await GetRouteData(data); + var topic = result?.MqttDescriptor.Topic; + if (!string.IsNullOrEmpty(topic)) + topics.Add(topic); + } + return topics.ToArray(); + } + + private async Task NodeChange(byte[] oldData, byte[] newData) + { + if (DataEquals(oldData, newData)) + return; + + var newRoute = await GetRoute(newData); + //得到旧的路由。 + var oldRoute = _routes.FirstOrDefault(i => i.MqttDescriptor.Topic == newRoute.MqttDescriptor.Topic); + + lock (_routes) + { + //删除旧路由,并添加上新的路由。 + _routes = + _routes + .Where(i => i.MqttDescriptor.Topic != newRoute.MqttDescriptor.Topic) + .Concat(new[] { newRoute }).ToArray(); + } + + //触发路由变更事件。 + OnChanged(new MqttServiceRouteChangedEventArgs(newRoute, oldRoute)); + } + + private async Task ChildrenChange(string[] oldChildrens, string[] newChildrens) + { + if (_logger.IsEnabled(Microsoft.Extensions.Logging.LogLevel.Debug)) + _logger.LogDebug($"最新的mqtt节点信息:{string.Join(",", newChildrens)}"); + + if (_logger.IsEnabled(Microsoft.Extensions.Logging.LogLevel.Debug)) + _logger.LogDebug($"旧的mqtt节点信息:{string.Join(",", oldChildrens)}"); + + //计算出已被删除的节点。 + var deletedChildrens = oldChildrens.Except(newChildrens).ToArray(); + //计算出新增的节点。 + var createdChildrens = newChildrens.Except(oldChildrens).ToArray(); + + if (_logger.IsEnabled(Microsoft.Extensions.Logging.LogLevel.Debug)) + _logger.LogDebug($"需要被删除的mqtt路由节点:{string.Join(",", deletedChildrens)}"); + if (_logger.IsEnabled(Microsoft.Extensions.Logging.LogLevel.Debug)) + _logger.LogDebug($"需要被添加的mqtt路由节点:{string.Join(",", createdChildrens)}"); + + //获取新增的路由信息。 + var newRoutes = (await GetRoutes(createdChildrens)).ToArray(); + + var routes = _routes.ToArray(); + lock (_routes) + { + _routes = _routes + //删除无效的节点路由。 + .Where(i => !deletedChildrens.Contains($"{_configInfo.MqttRoutePath}{i.MqttDescriptor.Topic}")) + //连接上新的路由。 + .Concat(newRoutes) + .ToArray(); + } + //需要删除的路由集合。 + var deletedRoutes = routes.Where(i => deletedChildrens.Contains($"{_configInfo.MqttRoutePath}{i.MqttDescriptor.Topic}")).ToArray(); + //触发删除事件。 + OnRemoved(deletedRoutes.Select(route => new MqttServiceRouteEventArgs(route)).ToArray()); + + //触发路由被创建事件。 + OnCreated(newRoutes.Select(route => new MqttServiceRouteEventArgs(route)).ToArray()); + + if (_logger.IsEnabled(Microsoft.Extensions.Logging.LogLevel.Information)) + _logger.LogInformation("mqtt路由数据更新成功。"); + } + #endregion + } +} diff --git a/src/Surging.Core/Surging.Core.Consul/ConsulServiceCacheManager.cs b/src/Surging.Core/Surging.Core.Consul/ConsulServiceCacheManager.cs index 94b7165ea..7646c702e 100644 --- a/src/Surging.Core/Surging.Core.Consul/ConsulServiceCacheManager.cs +++ b/src/Surging.Core/Surging.Core.Consul/ConsulServiceCacheManager.cs @@ -134,7 +134,7 @@ private async Task GetCache(string path) { ServiceCache result = null; var watcher = new NodeMonitorWatcher(_consul, _manager, path, - async (oldData, newData) => await NodeChange(oldData, newData)); + async (oldData, newData) => await NodeChange(oldData, newData),null); var queryResult = await _consul.KV.Keys(path); if (queryResult.Response != null) { diff --git a/src/Surging.Core/Surging.Core.Consul/ConsulServiceCommandManager.cs b/src/Surging.Core/Surging.Core.Consul/ConsulServiceCommandManager.cs index e9a9538fe..205abd97b 100644 --- a/src/Surging.Core/Surging.Core.Consul/ConsulServiceCommandManager.cs +++ b/src/Surging.Core/Surging.Core.Consul/ConsulServiceCommandManager.cs @@ -16,6 +16,7 @@ using Surging.Core.Consul.WatcherProvider.Implementation; using Surging.Core.CPlatform.Routing; using Surging.Core.CPlatform.Routing.Implementation; +using Surging.Core.CPlatform.Runtime.Client; namespace Surging.Core.Consul { @@ -29,10 +30,12 @@ public class ConsulServiceCommandManager : ServiceCommandManagerBase, IDisposabl private ServiceCommandDescriptor[] _serviceCommands; private readonly ISerializer _stringSerializer; private readonly IServiceRouteManager _serviceRouteManager; + private readonly IServiceHeartbeatManager _serviceHeartbeatManager; public ConsulServiceCommandManager(ConfigInfo configInfo, ISerializer serializer, ISerializer stringSerializer, IServiceRouteManager serviceRouteManager, IClientWatchManager manager, IServiceEntryManager serviceEntryManager, - ILogger logger, bool enableChildrenMonitor = false) : base(stringSerializer, serviceEntryManager) + ILogger logger, + IServiceHeartbeatManager serviceHeartbeatManager) : base(stringSerializer, serviceEntryManager) { _configInfo = configInfo; _serializer = serializer; @@ -40,6 +43,7 @@ public ConsulServiceCommandManager(ConfigInfo configInfo, ISerializer se _stringSerializer = stringSerializer; _manager = manager; _serviceRouteManager = serviceRouteManager; + _serviceHeartbeatManager = serviceHeartbeatManager; _consul = new ConsulClient(config => { config.Address = new Uri($"http://{configInfo.Host}:{configInfo.Port}"); @@ -190,7 +194,11 @@ private async Task GetServiceCommand(string path) { ServiceCommandDescriptor result = null; var watcher = new NodeMonitorWatcher(_consul, _manager, path, - (oldData, newData) => NodeChange(oldData, newData)); + (oldData, newData) => NodeChange(oldData, newData), tmpPath => + { + var index = tmpPath.LastIndexOf("/"); + return _serviceHeartbeatManager.ExistsWhitelist(tmpPath.Substring(index + 1)); + }); var queryResult = await _consul.KV.Keys(path); if (queryResult.Response != null) { @@ -228,16 +236,21 @@ private async Task GetServiceCommands(IEnumerable action = null; + if (_configInfo.EnableChildrenMonitor) + { + var watcher = new ChildrenMonitorWatcher(_consul, _manager, _configInfo.CommandPath, async (oldChildrens, newChildrens) => await ChildrenChange(oldChildrens, newChildrens), - (result) => ConvertPaths(result)); + (result) => ConvertPaths(result)); + action = currentData => watcher.SetCurrentData(currentData); + } if (_consul.KV.Keys(_configInfo.CommandPath).Result.Response?.Count() > 0) { var result = await _consul.GetChildrenAsync(_configInfo.CommandPath); var keys = await _consul.KV.Keys(_configInfo.CommandPath); - var childrens = result; - watcher.SetCurrentData(ConvertPaths(childrens).Select(key => $"{_configInfo.CommandPath}{key}").ToArray()); + var childrens = result; + action?.Invoke(ConvertPaths(childrens).Select(key => $"{_configInfo.CommandPath}{key}").ToArray()); _serviceCommands = await GetServiceCommands(keys.Response); } else diff --git a/src/Surging.Core/Surging.Core.Consul/ConsulServiceRouteManager.cs b/src/Surging.Core/Surging.Core.Consul/ConsulServiceRouteManager.cs index 9c98def3f..8acc5957a 100644 --- a/src/Surging.Core/Surging.Core.Consul/ConsulServiceRouteManager.cs +++ b/src/Surging.Core/Surging.Core.Consul/ConsulServiceRouteManager.cs @@ -15,6 +15,8 @@ using Surging.Core.Consul.WatcherProvider.Implementation; using Surging.Core.CPlatform.Address; using Surging.Core.CPlatform.Transport.Implementation; +using Surging.Core.CPlatform.Runtime.Client; +using Surging.Core.CPlatform.Utilities; namespace Surging.Core.Consul { @@ -27,12 +29,13 @@ public class ConsulServiceRouteManager : ServiceRouteManagerBase, IDisposable private readonly ILogger _logger; private readonly ISerializer _stringSerializer; private readonly IClientWatchManager _manager; - private ServiceRoute[] _routes; - private readonly bool _enableChildrenMonitor; + private ServiceRoute[] _routes; + private readonly IServiceHeartbeatManager _serviceHeartbeatManager; public ConsulServiceRouteManager(ConfigInfo configInfo, ISerializer serializer, ISerializer stringSerializer, IClientWatchManager manager, IServiceRouteFactory serviceRouteFactory, - ILogger logger) : base(stringSerializer) + ILogger logger, + IServiceHeartbeatManager serviceHeartbeatManager) : base(stringSerializer) { _configInfo = configInfo; _serializer = serializer; @@ -40,6 +43,7 @@ public ConsulServiceRouteManager(ConfigInfo configInfo, ISerializer seri _serviceRouteFactory = serviceRouteFactory; _logger = logger; _manager = manager; + _serviceHeartbeatManager = serviceHeartbeatManager; _consul = new ConsulClient(config => { config.Address = new Uri($"http://{configInfo.Host}:{configInfo.Port}"); @@ -77,7 +81,7 @@ public override async Task> GetRoutesAsync() public override async Task SetRoutesAsync(IEnumerable routes) { - var hostAddr = RpcContext.GetContext().GetAttachment("Host") as AddressModel; + var hostAddr = NetUtils.GetHostAddress(); var serviceRoutes = await GetRoutes(routes.Select(p => $"{ _configInfo.RoutePath}{p.ServiceDescriptor.Id}")); foreach (var route in routes) { @@ -201,9 +205,13 @@ private async Task GetRoutes(IEnumerable childrens) private async Task GetRoute(string path) { - ServiceRoute result = null; + ServiceRoute result = null; var watcher = new NodeMonitorWatcher(_consul, _manager, path, - async (oldData, newData) => await NodeChange(oldData, newData)); + async (oldData, newData) => await NodeChange(oldData, newData),tmpPath=> { + var index = tmpPath.LastIndexOf("/"); + return _serviceHeartbeatManager.ExistsWhitelist(tmpPath.Substring(index + 1)); + }); + var queryResult = await _consul.KV.Keys(path); if (queryResult.Response != null) { @@ -221,15 +229,20 @@ private async Task EnterRoutes() { if (_routes != null && _routes.Length > 0) return; - var watcher = new ChildrenMonitorWatcher(_consul, _manager, _configInfo.RoutePath, + Action action = null ; + if (_configInfo.EnableChildrenMonitor) + { + var watcher = new ChildrenMonitorWatcher(_consul, _manager, _configInfo.RoutePath, async (oldChildrens, newChildrens) => await ChildrenChange(oldChildrens, newChildrens), (result) => ConvertPaths(result).Result); + action = currentData => watcher.SetCurrentData(currentData); + } if (_consul.KV.Keys(_configInfo.RoutePath).Result.Response?.Count() > 0) { var result = await _consul.GetChildrenAsync(_configInfo.RoutePath); var keys = await _consul.KV.Keys(_configInfo.RoutePath); var childrens = result; - watcher.SetCurrentData(ConvertPaths(childrens).Result.Select(key => $"{_configInfo.RoutePath}{key}").ToArray()); + action?.Invoke(ConvertPaths(childrens).Result.Select(key => $"{_configInfo.RoutePath}{key}").ToArray()); _routes = await GetRoutes(keys.Response); } else diff --git a/src/Surging.Core/Surging.Core.Consul/ContainerBuilderExtensions.cs b/src/Surging.Core/Surging.Core.Consul/ContainerBuilderExtensions.cs index 6e586e4f2..598865f84 100644 --- a/src/Surging.Core/Surging.Core.Consul/ContainerBuilderExtensions.cs +++ b/src/Surging.Core/Surging.Core.Consul/ContainerBuilderExtensions.cs @@ -12,6 +12,7 @@ using Surging.Core.CPlatform.Serialization; using System; using Microsoft.Extensions.Configuration; +using Surging.Core.CPlatform.Mqtt; namespace Surging.Core.Consul { @@ -32,7 +33,8 @@ public static IServiceBuilder UseConsulRouteManager(this IServiceBuilder builder provider.GetRequiredService>(), provider.GetRequiredService(), provider.GetRequiredService(), - provider.GetRequiredService>())); + provider.GetRequiredService>(), + provider.GetRequiredService())); } public static IServiceBuilder UseConsulCacheManager(this IServiceBuilder builder, ConfigInfo configInfo) @@ -64,11 +66,25 @@ public static IServiceBuilder UseConsulCommandManager(this IServiceBuilder build provider.GetRequiredService (), provider.GetRequiredService(), provider.GetRequiredService(), - provider.GetRequiredService>()); + provider.GetRequiredService>(), + provider.GetRequiredService()); return result; }); } + public static IServiceBuilder UseConsulMqttRouteManager(this IServiceBuilder builder, ConfigInfo configInfo) + { + return builder.UseMqttRouteManager(provider => + new ConsulMqttServiceRouteManager( + GetConfigInfo(configInfo), + provider.GetRequiredService>(), + provider.GetRequiredService>(), + provider.GetRequiredService(), + provider.GetRequiredService(), + provider.GetRequiredService>(), + provider.GetRequiredService())); + } + public static IServiceBuilder UseConsulServiceSubscribeManager(this IServiceBuilder builder, ConfigInfo configInfo) { return builder.UseSubscribeManager(provider => @@ -104,7 +120,9 @@ public static IServiceBuilder UseConsulManager(this IServiceBuilder builder, Con return builder.UseConsulRouteManager(configInfo) .UseConsulServiceSubscribeManager(configInfo) .UseConsulCommandManager(configInfo) - .UseConsulCacheManager(configInfo).UseConsulWatch(configInfo); + .UseConsulCacheManager(configInfo) + .UseConsulWatch(configInfo) + .UseConsulMqttRouteManager(configInfo); } [Obsolete] @@ -114,7 +132,8 @@ public static IServiceBuilder UseConsulManager(this IServiceBuilder builder) return builder.UseConsulRouteManager(configInfo) .UseConsulServiceSubscribeManager(configInfo) .UseConsulCommandManager(configInfo) - .UseConsulCacheManager(configInfo).UseConsulWatch(configInfo); + .UseConsulCacheManager(configInfo).UseConsulWatch(configInfo) + .UseConsulMqttRouteManager(configInfo); } @@ -137,6 +156,7 @@ private static ConfigInfo GetConfigInfo(ConfigInfo config) option.SubscriberPath ?? config.SubscriberPath, option.CommandPath ?? config.CommandPath, option.CachePath ?? config.CachePath, + option.MqttRoutePath ?? config.MqttRoutePath, option.ReloadOnChange != null ? bool.Parse(option.ReloadOnChange) : config.ReloadOnChange, option.EnableChildrenMonitor != null ? bool.Parse(option.EnableChildrenMonitor) : diff --git a/src/Surging.Core/Surging.Core.Consul/Surging.Core.Consul.csproj b/src/Surging.Core/Surging.Core.Consul/Surging.Core.Consul.csproj index a50871eb4..31a686c30 100644 --- a/src/Surging.Core/Surging.Core.Consul/Surging.Core.Consul.csproj +++ b/src/Surging.Core/Surging.Core.Consul/Surging.Core.Consul.csproj @@ -3,17 +3,17 @@ netcoreapp2.1 fanly - 0.9.0.2 + 1.0.0.0 surging Micro Service Framework Copyright © fanly All Rights Reserved - 1.Support for hot-swap engine components + 1. fix bug surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 0.9.0.2 - 0.9.0.2 + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/NodeMonitorWatcher.cs b/src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/NodeMonitorWatcher.cs index f4ea43d54..0a40a0e4d 100644 --- a/src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/NodeMonitorWatcher.cs +++ b/src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/NodeMonitorWatcher.cs @@ -14,12 +14,15 @@ class NodeMonitorWatcher : WatcherBase private readonly ConsulClient _client; private readonly string _path; private byte[] _currentData = new byte[0]; - public NodeMonitorWatcher(ConsulClient client, IClientWatchManager manager, string path, Action action) + Func _allowChange; + public NodeMonitorWatcher(ConsulClient client, IClientWatchManager manager, string path, + Action action,Func allowChange) { this._action = action; _manager = manager; _client = client; _path = path; + _allowChange = allowChange; RegisterWatch(); } @@ -32,6 +35,7 @@ public NodeMonitorWatcher SetCurrentData(byte[] currentData) protected override async Task ProcessImpl() { RegisterWatch(this); + if (_allowChange!=null&&! _allowChange(_path)) return; var result = await _client.GetDataAsync(_path); if (result != null) { diff --git a/src/Surging.Core/Surging.Core.DotNetty/Adapter/TransportMessageChannelHandlerAdapter.cs b/src/Surging.Core/Surging.Core.DotNetty/Adapter/TransportMessageChannelHandlerAdapter.cs index 975f790a3..ae6b76c9c 100644 --- a/src/Surging.Core/Surging.Core.DotNetty/Adapter/TransportMessageChannelHandlerAdapter.cs +++ b/src/Surging.Core/Surging.Core.DotNetty/Adapter/TransportMessageChannelHandlerAdapter.cs @@ -1,5 +1,4 @@ using DotNetty.Buffers; -using DotNetty.Codecs.Http; using DotNetty.Common.Utilities; using DotNetty.Transport.Channels; using Surging.Core.CPlatform.Transport.Codec; diff --git a/src/Surging.Core/Surging.Core.DotNetty/DotNettyServerMessageListener.cs b/src/Surging.Core/Surging.Core.DotNetty/DotNettyServerMessageListener.cs index a2fbb1652..6e3d94ef4 100644 --- a/src/Surging.Core/Surging.Core.DotNetty/DotNettyServerMessageListener.cs +++ b/src/Surging.Core/Surging.Core.DotNetty/DotNettyServerMessageListener.cs @@ -3,7 +3,9 @@ using DotNetty.Transport.Bootstrapping; using DotNetty.Transport.Channels; using DotNetty.Transport.Channels.Sockets; +using DotNetty.Transport.Libuv; using Microsoft.Extensions.Logging; +using Surging.Core.CPlatform; using Surging.Core.CPlatform.Messages; using Surging.Core.CPlatform.Transport; using Surging.Core.CPlatform.Transport.Codec; @@ -60,15 +62,28 @@ public async Task StartAsync(EndPoint endPoint) if (_logger.IsEnabled(LogLevel.Debug)) _logger.LogDebug($"准备启动服务主机,监听地址:{endPoint}。"); - var bossGroup = new MultithreadEventLoopGroup(1); - var workerGroup = new MultithreadEventLoopGroup();//Default eventLoopCount is Environment.ProcessorCount * 2 + IEventLoopGroup bossGroup = new MultithreadEventLoopGroup(1); + IEventLoopGroup workerGroup = new MultithreadEventLoopGroup();//Default eventLoopCount is Environment.ProcessorCount * 2 var bootstrap = new ServerBootstrap(); + + if (AppConfig.ServerOptions.Libuv) + { + var dispatcher = new DispatcherEventLoopGroup(); + bossGroup = dispatcher; + workerGroup = new WorkerEventLoopGroup(dispatcher); + bootstrap.Channel(); + } + else + { + bossGroup = new MultithreadEventLoopGroup(1); + workerGroup = new MultithreadEventLoopGroup(); + bootstrap.Channel(); + } bootstrap - .Group(bossGroup, workerGroup) - .Channel() - .Option(ChannelOption.SoBacklog, 100) + .Option(ChannelOption.SoBacklog, AppConfig.ServerOptions.SoBacklog) .ChildOption(ChannelOption.Allocator, PooledByteBufferAllocator.Default) - .ChildHandler(new ActionChannelInitializer(channel => + .Group(bossGroup, workerGroup) + .ChildHandler(new ActionChannelInitializer(channel => { var pipeline = channel.Pipeline; pipeline.AddLast(new LengthFieldPrepender(4)); diff --git a/src/Surging.Core/Surging.Core.DotNetty/DotNettyTransportClientFactory.cs b/src/Surging.Core/Surging.Core.DotNetty/DotNettyTransportClientFactory.cs index 5d711b922..47889fac1 100644 --- a/src/Surging.Core/Surging.Core.DotNetty/DotNettyTransportClientFactory.cs +++ b/src/Surging.Core/Surging.Core.DotNetty/DotNettyTransportClientFactory.cs @@ -4,6 +4,7 @@ using DotNetty.Transport.Bootstrapping; using DotNetty.Transport.Channels; using DotNetty.Transport.Channels.Sockets; +using DotNetty.Transport.Libuv; using Microsoft.Extensions.Logging; using Surging.Core.CPlatform; using Surging.Core.CPlatform.Messages; @@ -120,12 +121,24 @@ public void Dispose() private static Bootstrap GetBootstrap() { + IEventLoopGroup group; + var bootstrap = new Bootstrap(); + if (AppConfig.ServerOptions.Libuv) + { + group = new EventLoopGroup(); + bootstrap.Channel(); + } + else + { + group = new MultithreadEventLoopGroup(); + bootstrap.Channel(); + } bootstrap .Channel() .Option(ChannelOption.TcpNodelay, true) .Option(ChannelOption.Allocator, PooledByteBufferAllocator.Default) - .Group(new MultithreadEventLoopGroup(1)); + .Group(group); return bootstrap; } diff --git a/src/Surging.Core/Surging.Core.DotNetty/Surging.Core.DotNetty.csproj b/src/Surging.Core/Surging.Core.DotNetty/Surging.Core.DotNetty.csproj index 8294ac123..4abc8bf06 100644 --- a/src/Surging.Core/Surging.Core.DotNetty/Surging.Core.DotNetty.csproj +++ b/src/Surging.Core/Surging.Core.DotNetty/Surging.Core.DotNetty.csproj @@ -2,24 +2,24 @@ netcoreapp2.1 - 0.9.0.2 + 1.0.0.0 surging Micro Service Framework fanly Copyright © fanly All Rights Reserved. https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging - 1.Support for hot-swap engine components + 1. fix bug MicroService surging surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec - 0.9.0.2 - 0.9.0.2 + 1.0.0.0 + 1.0.0.0 - - + + diff --git a/src/Surging.Core/Surging.Core.EventBusKafka/Configurations/EventBusConfigurationExtensions.cs b/src/Surging.Core/Surging.Core.EventBusKafka/Configurations/EventBusConfigurationExtensions.cs index f7aa6f972..93dda75d2 100644 --- a/src/Surging.Core/Surging.Core.EventBusKafka/Configurations/EventBusConfigurationExtensions.cs +++ b/src/Surging.Core/Surging.Core.EventBusKafka/Configurations/EventBusConfigurationExtensions.cs @@ -12,20 +12,25 @@ public static class EventBusConfigurationExtensions { public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, string path) { - return AddEventBusFile(builder, provider: null, path: path, optional: false, reloadOnChange: false); + return AddEventBusFile(builder, provider: null, path: path, basePath: null, optional: false, reloadOnChange: false); } public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, string path, bool optional) { - return AddEventBusFile(builder, provider: null, path: path, optional: optional, reloadOnChange: false); + return AddEventBusFile(builder, provider: null, path: path, basePath: null, optional: optional, reloadOnChange: false); } public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, string path, bool optional, bool reloadOnChange) { - return AddEventBusFile(builder, provider: null, path: path, optional: optional, reloadOnChange: reloadOnChange); + return AddEventBusFile(builder, provider: null, path: path, basePath:null, optional: optional, reloadOnChange: reloadOnChange); } - public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, IFileProvider provider, string path, bool optional, bool reloadOnChange) + public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, string path,string basePath, bool optional, bool reloadOnChange) + { + return AddEventBusFile(builder, provider: null, path: path, basePath:basePath, optional: optional, reloadOnChange: reloadOnChange); + } + + public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, IFileProvider provider, string path,string basePath, bool optional, bool reloadOnChange) { Check.NotNull(builder, "builder"); Check.CheckCondition(() => string.IsNullOrEmpty(path), "path"); @@ -34,7 +39,7 @@ public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder b { provider = new PhysicalFileProvider(Path.GetDirectoryName(path)); path = Path.GetFileName(path); - } + } var source = new EventBusConfigurationSource { FileProvider = provider, @@ -43,6 +48,8 @@ public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder b ReloadOnChange = reloadOnChange }; builder.Add(source); + if (!string.IsNullOrEmpty(basePath)) + builder.SetBasePath(basePath); AppConfig.Configuration = builder.Build(); return builder; } diff --git a/src/Surging.Core/Surging.Core.EventBusKafka/IConsumeConfigurator.cs b/src/Surging.Core/Surging.Core.EventBusKafka/IConsumeConfigurator.cs index f63a3ee24..1bda6e9dc 100644 --- a/src/Surging.Core/Surging.Core.EventBusKafka/IConsumeConfigurator.cs +++ b/src/Surging.Core/Surging.Core.EventBusKafka/IConsumeConfigurator.cs @@ -7,5 +7,7 @@ namespace Surging.Core.EventBusKafka public interface IConsumeConfigurator { void Configure(List consumers); + + void Unconfigure(List consumers); } } diff --git a/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/DefaultConsumeConfigurator.cs b/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/DefaultConsumeConfigurator.cs index 66f75d4b1..93e5e1b8f 100644 --- a/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/DefaultConsumeConfigurator.cs +++ b/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/DefaultConsumeConfigurator.cs @@ -48,6 +48,34 @@ public void Configure(List consumers) } } + public void Unconfigure(List consumers) + { + foreach (var consumer in consumers) + { + if (consumer.GetTypeInfo().IsGenericType) + { + continue; + } + var consumerType = consumer.GetInterfaces() + .Where( + d => + d.GetTypeInfo().IsGenericType && + d.GetGenericTypeDefinition() == typeof(IIntegrationEventHandler<>)) + .Select(d => d.GetGenericArguments().Single()) + .First(); + try + { + var type = consumer; + this.FastInvoke(new[] { consumerType, consumer }, + x => x.RemoveConsumer>()); + } + catch (Exception ex) + { + throw ex; + } + } + } + protected void ConsumerTo() where TConsumer : IIntegrationEventHandler where TEvent : class @@ -55,6 +83,13 @@ protected void ConsumerTo() _eventBus.Subscribe (() => (TConsumer)_container.GetInstances(typeof(TConsumer))); } + + protected void RemoveConsumer() + where TConsumer : IIntegrationEventHandler + where TEvent : class + { + _eventBus.Unsubscribe(); + } } } diff --git a/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/EventBusKafka.cs b/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/EventBusKafka.cs index 4dfdbffc8..cd8f9e9ed 100644 --- a/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/EventBusKafka.cs +++ b/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/EventBusKafka.cs @@ -22,6 +22,8 @@ public class EventBusKafka : IEventBus, IDisposable private readonly IKafkaPersisterConnection _producerConnection; private readonly IKafkaPersisterConnection _consumerConnection; + public event EventHandler OnShutdown; + public EventBusKafka( ILogger logger, IEventBusSubscriptionsManager subsManager, CPlatformContainer serviceProvider) diff --git a/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/KafkaSubscriptionAdapt.cs b/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/KafkaSubscriptionAdapt.cs index 9df027943..2b93e42f8 100644 --- a/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/KafkaSubscriptionAdapt.cs +++ b/src/Surging.Core/Surging.Core.EventBusKafka/Implementation/KafkaSubscriptionAdapt.cs @@ -21,6 +21,11 @@ public void SubscribeAt() _consumeConfigurator.Configure(GetQueueConsumers()); } + public void Unsubscribe() + { + _consumeConfigurator.Unconfigure(GetQueueConsumers()); + } + #region 私有方法 private List GetQueueConsumers() { diff --git a/src/Surging.Core/Surging.Core.EventBusKafka/Surging.Core.EventBusKafka.csproj b/src/Surging.Core/Surging.Core.EventBusKafka/Surging.Core.EventBusKafka.csproj index 2f89eb240..a980ae933 100644 --- a/src/Surging.Core/Surging.Core.EventBusKafka/Surging.Core.EventBusKafka.csproj +++ b/src/Surging.Core/Surging.Core.EventBusKafka/Surging.Core.EventBusKafka.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - 0.9.0.2 + 1.0.0.0 fanly fanly surging Micro Service Framework @@ -10,10 +10,10 @@ Copyright © fanly All Rights Reserved. https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging - 1.Support for hot-swap engine components + 1. fix bug MicroService surging - 0.9.0.2 - 0.9.0.2 + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Configurations/EventBusConfigurationExtensions.cs b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Configurations/EventBusConfigurationExtensions.cs index cdf6b2c17..a155a4f42 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Configurations/EventBusConfigurationExtensions.cs +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Configurations/EventBusConfigurationExtensions.cs @@ -12,20 +12,25 @@ public static class EventBusConfigurationExtensions { public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, string path) { - return AddEventBusFile(builder, provider: null, path: path, optional: false, reloadOnChange: false); + return AddEventBusFile(builder, provider: null, path: path, basePath: null, optional: false, reloadOnChange: false); } public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, string path, bool optional) { - return AddEventBusFile(builder, provider: null, path: path, optional: optional, reloadOnChange: false); + return AddEventBusFile(builder, provider: null, path: path, basePath: null, optional: optional, reloadOnChange: false); } public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, string path, bool optional, bool reloadOnChange) { - return AddEventBusFile(builder, provider: null, path: path, optional: optional, reloadOnChange: reloadOnChange); + return AddEventBusFile(builder, provider: null, path: path,basePath:null, optional: optional, reloadOnChange: reloadOnChange); } - public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, IFileProvider provider, string path, bool optional, bool reloadOnChange) + public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, string path,string basePath, bool optional, bool reloadOnChange) + { + return AddEventBusFile(builder, provider: null, path: path, basePath:basePath, optional: optional, reloadOnChange: reloadOnChange); + } + + public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder builder, IFileProvider provider, string path,string basePath, bool optional, bool reloadOnChange) { Check.NotNull(builder, "builder"); Check.CheckCondition(() => string.IsNullOrEmpty(path), "path"); @@ -34,6 +39,7 @@ public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder b provider = new PhysicalFileProvider(Path.GetDirectoryName(path)); path = Path.GetFileName(path); } + var source = new EventBusConfigurationSource { FileProvider = provider, @@ -42,6 +48,8 @@ public static IConfigurationBuilder AddEventBusFile(this IConfigurationBuilder b ReloadOnChange = reloadOnChange }; builder.Add(source); + if (!string.IsNullOrEmpty(basePath)) + builder.SetBasePath(basePath); AppConfig.Configuration = builder.Build(); return builder; } diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/EventBusRabbitMQModule.cs b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/EventBusRabbitMQModule.cs index 3a1a7546d..0f07be99d 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/EventBusRabbitMQModule.cs +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/EventBusRabbitMQModule.cs @@ -12,6 +12,7 @@ using System.Collections.Generic; using Microsoft.Extensions.DependencyInjection; using Surging.Core.CPlatform.EventBus.Implementation; +using Surging.Core.CPlatform.Routing; namespace Surging.Core.EventBusRabbitMQ { @@ -20,7 +21,15 @@ public class EventBusRabbitMQModule : EnginePartModule public override void Initialize(CPlatformContainer serviceProvider) { base.Initialize(serviceProvider); - serviceProvider.GetInstances().SubscribeAt(); + new ServiceRouteWatch(serviceProvider.GetInstances(), () => + { + var subscriptionAdapt = serviceProvider.GetInstances(); + serviceProvider.GetInstances().OnShutdown += (sender, args) => + { + subscriptionAdapt.Unsubscribe(); + }; + serviceProvider.GetInstances().SubscribeAt(); + }); } /// diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/IConsumeConfigurator.cs b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/IConsumeConfigurator.cs index 0c67dcd34..451299996 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/IConsumeConfigurator.cs +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/IConsumeConfigurator.cs @@ -7,5 +7,7 @@ namespace Surging.Core.EventBusRabbitMQ public interface IConsumeConfigurator { void Configure(List consumers); + + void Unconfigure(List consumers); } } diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/IRabbitMQPersisterConnection.cs b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/IRabbitMQPersisterConnection.cs index 9938e1682..1b32ccf92 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/IRabbitMQPersisterConnection.cs +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/IRabbitMQPersisterConnection.cs @@ -13,5 +13,7 @@ public interface IRabbitMQPersistentConnection bool TryConnect(); IModel CreateModel(); + + event EventHandler OnRabbitConnectionShutdown; } } \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultConsumeConfigurator.cs b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultConsumeConfigurator.cs index b7575194d..485b3cb4b 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultConsumeConfigurator.cs +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultConsumeConfigurator.cs @@ -46,7 +46,35 @@ public void Configure(List consumers) } } } - + + public void Unconfigure(List consumers) + { + foreach (var consumer in consumers) + { + if (consumer.GetTypeInfo().IsGenericType) + { + continue; + } + var consumerType = consumer.GetInterfaces() + .Where( + d => + d.GetTypeInfo().IsGenericType && + d.GetGenericTypeDefinition() == typeof(IIntegrationEventHandler<>)) + .Select(d => d.GetGenericArguments().Single()) + .First(); + try + { + var type = consumer; + this.FastInvoke(new[] { consumerType, consumer }, + x => x.RemoveConsumer>()); + } + catch (Exception ex) + { + throw ex; + } + } + } + protected void ConsumerTo() where TConsumer : IIntegrationEventHandler where TEvent : class @@ -54,5 +82,12 @@ protected void ConsumerTo() _eventBus.Subscribe (() => (TConsumer)_container.GetInstances(typeof(TConsumer))); } + + protected void RemoveConsumer() + where TConsumer : IIntegrationEventHandler + where TEvent : class + { + _eventBus.Unsubscribe(); + } } } diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultRabbitMQPersisterConnection.cs b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultRabbitMQPersisterConnection.cs index 2aa010de9..b9eb5c86e 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultRabbitMQPersisterConnection.cs +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultRabbitMQPersisterConnection.cs @@ -4,6 +4,7 @@ using RabbitMQ.Client; using RabbitMQ.Client.Events; using RabbitMQ.Client.Exceptions; +using Surging.Core.CPlatform.EventBus; using System; using System.Collections.Generic; using System.IO; @@ -17,13 +18,15 @@ public class DefaultRabbitMQPersistentConnection { private readonly IConnectionFactory _connectionFactory; private readonly ILogger _logger; - IConnection _connection; bool _disposed; object sync_root = new object(); - public DefaultRabbitMQPersistentConnection(IConnectionFactory connectionFactory, ILogger logger) + public event EventHandler OnRabbitConnectionShutdown; + + public DefaultRabbitMQPersistentConnection(IConnectionFactory connectionFactory, + ILogger logger) { _connectionFactory = connectionFactory ?? throw new ArgumentNullException(nameof(connectionFactory)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); @@ -81,6 +84,7 @@ public bool TryConnect() { _connection = _connectionFactory .CreateConnection(); + }); if (IsConnected) @@ -124,7 +128,7 @@ void OnConnectionShutdown(object sender, ShutdownEventArgs reason) if (_disposed) return; _logger.LogWarning("A RabbitMQ connection is on shutdown. Trying to re-connect..."); - + OnRabbitConnectionShutdown(sender, reason); TryConnect(); } } diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/EventBusRabbitMQ.cs b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/EventBusRabbitMQ.cs index 122e80e3b..20aa268bc 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/EventBusRabbitMQ.cs +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/EventBusRabbitMQ.cs @@ -36,7 +36,8 @@ public class EventBusRabbitMQ : IEventBus, IDisposable private readonly IDictionary _exchanges; private IDictionary, IModel> _consumerChannels; - private string _queueName; + + public event EventHandler OnShutdown; public EventBusRabbitMQ(IRabbitMQPersistentConnection persistentConnection, ILogger logger, IEventBusSubscriptionsManager subsManager) { @@ -53,7 +54,7 @@ public EventBusRabbitMQ(IRabbitMQPersistentConnection persistentConnection, ILog _persistentConnection = persistentConnection ?? throw new ArgumentNullException(nameof(persistentConnection)); _logger = logger ?? throw new ArgumentNullException(nameof(logger)); _subsManager = subsManager ?? new InMemoryEventBusSubscriptionsManager(); - + _persistentConnection.OnRabbitConnectionShutdown += PersistentConnection_OnEventShutDown; _subsManager.OnEventRemoved += SubsManager_OnEventRemoved; } @@ -69,15 +70,6 @@ private void SubsManager_OnEventRemoved(object sender, ValueTuple(Func handler) foreach (var modeName in _modeNames) { var mode = Enum.Parse(modeName); + string queueName = ""; if (mode != QueueConsumerMode.Normal) queueName = $"{queueConsumerAttr.QueueName}@{mode.ToString()}"; else queueName = queueConsumerAttr.QueueName; - _consumerChannels.Add(new Tuple(queueName, mode), + var key = new Tuple(queueName, mode); + if (_consumerChannels.ContainsKey(key)) + { + _consumerChannels[key].Close(); + _consumerChannels.Remove(key); + } + _consumerChannels.Add(key, CreateConsumerChannel(queueConsumerAttr, eventName, mode)); channel.QueueBind(queue: queueName, exchange: _exchanges[mode], - routingKey: eventName); + routingKey: eventName); } } } - _subsManager.AddSubscription(handler, queueConsumerAttr.QueueName); + if (!_subsManager.HasSubscriptionsForEvent()) + _subsManager.AddSubscription(handler, queueConsumerAttr.QueueName); } public void Unsubscribe() where TH : IIntegrationEventHandler { - _subsManager.RemoveSubscription(); + if (_subsManager.HasSubscriptionsForEvent()) + _subsManager.RemoveSubscription(); } private static Func FindHandlerByType(Type handlerType, IEnumerable> handlers) @@ -244,13 +245,15 @@ private IModel CreateConsumerChannel(string queueName, bool bindConsumer) channel.BasicConsume(queue: queueName, autoAck: false, consumer: consumer); + channel.CallbackException += (sender, ea) => + { + var key = new Tuple(queueName, mode); + _consumerChannels[key].Dispose(); + _consumerChannels[key] = CreateConsumerChannel(queueName, bindConsumer); + }; } - channel.CallbackException += (sender, ea) => - { - var key = new Tuple(queueName, mode); - _consumerChannels[key].Dispose(); - _consumerChannels[key] = CreateConsumerChannel(queueName, bindConsumer); - }; + else + channel.Close(); return channel; } @@ -283,13 +286,17 @@ private IModel CreateRetryConsumerChannel(string queueName, string routeKey, boo channel.BasicConsume(queue: retryQueueName, autoAck: false, consumer: consumer); + channel.CallbackException += (sender, ea) => + { + var key = new Tuple(queueName, mode); + _consumerChannels[key].Dispose(); + _consumerChannels[key] = CreateRetryConsumerChannel(queueName, routeKey, bindConsumer); + }; } - channel.CallbackException += (sender, ea) => - { - var key = new Tuple(queueName, mode); - _consumerChannels[key].Dispose(); - _consumerChannels[key] = CreateRetryConsumerChannel(queueName, routeKey, bindConsumer); - }; + else + channel.Close(); + + return channel; } @@ -318,13 +325,16 @@ private IModel CreateFailConsumerChannel(string queueName, bool bindConsumer) channel.BasicConsume(queue: failQueueName, autoAck: false, consumer: consumer); + channel.CallbackException += (sender, ea) => + { + var key = new Tuple(queueName, mode); + _consumerChannels[key].Dispose(); + _consumerChannels[key] = CreateFailConsumerChannel(queueName, bindConsumer); + }; } - channel.CallbackException += (sender, ea) => - { - var key = new Tuple(queueName, mode); - _consumerChannels[key].Dispose(); - _consumerChannels[key] = CreateFailConsumerChannel(queueName, bindConsumer); - }; + else + channel.Close(); + return channel; } @@ -501,5 +511,10 @@ private FastInvokeHandler GetHandler(string key, MethodInfo method) } return objInstance as FastInvokeHandler; } + + private void PersistentConnection_OnEventShutDown(object sender, ShutdownEventArgs reason) + { + OnShutdown(this,new EventArgs()); + } } } diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/RabbitMqSubscriptionAdapt.cs b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/RabbitMqSubscriptionAdapt.cs index 20e2c1d8c..ecb0e415b 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/RabbitMqSubscriptionAdapt.cs +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/RabbitMqSubscriptionAdapt.cs @@ -24,6 +24,12 @@ public void SubscribeAt() _consumeConfigurator.Configure(GetQueueConsumers()); } + public void Unsubscribe() + { + _consumeConfigurator.Unconfigure(GetQueueConsumers()); + } + + #region 私有方法 private List GetQueueConsumers() { diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/ServiceHostBuilderExtensions.cs b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/ServiceHostBuilderExtensions.cs index bee3161b7..626ba2ef3 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/ServiceHostBuilderExtensions.cs +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/ServiceHostBuilderExtensions.cs @@ -2,6 +2,9 @@ using Surging.Core.ServiceHosting.Internal; using Autofac; using Surging.Core.CPlatform.Engines; +using Surging.Core.CPlatform; +using Surging.Core.CPlatform.Routing; +using Surging.Core.CPlatform.EventBus.Implementation; namespace Surging.Core.EventBusRabbitMQ { @@ -14,6 +17,15 @@ public static IServiceHostBuilder SubscribeAt(this IServiceHostBuilder hostBuild mapper.Resolve().ServiceEngineStarted.Register(() => { mapper.Resolve().SubscribeAt(); + new ServiceRouteWatch(mapper.Resolve(), () => + { + var subscriptionAdapt = mapper.Resolve(); + mapper.Resolve().OnShutdown += (sender, args) => + { + subscriptionAdapt.Unsubscribe(); + }; + mapper.Resolve().SubscribeAt(); + }); }); }); } diff --git a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Surging.Core.EventBusRabbitMQ.csproj b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Surging.Core.EventBusRabbitMQ.csproj index ea2148ed3..900e7cbbb 100644 --- a/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Surging.Core.EventBusRabbitMQ.csproj +++ b/src/Surging.Core/Surging.Core.EventBusRabbitMQ/Surging.Core.EventBusRabbitMQ.csproj @@ -3,7 +3,7 @@ netcoreapp2.1 surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec - 0.9.0.2 + 1.0.0.0 fanly surging Micro Service Framework @@ -11,9 +11,9 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 0.9.0.2 - 0.2.0.2 - 1.Support for hot-swap engine components + 1.0.0.0 + 1.0.0.0 + 1.fix bug diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionContext.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionContext.cs new file mode 100644 index 000000000..55eac5bbf --- /dev/null +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionContext.cs @@ -0,0 +1,22 @@ +using Microsoft.AspNetCore.Http; +using Surging.Core.CPlatform.Messages; +using Surging.Core.CPlatform.Runtime.Server; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.KestrelHttpServer +{ + public class ActionContext + { + public ActionContext() + { + + } + + public HttpContext HttpContext { get; set; } + + public TransportMessage Message { get; set; } + + } +} diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionResult.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionResult.cs index 92d7df281..04e15f703 100644 --- a/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionResult.cs +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionResult.cs @@ -1,10 +1,21 @@ using System; using System.Collections.Generic; using System.Text; +using System.Threading.Tasks; -namespace Surging.Core.KestrelHttpServer.Abstractions +namespace Surging.Core.KestrelHttpServer { - class ActionResult + public abstract class ActionResult: IActionResult { + public virtual Task ExecuteResultAsync(ActionContext context) + { + ExecuteResult(context); + return Task.CompletedTask; + } + + + public virtual void ExecuteResult(ActionContext context) + { + } } } diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ContentResult.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ContentResult.cs index a2f2b4b6d..db68d73bd 100644 --- a/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ContentResult.cs +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ContentResult.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Text; -namespace Surging.Core.KestrelHttpServer.Abstractions +namespace Surging.Core.KestrelHttpServer { class ContentResult { diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileContentResult.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileContentResult.cs new file mode 100644 index 000000000..86a04fa6d --- /dev/null +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileContentResult.cs @@ -0,0 +1,90 @@ +using Microsoft.AspNetCore.Http; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Net.Http.Headers; +using System.IO; +using Surging.Core.KestrelHttpServer.Internal; + +namespace Surging.Core.KestrelHttpServer +{ + public class FileContentResult : FileResult + { + private byte[] _fileContents; + protected const int BufferSize = 64 * 1024; + + public FileContentResult(byte[] fileContents, string contentType) + : this(fileContents, MediaTypeHeaderValue.Parse(contentType)) + { + if (fileContents == null) + { + throw new ArgumentNullException(nameof(fileContents)); + } + } + + public FileContentResult(byte[] fileContents, string contentType,string fileDownloadName) + : this(fileContents, MediaTypeHeaderValue.Parse(contentType)) + { + if (fileContents == null) + { + throw new ArgumentNullException(nameof(fileContents)); + } + if (fileDownloadName == null) + { + throw new ArgumentNullException(nameof(fileDownloadName)); + } + this.FileDownloadName = fileDownloadName; + } + + public FileContentResult(byte[] fileContents, MediaTypeHeaderValue contentType) + : base(contentType?.ToString()) + { + if (fileContents == null) + { + throw new ArgumentNullException(nameof(fileContents)); + } + + FileContents = fileContents; + } + + public byte[] FileContents + { + get => _fileContents; + set + { + if (value == null) + { + throw new ArgumentNullException(nameof(value)); + } + + _fileContents = value; + } + } + + public override async Task ExecuteResultAsync(ActionContext context) + { + if (context == null) + { + throw new ArgumentNullException(nameof(context)); + } + + try + { + var contentDisposition = new ContentDispositionHeaderValue("attachment"); + contentDisposition.SetHttpFileName(FileDownloadName); + var httpResponse = context.HttpContext.Response; + + httpResponse.Headers.Add("Content-Type", this.ContentType); + httpResponse.Headers.Add("Content-Length", FileContents.Length.ToString()); + httpResponse.Headers[HeaderNames.ContentDisposition] = contentDisposition.ToString(); + using (var stream = new MemoryStream(FileContents)) + await StreamCopyOperation.CopyToAsync(stream, httpResponse.Body, count: null, bufferSize: BufferSize, cancel: context.HttpContext.RequestAborted); + } + catch (OperationCanceledException) + { + context.HttpContext.Abort(); + } + } + } +} diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileResult.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileResult.cs index 8b65413d3..0f1a74a5f 100644 --- a/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileResult.cs +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileResult.cs @@ -4,7 +4,7 @@ namespace Surging.Core.KestrelHttpServer { - public abstract class FileResult + public abstract class FileResult: ActionResult { private string _fileDownloadName; diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/IActionResult.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/IActionResult.cs new file mode 100644 index 000000000..ced3e7bbd --- /dev/null +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/IActionResult.cs @@ -0,0 +1,13 @@ +using Microsoft.AspNetCore.Http; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.KestrelHttpServer +{ + public interface IActionResult + { + Task ExecuteResultAsync(ActionContext context); + } +} diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/Builder/MvcApplicationBuilderExtensions.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/Builder/MvcApplicationBuilderExtensions.cs deleted file mode 100644 index 33f08ac39..000000000 --- a/src/Surging.Core/Surging.Core.KestrelHttpServer/Builder/MvcApplicationBuilderExtensions.cs +++ /dev/null @@ -1,49 +0,0 @@ -using Microsoft.AspNetCore.Builder; -using Microsoft.Extensions.DependencyInjection; -using Surging.Core.CPlatform.Runtime.Server; -using System; -using System.Collections.Generic; -using System.Text; - -namespace Surging.Core.KestrelHttpServer.Builder -{ - public static class MvcApplicationBuilderExtensions - { - private const string EndpointRoutingRegisteredKey = "__EndpointRoutingMiddlewareRegistered"; - - /// - /// Adds MVC to the request execution pipeline. - /// - /// The . - /// A reference to this instance after the operation has completed. - /// This method only supports attribute routing. To add conventional routes use - /// . - public static IApplicationBuilder UseWebService(this IApplicationBuilder app) - { - if (app == null) - { - throw new ArgumentNullException(nameof(app)); - } - - //app.ApplicationServices.GetRequiredService<> - return app.UseWebService(routes => - { - //routes.get - }); - } - - - /// - /// Adds MVC to the request execution pipeline. - /// - /// The . - /// A callback to configure MVC routes. - /// A reference to this instance after the operation has completed. - public static IApplicationBuilder UseWebService( - this IApplicationBuilder app, - Action configureRoutes) - { - return app; - } - } -} diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/HttpMessageListener.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/HttpMessageListener.cs index f119eff14..d93ab3b5a 100644 --- a/src/Surging.Core/Surging.Core.KestrelHttpServer/HttpMessageListener.cs +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/HttpMessageListener.cs @@ -38,9 +38,8 @@ public async Task OnReceived(IMessageSender sender, TransportMessage message) public async Task OnReceived(IMessageSender sender, HttpContext context) { - var routePath = GetRoutePath(context.Request.Path.ToString()); - IDictionary parameters = context.Request.Query.ToDictionary(p => p.Key.ToLower(), p => (object)p.Value.ToString()); + IDictionary parameters = context.Request.Query.ToDictionary(p => p.Key,p => (object)p.Value.ToString()); parameters.Remove("servicekey", out object serviceKey); if (context.Request.HasFormContentType) { diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/HttpServerMessageSender.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/HttpServerMessageSender.cs index 24c8ff416..74978dc8e 100644 --- a/src/Surging.Core/Surging.Core.KestrelHttpServer/HttpServerMessageSender.cs +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/HttpServerMessageSender.cs @@ -18,33 +18,51 @@ public HttpServerMessageSender(ISerializer serializer,HttpContext httpC _serializer = serializer; _context = httpContext; } - + public async Task SendAndFlushAsync(TransportMessage message) { - var text = _serializer.Serialize(message.Content); - var data = Encoding.UTF8.GetBytes(text); - var contentLength = data.Length; - _context.Response.Headers.Add("Content-Type", "application/json"); - _context.Response.Headers.Add("Content-Length", contentLength.ToString()); - await _context.Response.WriteAsync(text); + var httpMessage = message.GetContent>(); + var actionResult= httpMessage.Entity as IActionResult; + if (actionResult == null) + { + var text = _serializer.Serialize(message.Content); + var data = Encoding.UTF8.GetBytes(text); + var contentLength = data.Length; + _context.Response.Headers.Add("Content-Type", "application/json"); + _context.Response.Headers.Add("Content-Length", contentLength.ToString()); + await _context.Response.WriteAsync(text); + } + else + { + await actionResult.ExecuteResultAsync(new ActionContext + { + HttpContext = _context, + Message = message + }); + } } public async Task SendAsync(TransportMessage message) { - var text = _serializer.Serialize(message); - var data = Encoding.UTF8.GetBytes(_serializer.Serialize(text)); - var contentLength = data.Length; - _context.Response.Headers.Add("Content-type", "application/json"); - _context.Response.Headers.Add("Content-Length", contentLength.ToString()); - await _context.Response.WriteAsync(text); - - - } - - private async Task WriteResponse(HttpContext context, TransportMessage message) - { - await context.Response.WriteAsync("hello, world"); - await context.Response.Body.FlushAsync(); + var actionResult = message.GetContent(); + if (actionResult == null) + { + var text = _serializer.Serialize(message); + var data = Encoding.UTF8.GetBytes(_serializer.Serialize(text)); + var contentLength = data.Length; + _context.Response.Headers.Add("Content-type", "application/json"); + _context.Response.Headers.Add("Content-Length", contentLength.ToString()); + await _context.Response.WriteAsync(text); + } + else + { + await actionResult.ExecuteResultAsync(new ActionContext + { + HttpContext = _context, + Message = message + }); + } } + } } diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/StreamCopyOperation.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/StreamCopyOperation.cs new file mode 100644 index 000000000..93ae2542a --- /dev/null +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/StreamCopyOperation.cs @@ -0,0 +1,239 @@ +using System; +using System.Buffers; +using System.Collections.Generic; +using System.Diagnostics; +using System.Diagnostics.CodeAnalysis; +using System.Diagnostics.Contracts; +using System.IO; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace Surging.Core.KestrelHttpServer.Internal +{ + internal class StreamCopyOperation + { + private const int DefaultBufferSize = 1024 * 16; + + private readonly TaskCompletionSource _tcs; + private readonly Stream _source; + private readonly Stream _destination; + private readonly byte[] _buffer; + private readonly AsyncCallback _readCallback; + private readonly AsyncCallback _writeCallback; + + private long? _bytesRemaining; + private CancellationToken _cancel; + + internal StreamCopyOperation(Stream source, Stream destination, long? bytesRemaining, CancellationToken cancel) + : this(source, destination, bytesRemaining, DefaultBufferSize, cancel) + { + } + + internal StreamCopyOperation(Stream source, Stream destination, long? bytesRemaining, int bufferSize, CancellationToken cancel) + : this(source, destination, bytesRemaining, new byte[bufferSize], cancel) + { + } + + internal StreamCopyOperation(Stream source, Stream destination, long? bytesRemaining, byte[] buffer, CancellationToken cancel) + { + Contract.Assert(source != null); + Contract.Assert(destination != null); + Contract.Assert(!bytesRemaining.HasValue || bytesRemaining.Value >= 0); + Contract.Assert(buffer != null); + + _source = source; + _destination = destination; + _bytesRemaining = bytesRemaining; + _cancel = cancel; + _buffer = buffer; + + _tcs = new TaskCompletionSource(); + _readCallback = new AsyncCallback(ReadCallback); + _writeCallback = new AsyncCallback(WriteCallback); + } + + public static async Task CopyToAsync(Stream source, Stream destination, long? count, int bufferSize, CancellationToken cancel) + { + long? bytesRemaining = count; + + var buffer = ArrayPool.Shared.Rent(bufferSize); + try + { + Debug.Assert(source != null); + Debug.Assert(destination != null); + Debug.Assert(!bytesRemaining.HasValue || bytesRemaining.Value >= 0); + Debug.Assert(buffer != null); + + while (true) + { + if (bytesRemaining.HasValue && bytesRemaining.Value <= 0) + { + return; + } + + cancel.ThrowIfCancellationRequested(); + + int readLength = buffer.Length; + if (bytesRemaining.HasValue) + { + readLength = (int)Math.Min(bytesRemaining.Value, (long)readLength); + } + int read = await source.ReadAsync(buffer, 0, readLength, cancel); + + if (bytesRemaining.HasValue) + { + bytesRemaining -= read; + } + + if (read <= 0) + { + return; + } + + cancel.ThrowIfCancellationRequested(); + + destination.Write(buffer, 0, read); + } + } + finally + { + ArrayPool.Shared.Return(buffer); + } + } + + internal Task Start() + { + ReadNextSegment(); + return _tcs.Task; + } + + private void Complete() + { + _tcs.TrySetResult(null); + } + + private bool CheckCancelled() + { + if (_cancel.IsCancellationRequested) + { + _tcs.TrySetCanceled(); + return true; + } + return false; + } + + private void Fail(Exception ex) + { + _tcs.TrySetException(ex); + } + + [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Redirecting")] + private void ReadNextSegment() + { + // The natural end of the range. + if (_bytesRemaining.HasValue && _bytesRemaining.Value <= 0) + { + Complete(); + return; + } + + if (CheckCancelled()) + { + return; + } + + try + { + int readLength = _buffer.Length; + if (_bytesRemaining.HasValue) + { + readLength = (int)Math.Min(_bytesRemaining.Value, (long)readLength); + } + IAsyncResult async = _source.BeginRead(_buffer, 0, readLength, _readCallback, null); + + if (async.CompletedSynchronously) + { + int read = _source.EndRead(async); + WriteToOutputStream(read); + } + } + catch (Exception ex) + { + Fail(ex); + } + } + + [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Redirecting")] + private void ReadCallback(IAsyncResult async) + { + if (async.CompletedSynchronously) + { + return; + } + + try + { + int read = _source.EndRead(async); + WriteToOutputStream(read); + } + catch (Exception ex) + { + Fail(ex); + } + } + + [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Redirecting")] + private void WriteToOutputStream(int count) + { + if (_bytesRemaining.HasValue) + { + _bytesRemaining -= count; + } + + if (count == 0) + { + Complete(); + return; + } + + if (CheckCancelled()) + { + return; + } + + try + { + IAsyncResult async = _destination.BeginWrite(_buffer, 0, count, _writeCallback, null); + if (async.CompletedSynchronously) + { + _destination.EndWrite(async); + ReadNextSegment(); + } + } + catch (Exception ex) + { + Fail(ex); + } + } + + [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Redirecting")] + private void WriteCallback(IAsyncResult async) + { + if (async.CompletedSynchronously) + { + return; + } + + try + { + _destination.EndWrite(async); + ReadNextSegment(); + } + catch (Exception ex) + { + Fail(ex); + } + } + } +} diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/KestrelHttpMessageListener.cs b/src/Surging.Core/Surging.Core.KestrelHttpServer/KestrelHttpMessageListener.cs index d8ae905b3..3e216240d 100644 --- a/src/Surging.Core/Surging.Core.KestrelHttpServer/KestrelHttpMessageListener.cs +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/KestrelHttpMessageListener.cs @@ -1,22 +1,15 @@ using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; +using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; -using Surging.Core.CPlatform.Messages; -using Surging.Core.CPlatform.Transport; +using Surging.Core.CPlatform.Serialization; +using Surging.Core.KestrelHttpServer.Internal; +using Surging.Core.Swagger.Builder; +using Surging.Core.Swagger.SwaggerUI; using System; -using System.Collections.Generic; using System.IO; using System.Net; -using System.Text; using System.Threading.Tasks; -using Surging.Core.KestrelHttpServer.Builder; -using Microsoft.AspNetCore.Http; -using Surging.Core.CPlatform.Serialization; -using Microsoft.Extensions.DependencyInjection; -using Surging.Core.Swagger; -using Surging.Core.Swagger.Builder; -using Surging.Core.Swagger.SwaggerUI; -using Surging.Core.KestrelHttpServer.Internal; namespace Surging.Core.KestrelHttpServer { @@ -72,9 +65,7 @@ public void ConfigureServices(IServiceCollection services) { services.AddSwaggerGen(options => { - options.SwaggerDoc(AppConfig.SwaggerOptions.Version, AppConfig.SwaggerOptions); - var xmlPaths = _serviceSchemaProvider.GetSchemaFilesPath(); foreach (var xmlPath in xmlPaths) options.IncludeXmlComments(xmlPath); diff --git a/src/Surging.Core/Surging.Core.KestrelHttpServer/Surging.Core.KestrelHttpServer.csproj b/src/Surging.Core/Surging.Core.KestrelHttpServer/Surging.Core.KestrelHttpServer.csproj index 55872d187..373366e3e 100644 --- a/src/Surging.Core/Surging.Core.KestrelHttpServer/Surging.Core.KestrelHttpServer.csproj +++ b/src/Surging.Core/Surging.Core.KestrelHttpServer/Surging.Core.KestrelHttpServer.csproj @@ -2,6 +2,18 @@ netcoreapp2.1 + 1.0.0.0 + fanly + fanly + surging Micro Service Framework + surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec + Copyright © fanly All Rights Reserved. + https://github.com/dotnetcore/surging/blob/master/LICENSE + https://github.com/dotnetcore/surging + 1. fix bug + MicroService surging + 1.0.0.0 + 1.0.0.0 @@ -27,8 +39,4 @@ - - - - diff --git a/src/Surging.Core/Surging.Core.Log4net/Surging.Core.Log4net.csproj b/src/Surging.Core/Surging.Core.Log4net/Surging.Core.Log4net.csproj index 3979abb54..70bac9286 100644 --- a/src/Surging.Core/Surging.Core.Log4net/Surging.Core.Log4net.csproj +++ b/src/Surging.Core/Surging.Core.Log4net/Surging.Core.Log4net.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - 0.9.0.2 + 1.0.0.0 fanly surging Micro Service Framework @@ -11,9 +11,9 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 1.Support for hot-swap engine components - 0.9.0.2 - 0.9.0.2 + 1. fix bug + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.NLog/Surging.Core.Nlog.csproj b/src/Surging.Core/Surging.Core.NLog/Surging.Core.Nlog.csproj index 3bef2bb43..19f2a2873 100644 --- a/src/Surging.Core/Surging.Core.NLog/Surging.Core.Nlog.csproj +++ b/src/Surging.Core/Surging.Core.NLog/Surging.Core.Nlog.csproj @@ -2,8 +2,8 @@ netcoreapp2.1 - 1.Support for hot-swap engine components - 0.9.0.2 + 1. fix bug + 1.0.0.0 fanly fanly surging Micro Service Framework @@ -12,8 +12,8 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 0.9.0.2 - 0.9.0.2 + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.Protocol.Http/DotNettyHttpServerMessageListener.cs b/src/Surging.Core/Surging.Core.Protocol.Http/DotNettyHttpServerMessageListener.cs index 8fac7557a..033ea8260 100644 --- a/src/Surging.Core/Surging.Core.Protocol.Http/DotNettyHttpServerMessageListener.cs +++ b/src/Surging.Core/Surging.Core.Protocol.Http/DotNettyHttpServerMessageListener.cs @@ -4,6 +4,7 @@ using DotNetty.Transport.Channels; using DotNetty.Transport.Channels.Sockets; using Microsoft.Extensions.Logging; +using Surging.Core.CPlatform; using Surging.Core.CPlatform.Messages; using Surging.Core.CPlatform.Serialization; using Surging.Core.CPlatform.Transport; @@ -70,10 +71,10 @@ public async Task StartAsync(EndPoint endPoint) var bootstrap = new ServerBootstrap(); bootstrap .Group(bossGroup, workerGroup) - .Channel() - .Option(ChannelOption.SoReuseport, true) + .Channel() + .Option(ChannelOption.SoReuseport, true) .ChildOption(ChannelOption.SoReuseaddr, true) - .Option(ChannelOption.SoBacklog, 8192) + .Option(ChannelOption.SoBacklog, AppConfig.ServerOptions.SoBacklog) .ChildHandler(new ActionChannelInitializer(channel => { IChannelPipeline pipeline = channel.Pipeline; @@ -91,13 +92,13 @@ public async Task StartAsync(EndPoint endPoint) { _channel = await bootstrap.BindAsync(endPoint); if (_logger.IsEnabled(LogLevel.Debug)) - _logger.LogDebug($"Http服务主机启动成功,监听地址:{endPoint}。"); + _logger.LogDebug($"Http服务主机启动成功,监听地址:{endPoint}。"); } catch { _logger.LogError($"Http服务主机启动失败,监听地址:{endPoint}。 "); } - + } public void CloseAsync() diff --git a/src/Surging.Core/Surging.Core.Protocol.Http/Surging.Core.Protocol.Http.csproj b/src/Surging.Core/Surging.Core.Protocol.Http/Surging.Core.Protocol.Http.csproj index a4c720558..ae9929b21 100644 --- a/src/Surging.Core/Surging.Core.Protocol.Http/Surging.Core.Protocol.Http.csproj +++ b/src/Surging.Core/Surging.Core.Protocol.Http/Surging.Core.Protocol.Http.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - 0.9.0.2 + 1.0.0.0 fanly fanly surging Micro Service Framework @@ -11,14 +11,14 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 1.Support for hot-swap engine components - 0.9.0.2 - 0.9.0.2 + 1. fix bug + 1.0.0.0 + 1.0.0.0 - - + + diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/DotNettyMqttServerMessageListener.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/DotNettyMqttServerMessageListener.cs new file mode 100644 index 000000000..a3c7bd41d --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/DotNettyMqttServerMessageListener.cs @@ -0,0 +1,195 @@ +using DotNetty.Buffers; +using DotNetty.Codecs.Mqtt; +using DotNetty.Codecs.Mqtt.Packets; +using DotNetty.Common.Utilities; +using DotNetty.Transport.Bootstrapping; +using DotNetty.Transport.Channels; +using DotNetty.Transport.Channels.Sockets; +using DotNetty.Transport.Libuv; +using Microsoft.Extensions.Logging; +using Surging.Core.CPlatform; +using Surging.Core.CPlatform.Messages; +using Surging.Core.CPlatform.Serialization; +using Surging.Core.CPlatform.Transport; +using Surging.Core.CPlatform.Transport.Codec; +using Surging.Core.Protocol.Mqtt.Implementation; +using Surging.Core.Protocol.Mqtt.Internal.Channel; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Runtime; +using Surging.Core.Protocol.Mqtt.Internal.Services; +using System; +using System.Collections.Generic; +using System.Net; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt +{ + public class DotNettyMqttServerMessageListener : IMessageListener, IDisposable + { + #region Field + + private readonly ILogger _logger; + private IChannel _channel; + private readonly IChannelService _channelService; + private readonly IMqttBehaviorProvider _mqttBehaviorProvider; + #endregion Field + + public event ReceivedDelegate Received; + + #region Constructor + public DotNettyMqttServerMessageListener(ILogger logger, + IChannelService channelService, + IMqttBehaviorProvider mqttBehaviorProvider) + { + _logger = logger; + _channelService = channelService; + _mqttBehaviorProvider = mqttBehaviorProvider; + } + #endregion + + public void Dispose() + { + throw new NotImplementedException(); + } + + public async Task OnReceived(IMessageSender sender, TransportMessage message) + { + if (Received == null) + return; + await Received(sender, message); + } + + public async Task StartAsync(EndPoint endPoint) + { + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"准备启动Mqtt服务主机,监听地址:{endPoint}。"); + IEventLoopGroup bossGroup = new MultithreadEventLoopGroup(1); + IEventLoopGroup workerGroup = new MultithreadEventLoopGroup();//Default eventLoopCount is Environment.ProcessorCount * 2 + var bootstrap = new ServerBootstrap(); + if (AppConfig.ServerOptions.Libuv) + { + var dispatcher = new DispatcherEventLoopGroup(); + bossGroup = dispatcher; + workerGroup = new WorkerEventLoopGroup(dispatcher); + bootstrap.Channel(); + } + else + { + bossGroup = new MultithreadEventLoopGroup(1); + workerGroup = new MultithreadEventLoopGroup(); + bootstrap.Channel(); + } + bootstrap + .Option(ChannelOption.SoBacklog, AppConfig.ServerOptions.SoBacklog) + .ChildOption(ChannelOption.Allocator, PooledByteBufferAllocator.Default) + .Group(bossGroup, workerGroup) + .Option(ChannelOption.TcpNodelay, true) + .ChildHandler(new ActionChannelInitializer(channel => + { + IChannelPipeline pipeline = channel.Pipeline; + pipeline.AddLast(MqttEncoder.Instance, + new MqttDecoder(true, 256 * 1024), new ServerHandler(async (context, packetType, message) => + { + var mqttHandlerService = new ServerMqttHandlerService(_logger, _channelService, _mqttBehaviorProvider); + await ChannelWrite(context, message, packetType, mqttHandlerService); + }, _logger, _channelService, _mqttBehaviorProvider)); + })); + try + { + _channel = await bootstrap.BindAsync(endPoint); + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"mqtt服务主机启动成功,监听地址:{endPoint}。"); + } + catch + { + _logger.LogError($"mqtt服务主机启动失败,监听地址:{endPoint}。 "); + } + } + + public async Task ChannelWrite(IChannelHandlerContext context,object message, PacketType packetType, ServerMqttHandlerService mqttHandlerService) + { + switch (packetType) + { + case PacketType.CONNECT: + await mqttHandlerService.Login(context, message as ConnectPacket); + break; + case PacketType.PUBLISH: + await mqttHandlerService.Publish(context, message as PublishPacket); + break; + case PacketType.PUBACK: + await mqttHandlerService.PubAck(context, message as PubAckPacket); + break; + case PacketType.PUBREC: + await mqttHandlerService.PubRec(context, message as PubRecPacket); + break; + case PacketType.PUBREL: + await mqttHandlerService.PubRel(context, message as PubRelPacket); + break; + case PacketType.PUBCOMP: + await mqttHandlerService.PubComp(context, message as PubCompPacket); + break; + case PacketType.SUBSCRIBE: + await mqttHandlerService.Subscribe(context, message as SubscribePacket); + break; + case PacketType.SUBACK: + await mqttHandlerService.SubAck(context, message as SubAckPacket); + break; + case PacketType.UNSUBSCRIBE: + await mqttHandlerService.Unsubscribe(context, message as UnsubscribePacket); + break; + case PacketType.UNSUBACK: + await mqttHandlerService.UnsubAck(context, message as UnsubAckPacket); + break; + case PacketType.PINGREQ: + await mqttHandlerService.PingReq(context, message as PingReqPacket); + break; + case PacketType.PINGRESP: + await mqttHandlerService.PingResp(context, message as PingRespPacket); + break; + case PacketType.DISCONNECT: + await mqttHandlerService.Disconnect(context, message as DisconnectPacket); + break; + } + } + + private class ServerHandler : ChannelHandlerAdapter + { + private readonly Action _readAction; + private readonly ILogger _logger; + + public ServerHandler(Action readAction, + ILogger logger, + IChannelService channelService, + IMqttBehaviorProvider mqttBehaviorProvider) + { + _readAction = readAction; + _logger = logger; + } + + public override void ChannelRead(IChannelHandlerContext context, object message) + { + var buffer = message as Packet; + _readAction(context, buffer.PacketType, buffer); + ReferenceCountUtil.Release(message); + } + + public override void ChannelInactive(IChannelHandlerContext context) + { + this.SetException(new InvalidOperationException("Channel is closed.")); + base.ChannelInactive(context); + } + + public override void ExceptionCaught(IChannelHandlerContext context, Exception exception) { + _readAction.Invoke(context,PacketType.DISCONNECT,DisconnectPacket.Instance); + this.SetException(exception); + } + + void SetException(Exception ex) + { + if (_logger.IsEnabled(LogLevel.Error)) + _logger.LogError($"message:{ex.Message},Source:{ex.Source},Trace:{ex.StackTrace}"); + } + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/DefaultMqttServiceFactory.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/DefaultMqttServiceFactory.cs new file mode 100644 index 000000000..dd6f68a1b --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/DefaultMqttServiceFactory.cs @@ -0,0 +1,61 @@ +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Mqtt; +using Surging.Core.CPlatform.Serialization; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Implementation +{ + public class DefaultMqttServiceFactory : IMqttServiceFactory + { + + private readonly ISerializer _serializer; + private readonly ConcurrentDictionary _addressModel = + new ConcurrentDictionary(); + + public DefaultMqttServiceFactory(ISerializer serializer) + { + _serializer = serializer; + } + + public Task> CreateMqttServiceRoutesAsync(IEnumerable descriptors) + { + if (descriptors == null) + throw new ArgumentNullException(nameof(descriptors)); + + descriptors = descriptors.ToArray(); + var routes = new List(descriptors.Count()); + + routes.AddRange(descriptors.Select(descriptor => new MqttServiceRoute + { + MqttEndpoint = CreateAddress(descriptor.AddressDescriptors), + MqttDescriptor = descriptor.MqttDescriptor + })); + + return Task.FromResult(routes.AsEnumerable()); + } + + + private IEnumerable CreateAddress(IEnumerable descriptors) + { + if (descriptors == null) + yield break; + + foreach (var descriptor in descriptors) + { + _addressModel.TryGetValue(descriptor.Value, out AddressModel address); + if (address == null) + { + address = (AddressModel)_serializer.Deserialize(descriptor.Value, typeof(IpAddressModel)); + _addressModel.TryAdd(descriptor.Value, address); + } + yield return address; + } + } + + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/ServerMqttHandlerService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/ServerMqttHandlerService.cs new file mode 100644 index 000000000..3e8965b2e --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/ServerMqttHandlerService.cs @@ -0,0 +1,187 @@ +using System; +using System.Collections.Generic; +using System.Text; +using DotNetty.Codecs.Mqtt.Packets; +using DotNetty.Transport.Channels; +using Microsoft.Extensions.Logging; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using System.Linq; +using Surging.Core.Protocol.Mqtt.Internal.Services; +using Surging.Core.Protocol.Mqtt.Internal.Runtime; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Implementation +{ + public class ServerMqttHandlerService + { + private readonly ILogger _logger; + private readonly IChannelService _channelService; + private readonly IMqttBehaviorProvider _mqttBehaviorProvider; + public ServerMqttHandlerService( + ILogger logger, IChannelService channelService, IMqttBehaviorProvider mqttBehaviorProvider) + { + _logger = logger; + _channelService = channelService; + _mqttBehaviorProvider = mqttBehaviorProvider; + } + + public async Task ConnAck(IChannelHandlerContext context, ConnAckPacket packet) + { + await context.WriteAndFlushAsync(packet); + } + + public async Task Login(IChannelHandlerContext context, ConnectPacket packet) + { + string deviceId = packet.ClientId; + if (string.IsNullOrEmpty(deviceId)) + { + await ConnAck(context, new ConnAckPacket + { + ReturnCode = ConnectReturnCode.RefusedIdentifierRejected + }); + return; + } + var mqttBehavior = _mqttBehaviorProvider.GetMqttBehavior(); + if (mqttBehavior != null) + { + if (packet.HasPassword && packet.HasUsername + && await mqttBehavior.Authorized(packet.Username, packet.Password)) + { + var mqttChannel = _channelService.GetMqttChannel(deviceId); + if (mqttChannel == null || mqttChannel.SessionStatus == SessionStatus.CLOSE) + { + byte[] bytes = null; + if (packet.WillMessage != null) + { + bytes = new byte[packet.WillMessage.ReadableBytes]; + packet.WillMessage.ReadBytes(bytes); + } + await _channelService.Login(context.Channel, deviceId, new ConnectMessage + { + CleanSession = packet.CleanSession, + ClientId = packet.ClientId, + Duplicate = packet.Duplicate, + HasPassword = packet.HasPassword, + HasUsername = packet.HasUsername, + HasWill = packet.HasWill, + KeepAliveInSeconds = packet.KeepAliveInSeconds, + Password = packet.Password, + ProtocolLevel = packet.ProtocolLevel, + ProtocolName = packet.ProtocolName, + Qos = (int)packet.QualityOfService, + RetainRequested = packet.RetainRequested, + Username = packet.Username, + WillMessage = bytes, + WillQualityOfService = (int)packet.WillQualityOfService, + WillRetain = packet.WillRetain, + WillTopic = packet.WillTopicName + + }); + } + } + else + { + await ConnAck(context, new ConnAckPacket + { + ReturnCode = ConnectReturnCode.RefusedBadUsernameOrPassword + }); + } + } + else + { + await ConnAck(context, new ConnAckPacket + { + ReturnCode = ConnectReturnCode.RefusedServerUnavailable + }); + } + } + + public async Task Disconnect(IChannelHandlerContext context, DisconnectPacket packet) + { + await _channelService.Close(await _channelService.GetDeviceId(context.Channel), true); + } + + public async Task PingReq(IChannelHandlerContext context, PingReqPacket packet) + { + var channel = context.Channel; + if (channel.Open && channel.Active && channel.IsWritable) + { + if (_logger.IsEnabled(LogLevel.Information)) + _logger.LogInformation("收到来自:【" + context.Channel.RemoteAddress.ToString() + "】心跳"); + await PingResp(context, PingRespPacket.Instance); + } + } + + public async Task PingResp(IChannelHandlerContext context, PingRespPacket packet) + { + await context.WriteAndFlushAsync(packet); + } + + public async Task PubAck(IChannelHandlerContext context, PubAckPacket packet) + { + int messageId = packet.PacketId; + var mqttChannel = _channelService.GetMqttChannel(await _channelService.GetDeviceId(context.Channel)); + var message = mqttChannel.GetMqttMessage(messageId); + message.ConfirmStatus = ConfirmStatus.COMPLETE; + } + + public async Task PubComp(IChannelHandlerContext context, PubCompPacket packet) + { + int messageId = packet.PacketId; + var mqttChannel = _channelService.GetMqttChannel(await _channelService.GetDeviceId(context.Channel)); + var message = mqttChannel.GetMqttMessage(messageId); + message.ConfirmStatus = ConfirmStatus.COMPLETE; + } + + public async Task Publish(IChannelHandlerContext context, PublishPacket packet) + { + await _channelService.Publish(context.Channel, packet); + } + + public async Task PubRec(IChannelHandlerContext context, PubRecPacket packet) + { + int messageId = packet.PacketId; + var mqttChannel = _channelService.GetMqttChannel(await _channelService.GetDeviceId(context.Channel)); + var message= mqttChannel.GetMqttMessage(messageId); + message.ConfirmStatus=ConfirmStatus.PUBREL; + await _channelService.Pubrec(mqttChannel, messageId); + } + + public async Task PubRel(IChannelHandlerContext context, PubRelPacket packet) + { + int messageId = packet.PacketId; + var mqttChannel = _channelService.GetMqttChannel(await _channelService.GetDeviceId(context.Channel)); + var message = mqttChannel.GetMqttMessage(messageId); + message.ConfirmStatus = ConfirmStatus.PUBREL; + await _channelService.Pubrec(mqttChannel, messageId); + } + + public async Task SubAck(IChannelHandlerContext context, SubAckPacket packet) + { + await context.WriteAndFlushAsync(packet); + } + + public async Task Subscribe(IChannelHandlerContext context, SubscribePacket packet) + { + if (packet != null) + { + var topics = packet.Requests.Select(p => p.TopicFilter).ToArray(); + await _channelService.Suscribe(await _channelService.GetDeviceId(context.Channel), topics); + await SubAck(context, SubAckPacket.InResponseTo(packet, QualityOfService.ExactlyOnce + )); + } + } + + public async Task UnsubAck(IChannelHandlerContext context, UnsubAckPacket packet) + { + await context.WriteAndFlushAsync(packet); + } + + public async Task Unsubscribe(IChannelHandlerContext context, UnsubscribePacket packet) + { + string [] topics = packet.TopicFilters.ToArray(); + await _channelService.UnSubscribe(await _channelService.GetDeviceId(context.Channel), topics); + await UnsubAck(context, UnsubAckPacket.InResponseTo(packet)); + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Channel/MqttChannel.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Channel/MqttChannel.cs new file mode 100644 index 000000000..285be70cb --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Channel/MqttChannel.cs @@ -0,0 +1,70 @@ +using DotNetty.Common.Utilities; +using DotNetty.Transport.Channels; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Channel +{ + public class MqttChannel + { + public IChannel Channel { get; set; } + public string ClientId { get; set; } + public bool IsWill { get; set; } + public SubscribeStatus SubscribeStatus { get; set; } + public List Topics { get; set; } + public SessionStatus SessionStatus { get; set; } + public bool CleanSession { get; set; } + public ConcurrentDictionary Messages { get; set; } + + public void AddMqttMessage(int messageId, SendMqttMessage msg) + { + Messages.AddOrUpdate(messageId, msg,(id,message)=>msg); + } + + public SendMqttMessage GetMqttMessage(int messageId) + { + SendMqttMessage mqttMessage = null; + Messages.TryGetValue(messageId, out mqttMessage); + return mqttMessage; + } + + + public void RemoveMqttMessage(int messageId) + { + SendMqttMessage mqttMessage = null; + Messages.Remove(messageId,out mqttMessage); + } + + public bool IsLogin() + { + bool result = false; + if (Channel != null) + { + AttributeKey _login = AttributeKey.ValueOf("login"); + result= Channel.Active && Channel.HasAttribute(_login); + } + return result; + } + + public async Task Close() + { + if (Channel != null) + await Channel.CloseAsync(); + } + + public bool IsActive() + { + return Channel != null && Channel.Active; + } + + public void AddTopic(params string[] topics) + { + Topics.AddRange(topics); + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/Behavior.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/Behavior.cs new file mode 100644 index 000000000..b2b4db088 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/Behavior.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Enums +{ + public enum Behavior + { + Publish, + Suscribe, + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConfirmStatus.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConfirmStatus.cs new file mode 100644 index 000000000..9b10580e0 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConfirmStatus.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Enums +{ + public enum ConfirmStatus + { + PUB, + PUBREC, + PUBREL, + COMPLETE, + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConnReturnCode.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConnReturnCode.cs new file mode 100644 index 000000000..c19ba4255 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConnReturnCode.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Enums +{ + public enum ConnReturnCode + { + Accepted = 0x00, + RefusedUnacceptableProtocolVersion = 0X01, + RefusedIdentifierRejected = 0x02, + RefusedServerUnavailable = 0x03, + RefusedBadUsernameOrPassword = 0x04, + RefusedNotAuthorized = 0x05 + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/MessageType.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/MessageType.cs new file mode 100644 index 000000000..aa6efa2b2 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/MessageType.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Enums +{ + public enum MessageType + { + CONNECT = 1, + CONNACK = 2, + PUBLISH = 3, + PUBACK = 4, + PUBREC = 5, + PUBREL = 6, + PUBCOMP = 7, + SUBSCRIBE = 8, + SUBACK = 9, + UNSUBSCRIBE = 10, + UNSUBACK = 11, + PINGREQ = 12, + PINGRESP = 13, + DISCONNECT = 14 + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SessionStatus.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SessionStatus.cs new file mode 100644 index 000000000..0f8c91c4f --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SessionStatus.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Enums +{ + public enum SessionStatus + { + OPEN, + CLOSE + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SubscribeStatus.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SubscribeStatus.cs new file mode 100644 index 000000000..5e0486066 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SubscribeStatus.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Enums +{ + public enum SubscribeStatus + { + Yes, + No + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/ConnectMessage.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/ConnectMessage.cs new file mode 100644 index 000000000..86f7a5c23 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/ConnectMessage.cs @@ -0,0 +1,38 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Enums +{ + public class ConnectMessage:MqttMessage + { + public override MessageType MessageType => MessageType.CONNECT; + public string ProtocolName { get; set; } + + public int ProtocolLevel { get; set; } + + public bool CleanSession { get; set; } + + public bool HasWill { get; set; } + + public int WillQualityOfService { get; set; } + + public bool WillRetain { get; set; } + + public bool HasPassword { get; set; } + + public bool HasUsername { get; set; } + + public int KeepAliveInSeconds { get; set; } + + public string Username { get; set; } + + public string Password { get; set; } + + public string ClientId { get; set; } + + public string WillTopic { get; set; } + + public byte[] WillMessage { get; set; } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttMessage.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttMessage.cs new file mode 100644 index 000000000..e3191dbf0 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttMessage.cs @@ -0,0 +1,22 @@ +using DotNetty.Codecs.Mqtt.Packets; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Enums +{ + public abstract class MqttMessage + { + public abstract MessageType MessageType { get; } + + public virtual bool Duplicate { get; set; } + public virtual int Qos { get; set; } =(int) QualityOfService.AtMostOnce; + public virtual bool RetainRequested { get; set; } + + + public override string ToString() + { + return $"{this.GetType().Name}[Qos={this.Qos}, Duplicate={this.Duplicate}, Retain={this.RetainRequested}]"; + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttWillMessage.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttWillMessage.cs new file mode 100644 index 000000000..4968ef511 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttWillMessage.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Messages +{ + public class MqttWillMessage + { + public string Topic{ get; set; } + + public string WillMessage { get; set; } + + + public bool WillRetain { get; set; } + + public int Qos { get; set; } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/RetainMessage.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/RetainMessage.cs new file mode 100644 index 000000000..b937eabd1 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/RetainMessage.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Messages +{ + public class RetainMessage + { + public byte[] ByteBuf { get; set; } + + public int QoS { get; set; } + public new string ToString => Encoding.UTF8.GetString(ByteBuf); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SendMqttMessage.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SendMqttMessage.cs new file mode 100644 index 000000000..8e82024a1 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SendMqttMessage.cs @@ -0,0 +1,27 @@ +using DotNetty.Transport.Channels; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Messages +{ + public class SendMqttMessage + { + public int MessageId { get; set; } + + public IChannel Channel { get; set; } + + public ConfirmStatus ConfirmStatus { get; set; } + + public long Time { get; set; } + + public byte[] ByteBuf { get; set; } + + public bool Retain { get; set; } + + public int Qos { get; set; } + + public string Topic { get; set; } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SessionMessage.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SessionMessage.cs new file mode 100644 index 000000000..aa5bdd080 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SessionMessage.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Messages +{ + public class SessionMessage + { + public byte[] Message { get; set; } + + public int QoS { get; set; } + + public string Topic { get; set; } + + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBehaviorProvider.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBehaviorProvider.cs new file mode 100644 index 000000000..c95c13539 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBehaviorProvider.cs @@ -0,0 +1,12 @@ +using Surging.Core.Protocol.Mqtt.Internal.Services; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime +{ + public interface IMqttBehaviorProvider + { + MqttBehavior GetMqttBehavior(); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBrokerEntryManger.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBrokerEntryManger.cs new file mode 100644 index 000000000..e48fa5d5a --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBrokerEntryManger.cs @@ -0,0 +1,17 @@ +using Surging.Core.CPlatform.Address; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime +{ + public interface IMqttBrokerEntryManger + { + ValueTask> GetMqttBrokerAddress(string topic); + + Task CancellationReg(string topic,AddressModel addressModel); + + Task Register(string topic, AddressModel addressModel); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRemoteInvokeService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRemoteInvokeService.cs new file mode 100644 index 000000000..519a85bd4 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRemoteInvokeService.cs @@ -0,0 +1,19 @@ +using Surging.Core.CPlatform.Runtime.Client; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime +{ + public interface IMqttRemoteInvokeService + { + + Task InvokeAsync(RemoteInvokeContext context); + + Task InvokeAsync(RemoteInvokeContext context, CancellationToken cancellationToken); + + Task InvokeAsync(RemoteInvokeContext context, int requestTimeout); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRomtePublishService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRomtePublishService.cs new file mode 100644 index 000000000..ab7a4182b --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRomtePublishService.cs @@ -0,0 +1,19 @@ +using Surging.Core.CPlatform.Ioc; +using Surging.Core.CPlatform.Runtime.Client.Address.Resolvers.Implementation.Selectors.Implementation; +using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes; +using Surging.Core.CPlatform.Support.Attributes; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime +{ + [ServiceBundle("Device")] + public interface IMqttRomtePublishService : IServiceKey + { + [Command(ShuntStrategy = AddressSelectorMode.HashAlgorithm)] + Task Publish(string deviceId, MqttWillMessage message); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBehaviorProvider.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBehaviorProvider.cs new file mode 100644 index 000000000..33ab3dba6 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBehaviorProvider.cs @@ -0,0 +1,38 @@ +using Surging.Core.CPlatform; +using Surging.Core.CPlatform.Runtime.Server; +using Surging.Core.Protocol.Mqtt.Internal.Services; +using System.Linq; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime.Implementation +{ + public class DefaultMqttBehaviorProvider : IMqttBehaviorProvider + { + #region Field + + private readonly IServiceEntryProvider _serviceEntryProvider; + private readonly CPlatformContainer _serviceProvider; + private MqttBehavior _mqttBehavior; + + #endregion Field + + #region Constructor + + public DefaultMqttBehaviorProvider(IServiceEntryProvider serviceEntryProvider, CPlatformContainer serviceProvider) + { + _serviceEntryProvider = serviceEntryProvider; + _serviceProvider = serviceProvider; + } + + #endregion Constructor + + public MqttBehavior GetMqttBehavior() + { + if (_mqttBehavior == null) + { + _mqttBehavior = _serviceEntryProvider.GetTypes() + .Select(type=> _serviceProvider.GetInstances(type) as MqttBehavior ).Where(p=>p!=null).FirstOrDefault(); + } + return _mqttBehavior; + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBrokerEntryManager.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBrokerEntryManager.cs new file mode 100644 index 000000000..a5186d5d4 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBrokerEntryManager.cs @@ -0,0 +1,83 @@ +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Extensions.Logging; +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Mqtt; +using Surging.Core.CPlatform.Mqtt.Implementation; +using Surging.Core.CPlatform.Runtime.Client.HealthChecks; +using Surging.Core.CPlatform.Runtime.Client.HealthChecks.Implementation; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime.Implementation +{ + public class DefaultMqttBrokerEntryManager : IMqttBrokerEntryManger + { + private readonly IMqttServiceRouteManager _mqttServiceRouteManager; + private readonly ILogger _logger; + private readonly ConcurrentDictionary> _brokerEntries = + new ConcurrentDictionary>(); + + public DefaultMqttBrokerEntryManager(IMqttServiceRouteManager mqttServiceRouteManager, + ILogger logger, IHealthCheckService healthCheckService) + { + _mqttServiceRouteManager = mqttServiceRouteManager; + _logger = logger; + _mqttServiceRouteManager.Changed += MqttRouteManager_Removed; + _mqttServiceRouteManager.Removed += MqttRouteManager_Removed; + healthCheckService.Removed += MqttRouteManager_Removed; + } + + public async Task CancellationReg(string topic, AddressModel addressModel) + { + await _mqttServiceRouteManager.RemoveByTopicAsync(topic, new AddressModel[] { addressModel }); + } + + public async ValueTask> GetMqttBrokerAddress(string topic) + { + _brokerEntries.TryGetValue(topic, out IEnumerable addresses); + if (addresses==null || !addresses.Any()) + { + var routes = await _mqttServiceRouteManager.GetRoutesAsync(); + var route= routes.Where(p => p.MqttDescriptor.Topic == topic).SingleOrDefault(); + if (route != null) + { + _brokerEntries.TryAdd(topic, route.MqttEndpoint); + addresses = route.MqttEndpoint; + } + } + return addresses; + } + + public async Task Register(string topic, AddressModel addressModel) + { + await _mqttServiceRouteManager.SetRoutesAsync(new MqttServiceRoute[] { new MqttServiceRoute { + MqttDescriptor=new MqttDescriptor{ + Topic=topic + }, + MqttEndpoint=new AddressModel[]{ + addressModel + } + } + }); + } + + private static string GetCacheKey(MqttDescriptor descriptor) + { + return descriptor.Topic; + } + + private void MqttRouteManager_Removed(object sender, MqttServiceRouteEventArgs e) + { + var key = GetCacheKey(e.Route.MqttDescriptor); + _brokerEntries.TryRemove(key, out IEnumerable value); + } + + private void MqttRouteManager_Removed(object sender, HealthCheckEventArgs e) + { + _mqttServiceRouteManager.RemveAddressAsync(new AddressModel[] { e.Address }); + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRemoteInvokeService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRemoteInvokeService.cs new file mode 100644 index 000000000..dba4f464f --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRemoteInvokeService.cs @@ -0,0 +1,111 @@ +using Microsoft.Extensions.Logging; +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Exceptions; +using Surging.Core.CPlatform.Messages; +using Surging.Core.CPlatform.Runtime.Client; +using Surging.Core.CPlatform.Runtime.Client.Address.Resolvers; +using Surging.Core.CPlatform.Runtime.Client.HealthChecks; +using Surging.Core.CPlatform.Transport; +using Surging.Core.CPlatform.Utilities; +using System; +using System.Linq; +using System.Threading; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime.Implementation +{ + public class MqttRemoteInvokeService:IMqttRemoteInvokeService + { + private readonly ITransportClientFactory _transportClientFactory; + private readonly ILogger _logger; + private readonly IHealthCheckService _healthCheckService; + private readonly IMqttBrokerEntryManger _mqttBrokerEntryManger; + + public MqttRemoteInvokeService( ITransportClientFactory transportClientFactory, + ILogger logger, + IHealthCheckService healthCheckService, + IMqttBrokerEntryManger mqttBrokerEntryManger) + { + _transportClientFactory = transportClientFactory; + _logger = logger; + _healthCheckService = healthCheckService; + _mqttBrokerEntryManger = mqttBrokerEntryManger; + } + + #region Implementation of IRemoteInvokeService + + public async Task InvokeAsync(RemoteInvokeContext context) + { + await InvokeAsync(context, Task.Factory.CancellationToken); + } + + public async Task InvokeAsync(RemoteInvokeContext context, CancellationToken cancellationToken) + { + var mqttContext = context as MqttRemoteInvokeContext; + if (mqttContext != null) + { + var invokeMessage = context.InvokeMessage; + var host= NetUtils.GetHostAddress(); + var addresses = await _mqttBrokerEntryManger.GetMqttBrokerAddress(mqttContext.topic); + addresses = addresses.Except(new AddressModel[] { host }); + foreach (var address in addresses) + { + try + { + var endPoint = address.CreateEndPoint(); + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"使用地址:'{endPoint}'进行调用。"); + var client = _transportClientFactory.CreateClient(endPoint); + await client.SendAsync(invokeMessage).WithCancellation(cancellationToken); + } + catch (CommunicationException) + { + await _healthCheckService.MarkFailure(address); + } + catch (Exception exception) + { + _logger.LogError(exception, $"发起请求中发生了错误,服务Id:{invokeMessage.ServiceId}。"); + } + } + } + } + + public async Task InvokeAsync(RemoteInvokeContext context, int requestTimeout) + { + var mqttContext = context as MqttRemoteInvokeContext; + if (mqttContext != null) + { + var invokeMessage = context.InvokeMessage; + var host = NetUtils.GetHostAddress(); + var addresses = await _mqttBrokerEntryManger.GetMqttBrokerAddress(mqttContext.topic); + if (addresses != null) + { + addresses = addresses.Except(new AddressModel[] { host }); + foreach (var address in addresses) + { + try + { + var endPoint = address.CreateEndPoint(); + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"使用地址:'{endPoint}'进行调用。"); + var client = _transportClientFactory.CreateClient(endPoint); + await client.SendAsync(invokeMessage).WithCancellation(requestTimeout); + } + catch (CommunicationException) + { + await _healthCheckService.MarkFailure(address); + } + catch (Exception exception) + { + _logger.LogError(exception, $"发起mqtt请求中发生了错误,服务Id:{invokeMessage.ServiceId}。"); + + } + } + } + } + } + + + #endregion Implementation of IRemoteInvokeService + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRomtePublishService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRomtePublishService.cs new file mode 100644 index 000000000..eb01b8401 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRomtePublishService.cs @@ -0,0 +1,19 @@ +using Surging.Core.CPlatform.Ioc; +using Surging.Core.CPlatform.Utilities; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using Surging.Core.Protocol.Mqtt.Internal.Services; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime.Implementation +{ + public class MqttRomtePublishService : ServiceBase, IMqttRomtePublishService + { + public async Task Publish(string deviceId, MqttWillMessage message) + { + await ServiceLocator.GetService().Publish(deviceId, message); + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/MqttRemoteInvokeContext.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/MqttRemoteInvokeContext.cs new file mode 100644 index 000000000..843652bc0 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/MqttRemoteInvokeContext.cs @@ -0,0 +1,13 @@ +using Surging.Core.CPlatform.Runtime.Client; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime +{ + public class MqttRemoteInvokeContext: RemoteInvokeContext + { + public string topic { get; set; } + } +} + \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Runnable.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Runnable.cs new file mode 100644 index 000000000..51c731314 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Runnable.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime +{ + public abstract class Runnable + { + private volatile Thread _runnableThread; + private readonly Timer _timer; + public Runnable() + { + var timeSpan = TimeSpan.FromSeconds(3); + _timer = new Timer(s => + { + Run(); + }, null, timeSpan, timeSpan); + } + + public abstract void Run(); + + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/SacnScheduled.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/SacnScheduled.cs new file mode 100644 index 000000000..3a3deeb18 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/SacnScheduled.cs @@ -0,0 +1,73 @@ +using DotNetty.Buffers; +using DotNetty.Codecs.Mqtt.Packets; +using DotNetty.Transport.Channels; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime +{ + public class SacnScheduled: ScanRunnable + { + + public SacnScheduled() + { + } + + private bool CheckTime(long time) + { + return DateTime.Now.Millisecond - time >= 10 * 1000; + } + + public override void Execute(SendMqttMessage poll) + { + if (CheckTime(poll.Time) && poll.Channel.Active) + { + poll.Time=DateTime.Now.Ticks / 10000; + switch (poll.ConfirmStatus) + { + case ConfirmStatus.PUB: + PubMessage(poll.Channel, poll); + break; + case ConfirmStatus.PUBREL: + PubRelAck(poll); + break; + case ConfirmStatus.PUBREC: + PubRecAck(poll); + break; + } + } + } + + private void PubMessage(IChannel channel, SendMqttMessage mqttMessage) + { + PublishPacket mqttPublishMessage = new PublishPacket((QualityOfService)mqttMessage.Qos, true, mqttMessage.Retain) + { + TopicName = mqttMessage.Topic, + PacketId = mqttMessage.MessageId, + Payload = Unpooled.WrappedBuffer(mqttMessage.ByteBuf) + }; + channel.WriteAndFlushAsync(mqttPublishMessage); + } + + protected void PubRelAck( SendMqttMessage mqttMessage) + { + PubRelPacket mqttPubAckMessage = new PubRelPacket() + { + PacketId = mqttMessage.MessageId, + }; + mqttMessage.Channel.WriteAndFlushAsync(mqttPubAckMessage); + } + + private void PubRecAck(SendMqttMessage mqttMessage) + { + PubRecPacket mqttPubAckMessage = new PubRecPacket() + { + PacketId = mqttMessage.MessageId, + }; + mqttMessage.Channel.WriteAndFlushAsync(mqttPubAckMessage); + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/ScanRunnable.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/ScanRunnable.cs new file mode 100644 index 000000000..d9378c4bf --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/ScanRunnable.cs @@ -0,0 +1,41 @@ +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; + +namespace Surging.Core.Protocol.Mqtt.Internal.Runtime +{ + public abstract class ScanRunnable : Runnable + { + private ConcurrentQueue _queue = new ConcurrentQueue(); + public void Enqueue(SendMqttMessage t) + { + _queue.Enqueue(t); + } + + public void Enqueue(List ts) + { + ts.ForEach(message=> _queue.Enqueue(message)); + } + + public override void Run() + { + if (!_queue.IsEmpty) + { + List list = new List(); + for (; (_queue.TryDequeue(out SendMqttMessage poll));) + { + if (poll.ConfirmStatus != ConfirmStatus.COMPLETE) + { + list.Add(poll); + Execute(poll); + } + break; + } + } + } + + public abstract void Execute(SendMqttMessage poll); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/AbstractChannelService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/AbstractChannelService.cs new file mode 100644 index 000000000..7f67ae16a --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/AbstractChannelService.cs @@ -0,0 +1,195 @@ +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Text; +using DotNetty.Common.Utilities; +using DotNetty.Transport.Channels; +using Surging.Core.Protocol.Mqtt.Internal.Channel; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System.Collections; +using System.Linq; +using DotNetty.Codecs.Mqtt.Packets; +using System.Threading.Tasks; +using Surging.Core.Protocol.Mqtt.Internal.Runtime; +using System.Net; +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform; +using Surging.Core.CPlatform.Utilities; +using Surging.Core.CPlatform.Messages; +using Surging.Core.CPlatform.Ids; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services +{ + public abstract class AbstractChannelService : IChannelService + { + private readonly AttributeKey _loginAttrKey = AttributeKey.ValueOf("login"); + private readonly AttributeKey _deviceIdAttrKey = AttributeKey.ValueOf("deviceId"); + private readonly IMessagePushService _messagePushService; + private readonly ConcurrentDictionary> _topics = new ConcurrentDictionary>(); + private readonly ConcurrentDictionary _mqttChannels = new ConcurrentDictionary(); + protected readonly ConcurrentDictionary> _retain = new ConcurrentDictionary>(); + private readonly IMqttBrokerEntryManger _mqttBrokerEntryManger; + private readonly IMqttRemoteInvokeService _mqttRemoteInvokeService; + private readonly string _publishServiceId; + + public AbstractChannelService(IMessagePushService messagePushService, + IMqttBrokerEntryManger mqttBrokerEntryManger, + IMqttRemoteInvokeService mqttRemoteInvokeService, + IServiceIdGenerator serviceIdGenerator + ) + { + _messagePushService = messagePushService; + _mqttBrokerEntryManger = mqttBrokerEntryManger; + _mqttRemoteInvokeService = mqttRemoteInvokeService; + _publishServiceId= serviceIdGenerator.GenerateServiceId(typeof(IMqttRomtePublishService).GetMethod("Publish")); + } + + public ConcurrentDictionary MqttChannels { get { + return _mqttChannels; + } + } + + public AttributeKey DeviceIdAttrKey + { + get + { + return _deviceIdAttrKey; + } + } + + public AttributeKey LoginAttrKey + { + get + { + return _loginAttrKey; + } + } + + public ConcurrentDictionary> Topics + { + get + { + return _topics; + } + } + + public ConcurrentDictionary> Retain + { + get + { + return _retain; + } + } + + public abstract Task Close(string deviceId, bool isDisconnect); + + public abstract bool Connect(string deviceId, MqttChannel build); + + public bool RemoveChannel(string topic, MqttChannel mqttChannel) + { + var result = false; + if (!string.IsNullOrEmpty(topic) && mqttChannel != null) + { + _topics.TryGetValue(topic, out IEnumerable mqttChannels); + var channels = mqttChannels == null ? new List() : mqttChannels.ToList(); + channels.Remove(mqttChannel); + _topics.AddOrUpdate(topic, channels, (key, value) => channels); + result = true; + } + return result; + } + + public async ValueTask GetDeviceId(IChannel channel) + { + string deviceId = null; + if (channel != null) + { + AttributeKey deviceIdAttrKey = AttributeKey.ValueOf("deviceId"); + deviceId = channel.GetAttribute(deviceIdAttrKey).Get(); + } + return await new ValueTask(deviceId); + } + + public bool AddChannel(string topic, MqttChannel mqttChannel) + { + var result = false; + if (!string.IsNullOrEmpty(topic) && mqttChannel != null) + { + _topics.TryGetValue(topic, out IEnumerable mqttChannels); + var channels = mqttChannels==null ? new List(): mqttChannels.ToList(); + channels.Add(mqttChannel); + _topics.AddOrUpdate(topic, channels, (key, value) => channels); + result = true; + } + return result; + } + + public MqttChannel GetMqttChannel(string deviceId) + { + MqttChannel channel = null; + if (!string.IsNullOrEmpty(deviceId)) + { + _mqttChannels.TryGetValue(deviceId, out channel); + } + return channel; + } + + protected async Task RegisterMqttBroker(string topic) + { + var addresses = await _mqttBrokerEntryManger.GetMqttBrokerAddress(topic); + var host = NetUtils.GetHostAddress(); + if (addresses==null || !addresses.Any(p => p.ToString() == host.ToString())) + await _mqttBrokerEntryManger.Register(topic, host); + } + + protected async Task BrokerCancellationReg(string topic) + { + if (Topics.Count == 0) + await _mqttBrokerEntryManger.CancellationReg(topic, NetUtils.GetHostAddress()); + } + + protected async Task RemotePublishMessage(string deviceId, MqttWillMessage willMessage) + { + await _mqttRemoteInvokeService.InvokeAsync(new MqttRemoteInvokeContext + { + topic = willMessage.Topic, + InvokeMessage = new RemoteInvokeMessage + { + ServiceId = _publishServiceId, + Parameters = new Dictionary() { + {"deviceId",deviceId}, + { "willMessage",willMessage} + } + }, + + }, AppConfig.ServerOptions.ExecutionTimeoutInMilliseconds); + } + + public abstract Task Login(IChannel channel, string deviceId, ConnectMessage mqttConnectMessage); + + public abstract Task Publish(IChannel channel, PublishPacket mqttPublishMessage); + + public abstract Task Pubrec(MqttChannel channel, int messageId); + + public abstract Task Pubrel(IChannel channel, int messageId); + + public abstract Task SendWillMsg(MqttWillMessage willMeaasge); + public abstract Task Suscribe(string deviceId, params string[] topics); + + public abstract Task UnSubscribe(string deviceId, params string[] topics); + + public abstract Task Publish(string deviceId, MqttWillMessage willMessage); + + public ValueTask GetDeviceStatus(string deviceId) + { + SessionStatus? result = null; + if (!string.IsNullOrEmpty(deviceId)) + { + MqttChannels.TryGetValue(deviceId, out MqttChannel mqttChannel); + result = mqttChannel?.SessionStatus; + } + return new ValueTask(result); + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IChannelService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IChannelService.cs new file mode 100644 index 000000000..07b31c4a2 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IChannelService.cs @@ -0,0 +1,29 @@ +using DotNetty.Codecs.Mqtt.Packets; +using DotNetty.Transport.Channels; +using Surging.Core.Protocol.Mqtt.Internal.Channel; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services +{ + public interface IChannelService + { + MqttChannel GetMqttChannel(string deviceId); + bool Connect(string deviceId, MqttChannel build); + Task Suscribe(String deviceId, params string[] topics); + Task Login(IChannel channel, string deviceId, ConnectMessage mqttConnectMessage); + Task Publish(IChannel channel, PublishPacket mqttPublishMessage); + Task Publish(string deviceId, MqttWillMessage willMessage); + Task Close(string deviceId, bool isDisconnect); + ValueTask GetDeviceStatus(string deviceId); + Task SendWillMsg(MqttWillMessage willMeaasge); + ValueTask GetDeviceId(IChannel channel); + Task UnSubscribe(string deviceId, params string[] topics); + Task Pubrel(IChannel channel, int messageId); + Task Pubrec(MqttChannel channel, int messageId); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IClientSessionService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IClientSessionService.cs new file mode 100644 index 000000000..9c9ad7556 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IClientSessionService.cs @@ -0,0 +1,15 @@ +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services +{ + public interface IClientSessionService + { + void SaveMessage(string deviceId, SessionMessage sessionMessage); + + ConcurrentQueue GetMessages(string deviceId); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IMessagePushService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IMessagePushService.cs new file mode 100644 index 000000000..43e43287e --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IMessagePushService.cs @@ -0,0 +1,28 @@ +using DotNetty.Codecs.Mqtt.Packets; +using DotNetty.Transport.Channels; +using Surging.Core.Protocol.Mqtt.Internal.Channel; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services +{ + public interface IMessagePushService + { + Task WriteWillMsg(MqttChannel mqttChannel, MqttWillMessage willMeaasge); + + Task SendQosConfirmMsg(QualityOfService qos, MqttChannel mqttChannel, string topic, byte[] bytes); + + Task SendPubBack(IChannel channel, int messageId); + + Task SendPubRec(MqttChannel mqttChannel, int messageId); + + Task SendPubRel(IChannel channel, int messageId); + + Task SendToPubComp(IChannel channel, int messageId); + + Task SendQos0Msg(IChannel channel, String topic, byte[] byteBuf); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IWillService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IWillService.cs new file mode 100644 index 000000000..fc99ed19c --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IWillService.cs @@ -0,0 +1,17 @@ +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services +{ + public interface IWillService + { + void Add(string deviceid, MqttWillMessage willMessage); + + Task SendWillMessage(string deviceId); + + void Remove(string deviceid); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/ClientSessionService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/ClientSessionService.cs new file mode 100644 index 000000000..7f007ed89 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/ClientSessionService.cs @@ -0,0 +1,28 @@ +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Concurrent; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services.Implementation +{ + public class ClientSessionService: IClientSessionService + { + private readonly ConcurrentDictionary> _clientsessionMessages = + new ConcurrentDictionary>(); + + public ConcurrentQueue GetMessages(string deviceId) + { + _clientsessionMessages.TryGetValue(deviceId, out ConcurrentQueue messages); + return messages; + } + + public void SaveMessage(string deviceId, SessionMessage sessionMessage) + { + _clientsessionMessages.TryGetValue(deviceId, out ConcurrentQueue sessionMessages); + _clientsessionMessages.AddOrUpdate(deviceId, sessionMessages, (id, message) => + { + sessionMessages.Enqueue(sessionMessage); + return sessionMessages; + }); + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MessagePushService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MessagePushService.cs new file mode 100644 index 000000000..5b1c303fc --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MessagePushService.cs @@ -0,0 +1,149 @@ +using DotNetty.Buffers; +using DotNetty.Codecs.Mqtt.Packets; +using DotNetty.Transport.Channels; +using Surging.Core.Protocol.Mqtt.Internal.Channel; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using Surging.Core.Protocol.Mqtt.Internal.Runtime; +using Surging.Core.Protocol.Mqtt.Util; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services.Implementation +{ + public class MessagePushService:IMessagePushService + { + private readonly ScanRunnable _scanRunnable; + public MessagePushService(ScanRunnable scanRunnable) + { + _scanRunnable = scanRunnable; + } + public async Task WriteWillMsg(MqttChannel mqttChannel, MqttWillMessage willMeaasge) + { + switch (willMeaasge.Qos) + { + case 0: + await SendQos0Msg(mqttChannel.Channel, willMeaasge.Topic, Encoding.Default.GetBytes(willMeaasge.WillMessage)); + break; + case 1: // qos1 + await SendQosConfirmMsg(QualityOfService.AtLeastOnce, mqttChannel, willMeaasge.Topic, Encoding.Default.GetBytes(willMeaasge.WillMessage)); + break; + case 2: // qos2 + await SendQosConfirmMsg(QualityOfService.ExactlyOnce, mqttChannel, willMeaasge.Topic, Encoding.Default.GetBytes(willMeaasge.WillMessage)); + break; + } + + } + + public async Task SendQosConfirmMsg(QualityOfService qos, MqttChannel mqttChannel, string topic, byte[] bytes) + { + if (mqttChannel.IsLogin()) + { + int messageId = MessageIdGenerater.GenerateId(); + switch (qos) + { + case QualityOfService.AtLeastOnce: + mqttChannel.AddMqttMessage(messageId, await SendQos1Msg(mqttChannel.Channel, topic, false, bytes, messageId)); + break; + case QualityOfService.ExactlyOnce: + mqttChannel.AddMqttMessage(messageId,await SendQos2Msg(mqttChannel.Channel, topic, false, bytes, messageId)); + break; + } + } + + } + + private async Task SendQos1Msg(IChannel channel, String topic, bool isDup, byte[] byteBuf, int messageId) + { + var mqttPublishMessage = new PublishPacket(QualityOfService.AtLeastOnce, false, false); + mqttPublishMessage.Payload = Unpooled.WrappedBuffer(byteBuf); + await channel.WriteAndFlushAsync(mqttPublishMessage); + return Enqueue(channel, messageId, topic, byteBuf, (int)QualityOfService.AtLeastOnce, ConfirmStatus.PUB); + } + + private async Task SendQos2Msg(IChannel channel, String topic, bool isDup, byte[] byteBuf, int messageId) + { + var mqttPublishMessage = new PublishPacket(QualityOfService.ExactlyOnce, false, false); + mqttPublishMessage.Payload = Unpooled.WrappedBuffer(byteBuf); + await channel.WriteAndFlushAsync(mqttPublishMessage); + return Enqueue(channel, messageId, topic, byteBuf, (int)QualityOfService.AtLeastOnce, ConfirmStatus.PUB); + } + + private async Task SendQos0Msg(IChannel channel, String topic, byte[] byteBuf, int messageId) + { + if (channel != null) + { + var mqttPublishMessage = new PublishPacket(QualityOfService.AtMostOnce, true, true); + mqttPublishMessage.TopicName = topic; + mqttPublishMessage.Payload = Unpooled.WrappedBuffer(byteBuf); + await channel.WriteAndFlushAsync(mqttPublishMessage); + } + } + + public async Task SendPubBack(IChannel channel, int messageId) + { + var mqttPubAckMessage = new PubAckPacket() { + PacketId = messageId + }; + await channel.WriteAndFlushAsync(mqttPubAckMessage); + } + + public async Task SendPubRec(MqttChannel mqttChannel, int messageId) + { + var mqttPubAckMessage = new PubRecPacket() + { + PacketId = messageId + }; + var channel = mqttChannel.Channel; + await channel.WriteAndFlushAsync(mqttPubAckMessage); + var sendMqttMessage = Enqueue(channel, messageId, null, null, 1, ConfirmStatus.PUBREC); + mqttChannel.AddMqttMessage(messageId, sendMqttMessage); + } + + public async Task SendPubRel(IChannel channel, int messageId) + { + var mqttPubAckMessage = new PubRelPacket() + { + PacketId = messageId + }; + await channel.WriteAndFlushAsync(mqttPubAckMessage); + } + + public async Task SendToPubComp(IChannel channel, int messageId) + { + var mqttPubAckMessage = new PubCompPacket() + { + PacketId = messageId + }; + await channel.WriteAndFlushAsync(mqttPubAckMessage); + } + + + public async Task SendQos0Msg(IChannel channel, String topic, byte[] byteBuf) + { + if (channel != null) + { + await SendQos0Msg(channel, topic, byteBuf, 0); + } + } + + private SendMqttMessage Enqueue(IChannel channel, int messageId, String topic, byte[] datas, int mqttQoS, ConfirmStatus confirmStatus) + { + var message = new SendMqttMessage + { + ByteBuf = datas, + Channel = channel, + MessageId = messageId, + Qos = mqttQoS, + Time = DateTime.Now.Ticks / 10000, + ConfirmStatus = confirmStatus, + Topic = topic + }; + _scanRunnable.Enqueue(message); + return message; + } + + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MqttChannelService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MqttChannelService.cs new file mode 100644 index 000000000..9907a6aaa --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MqttChannelService.cs @@ -0,0 +1,428 @@ +using System; +using System.Collections.Generic; +using System.Text; +using DotNetty.Transport.Channels; +using Surging.Core.Protocol.Mqtt.Internal.Channel; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System.Linq; +using System.Collections.Concurrent; +using DotNetty.Codecs.Mqtt.Packets; +using Microsoft.Extensions.Logging; +using DotNetty.Buffers; +using System.Threading.Tasks; +using Surging.Core.Protocol.Mqtt.Internal.Runtime; +using Surging.Core.CPlatform.Ids; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services.Implementation +{ + public class MqttChannelService : AbstractChannelService + { + private readonly IMessagePushService _messagePushService; + private readonly IClientSessionService _clientSessionService; + private readonly ILogger _logger; + private readonly IWillService _willService; + public MqttChannelService(IMessagePushService messagePushService, IClientSessionService clientSessionService, + ILogger logger, IWillService willService, + IMqttBrokerEntryManger mqttBrokerEntryManger, + IMqttRemoteInvokeService mqttRemoteInvokeService, + IServiceIdGenerator serviceIdGenerator) : + base(messagePushService, + mqttBrokerEntryManger, + mqttRemoteInvokeService, + serviceIdGenerator) + { + _messagePushService = messagePushService; + _clientSessionService = clientSessionService; + _logger = logger; + _willService = willService; + } + + public override async Task Close(string deviceId, bool isDisconnect) + { + if (!string.IsNullOrEmpty(deviceId)) + { + MqttChannels.TryGetValue(deviceId, out MqttChannel mqttChannel); + if (mqttChannel != null) + { + mqttChannel.SessionStatus = SessionStatus.CLOSE; + await mqttChannel.Close(); + mqttChannel.Channel = null; + } + if (!mqttChannel.CleanSession) + { + var messages = mqttChannel.Messages; + if (messages != null) + { + foreach (var sendMqttMessage in messages.Values) + { + if (sendMqttMessage.ConfirmStatus == ConfirmStatus.PUB) + { + _clientSessionService.SaveMessage(mqttChannel.ClientId, new SessionMessage + { + Message = sendMqttMessage.ByteBuf, + QoS = sendMqttMessage.Qos, + Topic = sendMqttMessage.Topic + }); + } + } + } + } + else + { + MqttChannels.TryRemove(deviceId, out MqttChannel channel); + if (mqttChannel.SubscribeStatus == SubscribeStatus.Yes) + { + RemoveSubTopic(mqttChannel); + } + } + if (mqttChannel.IsWill) + { + if (!isDisconnect) + { + await _willService.SendWillMessage(deviceId); + } + } + + } + } + + public override bool Connect(string deviceId, MqttChannel channel) + { + var mqttChannel = GetMqttChannel(deviceId); + if (mqttChannel != null) + { + if (mqttChannel.SessionStatus == SessionStatus.OPEN) return false; + else if (mqttChannel.SessionStatus == SessionStatus.CLOSE) + { + if (mqttChannel.SubscribeStatus == SubscribeStatus.Yes) + { + var topics = RemoveSubTopic(mqttChannel); + foreach (var topic in topics) + { + Topics.TryGetValue(topic, out IEnumerable comparisonValue); + var newValue = comparisonValue.Concat(new [] { channel }); + Topics.AddOrUpdate(topic, newValue, (key, value) => newValue); + } + } + + } + } + MqttChannels.AddOrUpdate(deviceId, channel, (k, v) => channel); + return true; + } + + public override async Task Login(IChannel channel, string deviceId, ConnectMessage mqttConnectMessage) + { + channel.GetAttribute(LoginAttrKey).Set("login"); + channel.GetAttribute(DeviceIdAttrKey).Set(deviceId); + await Init(channel,mqttConnectMessage); + } + + public override async Task Publish(IChannel channel, PublishPacket mqttPublishMessage) + { + MqttChannel mqttChannel = GetMqttChannel(await this.GetDeviceId(channel)); + var buffer = mqttPublishMessage.Payload; + byte[] bytes = new byte[buffer.ReadableBytes]; + buffer.ReadBytes(bytes); + int messageId = mqttPublishMessage.PacketId; + if (channel.HasAttribute(LoginAttrKey) && mqttChannel != null) + { + bool isRetain = mqttPublishMessage.RetainRequested; + switch (mqttPublishMessage.QualityOfService) + { + case QualityOfService.AtLeastOnce: + await _messagePushService.SendPubBack(channel, messageId); + break; + case QualityOfService.ExactlyOnce: + await Pubrec(mqttChannel, messageId); + break; + } + if (isRetain) + { + SaveRetain(mqttPublishMessage.TopicName, + new RetainMessage + { + ByteBuf = bytes, + QoS = (int)mqttPublishMessage.QualityOfService + }, mqttPublishMessage.QualityOfService == QualityOfService.AtMostOnce ? true : false); + } + await PushMessage(mqttPublishMessage.TopicName, (int)mqttPublishMessage.QualityOfService, bytes, isRetain); + await RemotePublishMessage("", new MqttWillMessage + { + Qos = (int)mqttPublishMessage.QualityOfService, + Topic = mqttPublishMessage.TopicName, + WillMessage = Encoding.Default.GetString(bytes), + WillRetain = mqttPublishMessage.RetainRequested + }); + } + } + + public override async Task Publish(string deviceId, MqttWillMessage willMessage) + { + if (!string.IsNullOrEmpty(deviceId)) + { + var mqttChannel = GetMqttChannel(deviceId); + if (mqttChannel.SessionStatus == SessionStatus.OPEN) + { + await _messagePushService.WriteWillMsg(mqttChannel, willMessage); + } + } + else { await SendWillMsg(willMessage); } + if (willMessage.WillRetain) + SaveRetain(willMessage.Topic, new RetainMessage + { + ByteBuf = Encoding.UTF8.GetBytes(willMessage.WillMessage), + QoS = willMessage.Qos + }, willMessage.Qos==0?true:false); + await RemotePublishMessage(deviceId, willMessage); + } + + private async Task PushMessage(string topic, int qos, byte[] bytes, bool isRetain) + { + Topics.TryGetValue(topic, out IEnumerable mqttChannels); + if (mqttChannels!=null && mqttChannels.Any()) + { + foreach (var mqttChannel in mqttChannels) + { + switch (mqttChannel.SessionStatus) + { + case SessionStatus.OPEN: + { + if (mqttChannel.IsActive()) + { + await SendMessage(mqttChannel, qos, + topic, bytes); + } + else + { + if (!mqttChannel.CleanSession && !isRetain) + { + _clientSessionService.SaveMessage(mqttChannel.ClientId, + new SessionMessage + { + Message = bytes, + QoS = qos, + Topic = topic + }); + break; + } + } + } + break; + case SessionStatus.CLOSE: + _clientSessionService.SaveMessage(mqttChannel.ClientId, + new SessionMessage + { + Message = bytes, + QoS = qos, + Topic = topic + }); + break; + } + } + } + } + + public override async Task Pubrec(MqttChannel channel, int messageId) + { + await _messagePushService.SendPubRec(channel, messageId); + } + + public override async Task Pubrel(IChannel channel, int messageId) + { + if (MqttChannels.TryGetValue(await this.GetDeviceId(channel), out MqttChannel mqttChannel)) + { + if (mqttChannel.IsLogin()) + { + mqttChannel.RemoveMqttMessage(messageId); + await _messagePushService.SendToPubComp(channel, messageId); + } + } + } + + public override async Task SendWillMsg(MqttWillMessage willMeaasge) + { + Topics.TryGetValue(willMeaasge.Topic, out IEnumerable mqttChannels); + if (mqttChannels!=null && mqttChannels.Any()) + { + foreach (var mqttChannel in mqttChannels) + { + switch (mqttChannel.SessionStatus) + { + case SessionStatus.CLOSE: + _clientSessionService.SaveMessage(mqttChannel.ClientId, new SessionMessage + { + Message = Encoding.UTF8.GetBytes(willMeaasge.WillMessage), + QoS = willMeaasge.Qos, + Topic = willMeaasge.Topic + }); + break; + case SessionStatus.OPEN: + await _messagePushService.WriteWillMsg(mqttChannel, willMeaasge); + break; + + } + } + } + } + + public override async Task Suscribe(string deviceId, params string[] topics) + { + if (!string.IsNullOrEmpty(deviceId)) + { + MqttChannels.TryGetValue(deviceId, out MqttChannel mqttChannel); + mqttChannel.SubscribeStatus = SubscribeStatus.Yes; + mqttChannel.AddTopic(topics); + if (mqttChannel.IsLogin()) + { + foreach (var topic in topics) + { + this.AddChannel(topic, mqttChannel); + await RegisterMqttBroker(topic); + await this.SendRetain(topic, mqttChannel); + } + } + } + } + + public override async Task UnSubscribe(string deviceId, params string[] topics) + { + if (MqttChannels.TryGetValue(deviceId, out MqttChannel mqttChannel)) + { + foreach (var topic in topics) + { + RemoveChannel(topic, mqttChannel); + await BrokerCancellationReg(topic); + } + } + } + + public async Task SendRetain(string topic, MqttChannel mqttChannel) + { + Retain.TryGetValue(topic, out ConcurrentQueue retainMessages); + if (retainMessages!=null && !retainMessages.IsEmpty) + { + var count = retainMessages.Count; + for (int i = 0; i < count; i++) + { + if (retainMessages.TryPeek(out RetainMessage retainMessage)) + { + await SendMessage(mqttChannel, retainMessage.QoS, topic, retainMessage.ByteBuf); + } + } + } + } + + private void SaveRetain(String topic, RetainMessage retainMessage, bool isClean) + { + Retain.TryGetValue(topic, out ConcurrentQueue retainMessages); + if (retainMessages == null) retainMessages=new ConcurrentQueue(); + if (!retainMessages.IsEmpty && isClean) + { + retainMessages.Clear(); + } + retainMessages.Enqueue(retainMessage); + Retain.AddOrUpdate(topic, retainMessages,(key,value)=> retainMessages); + } + + public IEnumerable RemoveSubTopic(MqttChannel mqttChannel) + { + IEnumerable topics = mqttChannel.Topics; + foreach (var topic in topics) + { + Topics.TryGetValue(topic, out IEnumerable comparisonValue); + var newValue = comparisonValue.Where(p => p != mqttChannel); + Topics.TryUpdate(topic, newValue, comparisonValue); + } + return topics; + } + + private async Task SendMessage(MqttChannel mqttChannel,int qos, string topic,byte [] byteBuf) + { + switch (qos) + { + case 0: + await _messagePushService.SendQos0Msg(mqttChannel.Channel, topic, byteBuf); + break; + case 1: + await _messagePushService.SendQosConfirmMsg(QualityOfService.AtLeastOnce, mqttChannel, topic, byteBuf); + break; + case 2: + await _messagePushService.SendQosConfirmMsg(QualityOfService.ExactlyOnce, mqttChannel, topic, byteBuf); + break; + } + } + + private async Task Init(IChannel channel, ConnectMessage mqttConnectMessage) + { + String deviceId = await GetDeviceId(channel); + MqttChannel mqttChannel = new MqttChannel() + { + Channel = channel, + CleanSession = mqttConnectMessage.CleanSession, + ClientId = mqttConnectMessage.ClientId, + SessionStatus = SessionStatus.OPEN, + IsWill = mqttConnectMessage.HasWill, + SubscribeStatus = SubscribeStatus.No, + Messages = new ConcurrentDictionary(), + Topics = new List() + }; + if (Connect(deviceId, mqttChannel)) + { + if (mqttConnectMessage.HasWill) + { + if (mqttConnectMessage.WillMessage == null || string.IsNullOrEmpty(mqttConnectMessage.WillTopic)) + { + if (_logger.IsEnabled(LogLevel.Error)) + _logger.LogError($"WillMessage 和 WillTopic不能为空"); + return; + } + var willMessage = new MqttWillMessage + { + Qos = mqttConnectMessage.Qos, + WillRetain = mqttConnectMessage.WillRetain, + Topic = mqttConnectMessage.WillTopic, + WillMessage = Encoding.UTF8.GetString(mqttConnectMessage.WillMessage) + + }; + _willService.Add(mqttConnectMessage.ClientId, willMessage); + } + else + { + _willService.Remove(mqttConnectMessage.ClientId); + if (!mqttConnectMessage.WillRetain && mqttConnectMessage.WillQualityOfService != 0) + { + if (_logger.IsEnabled(LogLevel.Error)) + _logger.LogError($"WillRetain 设置为false,WillQos必须设置为AtMostOnce"); + return; + } + } + await channel.WriteAndFlushAsync(new ConnAckPacket + { + ReturnCode = ConnectReturnCode.Accepted, + SessionPresent = !mqttConnectMessage.CleanSession + }); + var sessionMessages = _clientSessionService.GetMessages(mqttConnectMessage.ClientId); + if (sessionMessages != null && !sessionMessages.IsEmpty) + { + for (; sessionMessages.TryDequeue(out SessionMessage sessionMessage) && sessionMessage != null;) + { + switch (sessionMessage.QoS) + { + case 0: + await _messagePushService.SendQos0Msg(channel, sessionMessage.Topic, sessionMessage.Message); + break; + case 1: + await _messagePushService.SendQosConfirmMsg(QualityOfService.AtLeastOnce, GetMqttChannel(deviceId), sessionMessage.Topic, sessionMessage.Message); + break; + case 2: + await _messagePushService.SendQosConfirmMsg(QualityOfService.ExactlyOnce, GetMqttChannel(deviceId), sessionMessage.Topic, sessionMessage.Message); + break; + } + } + } + } + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/WillService.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/WillService.cs new file mode 100644 index 000000000..7764ae8e3 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/WillService.cs @@ -0,0 +1,52 @@ +using Microsoft.Extensions.Logging; +using Surging.Core.CPlatform; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Concurrent; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services.Implementation +{ + public class WillService: IWillService + { + private ConcurrentDictionary willMeaasges = new ConcurrentDictionary(); + private readonly ILogger _logger; + private readonly CPlatformContainer _serviceProvider; + + public WillService(ILogger logger, CPlatformContainer serviceProvider) + { + _logger = logger; + _serviceProvider = serviceProvider; + } + + public void Add(string deviceid, MqttWillMessage willMessage) + { + willMeaasges.AddOrUpdate(deviceid, willMessage,(id,message)=>willMessage); + } + + public async Task SendWillMessage(string deviceId) + { + if (!string.IsNullOrEmpty(deviceId)) + { + willMeaasges.TryGetValue(deviceId, out MqttWillMessage willMessage); + if (willMeaasges != null) + { + await _serviceProvider.GetInstances().SendWillMsg(willMessage); + if (!willMessage.WillRetain) + { + Remove(deviceId); + if (_logger.IsEnabled(LogLevel.Information)) + _logger.LogInformation($"deviceId:{deviceId} 的遗嘱消息[" + willMessage.WillMessage + "] 已经被删除"); + + } + } + } + } + + public void Remove(string deviceid) { + willMeaasges.TryRemove(deviceid,out MqttWillMessage message); + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/MqttBehavior.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/MqttBehavior.cs new file mode 100644 index 000000000..c651a78da --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/MqttBehavior.cs @@ -0,0 +1,26 @@ +using Surging.Core.CPlatform.Ioc; +using Surging.Core.CPlatform.Utilities; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt.Internal.Services +{ + public abstract class MqttBehavior: ServiceBase + { + public async Task Publish(string deviceId, MqttWillMessage willMessage) + { + await GetService().Publish(deviceId, willMessage); + } + + public async Task GetDeviceStatus(string deviceId) + { + return await this.GetService().GetDeviceStatus(deviceId); + } + + public abstract Task Authorized(string username, string password); + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttHandlerServiceBase.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttHandlerServiceBase.cs new file mode 100644 index 000000000..34dacefb2 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttHandlerServiceBase.cs @@ -0,0 +1,48 @@ +using DotNetty.Codecs.Mqtt.Packets; +using DotNetty.Transport.Channels; +using Surging.Core.CPlatform.Messages; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt +{ + public abstract class MqttHandlerServiceBase + { + protected readonly Action _handler; + public MqttHandlerServiceBase( Action handler) + { + _handler = handler; + } + + public abstract void Login(IChannelHandlerContext context, ConnectPacket packet); + + public abstract void ConnAck(IChannelHandlerContext context, ConnAckPacket packet); + + public abstract void Disconnect(IChannelHandlerContext context, DisconnectPacket packet); + + public abstract void PingReq(IChannelHandlerContext context, PingReqPacket packet); + + public abstract void PingResp(IChannelHandlerContext context, PingRespPacket packet); + + public abstract void PubAck(IChannelHandlerContext context, PubAckPacket packet); + + public abstract void PubComp(IChannelHandlerContext context, PubCompPacket packet); + + public abstract void PubRec(IChannelHandlerContext context, PubRecPacket packet); + + public abstract void PubRel(IChannelHandlerContext context, PubRelPacket packet); + + public abstract void Publish(IChannelHandlerContext context, PublishPacket packet); + + public abstract void SubAck(IChannelHandlerContext context, SubAckPacket packet); + + public abstract void Subscribe(IChannelHandlerContext context, SubscribePacket packet); + + public abstract void UnsubAck(IChannelHandlerContext context, UnsubAckPacket packet); + + public abstract void Unsubscribe(IChannelHandlerContext context, UnsubscribePacket packet); + + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttProtocolModule.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttProtocolModule.cs new file mode 100644 index 000000000..6919b72e4 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttProtocolModule.cs @@ -0,0 +1,119 @@ +using Autofac; +using Microsoft.Extensions.Logging; +using Surging.Core.CPlatform; +using Surging.Core.CPlatform.Ids; +using Surging.Core.CPlatform.Module; +using Surging.Core.CPlatform.Mqtt; +using Surging.Core.CPlatform.Runtime.Server; +using Surging.Core.CPlatform.Runtime.Server.Implementation; +using Surging.Core.CPlatform.Transport.Codec; +using Surging.Core.Protocol.Mqtt.Implementation; +using Surging.Core.Protocol.Mqtt.Internal.Channel; +using Surging.Core.Protocol.Mqtt.Internal.Runtime; +using Surging.Core.Protocol.Mqtt.Internal.Runtime.Implementation; +using Surging.Core.Protocol.Mqtt.Internal.Services; +using Surging.Core.Protocol.Mqtt.Internal.Services.Implementation; +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.Mqtt +{ + public class MqttProtocolModule : EnginePartModule + { + public override void Initialize(CPlatformContainer serviceProvider) + { + base.Initialize(serviceProvider); + } + + /// + /// Inject dependent third-party components + /// + /// + protected override void RegisterBuilder(ContainerBuilderWrapper builder) + { + base.RegisterBuilder(builder); + builder.RegisterType(typeof(DefaultMqttServiceFactory)).As(typeof(IMqttServiceFactory)).SingleInstance(); + builder.RegisterType(typeof(DefaultMqttBrokerEntryManager)).As(typeof(IMqttBrokerEntryManger)).SingleInstance(); + builder.RegisterType(typeof(MqttRemoteInvokeService)).As(typeof(IMqttRemoteInvokeService)).SingleInstance(); + builder.Register(provider => + { + return new WillService( + provider.Resolve>(), + provider.Resolve() + ); + }).As().SingleInstance(); + builder.Register(provider => + { + return new MessagePushService(new SacnScheduled()); + }).As().SingleInstance(); + builder.RegisterType(typeof(ClientSessionService)).As(typeof(IClientSessionService)).SingleInstance(); + builder.Register(provider => + { + return new MqttChannelService( + provider.Resolve(), + provider.Resolve(), + provider.Resolve>(), + provider.Resolve(), + provider.Resolve(), + provider.Resolve(), + provider.Resolve() + ); + }).As(typeof(IChannelService)).SingleInstance(); + builder.RegisterType(typeof(DefaultMqttBehaviorProvider)).As(typeof(IMqttBehaviorProvider)).SingleInstance(); + + if (AppConfig.ServerOptions.Protocol == CommunicationProtocol.Http) + { + RegisterDefaultProtocol(builder); + } + else if (AppConfig.ServerOptions.Protocol == CommunicationProtocol.None) + { + RegisterMqttProtocol(builder); + } + } + + private static void RegisterDefaultProtocol(ContainerBuilderWrapper builder) + { + builder.Register(provider => + { + return new DotNettyMqttServerMessageListener(provider.Resolve>(), + provider.Resolve(), + provider.Resolve() + ); + }).SingleInstance(); + builder.Register(provider => + { + + var messageListener = provider.Resolve(); + return new DefaultServiceHost(async endPoint => + { + await messageListener.StartAsync(endPoint); + return messageListener; + }, null); + + }).As(); + } + + private static void RegisterMqttProtocol(ContainerBuilderWrapper builder) + { + + builder.Register(provider => + { + return new DotNettyMqttServerMessageListener(provider.Resolve>(), + provider.Resolve(), + provider.Resolve() + ); + }).SingleInstance(); + builder.Register(provider => + { + var messageListener = provider.Resolve(); + return new MqttServiceHost(async endPoint => + { + await messageListener.StartAsync(endPoint); + return messageListener; + }); + + }).As(); + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttServiceHost.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttServiceHost.cs new file mode 100644 index 000000000..b8d2de071 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttServiceHost.cs @@ -0,0 +1,56 @@ +using Surging.Core.CPlatform; +using Surging.Core.CPlatform.Runtime.Server.Implementation; +using Surging.Core.CPlatform.Transport; +using System; +using System.Collections.Generic; +using System.Net; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Core.Protocol.Mqtt +{ + public class MqttServiceHost : ServiceHostAbstract + { + #region Field + + private readonly Func> _messageListenerFactory; + private IMessageListener _serverMessageListener; + + #endregion Field + + public MqttServiceHost(Func> messageListenerFactory) : base(null) + { + _messageListenerFactory = messageListenerFactory; + } + + #region Overrides of ServiceHostAbstract + + /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + public override void Dispose() + { + (_serverMessageListener as IDisposable)?.Dispose(); + } + + /// + /// 启动主机。 + /// + /// 主机终结点。 + /// 一个任务。 + public override async Task StartAsync(EndPoint endPoint) + { + if (_serverMessageListener != null) + return; + _serverMessageListener = await _messageListenerFactory(endPoint); + + } + + public override async Task StartAsync(string ip, int port) + { + if (_serverMessageListener != null) + return; + _serverMessageListener = await _messageListenerFactory(new IPEndPoint(IPAddress.Parse(ip), AppConfig.ServerOptions.Ports.MQTTPort)); + } + + #endregion Overrides of ServiceHostAbstract + } +} \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Surging.Core.Protocol.Mqtt.csproj b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Surging.Core.Protocol.Mqtt.csproj new file mode 100644 index 000000000..8c283bb3d --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Surging.Core.Protocol.Mqtt.csproj @@ -0,0 +1,31 @@ + + + + netcoreapp2.1 + fanly + surging Micro Service Framework + surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec + Copyright © fanly All Rights Reserved. + https://github.com/dotnetcore/surging/blob/master/LICENSE + https://github.com/dotnetcore/surging + MicroService surging + 1. fix bug + + + + + + + + + + + + + + + C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.extensions.logging.abstractions\2.1.1\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll + + + + diff --git a/src/Surging.Core/Surging.Core.Protocol.Mqtt/Util/MessageIdGenerater.cs b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Util/MessageIdGenerater.cs new file mode 100644 index 000000000..5e29f6de4 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.Mqtt/Util/MessageIdGenerater.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading; + +namespace Surging.Core.Protocol.Mqtt.Util +{ + public class MessageIdGenerater + { + + private static int _index; + private static int _lock; + public static int GenerateId() + { + for (; ; ) + { + if (Interlocked.Exchange(ref _lock, 1) != 0) + { + default(SpinWait).SpinOnce(); + continue; + } + if (int.MaxValue > _index) + _index++; + else + _index = 0; + + Interlocked.Exchange(ref _lock, 0); + return _index; + } + } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.WS/Attributes/BehaviorContractAttribute.cs b/src/Surging.Core/Surging.Core.Protocol.WS/Attributes/BehaviorContractAttribute.cs new file mode 100644 index 000000000..ab81e0756 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.WS/Attributes/BehaviorContractAttribute.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.WS.Attributes +{ + public class BehaviorContractAttribute : Attribute + { + + public bool IgnoreExtensions { get; set; } + + public bool EmitOnPing { get; set; } + + public string Protocol { get; set; } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.WS/Configurations/BehaviorOption.cs b/src/Surging.Core/Surging.Core.Protocol.WS/Configurations/BehaviorOption.cs new file mode 100644 index 000000000..7bb3a65a4 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.WS/Configurations/BehaviorOption.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.WS.Configurations +{ + public class BehaviorOption + { + public bool IgnoreExtensions { get; set; } + + public bool EmitOnPing { get; set; } + + public string Protocol { get; set; } + } +} diff --git a/src/Surging.Core/Surging.Core.Protocol.WS/Configurations/WebSocketOptions.cs b/src/Surging.Core/Surging.Core.Protocol.WS/Configurations/WebSocketOptions.cs new file mode 100644 index 000000000..de8add798 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Protocol.WS/Configurations/WebSocketOptions.cs @@ -0,0 +1,39 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.Core.Protocol.WS.Configurations +{ + public class WebSocketOptions + { + /// + /// Gets or sets the time to wait for the response to the WebSocket Ping or + /// Close. + /// + /// + /// The set operation does nothing if the server has already started or + /// it is shutting down. + /// + /// + /// + /// A to wait for the response. + /// + /// + /// The default value is the same as 1 second. + /// + /// + /// + /// The value specified for a set operation is zero or less. + /// + public int WaitTime { get; set; } = 1; + + public bool KeepClean + { + get; + set; + } = false; + + public BehaviorOption Behavior { get; set; } + } + +} \ No newline at end of file diff --git a/src/Surging.Core/Surging.Core.Protocol.WS/DefaultWSServerMessageListener.cs b/src/Surging.Core/Surging.Core.Protocol.WS/DefaultWSServerMessageListener.cs index 720dbb16d..02abc26da 100644 --- a/src/Surging.Core/Surging.Core.Protocol.WS/DefaultWSServerMessageListener.cs +++ b/src/Surging.Core/Surging.Core.Protocol.WS/DefaultWSServerMessageListener.cs @@ -9,6 +9,7 @@ using WebSocketCore.Server; using Surging.Core.Protocol.WS.Runtime; using Microsoft.Extensions.Logging; +using Surging.Core.Protocol.WS.Configurations; namespace Surging.Core.Protocol.WS { @@ -17,10 +18,14 @@ public class DefaultWSServerMessageListener : IMessageListener, IDisposable private readonly List _entries; private WebSocketServer _wssv; private readonly ILogger _logger; - public DefaultWSServerMessageListener(ILogger logger,IWSServiceEntryProvider wsServiceEntryProvider) + private readonly WebSocketOptions _options; + + public DefaultWSServerMessageListener(ILogger logger, + IWSServiceEntryProvider wsServiceEntryProvider, WebSocketOptions options) { _logger = logger; _entries = wsServiceEntryProvider.GetEntries().ToList(); + _options = options; } public async Task StartAsync(EndPoint endPoint) { @@ -30,7 +35,8 @@ public async Task StartAsync(EndPoint endPoint) { foreach (var entry in _entries) _wssv.AddWebSocketService(entry.Path, entry.FuncBehavior); - _wssv.KeepClean = false; + _wssv.KeepClean = _options.KeepClean; + _wssv.WaitTime = TimeSpan.FromSeconds(_options.WaitTime); _wssv.Start(); if (_logger.IsEnabled(LogLevel.Debug)) _logger.LogDebug($"WS服务主机启动成功,监听地址:{endPoint}。"); diff --git a/src/Surging.Core/Surging.Core.Protocol.WS/Runtime/Implementation/DefaultWSServiceEntryProvider.cs b/src/Surging.Core/Surging.Core.Protocol.WS/Runtime/Implementation/DefaultWSServiceEntryProvider.cs index 63e9eac0f..45f1498c7 100644 --- a/src/Surging.Core/Surging.Core.Protocol.WS/Runtime/Implementation/DefaultWSServiceEntryProvider.cs +++ b/src/Surging.Core/Surging.Core.Protocol.WS/Runtime/Implementation/DefaultWSServiceEntryProvider.cs @@ -4,6 +4,8 @@ using Surging.Core.CPlatform.Routing.Template; using Surging.Core.CPlatform.Runtime.Server; using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes; +using Surging.Core.Protocol.WS.Attributes; +using Surging.Core.Protocol.WS.Configurations; using System; using System.Collections.Generic; using System.Linq; @@ -21,16 +23,21 @@ public class DefaultWSServiceEntryProvider : IWSServiceEntryProvider private readonly ILogger _logger; private readonly CPlatformContainer _serviceProvider; private List _wSServiceEntries; + private WebSocketOptions _options; #endregion Field #region Constructor - public DefaultWSServiceEntryProvider(IServiceEntryProvider serviceEntryProvider, ILogger logger, CPlatformContainer serviceProvider) + public DefaultWSServiceEntryProvider(IServiceEntryProvider serviceEntryProvider, + ILogger logger, + CPlatformContainer serviceProvider, + WebSocketOptions options) { _types = serviceEntryProvider.GetTypes(); _logger = logger; _serviceProvider = serviceProvider; + _options = options; } #endregion Constructor @@ -68,6 +75,7 @@ public WSServiceEntry CreateServiceEntry(Type service) { WSServiceEntry result = null; var routeTemplate = service.GetCustomAttribute(); + var behaviorContract = service.GetCustomAttribute(); var objInstance = _serviceProvider.GetInstances(service); var behavior = objInstance as WebSocketBehavior; var path = RoutePatternParser.Parse(routeTemplate.RouteTemplate, service.Name); @@ -79,9 +87,30 @@ public WSServiceEntry CreateServiceEntry(Type service) Behavior = behavior, Type = behavior.GetType(), Path = path, - FuncBehavior= () => _serviceProvider.GetInstances(service) as WebSocketBehavior, + FuncBehavior = () => + { + return GetWebSocketBehavior(service, _options?.Behavior, behaviorContract); + } }; return result; } + + private WebSocketBehavior GetWebSocketBehavior(Type service,BehaviorOption option, BehaviorContractAttribute contractAttribute) + { + var wsBehavior = _serviceProvider.GetInstances(service) as WebSocketBehavior; + if (option != null) + { + wsBehavior.IgnoreExtensions = option.IgnoreExtensions; + wsBehavior.Protocol = option.Protocol; + wsBehavior.EmitOnPing = option.EmitOnPing; + } + if (contractAttribute != null) + { + wsBehavior.IgnoreExtensions = contractAttribute.IgnoreExtensions; + wsBehavior.Protocol = contractAttribute.Protocol; + wsBehavior.EmitOnPing = contractAttribute.EmitOnPing; + } + return wsBehavior; + } } } diff --git a/src/Surging.Core/Surging.Core.Protocol.WS/Runtime/WSServiceEntry.cs b/src/Surging.Core/Surging.Core.Protocol.WS/Runtime/WSServiceEntry.cs index 0f0cbbfc7..574ad5005 100644 --- a/src/Surging.Core/Surging.Core.Protocol.WS/Runtime/WSServiceEntry.cs +++ b/src/Surging.Core/Surging.Core.Protocol.WS/Runtime/WSServiceEntry.cs @@ -1,4 +1,5 @@ -using System; +using Surging.Core.Protocol.WS.Configurations; +using System; using System.Collections.Generic; using System.Text; using WebSocketCore.Server; diff --git a/src/Surging.Core/Surging.Core.Protocol.WS/Surging.Core.Protocol.WS.csproj b/src/Surging.Core/Surging.Core.Protocol.WS/Surging.Core.Protocol.WS.csproj index a52b24fca..a6c452044 100644 --- a/src/Surging.Core/Surging.Core.Protocol.WS/Surging.Core.Protocol.WS.csproj +++ b/src/Surging.Core/Surging.Core.Protocol.WS/Surging.Core.Protocol.WS.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - 0.9.0.2 + 1.0.0.0 fanly fanly surging Micro Service Framework @@ -11,9 +11,9 @@ https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging MicroService surging - 1.Support for hot-swap engine components - 0.9.0.2 - 0.9.0.2 + 1. fix bug + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.Protocol.WS/WSProtocolModule.cs b/src/Surging.Core/Surging.Core.Protocol.WS/WSProtocolModule.cs index 06250b7c0..a3fe3dac0 100644 --- a/src/Surging.Core/Surging.Core.Protocol.WS/WSProtocolModule.cs +++ b/src/Surging.Core/Surging.Core.Protocol.WS/WSProtocolModule.cs @@ -1,4 +1,5 @@ using Autofac; +using Microsoft.Extensions.Configuration; using Microsoft.Extensions.Logging; using Surging.Core.CPlatform; using Surging.Core.CPlatform.Module; @@ -6,6 +7,7 @@ using Surging.Core.CPlatform.Runtime.Server.Implementation; using Surging.Core.CPlatform.Serialization; using Surging.Core.CPlatform.Transport.Codec; +using Surging.Core.Protocol.WS.Configurations; using Surging.Core.Protocol.WS.Runtime; using Surging.Core.Protocol.WS.Runtime.Implementation; using System; @@ -14,7 +16,7 @@ namespace Surging.Core.Protocol.WS { - public class WSProtocolModule : EnginePartModule + public class WSProtocolModule : EnginePartModule { public override void Initialize(CPlatformContainer serviceProvider) { @@ -27,25 +29,39 @@ public override void Initialize(CPlatformContainer serviceProvider) /// protected override void RegisterBuilder(ContainerBuilderWrapper builder) { + var options = new WebSocketOptions(); + var section = AppConfig.GetSection("WebSocket"); + if (section.Exists()) + options = section.Get(); base.RegisterBuilder(builder); - builder.RegisterType(typeof(DefaultWSServiceEntryProvider)).As(typeof(IWSServiceEntryProvider)).SingleInstance(); + builder.Register(provider => + { + return new DefaultWSServiceEntryProvider( + provider.Resolve(), + provider.Resolve>(), + provider.Resolve(), + options + ); + }).As(typeof(IWSServiceEntryProvider)).SingleInstance(); if (AppConfig.ServerOptions.Protocol == CommunicationProtocol.WS) { - RegisterDefaultProtocol(builder); + RegisterDefaultProtocol(builder, options); } else if (AppConfig.ServerOptions.Protocol == CommunicationProtocol.None) { - RegisterWSProtocol(builder); + RegisterWSProtocol(builder, options); } } - private static void RegisterDefaultProtocol(ContainerBuilderWrapper builder) + private static void RegisterDefaultProtocol(ContainerBuilderWrapper builder, WebSocketOptions options) { + builder.Register(provider => { return new DefaultWSServerMessageListener( provider.Resolve>(), - provider.Resolve() + provider.Resolve(), + options ); }).SingleInstance(); builder.Register(provider => @@ -60,12 +76,13 @@ private static void RegisterDefaultProtocol(ContainerBuilderWrapper builder) }).As(); } - private static void RegisterWSProtocol(ContainerBuilderWrapper builder) + private static void RegisterWSProtocol(ContainerBuilderWrapper builder, WebSocketOptions options) { builder.Register(provider => { return new DefaultWSServerMessageListener(provider.Resolve>(), - provider.Resolve() + provider.Resolve(), + options ); }).SingleInstance(); builder.Register(provider => diff --git a/src/Surging.Core/Surging.Core.ProxyGenerator/Implementation/ServiceProxyBase.cs b/src/Surging.Core/Surging.Core.ProxyGenerator/Implementation/ServiceProxyBase.cs index 63c45535a..a57cd7a90 100644 --- a/src/Surging.Core/Surging.Core.ProxyGenerator/Implementation/ServiceProxyBase.cs +++ b/src/Surging.Core/Surging.Core.ProxyGenerator/Implementation/ServiceProxyBase.cs @@ -104,7 +104,10 @@ protected async Task Invoke(IDictionary parameters, string } } if (message != null) - result = _typeConvertibleService.Convert(message.Result, typeof(T)); + { + if (message.Result == null) result = message.Result; + else result = _typeConvertibleService.Convert(message.Result, typeof(T)); + } return (T)result; } diff --git a/src/Surging.Core/Surging.Core.ProxyGenerator/Surging.Core.ProxyGenerator.csproj b/src/Surging.Core/Surging.Core.ProxyGenerator/Surging.Core.ProxyGenerator.csproj index c3ba7e896..cb152f0c0 100644 --- a/src/Surging.Core/Surging.Core.ProxyGenerator/Surging.Core.ProxyGenerator.csproj +++ b/src/Surging.Core/Surging.Core.ProxyGenerator/Surging.Core.ProxyGenerator.csproj @@ -2,17 +2,18 @@ netcoreapp2.1 - 0.9.0.4 + 1.0.0.0 fanly surging Micro Service Framework Copyright © fanly All Rights Reserved. - 1. Fix errors caused by dynamically loading assemblies + 1. fix bug + https://github.com/dotnetcore/surging https://github.com/dotnetcore/surging/blob/master/LICENSE MicroService surging - 0.9.0.4 - 0.9.0.4 + 1.0.0.0 + 1.0.0.0 surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec diff --git a/src/Surging.Core/Surging.Core.ServiceHosting/Surging.Core.ServiceHosting.csproj b/src/Surging.Core/Surging.Core.ServiceHosting/Surging.Core.ServiceHosting.csproj index 711097b85..5c246c6ca 100644 --- a/src/Surging.Core/Surging.Core.ServiceHosting/Surging.Core.ServiceHosting.csproj +++ b/src/Surging.Core/Surging.Core.ServiceHosting/Surging.Core.ServiceHosting.csproj @@ -4,17 +4,19 @@ netcoreapp2.1 Surging.Core.ServiceHosting Copyright © fanly All Rights Reserved. - 0.9.0.4 + 1.0.0.0 fanly surging Micro Service Framework - 1. Fix errors caused by dynamically loading assemblies + 1. add KestrelHttpServer support +2.add Swagger support +3. fix bug MicroService surging https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec - 0.9.0.4 - 0.9.0.4 + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.Swagger/Surging.Core.Swagger.csproj b/src/Surging.Core/Surging.Core.Swagger/Surging.Core.Swagger.csproj index 5fa7b2a3e..877e007ec 100644 --- a/src/Surging.Core/Surging.Core.Swagger/Surging.Core.Swagger.csproj +++ b/src/Surging.Core/Surging.Core.Swagger/Surging.Core.Swagger.csproj @@ -2,6 +2,20 @@ netcoreapp2.1 + 1.0.0.0 + fanly + fanly + surging Micro Service Framework + surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec + Copyright © fanly All Rights Reserved. + https://github.com/dotnetcore/surging/blob/master/LICENSE + https://github.com/dotnetcore/surging + MicroService surging + 1. add KestrelHttpServer support +2.add Swagger support +3. fix bug + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.Swagger/Swagger/Model/SwaggerDocument.cs b/src/Surging.Core/Surging.Core.Swagger/Swagger/Model/SwaggerDocument.cs index 45b59e648..bc3a17b55 100644 --- a/src/Surging.Core/Surging.Core.Swagger/Swagger/Model/SwaggerDocument.cs +++ b/src/Surging.Core/Surging.Core.Swagger/Swagger/Model/SwaggerDocument.cs @@ -140,7 +140,7 @@ public Operation() public IList Parameters { get; set; } public IDictionary Responses { get; set; } - + public IList Schemes { get; set; } public bool? Deprecated { get; set; } diff --git a/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ISchemaRegistry.cs b/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ISchemaRegistry.cs index aa4e7a32a..867203486 100644 --- a/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ISchemaRegistry.cs +++ b/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ISchemaRegistry.cs @@ -7,6 +7,8 @@ public interface ISchemaRegistry { Schema GetOrRegister(Type type); + Schema GetOrRegister(string parmName, Type type); + IDictionary Definitions { get; } } } diff --git a/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SchemaRegistry.cs b/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SchemaRegistry.cs index 4d454891d..35534bf81 100644 --- a/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SchemaRegistry.cs +++ b/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SchemaRegistry.cs @@ -31,9 +31,12 @@ public SchemaRegistry( public IDictionary Definitions { get; private set; } public Schema GetOrRegister(Type type) + => GetOrRegister(null, type); + + public Schema GetOrRegister(string paramName, Type type) { var referencedTypes = new Queue(); - var schema = CreateSchema(type, referencedTypes); + var schema = CreateSchema(paramName,type, referencedTypes); // Ensure all referenced types have a corresponding definition while (referencedTypes.Any()) @@ -46,13 +49,17 @@ public Schema GetOrRegister(Type type) // and prevents a stack overflow by ensuring the above condition is met if the same // type ends up back on the referencedTypes queue via recursion within 'CreateInlineSchema' Definitions.Add(schemaId, null); - Definitions[schemaId] = CreateInlineSchema(referencedType, referencedTypes); + Definitions[schemaId] = CreateInlineSchema(paramName, referencedType, referencedTypes); } return schema; } - private Schema CreateSchema(Type type, Queue referencedTypes) + private Schema CreateSchema(Type type, Queue referencedTypes) => + CreateSchema(null, type, referencedTypes); + + + private Schema CreateSchema(string paramName, Type type, Queue referencedTypes) { // If Option (F#), use the type argument if (type.IsFSharpOption()) @@ -71,7 +78,7 @@ jsonContract is JsonObjectContract || return createReference ? CreateReferenceSchema(type, referencedTypes) - : CreateInlineSchema(type, referencedTypes); + : CreateInlineSchema(paramName, type, referencedTypes); } private Schema CreateReferenceSchema(Type type, Queue referencedTypes) @@ -80,7 +87,7 @@ private Schema CreateReferenceSchema(Type type, Queue referencedTypes) return new Schema { Ref = "#/definitions/" + _schemaIdManager.IdFor(type) }; } - private Schema CreateInlineSchema(Type type, Queue referencedTypes) + private Schema CreateInlineSchema(string paramName, Type type, Queue referencedTypes) { Schema schema; @@ -96,7 +103,7 @@ private Schema CreateInlineSchema(Type type, Queue referencedTypes) if (jsonContract is JsonPrimitiveContract) schema = CreatePrimitiveSchema((JsonPrimitiveContract)jsonContract); else if (jsonContract is JsonDictionaryContract) - schema = CreateDictionarySchema((JsonDictionaryContract)jsonContract, referencedTypes); + schema = CreateDictionarySchema(paramName,(JsonDictionaryContract)jsonContract, referencedTypes); else if (jsonContract is JsonArrayContract) schema = CreateArraySchema((JsonArrayContract)jsonContract, referencedTypes); else if (jsonContract is JsonObjectContract && type != typeof(object)) @@ -171,7 +178,7 @@ private Schema CreateEnumSchema(JsonPrimitiveContract primitiveContract, Type ty }; } - private Schema CreateDictionarySchema(JsonDictionaryContract dictionaryContract, Queue referencedTypes) + private Schema CreateDictionarySchema(string paramName, JsonDictionaryContract dictionaryContract, Queue referencedTypes) { var keyType = dictionaryContract.DictionaryKeyType ?? typeof(object); var valueType = dictionaryContract.DictionaryValueType ?? typeof(object); @@ -187,6 +194,16 @@ private Schema CreateDictionarySchema(JsonDictionaryContract dictionaryContract, ) }; } + else if(!string.IsNullOrEmpty(paramName)) + { + return new Schema + { + Type = "object", + Properties = new Dictionary { {paramName, + CreateSchema(valueType, referencedTypes) } } + + }; + } else { return new Schema diff --git a/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SwaggerGenerator.cs b/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SwaggerGenerator.cs index b24da5f08..a9eeb263b 100644 --- a/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SwaggerGenerator.cs +++ b/src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SwaggerGenerator.cs @@ -57,8 +57,6 @@ public SwaggerDocument GetSwagger( var entry = _serviceEntryProvider.GetALLEntries(); - - var schemaRegistry = _schemaRegistryFactory.Create(); var swaggerDoc = new SwaggerDocument @@ -73,27 +71,20 @@ public SwaggerDocument GetSwagger( Security = _options.SecurityRequirements.Any() ? _options.SecurityRequirements : null }; - //var filterContext = new DocumentFilterContext( - // _apiDescriptionsProvider.ApiDescriptionGroups, - // applicableApiDescriptions, - // schemaRegistry); - - //foreach (var filter in _options.DocumentFilters) - //{ - // filter.Apply(swaggerDoc, filterContext); - //} - return swaggerDoc; } private Dictionary CreatePathItems( - IEnumerable apiDescriptions, + IEnumerable apiDescriptions, ISchemaRegistry schemaRegistry) { + return apiDescriptions - .OrderBy(p=>p.RoutePath) + .OrderBy(p => p.RoutePath) .GroupBy(apiDesc => apiDesc.Descriptor.RoutePath) - .ToDictionary(entry => "/" + entry.Key, entry => CreatePathItem(entry, schemaRegistry)); + .ToDictionary(entry => + entry.Key.IndexOf("/") == 0 ? entry.Key : $"/{entry.Key}" + , entry => CreatePathItem(entry, schemaRegistry)); } private Dictionary CreatePathItems( @@ -201,6 +192,7 @@ private Operation CreateOperation(ServiceEntry serviceEntry, MethodInfo methodIn Responses = CreateResponses(serviceEntry,methodInfo, schemaRegistry), }; + var filterContext = new OperationFilterContext( null, schemaRegistry, @@ -311,15 +303,31 @@ private IList CreateParameters( ServiceEntry serviceEntry, MethodInf }; return parameterInfo !=null && parameterInfo.Any(p => ! UtilityType.ConvertibleType.GetTypeInfo().IsAssignableFrom(p.ParameterType) && p.ParameterType.Name != "HttpFormCollection") - ? parameterInfo.Select(p=> CreateBodyParameter(p,schemaRegistry)).ToList(): - parameterInfo.Select(p => CreateNonBodyParameter(p, schemaRegistry)).ToList(); + ? new List { CreateServiceKeyParameter() }.Union(parameterInfo.Select(p=> CreateBodyParameter(p,schemaRegistry))).ToList(): + new List { CreateServiceKeyParameter() }.Union(parameterInfo.Select(p => CreateNonBodyParameter(p, schemaRegistry))).ToList(); } private IParameter CreateBodyParameter(ParameterInfo parameterInfo, ISchemaRegistry schemaRegistry) { - var schema = schemaRegistry.GetOrRegister(parameterInfo.ParameterType); + + var schema = schemaRegistry.GetOrRegister(parameterInfo.Name,typeof(IDictionary<,>).MakeGenericType(typeof(string), parameterInfo.ParameterType)); return new BodyParameter { Name = parameterInfo.Name,Schema=schema, Required = true }; } + + private IParameter CreateServiceKeyParameter() + { + var nonBodyParam = new NonBodyParameter + { + Name = "servicekey", + In = "query", + Required = false, + }; + var schema = new Schema(); + schema.Description = "ServiceKey"; + nonBodyParam.PopulateFrom(schema); + return nonBodyParam; + } + private IParameter CreateNonBodyParameter(ParameterInfo parameterInfo, ISchemaRegistry schemaRegistry) { var nonBodyParam = new NonBodyParameter diff --git a/src/Surging.Core/Surging.Core.Zookeeper/Configurations/ConfigInfo.cs b/src/Surging.Core/Surging.Core.Zookeeper/Configurations/ConfigInfo.cs index 75bbb215d..108257360 100644 --- a/src/Surging.Core/Surging.Core.Zookeeper/Configurations/ConfigInfo.cs +++ b/src/Surging.Core/Surging.Core.Zookeeper/Configurations/ConfigInfo.cs @@ -14,11 +14,13 @@ public class ConfigInfo /// 订阅者配置路径 /// 服务命令配置路径 /// 缓存中心配置路径 + /// mqtt路由配置路径 /// 根节点。 public ConfigInfo(string connectionString, string routePath = "/services/serviceRoutes", string subscriberPath = "/services/serviceSubscribers", string commandPath = "/services/serviceCommands", - string cachePath = "/services/serviceCaches", + string cachePath = "/services/serviceCaches", + string mqttRoutePath = "services/mqttServiceRoutes/", string chRoot = null, bool reloadOnChange = false, bool enableChildrenMonitor = false) : this(connectionString, TimeSpan.FromSeconds(20), @@ -26,6 +28,7 @@ public ConfigInfo(string connectionString, string routePath = "/services/service subscriberPath, commandPath, cachePath, + mqttRoutePath, chRoot, reloadOnChange, enableChildrenMonitor) { @@ -40,11 +43,13 @@ public ConfigInfo(string connectionString, string routePath = "/services/service /// 订阅者配置路径 /// 会话超时时间。 /// 缓存中心配置路径 + /// mqtt路由配置路径 /// 根节点。 public ConfigInfo(string connectionString, TimeSpan sessionTimeout, string routePath = "/services/serviceRoutes", string subscriberPath = "/services/serviceSubscribers", string commandPath = "/services/serviceCommands", string cachePath = "/services/serviceCaches", + string mqttRoutePath = "services/mqttServiceRoutes/", string chRoot = null, bool reloadOnChange = false, bool enableChildrenMonitor = false) { @@ -97,5 +102,11 @@ public ConfigInfo(string connectionString, TimeSpan sessionTimeout, string route /// 缓存中心配置中心 /// public string CachePath { get; set; } + + + /// + /// Mqtt路由配置路径。 + /// + public string MqttRoutePath { get; set; } } } diff --git a/src/Surging.Core/Surging.Core.Zookeeper/Configurations/ZookeeperOption.cs b/src/Surging.Core/Surging.Core.Zookeeper/Configurations/ZookeeperOption.cs index a0b850577..a973cf1f2 100644 --- a/src/Surging.Core/Surging.Core.Zookeeper/Configurations/ZookeeperOption.cs +++ b/src/Surging.Core/Surging.Core.Zookeeper/Configurations/ZookeeperOption.cs @@ -21,6 +21,8 @@ public class ZookeeperOption public string CachePath { get; set; } + public string MqttRoutePath { get; set; } + public string ReloadOnChange { get; set; } public string EnableChildrenMonitor { get; set; } diff --git a/src/Surging.Core/Surging.Core.Zookeeper/ContainerBuilderExtensions.cs b/src/Surging.Core/Surging.Core.Zookeeper/ContainerBuilderExtensions.cs index 25ad8a995..e9db78f34 100644 --- a/src/Surging.Core/Surging.Core.Zookeeper/ContainerBuilderExtensions.cs +++ b/src/Surging.Core/Surging.Core.Zookeeper/ContainerBuilderExtensions.cs @@ -3,6 +3,7 @@ using Microsoft.Extensions.Logging; using Surging.Core.CPlatform; using Surging.Core.CPlatform.Cache; +using Surging.Core.CPlatform.Mqtt; using Surging.Core.CPlatform.Routing; using Surging.Core.CPlatform.Runtime.Client; using Surging.Core.CPlatform.Runtime.Server; @@ -31,6 +32,20 @@ public static IServiceBuilder UseZooKeeperRouteManager(this IServiceBuilder buil provider.GetRequiredService>())); } + public static IServiceBuilder UseZooKeeperMqttRouteManager(this IServiceBuilder builder, ConfigInfo configInfo) + { + return builder.UseMqttRouteManager(provider => + { + var result = new ZooKeeperMqttServiceRouteManager( + GetConfigInfo(configInfo), + provider.GetRequiredService>(), + provider.GetRequiredService>(), + provider.GetRequiredService(), + provider.GetRequiredService>()); + return result; + }); + } + /// /// 设置服务命令管理者。 /// @@ -83,7 +98,8 @@ public static IServiceBuilder UseZooKeeperManager(this IServiceBuilder builder, return builder.UseZooKeeperRouteManager(configInfo) .UseZooKeeperCacheManager(configInfo) .UseZooKeeperServiceSubscribeManager(configInfo) - .UseZooKeeperCommandManager(configInfo); + .UseZooKeeperCommandManager(configInfo) + .UseZooKeeperMqttRouteManager(configInfo); } public static IServiceBuilder UseZooKeeperManager(this IServiceBuilder builder) @@ -92,7 +108,8 @@ public static IServiceBuilder UseZooKeeperManager(this IServiceBuilder builder) return builder.UseZooKeeperRouteManager(configInfo) .UseZooKeeperCacheManager(configInfo) .UseZooKeeperServiceSubscribeManager(configInfo) - .UseZooKeeperCommandManager(configInfo); + .UseZooKeeperCommandManager(configInfo) + .UseZooKeeperMqttRouteManager(configInfo); } @@ -115,10 +132,11 @@ private static ConfigInfo GetConfigInfo(ConfigInfo config) option.SubscriberPath ?? config.SubscriberPath, option.CommandPath ?? config.CommandPath, option.CachePath ?? config.CachePath, + option.MqttRoutePath ?? config.MqttRoutePath, option.ChRoot ?? config.ChRoot, option.ReloadOnChange != null ? bool.Parse(option.ReloadOnChange) : config.ReloadOnChange, - option.EnableChildrenMonitor!= null ? bool.Parse(option.EnableChildrenMonitor): + option.EnableChildrenMonitor != null ? bool.Parse(option.EnableChildrenMonitor) : config.EnableChildrenMonitor ); } diff --git a/src/Surging.Core/Surging.Core.Zookeeper/Surging.Core.Zookeeper.csproj b/src/Surging.Core/Surging.Core.Zookeeper/Surging.Core.Zookeeper.csproj index 2a3f73aec..416fb7059 100644 --- a/src/Surging.Core/Surging.Core.Zookeeper/Surging.Core.Zookeeper.csproj +++ b/src/Surging.Core/Surging.Core.Zookeeper/Surging.Core.Zookeeper.csproj @@ -2,7 +2,7 @@ netcoreapp2.1 - 0.9.0.2 + 1.0.0.0 fanly surging Micro Service Framework @@ -11,9 +11,9 @@ https://github.com/dotnetcore/surging surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec MicroService surging - 1.Support for hot-swap engine components - 0.9.0.2 - 0.9.0.2 + 1. fix bug + 1.0.0.0 + 1.0.0.0 diff --git a/src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperMqttServiceRouteManager.cs b/src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperMqttServiceRouteManager.cs new file mode 100644 index 000000000..c3a988c79 --- /dev/null +++ b/src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperMqttServiceRouteManager.cs @@ -0,0 +1,410 @@ +using Microsoft.Extensions.Logging; +using org.apache.zookeeper; +using Surging.Core.CPlatform.Address; +using Surging.Core.CPlatform.Mqtt; +using Surging.Core.CPlatform.Mqtt.Implementation; +using Surging.Core.CPlatform.Serialization; +using Surging.Core.CPlatform.Transport.Implementation; +using Surging.Core.CPlatform.Utilities; +using Surging.Core.Zookeeper.Configurations; +using Surging.Core.Zookeeper.WatcherProvider; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading; +using System.Threading.Tasks; + +namespace Surging.Core.Zookeeper +{ + public class ZooKeeperMqttServiceRouteManager : MqttServiceRouteManagerBase, IDisposable + { + private ZooKeeper _zooKeeper; + private readonly ConfigInfo _configInfo; + private readonly ISerializer _serializer; + private readonly IMqttServiceFactory _mqttServiceFactory; + private readonly ILogger _logger; + private MqttServiceRoute[] _routes; + private readonly ManualResetEvent _connectionWait = new ManualResetEvent(false); + + public ZooKeeperMqttServiceRouteManager(ConfigInfo configInfo, ISerializer serializer, + ISerializer stringSerializer, IMqttServiceFactory mqttServiceFactory, + ILogger logger) : base(stringSerializer) + { + _configInfo = configInfo; + _serializer = serializer; + _mqttServiceFactory = mqttServiceFactory; + _logger = logger; + CreateZooKeeper().Wait(); + EnterRoutes().Wait(); + } + + + /// + /// 获取所有可用的mqtt服务路由信息。 + /// + /// 服务路由集合。 + public override async Task> GetRoutesAsync() + { + await EnterRoutes(); + return _routes; + } + + /// + /// 清空所有的mqtt服务路由。 + /// + /// 一个任务。 + public override async Task ClearAsync() + { + if (_logger.IsEnabled(LogLevel.Information)) + _logger.LogInformation("准备清空所有mqtt路由配置。"); + var path = _configInfo.MqttRoutePath; + var childrens = path.Split(new[] { '/' }, StringSplitOptions.RemoveEmptyEntries); + + var index = 0; + while (childrens.Count() > 1) + { + var nodePath = "/" + string.Join("/", childrens); + + if (await _zooKeeper.existsAsync(nodePath) != null) + { + var result = await _zooKeeper.getChildrenAsync(nodePath); + if (result?.Children != null) + { + foreach (var child in result.Children) + { + var childPath = $"{nodePath}/{child}"; + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"准备删除:{childPath}。"); + await _zooKeeper.deleteAsync(childPath); + } + } + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"准备删除:{nodePath}。"); + await _zooKeeper.deleteAsync(nodePath); + } + index++; + childrens = childrens.Take(childrens.Length - index).ToArray(); + } + if (_logger.IsEnabled(LogLevel.Information)) + _logger.LogInformation("路由配置清空完成。"); + } + + /// + /// 设置mqtt服务路由。 + /// + /// 服务路由集合。 + /// 一个任务。 + protected override async Task SetRoutesAsync(IEnumerable routes) + { + if (_logger.IsEnabled(LogLevel.Information)) + _logger.LogInformation("准备添加mqtt服务路由。"); + await CreateSubdirectory(_configInfo.MqttRoutePath); + + var path = _configInfo.MqttRoutePath; + if (!path.EndsWith("/")) + path += "/"; + + routes = routes.ToArray(); + + foreach (var serviceRoute in routes) + { + var nodePath = $"{path}{serviceRoute.MqttDescriptor.Topic}"; + var nodeData = _serializer.Serialize(serviceRoute); + if (await _zooKeeper.existsAsync(nodePath) == null) + { + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"节点:{nodePath}不存在将进行创建。"); + + await _zooKeeper.createAsync(nodePath, nodeData, ZooDefs.Ids.OPEN_ACL_UNSAFE, CreateMode.PERSISTENT); + } + else + { + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"将更新节点:{nodePath}的数据。"); + + var onlineData = (await _zooKeeper.getDataAsync(nodePath)).Data; + if (!DataEquals(nodeData, onlineData)) + await _zooKeeper.setDataAsync(nodePath, nodeData); + } + } + if (_logger.IsEnabled(LogLevel.Information)) + _logger.LogInformation("mqtt服务路由添加成功。"); + } + + public override async Task RemveAddressAsync(IEnumerable Address) + { + var routes = await GetRoutesAsync(); + foreach (var route in routes) + { + route.MqttEndpoint = route.MqttEndpoint.Except(Address); + } + await base.SetRoutesAsync(routes); + } + + public override async Task RemoveByTopicAsync(string topic, IEnumerable endpoint) + { + var routes = await GetRoutesAsync(); + var route = routes.Where(p => p.MqttDescriptor.Topic == topic).SingleOrDefault(); + if (route != null) + { + route.MqttEndpoint = route.MqttEndpoint.Except(endpoint); + await base.SetRoutesAsync(new MqttServiceRoute[] { route }); + } + } + + public override async Task SetRoutesAsync(IEnumerable routes) + { + var hostAddr = NetUtils.GetHostAddress(); + var serviceRoutes = await GetRoutes(routes.Select(p => p.MqttDescriptor.Topic)); + if (serviceRoutes.Count() > 0) + { + foreach (var route in routes) + { + var serviceRoute = serviceRoutes.Where(p => p.MqttDescriptor.Topic == route.MqttDescriptor.Topic).FirstOrDefault(); + if (serviceRoute != null) + { + var addresses = serviceRoute.MqttEndpoint.Concat( + route.MqttEndpoint.Except(serviceRoute.MqttEndpoint)).ToList(); + + foreach (var address in route.MqttEndpoint) + { + addresses.Remove(addresses.Where(p => p.ToString() == address.ToString()).FirstOrDefault()); + addresses.Add(address); + } + route.MqttEndpoint = addresses; + } + } + } + await RemoveExceptRoutesAsync(routes, hostAddr); + await base.SetRoutesAsync(routes); + } + + private async Task RemoveExceptRoutesAsync(IEnumerable routes, AddressModel hostAddr) + { + var path = _configInfo.MqttRoutePath; + if (!path.EndsWith("/")) + path += "/"; + routes = routes.ToArray(); + if (_routes != null) + { + var oldRouteTopics = _routes.Select(i => i.MqttDescriptor.Topic).ToArray(); + var newRouteTopics = routes.Select(i => i.MqttDescriptor.Topic).ToArray(); + var deletedRouteTopics = oldRouteTopics.Except(newRouteTopics).ToArray(); + foreach (var deletedRouteTopic in deletedRouteTopics) + { + var addresses = _routes.Where(p => p.MqttDescriptor.Topic == deletedRouteTopic).Select(p => p.MqttEndpoint).FirstOrDefault(); + if (addresses.Contains(hostAddr)) + { + var nodePath = $"{path}{deletedRouteTopic}"; + await _zooKeeper.deleteAsync(nodePath); + } + } + } + } + + private async Task CreateZooKeeper() + { + if (_zooKeeper != null) + await _zooKeeper.closeAsync(); + _zooKeeper = new ZooKeeper(_configInfo.ConnectionString, (int)_configInfo.SessionTimeout.TotalMilliseconds + , new ReconnectionWatcher( + () => + { + _connectionWait.Set(); + }, + () => + { + _connectionWait.Close(); + }, + async () => + { + _connectionWait.Reset(); + await CreateZooKeeper(); + })); + + } + + private async Task CreateSubdirectory(string path) + { + _connectionWait.WaitOne(); + if (await _zooKeeper.existsAsync(path) != null) + return; + + if (_logger.IsEnabled(LogLevel.Information)) + _logger.LogInformation($"节点{path}不存在,将进行创建。"); + + var childrens = path.Split(new[] { '/' }, StringSplitOptions.RemoveEmptyEntries); + var nodePath = "/"; + + foreach (var children in childrens) + { + nodePath += children; + if (await _zooKeeper.existsAsync(nodePath) == null) + { + await _zooKeeper.createAsync(nodePath, null, ZooDefs.Ids.OPEN_ACL_UNSAFE, CreateMode.PERSISTENT); + } + nodePath += "/"; + } + } + + private async Task GetRoute(byte[] data) + { + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"准备转换mqtt服务路由,配置内容:{Encoding.UTF8.GetString(data)}。"); + + if (data == null) + return null; + + var descriptor = _serializer.Deserialize(data); + return (await _mqttServiceFactory.CreateMqttServiceRoutesAsync(new[] { descriptor })).First(); + } + + private async Task GetRoute(string path) + { + MqttServiceRoute result = null; + var watcher = new NodeMonitorWatcher(_zooKeeper, path, + async (oldData, newData) => await NodeChange(oldData, newData)); + if (await _zooKeeper.existsAsync(path) != null) + { + var data = (await _zooKeeper.getDataAsync(path, watcher)).Data; + watcher.SetCurrentData(data); + result = await GetRoute(data); + } + return result; + } + + private async Task GetRoutes(IEnumerable childrens) + { + var rootPath = _configInfo.MqttRoutePath; + if (!rootPath.EndsWith("/")) + rootPath += "/"; + + childrens = childrens.ToArray(); + var routes = new List(childrens.Count()); + + foreach (var children in childrens) + { + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"准备从节点:{children}中获取mqtt路由信息。"); + + var nodePath = $"{rootPath}{children}"; + var route = await GetRoute(nodePath); + if (route != null) + routes.Add(route); + } + + return routes.ToArray(); + } + + private async Task EnterRoutes() + { + if (_routes != null) + return; + _connectionWait.WaitOne(); + var watcher = new ChildrenMonitorWatcher(_zooKeeper, _configInfo.MqttRoutePath, + async (oldChildrens, newChildrens) => await ChildrenChange(oldChildrens, newChildrens)); + if (await _zooKeeper.existsAsync(_configInfo.MqttRoutePath, watcher) != null) + { + var result = await _zooKeeper.getChildrenAsync(_configInfo.MqttRoutePath, watcher); + var childrens = result.Children.ToArray(); + watcher.SetCurrentData(childrens); + _routes = await GetRoutes(childrens); + } + else + { + if (_logger.IsEnabled(LogLevel.Warning)) + _logger.LogWarning($"无法获取mqtt路由信息,因为节点:{_configInfo.RoutePath},不存在。"); + _routes = new MqttServiceRoute[0]; + } + } + + private static bool DataEquals(IReadOnlyList data1, IReadOnlyList data2) + { + if (data1.Count != data2.Count) + return false; + for (var i = 0; i < data1.Count; i++) + { + var b1 = data1[i]; + var b2 = data2[i]; + if (b1 != b2) + return false; + } + return true; + } + + public async Task NodeChange(byte[] oldData, byte[] newData) + { + if (DataEquals(oldData, newData)) + return; + + var newRoute = await GetRoute(newData); + //得到旧的mqtt路由。 + var oldRoute = _routes.FirstOrDefault(i => i.MqttDescriptor.Topic == newRoute.MqttDescriptor.Topic); + + lock (_routes) + { + //删除旧mqtt路由,并添加上新的mqtt路由。 + _routes = + _routes + .Where(i => i.MqttDescriptor.Topic != newRoute.MqttDescriptor.Topic) + .Concat(new[] { newRoute }).ToArray(); + } + + //触发路由变更事件。 + OnChanged(new MqttServiceRouteChangedEventArgs(newRoute, oldRoute)); + } + + public async Task ChildrenChange(string[] oldChildrens, string[] newChildrens) + { + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"最新的mqtt节点信息:{string.Join(",", newChildrens)}"); + + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"旧的mqtt节点信息:{string.Join(",", oldChildrens)}"); + + //计算出已被删除的节点。 + var deletedChildrens = oldChildrens.Except(newChildrens).ToArray(); + //计算出新增的节点。 + var createdChildrens = newChildrens.Except(oldChildrens).ToArray(); + + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"需要被删除的mqtt路由节点:{string.Join(",", deletedChildrens)}"); + if (_logger.IsEnabled(LogLevel.Debug)) + _logger.LogDebug($"需要被添加的mqtt路由节点:{string.Join(",", createdChildrens)}"); + + //获取新增的mqtt路由信息。 + var newRoutes = (await GetRoutes(createdChildrens)).ToArray(); + + var routes = _routes.ToArray(); + lock (_routes) + { + _routes = _routes + //删除无效的节点路由。 + .Where(i => !deletedChildrens.Contains(i.MqttDescriptor.Topic)) + //连接上新的mqtt路由。 + .Concat(newRoutes) + .ToArray(); + } + //需要删除的Topic路由集合。 + var deletedRoutes = routes.Where(i => deletedChildrens.Contains(i.MqttDescriptor.Topic)).ToArray(); + //触发删除事件。 + OnRemoved(deletedRoutes.Select(route => new MqttServiceRouteEventArgs(route)).ToArray()); + + //触发路由被创建事件。 + OnCreated(newRoutes.Select(route => new MqttServiceRouteEventArgs(route)).ToArray()); + + if (_logger.IsEnabled(LogLevel.Information)) + _logger.LogInformation("mqtt路由数据更新成功。"); + } + + + /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. + public void Dispose() + { + _connectionWait.Dispose(); + _zooKeeper.closeAsync().Wait(); + } + + } +} diff --git a/src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperServiceRouteManager.cs b/src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperServiceRouteManager.cs index 96d31ea1e..892b52f4a 100644 --- a/src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperServiceRouteManager.cs +++ b/src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperServiceRouteManager.cs @@ -5,6 +5,7 @@ using Surging.Core.CPlatform.Routing.Implementation; using Surging.Core.CPlatform.Serialization; using Surging.Core.CPlatform.Transport.Implementation; +using Surging.Core.CPlatform.Utilities; using Surging.Core.Zookeeper.Configurations; using Surging.Core.Zookeeper.WatcherProvider; using System; @@ -144,7 +145,7 @@ public override async Task RemveAddressAsync(IEnumerable Address) public override async Task SetRoutesAsync(IEnumerable routes) { - var hostAddr = RpcContext.GetContext().GetAttachment("Host") as AddressModel; + var hostAddr = NetUtils.GetHostAddress(); var serviceRoutes = await GetRoutes(routes.Select(p => p.ServiceDescriptor.Id)); if (serviceRoutes.Count() > 0) { diff --git a/src/Surging.Core/Surging.Core.Zookeeper/ZookeeperModule.cs b/src/Surging.Core/Surging.Core.Zookeeper/ZookeeperModule.cs index d072075b0..9825aaf58 100644 --- a/src/Surging.Core/Surging.Core.Zookeeper/ZookeeperModule.cs +++ b/src/Surging.Core/Surging.Core.Zookeeper/ZookeeperModule.cs @@ -4,6 +4,7 @@ using Surging.Core.CPlatform; using Surging.Core.CPlatform.Cache; using Surging.Core.CPlatform.Module; +using Surging.Core.CPlatform.Mqtt; using Surging.Core.CPlatform.Routing; using Surging.Core.CPlatform.Runtime.Client; using Surging.Core.CPlatform.Runtime.Server; @@ -59,6 +60,12 @@ public ContainerBuilderWrapper UseCacheManager(ContainerBuilderWrapper builder, return builder; } + public ContainerBuilderWrapper UseMqttRouteManager(ContainerBuilderWrapper builder, Func factory) + { + builder.RegisterAdapter(factory).InstancePerLifetimeScope(); + return builder; + } + /// /// 设置共享文件路由管理者。 /// @@ -77,6 +84,22 @@ public ZookeeperModule UseZooKeeperRouteManager(ContainerBuilderWrapper builder, return this; } + public ZookeeperModule UseZooKeeperMqttRouteManager(ContainerBuilderWrapper builder, ConfigInfo configInfo) + { + UseMqttRouteManager(builder, provider => + { + var result = new ZooKeeperMqttServiceRouteManager( + GetConfigInfo(configInfo), + provider.GetRequiredService>(), + provider.GetRequiredService>(), + provider.GetRequiredService(), + provider.GetRequiredService>()); + return result; + }); + return this; + } + + /// /// 设置服务命令管理者。 /// @@ -145,6 +168,7 @@ private static ConfigInfo GetConfigInfo(ConfigInfo config) option.SubscriberPath ?? config.SubscriberPath, option.CommandPath ?? config.CommandPath, option.CachePath ?? config.CachePath, + option.MqttRoutePath ?? config.MqttRoutePath, option.ChRoot ?? config.ChRoot, option.ReloadOnChange != null ? bool.Parse(option.ReloadOnChange) : config.ReloadOnChange, diff --git a/src/Surging.IModuleServices/Surging.IModuleServices.Common/IChatService.cs b/src/Surging.IModuleServices/Surging.IModuleServices.Common/IChatService.cs index d7421e6c8..9d9d57171 100644 --- a/src/Surging.IModuleServices/Surging.IModuleServices.Common/IChatService.cs +++ b/src/Surging.IModuleServices/Surging.IModuleServices.Common/IChatService.cs @@ -3,6 +3,7 @@ using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes; using Surging.Core.CPlatform.Support.Attributes; using Surging.Core.Protocol.WS; +using Surging.Core.Protocol.WS.Attributes; using System; using System.Collections.Generic; using System.Text; @@ -11,6 +12,7 @@ namespace Surging.IModuleServices.Common { [ServiceBundle("Api/{Service}")] + [BehaviorContract(IgnoreExtensions =true)] public interface IChatService: IServiceKey { [Command( ShuntStrategy=AddressSelectorMode.HashAlgorithm)] diff --git a/src/Surging.IModuleServices/Surging.IModuleServices.Common/IControllerService.cs b/src/Surging.IModuleServices/Surging.IModuleServices.Common/IControllerService.cs new file mode 100644 index 000000000..eb0bbdb74 --- /dev/null +++ b/src/Surging.IModuleServices/Surging.IModuleServices.Common/IControllerService.cs @@ -0,0 +1,23 @@ +using Surging.Core.CPlatform.Ioc; +using Surging.Core.CPlatform.Runtime.Client.Address.Resolvers.Implementation.Selectors.Implementation; +using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes; +using Surging.Core.CPlatform.Support.Attributes; +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.IModuleServices.Common.Models; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.IModuleServices.Common +{ + [ServiceBundle("Device/{Service}")] + public interface IControllerService : IServiceKey + { + [Command(ShuntStrategy = AddressSelectorMode.HashAlgorithm)] + Task Publish(string deviceId, WillMessage message); + + [Command(ShuntStrategy = AddressSelectorMode.HashAlgorithm)] + Task IsOnline(string deviceId); + } +} diff --git a/src/Surging.IModuleServices/Surging.IModuleServices.Common/IUserService.cs b/src/Surging.IModuleServices/Surging.IModuleServices.Common/IUserService.cs index 3d01c33f2..e8d34e7b7 100644 --- a/src/Surging.IModuleServices/Surging.IModuleServices.Common/IUserService.cs +++ b/src/Surging.IModuleServices/Surging.IModuleServices.Common/IUserService.cs @@ -1,22 +1,18 @@ -using Newtonsoft.Json.Linq; -using Surging.Core.Caching; -using Surging.Core.CPlatform; +using Surging.Core.Caching; +using Surging.Core.Common; using Surging.Core.CPlatform.EventBus.Events; using Surging.Core.CPlatform.Filters.Implementation; using Surging.Core.CPlatform.Ioc; -using Surging.Core.CPlatform.Routing.Implementation; using Surging.Core.CPlatform.Runtime.Client.Address.Resolvers.Implementation.Selectors.Implementation; using Surging.Core.CPlatform.Runtime.Server.Implementation.ServiceDiscovery.Attributes; using Surging.Core.CPlatform.Support; using Surging.Core.CPlatform.Support.Attributes; using Surging.Core.KestrelHttpServer; using Surging.Core.KestrelHttpServer.Internal; -using Surging.Core.ProxyGenerator.Implementation; using Surging.Core.System.Intercept; using Surging.IModuleServices.Common.Models; using System; using System.Collections.Generic; -using System.Text; using System.Threading.Tasks; namespace Surging.IModuleServices.Common @@ -62,7 +58,9 @@ public interface IUserService: IServiceKey [Command(Strategy = StrategyType.Injection, ShuntStrategy = AddressSelectorMode.HashAlgorithm, ExecutionTimeoutInMilliseconds = 1500, BreakerRequestVolumeThreshold = 3, Injection = @"return 1;", RequestCacheEnabled = true)] [InterceptMethod(CachingMethod.Get, Key = "GetUserId_{0}", CacheSectionType = SectionType.ddlCache, Mode = CacheTargetType.Redis, Time = 480)] Task GetUserId(string userName); - + + Task Try(); + /// /// 获取用户最后次sign时间 /// @@ -144,5 +142,18 @@ public interface IUserService: IServiceKey /// Task UploadFile(HttpFormCollection form); + /// + /// 测试下载文件 + /// + /// 文件名 + /// Content-Type + /// + Task DownFile(string fileName, string contentType); + + /// + /// + /// + /// + Task> GetAllThings(); } } diff --git a/src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/WillMessage.cs b/src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/WillMessage.cs new file mode 100644 index 000000000..3aed9f303 --- /dev/null +++ b/src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/WillMessage.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Surging.IModuleServices.Common.Models +{ + public class WillMessage + { + public string Topic { get; set; } + + public string Message { get; set; } + + + public bool WillRetain { get; set; } + + public int Qos { get; set; } + } +} diff --git a/src/Surging.IModuleServices/Surging.IModuleServices.Common/Surging.IModuleServices.Common.csproj b/src/Surging.IModuleServices/Surging.IModuleServices.Common/Surging.IModuleServices.Common.csproj index 5c9614bad..0d39f68ad 100644 --- a/src/Surging.IModuleServices/Surging.IModuleServices.Common/Surging.IModuleServices.Common.csproj +++ b/src/Surging.IModuleServices/Surging.IModuleServices.Common/Surging.IModuleServices.Common.csproj @@ -24,6 +24,7 @@ + diff --git a/src/Surging.Modules/Surging.Modules.Common/Domain/ControllerService.cs b/src/Surging.Modules/Surging.Modules.Common/Domain/ControllerService.cs new file mode 100644 index 000000000..b91909cbb --- /dev/null +++ b/src/Surging.Modules/Surging.Modules.Common/Domain/ControllerService.cs @@ -0,0 +1,40 @@ +using Surging.Core.Protocol.Mqtt.Internal.Enums; +using Surging.Core.Protocol.Mqtt.Internal.Messages; +using Surging.Core.Protocol.Mqtt.Internal.Services; +using Surging.IModuleServices.Common; +using Surging.IModuleServices.Common.Models; +using System; +using System.Collections.Generic; +using System.Text; +using System.Threading.Tasks; + +namespace Surging.Modules.Common.Domain +{ + public class ControllerService : MqttBehavior, IControllerService + { + public override async Task Authorized(string username, string password) + { + bool result = false; + if (username == "admin" && password == "123456") + result= true; + return await Task.FromResult(result); + } + + public async Task IsOnline(string deviceId) + { + var status= await base.GetDeviceStatus(deviceId); + return status == SessionStatus.OPEN; + } + + public async Task Publish(string deviceId, WillMessage message) + { + await Publish(deviceId, new MqttWillMessage + { + WillMessage = message.Message, + Qos = message.Qos, + Topic = message.Topic, + WillRetain = message.WillRetain + }); + } + } +} diff --git a/src/Surging.Modules/Surging.Modules.Common/Domain/PersonService.cs b/src/Surging.Modules/Surging.Modules.Common/Domain/PersonService.cs index d1d0a7d3e..09453f3d7 100644 --- a/src/Surging.Modules/Surging.Modules.Common/Domain/PersonService.cs +++ b/src/Surging.Modules/Surging.Modules.Common/Domain/PersonService.cs @@ -12,6 +12,8 @@ using Surging.Core.ProxyGenerator; using Surging.Core.KestrelHttpServer.Internal; using System.IO; +using Surging.Core.KestrelHttpServer; +using Surging.Core.Common; namespace Surging.Modules.Common.Domain { @@ -124,6 +126,31 @@ public async Task UploadFile(HttpFormCollection form) return true; } + public async Task DownFile(string fileName, string contentType) + { + string uploadPath = Path.Combine("C:", fileName); + if (File.Exists(uploadPath)) + { + using (var stream = new FileStream(uploadPath, FileMode.Open)) + { + + var bytes = new Byte[stream.Length]; + await stream.WriteAsync(bytes, 0, bytes.Length); + return new FileContentResult(bytes, contentType, fileName); + } + } + else + { + throw new FileNotFoundException(fileName); + } + + } + + public async Task> GetAllThings() + { + return await Task.FromResult(new Dictionary { { "aaa", 12 } }); + } + #endregion Implementation of IUserService } } diff --git a/src/Surging.Modules/Surging.Modules.Common/Domain/UserService.cs b/src/Surging.Modules/Surging.Modules.Common/Domain/UserService.cs index 6d1268e1d..fda195a9b 100644 --- a/src/Surging.Modules/Surging.Modules.Common/Domain/UserService.cs +++ b/src/Surging.Modules/Surging.Modules.Common/Domain/UserService.cs @@ -1,8 +1,10 @@  +using Surging.Core.Common; using Surging.Core.CPlatform.EventBus.Events; using Surging.Core.CPlatform.EventBus.Implementation; using Surging.Core.CPlatform.Ioc; using Surging.Core.CPlatform.Transport.Implementation; +using Surging.Core.KestrelHttpServer; using Surging.Core.KestrelHttpServer.Internal; using Surging.Core.ProxyGenerator; using Surging.IModuleServices.Common; @@ -28,8 +30,8 @@ public UserService(UserRepository repository) public Task GetUserName(int id) { - this.GetService().SayHello("fanly"); - return Task.FromResult($"id:{id} is name fanly."); + //this.GetService().SayHello("fanly"); + return Task.FromResult(null); } public Task Exists(int id) @@ -126,6 +128,30 @@ public Task GetUser(List idList) { return Task.FromResult("type is List"); } + + public async Task> GetAllThings() + { + return await Task.FromResult(new Dictionary { { "aaa", 12 } }); + } + + public async Task DownFile(string fileName,string contentType) + { + string uploadPath = Path.Combine(AppContext.BaseDirectory, fileName); + if (File.Exists(uploadPath)) + { + using (var stream = new FileStream(uploadPath, FileMode.Open)) + { + var bytes = new Byte[stream.Length]; + await stream.ReadAsync(bytes, 0, bytes.Length); + stream.Dispose(); + return new FileContentResult(bytes, contentType, fileName); + } + } + else + { + throw new FileNotFoundException(fileName); + } + } #endregion Implementation of IUserService } } \ No newline at end of file diff --git a/src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLoginDateChangeHandler.cs b/src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLoginDateChangeHandler.cs index f5df1b298..23e1c9ccb 100644 --- a/src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLoginDateChangeHandler.cs +++ b/src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLoginDateChangeHandler.cs @@ -1,26 +1,23 @@ using Surging.Core.CPlatform.EventBus.Events; -using System; -using System.Collections.Generic; -using System.Text; -using Surging.IModuleServices.Common.Models.Events; -using System.Threading.Tasks; -using Surging.IModuleServices.Common; -using Surging.IModuleServices.Common.Models; using Surging.Core.CPlatform.Utilities; -using Surging.Core.EventBusRabbitMQ.Attributes; using Surging.Core.EventBusRabbitMQ; +using Surging.Core.EventBusRabbitMQ.Attributes; +using Surging.IModuleServices.Common; +using Surging.IModuleServices.Common.Models; +using Surging.IModuleServices.Common.Models.Events; +using System; +using System.Threading.Tasks; namespace Surging.Modules.Common.IntegrationEvents.EventHandling { - - [QueueConsumer("UserLoginDateChangeHandler")] + [QueueConsumer("UserLoginDateChangeHandler",QueueConsumerMode.Normal,QueueConsumerMode.Fail)] public class UserLoginDateChangeHandler : BaseIntegrationEventHandler { private readonly IUserService _userService; public UserLoginDateChangeHandler() { _userService = ServiceLocator.GetService("User"); - } + } public override async Task Handle(UserEvent @event) { Console.WriteLine($"消费1。"); diff --git a/src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLogoutDataChangeHandler.cs b/src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLogoutDataChangeHandler.cs index 715396fa1..b40ed7e2c 100644 --- a/src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLogoutDataChangeHandler.cs +++ b/src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLogoutDataChangeHandler.cs @@ -5,13 +5,10 @@ using Surging.IModuleServices.Common.Models; using Surging.IModuleServices.Common.Models.Events; using System; -using System.Collections.Generic; -using System.Text; using System.Threading.Tasks; namespace Surging.Modules.Common.IntegrationEvents.EventHandling { - [QueueConsumer("UserLogoutDateChangeHandler")] public class UserLogoutDataChangeHandler : IIntegrationEventHandler { diff --git a/src/Surging.Modules/Surging.Modules.Common/Surging.Modules.Common.csproj b/src/Surging.Modules/Surging.Modules.Common/Surging.Modules.Common.csproj index 83db941a4..01654829e 100644 --- a/src/Surging.Modules/Surging.Modules.Common/Surging.Modules.Common.csproj +++ b/src/Surging.Modules/Surging.Modules.Common/Surging.Modules.Common.csproj @@ -15,6 +15,7 @@ + diff --git a/src/Surging.Services/Surging.Services.Client/Program.cs b/src/Surging.Services/Surging.Services.Client/Program.cs index 10d747177..f5d3d2a19 100644 --- a/src/Surging.Services/Surging.Services.Client/Program.cs +++ b/src/Surging.Services/Surging.Services.Client/Program.cs @@ -43,6 +43,11 @@ static void Main(string[] args) .AddCache(); builder.Register(p => new CPlatformContainer(ServiceLocator.Current)); }); + }) + .ConfigureLogging(logger => + { + logger.AddConfiguration( + Core.CPlatform.AppConfig.GetSection("Logging")); }) .Configure(build => build.AddEventBusFile("eventBusSettings.json", optional: false)) @@ -50,7 +55,6 @@ static void Main(string[] args) build.AddCacheFile("cacheSettings.json", optional: false, reloadOnChange: true)) .Configure(build => build.AddCPlatformFile("${surgingpath}|surgingSettings.json", optional: false, reloadOnChange: true)) - .UseNLog(LogLevel.Error) .UseClient() .UseStartup() .Build(); diff --git a/src/Surging.Services/Surging.Services.Client/Startup.cs b/src/Surging.Services/Surging.Services.Client/Startup.cs index a23fd22f8..77dda70b5 100644 --- a/src/Surging.Services/Surging.Services.Client/Startup.cs +++ b/src/Surging.Services/Surging.Services.Client/Startup.cs @@ -77,17 +77,19 @@ public static void Test(IServiceProxyFactory serviceProxyFactory) Task.Run(async () => { var userProxy = serviceProxyFactory.CreateProxy("User"); - var v = userProxy.GetUserId("fanly").GetAwaiter().GetResult(); - var fa= userProxy.GetUserName(1).GetAwaiter().GetResult(); + var v = userProxy.GetUserId("fanly").GetAwaiter().GetResult(); + var fa = userProxy.GetUserName(1).GetAwaiter().GetResult(); + userProxy.Try().GetAwaiter().GetResult(); var v1 = userProxy.GetUserLastSignInTime(1).Result; - var apiResult = userProxy.GetApiResult().GetAwaiter().GetResult(); + var things = userProxy.GetAllThings().Result; + var apiResult = userProxy.GetApiResult().GetAwaiter().GetResult(); userProxy.PublishThroughEventBusAsync(new UserEvent { UserId = 1, Name = "fanly" }).Wait(); - - userProxy.PublishThroughEventBusAsync(new UserEvent + + userProxy.PublishThroughEventBusAsync(new UserEvent { UserId = 1, Name = "fanly" @@ -105,7 +107,7 @@ public static void Test(IServiceProxyFactory serviceProxyFactory) for (var i = 0; i < 10000; i++) { //var a = userProxy.GetDictionary().Result; - var a = userProxy.GetDictionary().Result; + var a = await userProxy.GetDictionary(); //var result = serviceProxyProvider.Invoke(new Dictionary(), "api/user/GetDictionary", "User").Result; } watch.Stop(); diff --git a/src/Surging.Services/Surging.Services.Client/Surging.Services.Client.csproj b/src/Surging.Services/Surging.Services.Client/Surging.Services.Client.csproj index b429d8c7e..335ad422d 100644 --- a/src/Surging.Services/Surging.Services.Client/Surging.Services.Client.csproj +++ b/src/Surging.Services/Surging.Services.Client/Surging.Services.Client.csproj @@ -3,6 +3,7 @@ Exe netcoreapp2.1 + true diff --git a/src/Surging.Services/Surging.Services.Client/cacheSettings.json b/src/Surging.Services/Surging.Services.Client/cacheSettings.json index ab9c7e43d..000858d09 100644 --- a/src/Surging.Services/Surging.Services.Client/cacheSettings.json +++ b/src/Surging.Services/Surging.Services.Client/cacheSettings.json @@ -1,47 +1,119 @@ -{ - "CachingSettings": [ - { - "Id": "ddlCache", - "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", - "Properties": [ - { - "Name": "appRuleFile", - "Ref": "rule" - }, - { - "Name": "dataContextPool", - "Ref": "ddls_sample", - "Maps": [ - { - "Name": "Redis", - "Properties": [ - { - "value": "127.0.0.1:6379::1" - } - ] - }, - { - "Name": "MemoryCache" - } - ] - }, - { - "Name": "defaultExpireTime", - "value": "120" - }, - { - "Name": "connectTimeout", - "Value": "120" - }, - { - "Name": "minSize", - "Value": "1" - }, - { - "Name": "maxSize", - "Value": "10" - } - ] - } - ] +{ + "CachingSettings": [ + { + "Id": "ddlCache", + "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", + "Properties": [ + { + "Name": "appRuleFile", + "Ref": "rule" + }, + { + "Name": "dataContextPool", + "Ref": "ddls_sample", + "Maps": [ + { + "Name": "Redis", + "Properties": [ + { + "value": "127.0.0.1:6379::1" + } + ] + }, + { + "Name": "MemoryCache" + } + ] + }, + { + "Name": "defaultExpireTime", + "value": "120" + }, + { + "Name": "connectTimeout", + "Value": "120" + }, + { + "Name": "minSize", + "Value": "1" + }, + { + "Name": "maxSize", + "Value": "10" + } + ] + }, + { + "Id": "surgingDemoCache", + "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", + "InitMethod": "", + "Maps": null, + "Properties": [ + { + "Name": "appRuleFile", + "Ref": "rule", + "Value": "", + "Maps": null + }, + { + "Name": "dataContextPool", + "Ref": "ddls_sample", + "Value": "", + "Maps": [ + { + "Name": "Redis", + "Properties": [ + { + "Name": null, + "Ref": null, + "Value": "127.0.0.1:7000::1", + "Maps": null + }, + { + "Name": null, + "Ref": null, + "Value": "127.0.0.1:7005::1", + "Maps": null + }, + { + "Name": null, + "Ref": null, + "Value": "127.0.0.1:6379::1", + "Maps": null + } + ] + }, + { + "Name": "MemoryCache", + "Properties": null + } + ] + }, + { + "Name": "defaultExpireTime", + "Ref": "", + "Value": "120", + "Maps": null + }, + { + "Name": "connectTimeout", + "Ref": "", + "Value": "120", + "Maps": null + }, + { + "Name": "minSize", + "Ref": "", + "Value": "1", + "Maps": null + }, + { + "Name": "maxSize", + "Ref": "", + "Value": "10", + "Maps": null + } + ] + } + ] } diff --git a/src/Surging.Services/Surging.Services.Client/nLog.config b/src/Surging.Services/Surging.Services.Client/nLog.config index ebc2346f1..dc4734c52 100644 --- a/src/Surging.Services/Surging.Services.Client/nLog.config +++ b/src/Surging.Services/Surging.Services.Client/nLog.config @@ -2,12 +2,21 @@ + + + + + + + - - + + \ No newline at end of file diff --git a/src/Surging.Services/Surging.Services.Client/surgingSettings.json b/src/Surging.Services/Surging.Services.Client/surgingSettings.json index 30c193438..efa963ff2 100644 --- a/src/Surging.Services/Surging.Services.Client/surgingSettings.json +++ b/src/Surging.Services/Surging.Services.Client/surgingSettings.json @@ -6,6 +6,7 @@ "MappingIp": "${Mapping_ip}", "MappingPort": "${Mapping_Port}", "Token": "true", + "Libuv": true, "Protocol": "${Protocol}|Tcp", //HttpTcpNone //"RootPath": "${RootPath}|d:\\microsurging", "RootPath": "${RootPath}|F:\\github\\surging\\src\\Surging.Services\\Surging.Services.Client\\bin\\Release\\PublishOutput", @@ -24,7 +25,8 @@ "ConnectionString": "${Register_Conn}|127.0.0.1:8500", // "127.0.0.1:8500", "SessionTimeout": "${Register_SessionTimeout}|50", "RoutePath": "${Register_RoutePath}", - "ReloadOnChange": true + "ReloadOnChange": true, + "EnableChildrenMonitor": false }, "EventBus": { "EventBusConnection": "${EventBusConnection}|localhost", diff --git a/src/Surging.Services/Surging.Services.Server/NLog.config b/src/Surging.Services/Surging.Services.Server/NLog.config index e2a178da3..dc4734c52 100644 --- a/src/Surging.Services/Surging.Services.Server/NLog.config +++ b/src/Surging.Services/Surging.Services.Server/NLog.config @@ -17,6 +17,6 @@ - + \ No newline at end of file diff --git a/src/Surging.Services/Surging.Services.Server/Program.cs b/src/Surging.Services/Surging.Services.Server/Program.cs index 5cbe7007b..ca3b3c342 100644 --- a/src/Surging.Services/Surging.Services.Server/Program.cs +++ b/src/Surging.Services/Surging.Services.Server/Program.cs @@ -30,7 +30,6 @@ public class Program { static void Main(string[] args) { - Encoding.RegisterProvider(CodePagesEncodingProvider.Instance); var host = new ServiceHostBuilder() .RegisterServices(builder => @@ -53,7 +52,7 @@ static void Main(string[] args) .UseServer(options =>{ }) .UseConsoleLifetime() .Configure(build => - build.AddCacheFile("${cachepath}|cacheSettings.json", optional: false, reloadOnChange: true)) + build.AddCacheFile("${cachepath}|cacheSettings.json",basePath:AppContext.BaseDirectory, optional: false, reloadOnChange: true)) .Configure(build => build.AddCPlatformFile("${surgingpath}|surgingSettings.json", optional: false, reloadOnChange: true)) .UseStartup() @@ -68,4 +67,4 @@ static void Main(string[] args) } } } -} \ No newline at end of file +} diff --git a/src/Surging.Services/Surging.Services.Server/Startup.cs b/src/Surging.Services/Surging.Services.Server/Startup.cs index b9507df46..d29a9f5cf 100644 --- a/src/Surging.Services/Surging.Services.Server/Startup.cs +++ b/src/Surging.Services/Surging.Services.Server/Startup.cs @@ -12,8 +12,8 @@ public class Startup { public Startup(IConfigurationBuilder config) { - ConfigureEventBus(config); - ConfigureCache(config); + ConfigureEventBus(config); + // ConfigureCache(config); } public IContainer ConfigureServices(ContainerBuilder builder) diff --git a/src/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj b/src/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj index 15a187615..7ecdca3a6 100644 --- a/src/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj +++ b/src/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj @@ -2,7 +2,9 @@ Exe + false netcoreapp2.1 + true @@ -32,6 +34,7 @@ + diff --git a/src/Surging.Services/Surging.Services.Server/cacheSettings.json b/src/Surging.Services/Surging.Services.Server/cacheSettings.json index a6fb88f4b..a312c93d2 100644 --- a/src/Surging.Services/Surging.Services.Server/cacheSettings.json +++ b/src/Surging.Services/Surging.Services.Server/cacheSettings.json @@ -1 +1,148 @@ -{"CachingSettings":[{"Id":"ddlCache","Class":"Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching","InitMethod":"","Maps":null,"Properties":[{"Name":"appRuleFile","Ref":"rule","Value":"","Maps":null},{"Name":"dataContextPool","Ref":"ddls_sample","Value":"","Maps":[{"Name":"Redis","Properties":[{"Name":null,"Ref":null,"Value":"127.0.0.1:7000::1","Maps":null},{"Name":null,"Ref":null,"Value":"127.0.0.1:7005::1","Maps":null},{"Name":null,"Ref":null,"Value":"127.0.0.1:6379::1","Maps":null}]},{"Name":"MemoryCache","Properties":null}]},{"Name":"defaultExpireTime","Ref":"","Value":"120","Maps":null},{"Name":"connectTimeout","Ref":"","Value":"120","Maps":null},{"Name":"minSize","Ref":"","Value":"1","Maps":null},{"Name":"maxSize","Ref":"","Value":"10","Maps":null}]}]} \ No newline at end of file +{ + "CachingSettings": [ + { + "Id": "ddlCache", + "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", + "InitMethod": "", + "Maps": null, + "Properties": [ + { + "Name": "appRuleFile", + "Ref": "rule", + "Value": "", + "Maps": null + }, + { + "Name": "dataContextPool", + "Ref": "ddls_sample", + "Value": "", + "Maps": [ + { + "Name": "Redis", + "Properties": [ + { + "Name": null, + "Ref": null, + "Value": "127.0.0.1:7000::1", + "Maps": null + }, + { + "Name": null, + "Ref": null, + "Value": "127.0.0.1:7005::1", + "Maps": null + }, + { + "Name": null, + "Ref": null, + "Value": "127.0.0.1:6379::1", + "Maps": null + } + ] + }, + { + "Name": "MemoryCache", + "Properties": null + } + ] + }, + { + "Name": "defaultExpireTime", + "Ref": "", + "Value": "120", + "Maps": null + }, + { + "Name": "connectTimeout", + "Ref": "", + "Value": "120", + "Maps": null + }, + { + "Name": "minSize", + "Ref": "", + "Value": "1", + "Maps": null + }, + { + "Name": "maxSize", + "Ref": "", + "Value": "10", + "Maps": null + } + ] + }, + { + "Id": "userCache", + "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", + "InitMethod": "", + "Maps": null, + "Properties": [ + { + "Name": "appRuleFile", + "Ref": "rule", + "Value": "", + "Maps": null + }, + { + "Name": "dataContextPool", + "Ref": "ddls_sample", + "Value": "", + "Maps": [ + { + "Name": "Redis", + "Properties": [ + { + "Name": null, + "Ref": null, + "Value": "127.0.0.1:7000::1", + "Maps": null + }, + { + "Name": null, + "Ref": null, + "Value": "127.0.0.1:7005::1", + "Maps": null + }, + { + "Name": null, + "Ref": null, + "Value": "127.0.0.1:6379::1", + "Maps": null + } + ] + }, + { + "Name": "MemoryCache", + "Properties": null + } + ] + }, + { + "Name": "defaultExpireTime", + "Ref": "", + "Value": "120", + "Maps": null + }, + { + "Name": "connectTimeout", + "Ref": "", + "Value": "120", + "Maps": null + }, + { + "Name": "minSize", + "Ref": "", + "Value": "1", + "Maps": null + }, + { + "Name": "maxSize", + "Ref": "", + "Value": "10", + "Maps": null + } + ] + } + ] +} \ No newline at end of file diff --git a/src/Surging.Services/Surging.Services.Server/surgingSettings.json b/src/Surging.Services/Surging.Services.Server/surgingSettings.json index 7edfd98b8..14a18b4d1 100644 --- a/src/Surging.Services/Surging.Services.Server/surgingSettings.json +++ b/src/Surging.Services/Surging.Services.Server/surgingSettings.json @@ -2,24 +2,28 @@ "Surging": { "Ip": "${Surging_Server_IP}|127.0.0.1", "WatchInterval": 30, - "Port": "${Surging_Server_Port}|99", + "Port": "${Surging_Server_Port}|98", "MappingIp": "${Mapping_ip}", "MappingPort": "${Mapping_Port}", "Token": "true", + "WanIp": "${Mapping_Port}|192.168.249.103", + "Libuv": true, + "SoBacklog": 100, "MaxConcurrentRequests": 20, - "ExecutionTimeoutInMilliseconds": 30000, + "ExecutionTimeoutInMilliseconds": 1000, "Protocol": "${Protocol}|None", //HttpTcpNone //"RootPath": "${RootPath}|D:\\userapp", "RootPath": "${RootPath}|F:\\github\\surging\\src\\Surging.Services\\Surging.Services.Server\\bin\\Release\\PublishOutput", "Ports": { "HttpPort": "${HttpPort}|280", - "WSPort": "${WSPort}|96" + "WSPort": "${WSPort}|96", + "MQTTPort": "${MQTTPort}|97" }, "RequestCacheEnabled": false, "Packages": [ { "TypeName": "EnginePartModule", - "Using": "${UseEngineParts}|DotNettyModule;NLogModule;MessagePackModule;ConsulModule;KestrelHttpModule;WSProtocolModule;EventBusRabbitMQModule;CachingModule;" + "Using": "${UseEngineParts}|DotNettyModule;NLogModule;MessagePackModule;ConsulModule;WSProtocolModule;MqttProtocolModule;EventBusRabbitMQModule;CachingModule;" } ] }, //öͬ͵ҪPackagesԶ尴ãPackages @@ -27,7 +31,8 @@ "ConnectionString": "${Register_Conn}|127.0.0.1:8500", // "127.0.0.1:8500", "SessionTimeout": "${Register_SessionTimeout}|50", "RoutePath": "${Register_RoutePath}", - "ReloadOnChange": true + "ReloadOnChange": true, + "EnableChildrenMonitor": false }, "Swagger": { "Version": "${SwaggerVersion}|V1", // "127.0.0.1:8500", @@ -52,6 +57,14 @@ "OffsetReset": "${OffsetReset}|earliest", "GroupID": "${EventBusGroupID}|surgingdemo" }, + "WebSocket":{ + "WaitTime": 2, + "KeepClean": false, + "Behavior": { + "IgnoreExtensions": true, + "EmitOnPing": false + } + }, "EventBus": { "EventBusConnection": "${EventBusConnection}|localhost", "EventBusUserName": "${EventBusUserName}|guest", diff --git a/src/Surging.sln b/src/Surging.sln index 1a1bb4100..fcd4ea161 100644 --- a/src/Surging.sln +++ b/src/Surging.sln @@ -69,6 +69,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Surging.Services.Server", " EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Surging.Core.Swagger", "Surging.Core\Surging.Core.Swagger\Surging.Core.Swagger.csproj", "{DC065D75-25DD-4C0C-80A5-7B59E7B3A38D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Surging.Core.Protocol.Mqtt", "Surging.Core\Surging.Core.Protocol.Mqtt\Surging.Core.Protocol.Mqtt.csproj", "{A0502179-D200-49AE-9897-A6B189A75B45}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -187,6 +189,10 @@ Global {DC065D75-25DD-4C0C-80A5-7B59E7B3A38D}.Debug|Any CPU.Build.0 = Debug|Any CPU {DC065D75-25DD-4C0C-80A5-7B59E7B3A38D}.Release|Any CPU.ActiveCfg = Release|Any CPU {DC065D75-25DD-4C0C-80A5-7B59E7B3A38D}.Release|Any CPU.Build.0 = Release|Any CPU + {A0502179-D200-49AE-9897-A6B189A75B45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A0502179-D200-49AE-9897-A6B189A75B45}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A0502179-D200-49AE-9897-A6B189A75B45}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A0502179-D200-49AE-9897-A6B189A75B45}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -219,6 +225,7 @@ Global {5846D387-8371-4E49-97B7-2B5E688FC0FD} = {30ADB177-C82F-49A7-8FA7-C32996543C4A} {A8C605D7-3552-44D8-AD8D-4EA08B68CF33} = {30ADB177-C82F-49A7-8FA7-C32996543C4A} {DC065D75-25DD-4C0C-80A5-7B59E7B3A38D} = {E3ADE8DE-5F3A-4E76-B22F-2C9435AACA06} + {A0502179-D200-49AE-9897-A6B189A75B45} = {E3ADE8DE-5F3A-4E76-B22F-2C9435AACA06} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {9889BCDC-E6A6-448F-B01A-ECFD0FAF294C} diff --git a/src/WebSocket/WebSocketCore/WebSocketCore.csproj b/src/WebSocket/WebSocketCore/WebSocketCore.csproj index 86f558983..7c5dc70fe 100644 --- a/src/WebSocket/WebSocketCore/WebSocketCore.csproj +++ b/src/WebSocket/WebSocketCore/WebSocketCore.csproj @@ -10,9 +10,9 @@ Copyright © fanly All Rights Reserved. https://github.com/dotnetcore/surging/blob/master/LICENSE https://github.com/dotnetcore/surging - 1.9.1.0 - 1.9.1.0 - 1.9.1 + 1.9.2.0 + 1.9.2.0 + 1.9.2 diff --git "a/\346\215\220\350\265\240.png" "b/\346\215\220\350\265\240.png" new file mode 100644 index 0000000000000000000000000000000000000000..d9d3c7c0e194c35343f5e4c8f9c425a7cc6b4b99 GIT binary patch literal 55248 zcmYJbV|ZO%7cShmaT=?!-8gA%+fEwWjguYQww@~xHEaQ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ATCH 5/5] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/.dockerignore | 12 - src/.vscode/launch.json | 63 - src/.vscode/tasks.json | 45 - src/Surging.ApiGateway/.bowerrc | 4 - .../Configs/appsettings.Development.json | 10 - .../Configs/appsettings.json | 15 - .../Configs/cacheSettings.json | 47 - .../Configs/gatewaySettings.json | 37 - .../AuthenticationManageController.cs | 31 - .../Controllers/HomeController.cs | 19 - .../Controllers/ServiceManageController.cs | 149 - .../Controllers/ServicesController.cs | 212 - .../CustomExceptionFilterAttribute.cs | 38 - src/Surging.ApiGateway/Dockerfile | 4 - .../Models/CacheEndpointParam.cs | 18 - .../Models/ErrorViewModel.cs | 11 - src/Surging.ApiGateway/Program.cs | 38 - .../PublishProfiles/FolderProfile.pubxml | 19 - .../Properties/launchSettings.json | 27 - .../ServiceExceptionFilter.cs | 18 - src/Surging.ApiGateway/Startup.cs | 136 - .../Surging.ApiGateway.csproj | 68 - .../EditServiceToken.cshtml | 23 - .../Views/AuthenticationManage/Index.cshtml | 88 - .../_AuthenticationManage.cshtml | 50 - .../Views/Home/Index.cshtml | 44 - .../ServiceManage/EditCacheEndPoint.cshtml | 51 - .../ServiceManage/EditFaultTolerant.cshtml | 98 - .../Views/ServiceManage/FaultTolerant.cshtml | 105 - .../Views/ServiceManage/Index.cshtml | 71 - .../Views/ServiceManage/ServiceCache.cshtml | 70 - .../ServiceManage/ServiceCacheEndpoint.cshtml | 96 - .../ServiceManage/ServiceDescriptor.cshtml | 76 - .../ServiceManage/ServiceSubscriber.cshtml | 69 - .../ServiceManage/_ServiceManageLayout.cshtml | 54 - .../Views/Shared/Error.cshtml | 22 - .../Views/Shared/Partial/ManageNav.cshtml | 38 - .../Views/Shared/_AppLayout.cshtml | 41 - .../Views/Shared/_Layout.cshtml | 43 - .../Views/Shared/_ManagerLayout.cshtml | 52 - .../Shared/_ValidationScriptsPartial.cshtml | 18 - .../Views/_ViewImports.cshtml | 3 - .../Views/_ViewStart.cshtml | 3 - src/Surging.ApiGateway/bower.json | 12 - src/Surging.ApiGateway/bundleconfig.json | 24 - .../apps/authmanage/assets/css/index.css | 357 - .../assets/js/modules/authenticationmanage.js | 17 - .../apps/authmanage/assets/js/url.config.js | 7 - .../assets/js/view/address.guide.js | 83 - .../assets/templates/authmanage_template.tpl | 26 - .../assets/css/img/app_icon_servicemange.png | Bin 890 -> 0 bytes .../apps/servicemange/assets/css/index.css | 342 - .../assets/js/modules/ServiceManage.js | 17 - .../apps/servicemange/assets/js/url.config.js | 15 - .../assets/js/view/address.guide.js | 49 - .../assets/js/view/faulttolerant.guide.js | 85 - .../assets/js/view/servicecache.guide.js | 48 - .../js/view/servicecacheendpoint.guide.js | 122 - .../assets/js/view/servicedescriptor.guide.js | 50 - .../assets/js/view/servicesubscriber.guide.js | 47 - .../templates/faulttolerant_template.tpl | 49 - .../templates/servicecache_template.tpl | 20 - .../servicecacheendpoint_template.tpl | 21 - .../templates/servicedescriptor_template.tpl | 42 - .../templates/servicemanage_template.tpl | 27 - .../templates/servicesubscriber_template.tpl | 26 - .../assets/css/base/ace/ace-ie.min.css | 1 - .../assets/css/base/ace/ace-rtl.min.css | 1 - .../assets/css/base/ace/ace-skins.min.css | 1 - .../wwwroot/assets/css/base/ace/ace.min.css | 1 - .../assets/css/base/ace/font-awesome.min.css | 1837 --- .../wwwroot/assets/css/base/app_publiccss.css | 326 - .../css/base/font/font-awesome-ie7.min.css | 384 - .../wwwroot/assets/css/base/global.css | 44 - .../assets/css/fonts/fontawesome-webfont.eot | Bin 68875 -> 0 bytes .../assets/css/fonts/fontawesome-webfont.ttf | Bin 138204 -> 0 bytes .../assets/css/fonts/fontawesome-webfont.woff | Bin 81284 -> 0 bytes .../css/fonts/fontawesome-webfont.woff2 | Bin 64464 -> 0 bytes .../assets/css/fonts/surgingfonticon.eot | Bin 10160 -> 0 bytes .../assets/css/fonts/surgingfonticon.svg | 36 - .../assets/css/fonts/surgingfonticon.ttf | Bin 9964 -> 0 bytes .../assets/css/fonts/surgingfonticon.woff | Bin 10040 -> 0 bytes .../assets/css/manager/img/app_icon_all.png | Bin 15559 -> 0 bytes .../wwwroot/assets/css/manager/index.css | 1245 --- .../wwwroot/assets/css/manager/public.css | 271 - .../css/manager/themes/default/skin.css | 110 - .../wwwroot/assets/css/site.css | 43 - .../wwwroot/assets/images/Heading.jpg | Bin 21591 -> 0 bytes .../wwwroot/assets/js/base/bootstrap.js | 2379 ---- .../wwwroot/assets/js/base/bootstrap.min.js | 12 - .../wwwroot/assets/js/base/extensions.js | 147 - .../wwwroot/assets/js/base/jquery.js | 9834 ----------------- .../wwwroot/assets/js/base/jquery.min.js | 14 - .../wwwroot/assets/js/base/jquery.min.map | 1 - .../wwwroot/assets/js/base/seajs-text.js | 1 - .../wwwroot/assets/js/config.js | 25 - .../wwwroot/assets/js/ie/html5shiv.min.js | 8 - .../wwwroot/assets/js/ie/respond.min.js | 6 - .../assets/js/modules/dt.pjax.event.js | 206 - .../assets/js/plugins/ace-elements.min.js | 5 - .../assets/js/plugins/ace-extra.min.js | 4 - .../wwwroot/assets/js/plugins/ace.min.js | 4 - .../wwwroot/assets/js/plugins/bootbox.min.js | 8 - .../assets/js/plugins/jquery.pjax_n.js | 863 -- .../assets/js/plugins/jquery.tmpl.min.js | 14 - .../wwwroot/assets/js/seajs/sea-debug.js | 846 -- .../wwwroot/assets/js/seajs/sea.js | 2 - .../wwwroot/assets/js/seajs/sea.js.map | 8 - .../assets/js/seajs/seajs-text-debug.js | 172 - .../wwwroot/assets/js/seajs/seajs-text.js | 1 - .../wwwroot/assets/js/url.config.js | 1 - .../wwwroot/assets/js/view/main.guide.js | 29 - .../wwwroot/assets/lib/bootstrap/.bower.json | 44 - .../wwwroot/assets/lib/bootstrap/CHANGELOG.md | 5 - .../wwwroot/assets/lib/bootstrap/Gruntfile.js | 533 - .../wwwroot/assets/lib/bootstrap/LICENSE | 21 - .../wwwroot/assets/lib/bootstrap/README.md | 139 - .../wwwroot/assets/lib/bootstrap/bower.json | 34 - .../bootstrap/dist/css/bootstrap-theme.css | 587 - .../dist/css/bootstrap-theme.css.map | 1 - .../dist/css/bootstrap-theme.min.css | 6 - .../dist/css/bootstrap-theme.min.css.map | 1 - .../lib/bootstrap/dist/css/bootstrap.css | 6760 ----------- .../lib/bootstrap/dist/css/bootstrap.css.map | 1 - .../lib/bootstrap/dist/css/bootstrap.min.css | 6 - .../bootstrap/dist/css/bootstrap.min.css.map | 1 - .../fonts/glyphicons-halflings-regular.eot | Bin 20127 -> 0 bytes .../fonts/glyphicons-halflings-regular.svg | 288 - .../fonts/glyphicons-halflings-regular.ttf | Bin 45404 -> 0 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 23424 -> 0 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 18028 -> 0 bytes .../assets/lib/bootstrap/dist/js/bootstrap.js | 2363 ---- .../lib/bootstrap/dist/js/bootstrap.min.js | 7 - .../assets/lib/bootstrap/dist/js/npm.js | 13 - .../fonts/glyphicons-halflings-regular.eot | Bin 20127 -> 0 bytes .../fonts/glyphicons-halflings-regular.svg | 288 - .../fonts/glyphicons-halflings-regular.ttf | Bin 45404 -> 0 bytes .../fonts/glyphicons-halflings-regular.woff | Bin 23424 -> 0 bytes .../fonts/glyphicons-halflings-regular.woff2 | Bin 18028 -> 0 bytes .../assets/lib/bootstrap/grunt/.jshintrc | 7 - .../bootstrap/grunt/bs-commonjs-generator.js | 30 - .../grunt/bs-glyphicons-data-generator.js | 42 - .../lib/bootstrap/grunt/bs-lessdoc-parser.js | 237 - .../bootstrap/grunt/bs-raw-files-generator.js | 44 - .../lib/bootstrap/grunt/configBridge.json | 46 - .../lib/bootstrap/grunt/sauce_browsers.yml | 82 - .../wwwroot/assets/lib/bootstrap/js/.jscsrc | 42 - .../wwwroot/assets/lib/bootstrap/js/.jshintrc | 15 - .../wwwroot/assets/lib/bootstrap/js/affix.js | 162 - .../wwwroot/assets/lib/bootstrap/js/alert.js | 94 - .../wwwroot/assets/lib/bootstrap/js/button.js | 120 - .../assets/lib/bootstrap/js/carousel.js | 237 - .../assets/lib/bootstrap/js/collapse.js | 211 - .../assets/lib/bootstrap/js/dropdown.js | 165 - .../wwwroot/assets/lib/bootstrap/js/modal.js | 337 - .../assets/lib/bootstrap/js/popover.js | 108 - .../assets/lib/bootstrap/js/scrollspy.js | 172 - .../wwwroot/assets/lib/bootstrap/js/tab.js | 155 - .../assets/lib/bootstrap/js/tooltip.js | 514 - .../assets/lib/bootstrap/js/transition.js | 59 - .../assets/lib/bootstrap/less/.csscomb.json | 304 - .../assets/lib/bootstrap/less/.csslintrc | 19 - .../assets/lib/bootstrap/less/alerts.less | 73 - .../assets/lib/bootstrap/less/badges.less | 66 - .../assets/lib/bootstrap/less/bootstrap.less | 56 - .../lib/bootstrap/less/breadcrumbs.less | 26 - .../lib/bootstrap/less/button-groups.less | 244 - .../assets/lib/bootstrap/less/buttons.less | 166 - .../assets/lib/bootstrap/less/carousel.less | 270 - .../assets/lib/bootstrap/less/close.less | 34 - .../assets/lib/bootstrap/less/code.less | 69 - .../bootstrap/less/component-animations.less | 33 - .../assets/lib/bootstrap/less/dropdowns.less | 216 - .../assets/lib/bootstrap/less/forms.less | 613 - .../assets/lib/bootstrap/less/glyphicons.less | 305 - .../assets/lib/bootstrap/less/grid.less | 84 - .../lib/bootstrap/less/input-groups.less | 171 - .../assets/lib/bootstrap/less/jumbotron.less | 54 - .../assets/lib/bootstrap/less/labels.less | 64 - .../assets/lib/bootstrap/less/list-group.less | 130 - .../assets/lib/bootstrap/less/media.less | 66 - .../assets/lib/bootstrap/less/mixins.less | 40 - .../lib/bootstrap/less/mixins/alerts.less | 14 - .../less/mixins/background-variant.less | 9 - .../bootstrap/less/mixins/border-radius.less | 18 - .../lib/bootstrap/less/mixins/buttons.less | 65 - .../bootstrap/less/mixins/center-block.less | 7 - .../lib/bootstrap/less/mixins/clearfix.less | 22 - .../lib/bootstrap/less/mixins/forms.less | 85 - .../lib/bootstrap/less/mixins/gradients.less | 59 - .../bootstrap/less/mixins/grid-framework.less | 91 - .../lib/bootstrap/less/mixins/grid.less | 122 - .../lib/bootstrap/less/mixins/hide-text.less | 21 - .../lib/bootstrap/less/mixins/image.less | 33 - .../lib/bootstrap/less/mixins/labels.less | 12 - .../lib/bootstrap/less/mixins/list-group.less | 30 - .../bootstrap/less/mixins/nav-divider.less | 10 - .../less/mixins/nav-vertical-align.less | 9 - .../lib/bootstrap/less/mixins/opacity.less | 8 - .../lib/bootstrap/less/mixins/pagination.less | 24 - .../lib/bootstrap/less/mixins/panels.less | 24 - .../bootstrap/less/mixins/progress-bar.less | 10 - .../bootstrap/less/mixins/reset-filter.less | 8 - .../lib/bootstrap/less/mixins/reset-text.less | 18 - .../lib/bootstrap/less/mixins/resize.less | 6 - .../less/mixins/responsive-visibility.less | 15 - .../lib/bootstrap/less/mixins/size.less | 10 - .../lib/bootstrap/less/mixins/tab-focus.less | 9 - .../lib/bootstrap/less/mixins/table-row.less | 28 - .../bootstrap/less/mixins/text-emphasis.less | 9 - .../bootstrap/less/mixins/text-overflow.less | 8 - .../less/mixins/vendor-prefixes.less | 227 - .../assets/lib/bootstrap/less/modals.less | 150 - .../assets/lib/bootstrap/less/navbar.less | 660 -- .../assets/lib/bootstrap/less/navs.less | 242 - .../assets/lib/bootstrap/less/normalize.less | 424 - .../assets/lib/bootstrap/less/pager.less | 54 - .../assets/lib/bootstrap/less/pagination.less | 89 - .../assets/lib/bootstrap/less/panels.less | 271 - .../assets/lib/bootstrap/less/popovers.less | 131 - .../assets/lib/bootstrap/less/print.less | 101 - .../lib/bootstrap/less/progress-bars.less | 87 - .../lib/bootstrap/less/responsive-embed.less | 35 - .../bootstrap/less/responsive-utilities.less | 194 - .../lib/bootstrap/less/scaffolding.less | 161 - .../assets/lib/bootstrap/less/tables.less | 234 - .../assets/lib/bootstrap/less/theme.less | 291 - .../assets/lib/bootstrap/less/thumbnails.less | 36 - .../assets/lib/bootstrap/less/tooltip.less | 101 - .../assets/lib/bootstrap/less/type.less | 302 - .../assets/lib/bootstrap/less/utilities.less | 55 - .../assets/lib/bootstrap/less/variables.less | 869 -- .../assets/lib/bootstrap/less/wells.less | 29 - .../assets/lib/bootstrap/nuget/MyGet.ps1 | 8 - .../lib/bootstrap/nuget/bootstrap.less.nuspec | 28 - .../lib/bootstrap/nuget/bootstrap.nuspec | 28 - .../wwwroot/assets/lib/bootstrap/package.js | 32 - .../wwwroot/assets/lib/bootstrap/package.json | 87 - .../assets/lib/font-awesome/.bower.json | 37 - .../assets/lib/font-awesome/.gitignore | 33 - .../assets/lib/font-awesome/.npmignore | 42 - .../assets/lib/font-awesome/HELP-US-OUT.txt | 7 - .../assets/lib/font-awesome/bower.json | 22 - .../lib/font-awesome/css/font-awesome.css | 2337 ---- .../lib/font-awesome/css/font-awesome.css.map | 7 - .../lib/font-awesome/css/font-awesome.min.css | 4 - .../lib/font-awesome/fonts/FontAwesome.otf | Bin 134808 -> 0 bytes .../fonts/fontawesome-webfont.eot | Bin 165742 -> 0 bytes .../fonts/fontawesome-webfont.svg | 2671 ----- .../fonts/fontawesome-webfont.ttf | Bin 165548 -> 0 bytes .../fonts/fontawesome-webfont.woff | Bin 98024 -> 0 bytes .../fonts/fontawesome-webfont.woff2 | Bin 77160 -> 0 bytes .../lib/font-awesome/less/animated.less | 34 - .../font-awesome/less/bordered-pulled.less | 25 - .../assets/lib/font-awesome/less/core.less | 12 - .../lib/font-awesome/less/fixed-width.less | 6 - .../lib/font-awesome/less/font-awesome.less | 18 - .../assets/lib/font-awesome/less/icons.less | 789 -- .../assets/lib/font-awesome/less/larger.less | 13 - .../assets/lib/font-awesome/less/list.less | 19 - .../assets/lib/font-awesome/less/mixins.less | 60 - .../assets/lib/font-awesome/less/path.less | 15 - .../font-awesome/less/rotated-flipped.less | 20 - .../lib/font-awesome/less/screen-reader.less | 5 - .../assets/lib/font-awesome/less/stacked.less | 20 - .../lib/font-awesome/less/variables.less | 800 -- .../lib/font-awesome/scss/_animated.scss | 34 - .../font-awesome/scss/_bordered-pulled.scss | 25 - .../assets/lib/font-awesome/scss/_core.scss | 12 - .../lib/font-awesome/scss/_fixed-width.scss | 6 - .../assets/lib/font-awesome/scss/_icons.scss | 789 -- .../assets/lib/font-awesome/scss/_larger.scss | 13 - .../assets/lib/font-awesome/scss/_list.scss | 19 - .../assets/lib/font-awesome/scss/_mixins.scss | 60 - .../assets/lib/font-awesome/scss/_path.scss | 15 - .../font-awesome/scss/_rotated-flipped.scss | 20 - .../lib/font-awesome/scss/_screen-reader.scss | 5 - .../lib/font-awesome/scss/_stacked.scss | 20 - .../lib/font-awesome/scss/_variables.scss | 800 -- .../lib/font-awesome/scss/font-awesome.scss | 18 - .../jquery-validation-unobtrusive/.bower.json | 45 - .../jquery-validation-unobtrusive/LICENSE.txt | 12 - .../jquery-validation-unobtrusive/bower.json | 36 - .../jquery.validate.unobtrusive.js | 416 - .../jquery.validate.unobtrusive.min.js | 5 - .../assets/lib/jquery-validation/.bower.json | 40 - .../lib/jquery-validation/CONTRIBUTING.md | 53 - .../assets/lib/jquery-validation/Gruntfile.js | 186 - .../assets/lib/jquery-validation/LICENSE.md | 22 - .../assets/lib/jquery-validation/README.md | 65 - .../assets/lib/jquery-validation/bower.json | 31 - .../lib/jquery-validation/build/release.js | 43 - .../assets/lib/jquery-validation/changelog.md | 534 - .../dist/additional-methods.js | 998 -- .../dist/additional-methods.min.js | 4 - .../jquery-validation/dist/jquery.validate.js | 1398 --- .../dist/jquery.validate.min.js | 4 - .../assets/lib/jquery-validation/package.json | 57 - .../src/additional/accept.js | 33 - .../src/additional/additional.js | 24 - .../src/additional/alphanumeric.js | 3 - .../src/additional/bankaccountNL.js | 25 - .../src/additional/bankorgiroaccountNL.js | 5 - .../jquery-validation/src/additional/bic.js | 16 - .../jquery-validation/src/additional/cifES.js | 61 - .../jquery-validation/src/additional/cpfBR.js | 57 - .../src/additional/creditcardtypes.js | 69 - .../src/additional/currency.js | 41 - .../src/additional/dateFA.js | 3 - .../src/additional/dateITA.js | 39 - .../src/additional/dateNL.js | 3 - .../src/additional/extension.js | 5 - .../src/additional/giroaccountNL.js | 6 - .../jquery-validation/src/additional/iban.js | 122 - .../src/additional/integer.js | 3 - .../jquery-validation/src/additional/ipv4.js | 3 - .../jquery-validation/src/additional/ipv6.js | 3 - .../src/additional/lettersonly.js | 3 - .../src/additional/letterswithbasicpunc.js | 3 - .../src/additional/mobileNL.js | 3 - .../src/additional/mobileUK.js | 13 - .../jquery-validation/src/additional/nieES.js | 34 - .../jquery-validation/src/additional/nifES.js | 25 - .../src/additional/notEqualTo.js | 3 - .../src/additional/nowhitespace.js | 3 - .../src/additional/pattern.js | 22 - .../src/additional/phoneNL.js | 6 - .../src/additional/phoneUK.js | 13 - .../src/additional/phoneUS.js | 21 - .../src/additional/phonesUK.js | 14 - .../src/additional/postalCodeCA.js | 16 - .../src/additional/postalcodeBR.js | 11 - .../src/additional/postalcodeIT.js | 4 - .../src/additional/postalcodeNL.js | 3 - .../src/additional/postcodeUK.js | 4 - .../src/additional/require_from_group.js | 37 - .../src/additional/skip_or_fill_minimum.js | 43 - .../src/additional/statesUS.js | 58 - .../src/additional/strippedminlength.js | 4 - .../jquery-validation/src/additional/time.js | 3 - .../src/additional/time12h.js | 3 - .../jquery-validation/src/additional/url2.js | 4 - .../jquery-validation/src/additional/vinUS.js | 54 - .../src/additional/zipcodeUS.js | 3 - .../src/additional/ziprange.js | 3 - .../assets/lib/jquery-validation/src/ajax.js | 33 - .../assets/lib/jquery-validation/src/core.js | 1346 --- .../src/localization/messages_ar.js | 23 - .../src/localization/messages_bg.js | 23 - .../src/localization/messages_bn_BD.js | 23 - .../src/localization/messages_ca.js | 23 - .../src/localization/messages_cs.js | 23 - .../src/localization/messages_da.js | 20 - .../src/localization/messages_de.js | 20 - .../src/localization/messages_el.js | 23 - .../src/localization/messages_es.js | 26 - .../src/localization/messages_es_AR.js | 27 - .../src/localization/messages_es_PE.js | 27 - .../src/localization/messages_et.js | 21 - .../src/localization/messages_eu.js | 23 - .../src/localization/messages_fa.js | 26 - .../src/localization/messages_fi.js | 21 - .../src/localization/messages_fr.js | 49 - .../src/localization/messages_ge.js | 23 - .../src/localization/messages_gl.js | 28 - .../src/localization/messages_he.js | 23 - .../src/localization/messages_hr.js | 23 - .../src/localization/messages_hu.js | 22 - .../src/localization/messages_hy_AM.js | 23 - .../src/localization/messages_id.js | 22 - .../src/localization/messages_is.js | 21 - .../src/localization/messages_it.js | 27 - .../src/localization/messages_ja.js | 23 - .../src/localization/messages_ka.js | 23 - .../src/localization/messages_kk.js | 23 - .../src/localization/messages_ko.js | 23 - .../src/localization/messages_lt.js | 23 - .../src/localization/messages_lv.js | 23 - .../src/localization/messages_my.js | 23 - .../src/localization/messages_nl.js | 33 - .../src/localization/messages_no.js | 23 - .../src/localization/messages_pl.js | 23 - .../src/localization/messages_pt_BR.js | 29 - .../src/localization/messages_pt_PT.js | 27 - .../src/localization/messages_ro.js | 23 - .../src/localization/messages_ru.js | 23 - .../src/localization/messages_si.js | 23 - .../src/localization/messages_sk.js | 20 - .../src/localization/messages_sl.js | 23 - .../src/localization/messages_sr.js | 23 - .../src/localization/messages_sr_lat.js | 23 - .../src/localization/messages_sv.js | 21 - .../src/localization/messages_th.js | 23 - .../src/localization/messages_tj.js | 23 - .../src/localization/messages_tr.js | 24 - .../src/localization/messages_uk.js | 23 - .../src/localization/messages_vi.js | 23 - .../src/localization/messages_zh.js | 23 - .../src/localization/messages_zh_TW.js | 24 - .../src/localization/methods_de.js | 12 - .../src/localization/methods_es_CL.js | 12 - .../src/localization/methods_fi.js | 12 - .../src/localization/methods_nl.js | 9 - .../src/localization/methods_pt.js | 9 - .../jquery-validation/validation.jquery.json | 29 - .../wwwroot/assets/lib/jquery/.bower.json | 25 - .../wwwroot/assets/lib/jquery/AUTHORS.txt | 275 - .../wwwroot/assets/lib/jquery/LICENSE.txt | 36 - .../wwwroot/assets/lib/jquery/README.md | 5 - .../wwwroot/assets/lib/jquery/bower.json | 14 - .../wwwroot/assets/lib/jquery/dist/jquery.js | 9831 ---------------- .../assets/lib/jquery/dist/jquery.min.js | 4 - .../assets/lib/jquery/dist/jquery.min.map | 1 - .../wwwroot/assets/lib/jquery/src/.jshintrc | 29 - .../wwwroot/assets/lib/jquery/src/ajax.js | 845 -- .../assets/lib/jquery/src/ajax/jsonp.js | 100 - .../assets/lib/jquery/src/ajax/load.js | 83 - .../assets/lib/jquery/src/ajax/parseJSON.js | 13 - .../assets/lib/jquery/src/ajax/parseXML.js | 27 - .../assets/lib/jquery/src/ajax/script.js | 68 - .../lib/jquery/src/ajax/var/location.js | 3 - .../assets/lib/jquery/src/ajax/var/nonce.js | 5 - .../assets/lib/jquery/src/ajax/var/rquery.js | 3 - .../wwwroot/assets/lib/jquery/src/ajax/xhr.js | 167 - .../assets/lib/jquery/src/attributes.js | 11 - .../assets/lib/jquery/src/attributes/attr.js | 142 - .../lib/jquery/src/attributes/classes.js | 177 - .../assets/lib/jquery/src/attributes/prop.js | 109 - .../lib/jquery/src/attributes/support.js | 36 - .../assets/lib/jquery/src/attributes/val.js | 170 - .../assets/lib/jquery/src/callbacks.js | 232 - .../wwwroot/assets/lib/jquery/src/core.js | 489 - .../assets/lib/jquery/src/core/access.js | 65 - .../assets/lib/jquery/src/core/init.js | 134 - .../assets/lib/jquery/src/core/parseHTML.js | 49 - .../assets/lib/jquery/src/core/ready.js | 103 - .../assets/lib/jquery/src/core/support.js | 18 - .../lib/jquery/src/core/var/rsingleTag.js | 5 - .../wwwroot/assets/lib/jquery/src/css.js | 515 - .../assets/lib/jquery/src/css/addGetHookIf.js | 24 - .../assets/lib/jquery/src/css/adjustCSS.js | 65 - .../assets/lib/jquery/src/css/curCSS.js | 57 - .../lib/jquery/src/css/defaultDisplay.js | 72 - .../jquery/src/css/hiddenVisibleSelectors.js | 18 - .../assets/lib/jquery/src/css/showHide.js | 48 - .../assets/lib/jquery/src/css/support.js | 121 - .../lib/jquery/src/css/var/cssExpand.js | 3 - .../lib/jquery/src/css/var/getStyles.js | 15 - .../assets/lib/jquery/src/css/var/isHidden.js | 16 - .../assets/lib/jquery/src/css/var/rmargin.js | 3 - .../lib/jquery/src/css/var/rnumnonpx.js | 5 - .../assets/lib/jquery/src/css/var/swap.js | 24 - .../wwwroot/assets/lib/jquery/src/data.js | 187 - .../assets/lib/jquery/src/data/Data.js | 200 - .../assets/lib/jquery/src/data/accepts.js | 20 - .../assets/lib/jquery/src/data/support.js | 23 - .../lib/jquery/src/data/var/acceptData.js | 18 - .../lib/jquery/src/data/var/dataPriv.js | 5 - .../lib/jquery/src/data/var/dataUser.js | 5 - .../wwwroot/assets/lib/jquery/src/deferred.js | 158 - .../assets/lib/jquery/src/deprecated.js | 32 - .../assets/lib/jquery/src/dimensions.js | 54 - .../wwwroot/assets/lib/jquery/src/effects.js | 629 -- .../assets/lib/jquery/src/effects/Tween.js | 121 - .../jquery/src/effects/animatedSelector.js | 13 - .../assets/lib/jquery/src/effects/support.js | 58 - .../wwwroot/assets/lib/jquery/src/event.js | 710 -- .../assets/lib/jquery/src/event/ajax.js | 20 - .../assets/lib/jquery/src/event/alias.js | 27 - .../assets/lib/jquery/src/event/focusin.js | 53 - .../assets/lib/jquery/src/event/support.js | 9 - .../assets/lib/jquery/src/event/trigger.js | 199 - .../assets/lib/jquery/src/exports/amd.js | 24 - .../assets/lib/jquery/src/exports/global.js | 26 - .../wwwroot/assets/lib/jquery/src/intro.js | 44 - .../wwwroot/assets/lib/jquery/src/jquery.js | 37 - .../assets/lib/jquery/src/manipulation.js | 481 - .../lib/jquery/src/manipulation/_evalUrl.js | 20 - .../jquery/src/manipulation/buildFragment.js | 102 - .../src/manipulation/createSafeFragment.js | 20 - .../lib/jquery/src/manipulation/getAll.js | 21 - .../jquery/src/manipulation/setGlobalEval.js | 20 - .../lib/jquery/src/manipulation/support.js | 33 - .../jquery/src/manipulation/var/nodeNames.js | 5 - .../src/manipulation/var/rcheckableType.js | 3 - .../manipulation/var/rleadingWhitespace.js | 3 - .../src/manipulation/var/rscriptType.js | 3 - .../jquery/src/manipulation/var/rtagName.js | 3 - .../lib/jquery/src/manipulation/wrapMap.js | 27 - .../wwwroot/assets/lib/jquery/src/offset.js | 221 - .../wwwroot/assets/lib/jquery/src/outro.js | 2 - .../wwwroot/assets/lib/jquery/src/queue.js | 143 - .../assets/lib/jquery/src/queue/delay.js | 22 - .../assets/lib/jquery/src/selector-native.js | 211 - .../assets/lib/jquery/src/selector-sizzle.js | 14 - .../wwwroot/assets/lib/jquery/src/selector.js | 1 - .../assets/lib/jquery/src/serialize.js | 125 - .../wwwroot/assets/lib/jquery/src/support.js | 63 - .../assets/lib/jquery/src/traversing.js | 175 - .../lib/jquery/src/traversing/findFilter.js | 100 - .../lib/jquery/src/traversing/var/dir.js | 20 - .../src/traversing/var/rneedsContext.js | 6 - .../lib/jquery/src/traversing/var/siblings.js | 15 - .../wwwroot/assets/lib/jquery/src/var/arr.js | 3 - .../assets/lib/jquery/src/var/class2type.js | 5 - .../assets/lib/jquery/src/var/concat.js | 5 - .../assets/lib/jquery/src/var/deletedIds.js | 3 - .../assets/lib/jquery/src/var/document.js | 3 - .../lib/jquery/src/var/documentElement.js | 5 - .../assets/lib/jquery/src/var/hasOwn.js | 5 - .../assets/lib/jquery/src/var/indexOf.js | 5 - .../wwwroot/assets/lib/jquery/src/var/pnum.js | 3 - .../wwwroot/assets/lib/jquery/src/var/push.js | 5 - .../assets/lib/jquery/src/var/rcssNum.js | 7 - .../assets/lib/jquery/src/var/rnotwhite.js | 3 - .../assets/lib/jquery/src/var/slice.js | 5 - .../assets/lib/jquery/src/var/support.js | 5 - .../assets/lib/jquery/src/var/toString.js | 5 - .../wwwroot/assets/lib/jquery/src/wrap.js | 79 - .../wwwroot/assets/lib/seajs/.bower.json | 29 - .../wwwroot/assets/lib/seajs/LICENSE.md | 24 - .../wwwroot/assets/lib/seajs/bower.json | 19 - .../assets/lib/seajs/dist/runtime-debug.js | 925 -- .../wwwroot/assets/lib/seajs/dist/runtime.js | 2 - .../assets/lib/seajs/dist/sea-debug.js | 1131 -- .../wwwroot/assets/lib/seajs/dist/sea.js | 2 - .../assets/lib/seajs/dist/standalone-debug.js | 78 - .../assets/lib/seajs/dist/standalone.js | 2 - src/Surging.ApiGateway/wwwroot/favicon.ico | Bin 32038 -> 0 bytes .../Aggregation/ServicePartProvider.cs | 72 - .../Aggregation/ServicePartType.cs | 13 - .../Surging.Core.ApiGateWay/AppConfig.cs | 124 - .../Configurations/AccessPolicy.cs | 19 - .../Configurations/Register.cs | 14 - .../Configurations/RegisterProvider.cs | 12 - .../Configurations/ServiceAggregation.cs | 17 - .../Configurations/ServicePart.cs | 15 - .../Configurations/Services.cs | 12 - .../ContainerBuilderExtensions.cs | 44 - .../IServicePartProvider.cs | 14 - .../OAuth/IAuthorizationServerProvider.cs | 16 - .../AuthorizationServerProvider.cs | 90 - .../Configurations/ConfigInfo.cs | 24 - .../GatewayConfigurationExtensions.cs | 49 - .../GatewayConfigurationProvider.cs | 20 - .../GatewayConfigurationSource.cs | 18 - .../OAuth/Implementation/EncryptMode.cs | 11 - .../Implementation/JWTSecureDataHeader.cs | 15 - .../OAuth/Implementation/JWTSecureDataType.cs | 11 - .../IFaultTolerantProvider.cs | 17 - .../ServiceDiscovery/IServiceCacheProvider.cs | 21 - .../IServiceDiscoveryProvider.cs | 19 - .../IServiceSubscribeProvider.cs | 16 - .../Implementation/FaultTolerantProvider.cs | 29 - .../Implementation/ServiceAddressModel.cs | 14 - .../Implementation/ServiceCacheProvider.cs | 73 - .../ServiceDiscoveryProvider.cs | 60 - .../ServiceSubscribeProvider.cs | 32 - .../Surging.Core.ApiGateWay/ServiceResult.cs | 101 - .../ServiceStatusCode.cs | 13 - .../Surging.Core.ApiGateWay.csproj | 29 - .../Utilities/ServiceResult.cs | 101 - .../Address/AddressModel.cs | 62 - .../Address/IpAddressModel.cs | 80 - .../Surging.Core.CPlatform/AppConfig.cs | 60 - .../CPlatformContainer.cs | 79 - .../CPlatformResource.Designer.cs | 135 - .../CPlatformResource.resx | 144 - .../Cache/CacheDescriptor.cs | 160 - .../Cache/CacheEndpoint.cs | 68 - .../Cache/ICacheNodeProvider.cs | 11 - .../Cache/ICacheProvider.cs | 34 - .../Cache/IServiceCacheFactory.cs | 18 - .../Cache/IServiceCacheManager.cs | 61 - .../Implementation/ServiceCacheManagerBase.cs | 112 - .../Cache/ServiceCache.cs | 58 - .../Cache/ServiceCacheDescriptor.cs | 51 - .../CommunicationProtocol.cs | 15 - .../CPlatformConfigurationExtensions.cs | 65 - .../CPlatformConfigurationProvider.cs | 18 - .../CPlatformConfigurationSource.cs | 15 - .../IConfigurationWatchManager.cs | 9 - .../Configurations/ModulePackage.cs | 8 - .../Configurations/ProtocolPortOptions.cs | 11 - .../Remote/IConfigurationParser.cs | 10 - .../Remote/JsonConfigurationParser.cs | 174 - .../Remote/RemoteConfigurationEvents.cs | 18 - .../Remote/RemoteConfigurationExtensions.cs | 103 - .../Remote/RemoteConfigurationProvider.cs | 72 - .../Remote/RemoteConfigurationSource.cs | 57 - .../Configurations/SurgingServerOptions.cs | 42 - .../Watch/ConfigurationWatch.cs | 16 - .../Watch/ConfigurationWatchManager.cs | 64 - .../ContainerBuilderExtensions.cs | 749 -- .../Convertibles/ITypeConvertibleProvider.cs | 25 - .../Convertibles/ITypeConvertibleService.cs | 18 - .../DefaultTypeConvertibleProvider.cs | 59 - .../DefaultTypeConvertibleService.cs | 74 - .../DependencyResolverExtensions.cs | 119 - .../IDependencyResolver.cs | 40 - .../DependencyResolution/ServiceResolver.cs | 100 - .../Engines/IServiceEngine.cs | 10 - .../Engines/IServiceEngineBuilder.cs | 12 - .../Engines/IServiceEngineLifetime.cs | 23 - .../DefaultServiceEngineBuilder.cs | 77 - .../Implementation/ServiceEngineLifetime.cs | 79 - .../VirtualPathProviderServiceEngine .cs | 13 - .../EventBus/Events/EventContext.cs | 16 - .../Events/IIntegrationEventHandler.cs | 26 - .../EventBus/Events/IntegrationEvent.cs | 24 - .../EventBus/IEventBusSubscriptionsManager.cs | 25 - .../EventBus/ISubscriptionAdapt.cs | 13 - .../EventBus/Implementation/IEventBus.cs | 19 - .../InMemoryEventBusSubscriptionsManager.cs | 116 - .../Exceptions/CPlatformException.cs | 19 - .../Exceptions/CPlatformRemoteException.cs | 21 - .../Exceptions/CommunicationException.cs | 19 - .../Filters/IAuthorizationFilter.cs | 15 - .../Filters/IExceptionFilter.cs | 14 - .../Surging.Core.CPlatform/Filters/IFilter.cs | 12 - .../Implementation/AuthorizationAttribute.cs | 12 - .../AuthorizationFilterAttribute.cs | 28 - .../Implementation/AuthorizationType.cs | 12 - .../ExceptionFilterAttribute.cs | 42 - .../Filters/Implementation/FilterAttribute.cs | 16 - .../RpcActionExecutedContext.cs | 15 - .../HashAlgorithms/ConsistentHash.cs | 157 - .../HashAlgorithms/HashAlgorithm.cs | 78 - .../HashAlgorithms/IHashAlgorithm.cs | 27 - .../IdentifyAttribute.cs | 18 - .../Ids/IServiceIdGenerator.cs | 17 - .../DefaultServiceIdGenerator.cs | 48 - .../Ioc/BaseRepository.cs | 10 - .../Ioc/IServiceBehavior.cs | 10 - .../Surging.Core.CPlatform/Ioc/IServiceKey.cs | 10 - .../Ioc/ModuleNameAttribute.cs | 23 - .../Surging.Core.CPlatform/Ioc/ServiceBase.cs | 30 - .../Logging/NullLogger.cs | 52 - .../Messages/HttpMessage.cs | 16 - .../Messages/HttpResultMessage.cs | 97 - .../MessagePackTransportMessageType.cs | 18 - .../Messages/RemoteInvokeMessage.cs | 25 - .../Messages/RemoteInvokeResultMessage.cs | 22 - .../Messages/TransportMessage.cs | 113 - .../Module/AbstractModule.cs | 164 - .../Module/AssemblyEntry.cs | 398 - .../Module/BusinessModule.cs | 22 - .../Module/Component.cs | 51 - .../Module/ContainerBuilderWrapper.cs | 23 - .../Module/EchoService.cs | 47 - .../Module/EnginePartModule.cs | 29 - .../Module/IEchoService.cs | 16 - .../Module/IModuleManager.cs | 22 - .../Module/IModuleProvider.cs | 11 - .../Module/ModuleProvider.cs | 46 - .../Module/ModuleState.cs | 32 - .../Module/RegistrationExtensions.cs | 127 - .../Module/SystemModule.cs | 20 - .../Mqtt/IMqttServiceFactory.cs | 18 - .../Mqtt/IMqttServiceRouteManager.cs | 37 - .../MqttServiceRouteManagerBase.cs | 114 - .../Mqtt/MqttDescriptor.cs | 105 - .../Mqtt/MqttServiceDescriptor.cs | 55 - .../Mqtt/MqttServiceRoute.cs | 59 - .../Surging.Core.CPlatform/RequetData.cs | 11 - .../Routing/IServiceRouteFactory.cs | 18 - .../Routing/IServiceRouteManager.cs | 133 - .../Routing/IServiceRouteProvider.cs | 14 - .../DefaultServiceRouteFactory.cs | 69 - .../DefaultServiceRouteProvider.cs | 119 - .../Implementation/ServiceRouteManagerBase.cs | 157 - .../SharedFileServiceRouteManager.cs | 256 - .../Routing/ServiceRoute.cs | 60 - .../Routing/ServiceRouteContext.cs | 19 - .../Routing/ServiceRouteDescriptor.cs | 43 - .../Routing/ServiceRouteWatch.cs | 28 - .../Routing/Template/RoutePatternParser.cs | 69 - .../Address/Resolvers/IAddressResolver.cs | 18 - .../Implementation/DefaultAddressResolver.cs | 147 - .../Selectors/IAddressSelector.cs | 39 - .../Implementation/AddressSelectorBase.cs | 45 - .../Implementation/AddressSelectorMode.cs | 14 - .../Implementation/FairPollingAdrSelector.cs | 118 - .../HashAlgorithmAdrSelector.cs | 112 - .../Implementation/PollingAddressSelector.cs | 135 - .../Implementation/RandomAddressSelector.cs | 62 - .../HealthChecks/IHealthCheckService.cs | 39 - .../DefaultHealthCheckService.cs | 237 - .../Implementation/HealthCheckEventArgs.cs | 25 - .../Runtime/Client/IRemoteInvokeService.cs | 35 - .../Client/IServiceHeartbeatManager.cs | 14 - .../Client/IServiceSubscribeManager.cs | 99 - .../Client/IServiceSubscriberFactory.cs | 20 - .../DefaultServiceHeartbeatManager.cs | 22 - .../DefaultServiceSubscriberFactory.cs | 47 - .../Implementation/RemoteInvokeService.cs | 105 - .../ServiceSubscribeManagerBase.cs | 69 - .../Runtime/Client/RemoteInvokeContext.cs | 17 - .../Runtime/Client/ServiceSubscriber.cs | 58 - .../Client/ServiceSubscriberDescriptor.cs | 18 - .../Runtime/Server/IServiceEntryLocate.cs | 19 - .../Runtime/Server/IServiceEntryManager.cs | 18 - .../Runtime/Server/IServiceEntryProvider.cs | 21 - .../Runtime/Server/IServiceExecutor.cs | 19 - .../Runtime/Server/IServiceHost.cs | 25 - .../Runtime/Server/IServiceTokenGenerator.cs | 13 - .../DefaultServiceEntryLocate.cs | 43 - .../DefaultServiceEntryManager.cs | 61 - .../Implementation/DefaultServiceExecutor.cs | 180 - .../Implementation/DefaultServiceHost.cs | 68 - .../AttributeServiceEntryProvider.cs | 89 - .../Attributes/ServiceAttribute.cs | 65 - .../Attributes/ServiceBundleAttribute.cs | 17 - .../Attributes/ServiceDescriptorAttribute.cs | 16 - .../Attributes/ServiceMetadataAttribute.cs | 45 - .../IClrServiceEntryFactory.cs | 19 - .../Implementation/ClrServiceEntryFactory.cs | 124 - .../Implementation/ServiceHostAbstract.cs | 66 - .../Implementation/ServiceTokenGenerator.cs | 28 - .../Runtime/Server/ServiceEntry.cs | 26 - .../Serialization/ISerializer.cs | 28 - .../Implementation/JsonSerializer.cs | 36 - .../StringByteArraySerializer.cs | 51 - .../Implementation/StringObjectSerializer.cs | 50 - .../Serialization/SerializerExtensions.cs | 21 - .../ServiceDescriptor.cs | 273 - .../ServiceHostBuilderExtensions.cs | 131 - .../Support/Attributes/CommandAttribute.cs | 92 - .../Support/IBreakeRemoteInvokeService.cs | 11 - .../Support/IClusterInvoker.cs | 12 - .../Support/IFallbackInvoker.cs | 14 - .../Support/IServiceCommandManager.cs | 65 - .../Support/IServiceCommandProvider.cs | 13 - .../BreakeRemoteInvokeService.cs | 149 - .../Implementation/FailoverHandoverInvoker.cs | 54 - .../FailoverInjectionInvoker.cs | 69 - .../Implementation/ServiceCommandBase.cs | 35 - .../ServiceCommandManagerBase.cs | 176 - .../Implementation/ServiceCommandProvider.cs | 126 - .../Support/ServiceCommand.cs | 85 - .../Support/ServiceCommandDescriptor.cs | 7 - .../Support/ServiceInvokeListenInfo.cs | 41 - .../Support/StrategyType.cs | 9 - .../Surging.Core.CPlatform.csproj | 55 - .../Codec/ITransportMessageCodecFactory.cs | 20 - .../Codec/ITransportMessageDecoder.cs | 9 - .../Codec/ITransportMessageEncoder.cs | 9 - .../JsonTransportMessageCodecFactory.cs | 33 - .../JsonTransportMessageDecoder.cs | 28 - .../JsonTransportMessageEncoder.cs | 19 - .../Transport/IMessageListener.cs | 31 - .../Transport/IMessageSender.cs | 25 - .../Transport/ITransportClient.cs | 18 - .../Transport/ITransportClientFactory.cs | 17 - .../Implementation/MessageListener.cs | 33 - .../Transport/Implementation/RpcContext.cs | 53 - .../Implementation/TransportClient.cs | 156 - .../Utilities/CancellationTokenExtensions.cs | 44 - .../Surging.Core.CPlatform/Utilities/Check.cs | 54 - .../Utilities/DebugCheck.cs | 25 - .../Utilities/EnvironmentHelper.cs | 63 - .../Utilities/FastInvoke.cs | 152 - .../Utilities/NetUtils.cs | 108 - .../Utilities/ServiceLocator.cs | 51 - .../Utilities/StringExtensions.cs | 17 - .../Utilities/TaskHelpers.cs | 62 - .../Utilities/UtilityType.cs | 18 - .../AddressResolvers/IAddressResolver.cs | 14 - .../Implementation/DefaultAddressResolver.cs | 134 - .../Surging.Core.Caching/AppConfig.cs | 156 - .../Surging.Core.Caching/CacheContainer.cs | 55 - .../Surging.Core.Caching/CacheTargetType.cs | 14 - .../Surging.Core.Caching/CachingModule.cs | 135 - .../CachingResources.Designer.cs | 127 - .../CachingResources.resx | 141 - .../CacheConfigurationExtensions.cs | 58 - .../CacheConfigurationProvider.cs | 21 - .../CacheConfigurationSource.cs | 18 - .../IConfigurationWatchProvider.cs | 10 - .../ConfigurationWatchProvider.cs | 88 - .../Remote/IConfigurationParser.cs | 21 - .../Remote/JsonConfigurationParser.cs | 159 - .../Remote/RemoteConfigurationEvents.cs | 18 - .../Remote/RemoteConfigurationExtensions.cs | 106 - .../Remote/RemoteConfigurationProvider.cs | 72 - .../Remote/RemoteConfigurationSource.cs | 59 - .../ContainerBuilderExtensions.cs | 126 - .../DependencyResolverExtensions.cs | 119 - .../IDependencyResolver.cs | 40 - .../DependencyResolution/ServiceResolver.cs | 94 - .../HashAlgorithms/ConsistentHash.cs | 162 - .../HashAlgorithms/ConsistentHashNode.cs | 111 - .../HashAlgorithms/HashAlgorithm.cs | 78 - .../HashAlgorithms/IHashAlgorithm.cs | 27 - .../HealthChecks/IHealthCheckService.cs | 30 - .../DefaultHealthCheckService.cs | 152 - .../IdentifyCacheAttribute.cs | 17 - .../Interfaces/ICacheClient.cs | 17 - .../DefaultCacheNodeProvider.cs | 51 - .../DefaultServiceCacheFactory.cs | 59 - .../Models/CachingProvider.cs | 11 - .../Surging.Core.Caching/Models/Map.cs | 13 - .../Surging.Core.Caching/Models/Property.cs | 17 - .../Surging.Core.Caching/Models/binding.cs | 19 - .../NetCache/GCThreadProvider.cs | 52 - .../NetCache/MemoryCache.cs | 169 - .../NetCache/MemoryCacheProvider.cs | 199 - .../Surging.Core.Caching/ObjectPool.cs | 91 - .../RedisCache/RedisCacheClient.cs | 88 - .../RedisCache/RedisContext.cs | 228 - .../RedisCache/RedisEndpoint.cs | 85 - .../RedisCache/RedisProvider.cs | 475 - .../StackExchangeRedisExtensions.cs | 130 - .../ServiceHostBuilderExtensions.cs | 29 - .../Surging.Core.Caching.csproj | 49 - .../Utilities/CacheException.cs | 46 - .../Surging.Core.Caching/Utilities/Check.cs | 55 - .../Utilities/DebugCheck.cs | 25 - .../ContainerBuilderExtensions.cs | 12 - .../MessagePackModule.cs | 27 - ...MessagePackTransportMessageCodecFactory.cs | 24 - .../MessagePackTransportMessageDecoder.cs | 20 - .../MessagePackTransportMessageEncoder.cs | 23 - .../Messages/DynamicItem.cs | 67 - .../MessagePackRemoteInvokeMessage.cs | 79 - .../MessagePackRemoteInvokeResultMessage.cs | 39 - .../Messages/MessagePackTransportMessage.cs | 85 - .../Surging.Core.Codec.MessagePack.csproj | 27 - .../Utilities/SerializerUtilitys.cs | 36 - .../ContainerBuilderExtensions.cs | 15 - .../Messages/DynamicItem.cs | 67 - .../ProtoBufferRemoteInvokeMessage.cs | 82 - .../ProtoBufferRemoteInvokeResultMessage.cs | 43 - .../Messages/ProtoBufferTransportMessage.cs | 90 - .../ProtoBufferModule.cs | 27 - ...ProtoBufferTransportMessageCodecFactory.cs | 32 - .../ProtoBufferTransportMessageDecoder.cs | 23 - .../ProtoBufferTransportMessageEncoder.cs | 28 - .../Surging.Core.Codec.ProtoBuffer.csproj | 27 - .../Utilities/SerializerUtilitys.cs | 40 - .../Surging.Core.Common/ApiResult.cs | 18 - .../Surging.Core.Common/CommonModule.cs | 11 - .../Extensions/EnumExtensions.cs | 72 - .../ServicesException/ServiceException.cs | 90 - .../Surging.Core.Common.csproj | 15 - .../Surging.Core.Consul/AppConfig.cs | 12 - .../Configurations/ConfigInfo.cs | 122 - .../ConsulConfigurationExtensions.cs | 50 - .../ConsulConfigurationProvider.cs | 20 - .../ConsulConfigurationSource.cs | 16 - .../Configurations/ConsulOption.cs | 27 - .../Surging.Core.Consul/ConsulModule.cs | 199 - .../ConsulMqttServiceRouteManager.cs | 371 - .../ConsulServiceCacheManager.cs | 333 - .../ConsulServiceCommandManager.cs | 339 - .../ConsulServiceRouteManager.cs | 354 - .../ConsulServiceSubscribeManager.cs | 174 - .../ContainerBuilderExtensions.cs | 169 - .../Surging.Core.Consul/Package.nuspec | 22 - .../Surging.Core.Consul.csproj | 27 - .../Utilitys/ConsulClientExtensions.cs | 40 - .../WatcherProvider/IClientWatchManager.cs | 11 - .../Implementation/ChildWatchRegistration.cs | 22 - .../Implementation/ChildrenMonitorWatcher.cs | 61 - .../Implementation/ClientWatchManager.cs | 61 - .../Implementation/NodeMonitorWatcher.cs | 61 - .../Implementation/ReconnectionWatcher.cs | 10 - .../Implementation/WatchRegistration.cs | 38 - .../WatcherProvider/Implementation/Watcher.cs | 26 - .../Implementation/WatcherBase.cs | 24 - .../TransportMessageChannelHandlerAdapter.cs | 34 - .../ContainerBuilderExtensions.cs | 62 - .../DotNettyMessageSender.cs | 121 - .../Surging.Core.DotNetty/DotNettyModule.cs | 61 - .../DotNettyServerMessageListener.cs | 173 - .../DotNettyTransportClientFactory.cs | 174 - .../Surging.Core.DotNetty.csproj | 34 - .../Surging.Core.EventBusKafka/Appconfig.cs | 46 - .../EventBusConfigurationExtensions.cs | 57 - .../EventBusConfigurationProvider.cs | 20 - .../EventBusConfigurationSource.cs | 18 - .../Configurations/KafkaOptions.cs | 63 - .../Configurations/OffsetResetMode.cs | 13 - .../ContainerBuilderExtensions.cs | 66 - .../EventBusKafkaModule.cs | 77 - .../IConsumeConfigurator.cs | 13 - .../IKafkaPersisterConnection.cs | 16 - .../DefaultConsumeConfigurator.cs | 95 - .../Implementation/EventBusKafka.cs | 129 - .../Implementation/KafkaConnectionType.cs | 12 - .../KafkaConsumerPersistentConnection.cs | 110 - .../KafkaPersistentConnectionBase.cs | 64 - .../KafkaProducerPersistentConnection.cs | 70 - .../Implementation/KafkaSubscriptionAdapt.cs | 43 - .../ServiceHostBuilderExtensions.cs | 20 - .../Surging.Core.EventBusKafka.csproj | 33 - .../Utilities/ExtensionsToFastActivator.cs | 15 - .../Utilities/FastInvoker.cs | 75 - .../AppConfig.cs | 23 - .../Attributes/QueueConsumerAttribute.cs | 33 - .../EventBusConfigurationExtensions.cs | 57 - .../EventBusConfigurationProvider.cs | 20 - .../EventBusConfigurationSource.cs | 18 - .../Configurations/EventBusOption.cs | 29 - .../ContainerBuilderExtensions.cs | 75 - .../EventBusRabbitMQModule.cs | 96 - .../IConsumeConfigurator.cs | 13 - .../IRabbitMQPersisterConnection.cs | 19 - .../DefaultConsumeConfigurator.cs | 93 - .../DefaultRabbitMQPersisterConnection.cs | 135 - .../Implementation/EventBusRabbitMQ.cs | 520 - .../RabbitMqSubscriptionAdapt.cs | 46 - .../QueueConsumerMode.cs | 13 - .../RabbitmqLifetime.cs | 10 - .../ServiceHostBuilderExtensions.cs | 33 - .../Surging.Core.EventBusRabbitMQ.csproj | 31 - .../Utilities/ExtensionsToFastActivator.cs | 18 - .../Utilities/FastInvoker.cs | 75 - .../Abstractions/ActionContext.cs | 22 - .../Abstractions/ActionResult.cs | 21 - .../Abstractions/ContentResult.cs | 10 - .../Abstractions/FileContentResult.cs | 90 - .../Abstractions/FileResult.cs | 30 - .../Abstractions/IActionResult.cs | 13 - .../AppConfig.cs | 15 - .../DefaultHttpServiceHost.cs | 64 - .../HttpExecutor.cs | 212 - .../HttpMessageListener.cs | 162 - .../HttpServerMessageSender.cs | 68 - .../HttpServiceHost.cs | 66 - .../Internal/DefaultServiceSchemaProvider.cs | 39 - .../Internal/FileStreamResult.cs | 44 - .../Internal/HttpFormCollection.cs | 183 - .../Internal/HttpFormFile.cs | 24 - .../Internal/HttpFormFileCollection.cs | 39 - .../Internal/IServiceSchemaProvider.cs | 11 - .../Internal/StreamCopyOperation.cs | 239 - .../KestrelHttpMessageListener.cs | 102 - .../KestrelHttpModule.cs | 94 - .../StatusCode.cs | 13 - .../Surging.Core.KestrelHttpServer.csproj | 42 - .../Surging.Core.Log4net/Log4NetLogger.cs | 109 - .../Surging.Core.Log4net/Log4NetProvider.cs | 45 - .../Surging.Core.Log4net/Log4netModule.cs | 29 - .../ServiceHostBuilderExtensions.cs | 53 - .../Surging.Core.Log4net.csproj | 30 - .../Surging.Core.NLog/NLogModule.cs | 33 - .../Surging.Core.NLog/NLogProvider.cs | 33 - src/Surging.Core/Surging.Core.NLog/NLogger.cs | 98 - .../ServiceHostBuilderExtensions.cs | 57 - .../Surging.Core.Nlog.csproj | 31 - .../ContainerBuilderExtensions.cs | 80 - .../DotNettyHttpServerMessageListener.cs | 195 - .../DotNettyHttpServerMessageSender.cs | 81 - .../HttpProtocolModule.cs | 87 - .../HttpServiceExecutor.cs | 214 - .../HttpServiceHost.cs | 73 - .../Surging.Core.Protocol.Http/StatusCode.cs | 13 - .../Surging.Core.Protocol.Http.csproj | 31 - .../DotNettyMqttServerMessageListener.cs | 195 - .../DefaultMqttServiceFactory.cs | 61 - .../ServerMqttHandlerService.cs | 187 - .../Internal/Channel/MqttChannel.cs | 70 - .../Internal/Enums/Behavior.cs | 12 - .../Internal/Enums/ConfirmStatus.cs | 14 - .../Internal/Enums/ConnReturnCode.cs | 16 - .../Internal/Enums/MessageType.cs | 24 - .../Internal/Enums/SessionStatus.cs | 12 - .../Internal/Enums/SubscribeStatus.cs | 12 - .../Internal/Messages/ConnectMessage.cs | 38 - .../Internal/Messages/MqttMessage.cs | 22 - .../Internal/Messages/MqttWillMessage.cs | 18 - .../Internal/Messages/RetainMessage.cs | 14 - .../Internal/Messages/SendMqttMessage.cs | 27 - .../Internal/Messages/SessionMessage.cs | 16 - .../Internal/Runtime/IMqttBehaviorProvider.cs | 12 - .../Runtime/IMqttBrokerEntryManger.cs | 17 - .../Runtime/IMqttRemoteInvokeService.cs | 19 - .../Runtime/IMqttRomtePublishService.cs | 19 - .../DefaultMqttBehaviorProvider.cs | 38 - .../DefaultMqttBrokerEntryManager.cs | 83 - .../Implementation/MqttRemoteInvokeService.cs | 111 - .../Implementation/MqttRomtePublishService.cs | 19 - .../Runtime/MqttRemoteInvokeContext.cs | 13 - .../Internal/Runtime/Runnable.cs | 24 - .../Internal/Runtime/SacnScheduled.cs | 73 - .../Internal/Runtime/ScanRunnable.cs | 41 - .../Services/AbstractChannelService.cs | 195 - .../Internal/Services/IChannelService.cs | 29 - .../Services/IClientSessionService.cs | 15 - .../Internal/Services/IMessagePushService.cs | 28 - .../Internal/Services/IWillService.cs | 17 - .../Implementation/ClientSessionService.cs | 28 - .../Implementation/MessagePushService.cs | 149 - .../Implementation/MqttChannelService.cs | 428 - .../Services/Implementation/WillService.cs | 52 - .../Internal/Services/MqttBehavior.cs | 26 - .../MqttHandlerServiceBase.cs | 48 - .../MqttProtocolModule.cs | 119 - .../MqttServiceHost.cs | 56 - .../Surging.Core.Protocol.Mqtt.csproj | 31 - .../Util/MessageIdGenerater.cs | 32 - .../Attributes/BehaviorContractAttribute.cs | 16 - .../Configurations/BehaviorOption.cs | 15 - .../Configurations/WebSocketOptions.cs | 39 - .../DefaultWSServerMessageListener.cs | 71 - .../Runtime/IWSServiceEntryProvider.cs | 11 - .../DefaultWSServiceEntryProvider.cs | 116 - .../Runtime/WSServiceEntry.cs | 19 - .../Surging.Core.Protocol.WS.csproj | 25 - .../WSProtocolModule.cs | 100 - .../Surging.Core.Protocol.WS/WSServiceBase.cs | 86 - .../Surging.Core.Protocol.WS/WSServiceHost.cs | 56 - .../ContainerBuilderExtensions.cs | 69 - .../FastReflection/ConstructorInvoker.cs | 70 - .../FastReflection/MethodInvoker.cs | 93 - .../FastReflection/PropertyAccessor.cs | 95 - .../IServiceProxyFactory.cs | 46 - .../IServiceProxyGenerater.cs | 27 - .../IServiceProxyProvider.cs | 14 - .../Implementation/RemoteServiceProxy.cs | 36 - .../Implementation/ServiceProxyBase.cs | 199 - .../Implementation/ServiceProxyFactory.cs | 106 - .../Implementation/ServiceProxyGenerater.cs | 383 - .../Implementation/ServiceProxyProvider.cs | 76 - .../Interceptors/CacheInterceptor.cs | 17 - .../Interceptors/ICacheInvocation.cs | 14 - .../Interceptors/IInterceptor.cs | 12 - .../Interceptors/IInterceptorProvider.cs | 13 - .../Interceptors/IInvocation.cs | 25 - .../Implementation/AbstractInvocation.cs | 56 - .../Implementation/ActionInvocation.cs | 36 - .../Implementation/InterceptorProvider.cs | 92 - .../Implementation/KeyAttribute.cs | 20 - .../Interceptors/InvocationMethods.cs | 27 - .../ProxyServiceBase.cs | 75 - .../RegistrationExtensions.cs | 25 - .../ServiceHostBuilderExtensions.cs | 20 - .../ServiceProxyModule.cs | 30 - .../Surging.Core.ProxyGenerator.csproj | 31 - .../Utilitys/AttributeFactory.cs | 47 - .../Utilitys/CompilationUtilitys.cs | 260 - .../Configurations/ConfigInfo.cs | 10 - .../StackExchangeRedisExtensions.cs | 130 - .../Provider/ICacheClient.cs | 15 - .../Implementation/RedisCacheClient.cs | 35 - .../Provider/Implementation/RedisEndpoint.cs | 68 - .../Provider/Implementation/RedisProvider.cs | 363 - .../Surging.Core.Redis.csproj | 15 - .../Internal/IApplicationLifetime.cs | 23 - .../Internal/IHostLifetime.cs | 16 - .../Internal/IServiceHost.cs | 16 - .../Internal/IServiceHostBuilder.cs | 26 - .../Implementation/ApplicationLifetime.cs | 79 - .../Implementation/ConfigureBuilder.cs | 54 - .../ConfigureContainerBuilder.cs | 39 - .../ConfigureServicesBuilder.cs | 47 - .../Implementation/ConsoleLifetime.cs | 49 - .../Internal/Implementation/ServiceHost.cs | 126 - .../Implementation/ServiceHostBuilder.cs | 128 - .../Internal/Implementation/StartupLoader.cs | 167 - .../ServiceCollectionExtensions.cs | 20 - .../ServiceHostBuilderExtensions.cs | 53 - .../Startup/IStartup.cs | 15 - .../Implementation/ConventionBasedStartup.cs | 54 - .../Startup/Implementation/DelegateStartup.cs | 20 - .../Startup/Implementation/StartupBase.cs | 41 - .../Startup/Implementation/StartupMethods.cs | 24 - .../Surging.Core.ServiceHosting.csproj | 31 - .../Surging.Core.Swagger.csproj | 87 - .../Application/SwaggerBuilderExtensions.cs | 29 - .../Application/SwaggerContractResolver.cs | 50 - .../Swagger/Application/SwaggerMiddleware.cs | 98 - .../Swagger/Application/SwaggerOptions.cs | 25 - .../Application/SwaggerSerializerFactory.cs | 20 - .../Swagger/Model/ApiKeyScheme.cs | 14 - .../Swagger/Model/BasicAuthScheme.cs | 10 - .../Swagger/Model/ISwaggerProvider.cs | 20 - .../Swagger/Model/OAuth2Scheme.cs | 20 - .../Swagger/Model/SecurityScheme.cs | 20 - .../Swagger/Model/SwaggerDocument.cs | 378 - .../ConfigureSchemaRegistryOptions.cs | 48 - .../ConfigureSwaggerGeneratorOptions.cs | 61 - .../SwaggerApplicationConvention.cs | 12 - .../Application/SwaggerGenOptions.cs | 32 - .../SwaggerGenOptionsExtensions.cs | 330 - .../SwaggerGenServiceCollectionExtensions.cs | 40 - .../Generator/ApiDescriptionExtensions.cs | 54 - .../ApiParameterDescriptionExtensions.cs | 41 - .../Generator/ApiResponseTypeExtensions.cs | 21 - .../SwaggerGen/Generator/IDocumentFilter.cs | 33 - .../SwaggerGen/Generator/IOperationFilter.cs | 42 - .../SwaggerGen/Generator/IParameterFilter.cs | 34 - .../SwaggerGen/Generator/ISchemaFilter.cs | 30 - .../SwaggerGen/Generator/ISchemaRegistry.cs | 14 - .../Generator/ISchemaRegistryFactory.cs | 7 - .../Generator/JsonContractExtensions.cs | 18 - .../Generator/JsonPropertyExtensions.cs | 61 - .../SwaggerGen/Generator/SchemaExtensions.cs | 89 - .../SwaggerGen/Generator/SchemaIdManager.cs | 37 - .../SwaggerGen/Generator/SchemaRegistry.cs | 297 - .../Generator/SchemaRegistryFactory.cs | 31 - .../Generator/SchemaRegistryOptions.cs | 30 - .../SwaggerGen/Generator/StringExtensions.cs | 17 - .../SwaggerGen/Generator/SwaggerGenerator.cs | 576 - .../Generator/SwaggerGeneratorOptions.cs | 77 - .../SwaggerGen/Generator/TypeExtensions.cs | 50 - .../XmlComments/XmlCommentsDocumentFilter.cs | 53 - .../XmlCommentsMemberNameHelper.cs | 84 - .../XmlComments/XmlCommentsOperationFilter.cs | 192 - .../XmlComments/XmlCommentsSchemaFilter.cs | 66 - .../XmlComments/XmlCommentsTextHelper.cs | 93 - .../SwaggerUI/SwaggerUIBuilderExtensions.cs | 29 - .../SwaggerUI/SwaggerUIMiddleware.cs | 135 - .../SwaggerUI/SwaggerUIOptions.cs | 207 - .../SwaggerUIOptionsExtensions.cs.cs | 260 - .../Surging.Core.Swagger/SwaggerUI/index.html | 104 - .../swagger-ui-dist/absolute-path.js | 14 - .../swagger-ui-dist/favicon-16x16.png | Bin 445 -> 0 bytes .../swagger-ui-dist/favicon-32x32.png | Bin 1141 -> 0 bytes .../node_modules/swagger-ui-dist/index.html | 60 - .../node_modules/swagger-ui-dist/index.js | 17 - .../swagger-ui-dist/oauth2-redirect.html | 67 - .../node_modules/swagger-ui-dist/package.json | 109 - .../swagger-ui-dist/swagger-ui-bundle.js | 93 - .../swagger-ui-dist/swagger-ui-bundle.js.map | 1 - .../swagger-ui-dist-3.17.5.tgz | Bin 2276742 -> 0 bytes .../swagger-ui-standalone-preset.js | 14 - .../swagger-ui-standalone-preset.js.map | 1 - .../swagger-ui-dist/swagger-ui.css | 3 - .../swagger-ui-dist/swagger-ui.css.map | 1 - .../swagger-ui-dist/swagger-ui.js | 9 - .../swagger-ui-dist/swagger-ui.js.map | 1 - .../Intercept/CacheKeyAttribute.cs | 19 - .../Intercept/CacheProviderExtension.cs | 48 - .../Intercept/CacheProviderInterceptor.cs | 65 - .../Intercept/CachingMethod.cs | 28 - .../Intercept/InterceptMethodAttribute.cs | 105 - .../Intercept/LogProviderInterceptor.cs | 20 - .../Intercept/LoggerInterceptAttribute.cs | 53 - .../Intercept/SectionType.cs | 11 - .../Ioc/ModuleNameAttribute.cs | 21 - .../Ioc/RegistrationExtensions.cs | 326 - .../Module/AbstractModule.cs | 260 - ...emblyDisableStopAndUninstalledAttribute.cs | 53 - .../Attributes/AssemblyModuleTypeAttribute.cs | 53 - .../Attributes/ModelBinderTypeAttribute.cs | 40 - .../Attributes/ModuleDescriptionAttribute.cs | 83 - .../Module/BusinessModule.cs | 41 - .../Surging.Core.System/Module/Component.cs | 128 - .../Module/ContainerBuilderWrapper.cs | 47 - .../Surging.Core.System/Module/ModuleType.cs | 47 - .../Module/RegistrationExtensions.cs | 138 - .../Module/SystemModule.cs | 41 - .../Attributes/CollectionNameAttribute.cs | 21 - .../MongoProvider/Entity.cs | 15 - .../MongoProvider/IEntity.cs | 11 - .../MongoProvider/MongoConfig.cs | 35 - .../MongoProvider/MongoModule.cs | 31 - .../MongoProvider/QueryParams.cs | 40 - .../Repositories/IMongoRepository.cs | 47 - .../Repositories/MongoRepository.cs | 236 - .../Surging.Core.System/MongoProvider/Util.cs | 87 - .../Properties/AssemblyInfo.cs | 12 - .../Surging.Core.System/ServiceBase.cs | 52 - .../Surging.Core.System.csproj | 32 - .../Surging.Core.Zookeeper/AppConfig.cs | 10 - .../Configurations/ConfigInfo.cs | 112 - .../ZookeeperConfigurationExtensions.cs | 49 - .../ZookeeperConfigurationProvider.cs | 17 - .../ZookeeperConfigurationSource.cs | 16 - .../Configurations/ZookeeperOption.cs | 30 - .../ContainerBuilderExtensions.cs | 146 - .../Surging.Core.Zookeeper.csproj | 28 - .../WatcherProvider/ChildrenMonitorWatcher.cs | 71 - .../WatcherProvider/NodeMonitorWatcher.cs | 47 - .../WatcherProvider/ReconnectionWatcher.cs | 63 - .../WatcherProvider/WatcherBase.cs | 27 - .../ZooKeeperMqttServiceRouteManager.cs | 410 - .../ZooKeeperServiceRouteManager.cs | 400 - .../ZooKeeperServiceSubscribeManager.cs | 288 - .../Surging.Core.Zookeeper/ZookeeperModule.cs | 182 - .../ZookeeperServiceCacheManager.cs | 419 - .../ZookeeperServiceCommandManager.cs | 380 - .../IChatService.cs | 21 - .../IControllerService.cs | 23 - .../IRoteMangeService.cs | 17 - .../IUserService.cs | 159 - .../IntercepteModule.cs | 29 - .../Models/AuthenticationRequestData.cs | 17 - .../Models/BaseModel.cs | 15 - .../Models/Events/LogoutEvent.cs | 17 - .../Models/Events/UserEvent.cs | 16 - .../Models/IdentityUser.cs | 15 - .../Models/RoteModel.cs | 14 - .../Models/UserModel.cs | 22 - .../Models/WillMessage.cs | 18 - .../Properties/AssemblyInfo.cs | 12 - .../Surging.IModuleServices.Common.csproj | 32 - .../IManagerService.cs | 19 - .../Surging.IModuleServices.Manager.csproj | 11 - .../Domain/ChatService.cs | 56 - .../Domain/ControllerService.cs | 40 - .../Domain/PersonService.cs | 156 - .../Domain/RoteMangeService.cs | 24 - .../Domain/UserService.cs | 157 - .../UserLoginDateChangeHandler.cs | 41 - .../UserLogoutDataChangeHandler.cs | 31 - .../Properties/AssemblyInfo.cs | 12 - .../Repositories/UserRepository.cs | 11 - .../Surging.Modules.Common.csproj | 25 - .../Domain/ManagerService.cs | 14 - .../Surging.Modules.Manager.csproj | 12 - .../Surging.Services.Client/Program.cs | 101 - .../PublishProfiles/FolderProfile.pubxml | 13 - .../Surging.Services.Client/Startup.cs | 155 - .../Surging.Services.Client.csproj | 58 - .../cacheSettings.json | 119 - .../eventBusSettings.json | 4 - .../Surging.Services.Client/log4net.config | 26 - .../Surging.Services.Client/nLog.config | 22 - .../surgingSettings.json | 60 - .../Configs/Zookeeper.json | 5 - .../Configs/consul.json | 6 - .../Surging.Services.Server/Dockerfile | 5 - .../Surging.Services.Server/NLog.config | 22 - .../Surging.Services.Server/Program.cs | 70 - .../PublishProfiles/FolderProfile.pubxml | 13 - .../Properties/launchSettings.json | 7 - .../Surging.Services.Server/Startup.cs | 60 - .../Surging.Services.Server.csproj | 71 - .../SurgingServiceEngine.cs | 26 - .../cacheSettings.json | 148 - .../eventBusSettings.json | 8 - .../Surging.Services.Server/log4net.config | 24 - .../surgingSettings.json | 101 - src/Surging.sln | 251 - src/WebSocket/WebSocketCore/ByteOrder.cs | 47 - src/WebSocket/WebSocketCore/CloseEventArgs.cs | 142 - .../WebSocketCore/CloseStatusCode.cs | 120 - .../WebSocketCore/CompressionMethod.cs | 52 - src/WebSocket/WebSocketCore/ErrorEventArgs.cs | 109 - src/WebSocket/WebSocketCore/Ext.cs | 2051 ---- src/WebSocket/WebSocketCore/Fin.cs | 51 - src/WebSocket/WebSocketCore/HttpBase.cs | 208 - src/WebSocket/WebSocketCore/HttpRequest.cs | 217 - src/WebSocket/WebSocketCore/HttpResponse.cs | 209 - src/WebSocket/WebSocketCore/LogData.cs | 149 - src/WebSocket/WebSocketCore/LogLevel.cs | 63 - src/WebSocket/WebSocketCore/Logger.cs | 330 - src/WebSocket/WebSocketCore/Mask.cs | 51 - .../WebSocketCore/MessageEventArgs.cs | 180 - .../WebSocketCore/Net/AuthenticationBase.cs | 151 - .../Net/AuthenticationChallenge.cs | 146 - .../Net/AuthenticationResponse.cs | 323 - .../Net/AuthenticationSchemes.cs | 66 - src/WebSocket/WebSocketCore/Net/Chunk.cs | 91 - .../WebSocketCore/Net/ChunkStream.cs | 360 - .../WebSocketCore/Net/ChunkedRequestStream.cs | 211 - .../Net/ClientSslConfiguration.cs | 291 - src/WebSocket/WebSocketCore/Net/Cookie.cs | 822 -- .../WebSocketCore/Net/CookieCollection.cs | 598 - .../WebSocketCore/Net/CookieException.cs | 143 - .../WebSocketCore/Net/EndPointListener.cs | 515 - .../WebSocketCore/Net/EndPointManager.cs | 240 - .../WebSocketCore/Net/HttpBasicIdentity.cs | 82 - .../WebSocketCore/Net/HttpConnection.cs | 597 - .../WebSocketCore/Net/HttpDigestIdentity.cs | 187 - .../WebSocketCore/Net/HttpHeaderInfo.cs | 114 - .../WebSocketCore/Net/HttpHeaderType.cs | 44 - .../WebSocketCore/Net/HttpListener.cs | 836 -- .../Net/HttpListenerAsyncResult.cs | 198 - .../WebSocketCore/Net/HttpListenerContext.cs | 256 - .../Net/HttpListenerException.cs | 127 - .../WebSocketCore/Net/HttpListenerPrefix.cs | 228 - .../Net/HttpListenerPrefixCollection.cs | 278 - .../WebSocketCore/Net/HttpListenerRequest.cs | 910 -- .../WebSocketCore/Net/HttpListenerResponse.cs | 846 -- .../WebSocketCore/Net/HttpRequestHeader.cs | 233 - .../WebSocketCore/Net/HttpResponseHeader.cs | 189 - .../WebSocketCore/Net/HttpStatusCode.cs | 359 - .../Net/HttpStreamAsyncResult.cs | 184 - .../WebSocketCore/Net/HttpUtility.cs | 1288 --- .../WebSocketCore/Net/HttpVersion.cs | 73 - .../WebSocketCore/Net/InputChunkState.cs | 52 - src/WebSocket/WebSocketCore/Net/InputState.cs | 49 - src/WebSocket/WebSocketCore/Net/LineState.cs | 50 - .../WebSocketCore/Net/NetworkCredential.cs | 209 - .../Net/QueryStringCollection.cs | 68 - .../WebSocketCore/Net/ReadBufferState.cs | 124 - .../WebSocketCore/Net/RequestStream.cs | 267 - .../WebSocketCore/Net/ResponseStream.cs | 325 - .../Net/ServerSslConfiguration.cs | 245 - .../WebSocketCore/Net/WebHeaderCollection.cs | 1459 --- .../HttpListenerWebSocketContext.cs | 394 - .../WebSockets/TcpListenerWebSocketContext.cs | 518 - .../Net/WebSockets/WebSocketContext.cs | 224 - src/WebSocket/WebSocketCore/Opcode.cs | 68 - src/WebSocket/WebSocketCore/PayloadData.cs | 234 - src/WebSocket/WebSocketCore/Program.cs | 12 - src/WebSocket/WebSocketCore/Rsv.cs | 51 - .../Server/HttpRequestEventArgs.cs | 255 - .../WebSocketCore/Server/HttpServer.cs | 1661 --- .../WebSocketCore/Server/IWebSocketSession.cs | 91 - .../WebSocketCore/Server/ServerState.cs | 40 - .../WebSocketCore/Server/WebSocketBehavior.cs | 874 -- .../WebSocketCore/Server/WebSocketServer.cs | 1528 --- .../Server/WebSocketServiceHost.cs | 29 - .../Server/WebSocketServiceHostBase.cs | 238 - .../Server/WebSocketServiceHost`1.cs | 102 - .../Server/WebSocketServiceManager.cs | 1114 -- .../Server/WebSocketSessionManager.cs | 1695 --- src/WebSocket/WebSocketCore/WebSocket.cs | 4104 ------- .../WebSocketCore/WebSocketCore.csproj | 18 - .../WebSocketCore/WebSocketException.cs | 109 - src/WebSocket/WebSocketCore/WebSocketFrame.cs | 797 -- src/WebSocket/WebSocketCore/WebSocketState.cs | 65 - src/docker-compose.ci.build.yml | 9 - src/docker-compose.dcproj | 19 - src/docker-compose.override.yml | 9 - src/docker-compose.yml | 12 - .../SharedSolutionFiles/SharedAssemblyInfo.cs | 30 - 1322 files changed, 160538 deletions(-) delete mode 100644 src/.dockerignore delete mode 100644 src/.vscode/launch.json delete mode 100644 src/.vscode/tasks.json delete mode 100644 src/Surging.ApiGateway/.bowerrc delete mode 100644 src/Surging.ApiGateway/Configs/appsettings.Development.json delete mode 100644 src/Surging.ApiGateway/Configs/appsettings.json delete mode 100644 src/Surging.ApiGateway/Configs/cacheSettings.json delete mode 100644 src/Surging.ApiGateway/Configs/gatewaySettings.json delete mode 100644 src/Surging.ApiGateway/Controllers/AuthenticationManageController.cs delete mode 100644 src/Surging.ApiGateway/Controllers/HomeController.cs delete mode 100644 src/Surging.ApiGateway/Controllers/ServiceManageController.cs delete mode 100644 src/Surging.ApiGateway/Controllers/ServicesController.cs delete mode 100644 src/Surging.ApiGateway/CustomExceptionFilterAttribute.cs delete mode 100644 src/Surging.ApiGateway/Dockerfile delete mode 100644 src/Surging.ApiGateway/Models/CacheEndpointParam.cs delete mode 100644 src/Surging.ApiGateway/Models/ErrorViewModel.cs delete mode 100644 src/Surging.ApiGateway/Program.cs delete mode 100644 src/Surging.ApiGateway/Properties/PublishProfiles/FolderProfile.pubxml delete mode 100644 src/Surging.ApiGateway/Properties/launchSettings.json delete mode 100644 src/Surging.ApiGateway/ServiceExceptionFilter.cs delete mode 100644 src/Surging.ApiGateway/Startup.cs delete mode 100644 src/Surging.ApiGateway/Surging.ApiGateway.csproj delete mode 100644 src/Surging.ApiGateway/Views/AuthenticationManage/EditServiceToken.cshtml delete mode 100644 src/Surging.ApiGateway/Views/AuthenticationManage/Index.cshtml delete mode 100644 src/Surging.ApiGateway/Views/AuthenticationManage/_AuthenticationManage.cshtml delete mode 100644 src/Surging.ApiGateway/Views/Home/Index.cshtml delete mode 100644 src/Surging.ApiGateway/Views/ServiceManage/EditCacheEndPoint.cshtml delete mode 100644 src/Surging.ApiGateway/Views/ServiceManage/EditFaultTolerant.cshtml delete mode 100644 src/Surging.ApiGateway/Views/ServiceManage/FaultTolerant.cshtml delete mode 100644 src/Surging.ApiGateway/Views/ServiceManage/Index.cshtml delete mode 100644 src/Surging.ApiGateway/Views/ServiceManage/ServiceCache.cshtml delete mode 100644 src/Surging.ApiGateway/Views/ServiceManage/ServiceCacheEndpoint.cshtml delete mode 100644 src/Surging.ApiGateway/Views/ServiceManage/ServiceDescriptor.cshtml delete mode 100644 src/Surging.ApiGateway/Views/ServiceManage/ServiceSubscriber.cshtml delete mode 100644 src/Surging.ApiGateway/Views/ServiceManage/_ServiceManageLayout.cshtml delete mode 100644 src/Surging.ApiGateway/Views/Shared/Error.cshtml delete mode 100644 src/Surging.ApiGateway/Views/Shared/Partial/ManageNav.cshtml delete mode 100644 src/Surging.ApiGateway/Views/Shared/_AppLayout.cshtml delete mode 100644 src/Surging.ApiGateway/Views/Shared/_Layout.cshtml delete mode 100644 src/Surging.ApiGateway/Views/Shared/_ManagerLayout.cshtml delete mode 100644 src/Surging.ApiGateway/Views/Shared/_ValidationScriptsPartial.cshtml delete mode 100644 src/Surging.ApiGateway/Views/_ViewImports.cshtml delete mode 100644 src/Surging.ApiGateway/Views/_ViewStart.cshtml delete mode 100644 src/Surging.ApiGateway/bower.json delete mode 100644 src/Surging.ApiGateway/bundleconfig.json delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/css/index.css delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/modules/authenticationmanage.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/url.config.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/view/address.guide.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/templates/authmanage_template.tpl delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/css/img/app_icon_servicemange.png delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/css/index.css delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/modules/ServiceManage.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/url.config.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/address.guide.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/faulttolerant.guide.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicecache.guide.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicecacheendpoint.guide.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicedescriptor.guide.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicesubscriber.guide.js delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/faulttolerant_template.tpl delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicecache_template.tpl delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicecacheendpoint_template.tpl delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicedescriptor_template.tpl delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicemanage_template.tpl delete mode 100644 src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicesubscriber_template.tpl delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-ie.min.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-rtl.min.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-skins.min.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace.min.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/base/ace/font-awesome.min.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/base/app_publiccss.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/base/font/font-awesome-ie7.min.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/base/global.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.eot delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.ttf delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.woff delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.woff2 delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/fonts/surgingfonticon.eot delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/fonts/surgingfonticon.svg delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/fonts/surgingfonticon.ttf delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/fonts/surgingfonticon.woff delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/manager/img/app_icon_all.png delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/manager/index.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/manager/public.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/manager/themes/default/skin.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/css/site.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/images/Heading.jpg delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/base/bootstrap.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/base/bootstrap.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/base/extensions.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/base/jquery.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/base/jquery.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/base/jquery.min.map delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/base/seajs-text.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/config.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/ie/html5shiv.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/ie/respond.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/modules/dt.pjax.event.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/plugins/ace-elements.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/plugins/ace-extra.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/plugins/ace.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/plugins/bootbox.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/plugins/jquery.pjax_n.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/plugins/jquery.tmpl.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/seajs/sea-debug.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/seajs/sea.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/seajs/sea.js.map delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/seajs/seajs-text-debug.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/seajs/seajs-text.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/url.config.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/js/view/main.guide.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/.bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/CHANGELOG.md delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/Gruntfile.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/LICENSE delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/README.md delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/css/bootstrap-theme.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/css/bootstrap-theme.css.map delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/css/bootstrap-theme.min.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/css/bootstrap-theme.min.css.map delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/css/bootstrap.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/css/bootstrap.css.map delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/css/bootstrap.min.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/css/bootstrap.min.css.map delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.eot delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.svg delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.ttf delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/fonts/glyphicons-halflings-regular.woff2 delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/js/bootstrap.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/js/bootstrap.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/dist/js/npm.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/fonts/glyphicons-halflings-regular.eot delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/fonts/glyphicons-halflings-regular.svg delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/fonts/glyphicons-halflings-regular.ttf delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/fonts/glyphicons-halflings-regular.woff delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/fonts/glyphicons-halflings-regular.woff2 delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/grunt/.jshintrc delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/grunt/bs-commonjs-generator.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/grunt/bs-glyphicons-data-generator.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/grunt/bs-lessdoc-parser.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/grunt/bs-raw-files-generator.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/grunt/configBridge.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/grunt/sauce_browsers.yml delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/.jscsrc delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/.jshintrc delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/affix.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/alert.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/button.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/carousel.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/collapse.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/dropdown.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/modal.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/popover.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/scrollspy.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/tab.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/tooltip.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/js/transition.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/.csscomb.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/.csslintrc delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/alerts.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/badges.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/bootstrap.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/breadcrumbs.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/button-groups.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/buttons.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/carousel.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/close.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/code.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/component-animations.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/dropdowns.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/forms.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/glyphicons.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/grid.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/input-groups.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/jumbotron.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/labels.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/list-group.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/media.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/alerts.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/background-variant.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/border-radius.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/buttons.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/center-block.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/clearfix.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/forms.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/gradients.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/grid-framework.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/grid.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/hide-text.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/image.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/labels.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/list-group.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/nav-divider.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/nav-vertical-align.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/opacity.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/pagination.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/panels.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/progress-bar.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/reset-filter.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/reset-text.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/resize.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/responsive-visibility.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/size.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/tab-focus.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/table-row.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/text-emphasis.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/text-overflow.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/mixins/vendor-prefixes.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/modals.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/navbar.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/navs.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/normalize.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/pager.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/pagination.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/panels.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/popovers.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/print.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/progress-bars.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/responsive-embed.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/responsive-utilities.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/scaffolding.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/tables.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/theme.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/thumbnails.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/tooltip.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/type.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/utilities.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/variables.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/less/wells.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/nuget/MyGet.ps1 delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/nuget/bootstrap.less.nuspec delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/nuget/bootstrap.nuspec delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/package.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/bootstrap/package.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/.bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/.gitignore delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/.npmignore delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/HELP-US-OUT.txt delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/css/font-awesome.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/css/font-awesome.css.map delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/css/font-awesome.min.css delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/fonts/FontAwesome.otf delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/fonts/fontawesome-webfont.eot delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/fonts/fontawesome-webfont.svg delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/fonts/fontawesome-webfont.ttf delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/fonts/fontawesome-webfont.woff delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/fonts/fontawesome-webfont.woff2 delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/animated.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/bordered-pulled.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/core.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/fixed-width.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/font-awesome.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/icons.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/larger.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/list.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/mixins.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/path.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/rotated-flipped.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/screen-reader.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/stacked.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/less/variables.less delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_animated.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_bordered-pulled.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_core.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_fixed-width.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_icons.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_larger.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_list.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_mixins.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_path.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_rotated-flipped.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_screen-reader.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_stacked.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/_variables.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/font-awesome/scss/font-awesome.scss delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation-unobtrusive/.bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation-unobtrusive/LICENSE.txt delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation-unobtrusive/bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/.bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/CONTRIBUTING.md delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/Gruntfile.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/LICENSE.md delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/README.md delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/build/release.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/changelog.md delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/dist/additional-methods.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/dist/additional-methods.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/dist/jquery.validate.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/dist/jquery.validate.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/package.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/accept.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/additional.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/alphanumeric.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/bankaccountNL.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/bankorgiroaccountNL.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/bic.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/cifES.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/cpfBR.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/creditcardtypes.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/currency.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/dateFA.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/dateITA.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/dateNL.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/extension.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/giroaccountNL.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/iban.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/integer.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/ipv4.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/ipv6.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/lettersonly.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/letterswithbasicpunc.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/mobileNL.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/mobileUK.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/nieES.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/nifES.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/notEqualTo.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/nowhitespace.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/pattern.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/phoneNL.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/phoneUK.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/phoneUS.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/phonesUK.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/postalCodeCA.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/postalcodeBR.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/postalcodeIT.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/postalcodeNL.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/postcodeUK.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/require_from_group.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/skip_or_fill_minimum.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/statesUS.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/strippedminlength.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/time.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/time12h.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/url2.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/vinUS.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/zipcodeUS.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/additional/ziprange.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/ajax.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/core.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_ar.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_bg.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_bn_BD.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_ca.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_cs.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_da.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_de.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_el.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_es.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_es_AR.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_es_PE.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_et.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_eu.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_fa.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_fi.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_fr.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_ge.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_gl.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_he.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_hr.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_hu.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_hy_AM.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_id.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_is.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_it.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_ja.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_ka.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_kk.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_ko.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_lt.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_lv.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_my.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_nl.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_no.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_pl.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_pt_BR.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_pt_PT.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_ro.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_ru.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_si.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_sk.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_sl.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_sr.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_sr_lat.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_sv.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_th.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_tj.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_tr.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_uk.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_vi.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_zh.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/messages_zh_TW.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/methods_de.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/methods_es_CL.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/methods_fi.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/methods_nl.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/src/localization/methods_pt.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery-validation/validation.jquery.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/.bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/AUTHORS.txt delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/LICENSE.txt delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/README.md delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/dist/jquery.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/dist/jquery.min.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/dist/jquery.min.map delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/.jshintrc delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax/jsonp.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax/load.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax/parseJSON.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax/parseXML.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax/script.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax/var/location.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax/var/nonce.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax/var/rquery.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/ajax/xhr.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/attributes.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/attributes/attr.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/attributes/classes.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/attributes/prop.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/attributes/support.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/attributes/val.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/callbacks.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/core.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/core/access.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/core/init.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/core/parseHTML.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/core/ready.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/core/support.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/core/var/rsingleTag.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/addGetHookIf.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/adjustCSS.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/curCSS.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/defaultDisplay.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/hiddenVisibleSelectors.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/showHide.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/support.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/var/cssExpand.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/var/getStyles.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/var/isHidden.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/var/rmargin.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/var/rnumnonpx.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/css/var/swap.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/data.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/data/Data.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/data/accepts.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/data/support.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/data/var/acceptData.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/data/var/dataPriv.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/data/var/dataUser.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/deferred.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/deprecated.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/dimensions.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/effects.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/effects/Tween.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/effects/animatedSelector.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/effects/support.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/event.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/event/ajax.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/event/alias.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/event/focusin.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/event/support.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/event/trigger.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/exports/amd.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/exports/global.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/intro.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/jquery.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/_evalUrl.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/buildFragment.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/createSafeFragment.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/getAll.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/setGlobalEval.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/support.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/var/nodeNames.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/var/rcheckableType.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/var/rleadingWhitespace.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/var/rscriptType.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/var/rtagName.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/manipulation/wrapMap.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/offset.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/outro.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/queue.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/queue/delay.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/selector-native.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/selector-sizzle.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/selector.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/serialize.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/support.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/traversing.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/traversing/findFilter.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/traversing/var/dir.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/traversing/var/rneedsContext.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/traversing/var/siblings.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/arr.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/class2type.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/concat.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/deletedIds.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/document.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/documentElement.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/hasOwn.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/indexOf.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/pnum.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/push.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/rcssNum.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/rnotwhite.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/slice.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/support.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/var/toString.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/jquery/src/wrap.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/seajs/.bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/seajs/LICENSE.md delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/seajs/bower.json delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/seajs/dist/runtime-debug.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/seajs/dist/runtime.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/seajs/dist/sea-debug.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/seajs/dist/sea.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/seajs/dist/standalone-debug.js delete mode 100644 src/Surging.ApiGateway/wwwroot/assets/lib/seajs/dist/standalone.js delete mode 100644 src/Surging.ApiGateway/wwwroot/favicon.ico delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Aggregation/ServicePartProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Aggregation/ServicePartType.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/AppConfig.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Configurations/AccessPolicy.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Configurations/Register.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Configurations/RegisterProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Configurations/ServiceAggregation.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Configurations/ServicePart.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Configurations/Services.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/IServicePartProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/OAuth/IAuthorizationServerProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/OAuth/Implementation/AuthorizationServerProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/OAuth/Implementation/Configurations/ConfigInfo.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/OAuth/Implementation/Configurations/GatewayConfigurationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/OAuth/Implementation/Configurations/GatewayConfigurationProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/OAuth/Implementation/Configurations/GatewayConfigurationSource.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/OAuth/Implementation/EncryptMode.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/OAuth/Implementation/JWTSecureDataHeader.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/OAuth/Implementation/JWTSecureDataType.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceDiscovery/IFaultTolerantProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceDiscovery/IServiceCacheProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceDiscovery/IServiceDiscoveryProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceDiscovery/IServiceSubscribeProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceDiscovery/Implementation/FaultTolerantProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceDiscovery/Implementation/ServiceAddressModel.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceDiscovery/Implementation/ServiceCacheProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceDiscovery/Implementation/ServiceDiscoveryProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceDiscovery/Implementation/ServiceSubscribeProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceResult.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/ServiceStatusCode.cs delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Surging.Core.ApiGateWay.csproj delete mode 100644 src/Surging.Core/Surging.Core.ApiGateWay/Utilities/ServiceResult.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Address/AddressModel.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Address/IpAddressModel.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/AppConfig.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/CPlatformContainer.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/CPlatformResource.Designer.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/CPlatformResource.resx delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Cache/CacheDescriptor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Cache/CacheEndpoint.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Cache/ICacheNodeProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Cache/ICacheProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Cache/IServiceCacheFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Cache/IServiceCacheManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Cache/Implementation/ServiceCacheManagerBase.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Cache/ServiceCache.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Cache/ServiceCacheDescriptor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/CommunicationProtocol.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/CPlatformConfigurationSource.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/IConfigurationWatchManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/ModulePackage.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/ProtocolPortOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/Remote/IConfigurationParser.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/Remote/JsonConfigurationParser.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/Remote/RemoteConfigurationEvents.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/Remote/RemoteConfigurationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/Remote/RemoteConfigurationProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/Remote/RemoteConfigurationSource.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/SurgingServerOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/Watch/ConfigurationWatch.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Configurations/Watch/ConfigurationWatchManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Convertibles/ITypeConvertibleProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Convertibles/ITypeConvertibleService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Convertibles/Implementation/DefaultTypeConvertibleProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Convertibles/Implementation/DefaultTypeConvertibleService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/DependencyResolution/DependencyResolverExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/DependencyResolution/IDependencyResolver.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/DependencyResolution/ServiceResolver.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Engines/IServiceEngine.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Engines/IServiceEngineBuilder.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Engines/IServiceEngineLifetime.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Engines/Implementation/DefaultServiceEngineBuilder.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Engines/Implementation/ServiceEngineLifetime.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Engines/Implementation/VirtualPathProviderServiceEngine .cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/EventBus/Events/EventContext.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/EventBus/Events/IIntegrationEventHandler.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/EventBus/Events/IntegrationEvent.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/EventBus/IEventBusSubscriptionsManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/EventBus/ISubscriptionAdapt.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/EventBus/Implementation/IEventBus.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/EventBus/InMemoryEventBusSubscriptionsManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Exceptions/CPlatformException.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Exceptions/CPlatformRemoteException.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Exceptions/CommunicationException.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Filters/IAuthorizationFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Filters/IExceptionFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Filters/IFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Filters/Implementation/AuthorizationAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Filters/Implementation/AuthorizationFilterAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Filters/Implementation/AuthorizationType.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Filters/Implementation/ExceptionFilterAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Filters/Implementation/FilterAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Filters/Implementation/RpcActionExecutedContext.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/HashAlgorithms/ConsistentHash.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/HashAlgorithms/HashAlgorithm.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/HashAlgorithms/IHashAlgorithm.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/IdentifyAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Ids/IServiceIdGenerator.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Ids/Implementation/DefaultServiceIdGenerator.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Ioc/BaseRepository.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Ioc/IServiceBehavior.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Ioc/IServiceKey.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Ioc/ModuleNameAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Ioc/ServiceBase.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Logging/NullLogger.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Messages/HttpMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Messages/HttpResultMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Messages/MessagePackTransportMessageType.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Messages/RemoteInvokeMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Messages/RemoteInvokeResultMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Messages/TransportMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/AbstractModule.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/AssemblyEntry.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/BusinessModule.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/Component.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/ContainerBuilderWrapper.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/EchoService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/EnginePartModule.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/IEchoService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/IModuleManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/IModuleProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/ModuleProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/ModuleState.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/RegistrationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Module/SystemModule.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/IMqttServiceRouteManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/Implementation/MqttServiceRouteManagerBase.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttDescriptor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceDescriptor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Mqtt/MqttServiceRoute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/RequetData.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/IServiceRouteFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/IServiceRouteManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/IServiceRouteProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/Implementation/DefaultServiceRouteFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/Implementation/DefaultServiceRouteProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/Implementation/ServiceRouteManagerBase.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/Implementation/SharedFileServiceRouteManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/ServiceRoute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/ServiceRouteContext.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/ServiceRouteDescriptor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/ServiceRouteWatch.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Routing/Template/RoutePatternParser.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/IAddressResolver.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/DefaultAddressResolver.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/IAddressSelector.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/AddressSelectorBase.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/AddressSelectorMode.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/FairPollingAdrSelector.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/HashAlgorithmAdrSelector.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/PollingAddressSelector.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Address/Resolvers/Implementation/Selectors/Implementation/RandomAddressSelector.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/IHealthCheckService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/DefaultHealthCheckService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/HealthChecks/Implementation/HealthCheckEventArgs.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/IRemoteInvokeService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/IServiceHeartbeatManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/IServiceSubscribeManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/IServiceSubscriberFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/DefaultServiceHeartbeatManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/DefaultServiceSubscriberFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/RemoteInvokeService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/Implementation/ServiceSubscribeManagerBase.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/RemoteInvokeContext.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/ServiceSubscriber.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Client/ServiceSubscriberDescriptor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/IServiceEntryLocate.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/IServiceEntryManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/IServiceEntryProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/IServiceExecutor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/IServiceHost.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/IServiceTokenGenerator.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/DefaultServiceEntryLocate.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/DefaultServiceEntryManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/DefaultServiceExecutor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/DefaultServiceHost.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Attributes/AttributeServiceEntryProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Attributes/ServiceAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Attributes/ServiceBundleAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Attributes/ServiceDescriptorAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Attributes/ServiceMetadataAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/IClrServiceEntryFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceDiscovery/Implementation/ClrServiceEntryFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceHostAbstract.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/Implementation/ServiceTokenGenerator.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Runtime/Server/ServiceEntry.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Serialization/ISerializer.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Serialization/Implementation/JsonSerializer.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Serialization/Implementation/StringByteArraySerializer.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Serialization/Implementation/StringObjectSerializer.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Serialization/SerializerExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/ServiceDescriptor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/ServiceHostBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/Attributes/CommandAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/IBreakeRemoteInvokeService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/IClusterInvoker.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/IFallbackInvoker.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/IServiceCommandManager.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/IServiceCommandProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/BreakeRemoteInvokeService.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverHandoverInvoker.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/FailoverInjectionInvoker.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/ServiceCommandBase.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/ServiceCommandManagerBase.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/Implementation/ServiceCommandProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommand.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/ServiceCommandDescriptor.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/ServiceInvokeListenInfo.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Support/StrategyType.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Surging.Core.CPlatform.csproj delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/Codec/ITransportMessageCodecFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/Codec/ITransportMessageDecoder.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/Codec/ITransportMessageEncoder.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/Codec/Implementation/JsonTransportMessageCodecFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/Codec/Implementation/JsonTransportMessageDecoder.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/Codec/Implementation/JsonTransportMessageEncoder.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/IMessageListener.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/IMessageSender.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/ITransportClient.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/ITransportClientFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/MessageListener.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/RpcContext.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Transport/Implementation/TransportClient.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/CancellationTokenExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/Check.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/DebugCheck.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/EnvironmentHelper.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/FastInvoke.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/NetUtils.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/ServiceLocator.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/StringExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/TaskHelpers.cs delete mode 100644 src/Surging.Core/Surging.Core.CPlatform/Utilities/UtilityType.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/AddressResolvers/IAddressResolver.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/AddressResolvers/Implementation/DefaultAddressResolver.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/AppConfig.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/CacheContainer.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/CacheTargetType.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/CachingModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/CachingResources.Designer.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/CachingResources.resx delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/CacheConfigurationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/CacheConfigurationProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/CacheConfigurationSource.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/IConfigurationWatchProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/Implementation/ConfigurationWatchProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/Remote/IConfigurationParser.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/Remote/JsonConfigurationParser.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/Remote/RemoteConfigurationEvents.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/Remote/RemoteConfigurationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/Remote/RemoteConfigurationProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Configurations/Remote/RemoteConfigurationSource.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/DependencyResolution/DependencyResolverExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/DependencyResolution/IDependencyResolver.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/DependencyResolution/ServiceResolver.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/HashAlgorithms/ConsistentHash.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/HashAlgorithms/ConsistentHashNode.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/HashAlgorithms/HashAlgorithm.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/HashAlgorithms/IHashAlgorithm.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/HealthChecks/IHealthCheckService.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/HealthChecks/Implementation/DefaultHealthCheckService.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/IdentifyCacheAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Interfaces/ICacheClient.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Internal/Implementation/DefaultCacheNodeProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Internal/Implementation/DefaultServiceCacheFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Models/CachingProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Models/Map.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Models/Property.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Models/binding.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/NetCache/GCThreadProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/NetCache/MemoryCache.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/NetCache/MemoryCacheProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/ObjectPool.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/RedisCache/RedisCacheClient.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/RedisCache/RedisContext.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/RedisCache/RedisEndpoint.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/RedisCache/RedisProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/RedisCache/StackExchangeRedisExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/ServiceHostBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Surging.Core.Caching.csproj delete mode 100644 src/Surging.Core/Surging.Core.Caching/Utilities/CacheException.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Utilities/Check.cs delete mode 100644 src/Surging.Core/Surging.Core.Caching/Utilities/DebugCheck.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/MessagePackModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/MessagePackTransportMessageCodecFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/MessagePackTransportMessageDecoder.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/MessagePackTransportMessageEncoder.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/DynamicItem.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/MessagePackRemoteInvokeMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/MessagePackRemoteInvokeResultMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/Messages/MessagePackTransportMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/Surging.Core.Codec.MessagePack.csproj delete mode 100644 src/Surging.Core/Surging.Core.Codec.MessagePack/Utilities/SerializerUtilitys.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Messages/DynamicItem.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Messages/ProtoBufferRemoteInvokeMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Messages/ProtoBufferRemoteInvokeResultMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Messages/ProtoBufferTransportMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/ProtoBufferModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/ProtoBufferTransportMessageCodecFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/ProtoBufferTransportMessageDecoder.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/ProtoBufferTransportMessageEncoder.cs delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Surging.Core.Codec.ProtoBuffer.csproj delete mode 100644 src/Surging.Core/Surging.Core.Codec.ProtoBuffer/Utilities/SerializerUtilitys.cs delete mode 100644 src/Surging.Core/Surging.Core.Common/ApiResult.cs delete mode 100644 src/Surging.Core/Surging.Core.Common/CommonModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Common/Extensions/EnumExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Common/ServicesException/ServiceException.cs delete mode 100644 src/Surging.Core/Surging.Core.Common/Surging.Core.Common.csproj delete mode 100644 src/Surging.Core/Surging.Core.Consul/AppConfig.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/Configurations/ConfigInfo.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/Configurations/ConsulConfigurationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/Configurations/ConsulConfigurationProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/Configurations/ConsulConfigurationSource.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/Configurations/ConsulOption.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/ConsulModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/ConsulMqttServiceRouteManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/ConsulServiceCacheManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/ConsulServiceCommandManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/ConsulServiceRouteManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/ConsulServiceSubscribeManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/Package.nuspec delete mode 100644 src/Surging.Core/Surging.Core.Consul/Surging.Core.Consul.csproj delete mode 100644 src/Surging.Core/Surging.Core.Consul/Utilitys/ConsulClientExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/WatcherProvider/IClientWatchManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/ChildWatchRegistration.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/ChildrenMonitorWatcher.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/ClientWatchManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/NodeMonitorWatcher.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/ReconnectionWatcher.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/WatchRegistration.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/Watcher.cs delete mode 100644 src/Surging.Core/Surging.Core.Consul/WatcherProvider/Implementation/WatcherBase.cs delete mode 100644 src/Surging.Core/Surging.Core.DotNetty/Adapter/TransportMessageChannelHandlerAdapter.cs delete mode 100644 src/Surging.Core/Surging.Core.DotNetty/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.DotNetty/DotNettyMessageSender.cs delete mode 100644 src/Surging.Core/Surging.Core.DotNetty/DotNettyModule.cs delete mode 100644 src/Surging.Core/Surging.Core.DotNetty/DotNettyServerMessageListener.cs delete mode 100644 src/Surging.Core/Surging.Core.DotNetty/DotNettyTransportClientFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.DotNetty/Surging.Core.DotNetty.csproj delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Appconfig.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Configurations/EventBusConfigurationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Configurations/EventBusConfigurationProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Configurations/EventBusConfigurationSource.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Configurations/KafkaOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Configurations/OffsetResetMode.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/EventBusKafkaModule.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/IConsumeConfigurator.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/IKafkaPersisterConnection.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Implementation/DefaultConsumeConfigurator.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Implementation/EventBusKafka.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Implementation/KafkaConnectionType.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Implementation/KafkaConsumerPersistentConnection.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Implementation/KafkaPersistentConnectionBase.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Implementation/KafkaProducerPersistentConnection.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Implementation/KafkaSubscriptionAdapt.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/ServiceHostBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Surging.Core.EventBusKafka.csproj delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Utilities/ExtensionsToFastActivator.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusKafka/Utilities/FastInvoker.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/AppConfig.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Attributes/QueueConsumerAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Configurations/EventBusConfigurationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Configurations/EventBusConfigurationProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Configurations/EventBusConfigurationSource.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Configurations/EventBusOption.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/EventBusRabbitMQModule.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/IConsumeConfigurator.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/IRabbitMQPersisterConnection.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultConsumeConfigurator.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/DefaultRabbitMQPersisterConnection.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/EventBusRabbitMQ.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Implementation/RabbitMqSubscriptionAdapt.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/QueueConsumerMode.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/RabbitmqLifetime.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/ServiceHostBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Surging.Core.EventBusRabbitMQ.csproj delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Utilities/ExtensionsToFastActivator.cs delete mode 100644 src/Surging.Core/Surging.Core.EventBusRabbitMQ/Utilities/FastInvoker.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionContext.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ActionResult.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/ContentResult.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileContentResult.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/FileResult.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Abstractions/IActionResult.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/AppConfig.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/DefaultHttpServiceHost.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/HttpExecutor.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/HttpMessageListener.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/HttpServerMessageSender.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/HttpServiceHost.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/DefaultServiceSchemaProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/FileStreamResult.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/HttpFormCollection.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/HttpFormFile.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/HttpFormFileCollection.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/IServiceSchemaProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Internal/StreamCopyOperation.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/KestrelHttpMessageListener.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/KestrelHttpModule.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/StatusCode.cs delete mode 100644 src/Surging.Core/Surging.Core.KestrelHttpServer/Surging.Core.KestrelHttpServer.csproj delete mode 100644 src/Surging.Core/Surging.Core.Log4net/Log4NetLogger.cs delete mode 100644 src/Surging.Core/Surging.Core.Log4net/Log4NetProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Log4net/Log4netModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Log4net/ServiceHostBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Log4net/Surging.Core.Log4net.csproj delete mode 100644 src/Surging.Core/Surging.Core.NLog/NLogModule.cs delete mode 100644 src/Surging.Core/Surging.Core.NLog/NLogProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.NLog/NLogger.cs delete mode 100644 src/Surging.Core/Surging.Core.NLog/ServiceHostBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.NLog/Surging.Core.Nlog.csproj delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Http/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Http/DotNettyHttpServerMessageListener.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Http/DotNettyHttpServerMessageSender.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Http/HttpProtocolModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Http/HttpServiceExecutor.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Http/HttpServiceHost.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Http/StatusCode.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Http/Surging.Core.Protocol.Http.csproj delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/DotNettyMqttServerMessageListener.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/DefaultMqttServiceFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Implementation/ServerMqttHandlerService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Channel/MqttChannel.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/Behavior.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConfirmStatus.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/ConnReturnCode.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/MessageType.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SessionStatus.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Enums/SubscribeStatus.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/ConnectMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/MqttWillMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/RetainMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SendMqttMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Messages/SessionMessage.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBehaviorProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttBrokerEntryManger.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRemoteInvokeService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/IMqttRomtePublishService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBehaviorProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/DefaultMqttBrokerEntryManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRemoteInvokeService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Implementation/MqttRomtePublishService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/MqttRemoteInvokeContext.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/Runnable.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/SacnScheduled.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Runtime/ScanRunnable.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/AbstractChannelService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IChannelService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IClientSessionService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IMessagePushService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/IWillService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/ClientSessionService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MessagePushService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/MqttChannelService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/Implementation/WillService.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Internal/Services/MqttBehavior.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttHandlerServiceBase.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttProtocolModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/MqttServiceHost.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Surging.Core.Protocol.Mqtt.csproj delete mode 100644 src/Surging.Core/Surging.Core.Protocol.Mqtt/Util/MessageIdGenerater.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Attributes/BehaviorContractAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Configurations/BehaviorOption.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Configurations/WebSocketOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/DefaultWSServerMessageListener.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Runtime/IWSServiceEntryProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Runtime/Implementation/DefaultWSServiceEntryProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Runtime/WSServiceEntry.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/Surging.Core.Protocol.WS.csproj delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/WSProtocolModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/WSServiceBase.cs delete mode 100644 src/Surging.Core/Surging.Core.Protocol.WS/WSServiceHost.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/FastReflection/ConstructorInvoker.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/FastReflection/MethodInvoker.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/FastReflection/PropertyAccessor.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/IServiceProxyFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/IServiceProxyGenerater.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/IServiceProxyProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Implementation/RemoteServiceProxy.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Implementation/ServiceProxyBase.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Implementation/ServiceProxyFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Implementation/ServiceProxyGenerater.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Implementation/ServiceProxyProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/CacheInterceptor.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/ICacheInvocation.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/IInterceptor.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/IInterceptorProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/IInvocation.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/Implementation/AbstractInvocation.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/Implementation/ActionInvocation.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/Implementation/InterceptorProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/Implementation/KeyAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Interceptors/InvocationMethods.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/ProxyServiceBase.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/RegistrationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/ServiceHostBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/ServiceProxyModule.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Surging.Core.ProxyGenerator.csproj delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Utilitys/AttributeFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.ProxyGenerator/Utilitys/CompilationUtilitys.cs delete mode 100644 src/Surging.Core/Surging.Core.Redis/Configurations/ConfigInfo.cs delete mode 100644 src/Surging.Core/Surging.Core.Redis/Extensions/StackExchangeRedisExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Redis/Provider/ICacheClient.cs delete mode 100644 src/Surging.Core/Surging.Core.Redis/Provider/Implementation/RedisCacheClient.cs delete mode 100644 src/Surging.Core/Surging.Core.Redis/Provider/Implementation/RedisEndpoint.cs delete mode 100644 src/Surging.Core/Surging.Core.Redis/Provider/Implementation/RedisProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Redis/Surging.Core.Redis.csproj delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/IApplicationLifetime.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/IHostLifetime.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/IServiceHost.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/IServiceHostBuilder.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/Implementation/ApplicationLifetime.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/Implementation/ConfigureBuilder.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/Implementation/ConfigureContainerBuilder.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/Implementation/ConfigureServicesBuilder.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/Implementation/ConsoleLifetime.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/Implementation/ServiceHost.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/Implementation/ServiceHostBuilder.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Internal/Implementation/StartupLoader.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/ServiceCollectionExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/ServiceHostBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Startup/IStartup.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Startup/Implementation/ConventionBasedStartup.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Startup/Implementation/DelegateStartup.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Startup/Implementation/StartupBase.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Startup/Implementation/StartupMethods.cs delete mode 100644 src/Surging.Core/Surging.Core.ServiceHosting/Surging.Core.ServiceHosting.csproj delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Surging.Core.Swagger.csproj delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Application/SwaggerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Application/SwaggerContractResolver.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Application/SwaggerMiddleware.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Application/SwaggerOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Application/SwaggerSerializerFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Model/ApiKeyScheme.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Model/BasicAuthScheme.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Model/ISwaggerProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Model/OAuth2Scheme.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Model/SecurityScheme.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/Swagger/Model/SwaggerDocument.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Application/ConfigureSchemaRegistryOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Application/ConfigureSwaggerGeneratorOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Application/SwaggerApplicationConvention.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Application/SwaggerGenOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Application/SwaggerGenOptionsExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Application/SwaggerGenServiceCollectionExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ApiDescriptionExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ApiParameterDescriptionExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ApiResponseTypeExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/IDocumentFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/IOperationFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/IParameterFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ISchemaFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ISchemaRegistry.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/ISchemaRegistryFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/JsonContractExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/JsonPropertyExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SchemaExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SchemaIdManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SchemaRegistry.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SchemaRegistryFactory.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SchemaRegistryOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/StringExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SwaggerGenerator.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/SwaggerGeneratorOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/Generator/TypeExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/XmlComments/XmlCommentsDocumentFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/XmlComments/XmlCommentsMemberNameHelper.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/XmlComments/XmlCommentsOperationFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/XmlComments/XmlCommentsSchemaFilter.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerGen/XmlComments/XmlCommentsTextHelper.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/SwaggerUIBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/SwaggerUIMiddleware.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/SwaggerUIOptions.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/SwaggerUIOptionsExtensions.cs.cs delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/index.html delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/absolute-path.js delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/favicon-16x16.png delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/favicon-32x32.png delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/index.html delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/index.js delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/oauth2-redirect.html delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/package.json delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/swagger-ui-bundle.js delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/swagger-ui-bundle.js.map delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/swagger-ui-dist-3.17.5.tgz delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/swagger-ui-standalone-preset.js.map delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/swagger-ui.css delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/swagger-ui.css.map delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/swagger-ui.js delete mode 100644 src/Surging.Core/Surging.Core.Swagger/SwaggerUI/node_modules/swagger-ui-dist/swagger-ui.js.map delete mode 100644 src/Surging.Core/Surging.Core.System/Intercept/CacheKeyAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Intercept/CacheProviderExtension.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Intercept/CacheProviderInterceptor.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Intercept/CachingMethod.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Intercept/InterceptMethodAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Intercept/LogProviderInterceptor.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Intercept/LoggerInterceptAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Intercept/SectionType.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Ioc/ModuleNameAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Ioc/RegistrationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/AbstractModule.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/Attributes/AssemblyDisableStopAndUninstalledAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/Attributes/AssemblyModuleTypeAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/Attributes/ModelBinderTypeAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/Attributes/ModuleDescriptionAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/BusinessModule.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/Component.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/ContainerBuilderWrapper.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/ModuleType.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/RegistrationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Module/SystemModule.cs delete mode 100644 src/Surging.Core/Surging.Core.System/MongoProvider/Attributes/CollectionNameAttribute.cs delete mode 100644 src/Surging.Core/Surging.Core.System/MongoProvider/Entity.cs delete mode 100644 src/Surging.Core/Surging.Core.System/MongoProvider/IEntity.cs delete mode 100644 src/Surging.Core/Surging.Core.System/MongoProvider/MongoConfig.cs delete mode 100644 src/Surging.Core/Surging.Core.System/MongoProvider/MongoModule.cs delete mode 100644 src/Surging.Core/Surging.Core.System/MongoProvider/QueryParams.cs delete mode 100644 src/Surging.Core/Surging.Core.System/MongoProvider/Repositories/IMongoRepository.cs delete mode 100644 src/Surging.Core/Surging.Core.System/MongoProvider/Repositories/MongoRepository.cs delete mode 100644 src/Surging.Core/Surging.Core.System/MongoProvider/Util.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Properties/AssemblyInfo.cs delete mode 100644 src/Surging.Core/Surging.Core.System/ServiceBase.cs delete mode 100644 src/Surging.Core/Surging.Core.System/Surging.Core.System.csproj delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/AppConfig.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/Configurations/ConfigInfo.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/Configurations/ZookeeperConfigurationExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/Configurations/ZookeeperConfigurationProvider.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/Configurations/ZookeeperConfigurationSource.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/Configurations/ZookeeperOption.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/ContainerBuilderExtensions.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/Surging.Core.Zookeeper.csproj delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/WatcherProvider/ChildrenMonitorWatcher.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/WatcherProvider/NodeMonitorWatcher.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/WatcherProvider/ReconnectionWatcher.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/WatcherProvider/WatcherBase.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperMqttServiceRouteManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperServiceRouteManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/ZooKeeperServiceSubscribeManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/ZookeeperModule.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/ZookeeperServiceCacheManager.cs delete mode 100644 src/Surging.Core/Surging.Core.Zookeeper/ZookeeperServiceCommandManager.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/IChatService.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/IControllerService.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/IRoteMangeService.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/IUserService.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/IntercepteModule.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/AuthenticationRequestData.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/BaseModel.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/Events/LogoutEvent.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/Events/UserEvent.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/IdentityUser.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/RoteModel.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/UserModel.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Models/WillMessage.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Properties/AssemblyInfo.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Common/Surging.IModuleServices.Common.csproj delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Manger/IManagerService.cs delete mode 100644 src/Surging.IModuleServices/Surging.IModuleServices.Manger/Surging.IModuleServices.Manager.csproj delete mode 100644 src/Surging.Modules/Surging.Modules.Common/Domain/ChatService.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Common/Domain/ControllerService.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Common/Domain/PersonService.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Common/Domain/RoteMangeService.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Common/Domain/UserService.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLoginDateChangeHandler.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Common/IntegrationEvents/EventHandling/UserLogoutDataChangeHandler.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Common/Properties/AssemblyInfo.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Common/Repositories/UserRepository.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Common/Surging.Modules.Common.csproj delete mode 100644 src/Surging.Modules/Surging.Modules.Manager/Domain/ManagerService.cs delete mode 100644 src/Surging.Modules/Surging.Modules.Manager/Surging.Modules.Manager.csproj delete mode 100644 src/Surging.Services/Surging.Services.Client/Program.cs delete mode 100644 src/Surging.Services/Surging.Services.Client/Properties/PublishProfiles/FolderProfile.pubxml delete mode 100644 src/Surging.Services/Surging.Services.Client/Startup.cs delete mode 100644 src/Surging.Services/Surging.Services.Client/Surging.Services.Client.csproj delete mode 100644 src/Surging.Services/Surging.Services.Client/cacheSettings.json delete mode 100644 src/Surging.Services/Surging.Services.Client/eventBusSettings.json delete mode 100644 src/Surging.Services/Surging.Services.Client/log4net.config delete mode 100644 src/Surging.Services/Surging.Services.Client/nLog.config delete mode 100644 src/Surging.Services/Surging.Services.Client/surgingSettings.json delete mode 100644 src/Surging.Services/Surging.Services.Server/Configs/Zookeeper.json delete mode 100644 src/Surging.Services/Surging.Services.Server/Configs/consul.json delete mode 100644 src/Surging.Services/Surging.Services.Server/Dockerfile delete mode 100644 src/Surging.Services/Surging.Services.Server/NLog.config delete mode 100644 src/Surging.Services/Surging.Services.Server/Program.cs delete mode 100644 src/Surging.Services/Surging.Services.Server/Properties/PublishProfiles/FolderProfile.pubxml delete mode 100644 src/Surging.Services/Surging.Services.Server/Properties/launchSettings.json delete mode 100644 src/Surging.Services/Surging.Services.Server/Startup.cs delete mode 100644 src/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj delete mode 100644 src/Surging.Services/Surging.Services.Server/SurgingServiceEngine.cs delete mode 100644 src/Surging.Services/Surging.Services.Server/cacheSettings.json delete mode 100644 src/Surging.Services/Surging.Services.Server/eventBusSettings.json delete mode 100644 src/Surging.Services/Surging.Services.Server/log4net.config delete mode 100644 src/Surging.Services/Surging.Services.Server/surgingSettings.json delete mode 100644 src/Surging.sln delete mode 100644 src/WebSocket/WebSocketCore/ByteOrder.cs delete mode 100644 src/WebSocket/WebSocketCore/CloseEventArgs.cs delete mode 100644 src/WebSocket/WebSocketCore/CloseStatusCode.cs delete mode 100644 src/WebSocket/WebSocketCore/CompressionMethod.cs delete mode 100644 src/WebSocket/WebSocketCore/ErrorEventArgs.cs delete mode 100644 src/WebSocket/WebSocketCore/Ext.cs delete mode 100644 src/WebSocket/WebSocketCore/Fin.cs delete mode 100644 src/WebSocket/WebSocketCore/HttpBase.cs delete mode 100644 src/WebSocket/WebSocketCore/HttpRequest.cs delete mode 100644 src/WebSocket/WebSocketCore/HttpResponse.cs delete mode 100644 src/WebSocket/WebSocketCore/LogData.cs delete mode 100644 src/WebSocket/WebSocketCore/LogLevel.cs delete mode 100644 src/WebSocket/WebSocketCore/Logger.cs delete mode 100644 src/WebSocket/WebSocketCore/Mask.cs delete mode 100644 src/WebSocket/WebSocketCore/MessageEventArgs.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/AuthenticationBase.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/AuthenticationChallenge.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/AuthenticationResponse.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/AuthenticationSchemes.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/Chunk.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/ChunkStream.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/ChunkedRequestStream.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/ClientSslConfiguration.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/Cookie.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/CookieCollection.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/CookieException.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/EndPointListener.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/EndPointManager.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpBasicIdentity.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpConnection.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpDigestIdentity.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpHeaderInfo.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpHeaderType.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpListener.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpListenerAsyncResult.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpListenerContext.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpListenerException.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpListenerPrefix.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpListenerPrefixCollection.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpListenerRequest.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpListenerResponse.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpRequestHeader.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpResponseHeader.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpStatusCode.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpStreamAsyncResult.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpUtility.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/HttpVersion.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/InputChunkState.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/InputState.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/LineState.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/NetworkCredential.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/QueryStringCollection.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/ReadBufferState.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/RequestStream.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/ResponseStream.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/ServerSslConfiguration.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/WebHeaderCollection.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/WebSockets/HttpListenerWebSocketContext.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/WebSockets/TcpListenerWebSocketContext.cs delete mode 100644 src/WebSocket/WebSocketCore/Net/WebSockets/WebSocketContext.cs delete mode 100644 src/WebSocket/WebSocketCore/Opcode.cs delete mode 100644 src/WebSocket/WebSocketCore/PayloadData.cs delete mode 100644 src/WebSocket/WebSocketCore/Program.cs delete mode 100644 src/WebSocket/WebSocketCore/Rsv.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/HttpRequestEventArgs.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/HttpServer.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/IWebSocketSession.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/ServerState.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/WebSocketBehavior.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/WebSocketServer.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/WebSocketServiceHost.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/WebSocketServiceHostBase.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/WebSocketServiceHost`1.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/WebSocketServiceManager.cs delete mode 100644 src/WebSocket/WebSocketCore/Server/WebSocketSessionManager.cs delete mode 100644 src/WebSocket/WebSocketCore/WebSocket.cs delete mode 100644 src/WebSocket/WebSocketCore/WebSocketCore.csproj delete mode 100644 src/WebSocket/WebSocketCore/WebSocketException.cs delete mode 100644 src/WebSocket/WebSocketCore/WebSocketFrame.cs delete mode 100644 src/WebSocket/WebSocketCore/WebSocketState.cs delete mode 100644 src/docker-compose.ci.build.yml delete mode 100644 src/docker-compose.dcproj delete mode 100644 src/docker-compose.override.yml delete mode 100644 src/docker-compose.yml delete mode 100644 src/packages/SharedSolutionFiles/SharedAssemblyInfo.cs diff --git a/src/.dockerignore b/src/.dockerignore deleted file mode 100644 index e694ae215..000000000 --- a/src/.dockerignore +++ /dev/null @@ -1,12 +0,0 @@ -.dockerignore -.env -.git -.gitignore -.vs -.vscode -docker-compose.yml -docker-compose.*.yml -*/bin -*/obj -!obj/Docker/publish/* -!obj/Docker/empty/ diff --git a/src/.vscode/launch.json b/src/.vscode/launch.json deleted file mode 100644 index e42be79fb..000000000 --- a/src/.vscode/launch.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - "name": "Server", - "type": "coreclr", - "request": "launch", - "preLaunchTask": "ServerBuild", - "program": "${workspaceRoot}/Surging.Services/Surging.Services.Server/bin/Debug/netcoreapp2.0/Surging.Services.Server.dll", - "args": [], - "cwd": "${workspaceRoot}/Surging.Services/Surging.Services.Server", - "stopAtEntry": false, - "console": "internalConsole" - }, - { - "name": "Client", - "type": "coreclr", - "request": "launch", - "preLaunchTask": "ClientBuild", - "program": "${workspaceRoot}/Surging.Services/Surging.Services.Client/bin/Debug/netcoreapp2.0/Surging.Services.Client.dll", - "args": [], - "cwd": "${workspaceRoot}/Surging.Services/Surging.Services.Client", - "stopAtEntry": false, - "console": "internalConsole" - }, - { - "name": "Web", - "type": "coreclr", - "request": "launch", - "preLaunchTask": "Webbuild", - "program": "${workspaceRoot}/Surging.ApiGateway/bin/Debug/netcoreapp2.0/Surging.ApiGateway.dll", - "args": [], - "cwd": "${workspaceRoot}/Surging.ApiGateway", - "stopAtEntry": false, - "launchBrowser": { - "enabled": true, - "args": "${auto-detect-url}", - "windows": { - "command": "cmd.exe", - "args": "/C start ${auto-detect-url}" - }, - "osx": { - "command": "open" - }, - "linux": { - "command": "xdg-open" - } - }, - "env": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "sourceFileMap": { - "/Views": "${workspaceRoot}/Views" - } - }, - { - "name": ".NET Core Attach", - "type": "coreclr", - "request": "attach", - "processId": "${command:pickProcess}" - } - ] -} \ No newline at end of file diff --git a/src/.vscode/tasks.json b/src/.vscode/tasks.json deleted file mode 100644 index 8724c4465..000000000 --- a/src/.vscode/tasks.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [{ - "taskName": "ClientBuild", - "command": "dotnet", - "type": "shell", - "group": "build", - "presentation": { - "reveal": "silent" - }, - "args": [ - "build", "${workspaceRoot}/Surging.Services/Surging.Services.Client/Surging.Services.Client.csproj" - ], - "problemMatcher": "$msCompile" - }, - { - "taskName": "ServerBuild", - "command": "dotnet", - "type": "shell", - "group": "build", - "presentation": { - "reveal": "silent" - }, - "args": [ - "build", "${workspaceRoot}/Surging.Services/Surging.Services.Server/Surging.Services.Server.csproj" - ], - "problemMatcher": "$msCompile" - }, - { - "taskName": "Webbuild", - "command": "dotnet", - "type": "shell", - "group": "build", - "presentation": { - "reveal": "silent" - }, - "args": [ - "build", "${workspaceRoot}/Surging.ApiGateway/Surging.ApiGateway.csproj" - ], - "problemMatcher": "$msCompile" - } - ] -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/.bowerrc b/src/Surging.ApiGateway/.bowerrc deleted file mode 100644 index 038f7dfef..000000000 --- a/src/Surging.ApiGateway/.bowerrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "directory": "wwwroot/assets/lib" -} - diff --git a/src/Surging.ApiGateway/Configs/appsettings.Development.json b/src/Surging.ApiGateway/Configs/appsettings.Development.json deleted file mode 100644 index fa8ce71a9..000000000 --- a/src/Surging.ApiGateway/Configs/appsettings.Development.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "LogLevel": { - "Default": "Debug", - "System": "Information", - "Microsoft": "Information" - } - } -} diff --git a/src/Surging.ApiGateway/Configs/appsettings.json b/src/Surging.ApiGateway/Configs/appsettings.json deleted file mode 100644 index 26bb0ac7a..000000000 --- a/src/Surging.ApiGateway/Configs/appsettings.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "Logging": { - "IncludeScopes": false, - "Debug": { - "LogLevel": { - "Default": "Warning" - } - }, - "Console": { - "LogLevel": { - "Default": "Warning" - } - } - } -} diff --git a/src/Surging.ApiGateway/Configs/cacheSettings.json b/src/Surging.ApiGateway/Configs/cacheSettings.json deleted file mode 100644 index ab9c7e43d..000000000 --- a/src/Surging.ApiGateway/Configs/cacheSettings.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "CachingSettings": [ - { - "Id": "ddlCache", - "Class": "Surging.Core.Caching.RedisCache.RedisContext,Surging.Core.Caching", - "Properties": [ - { - "Name": "appRuleFile", - "Ref": "rule" - }, - { - "Name": "dataContextPool", - "Ref": "ddls_sample", - "Maps": [ - { - "Name": "Redis", - "Properties": [ - { - "value": "127.0.0.1:6379::1" - } - ] - }, - { - "Name": "MemoryCache" - } - ] - }, - { - "Name": "defaultExpireTime", - "value": "120" - }, - { - "Name": "connectTimeout", - "Value": "120" - }, - { - "Name": "minSize", - "Value": "1" - }, - { - "Name": "maxSize", - "Value": "10" - } - ] - } - ] -} diff --git a/src/Surging.ApiGateway/Configs/gatewaySettings.json b/src/Surging.ApiGateway/Configs/gatewaySettings.json deleted file mode 100644 index 76f08a2f1..000000000 --- a/src/Surging.ApiGateway/Configs/gatewaySettings.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "AccessTokenExpireTimeSpan": "30", - "AuthorizationRoutePath": "api/user/authentication", - "AuthorizationServiceKey": "User", - "TokenEndpointPath": "api/oauth2/token", - "CacheMode": "ddlCache.Redis", //MemoryCache or gateway.Redis save token - "AccessPolicy": { - "Origins": [ "http://127.0.0.1:1927", "http://localhost:927" ], - "AllowAnyHeader": true, - "AllowAnyMethod": true - }, - "Register": { - "Provider": "Consul", - "Address": "${Register_Conn}|127.0.0.1:8500" - }, - "ServicePart": { - "MainPath": "part/service/aggregation", - "EnableAuthorization": false, - "Services": [ - { - "ServiceAggregation": [ - { - "RoutePath": "api/user/GetUserName", - "ServiceKey": "User", - "Key": "Users" - }, - { - "RoutePath": "api/user/GetUserName", - "ServiceKey": "User", - "Key": "Roles" - } - ], - "UrlMapping": "part/user/getuserrole" - } - ] - } -} diff --git a/src/Surging.ApiGateway/Controllers/AuthenticationManageController.cs b/src/Surging.ApiGateway/Controllers/AuthenticationManageController.cs deleted file mode 100644 index 92b13235a..000000000 --- a/src/Surging.ApiGateway/Controllers/AuthenticationManageController.cs +++ /dev/null @@ -1,31 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Surging.Core.ApiGateWay.ServiceDiscovery; -using Surging.Core.ApiGateWay.Utilities; -using Surging.Core.CPlatform.Address; -using Surging.Core.CPlatform.Utilities; -using System.Linq; -using System.Threading.Tasks; - -namespace Surging.ApiGateway.Controllers -{ - public class AuthenticationManageController : Controller - { - public IActionResult Index() - { - return View(); - } - - public async Task EditServiceToken([FromServices]IServiceDiscoveryProvider serviceDiscoveryProvider, string address) - { - var list = await serviceDiscoveryProvider.GetAddressAsync(address); ; - return View(list.FirstOrDefault()); - } - - [HttpPost] - public async Task EditServiceToken([FromServices]IServiceDiscoveryProvider serviceDiscoveryProvider, IpAddressModel model) - { - await serviceDiscoveryProvider.EditServiceToken(model); - return Json(ServiceResult.Create(true)); - } - } -} diff --git a/src/Surging.ApiGateway/Controllers/HomeController.cs b/src/Surging.ApiGateway/Controllers/HomeController.cs deleted file mode 100644 index e81047ba8..000000000 --- a/src/Surging.ApiGateway/Controllers/HomeController.cs +++ /dev/null @@ -1,19 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Surging.ApiGateway.Models; -using System.Diagnostics; - -namespace Surging.ApiGateway.Controllers -{ - public class HomeController : Controller - { - public IActionResult Index() - { - return View(); - } - - public IActionResult Error() - { - return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier }); - } - } -} diff --git a/src/Surging.ApiGateway/Controllers/ServiceManageController.cs b/src/Surging.ApiGateway/Controllers/ServiceManageController.cs deleted file mode 100644 index 6d718818a..000000000 --- a/src/Surging.ApiGateway/Controllers/ServiceManageController.cs +++ /dev/null @@ -1,149 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Surging.ApiGateway.Models; -using Surging.Core.ApiGateWay.ServiceDiscovery; -using Surging.Core.ApiGateWay.ServiceDiscovery.Implementation; -using Surging.Core.ApiGateWay.Utilities; -using Surging.Core.Caching.HashAlgorithms; -using Surging.Core.CPlatform; -using Surging.Core.CPlatform.Cache; -using Surging.Core.CPlatform.Support; -using Surging.Core.CPlatform.Utilities; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 - -namespace Surging.ApiGateway.Controllers -{ - public class ServiceManageController : Controller - { - // GET: // - public IActionResult Index() - { - return View(); - } - - [HttpPost] - public async Task GetAddress([FromServices]IServiceDiscoveryProvider serviceDiscoveryProvider, string queryParam) - { - var list = await serviceDiscoveryProvider.GetAddressAsync(queryParam); - var result = ServiceResult>.Create(true, list); - return Json(result); - } - - [HttpPost] - public async Task GetServiceDescriptor([FromServices]IServiceDiscoveryProvider serviceDiscoveryProvider, string address, string queryParam) - { - var list = await serviceDiscoveryProvider.GetServiceDescriptorAsync(address, queryParam); - var result = ServiceResult>.Create(true, list); - return Json(result); - } - - public IActionResult ServiceDescriptor(string address) - { - ViewBag.address = address; - return View(); - } - - public IActionResult FaultTolerant(string serviceId, string address) - { - ViewBag.ServiceId = serviceId; - ViewBag.Address = address; - return View(); - } - - public async Task EditCacheEndPoint([FromServices]IServiceCacheProvider serviceCacheProvider, string cacheId,string endpoint) - { - var model = await serviceCacheProvider.GetCacheEndpointAsync(cacheId, endpoint); - return View(model); - } - - [HttpPost] - public async Task DelCacheEndPoint([FromServices]IServiceCacheProvider serviceCacheProvider, string cacheId, string endpoint) - { - await serviceCacheProvider.DelCacheEndpointAsync(cacheId, endpoint); - return Json(ServiceResult.Create(true)); - } - - [HttpPost] - public async Task EditCacheEndPoint([FromServices]IServiceCacheProvider serviceCacheProvider, CacheEndpointParam param) - { - await serviceCacheProvider.SetCacheEndpointByEndpoint(param.CacheId, param.Endpoint, param.CacheEndpoint); - return Json(ServiceResult.Create(true)); - } - - public async Task EditFaultTolerant([FromServices]IFaultTolerantProvider faultTolerantProvider,string serviceId) - { - var list = await faultTolerantProvider.GetCommandDescriptor(serviceId); - return View(list.FirstOrDefault()); - } - - [HttpPost] - public async Task EditFaultTolerant([FromServices]IFaultTolerantProvider faultTolerantProvider, ServiceCommandDescriptor model) - { - await faultTolerantProvider.SetCommandDescriptorByAddress(model); - return Json(ServiceResult.Create(true)); - } - - [HttpPost] - public async Task GetCommandDescriptor([FromServices]IFaultTolerantProvider faultTolerantProvider, - string serviceId, string address) - { - IEnumerable list = null; - if (!string.IsNullOrEmpty(serviceId)) - { - list = await faultTolerantProvider.GetCommandDescriptor(serviceId); - } - else if (!string.IsNullOrEmpty(address)) - { - list = await faultTolerantProvider.GetCommandDescriptorByAddress(address); - } - var result = ServiceResult>.Create(true, list); - return Json(result); - } - - public IActionResult ServiceCache() - { - return View(); - } - - [HttpPost] - public async Task GetServiceCache([FromServices]IServiceCacheProvider serviceCacheProvider, string queryParam) - { - var list = await serviceCacheProvider.GetServiceDescriptorAsync(); - var result = ServiceResult>.Create(true, list); - return Json(result); - } - - public IActionResult ServiceCacheEndpoint(string cacheId) - { - ViewBag.CacheId = cacheId; - return View(); - } - - public async Task GetCacheEndpoint([FromServices]IServiceCacheProvider serviceCacheProvider, - string cacheId) - { - var list = await serviceCacheProvider.GetCacheEndpointAsync(cacheId); - var result = ServiceResult>.Create(true, list); - return Json(result); - } - - - public IActionResult ServiceSubscriber(string serviceId) - { - ViewBag.ServiceId = serviceId; - return View(); - } - - [HttpPost] - public async Task GetSubscriber([FromServices]IServiceSubscribeProvider serviceSubscribeProvider, - string queryParam) - { - var list = await serviceSubscribeProvider.GetAddressAsync(queryParam); - var result = ServiceResult>.Create(true, list); - return Json(result); - } - } -} diff --git a/src/Surging.ApiGateway/Controllers/ServicesController.cs b/src/Surging.ApiGateway/Controllers/ServicesController.cs deleted file mode 100644 index 734287873..000000000 --- a/src/Surging.ApiGateway/Controllers/ServicesController.cs +++ /dev/null @@ -1,212 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Surging.Core.ApiGateWay; -using Surging.Core.ApiGateWay.OAuth; -using Surging.Core.CPlatform; -using Surging.Core.CPlatform.Filters.Implementation; -using Surging.Core.CPlatform.Routing; -using Surging.Core.ProxyGenerator; -using Surging.Core.ProxyGenerator.Utilitys; -using System; -using System.Collections.Generic; -using System.Security.Cryptography; -using System.Text; -using System.Threading.Tasks; -using System.Linq; -using GateWayAppConfig = Surging.Core.ApiGateWay.AppConfig; -using System.Reflection; -using Surging.Core.CPlatform.Utilities; -using Newtonsoft.Json.Linq; -using Surging.Core.CPlatform.Transport.Implementation; - -namespace Surging.ApiGateway.Controllers -{ - public class ServicesController : Controller - { - private readonly IServiceProxyProvider _serviceProxyProvider; - private readonly IServiceRouteProvider _serviceRouteProvider; - private readonly IAuthorizationServerProvider _authorizationServerProvider; - - - public ServicesController(IServiceProxyProvider serviceProxyProvider, - IServiceRouteProvider serviceRouteProvider, - IAuthorizationServerProvider authorizationServerProvider) - { - _serviceProxyProvider = serviceProxyProvider; - _serviceRouteProvider = serviceRouteProvider; - _authorizationServerProvider = authorizationServerProvider; - } - - public async Task> Path([FromServices]IServicePartProvider servicePartProvider, string path, [FromBody]Dictionary model) - { - string serviceKey = this.Request.Query["servicekey"]; - path = path.IndexOf("/") < 0 ? $"/{path}" : path; - if (model == null) - { - model = new Dictionary(); - } - foreach (string n in this.Request.Query.Keys) - { - model[n] = this.Request.Query[n].ToString(); - } - ServiceResult result = ServiceResult.Create(false,null); - path = String.Compare(path,GateWayAppConfig.TokenEndpointPath,true) ==0 ? - GateWayAppConfig.AuthorizationRoutePath : path.ToLower(); - if( await GetAllowRequest(path)==false) return new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.RequestError, Message = "Request error" }; - if (servicePartProvider.IsPart(path)) - { - result = ServiceResult.Create(true, await servicePartProvider.Merge(path, model)); - result.StatusCode = (int)ServiceStatusCode.Success; - } - else - if ( OnAuthorization(path, model,ref result)) - { - if (path == GateWayAppConfig.AuthorizationRoutePath) - { - var token = await _authorizationServerProvider.GenerateTokenCredential(model); - if (token != null) - { - result = ServiceResult.Create(true, token); - result.StatusCode = (int)ServiceStatusCode.Success; - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - } - } - else - { - if (!string.IsNullOrEmpty(serviceKey)) - { - - result = ServiceResult.Create(true, await _serviceProxyProvider.Invoke(model, path, serviceKey)); - result.StatusCode = (int)ServiceStatusCode.Success; - } - else - { - result = ServiceResult.Create(true, await _serviceProxyProvider.Invoke(model, path)); - result.StatusCode = (int)ServiceStatusCode.Success; - } - } - } - return result; - } - - private async Task GetAllowRequest(string path) - { - var route = await _serviceRouteProvider.GetRouteByPath(path); - return !route.ServiceDescriptor.DisableNetwork(); - } - - private bool OnAuthorization(string path, Dictionary model, ref ServiceResult result) - { - bool isSuccess = true; - var route = _serviceRouteProvider.GetRouteByPath(path).GetAwaiter().GetResult(); - if (route.ServiceDescriptor.EnableAuthorization()) - { - if(route.ServiceDescriptor.AuthType()== AuthorizationType.JWT.ToString()) - { - isSuccess= ValidateJwtAuthentication(route,model, ref result); - } - else - { - isSuccess = ValidateAppSecretAuthentication(route, path, model, ref result); - } - - } - return isSuccess; - } - - public bool ValidateJwtAuthentication(ServiceRoute route, Dictionary model, ref ServiceResult result) - { - bool isSuccess = true; - var author = HttpContext.Request.Headers["Authorization"]; - if (author.Count > 0) - { - isSuccess = _authorizationServerProvider.ValidateClientAuthentication(author).Result; - if (!isSuccess) - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - } - else - { - var keyValue = model.FirstOrDefault(); - if (!(keyValue.Value is IConvertible) || !typeof(IConvertible).GetTypeInfo().IsAssignableFrom(keyValue.Value.GetType())) - { - dynamic instance = keyValue.Value; - instance.Payload = _authorizationServerProvider.GetPayloadString(author); - RpcContext.GetContext().SetAttachment("payload", instance.Payload.ToString()); - model.Remove(keyValue.Key); - model.Add(keyValue.Key, instance); - } - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.RequestError, Message = "Request error" }; - isSuccess = false; - } - return isSuccess; - } - - private bool ValidateAppSecretAuthentication(ServiceRoute route, string path, - Dictionary model, ref ServiceResult result) - { - bool isSuccess = true; - DateTime time; - var author = HttpContext.Request.Headers["Authorization"]; - - if (!string.IsNullOrEmpty(path) && model.ContainsKey("timeStamp") && author.Count>0) - { - if (DateTime.TryParse(model["timeStamp"].ToString(), out time)) - { - var seconds = (DateTime.Now - time).TotalSeconds; - if (seconds <= 3560 && seconds >= 0) - { - if (GetMD5($"{route.ServiceDescriptor.Token}{time.ToString("yyyy-MM-dd hh:mm:ss") }") != author.ToString()) - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - isSuccess = false; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - isSuccess = false; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.AuthorizationFailed, Message = "Invalid authentication credentials" }; - isSuccess = false; - } - } - else - { - result = new ServiceResult { IsSucceed = false, StatusCode = (int)ServiceStatusCode.RequestError, Message = "Request error" }; - isSuccess = false; - } - return isSuccess; - } - - public static string GetMD5(string encypStr) - { - try - { - var md5 = MD5.Create(); - var bs = md5.ComputeHash(Encoding.UTF8.GetBytes(encypStr)); - var sb = new StringBuilder(); - foreach (byte b in bs) - { - sb.Append(b.ToString("X2")); - } - //所有字符转为大写 - return sb.ToString().ToLower(); - } - catch (Exception e) - { - Console.Error.WriteLine(e.StackTrace); - return null; - } - } - } -} diff --git a/src/Surging.ApiGateway/CustomExceptionFilterAttribute.cs b/src/Surging.ApiGateway/CustomExceptionFilterAttribute.cs deleted file mode 100644 index afbfb8862..000000000 --- a/src/Surging.ApiGateway/CustomExceptionFilterAttribute.cs +++ /dev/null @@ -1,38 +0,0 @@ -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.Filters; -using Microsoft.AspNetCore.Mvc.ModelBinding; -using Surging.Core.ApiGateWay; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace Surging.ApiGateway -{ - public class CustomExceptionFilterAttribute : ExceptionFilterAttribute - { - private readonly IHostingEnvironment _hostingEnvironment; - private readonly IModelMetadataProvider _modelMetadataProvider; - - public CustomExceptionFilterAttribute( - IHostingEnvironment hostingEnvironment, - IModelMetadataProvider modelMetadataProvider) - { - _hostingEnvironment = hostingEnvironment; - _modelMetadataProvider = modelMetadataProvider; - } - - public override void OnException(ExceptionContext context) - { - if (!_hostingEnvironment.IsDevelopment()) - { - return; - } - var result = ServiceResult.Create(false,errorMessage: context.Exception.Message); - result.StatusCode = 400; - context.Result =new JsonResult(result); - } - } -} - diff --git a/src/Surging.ApiGateway/Dockerfile b/src/Surging.ApiGateway/Dockerfile deleted file mode 100644 index 677f91242..000000000 --- a/src/Surging.ApiGateway/Dockerfile +++ /dev/null @@ -1,4 +0,0 @@ -FROM microsoft/dotnet:2.1-runtime -WORKDIR /app -COPY . . -ENTRYPOINT ["dotnet", "Surging.ApiGateway.dll"] diff --git a/src/Surging.ApiGateway/Models/CacheEndpointParam.cs b/src/Surging.ApiGateway/Models/CacheEndpointParam.cs deleted file mode 100644 index 9936352cb..000000000 --- a/src/Surging.ApiGateway/Models/CacheEndpointParam.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Surging.Core.Caching.HashAlgorithms; -using Surging.Core.CPlatform.Cache; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace Surging.ApiGateway.Models -{ - public class CacheEndpointParam - { - public string CacheId { get; set; } - - public string Endpoint { get; set; } - - public ConsistentHashNode CacheEndpoint { get; set; } - } -} diff --git a/src/Surging.ApiGateway/Models/ErrorViewModel.cs b/src/Surging.ApiGateway/Models/ErrorViewModel.cs deleted file mode 100644 index efcef4c59..000000000 --- a/src/Surging.ApiGateway/Models/ErrorViewModel.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; - -namespace Surging.ApiGateway.Models -{ - public class ErrorViewModel - { - public string RequestId { get; set; } - - public bool ShowRequestId => !string.IsNullOrEmpty(RequestId); - } -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Program.cs b/src/Surging.ApiGateway/Program.cs deleted file mode 100644 index b0f8eb85c..000000000 --- a/src/Surging.ApiGateway/Program.cs +++ /dev/null @@ -1,38 +0,0 @@ -using Autofac; -using Autofac.Extensions.DependencyInjection; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Server.Kestrel.Core; -using Microsoft.Extensions.Logging; -using Surging.Core.ApiGateWay; -using Surging.Core.Codec.MessagePack; -using Surging.Core.Consul; -using Surging.Core.Consul.Configurations; -using Surging.Core.CPlatform; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.DotNetty; -using Surging.Core.ProxyGenerator; -using Surging.Core.ServiceHosting; -using Surging.Core.System.Intercept; -using System; -using System.IO; - - -namespace Surging.ApiGateway -{ - public class Program - { - public static void Main(string[] args) - { - var host = new WebHostBuilder() - .UseUrls("http://*:729") - .UseKestrel() - .UseContentRoot(Directory.GetCurrentDirectory()) - .UseIISIntegration() - .UseStartup() - .UseApplicationInsights() - .Build(); - host.Run(); - - } - } -} diff --git a/src/Surging.ApiGateway/Properties/PublishProfiles/FolderProfile.pubxml b/src/Surging.ApiGateway/Properties/PublishProfiles/FolderProfile.pubxml deleted file mode 100644 index e7dab5007..000000000 --- a/src/Surging.ApiGateway/Properties/PublishProfiles/FolderProfile.pubxml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - FileSystem - FileSystem - Release - Any CPU - - True - False - 70fc4ee8-ac84-4774-bc0e-de26a4b743b1 - bin\Release\PublishOutput - False - - \ No newline at end of file diff --git a/src/Surging.ApiGateway/Properties/launchSettings.json b/src/Surging.ApiGateway/Properties/launchSettings.json deleted file mode 100644 index 859996e33..000000000 --- a/src/Surging.ApiGateway/Properties/launchSettings.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:729/", - "sslPort": 0 - } - }, - "profiles": { - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "Surging.ApiGateway": { - "commandName": "Project", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - }, - "applicationUrl": "http://localhost:50651/" - } - } -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/ServiceExceptionFilter.cs b/src/Surging.ApiGateway/ServiceExceptionFilter.cs deleted file mode 100644 index 854e1a555..000000000 --- a/src/Surging.ApiGateway/ServiceExceptionFilter.cs +++ /dev/null @@ -1,18 +0,0 @@ -using Surging.Core.CPlatform.Exceptions; -using Surging.Core.CPlatform.Filters.Implementation; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Threading.Tasks; - -namespace Surging.ApiGateway -{ - public class ServiceExceptionFilter: ExceptionFilterAttribute - { - public override void OnException(RpcActionExecutedContext context) - { - if (context.Exception is CPlatformCommunicationException) - throw new Exception(context.Exception.Message,context.Exception); - } - } -} diff --git a/src/Surging.ApiGateway/Startup.cs b/src/Surging.ApiGateway/Startup.cs deleted file mode 100644 index 0ad34f9d2..000000000 --- a/src/Surging.ApiGateway/Startup.cs +++ /dev/null @@ -1,136 +0,0 @@ -using Autofac; -using Autofac.Extensions.DependencyInjection; -using Microsoft.AspNetCore.Builder; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.StaticFiles; -using Microsoft.Extensions.Configuration; -using Microsoft.Extensions.DependencyInjection; -using Microsoft.Extensions.Logging; -using Newtonsoft.Json.Serialization; -using Surging.Core.ApiGateWay; -using Surging.Core.ApiGateWay.Configurations; -using Surging.Core.ApiGateWay.OAuth.Implementation.Configurations; -using Surging.Core.Caching.Configurations; -using Surging.Core.Codec.MessagePack; -using Surging.Core.Consul; -using Surging.Core.Consul.Configurations; -using Surging.Core.CPlatform; -using Surging.Core.CPlatform.Utilities; -using Surging.Core.DotNetty; -using Surging.Core.ProxyGenerator; -using Surging.Core.System.Intercept; -using Surging.Core.Zookeeper; -//using Surging.Core.Zookeeper; -using ZookeeperConfigInfo = Surging.Core.Zookeeper.Configurations.ConfigInfo; -using System; -using ApiGateWayConfig = Surging.Core.ApiGateWay.AppConfig; -using Surging.Core.Caching; -using Surging.Core.CPlatform.Cache; -using System.Linq; - -namespace Surging.ApiGateway -{ - public class Startup - { - public IConfigurationRoot Configuration { get; } - - public IContainer ApplicationContainer { get; private set; } - - public Startup(IHostingEnvironment env) - { - var builder = new ConfigurationBuilder() - .SetBasePath(env.ContentRootPath) - .AddCacheFile("Configs/cacheSettings.json", optional: false) - .AddJsonFile("Configs/appsettings.json", optional: true, reloadOnChange: true) - .AddGatewayFile("Configs/gatewaySettings.json", optional: false) - .AddJsonFile($"Configs/appsettings.{env.EnvironmentName}.json", optional: true); - Configuration = builder.Build(); - } - - public IServiceProvider ConfigureServices(IServiceCollection services) - { - return RegisterAutofac(services); - } - - private IServiceProvider RegisterAutofac(IServiceCollection services) - { - var registerConfig = ApiGateWayConfig.Register; - services.AddMvc(options => { - options.Filters.Add(typeof(CustomExceptionFilterAttribute)); - }).AddJsonOptions(options => { - options.SerializerSettings.DateFormatString = "yyyy-MM-dd HH:mm:ss"; - options.SerializerSettings.ContractResolver = new DefaultContractResolver(); - }); - services.AddLogging(); - services.AddCors(); - var builder = new ContainerBuilder(); - builder.Populate(services); - builder.AddMicroService(option => - { - option.AddClient(); - option.AddCache(); - option.AddClientIntercepted(typeof(CacheProviderInterceptor)); - //option.UseZooKeeperManager(new ConfigInfo("127.0.0.1:2181")); - if(registerConfig.Provider== RegisterProvider.Consul) - option.UseConsulManager(new ConfigInfo(registerConfig.Address,enableChildrenMonitor:false)); - else if(registerConfig.Provider == RegisterProvider.Zookeeper) - option.UseZooKeeperManager(new ZookeeperConfigInfo(registerConfig.Address, enableChildrenMonitor: true)); - option.UseDotNettyTransport(); - option.AddApiGateWay(); - option.AddFilter(new ServiceExceptionFilter()); - //option.UseProtoBufferCodec(); - option.UseMessagePackCodec(); - builder.Register(m => new CPlatformContainer(ServiceLocator.Current)); - }); - ServiceLocator.Current = builder.Build(); - return new AutofacServiceProvider(ServiceLocator.Current); - - } - - public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory) - { - loggerFactory.AddConsole(); - var serviceCacheProvider = ServiceLocator.Current.Resolve(); - var addressDescriptors = serviceCacheProvider.GetServiceCaches().ToList(); - ServiceLocator.Current.Resolve().SetCachesAsync(addressDescriptors); - ServiceLocator.Current.Resolve(); - - if (env.IsDevelopment()) - { - app.UseDeveloperExceptionPage(); - } - else - { - app.UseExceptionHandler("/Home/Error"); - } - app.UseCors(builder => - { - var policy = Core.ApiGateWay.AppConfig.Policy; - builder.WithOrigins(policy.Origins); - if (policy.AllowAnyHeader) - builder.AllowAnyHeader(); - if (policy.AllowAnyMethod) - builder.AllowAnyMethod(); - if (policy.AllowAnyOrigin) - builder.AllowAnyOrigin(); - if (policy.AllowCredentials) - builder.AllowCredentials(); - }); - var myProvider = new FileExtensionContentTypeProvider(); - myProvider.Mappings.Add(".tpl", "text/plain"); - app.UseStaticFiles(new StaticFileOptions() { ContentTypeProvider = myProvider }); - app.UseStaticFiles(); - app.UseMvc(routes => - { - routes.MapRoute( - name: "default", - template: "{controller=Home}/{action=Index}/{id?}"); - - routes.MapRoute( - "Path", - "{*path}", - new { controller = "Services", action = "Path" }); - }); - } - } -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Surging.ApiGateway.csproj b/src/Surging.ApiGateway/Surging.ApiGateway.csproj deleted file mode 100644 index 2d643318a..000000000 --- a/src/Surging.ApiGateway/Surging.ApiGateway.csproj +++ /dev/null @@ -1,68 +0,0 @@ - - - - netcoreapp2.1 - true - $(AssetTargetFallback);portable-net45+win8+wp8+wpa81; - aspnet-Surging.ApiGateway-147A234E-A922-4E6A-89B8-DCC64AEA96EE - false - 1.0.0.0 - fanly - surging Micro Service Framework - - surging is a distributed micro service framework that provides high-performance RPC remote service calls, using Zookeeper, Consul as the registration center for surging services, integrating hash, random, polling as a load balancing algorithm, RPC integration using the netty framework, Using asynchronous transmission. Use json.net, protobuf, messagepack for serialization Codec - Copyright © fanly All Rights Reserved. - https://github.com/dotnetcore/surging/blob/master/LICENSE - https://github.com/dotnetcore/surging - MicroService surging - ..\docker-compose.dcproj - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - PreserveNewest - - - PreserveNewest - - - PreserveNewest - - - - diff --git a/src/Surging.ApiGateway/Views/AuthenticationManage/EditServiceToken.cshtml b/src/Surging.ApiGateway/Views/AuthenticationManage/EditServiceToken.cshtml deleted file mode 100644 index 96c2c89ce..000000000 --- a/src/Surging.ApiGateway/Views/AuthenticationManage/EditServiceToken.cshtml +++ /dev/null @@ -1,23 +0,0 @@ -@using Surging.Core.CPlatform.Address; -@model Surging.Core.ApiGateWay.ServiceDiscovery.Implementation.ServiceAddressModel -@{ - - Layout = null; -} - diff --git a/src/Surging.ApiGateway/Views/AuthenticationManage/Index.cshtml b/src/Surging.ApiGateway/Views/AuthenticationManage/Index.cshtml deleted file mode 100644 index c1db77d85..000000000 --- a/src/Surging.ApiGateway/Views/AuthenticationManage/Index.cshtml +++ /dev/null @@ -1,88 +0,0 @@ - -@{ - ViewBag.Title = "认证管理"; - var isPjax = (!string.IsNullOrEmpty(Context.Request.Query["XPJAX"]) && bool.Parse(Context.Request.Query["XPJAX"])) - && (!string.IsNullOrEmpty(Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"])); - Layout = isPjax ? null : "_AuthenticationManage.cshtml"; -} - -
-
-
-
-
- 关键字: - -
-
-
- - - - - - - - - - - - -
机器名状态检查令牌操作
-
-
-
-
- - -@if (!isPjax) -{ - @section SubFootJS - { - - } -} -else -{ - -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/AuthenticationManage/_AuthenticationManage.cshtml b/src/Surging.ApiGateway/Views/AuthenticationManage/_AuthenticationManage.cshtml deleted file mode 100644 index 37c7c238a..000000000 --- a/src/Surging.ApiGateway/Views/AuthenticationManage/_AuthenticationManage.cshtml +++ /dev/null @@ -1,50 +0,0 @@ -@{ - ViewBag.Title = "认证管理"; - Layout = "~/Views/Shared/_AppLayout.cshtml"; -} -@section SubHeadCSS - { - -} -
- -
-
- @RenderBody() -
-
- @**@ -
- - - - -
-
-@section SubFootJS - { - - @RenderSection("SubFootJS", false) -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/Home/Index.cshtml b/src/Surging.ApiGateway/Views/Home/Index.cshtml deleted file mode 100644 index 6d8710d10..000000000 --- a/src/Surging.ApiGateway/Views/Home/Index.cshtml +++ /dev/null @@ -1,44 +0,0 @@ -@{ - ViewBag.Title = "首页"; - var isPjax = !string.IsNullOrEmpty( Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"]); - Layout = isPjax ? null : "~/Views/Shared/_ManagerLayout.cshtml"; -} -
-
-
-
-
-

运行概况

-
- - - - - 欢迎使用 - - Surging Gateway(v0.14) - ,基于.NET CORE Surging微服务网关 -
-
-
-
- -
-
- -
- - - - - - -
-
-
-@section FootJS - { - -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/ServiceManage/EditCacheEndPoint.cshtml b/src/Surging.ApiGateway/Views/ServiceManage/EditCacheEndPoint.cshtml deleted file mode 100644 index 664aaefab..000000000 --- a/src/Surging.ApiGateway/Views/ServiceManage/EditCacheEndPoint.cshtml +++ /dev/null @@ -1,51 +0,0 @@ -@using Surging.Core.Caching.HashAlgorithms; -@model ConsistentHashNode -@{ - - Layout = null; -} - diff --git a/src/Surging.ApiGateway/Views/ServiceManage/EditFaultTolerant.cshtml b/src/Surging.ApiGateway/Views/ServiceManage/EditFaultTolerant.cshtml deleted file mode 100644 index 769e535fa..000000000 --- a/src/Surging.ApiGateway/Views/ServiceManage/EditFaultTolerant.cshtml +++ /dev/null @@ -1,98 +0,0 @@ -@using Surging.Core.CPlatform.Support; -@model Surging.Core.CPlatform.Support.ServiceCommandDescriptor -@{ - - Layout = null; -} - - - diff --git a/src/Surging.ApiGateway/Views/ServiceManage/FaultTolerant.cshtml b/src/Surging.ApiGateway/Views/ServiceManage/FaultTolerant.cshtml deleted file mode 100644 index 415b5d49c..000000000 --- a/src/Surging.ApiGateway/Views/ServiceManage/FaultTolerant.cshtml +++ /dev/null @@ -1,105 +0,0 @@ -@using Surging.Core.CPlatform; -@model List -@{ - ViewBag.Title = "容错规则"; - var isPjax = !string.IsNullOrEmpty(Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"]); - Layout = isPjax ? null : "_ServiceManageLayout.cshtml"; -} - -
-
-
-
-
-
- 关键字: - - - -
-
-
-
- - - - - - - - - - - - - - - - - - - - - -
服务ID强制熔断容错策略超时时间开启缓存回退实例名注入脚本命名空间错误率尝试请求关闭熔断熔断阚值信号并发操作
-
-
-
-
- - - -@if (!isPjax) -{ - @section SubFootJS - { - - } -} -else -{ - -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/ServiceManage/Index.cshtml b/src/Surging.ApiGateway/Views/ServiceManage/Index.cshtml deleted file mode 100644 index 8ff1ac96f..000000000 --- a/src/Surging.ApiGateway/Views/ServiceManage/Index.cshtml +++ /dev/null @@ -1,71 +0,0 @@ - -@{ - ViewBag.Title = "服务管理"; - var isPjax = (!string.IsNullOrEmpty(Context.Request.Query["XPJAX"]) && bool.Parse(Context.Request.Query["XPJAX"])) - && (!string.IsNullOrEmpty(Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"])) ; - Layout = isPjax ? null : "_ServiceManageLayout.cshtml"; - ViewBag.Selected = "Index"; -} - -
-
-
-
-
- - 关键字: - -
-
-
- - - - - - - - - - - - -
机器名状态检查操作
-
-
-
-
-@if (!isPjax) -{ - @section SubFootJS - { - - } -} -else -{ - -} diff --git a/src/Surging.ApiGateway/Views/ServiceManage/ServiceCache.cshtml b/src/Surging.ApiGateway/Views/ServiceManage/ServiceCache.cshtml deleted file mode 100644 index 7fa85352f..000000000 --- a/src/Surging.ApiGateway/Views/ServiceManage/ServiceCache.cshtml +++ /dev/null @@ -1,70 +0,0 @@ - -@{ - ViewBag.Title = "服务管理"; - var isPjax = !string.IsNullOrEmpty(Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"]); - Layout = isPjax ? null : "_ServiceManageLayout.cshtml"; - ViewBag.Selected = "ServiceCache"; -} - -
-
-
-
-
- - 关键字: - -
-
-
- - - - - - - - - - - - -
缓存ID类型失效时间连接失效时间操作
-
-
-
-
-@if (!isPjax) -{ - @section SubFootJS - { - - } -} -else -{ - -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/ServiceManage/ServiceCacheEndpoint.cshtml b/src/Surging.ApiGateway/Views/ServiceManage/ServiceCacheEndpoint.cshtml deleted file mode 100644 index f7ad21696..000000000 --- a/src/Surging.ApiGateway/Views/ServiceManage/ServiceCacheEndpoint.cshtml +++ /dev/null @@ -1,96 +0,0 @@ - -@{ - ViewBag.Title = "服务管理"; - var isPjax = !string.IsNullOrEmpty(Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"]); - Layout = isPjax ? null : "_ServiceManageLayout.cshtml"; - ViewBag.Selected = "ServiceCache"; -} - -
-
-
-
-
-
- 关键字: - - -
-
-
-
- - - - - - - - - - - - - - -
地址用户名密码库名最大连接池最小连接池操作
-
-
-
-
- - - -@if (!isPjax) -{ - @section SubFootJS - { - - } -} -else -{ - -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/ServiceManage/ServiceDescriptor.cshtml b/src/Surging.ApiGateway/Views/ServiceManage/ServiceDescriptor.cshtml deleted file mode 100644 index 6e7c0ecd2..000000000 --- a/src/Surging.ApiGateway/Views/ServiceManage/ServiceDescriptor.cshtml +++ /dev/null @@ -1,76 +0,0 @@ - - @{ - ViewBag.Title = "服务元数据"; - var isPjax = !string.IsNullOrEmpty(Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"]); - Layout = isPjax ? null : "_ServiceManageLayout.cshtml"; - } - -
-
-
-
-
-
- 关键字: - - -
-
-
-
- - - - - - - - - - - - - - - - - -
服务Id名称是否阻塞禁用外网是否授权负责人更新时间操作
-
-
-
-
-@if (!isPjax) -{ - @section SubFootJS - { - - } -} -else -{ - -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/ServiceManage/ServiceSubscriber.cshtml b/src/Surging.ApiGateway/Views/ServiceManage/ServiceSubscriber.cshtml deleted file mode 100644 index 91ac9ccb6..000000000 --- a/src/Surging.ApiGateway/Views/ServiceManage/ServiceSubscriber.cshtml +++ /dev/null @@ -1,69 +0,0 @@ - - @{ - ViewBag.Title = "服务管理"; - var isPjax = !string.IsNullOrEmpty(Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"]) ; - Layout = isPjax ? null : "_ServiceManageLayout.cshtml"; - ViewBag.Selected="ServiceSubscriber"; - } - -
-
-
-
-
- - 关键字: - -
-
-
- - - - - - - - - - - -
机器名状态检查操作
-
-
-
-
- @if (!isPjax) -{ - @section SubFootJS - { - - } -} -else -{ - -} diff --git a/src/Surging.ApiGateway/Views/ServiceManage/_ServiceManageLayout.cshtml b/src/Surging.ApiGateway/Views/ServiceManage/_ServiceManageLayout.cshtml deleted file mode 100644 index 64b295c94..000000000 --- a/src/Surging.ApiGateway/Views/ServiceManage/_ServiceManageLayout.cshtml +++ /dev/null @@ -1,54 +0,0 @@ -@{ - ViewBag.Title = "服务管理"; - Layout = "~/Views/Shared/_AppLayout.cshtml"; -} -@section SubHeadCSS - { - -} -
- -
-
- @RenderBody() -
-
- @**@ - -
- - - - - -
-
-@section SubFootJS - { - -@RenderSection("SubFootJS", false) -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/Shared/Error.cshtml b/src/Surging.ApiGateway/Views/Shared/Error.cshtml deleted file mode 100644 index ec2ea6bd0..000000000 --- a/src/Surging.ApiGateway/Views/Shared/Error.cshtml +++ /dev/null @@ -1,22 +0,0 @@ -@model ErrorViewModel -@{ - ViewData["Title"] = "Error"; -} - -

Error.

-

An error occurred while processing your request.

- -@if (Model.ShowRequestId) -{ -

- Request ID: @Model.RequestId -

-} - -

Development Mode

-

- Swapping to Development environment will display more detailed information about the error that occurred. -

-

- Development environment should not be enabled in deployed applications, as it can result in sensitive information from exceptions being displayed to end users. For local debugging, development environment can be enabled by setting the ASPNETCORE_ENVIRONMENT environment variable to Development, and restarting the application. -

diff --git a/src/Surging.ApiGateway/Views/Shared/Partial/ManageNav.cshtml b/src/Surging.ApiGateway/Views/Shared/Partial/ManageNav.cshtml deleted file mode 100644 index 62114323c..000000000 --- a/src/Surging.ApiGateway/Views/Shared/Partial/ManageNav.cshtml +++ /dev/null @@ -1,38 +0,0 @@ -@{ - Layout = null; -} - \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/Shared/_AppLayout.cshtml b/src/Surging.ApiGateway/Views/Shared/_AppLayout.cshtml deleted file mode 100644 index 13c955826..000000000 --- a/src/Surging.ApiGateway/Views/Shared/_AppLayout.cshtml +++ /dev/null @@ -1,41 +0,0 @@ -@{ - var isPjax = !string.IsNullOrEmpty(Context.Request.Headers["X-PJAX"]) && bool.Parse(Context.Request.Headers["X-PJAX"]); - Layout = isPjax ? null : "_Layout.cshtml"; ; - var now = DateTime.Now; -} -@if (isPjax) -{ - @RenderSection("SubHeadCSS", false) - @RenderBody() - @RenderSection("SubFootJS", false) -} -else -{ - -
-
@RenderBody()
-
-} - -@section HeadCSS{ - @RenderSection("SubHeadCSS", false) -} -@section FootJS{ - - - - - - @RenderSection("SubFootJS", false) -} \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/Shared/_Layout.cshtml b/src/Surging.ApiGateway/Views/Shared/_Layout.cshtml deleted file mode 100644 index 2edf23082..000000000 --- a/src/Surging.ApiGateway/Views/Shared/_Layout.cshtml +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - - - - - Surging Gateway- @ViewBag.Title - - - - - - - - - - - - - - - - @RenderSection("HeadCSS", false) - - - - - - @RenderBody() - @RenderSection("FootJS", false) - - \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/Shared/_ManagerLayout.cshtml b/src/Surging.ApiGateway/Views/Shared/_ManagerLayout.cshtml deleted file mode 100644 index b3a45c3c5..000000000 --- a/src/Surging.ApiGateway/Views/Shared/_ManagerLayout.cshtml +++ /dev/null @@ -1,52 +0,0 @@ -@{ - Layout = "_Layout.cshtml"; - var now = DateTime.Now; -} -@section HeadCSS - { - @RenderSection("HeadCSS", false) -} -
-
- @Html.Partial("Partial/ManageNav") -
- @RenderBody() - -
-
- -
-
-
-
-
- -@section FootJS -{ - - - - - -@RenderSection("FootJS", false) - } \ No newline at end of file diff --git a/src/Surging.ApiGateway/Views/Shared/_ValidationScriptsPartial.cshtml b/src/Surging.ApiGateway/Views/Shared/_ValidationScriptsPartial.cshtml deleted file mode 100644 index a699aafa9..000000000 --- a/src/Surging.ApiGateway/Views/Shared/_ValidationScriptsPartial.cshtml +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - diff --git a/src/Surging.ApiGateway/Views/_ViewImports.cshtml b/src/Surging.ApiGateway/Views/_ViewImports.cshtml deleted file mode 100644 index 758ea8ffa..000000000 --- a/src/Surging.ApiGateway/Views/_ViewImports.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@using Surging.ApiGateway -@using Surging.ApiGateway.Models -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/src/Surging.ApiGateway/Views/_ViewStart.cshtml b/src/Surging.ApiGateway/Views/_ViewStart.cshtml deleted file mode 100644 index a5f10045d..000000000 --- a/src/Surging.ApiGateway/Views/_ViewStart.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@{ - Layout = "_Layout"; -} diff --git a/src/Surging.ApiGateway/bower.json b/src/Surging.ApiGateway/bower.json deleted file mode 100644 index bb682012b..000000000 --- a/src/Surging.ApiGateway/bower.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "name": "asp.net", - "private": true, - "dependencies": { - "bootstrap": "3.3.6", - "jquery": "2.2.0", - "jquery-validation": "1.14.0", - "jquery-validation-unobtrusive": "3.2.6", - "seajs": "3.0.0", - "font-awesome": "Font-Awesome#v4.7.0" - } -} diff --git a/src/Surging.ApiGateway/bundleconfig.json b/src/Surging.ApiGateway/bundleconfig.json deleted file mode 100644 index 6d3f9a57a..000000000 --- a/src/Surging.ApiGateway/bundleconfig.json +++ /dev/null @@ -1,24 +0,0 @@ -// Configure bundling and minification for the project. -// More info at https://go.microsoft.com/fwlink/?LinkId=808241 -[ - { - "outputFileName": "wwwroot/css/site.min.css", - // An array of relative input file paths. Globbing patterns supported - "inputFiles": [ - "wwwroot/css/site.css" - ] - }, - { - "outputFileName": "wwwroot/js/site.min.js", - "inputFiles": [ - "wwwroot/js/site.js" - ], - // Optionally specify minification options - "minify": { - "enabled": true, - "renameLocals": true - }, - // Optionally generate .map file - "sourceMap": false - } -] diff --git a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/css/index.css b/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/css/index.css deleted file mode 100644 index 788b5fd5b..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/css/index.css +++ /dev/null @@ -1,357 +0,0 @@ -.app-board-dialog .modal-header { - color: #fff; - background-color: #1a5581; -} - -.app-board-dialog { - min-height: inherit; -} - - .app-board-dialog .btn { - padding: 6px 26px; - } - - .app-board-dialog .modal-body { - padding: 10px; - } - - .app-board-dialog .modal-footer { - padding: 15px; - } - -.tooltipster-base .tooltipster-content { - padding: 10px 20px; -} - -.app-board { - background-color: #3b75a5; - height: 100%; -} - - .app-board .app-left-side .app-title { - border-bottom-color: #CCC; - - } - - .app-board .app-left-side { - border: 1px solid #ccc; - width: 200px; - } - - .app-board .app-left-side .app-title > i { - margin-right: 10px; - } - - .app-board .app-left-side, .app-board .app-right-side { - background-color: #444c63; - } - - .app-board .app-wrapper { - margin-right: 0; - margin-left: 0; - padding-bottom: 40px; - padding-left: 200px; - min-height: 100%; - background-color: #fff; - box-shadow: none; - } - - .app-board .app-wrapper .container { - position: relative; - } - -.app-left-side.menu-min > .app-title > i { - margin-right: 0px; - margin-bottom: 10px; -} - -.app-board .app-left-side .app-title, -.app-left-nav ul li.nav-subnav h4 { - color: #fff; -} - -.app-board .app-left-nav ul a { - padding: 12px 5px 12px 20px; - color: #fff; -} - - .app-board .app-left-nav ul a:hover, .app-board .app-left-nav ul .active { - color: #fff; - background-color: #27314c; - border-left: 3px solid #4489ca - } - -.app-board .app-right-side { - background-color: #3b75a5; - position: fixed; - z-index: 1; - top: 0; - right: 0; - width: 50px; - height: 100%; - padding: 17px; - padding-top: 18%; - color: #FFF; -} - - .app-board .app-right-side > a { - color: #FFF; - text-decoration: none; - } - - -.app-board .search-bar { - margin: 10px 0; -} - - .app-board .search-bar > .navbar-header { - padding: 15px 5px; - color: #fff; - } - -.app-left-side .sidebar-toggle { - position: relative; - margin-top: 10px; - padding: 10px 0; - text-align: center; - border-top: solid 1px #ccc; - background-color: #444c63; -} - - .app-left-side .sidebar-toggle:before { - position: absolute; - top: 20px; - right: 15px; - left: 15px; - display: block; - height: 0; - content: ''; - border-color: inherit; - border-top: 1px solid #e0e0e0; - } - - .app-left-side .sidebar-toggle > .icon { - font-size: 14px; - position: relative; - padding: 2px 5px; - cursor: pointer; - color: #fff; - border: 1px solid #BBB; - border-radius: 100%; - background-color: #27314c; - } - - .app-left-side .sidebar-toggle > .icon:hover { - background-color: #EFEFEF; - border-color: #999; - color: #999; - } - -.app-board .app-left-side.menu-min, -.app-board .app-left-side.menu-min.compact, -.sidebar.menu-min.navbar-collapse { - width: 60px; -} - - .app-board .app-left-side.menu-min + .app-wrapper { - padding-left: 60px; - } - - .app-board .app-left-side.menu-min .app-left-nav li a { - line-height: 44px; - position: relative; - overflow: inherit; - height: 44px; - padding: 0; - text-align: center; - } - - .app-board .app-left-side.menu-min .app-left-nav li a > i { - font-size: 20px; - margin: 0; - } - - .app-board .app-left-side.menu-min .app-left-nav li .nav-level-span { - line-height: 44px; - position: absolute; - z-index: 1025; - top: 0; - left: 50px; - display: none; - width: 150px; - height: 44px; - padding-left: 20px; - text-align: left; - background-color: #27314c; - } -.app-left-side .app-left-nav .nav-level-span { - position: absolute; - padding-left: 12px; -} - .app-board .app-left-side.menu-min .app-left-nav li a:hover .nav-level-span, - .app-board .app-left-side.menu-min .app-left-nav li a .nav-level-span:hover { - display: block; - opacity: .95; - filter: alpha(opacity=95); - -moz-opacity: .95; - -webkit-opacity: .95; - -khtml-opacity: .95; - } - - .app-board .app-left-side.menu-min .app-title { - font-size: 22px; - line-height: 55px; - height: 55px; - padding: 0; - text-align: center; - } - - .app-board .app-left-side.menu-min .app-title span { - display: none; - } - -.app-board .board-box { - padding-right: 10px; - padding-left: 10px; -} - - .app-board .board-box:hover { - cursor: pointer; - } - - .app-board .board-box .board-unit { - position: relative; - margin: 8px 0; - margin-left: -2px; - padding: 10px; - background-color: #fff; - -webkit-box-shadow: none; - box-shadow: none; - } - - .app-board .board-box .board-unit:hover { - z-index: 11; - background-color: #fafafa; - box-shadow: 0 0 4px 2px rgba(0, 0, 0, .4); - } - -.board-unit .board-avatar { - width: 40px; - height: 40px; -} - -.board-unit .board-head { - font-size: 12px; - position: relative; - min-height: 40px; - margin: 0 0 5px 0; - padding-left: 50px; -} - - .board-unit .board-head h4 { - font-size: 14px; - margin: 0 0 5px 0; - } - -.board-unit .board-body { - min-height: 131px; - padding: 0 2px; -} - -.board-unit .board-text { - font-size: 12px; - overflow: hidden; - height: 55px; - padding: 2px 0 3px 0; - text-overflow: ellipsis; - color: #222; -} - -.board-unit .board-pic { - padding: 3px 0; -} - - .board-unit .board-pic img { - min-width: 50px; - min-height: 50px; - } - -.board-unit .board-comment { - font-size: 12px; -} - -.board-detail { - min-height: 500px; - background-color: #fff; -} - - .board-detail .board-content { - font-size: 14px; - font-weight: 400; - line-height: 22px; - padding: 15px 0; - table-layout: fixed; - word-break: break-all; - color: #222; - } - - .board-detail .board-content img { - width: 100%; - } - - .board-detail .board-comment { - padding: 10px; - } - -.app-board .nextmore { - padding: 10px 0; - border: none; -} - - .app-board .nextmore > .inner { - border: none; - background-color: transparent; - } - - .app-board .nextmore > .inner > a { - font-size: 20px; - margin: 10px 0; - color: #eee; - } - - .app-board .nextmore > .inner > a:hover { - color: #fff; - } - -.page-header { - border-bottom: 1px dotted #e2e2e2; - margin: 0 0 12px; - padding-bottom: 16px; - padding-top: 7px; -} - - .page-header h1 { - color: #2679b5; - font-size: 24px; - font-weight: lighter; - margin: 0 8px; - padding: 0; - } - -.page-content { - min-height: 600px; -} - -.app-left-nav ul { - margin: 0px; - padding: 0px; -} -/*Modal*/ -.modal .modal-header { - background-color: #2e425a; - color: #fff; -} -.modal .close, .modal .close:hover { - color: #fff; - opacity: 1; -} diff --git a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/modules/authenticationmanage.js b/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/modules/authenticationmanage.js deleted file mode 100644 index ea274b579..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/modules/authenticationmanage.js +++ /dev/null @@ -1,17 +0,0 @@ -define(function (require, exports, module) { - var $ = jQuery = require('jquery'); - var init = function () { - $(".app-board").on("click", "#leftSide-toggle", function () { - var $this = $(this); - if ($this.is(".icon-double-angle-right")) { - $this.attr("class", "icon icon-double-angle-left"); - $(".app-left-side").removeClass("menu-min"); - } else { - $this.attr("class", "icon icon-double-angle-right"); - $(".app-left-side").addClass("menu-min"); - } - - }); - } - exports.init = init; -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/url.config.js b/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/url.config.js deleted file mode 100644 index 4e5dc7400..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/url.config.js +++ /dev/null @@ -1,7 +0,0 @@ -define(function (require, exports, module) { - window.debug = false; - module.exports = { - GET_ADDRESS: "/ServiceManage/GetAddress", - EDIT_SERVICETOKEN:"/AuthenticationManage/EditServiceToken" - } -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/view/address.guide.js b/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/view/address.guide.js deleted file mode 100644 index e9d4593fe..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/js/view/address.guide.js +++ /dev/null @@ -1,83 +0,0 @@ -define(function (require, exports, module) { - var $ = jQuery = require('jquery'); - require('jquerytmpl'); - var def = { - wrap: "#dataService tbody", - modal: "#myModal", - modalBody: "#myModal .modal-body", - modalForm: "#eventForm", - editServiceToken: ".editServiceToken", - btnSearch: "#btnSearch", - queryParam: "#queryParam" - }; - var config = require('../url.config.js'); - var serviceaddress = function (options) { - var defaults = { - servicemanage_tpl: require("../../templates/authmanage_template.tpl") - }; - var self = this; - this.opts = $.extend(defaults, options || {}); - }; - serviceaddress.prototype = { - init: function () { - var self = this; - self.initEvent(); - self.loadData(); - - }, - openDiag: function (id) { - $.when( - $.get(config.EDIT_SERVICETOKEN, { address: id })) - .then(function (data) { - $(def.modalBody).replaceWith(data); - $(def.modal).modal('show'); - }); - - }, - bindSubmit: function () { - var self = this; - var formData = $(def.modalForm).serializeObject(); - $.when( - $.post(config.EDIT_SERVICETOKEN, formData)) - .then(function (data) { - if (data.IsSucceed) { - $(def.modal).modal('hide'); - self.loadData(); - } - }); - }, - initEvent: function () { - var self = this; - $(def.btnSearch).off("click").bind("click", function () { - self.loadData($(def.queryParam).val()); - }); - $(def.modalForm).off("submit").bind("submit", function () { - self.bindSubmit(); - return false; - }); - $(def.editServiceToken).off("click").bind("click", function () { - var $tr = $(this).parents("tr"); - var address = $.tmplItem($tr).data.Entity[$tr.index()].Address; - var serviceAddress = [address.Ip, address.Port].join(":"); - self.openDiag(serviceAddress); - }); - }, - loadData: function (condition) { - var self = this; - $.when( - $.post(config.GET_ADDRESS, { QueryParam: condition })) - .then(function (data) { - if (data.IsSucceed) { - var tpl = $.tmpl(self.opts.servicemanage_tpl, data); - $(def.wrap).html(tpl); - self.initEvent(); - } - }); - } - }; - exports.init = function (options) { - var obj = new serviceaddress(options); - obj.init(); - }; - -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/templates/authmanage_template.tpl b/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/templates/authmanage_template.tpl deleted file mode 100644 index 8ed984e48..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/authmanage/assets/templates/authmanage_template.tpl +++ /dev/null @@ -1,26 +0,0 @@ - {{each Entity}} - - - {{if ($index+1)%2==1 }} - ${$index+1} - {{else}} - ${$index+1} - {{/if}} - - {{= [Address.Ip,Address.Port].join(":")}} - 已启动 - - {{if IsHealth==true }} - 正常 - {{else}} - 异常 - {{/if}} - - ${Address.Token} - - - - - {{/each}} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/css/img/app_icon_servicemange.png b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/css/img/app_icon_servicemange.png deleted file mode 100644 index 343d6b136295123659f070892e5454640e61a406..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 890 zcmV-=1BLvFP)(_`g8%^e{{R4h=>PzAFaQARU;qF*m;eA5Z<1fd zMgRZ<07*naRCwCdms?0wQ51%!tCps8gQAd%E(St91VIo)1sQ215#6oqf?#Tw(K0A3 ziqMCkK+#gPqM+A`h@j{punQWMSJV`l(= zpQ@8x8z91oz-ncHO_UpIM?N(+^$j6?IEnFFx8DFV3Ex8fwQBEK*B?ia1jni z8aBq7h6yc1!&QoJ#aoL1#bLBJmcwW`j^l>EIgXPRu*R} zqckM3v}8M?v}8#@E^s)Wmh8W2N=Hvyp6H9ofUDVq1YFG$emNbs>-nz%0L)>LcaY9= QWB>pF07*qoM6N<$f@%Ac5dZ)H diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/css/index.css b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/css/index.css deleted file mode 100644 index 8f5de4415..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/css/index.css +++ /dev/null @@ -1,342 +0,0 @@ -.app-board-dialog .modal-header { - color: #fff; - background-color: #1a5581; -} - -.app-board-dialog { - min-height: inherit; -} - -.app-board-dialog .btn { - padding: 6px 26px; -} - -.app-board-dialog .modal-body { - padding: 10px; -} - -.app-board-dialog .modal-footer { - padding: 15px; -} - -.tooltipster-base .tooltipster-content { - padding: 10px 20px; -} - -.app-board { - background-color: #3b75a5; - height: 100%; -} - -.app-board .app-left-side .app-title { - border-bottom-color: #CCC -} - -.app-board .app-left-side { - border: 1px solid #ccc; - width: 200px; -} - -.app-board .app-left-side .app-title > i { - margin-right: 10px; -} - -.app-board .app-left-side, .app-board .app-right-side { - background-color: #f9f9f9; -} - -.app-board .app-wrapper { - margin-right: 0; - margin-left: 0; - padding-bottom: 40px; - padding-left: 200px; - min-height: 100%; - background-color: #fff; - box-shadow: none; -} - -.app-board .app-wrapper .container { - position: relative; -} - -.app-left-side.menu-min > .app-title > i { - margin-right: 0px; - margin-bottom: 10px; -} - -.app-board .app-left-side .app-title, -.app-left-nav ul li.nav-subnav h4 { - color: #585858; -} - -.app-board .app-left-nav ul a { - padding: 12px 5px 12px 20px; - color: #585858; -} - - .app-board .app-left-nav ul a:hover, .app-board .app-left-nav ul .active { - color: #fff; - background-color: #3b75a5; - } - -.app-board .app-right-side { - background-color: #3b75a5; - position: fixed; - z-index: 1; - top: 0; - right: 0; - width: 50px; - height: 100%; - padding: 17px; - padding-top: 18%; - color: #FFF; -} - -.app-board .app-right-side > a { - color: #FFF; - text-decoration: none; -} - - -.app-board .search-bar { - margin: 10px 0; -} - -.app-board .search-bar > .navbar-header { - padding: 15px 5px; - color: #fff; -} - -.app-left-side .sidebar-toggle { - position: relative; - margin-top: 10px; - padding: 10px 0; - text-align: center; - border-top: solid 1px #ccc; - background-color: #f2f2f2; -} - -.app-left-side .sidebar-toggle:before { - position: absolute; - top: 20px; - right: 15px; - left: 15px; - display: block; - height: 0; - content: ''; - border-color: inherit; - border-top: 1px solid #e0e0e0; -} - -.app-left-side .sidebar-toggle > .icon { - font-size: 14px; - position: relative; - padding: 2px 5px; - cursor: pointer; - color: #AAA; - border: 1px solid #BBB; - border-radius: 100%; - background-color: #FFF; -} - -.app-left-side .sidebar-toggle > .icon:hover { - background-color: #EFEFEF; - border-color: #999; - color: #999; -} - -.app-board .app-left-side.menu-min, -.app-board .app-left-side.menu-min.compact, -.sidebar.menu-min.navbar-collapse { - width: 60px; -} - -.app-board .app-left-side.menu-min + .app-wrapper { - padding-left: 60px; -} - -.app-board .app-left-side.menu-min .app-left-nav li a { - line-height: 44px; - position: relative; - overflow: inherit; - height: 44px; - padding: 0; - text-align: center; -} - -.app-board .app-left-side.menu-min .app-left-nav li a > i { - font-size: 20px; - margin: 0; -} - -.app-board .app-left-side.menu-min .app-left-nav li .nav-level-span { - line-height: 44px; - position: absolute; - z-index: 1025; - top: 0; - left: 50px; - display: none; - width: 150px; - height: 44px; - padding-left: 20px; - text-align: left; - background-color: #3b75a5; -} -.app-left-side .app-left-nav .nav-level-span { - position: absolute; - padding-left: 12px; -} -.app-board .app-left-side.menu-min .app-left-nav li a:hover .nav-level-span, -.app-board .app-left-side.menu-min .app-left-nav li a .nav-level-span:hover { - display: block; - opacity: .95; - filter: alpha(opacity=95); - -moz-opacity: .95; - -webkit-opacity: .95; - -khtml-opacity: .95; -} - -.app-board .app-left-side.menu-min .app-title { - font-size: 22px; - line-height: 55px; - height: 55px; - padding: 0; - text-align: center; -} - -.app-board .app-left-side.menu-min .app-title span { - display: none; -} - -.app-board .board-box { - padding-right: 10px; - padding-left: 10px; -} - -.app-board .board-box:hover { - cursor: pointer; -} - -.app-board .board-box .board-unit { - position: relative; - margin: 8px 0; - margin-left: -2px; - padding: 10px; - background-color: #fff; - -webkit-box-shadow: none; - box-shadow: none; -} - -.app-board .board-box .board-unit:hover { - z-index: 11; - background-color: #fafafa; - box-shadow: 0 0 4px 2px rgba(0, 0, 0, .4); -} - -.board-unit .board-avatar { - width: 40px; - height: 40px; -} - -.board-unit .board-head { - font-size: 12px; - position: relative; - min-height: 40px; - margin: 0 0 5px 0; - padding-left: 50px; -} - -.board-unit .board-head h4 { - font-size: 14px; - margin: 0 0 5px 0; -} - -.board-unit .board-body { - min-height: 131px; - padding: 0 2px; -} - -.board-unit .board-text { - font-size: 12px; - overflow: hidden; - height: 55px; - padding: 2px 0 3px 0; - text-overflow: ellipsis; - color: #222; -} - -.board-unit .board-pic { - padding: 3px 0; -} - - .board-unit .board-pic img { - min-width: 50px; - min-height: 50px; - } - -.board-unit .board-comment { - font-size: 12px; -} - -.board-detail { - min-height: 500px; - background-color: #fff; -} - -.board-detail .board-content { - font-size: 14px; - font-weight: 400; - line-height: 22px; - padding: 15px 0; - table-layout: fixed; - word-break: break-all; - color: #222; -} - -.board-detail .board-content img { - width: 100%; -} - -.board-detail .board-comment { - padding: 10px; -} - -.app-board .nextmore { - padding: 10px 0; - border: none; -} - -.app-board .nextmore > .inner { - border: none; - background-color: transparent; -} - -.app-board .nextmore > .inner > a { - font-size: 20px; - margin: 10px 0; - color: #eee; -} - -.app-board .nextmore > .inner > a:hover { - color: #fff; -} -.page-header { - border-bottom: 1px dotted #e2e2e2; - margin: 0 0 12px; - padding-bottom: 16px; - padding-top: 7px; -} -.page-header h1 { - color: #2679b5; - font-size: 24px; - font-weight: lighter; - margin: 0 8px; - padding: 0; -} -.page-content { - min-height:600px; -} -.app-left-nav ul{ - margin:0px; - padding:0px; -} diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/modules/ServiceManage.js b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/modules/ServiceManage.js deleted file mode 100644 index ea274b579..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/modules/ServiceManage.js +++ /dev/null @@ -1,17 +0,0 @@ -define(function (require, exports, module) { - var $ = jQuery = require('jquery'); - var init = function () { - $(".app-board").on("click", "#leftSide-toggle", function () { - var $this = $(this); - if ($this.is(".icon-double-angle-right")) { - $this.attr("class", "icon icon-double-angle-left"); - $(".app-left-side").removeClass("menu-min"); - } else { - $this.attr("class", "icon icon-double-angle-right"); - $(".app-left-side").addClass("menu-min"); - } - - }); - } - exports.init = init; -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/url.config.js b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/url.config.js deleted file mode 100644 index 9c0b3c655..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/url.config.js +++ /dev/null @@ -1,15 +0,0 @@ -define(function (require, exports, module) { - window.debug = false; - module.exports = { - GET_ADDRESS: "/ServiceManage/GetAddress", - GET_SERVICEDESCRIPTOR: "/ServiceManage/GetServiceDescriptor", - GET_SUBSCRIBERDESCRIPTOR: "/ServiceManage/GetSubscriberDescriptor", - GET_COMMANDDESCRIPTOR: "/ServiceManage/GetCommandDescriptor", - GET_SUBSCRIBER: "/ServiceManage/GetSubscriber", - GET_SERVICECACHE: "/ServiceManage/GetServiceCache", - EDIT_FAULTTOLERANT: "/ServiceManage/EditFaultTolerant", - GET_CACHEENDPOINT: "/ServiceManage/GetCacheEndpoint", - EDIT_CACHEENDPOINT: "/ServiceManage/EditCacheEndpoint", - DEL_CACHEENDPOINT:"/ServiceManage/DelCacheEndpoint" - } -}); diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/address.guide.js b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/address.guide.js deleted file mode 100644 index 503059670..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/address.guide.js +++ /dev/null @@ -1,49 +0,0 @@ -define(function (require, exports, module) { - var $ = jQuery = require('jquery'); - require('jquerytmpl'); - var def = { - wrap: "#dataService tbody", - btnSearch: "#btnSearch", - queryParam: "#queryParam" - }; - var config = require('../url.config.js'); - var serviceaddress = function (options) { - var defaults = { - servicemanage_tpl: require("../../templates/servicemanage_template.tpl") - }; - var self = this; - this.opts = $.extend(defaults, options || {}); - }; - serviceaddress.prototype = { - init: function () { - var self = this; - self.initEvent(); - self.loadData(); - - }, - initEvent: function () - { - var self = this; - $(def.btnSearch).off("click").bind("click", function () { - self.loadData($(def.queryParam).val()); - }); - }, - loadData: function (condition) - { - var self = this; - $.when( - $.post(config.GET_ADDRESS, { QueryParam: condition })) - .then(function (data) { - if (data.IsSucceed) { - var tpl = $.tmpl(self.opts.servicemanage_tpl, data); - $(def.wrap).html(tpl); - } - }); - } - }; - exports.init = function (options) { - var obj = new serviceaddress(options); - obj.init(); - }; - -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/faulttolerant.guide.js b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/faulttolerant.guide.js deleted file mode 100644 index fd9264a4c..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/faulttolerant.guide.js +++ /dev/null @@ -1,85 +0,0 @@ -define(function (require, exports, module) { - var $ = jQuery = require('jquery'); - require('jquerytmpl'); - var def = { - wrap: "#dataFaultTolerant tbody", - modal: "#myModal", - modalBody: "#myModal .modal-body", - modalForm: "#eventForm", - editFaultTolerant:".editFaultTolerant", - btnSearch: "#btnSearch", - searchForm: "#searchForm", - queryParam: "#queryParam" - }; - var config = require('../url.config.js'); - var serviceaddress = function (options) { - var defaults = { - faulttolerant_tpl: require("../../templates/faulttolerant_template.tpl") - }; - var self = this; - this.opts = $.extend(defaults, options || {}); - }; - serviceaddress.prototype = { - init: function () { - var self = this; - self.initEvent(); - self.loadData(); - }, - openDiag: function (id) - { - $.when( - $.get(config.EDIT_FAULTTOLERANT, {serviceId:id})) - .then(function (data) { - $(def.modalBody).replaceWith(data); - $(def.modal).modal('show'); - }); - - }, - initEvent: function () { - var self = this; - $(def.btnSearch).off("click").bind("click", function () { - self.loadData(); - }); - $(def.modalForm).off("submit").bind("submit", function () { - self.bindSubmit(); - return false; - }); - $(def.editFaultTolerant).off("click").bind("click", function () { - var $tr = $(this).parents("tr"); - var serviceId = $.tmplItem($tr).data.Entity[$tr.index()].ServiceId; - self.openDiag(serviceId); - }); - }, - bindSubmit: function () { - var self = this; - var formData = $(def.modalForm).serializeObject(); - formData.InjectionNamespaces = formData.InjectionNamespaces.split(','); - $.when( - $.post(config.EDIT_FAULTTOLERANT, formData)) - .then(function (data) { - if (data.IsSucceed) { - $(def.modal).modal('hide'); - self.loadData(); - } - }); - }, - loadData: function () { - var self = this; - var formData = $(def.searchForm).serializeArray(); - $.when( - $.post(config.GET_COMMANDDESCRIPTOR, formData)) - .then(function (data) { - if (data.IsSucceed) { - var tpl = $.tmpl(self.opts.faulttolerant_tpl, data); - $(def.wrap).html(tpl); - self.initEvent(); - } - }); - } - }; - exports.init = function (options) { - var obj = new serviceaddress(options); - obj.init(); - }; - -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicecache.guide.js b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicecache.guide.js deleted file mode 100644 index 868bbd7dd..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicecache.guide.js +++ /dev/null @@ -1,48 +0,0 @@ -define(function (require, exports, module) { - var $ = jQuery = require('jquery'); - require('jquerytmpl'); - var def = { - wrap: "#dataServiceCache tbody", - btnSearch: "#btnSearch", - queryParam: "#queryParam" - }; - var config = require('../url.config.js'); - var serviceCache = function (options) { - var defaults = { - servicesubscriber_tpl: require("../../templates/servicecache_template.tpl") - }; - var self = this; - this.opts = $.extend(defaults, options || {}); - }; - serviceCache.prototype = { - init: function () { - var self = this; - self.initEvent(); - self.loadData(); - - }, - initEvent: function () { - var self = this; - $(def.btnSearch).off("click").bind("click", function () { - self.loadData($(def.queryParam).val()); - }); - }, - loadData: function (condition) { - var self = this; - $.when( - $.post(config.GET_SERVICECACHE, { queryParam: condition })) - .then(function (data) { - - if (data.IsSucceed) { - var tpl = $.tmpl(self.opts.servicesubscriber_tpl, data); - $(def.wrap).html(tpl); - } - }); - } - }; - exports.init = function (options) { - var obj = new serviceCache(options); - obj.init(); - }; - -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicecacheendpoint.guide.js b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicecacheendpoint.guide.js deleted file mode 100644 index e1b204603..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicecacheendpoint.guide.js +++ /dev/null @@ -1,122 +0,0 @@ -define(function (require, exports, module) { - var $ = jQuery = require('jquery'); - require('bootbox'); - require('jquerytmpl'); - var def = { - wrap: "#dataServiceCache tbody", - modal: "#myModal", - modalBody: "#myModal .modal-body", - modalForm: "#eventForm", - editCacheEndpoint: ".editCacheEndpoint", - delCacheEndpoint: ".delCacheEndpoint", - searchForm: "#searchForm", - btnSearch: "#btnSearch", - queryParam: "#queryParam" - }; - var config = require('../url.config.js'); - var serviceCache = function (options) { - var defaults = { - servicecacheendpoint_tpl: require("../../templates/servicecacheendpoint_template.tpl") - }; - var self = this; - this.opts = $.extend(defaults, options || {}); - }; - serviceCache.prototype = { - init: function () { - var self = this; - self.initEvent(); - self.loadData(); - - }, - openDiag: function (id, endpoint) { - $.when( - $.get(config.EDIT_CACHEENDPOINT, { cacheId: id, endpoint: endpoint})) - .then(function (data) { - $(def.modalBody).replaceWith(data); - $(def.modal).modal('show'); - }); - - }, - initEvent: function () { - var self = this; - - $(def.btnSearch).off("click").bind("click", function () { - self.loadData($(def.queryParam).val()); - }); - $(def.modalForm).off("submit").bind("submit", function () { - self.bindSubmit(); - return false; - }); - $(def.editCacheEndpoint).off("click").bind("click", function () { - var $tr = $(this).parents("tr"); - var cacheEndpoint = $.tmplItem($tr).data.Entity[$tr.index()]; - self.openDiag(self.opts.Id, [cacheEndpoint.Host, ":", cacheEndpoint.Port].join("")); - }); - $(def.delCacheEndpoint).off("click").bind("click", function () { - var $tr = $(this).parents("tr"); - var cacheEndpoint = $.tmplItem($tr).data.Entity[$tr.index()]; - bootbox.confirm({ - message: "是否删除", - buttons: { - confirm: { - label: '确定' - }, - cancel: { - label: '取消' - } - }, - callback: function (result) { - if (result) { - self.delEndpoint(self.opts.Id, [cacheEndpoint.Host, ":", cacheEndpoint.Port].join("")); - } - } - }); - }); - }, - bindSubmit: function () { - var self = this; - var formData = $(def.modalForm).serializeObject(); - var endpoint = [$("#Host").val(), ":", $("#Port").val()].join(""); - var data = {}; - data.CacheId = self.opts.Id; - data.Endpoint = endpoint; - data.CacheEndpoint = formData; - $.when( - $.post(config.EDIT_CACHEENDPOINT, data)) - .then(function (data) { - if (data.IsSucceed) { - $(def.modal).modal('hide'); - self.loadData(); - } - }); - }, - loadData: function () { - var self = this; - var formData = $(def.searchForm).serializeArray(); - $.when( - $.post(config.GET_CACHEENDPOINT, formData)) - .then(function (data) { - if (data.IsSucceed) { - var tpl = $.tmpl(self.opts.servicecacheendpoint_tpl, data); - $(def.wrap).html(tpl); - self.initEvent(); - } - }); - }, - delEndpoint: function (id, endpoint) { - var self = this; - $.when( - $.post(config.DEL_CACHEENDPOINT, { cacheId: id, endpoint: endpoint })) - .then(function (data) { - if (data.IsSucceed) { - self.loadData(); - } - }); - } - }; - exports.init = function (options) { - var obj = new serviceCache(options); - obj.init(); - }; - -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicedescriptor.guide.js b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicedescriptor.guide.js deleted file mode 100644 index a26119e01..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicedescriptor.guide.js +++ /dev/null @@ -1,50 +0,0 @@ -define(function (require, exports, module) { - var $ = jQuery = require('jquery'); - require('jquerytmpl'); - var def = { - wrap: "#dataServiceDescriptor tbody", - btnSearch: "#btnSearch", - searchForm: "#searchForm", - queryParam: "#queryParam" - }; - var config = require('../url.config.js'); - var descriptor = function (options) { - var defaults = { - servicedescriptor_tpl: require("../../templates/servicedescriptor_template.tpl") - }; - var self = this; - this.opts = $.extend(defaults, options || {}); - }; - descriptor.prototype = { - init: function () { - var self = this; - self.initEvent(); - self.loadData(); - - }, - initEvent: function () { - var self = this; - $(def.searchForm).off("submit").bind("submit", function () { - self.loadData(); - return false; - }); - }, - loadData: function () { - var self = this; - var formData = $(def.searchForm).serializeArray(); - $.when( - $.post(config.GET_SERVICEDESCRIPTOR, formData)) - .then(function (data) { - if (data.IsSucceed) { - var tpl = $.tmpl(self.opts.servicedescriptor_tpl, data); - $(def.wrap).html(tpl); - } - }); - } - }; - exports.init = function (options) { - var obj = new descriptor(options); - obj.init(); - }; - -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicesubscriber.guide.js b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicesubscriber.guide.js deleted file mode 100644 index 5c0c97d34..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/js/view/servicesubscriber.guide.js +++ /dev/null @@ -1,47 +0,0 @@ -define(function (require, exports, module) { - var $ = jQuery = require('jquery'); - require('jquerytmpl'); - var def = { - wrap: "#dataSubscriber tbody", - btnSearch: "#btnSearch", - queryParam: "#queryParam" - }; - var config = require('../url.config.js'); - var serviceSubscriber = function (options) { - var defaults = { - servicesubscriber_tpl: require("../../templates/servicesubscriber_template.tpl") - }; - var self = this; - this.opts = $.extend(defaults, options || {}); - }; - serviceSubscriber.prototype = { - init: function () { - var self = this; - self.initEvent(); - self.loadData(); - - }, - initEvent: function () { - var self = this; - $(def.btnSearch).off("click").bind("click", function () { - self.loadData($(def.queryParam).val()); - }); - }, - loadData: function (condition) { - var self = this; - $.when( - $.post(config.GET_SUBSCRIBER, { queryParam: condition })) - .then(function (data) { - if (data.IsSucceed) { - var tpl = $.tmpl(self.opts.servicesubscriber_tpl, data); - $(def.wrap).html(tpl); - } - }); - } - }; - exports.init = function (options) { - var obj = new serviceSubscriber(options); - obj.init(); - }; - -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/faulttolerant_template.tpl b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/faulttolerant_template.tpl deleted file mode 100644 index 291401ec8..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/faulttolerant_template.tpl +++ /dev/null @@ -1,49 +0,0 @@ -{{each Entity}} - - - {{if ($index+1)%2==1 }} - ${$index+1} - {{else}} - ${$index+1} - {{/if}} - - ${ServiceId} - - {{if CircuitBreakerForceOpen==true }} - - {{else}} - - {{/if}} - - - ${Strategy} - - ${ExecutionTimeoutInMilliseconds} - - {{if RequestCacheEnabled==true }} - - {{else}} - - {{/if}} - - ${FallBackName} - ${Injection} - ${InjectionNamespaces} - ${BreakeErrorThresholdPercentage} - ${BreakeSleepWindowInMilliseconds} - - {{if BreakerForceClosed==true }} - - {{else}} - - {{/if}} - - ${BreakerRequestVolumeThreshold} - ${MaxConcurrentRequests} - - - - -{{/each}} diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicecache_template.tpl b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicecache_template.tpl deleted file mode 100644 index 75947b742..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicecache_template.tpl +++ /dev/null @@ -1,20 +0,0 @@ - {{each Entity}} - - - {{if ($index+1)%2==1 }} - ${$index+1} - {{else}} - ${$index+1} - {{/if}} - - ${Id} - ${Type} - ${Metadatas.DefaultExpireTime} - ${Metadatas.DefaultExpireTime} - - - {{/each}} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicecacheendpoint_template.tpl b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicecacheendpoint_template.tpl deleted file mode 100644 index de4b5fba9..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicecacheendpoint_template.tpl +++ /dev/null @@ -1,21 +0,0 @@ - {{each Entity}} - - - {{if ($index+1)%2==1 }} - ${$index+1} - {{else}} - ${$index+1} - {{/if}} - - {{= [Host,Port].join(":")}} - ${UserName} - ${Password} - ${Db} - ${MaxSize} - ${MinSize} - - - {{/each}} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicedescriptor_template.tpl b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicedescriptor_template.tpl deleted file mode 100644 index fe331fa9b..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicedescriptor_template.tpl +++ /dev/null @@ -1,42 +0,0 @@ - {{each Entity}} - - - {{if ($index+1)%2==1 }} - ${$index+1} - {{else}} - ${$index+1} - {{/if}} - - ${Id} - ${Metadatas.GroupName} - - {{if Metadatas.WaitExecution==true }} - 是 - {{else}} - 否 - {{/if}} - - - {{if Metadatas.DisableNetwork==true }} - 是 - {{else}} - 否 - {{/if}} - - - {{if Metadatas.EnableAuthorization==true }} - 是 - {{else}} - 否 - {{/if}} - - ${Metadatas.Director} - ${Metadatas.Date} - - - - {{/each}} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicemanage_template.tpl b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicemanage_template.tpl deleted file mode 100644 index d26b63a9c..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicemanage_template.tpl +++ /dev/null @@ -1,27 +0,0 @@ - {{each Entity}} - - - {{if ($index+1)%2==1 }} - ${$index+1} - {{else}} - ${$index+1} - {{/if}} - - {{= [Address.Ip,Address.Port].join(":")}} - 已启动 - - {{if IsHealth==true }} - 正常 - {{else}} - 异常 - {{/if}} - - - - - {{/each}} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicesubscriber_template.tpl b/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicesubscriber_template.tpl deleted file mode 100644 index 5eeeffc55..000000000 --- a/src/Surging.ApiGateway/wwwroot/apps/servicemange/assets/templates/servicesubscriber_template.tpl +++ /dev/null @@ -1,26 +0,0 @@ - {{each Entity}} - - - {{if ($index+1)%2==1 }} - ${$index+1} - {{else}} - ${$index+1} - {{/if}} - - {{= [Address.Ip,Address.Port].join(":")}} - 已启动 - - {{if IsHealth==true }} - 正常 - {{else}} - 异常 - {{/if}} - - - - - {{/each}} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-ie.min.css b/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-ie.min.css deleted file mode 100644 index 930e6e9af..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-ie.min.css +++ /dev/null @@ -1 +0,0 @@ -.sidebar{*left:0}.sidebar:before{display:none}.ace-nav>li.white-opaque{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCFFFFFF',endColorstr='#CCFFFFFF',GradientType=0)}.ace-nav>li.dark-opaque{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#33000000',endColorstr='#33000000',GradientType=0)}.infobox>.infobox-icon>[class*="icon-"]:before{color:#FFF}.infobox-dark>.badge{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#33FFFFFF',endColorstr='#33FFFFFF',GradientType=0)!important}.widget-box-overlay{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#55000000',endColorstr='#55000000',GradientType=0)!important}.widget-toolbar-light{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#D8FFFFFF',endColorstr='#D8FFFFFF',GradientType=0)!important}input[type=checkbox].ace,input[type=radio].ace{position:static;width:auto;height:auto;z-index:auto}input[type=checkbox].ace+.lbl,input[type=radio].ace+.lbl{min-height:auto;min-width:auto}input[type=checkbox].ace.ace-switch{width:auto}input[type=checkbox].ace.ace-switch+.lbl{margin:0;min-height:auto}input[type=checkbox].ace.ace-switch-7{width:auto}.ace-file-input input[type=file]{width:100%;height:30px;position:absolute;z-index:1;filter:alpha(opacity=0);cursor:pointer}.ace-file-input input[type=file]:hover+.file-label{border-color:#f59942}.ace-file-multiple input[type=file]{height:100%}.ace-file-input .remove{z-index:2}.ace-file-input .file-label.selected .file-name{width:50%}.ace-file-multiple .file-label.selected .file-name{width:auto}.wizard-steps li:first-child:before{max-width:100%;left:0}.login-layout .widget-box{display:none;visibility:visible;position:static}.login-layout .widget-box.visible{display:block}.pricing-box-small:hover{zoom:1.04;left:-1px;top:-3px}.ace-thumbnails>li>a>img{width:auto!important}.ace-thumbnails>li>:first-child>.text{display:none}.ace-thumbnails>li:hover>:first-child>.text{display:block}.ace-thumbnails>li>.tools{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C000000',endColorstr='#8C000000',GradientType=0)!important}.ace-thumbnails>li>:first-child>.text{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#8C000000',endColorstr='#8C000000',GradientType=0)!important}#cboxLoadingGraphic>[class*="icon-"]{display:inline-block;background:#FFF url('images/loading.gif') no-repeat center}#cboxLoadingGraphic>[class*="icon-"]:before{display:none}.widget-box-overlay>[class*="icon-"]{display:inline-block;width:24px;height:24px;margin-left:46%;background:transparent url('images/loading.gif') no-repeat center}.widget-box-overlay>[class*="icon-"]:before{display:none}.btn.btn-app.btn-light{border:1px solid #d9d9d9}.btn.btn-app.btn-yellow{border:1px solid #fee188}.grid3{width:31%}.grid4{width:23%}.itemdiv.dialogdiv>.body:before{display:none}.fc-event-hori,.fc-event-vert{border:none!important}[class*="tab-color-"] .nav-tabs>li>a>[class*="icon-"]:first-child{color:#666!important}.dropdown-preview>.dropdown-menu{*width:180px}.ui-datepicker,.ui-autocomplete,.ui-menu{border:1px solid #CCC}.ui-widget-overlay{filter:alpha(opacity=100)!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#44000000',endColorstr='#44000000',GradientType=0)!important}.message-content{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CCFFFFFF',endColorstr='#CCFFFFFF',GradientType=0)!important}.gritter-item-wrapper{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#EA323232',endColorstr='#EA323232',GradientType=0)!important}.gritter-item-wrapper.gritter-info{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#EA315185',endColorstr='#EA315185',GradientType=0)!important}.gritter-item-wrapper.gritter-error{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#EA992812',endColorstr='#EA992812',GradientType=0)!important}.gritter-item-wrapper.gritter-success{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#EA59834B',endColorstr='#EA59834B',GradientType=0)!important}.gritter-item-wrapper.gritter-warning{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#EABE701F',endColorstr='#EABE701F',GradientType=0)!important}.gritter-item-wrapper.gritter-light{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F2F5F5F5',endColorstr='#F2F5F5F5',GradientType=0)!important}.gritter-info.gritter-light{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F2E8F2FF',endColorstr='#F2E8F2FF',GradientType=0)!important}.gritter-error.gritter-light{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F2FFEBEB',endColorstr='#F2FFEBEB',GradientType=0)!important}.gritter-success.gritter-light{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F2EFFAE3',endColorstr='#F2EFFAE3',GradientType=0)!important}.gritter-warning.gritter-light{filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F2FCF8E3',endColorstr='#F2FCF8E3',GradientType=0)!important}.widget-header .wysiwyg-toolbar .btn-group>.btn,.widget-body .md-header .btn{background:transparent none!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#40FFFFFF',endColorstr='#40FFFFFF',GradientType=0)!important}.widget-header .wysiwyg-toolbar .btn-group>.btn.active,.widget-body .md-header .btn-inverse{background:transparent none!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#40000000',endColorstr='#40000000',GradientType=0)!important}.widget-body .md-header .btn,.widget-body .md-header .btn-inverse{display:none}body.skin-3,.skin-3 .sidebar{background-color:#d6d6d6}.skin-3 .menu-min .nav-list>li.active>a{background-color:#eef8ff}body.skin-2,.skin-2 .sidebar{background-color:#505050}.skin-2 .nav-list>li:hover>a>span{color:#FFF}.skin-2 .nav-list>li:hover>a>[class*="icon-"]:first-child{color:#FFF}.skin-2 .menu-min .nav-list>li>a:hover>[class*="icon-"]:first-child{color:#FFF}.rtl .nav-list li.active>a:after{border-left-color:transparent;border-right-color:#0b6cbc}.rtl.skin-1 .nav-list li.active>a:after{border-right-color:#FFF;border-left-color:transparent}.rtl.skin-1 .menu-min .nav-list li.active:hover>a:after{border-right-color:#242a2b}.rtl.skin-2 .nav-list li.active>a:after{border-right-color:#FFF;border-left-color:transparent}.rtl.skin-2 .menu-min .nav-list li.active:hover>a:after{border-right-color:#292929;border-left-color:transparent}.rtl.skin-2 .nav-list li.active.open>.submenu>li.active>a:after{border-right-color:#FFF;border-left-color:transparent}.rtl.skin-3 .nav-list li.active>a:after{border-right-color:#FFF;border-left-color:transparent}.rtl.skin-3 .nav-list li.active>a:before{border-right-color:#a4c6dd;border-left-color:transparent} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-rtl.min.css b/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-rtl.min.css deleted file mode 100644 index 47ed3a3ce..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-rtl.min.css +++ /dev/null @@ -1 +0,0 @@ -.rtl [class*="col-xs-"]{float:right}@media(min-width:768px){.rtl [class*="col-sm-"]{float:right}}@media(min-width:992px){.rtl [class*="col-md-"]{float:right}}@media(min-width:1200px){.rtl [class*="col-lg-"]{float:right}}@media(min-width:768px){.rtl [class*="col-sm-push-"]{left:auto}.rtl [class*="col-sm-pull-"]{right:auto}.rtl [class*="col-sm-offset-"]{margin-left:auto}.rtl .col-sm-push-1{right:8.33333%}.rtl .col-sm-push-2{right:16.6666%}.rtl .col-sm-push-3{right:25%}.rtl .col-sm-push-4{right:33.3333%}.rtl .col-sm-push-5{right:41.6666%}.rtl .col-sm-push-6{right:50%}.rtl .col-sm-push-7{right:58.3333%}.rtl .col-sm-push-8{right:66.6666%}.rtl .col-sm-push-9{right:75%}.rtl .col-sm-push-10{right:83.3333%}.rtl .col-sm-push-11{right:91.6666%}.rtl .col-sm-pull-1{left:8.33333%}.rtl .col-sm-pull-2{left:16.6666%}.rtl .col-sm-pull-3{left:25%}.rtl .col-sm-pull-4{left:33.3333%}.rtl .col-sm-pull-5{left:41.6666%}.rtl .col-sm-pull-6{left:50%}.rtl .col-sm-pull-7{left:58.3333%}.rtl .col-sm-pull-8{left:66.6666%}.rtl .col-sm-pull-9{left:75%}.rtl .col-sm-pull-10{left:83.3333%}.rtl .col-sm-pull-11{left:91.6666%}.rtl .col-sm-offset-1{margin-right:8.33333%}.rtl .col-sm-offset-2{margin-right:16.6666%}.rtl .col-sm-offset-3{margin-right:25%}.rtl .col-sm-offset-4{margin-right:33.3333%}.rtl .col-sm-offset-5{margin-right:41.6666%}.rtl .col-sm-offset-6{margin-right:50%}.rtl .col-sm-offset-7{margin-right:58.3333%}.rtl .col-sm-offset-8{margin-right:66.6666%}.rtl .col-sm-offset-9{margin-right:75%}.rtl .col-sm-offset-10{margin-right:83.3333%}.rtl .col-sm-offset-11{margin-right:91.6666%}}@media(min-width:992px){.rtl [class*="col-md-push-"]{left:auto}.rtl [class*="col-md-pull-"]{right:auto}.rtl [class*="col-md-offset-"]{margin-left:auto}.rtl .col-md-push-1{right:8.33333%}.rtl .col-md-push-2{right:16.6666%}.rtl .col-md-push-3{right:25%}.rtl .col-md-push-4{right:33.3333%}.rtl .col-md-push-5{right:41.6666%}.rtl .col-md-push-6{right:50%}.rtl .col-md-push-7{right:58.3333%}.rtl .col-md-push-8{right:66.6666%}.rtl .col-md-push-9{right:75%}.rtl .col-md-push-10{right:83.3333%}.rtl .col-md-push-11{right:91.6666%}.rtl .col-md-pull-1{left:8.33333%}.rtl .col-md-pull-2{left:16.6666%}.rtl .col-md-pull-3{left:25%}.rtl .col-md-pull-4{left:33.3333%}.rtl .col-md-pull-5{left:41.6666%}.rtl .col-md-pull-6{left:50%}.rtl .col-md-pull-7{left:58.3333%}.rtl .col-md-pull-8{left:66.6666%}.rtl .col-md-pull-9{left:75%}.rtl .col-md-pull-10{left:83.3333%}.rtl .col-md-pull-11{left:91.6666%}.rtl .col-md-offset-1{margin-right:8.33333%}.rtl .col-md-offset-2{margin-right:16.6666%}.rtl .col-md-offset-3{margin-right:25%}.rtl .col-md-offset-4{margin-right:33.3333%}.rtl .col-md-offset-5{margin-right:41.6666%}.rtl .col-md-offset-6{margin-right:50%}.rtl .col-md-offset-7{margin-right:58.3333%}.rtl .col-md-offset-8{margin-right:66.6666%}.rtl .col-md-offset-9{margin-right:75%}.rtl .col-md-offset-10{margin-right:83.3333%}.rtl .col-md-offset-11{margin-right:91.6666%}}@media(min-width:1200px){.rtl [class*="col-lg-push-"]{left:auto}.rtl [class*="col-lg-pull-"]{right:auto}.rtl [class*="col-lg-offset-"]{margin-left:auto}.rtl .col-lg-push-1{right:8.33333%}.rtl .col-lg-push-2{right:16.6666%}.rtl .col-lg-push-3{right:25%}.rtl .col-lg-push-4{right:33.3333%}.rtl .col-lg-push-5{right:41.6666%}.rtl .col-lg-push-6{right:50%}.rtl .col-lg-push-7{right:58.3333%}.rtl .col-lg-push-8{right:66.6666%}.rtl .col-lg-push-9{right:75%}.rtl .col-lg-push-10{right:83.3333%}.rtl .col-lg-push-11{right:91.6666%}.rtl .col-lg-pull-1{left:8.33333%}.rtl .col-lg-pull-2{left:16.6666%}.rtl .col-lg-pull-3{left:25%}.rtl .col-lg-pull-4{left:33.3333%}.rtl .col-lg-pull-5{left:41.6666%}.rtl .col-lg-pull-6{left:50%}.rtl .col-lg-pull-7{left:58.3333%}.rtl .col-lg-pull-8{left:66.6666%}.rtl .col-lg-pull-9{left:75%}.rtl .col-lg-pull-10{left:83.3333%}.rtl .col-lg-pull-11{left:91.6666%}.rtl .col-lg-offset-1{margin-right:8.33333%}.rtl .col-lg-offset-2{margin-right:16.6666%}.rtl .col-lg-offset-3{margin-right:25%}.rtl .col-lg-offset-4{margin-right:33.3333%}.rtl .col-lg-offset-5{margin-right:41.6666%}.rtl .col-lg-offset-6{margin-right:50%}.rtl .col-lg-offset-7{margin-right:58.3333%}.rtl .col-lg-offset-8{margin-right:66.6666%}.rtl .col-lg-offset-9{margin-right:75%}.rtl .col-lg-offset-10{margin-right:83.3333%}.rtl .col-lg-offset-11{margin-right:91.6666%}}.rtl ul,.rtl ol{margin-left:0;margin-right:25px}.rtl ul.list-unstyled,.rtl ol.list-unstyled,.rtl ul.list-inline,.rtl ol.list-inline{margin-right:0}.rtl li>ul,.rtl li>ol{margin-left:0;margin-right:18px}.rtl dd{margin-left:0;margin-right:10px}.rtl .dl-horizontal dt{float:right;clear:right;text-align:left}.rtl .dl-horizontal dd{margin-left:0;margin-right:180px}.rtl blockquote p,.rtl blockquote small{text-align:left}.rtl blockquote small:before{content:""}.rtl blockquote small:after{content:"\00A0 \2014"}.rtl blockquote.pull-right p,.rtl blockquote.pull-right small{text-align:right}.rtl blockquote.pull-right small:after{content:""}.rtl blockquote.pull-right small:before{content:"\2014 \00A0"}.rtl .radio,.rtl .checkbox{padding-left:0;padding-right:20px}.rtl .radio input[type="radio"],.rtl .checkbox input[type="checkbox"]{float:right;margin-left:0;margin-right:-20px}.rtl .radio.inline+.radio.inline,.rtl .checkbox.inline+.checkbox.inline{margin-left:0;margin-right:10px}.rtl .help-inline{padding-left:0;padding-right:5px}.rtl .input-group .input-group-addon:first-child{border-left-width:0;border-right:1px solid #ccc}.rtl .input-group .input-group-addon:last-child{border-right-width:0;border-left:1px solid #ccc}.rtl input.search-query{padding-left:14px;padding-left:4px \9;padding-right:14px;padding-right:4px \9}.rtl .form-search .radio,.rtl .form-search .checkbox,.rtl .form-inline .radio,.rtl .form-inline .checkbox{padding-right:0}.rtl .form-search .radio input[type="radio"],.rtl .form-search .checkbox input[type="checkbox"],.rtl .form-inline .radio input[type="radio"],.rtl .form-inline .checkbox input[type="checkbox"]{float:right;margin-right:0;margin-left:3px}.rtl .form-horizontal .control-label{text-align:left}.rtl .btn-group+.btn-group{margin-left:auto;margin-right:5px}.rtl .btn-group>.btn,.rtl .btn-group-vertical>.btn{float:right}.rtl .dropdown-menu{margin:2px 0 0}.rtl .dropdown .caret{margin-left:0;margin-right:2px}.rtl .close{float:left}.rtl .table-header .close{margin-right:auto;margin-left:6px}.rtl .alert .close{float:left}.rtl .nav{margin-right:0}.rtl .nav-tabs>li,.rtl .nav-pills>li{float:right}.rtl .nav-pills>li>a{margin-right:0;margin-left:2px}.rtl .nav-stacked>li{float:none}.rtl .nav-tabs>li>a{margin-right:0;margin-left:-1px}.rtl .tabs-left>.nav-tabs>li,.rtl .tabs-right>.nav-tabs>li{float:none}.rtl .navbar{direction:rtl;text-align:right}.rtl .navbar .navbar-brand{float:right}.rtl .navbar-search{float:right}.rtl .navbar-text{float:right}.rtl ul.pagination{margin-right:0}.rtl .pager{margin-right:0}.rtl .pager .next>a,.rtl .pager .next>span{float:left}.rtl .pager .previous>a,.rtl .pager .previous>span{float:right}.rtl .modal{direction:rtl;text-align:right}.rtl .modal-footer{text-align:left}.rtl .modal-footer .btn+.btn{margin-left:0;margin-right:5px}.rtl .popover.bottom .arrow:after,.rtl .popover.top .arrow:after{margin-right:-10px;margin-left:auto}.rtl .popover-content,.rtl .tooltip-inner{text-align:right;direction:rtl}.rtl .thumbnails{margin-left:0;margin-right:-24px}.rtl .row .thumbnails{margin-right:0}.rtl .thumbnails>li{float:right;margin-left:0;margin-right:24px}.rtl .media-list{margin-right:0}.rtl .main-container{direction:rtl;text-align:right}.rtl .main-content{margin-right:190px;margin-left:0}.rtl li>ul.margin,.rtl li>ol.margin{margin-left:0;margin-right:18px}.rtl .ace-nav>li{float:right!important;border-left:none;border-right:1px solid #DDD}.rtl .ace-nav>li:first-child{border-right:0}.rtl .ace-nav>li>a>.badge{left:auto;right:2px}.rtl .ace-nav>li.no-border{border:0}.rtl .ace-nav>li.margin-4{margin-left:0;margin-right:4px}.rtl .ace-nav>li.margin-3{margin-left:0;margin-right:3px}.rtl .ace-nav>li.margin-2{margin-left:0;margin-right:2px}.rtl .ace-nav>li.margin-1{margin-left:0;margin-right:1px}.rtl .ace-nav .nav-user-photo{margin:-4px 0 0 8px}.rtl .ace-nav .dropdown-menu.dropdown-closer{left:0}.rtl .breadcrumbs{padding:0 0 0 12px}.rtl .breadcrumbs.fixed,.rtl .breadcrumbs.breadcrumbs-fixed{position:fixed;left:0;right:190px}.rtl .breadcrumb{margin:0 12px 0 22px}.rtl .breadcrumb .icon-home{margin-left:2px;margin-right:4px}.rtl .breadcrumb>li+li:before{content:"\f104";padding:0 2px 0 5px}.rtl .breadcrumb>li+li:last-child:before{display:none}.rtl .breadcrumb>li+li:last-child:after{display:inline;font-family:FontAwesome;font-size:14px;content:"\f104";color:#b2b6bf;margin-left:2px;padding:0 2px 0 5px;position:relative;top:1px}.rtl .nav-search{left:22px;right:auto}.rtl .sidebar>.nav-search.menu-min .nav-search .form-search{left:auto;right:5px}.rtl .sidebar{float:right;border-width:0 0 0 1px}.rtl .sidebar:before{border-width:0 0 0 1px}.rtl .sidebar.fixed,.rtl .sidebar.sidebar-fixed{left:auto;right:0}.rtl .sidebar.fixed:before,.rtl .sidebar.sidebar-fixed:before{left:auto;right:0}.rtl .nav-list>li>a{padding:0 7px 0 16px}.rtl .nav-list>li>a:hover:before{left:auto;right:0}.rtl .nav-list>li a>.arrow{left:9px;right:auto}.rtl .nav-list>li.active:after{left:-2px;right:auto;border-width:0 0 0 2px}.rtl .nav-list>li .submenu>li{margin-left:0;margin-right:0}.rtl .nav-list>li .submenu>li>a{padding:7px 37px 8px 0}.rtl .nav-list>li .submenu>li a>[class*="icon-"]:first-child{left:auto;right:10px}.rtl .nav-list>li>.submenu>li:before{left:auto;right:18px}.rtl .nav-list>li>.submenu:before{left:auto;right:18px;border-width:0 1px 0 0}.rtl .nav-list>li.active>.submenu:before{border-right-color:#8eb3d0}.rtl .nav-list li.active>a:after{left:0;right:auto;border-left-color:#2b7dbc;border-right-color:transparent}.rtl .nav-list a .badge,.rtl .nav-list a .label{right:auto;left:11px}.rtl .nav-list a.dropdown-toggle .badge,.rtl .nav-list a.dropdown-toggle .label{right:auto;left:28px}.rtl .menu-min .nav-list a .badge,.rtl .menu-min .nav-list a .label{left:auto;right:4px}.rtl .sidebar.menu-min+.main-content{margin-left:auto;margin-right:43px}.rtl .sidebar.menu-min+.main-content .breadcrumbs.fixed,.rtl .sidebar.menu-min+.main-content .breadcrumbs.breadcrumbs-fixed{left:0;right:43px}.rtl .menu-min .nav-list>li>a>.menu-text{left:auto;right:42px;padding-left:0;padding-right:12px;-webkit-box-shadow:-2px 1px 2px 0 rgba(0,0,0,0.2);box-shadow:-2px 1px 2px 0 rgba(0,0,0,0.2)}.rtl .menu-min .nav-list>li>a.dropdown-toggle>.menu-text{left:auto;right:43px;-webkit-box-shadow:none;box-shadow:none}.rtl .menu-min .nav-list>li.active>a>.menu-text{border-left-color:#ccc;border-right-color:#1963aa}.rtl .menu-min .nav-list>li>.submenu{-webkit-box-shadow:-2px 1px 2px 0 rgba(0,0,0,0.2);box-shadow:-2px 1px 2px 0 rgba(0,0,0,0.2);left:auto;right:42px}.rtl .menu-min .nav-list>li>.submenu li>a{margin-left:auto;margin-right:0;padding-left:0;padding-right:24px}.rtl .menu-min .nav-list>li>.submenu li>a>[class*="icon-"]:first-child{left:auto;right:4px}.rtl .menu-min .nav-list>li.active>.submenu{border-left-color:#ccc;border-right-color:#1963aa}.rtl .menu-min .sidebar-shortcuts-large{-webkit-box-shadow:-2px 1px 2px 0 rgba(0,0,0,0.2);box-shadow:-2px 1px 2px 0 rgba(0,0,0,0.2);left:auto;right:42px}.rtl .nav-list>li>.submenu a>.arrow{left:11px;right:auto}.rtl .nav-list>li>.submenu li>.submenu>li>a>.arrow{left:12px;right:auto}.rtl .nav-list>li>.submenu li>.submenu>li>a{margin-left:auto;padding-left:0;margin-right:20px;padding-right:22px}.rtl .nav-list>li>.submenu li>.submenu>li>.submenu>li>a{margin-left:auto;padding-left:0;margin-right:20px;padding-right:38px}.rtl .menu-min .nav-list>li>.submenu li>.submenu>li>a{margin-right:0;padding-right:30px}.rtl .menu-min .nav-list>li>.submenu li>.submenu>li>.submenu>li>a{margin-right:0;padding-right:45px}.rtl button.btn:active{left:-1px}.rtl .btn.disabled:active,.rtl .btn[disabled]:active{left:0}.rtl .btn>[class*="icon-"]{margin-left:4px;margin-right:0}.rtl .btn>[class*="icon-"].icon-on-right{margin-left:0;margin-right:4px}.rtl .btn>[class*="icon-"].icon-only{margin:0}.rtl .btn-lg>[class*="icon-"]{margin-left:6px;margin-right:0}.rtl .btn-lg>[class*="icon-"].icon-on-right{margin-left:0;margin-right:6px}.rtl .btn-sm>[class*="icon-"]{margin-left:3px;margin-right:0}.rtl .btn-sm>[class*="icon-"].icon-on-right{margin-left:0;margin-right:3px}.rtl .btn-xs>[class*="icon-"],.rtl.btn-minier>[class*="icon-"]{margin-left:2px;margin-right:0}.rtl .btn-xs>[class*="icon-"].icon-on-right,.rtl.btn-minier>[class*="icon-"].icon-on-right{margin-left:0;margin-right:2px}.rtl .btn-group>.btn>.caret{margin-left:0;margin-right:1px}.rtl .dropdown-menu.dropdown-only-icon>li{float:right}.rtl .dropdown-light .dropdown-submenu:hover>a:after,.rtl .dropdown-lighter .dropdown-submenu:hover>a:after{border-left-color:transparent;border-right-color:#444}.rtl .dropdown-navbar>li>[class*="icon-"],.rtl .dropdown-navbar>li>a>[class*="icon-"]{margin-right:0!important;margin-left:5px!important}.rtl .dropdown-navbar [class*="btn"][class*="icon-"]{margin:0 0 0 5px}.rtl .dropdown-navbar .msg-photo{margin-left:6px;margin-right:0}.rtl .dropdown-navbar .user-menu>li>a>[class*="icon-"]{margin-left:6px;margin-right:0}.rtl .help-button{margin-left:0;margin-right:4px}.rtl .form-search .radio [type=radio]+label,.rtl .form-inline .radio [type=radio]+label,.rtl .form-search .checkbox [type=checkbox]+label,.rtl .form-inline .checkbox [type=checkbox]+label{float:right;margin-left:0;margin-right:-20px}.form-search .rtl .form-search .radio [type=radio]+label,.form-search .rtl .form-inline .radio [type=radio]+label,.form-search .rtl .form-search .checkbox [type=checkbox]+label,.form-search .rtl .form-inline .checkbox [type=checkbox]+label,.form-inline .rtl .form-search .radio [type=radio]+label,.form-inline .rtl .form-inline .radio [type=radio]+label,.form-inline .rtl .form-search .checkbox [type=checkbox]+label,.form-inline .rtl .form-inline .checkbox [type=checkbox]+label{margin-right:0;margin-left:3px}.rtl input[type=checkbox].ace+.lbl::before,.rtl input[type=radio].ace+.lbl::before{margin-right:0;margin-left:1px}.rtl input[type=checkbox].ace.ace-switch+.lbl::before,.rtl input[type=radio].ace.ace-switch+.lbl::before{direction:ltr;text-align:left}.rtl .ace-file-input .file-label:before{right:auto;left:0}.rtl .ace-file-input .file-label .file-name{padding-left:0;padding-right:30px}.rtl .ace-file-input .file-label.selected{left:16px;right:0}.rtl .ace-file-input .file-label [class*="icon-"]{right:0;left:auto}.rtl .ace-file-input .remove{left:-8px;right:auto}.rtl .ace-file-multiple .file-label.selected .file-name [class*="icon-"]{right:0;left:auto}.rtl .ace-file-multiple .file-label .file-name{padding:0;text-align:right}.rtl .ace-file-multiple .file-label .file-name img{margin:4px 1px 4px 8px}.rtl .ace-file-multiple .file-label .file-name.large{text-align:center}.rtl .ace-file-multiple .file-label .file-name.large img{margin:0}.rtl .ace-file-multiple .remove{left:-11px;right:auto}.rtl .ace-file-multiple .file-label.selected .file-name [class*="icon-"]{margin-left:4px;margin-right:2px}.rtl .nav-tabs.padding-24{padding-left:0;padding-right:24px}.rtl .nav-tabs.padding-20{padding-left:0;padding-right:20px}.rtl .nav-tabs.padding-16{padding-left:0;padding-right:16px}.rtl .nav-tabs.padding-12{padding-left:0;padding-right:12px}.rtl .nav-tabs.padding-8{padding-left:0;padding-right:8px}.rtl .nav-tabs.padding-4{padding-left:0;padding-right:4px}.rtl .nav-tabs.padding-22{padding-left:0;padding-right:22px}.rtl .nav-tabs.padding-18{padding-left:0;padding-right:18px}.rtl .nav-tabs.padding-14{padding-left:0;padding-right:14px}.rtl .nav-tabs.padding-10{padding-left:0;padding-right:10px}.rtl .nav-tabs.padding-6{padding-left:0;padding-right:6px}.rtl .nav-tabs.padding-2{padding-left:0;padding-right:2px}.rtl .tabs-right>.nav-tabs[class*="padding-"],.rtl .tabs-left>.nav-tabs[class*="padding-"]{padding-right:0}.rtl .tabs-left>.nav-tabs{margin-left:auto;margin-right:-1px}.rtl .tabs-left>.nav-tabs>li>a,.rtl .tabs-left>.nav-tabs>li>a:hover,.rtl .tabs-left>.nav-tabs>li>a:focus{margin:0 -1px 0 0}.rtl .tabs-left>.nav-tabs>li.active>a,.rtl .tabs-left>.nav-tabs>li.active>a:hover,.rtl .tabs-left>.nav-tabs>li.active>a:focus{margin:0 -1px}.rtl .nav-tabs.tab-space-1>li>a{margin-right:auto;margin-left:1px}.rtl .nav-tabs.tab-space-2>li>a{margin-right:auto;margin-left:2px}.rtl .nav-tabs.tab-space-3>li>a{margin-right:auto;margin-left:3px}.rtl .nav-tabs.tab-space-4>li>a{margin-right:auto;margin-left:4px}.rtl .nav-tabs[class*="tab-color-"]>li>a,.rtl .nav-tabs[class*="tab-color-"]>li>a:focus,.rtl .nav-tabs[class*="tab-color-"]>li>a:hover{margin-right:auto;margin-left:3px}.rtl .accordion-style2.panel-group .panel-heading .accordion-toggle{border-width:0 2px 0 0}.rtl .accordion-style2.panel-group .panel-heading .accordion-toggle.collapsed{border-width:0 1px 0 0}.rtl .table thead:first-child tr th [class*="icon-"]:first-child{margin-left:2px;margin-right:0}.rtl .widget-main.no-padding .table-bordered th:first-child,.rtl .widget-main.padding-0 .table-bordered th:first-child,.rtl .widget-main.no-padding .table-bordered td:first-child,.rtl .widget-main.padding-0 .table-bordered td:first-child{border-left-width:1px}.rtl .widget-main.no-padding .table-bordered th:last-child,.rtl .widget-main.padding-0 .table-bordered th:last-child,.rtl .widget-main.no-padding .table-bordered td:last-child,.rtl .widget-main.padding-0 .table-bordered td:last-child{border-left-width:0}.rtl .table-header{padding-left:0;padding-right:12px}.rtl .dataTables_length{margin-left:0;margin-right:8px}.rtl .dataTables_filter{margin-left:8px;margin-right:0;text-align:left}.rtl .dataTables_info{margin:0 12px 0 0}.rtl .dataTables_paginate{text-align:left}.rtl .dataTable th[class*=sort]:after{float:left;margin-right:0;margin-left:4px}.rtl .dataTables_wrapper>.row>[class*="col-"]{float:right;margin-left:0;width:50%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.rtl .widget-box{direction:rtl;text-align:right}.rtl .widget-header{padding-left:0;padding-right:12px}.rtl .widget-header:after{clear:left}.rtl .widget-header-large{padding-left:0;padding-right:18px}.rtl .widget-header-small{padding-left:0;padding-right:10px}.rtl .widget-header>.widget-caption>[class*="icon-"],.rtl .widget-header>:first-child>[class*="icon-"]{margin-right:0;margin-left:5px}.rtl .widget-toolbar{float:left}.rtl .widget-toolbar:before{left:auto;right:-1px;border-width:0 0 0 1px}.rtl .widget-toolbar>[data-action]>[class*="icon-"]{margin-right:auto;margin-left:0}.rtl .widget-box.transparent>.widget-header{padding-left:0;padding-right:3px}.rtl .widget-box.transparent>.widget-header-large{padding-left:0;padding-right:5px}.rtl .widget-box.transparent>.widget-header-small{padding-left:0;padding-right:1px}.rtl [class*="header-color-"]>.widget-toolbar>.nav-tabs>li>a{margin-right:0;margin-left:1px}.rtl .infobox{padding:8px 9px 6px 3px;text-align:right}.rtl .infobox>.infobox-icon>[class*="icon-"]{padding:1px 2px 0 1px}.rtl .infobox>.infobox-data{text-align:right;padding-left:0;padding-right:8px}.rtl .infobox>.stat{left:20px;right:auto;padding-left:18px;padding-right:0}.rtl .infobox>.stat:before{left:4px;right:auto}.rtl .infobox>.stat:after{left:1px;right:auto}.rtl .infobox>.badge{left:20px;right:auto}.rtl .infobox.infobox-dark>.badge{left:2px;right:auto}.rtl .infobox-small{text-align:right}.rtl .infobox-small>.infobox-data{text-align:right}.rtl .infobox-small>.infobox-chart>.sparkline{margin-left:auto;margin-right:2px}.rtl .infobox-small .percentage{margin-left:auto;margin-right:2px}.rtl .pricing-box .widget-header{padding-right:0}.rtl .pricing-table-header{text-align:right}.rtl .pricing-table-header>li{padding:7px 11px 7px 0}.rtl .pricing-box-small{margin-left:0;margin-right:-2px}.rtl .pricing-span[class*="col-"]{float:right!important}.rtl .pricing-span-header{float:right;padding-left:0;padding-right:12px}@media only screen and (max-width:768px){.rtl .pricing-box:nth-child(odd){padding-right:12px!important;padding-left:0!important}.rtl .pricing-box:nth-child(even){padding-left:12px!important;padding-right:0!important}}.rtl .pricing-span{float:right!important}@media only screen and (max-width:460px){.rtl .pricing-box,.rtl .pricing-box:nth-child(odd),.rtl .pricing-box:nth-child(even){padding-left:12px!important;padding-right:12px!important}}.rtl.login-layout .main-content{margin-right:0}.rtl.login-layout .login-box .toolbar>div:first-child{float:right;text-align:right}.rtl.login-layout .login-box .toolbar>div:first-child>a{margin-left:0;margin-right:11px}.rtl.login-layout .login-box .toolbar>div:first-child+div{float:left;text-align:left}.rtl.login-layout .login-box .toolbar>div:first-child+div>a{margin-left:11px;margin-right:0}.rtl .ace-thumbnails{margin-right:0}.rtl .ace-thumbnails>li{float:right}.rtl .ace-thumbnails>li .tags{direction:ltr}.rtl .ace-thumbnails>li .tags>.label-holder{margin:1px 0 0 1px;direction:rtl;text-align:right}.rtl .itemdiv{padding-right:0;padding-left:3px}.rtl .itemdiv>.user{left:auto;right:0}.rtl .itemdiv>.body{margin-right:50px;margin-left:12px}.rtl .itemdiv>.body>.time{right:auto;left:9px}.rtl .itemdiv>.body>.text{padding-left:0;padding-right:7px}.rtl .itemdiv>.body>.text:after{right:16px;left:-12px}.rtl .itemdiv>.body>.text>[class*="icon-quote-"]:first-child{margin-left:4px;margin-right:0}.rtl .itemdiv.dialogdiv:before{left:auto;right:19px}.rtl .itemdiv.dialogdiv>.body{border-left-width:1px;border-right-width:2px;margin-left:1px}.rtl .itemdiv.dialogdiv>.body:before{left:auto;right:-7px;border-width:2px 2px 0 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.rtl .itemdiv.dialogdiv>.body>.time{float:left}.rtl .itemdiv.dialogdiv>.body>.text{padding-right:0}.rtl .itemdiv.memberdiv{float:right}.rtl .itemdiv .tools{right:auto;left:4px}.rtl .itemdiv.commentdiv .tools{right:auto;left:9px}.rtl .item-list{margin:0}.rtl .item-list>li{border-left-width:1px;border-right-width:3px;border-left-color:#DDD}.rtl li[class*="item-"]{border-left-width:1px;border-right-width:3px;border-left-color:#DDD}.rtl li.item-orange{border-right-color:#e8b110}.rtl li.item-orange2{border-right-color:#f79263}.rtl li.item-red{border-right-color:#d53f40}.rtl li.item-red2{border-right-color:#d15b47}.rtl li.item-green{border-right-color:#9abc32}.rtl li.item-green2{border-right-color:#0490a6}.rtl li.item-blue{border-right-color:#4f99c6}.rtl li.item-blue2{border-right-color:#3983c2}.rtl li.item-blue3{border-right-color:#1144eb}.rtl li.item-pink{border-right-color:#cb6fd7}.rtl li.item-black{border-right-color:#505050}.rtl li.item-grey{border-right-color:#a0a0a0}.rtl li.item-brown{border-right-color:#a52a2a}.rtl li.item-default{border-right-color:#abbac3}.rtl li.item-purple{border-right-color:#6f3cc4}.rtl .profile-info-name{text-align:left;padding-right:0;padding-left:10px;left:auto;right:0}.rtl .profile-info-value{padding-right:6px;padding-left:4px;margin-left:auto;margin-right:120px}.rtl .profile-info-value>span+span:before{margin-left:3px;margin-right:1px}.rtl .profile-user-info-striped .profile-info-value{padding-left:0;padding-right:12px}.rtl .profile-activity img,.rtl .profile-activity .thumbicon{margin-right:0;margin-left:10px}.rtl .profile-activity .tools{left:12px;right:auto}.rtl .user-profile .user-title-label+.dropdown-menu{margin-left:auto;margin-right:-12px}.rtl .user-status{margin-right:auto;margin-left:1px}.rtl .tab-content.profile-edit-tab-content{-webkit-box-shadow:-1px 1px 0 0 rgba(0,0,0,0.2);box-shadow:-1px 1px 0 0 rgba(0,0,0,0.2)}.rtl .inbox-tabs.nav-tabs>li.active>a.btn-new-mail>.btn:before{left:auto;right:35%;right:calc(50% - 6px)}.rtl .inbox-tabs.nav-tabs.tab-size-bigger>li.active>a.btn-new-mail>.btn:before{left:auto;right:35%;right:calc(50% - 8px)}.rtl .inbox-tabs.nav-tabs>li.pull-left{float:left}@media only screen and (max-width:475px){.rtl .inbox-tabs>.li-new-mail{text-align:left}}.rtl .message-item .sender{margin-left:4px;margin-right:6px}.rtl .message-item .summary{margin-left:auto;margin-right:30px}.rtl .message-item .message-flags{right:auto;left:101%;left:calc(100%+4px)}.rtl .message-item .time{float:left}.rtl .message-item .attachment{float:left}.rtl .message-star{margin-left:4px;margin-right:6px}.rtl .mail-tag:empty{margin-left:1px;margin-right:0}.rtl ul.attachment-list{margin-left:0;margin-right:8px}.rtl .attached-file>[class*="icon-"]{margin-right:auto;margin-left:2px}.rtl .messagebar-item-left,.rtl .messagebar-item-right{text-align:right}.rtl .message-navbar .nav-search{left:auto;right:60px}.rtl .inbox-folders .btn>[class*="icon-"]:first-child{text-align:right}.rtl .inbox-folders .btn.active:before{left:auto;right:-1px;border-left:none;border-right:3px solid #4f99c6}.rtl .inbox-folders .btn .counter{right:auto;left:8px}.rtl .message-form .controls{margin-right:125px}.rtl .timeline-container:before{right:28px;left:auto}.rtl .timeline-item .transparent.widget-box{border-right:3px solid #dae1e5;border-left:none}.rtl .timeline-item .transparent .widget-header>:first-child{margin-left:auto;margin-right:8px}.rtl .timeline-item:nth-child(even) .widget-box.transparent{border-right-color:#dbdbdb!important}.rtl .timeline-item .widget-box{margin-left:auto;margin-right:60px}.rtl .timeline-info{float:right}.rtl .timeline-label{margin-right:34px;margin-left:auto}.rtl .timeline-style2:before{display:none}.rtl .timeline-style2 .timeline-item:before{left:auto;right:90px}.rtl .timeline-style2 .timeline-item .transparent.widget-box{border-right:none!important}.rtl .timeline-style2 .timeline-indicator{left:auto;right:86px}.rtl .timeline-style2 .timeline-date{text-align:left;margin-right:auto;margin-left:25px}.rtl .timeline-style2 .timeline-item .widget-box{margin-left:auto;margin-right:112px}.rtl .timeline-style2 .timeline-label{margin-right:0;text-align:left}.rtl .ace-settings-container{left:0;right:auto}.rtl .btn.ace-settings-btn{float:right;border-radius:0 6px 6px 0!important}.rtl .ace-settings-box{float:right}.rtl .grid2,.rtl .grid3,.rtl .grid4{float:right;border-left:none;border-right:1px solid #e3e3e3}.rtl .grid2:first-child,.rtl .grid3:first-child,.rtl .grid4:first-child{border-right:0}.rtl .easyPieChart canvas{left:auto;right:0}.rtl .external-event>[class*="icon-"]:first-child{margin-right:0;margin-left:5px;border-right:0;border-left:1px solid #FFF}.rtl #cboxCurrent{left:auto;right:64px}.rtl #cboxNext,.rtl #cboxPrevious{margin-left:0;margin-right:5px}.rtl #cboxPrevious{left:auto;right:27px}.rtl #cboxNext{left:auto;right:0}.rtl .ace-spinner .spinner-buttons>button.btn:active{left:auto;top:auto}.rtl .wizard-steps{margin-right:0}.rtl .wizard-actions{text-align:left}.rtl .wizard-steps li:first-child:before{right:50%;left:auto}.rtl .tree{padding-left:0;padding-right:9px}.rtl .tree:before{left:auto;right:0;border-width:0 1px 0 0}.rtl .tree .tree-folder .tree-folder-header .tree-folder-name{margin-left:0;margin-right:2px}.rtl .tree .tree-folder .tree-folder-header>[class*="icon-"]:first-child{margin:-2px -2px 0 0}.rtl .tree .tree-folder:last-child:after{left:auto;right:-15px;border-left:none;border-right:1px solid #FFF}.rtl .tree .tree-folder .tree-folder-content{margin-left:0;margin-right:23px}.rtl .tree .tree-folder .tree-folder-content:before{left:auto;right:-14px;border-width:0 1px 0 0}.rtl .tree .tree-item .tree-item-name{margin-left:0;margin-right:3px}.rtl .tree .tree-item .tree-item-name>[class*="icon-"]:first-child{margin-right:0;margin-left:3px}.rtl .tree .tree-folder:before,.rtl .tree .tree-item:before{left:auto;right:-13px}.rtl .tree .tree-loading{margin-left:0;margin-right:36px}.rtl #gritter-notice-wrapper{text-align:right;direction:rtl;left:20px;right:auto}.rtl .gritter-close{right:auto;left:3px}.rtl .gritter-image{float:right}.rtl .gritter-with-image,.rtl .gritter-without-image{float:left}.rtl .wysiwyg-toolbar .dropdown-menu{text-align:right}.rtl .wysiwyg-toolbar .wysiwyg-choose-file{margin-left:auto}.rtl .wysiwyg-toolbar .btn-group>.btn,.rtl .wysiwyg-toolbar .btn-group>.inline>.btn{float:none}.rtl .wysiwyg-style1 .btn-group:after,.rtl .wysiwyg-style2 .btn-group:after{left:auto;border-left:none;right:-2px;border-right:1px solid #e1e6ea}.rtl .wysiwyg-toolbar .dropdown-menu input[type=text]{margin-left:0;margin-right:8px}.rtl .wysiwyg-toolbar .dropdown-menu .btn{margin-right:1px;margin-left:8px}.rtl .widget-body .md-header{margin-left:0;margin-right:9px}.rtl .widget-body .md-header .btn-inverse{padding-right:0;padding-left:5px}.rtl .select2-container .select2-choice{padding-left:0;padding-right:8px}.rtl .select2-container.select2-allowclear .select2-choice .select2-chosen{margin-right:auto;margin-left:42px}.rtl .select2-container .select2-choice>.select2-chosen{margin-left:26px;margin-right:auto}.rtl .select2-container .select2-choice abbr{right:auto;left:20px}.rtl .select2-container .select2-choice .select2-arrow{right:auto;left:0}.rtl .select2-container .select2-choice .select2-arrow b:before{right:5px;left:auto}.rtl .select2-container-multi .select2-choices li{float:right}.rtl .select2-container-multi .select2-choices .select2-search-choice{margin:3px 5px 3px 0;padding:3px 18px 3px 5px}.rtl .select2-results{margin-right:0}.rtl .select2-drop{direction:rtl;text-align:right}.rtl .select2-drop input{padding-right:5px;padding-left:20px}.rtl .select2-drop .select2-results{padding-right:4px;padding-left:0}.rtl .select2-search:after{right:-20px;left:auto}.rtl .select2-search input.select2-active{background-position:0 0}.rtl .editable-buttons{margin-left:auto;margin-right:1px}.rtl .editable-buttons .btn{margin:0 0 0 1px}.rtl .editable-input .ace-spinner{margin-right:auto;margin-left:8px}.rtl .editable-inline .editable-slider{margin-right:auto;margin-left:4px}.rtl .tags .tag{padding-left:22px;padding-right:9px;text-shadow:-1px 1px 1px rgba(0,0,0,0.15)}.rtl .tags .tag .close{float:none;left:0;right:auto}.rtl .ui-datepicker .ui-datepicker-prev:before{content:"\f061"}.rtl .ui-datepicker .ui-datepicker-next:before{content:"\f060"}.rtl .ui-menu,.rtl .ui-dialog,.rtl .ui-jqdialog{direction:rtl;text-align:right}.rtl .ui-menu .ui-menu-item a .ui-menu-icon{float:left}.rtl .ui-menu .ui-menu-item a .ui-menu-icon:before{content:"\f104"}.rtl .ui-dialog .ui-dialog-titlebar-close,.rtl .ui-jqdialog .ui-jqdialog-titlebar-close{left:8px!important;right:auto!important}.rtl .ui-tabs .ui-tabs-nav li{float:right;margin-right:0;margin-left:.2em}.rtl .ui-tabs .ui-tabs-nav li a{float:right}.rtl .ui-tabs .ui-tabs-nav li.ui-state-default>a{margin-right:auto;margin-left:-1px}.rtl .ui-accordion .ui-accordion-header{padding-right:24px;padding-left:8px}.rtl .ui-accordion .ui-accordion-header .ui-accordion-header-icon{position:absolute;left:auto;right:10px}.rtl .ui-accordion .ui-accordion-header .ui-accordion-header-icon:before{content:"\f0d9"}.rtl .ui-accordion .ui-accordion-header.ui-state-active .ui-accordion-header-icon:before{content:"\f0d7"}.rtl .ui-jqgrid .ui-jqgrid-hdiv{border-width:1px 1px 0 0}.rtl .ui-jqgrid .ui-jqgrid-labels th{border-right:none!important;border-left:1px solid #e1e1e1!important;text-align:right!important}.rtl .ui-jqgrid .ui-jqgrid-labels th:first-child{border-right:1px solid #e1e1e1!important}.rtl .ui-jqgrid-labels th[id*="_cb"]:first-child{text-align:center!important}.rtl .ui-jqgrid-sortable{padding-left:0;padding-right:4px}.rtl .ui-jqdialog-content .searchFilter table{margin-left:auto;margin-right:4px}.rtl .ui-jqdialog-content .searchFilter .add-group,.rtl .ui-jqdialog-content .searchFilter .add-rule,.rtl .ui-jqdialog-content .searchFilter .delete-group{margin-left:auto!important;margin-right:4px!important}.rtl .ui-jqdialog-content .CaptionTD{text-align:left}.rtl .ui-jqdialog .ui-widget-header .ui-jqdialog-title{text-align:right;padding-left:0;padding-right:12px;float:right!important}.rtl .dd{text-align:right;direction:rtl}.rtl .dd-list{text-align:right;direction:rtl;margin-right:0}.rtl .dd-list .dd-list{padding-right:30px;padding-left:0}.rtl .dd2-handle+.dd2-content,.rtl .dd2-handle+.dd2-content[class*="btn-"]{padding-left:0;padding-right:44px}.rtl .dd-item>button{float:right;margin:5px 5px 5px 1px;left:auto;right:1px}.rtl .dd2-item.dd-item>button{margin-left:5px;margin-right:34px}.rtl .dd-dragel>li>.dd-handle{border-right:2px solid #777;border-left-width:0}.rtl .dd-list>li[class*="item-"]{border-left-width:0;border-right-width:0}.rtl .dd-list>li[class*="item-"]>.dd-handle{border-right:2px solid;border-right-color:inherit;border-left-color:#dae2ea;border-left-width:1px}.rtl .dd-list>li>.dd-handle .sticker{right:auto;left:0}.rtl .dd2-handle,.rtl .dd-dragel>li>.dd2-handle{left:auto;right:0;border-width:1px 0 0 1px}.rtl .limiterBox{direction:rtl;text-align:right}.rtl ol.linenums{margin-right:33px}.rtl ol.linenums li{padding-left:0;padding-right:12px}.rtl .prettyprint.linenums{-webkit-box-shadow:-40px 0 0 #fbfbfc inset,-41px 0 0 #ececf0 inset;box-shadow:-40px 0 0 #fbfbfc inset,-41px 0 0 #ececf0 inset}@media only screen and (max-width:767px){.rtl .ace-nav>li:nth-last-child(4)>.dropdown-menu{right:auto;left:-80px}.rtl .ace-nav>li:nth-last-child(4)>.dropdown-menu:before,.rtl .ace-nav>li:nth-last-child(4)>.dropdown-menu:after{right:auto;left:100px}.rtl .ace-nav>li:nth-last-child(3)>.dropdown-menu{right:auto;left:-40px}.rtl .ace-nav>li:nth-last-child(3)>.dropdown-menu:before,.rtl .ace-nav>li:nth-last-child(3)>.dropdown-menu:after{right:auto;left:60px}}@media only screen and (max-width:480px){.rtl .ace-nav>li:nth-last-child(4)>.dropdown-menu{right:auto;left:-120px}.rtl .ace-nav>li:nth-last-child(4)>.dropdown-menu:before,.rtl .ace-nav>li:nth-last-child(4)>.dropdown-menu:after{right:auto;left:140px}.rtl .ace-nav>li:nth-last-child(3)>.dropdown-menu{right:auto;left:-80px}.rtl .ace-nav>li:nth-last-child(3)>.dropdown-menu:before,.rtl .ace-nav>li:nth-last-child(3)>.dropdown-menu:after{right:auto;left:100px}.rtl .ace-nav>li:nth-last-child(2)>.dropdown-menu{right:auto;left:-50px}.rtl .ace-nav>li:nth-last-child(2)>.dropdown-menu:before,.rtl .ace-nav>li:nth-last-child(2)>.dropdown-menu:after{right:auto;left:70px}}@media only screen and (max-width:460px){.rtl .ace-nav>li:nth-last-child(4)>.dropdown-menu{left:auto;right:-5px}.rtl .ace-nav>li:nth-last-child(4)>.dropdown-menu:before,.rtl .ace-nav>li:nth-last-child(4)>.dropdown-menu:after{left:auto;right:25px}.rtl .ace-nav>li:nth-last-child(3)>.dropdown-menu{left:auto;right:-60px}.rtl .ace-nav>li:nth-last-child(3)>.dropdown-menu:before,.rtl .ace-nav>li:nth-last-child(3)>.dropdown-menu:after{left:auto;right:80px}.rtl .ace-nav>li:nth-last-child(2)>.dropdown-menu{left:auto;right:-110px}.rtl .ace-nav>li:nth-last-child(2)>.dropdown-menu:before,.rtl .ace-nav>li:nth-last-child(2)>.dropdown-menu:after{left:auto;right:130px}}@media only screen and (max-width:460px){.rtl .ace-nav>li{text-align:right;float:none!important}.rtl .ace-nav>li:first-child{border-left:none;border-right:1px solid #DDD}.rtl .ace-nav>li:last-child{border-left:1px solid #DDD}}@media(min-width:422px) and (max-width:480px),(max-width:340px){.rtl .ace-nav .nav-user-photo{margin-left:0}.rtl .user-info{margin-left:auto;right:auto;margin-right:1px;left:2px}}@media only screen and (max-width:767px){.rtl .nav-search{right:auto;left:5px}}@media only screen and (max-width:991px){.rtl .navbar-brand{margin-right:0}.rtl .sidebar{left:auto;box-shadow:-2px 1px 2px 0 rgba(0,0,0,0.2);border-left-width:1px;border-right-width:0}.rtl .sidebar.display,.rtl .sidebar.menu-min.display{left:auto;right:0}.rtl .sidebar.menu-min{left:auto;right:-50px}.rtl .main-content{margin-left:auto!important;margin-right:0!important}.rtl .menu-toggler{left:auto;margin-right:auto;right:0;margin-left:2px;padding-left:0;padding-right:33px}.rtl .menu-toggler:before{left:auto;right:4px}.rtl .menu-toggler:after{left:auto;right:4px}.rtl .menu-toggler>.menu-text{left:auto;right:0}.rtl .menu-toggler>.menu-text:after{left:auto;right:-8px}.rtl .breadcrumb{margin-left:auto;margin-right:90px}}@media only screen and (max-width:460px){.rtl .navbar .navbar-brand{display:block;float:none}}@media only screen and (max-width:480px){.rtl .ace-thumbnails>li{float:none}}@media only screen and (max-width:320px){.rtl .breadcrumb{margin-left:0;margin-right:36px}.rtl .menu-toggler>.menu-text:after{left:auto;right:-13px}}@media only screen and (max-width:480px){.rtl .fc-header td{text-align:right}}@media only screen and (max-width:360px){.rtl .grid2,.rtl .grid3,.rtl .grid4{border-right:0}.rtl .grid2>[class*="pull-"],.rtl .grid3>[class*="pull-"],.rtl .grid4>[class*="pull-"]{right:auto;left:11px}}@media only screen and (max-width:767px){.rtl .help-inline,.rtl .input-icon+.help-inline{padding-right:0}}@media only screen and (max-width:480px){.rtl .profile-info-value{margin-left:auto;margin-right:90px}.rtl .profile-user-info-striped .profile-info-name{padding-right:10px;padding-left:0;text-align:right}.rtl .profile-user-info-striped .profile-info-value{margin-left:auto;margin-right:10px}} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-skins.min.css b/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-skins.min.css deleted file mode 100644 index 74576e386..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace-skins.min.css +++ /dev/null @@ -1 +0,0 @@ -.skin-1{background-color:#4a4f56}.skin-1 .navbar{background:#2c6aa0}.skin-1 .sidebar,.skin-1 .sidebar:before{background-color:#222a2d;border-right:0}.skin-1 .nav-list>li{border-color:#3f4e54;border-top-width:0}.skin-1 .nav-list>li>a,.skin-1 .menu-min .nav-list>li.open>a{background-color:#222a2d;color:#b1bac1}.skin-1 .nav-list>li:hover>a{background-color:#414b51;color:#e1eaf1}.skin-1 .nav-list>li>a>.arrow{color:#b1bac1}.skin-1 .nav-list>li.open>a>.arrow{color:#85c0ec}.skin-1 .nav-list>li .submenu>li>a{border-top-color:#afbdc9}.skin-1 .nav-list>li.active .submenu>li>a{border-top-color:#70818e}.skin-1 .nav-list li.active>a:after{border-right-color:#FFF;border-width:16px 10px;top:2px}.skin-1 .nav-list>li.active.open>ul.submenu>li.active>a:after{top:1px}.skin-1 .nav-list>li.active:after{display:none}.skin-1 .menu-min .nav-list>li.active>a:after{border-width:10px 6px;top:8px}.skin-1 .menu-min .nav-list>li.active:hover>a:after{border-right-color:#242a2b}.skin-1 .nav-list>li.open>a,.skin-1 .nav-list>li.open>a:hover{color:#85c0ec;background-color:#222a2d}.skin-1 .nav-list>li.active>a,.skin-1 .nav-list>li.active>a:hover,.skin-1 .menu-min .nav-list>li.active>a,.skin-1 .menu-min .nav-list>li.active>a:hover{background-color:#141a1b;color:#55a0dc}.skin-1 .nav-list>li>ul.submenu{background-color:#3a4344;border-top-color:#5a6364}.skin-1 .nav-list>li.active>ul.submenu{background-color:#141a1b;border-top-color:#2f3e44}.skin-1 .nav-list>li>.submenu>li>a{color:#d1dae1;border-bottom-color:#5a6364}.skin-1 .nav-list>li>.submenu>li:first-child>a{border-top-color:transparent}.skin-1 .nav-list>li>.submenu>li>a:hover{color:#8ab4de}.skin-1 .nav-list>li>.submenu>li.active>a{color:#55a0dc;border-bottom-color:#2f3e44}.skin-1 .nav-list>li>.submenu>li>a>[class*="icon-"]:first-child{display:none}.skin-1 .menu-min .nav-list>li:hover>a{color:#e1eaf1}.skin-1 .menu-min .nav-list>li>a>.menu-text{background-color:#414b51}.skin-1 .menu-min .nav-list>li.active>a>.menu-text{background-color:#242a2b}.skin-1 .menu-min .nav-list>li.active:hover>a,.skin-1 .menu-min .nav-list>li.active>a>.menu-text{color:#55a0dc}.skin-1 .menu-min .nav-list>li>a.active,.skin-1 .menu-min .nav-list>li.open.active>a{background-color:#141a1b}.skin-1 .menu-min .nav-list>li>a>.menu-text,.skin-1 .menu-min .nav-list>li>ul.submenu{border-color:#3f4e54;margin-top:1px;border-left-color:#242a2b}.skin-1 .nav-list>li>.submenu>li:before,.skin-1 .nav-list>li>.submenu:before{border-color:#929ba3}.skin-1 .nav-list>li.active>.submenu>li:before,.skin-1 .nav-list>li.active>.submenu:before{border-color:#3f4e54}.skin-1 .menu-min .nav-list>li>a.dropdown-toggle>.menu-text{border-bottom-color:#5a606a}.skin-1 .sidebar-collapse{background-color:#141a1b;border-color:#3f4e54;border-top-width:1px}.skin-1 .sidebar-collapse:before{border-color:#3f4e54}.skin-1 .sidebar-collapse>[class*="icon-"]{background-color:#222a2d}.skin-1 .sidebar-shortcuts,.skin-1 .sidebar-shortcuts-mini{background-color:#141a1b;border-color:#3f4e54}.skin-1 .sidebar>.nav-search{background-color:#141a1b;border-color:#3f4e54}.skin-1 .menu-min .sidebar-shortcuts-large{background-color:#141a1b;box-shadow:none;border:0;top:0}.skin-1 .breadcrumbs{border:0;background-color:#f0f0f0}@media only screen and (max-width:991px){.skin-1 .sidebar{border:0;box-shadow:none}.skin-1 .nav-list li.active>a:after{display:none}.skin-1 .menu-min .nav-list>li.active.open>a:after{display:none}.skin-1 .menu-min .nav-list>li.active:hover>a:after{display:block}}.skin-1 .nav-list>li>.submenu>li>.submenu a{border-top-color:#7b858c}.skin-1 .nav-list>li.active>.submenu>li>.submenu a{border-top-color:#545b60}.skin-1 .nav-list>li .submenu li>.submenu>li a{color:#d1dae1;font-size:13px}.skin-1 .nav-list>li .submenu li>.submenu>li a>[class*="icon-"]:first-child{color:inherit}.skin-1 .nav-list>li .submenu li>.submenu>li a:hover{color:#8ab4de;text-decoration:none}.skin-1 .nav-list>li .submenu li>.submenu>li a:hover>[class*="icon-"]:first-child{color:#55a0dc}.skin-1 .nav-list>li .submenu li.open>a,.skin-1 .nav-list>li .submenu li>.submenu>li.open>a{color:#85c0ec}.skin-1 .nav-list>li .submenu li.open>a>[class*="icon-"]:first-child,.skin-1 .nav-list>li .submenu li>.submenu>li.open>a>[class*="icon-"]:first-child{color:inherit}.skin-1 .nav-list>li .submenu li>.submenu li.active>a{color:#61a8dd}.skin-1 .nav-list>li .submenu li>.submenu li.active>a>[class*="icon-"]:first-child{color:inherit}.skin-1 .nav-list>li .submenu li>.submenu li.active>a:hover{color:#85c0ec}.skin-1 .nav-list>li .submenu li>a>.arrow{color:#BBB}.skin-1 .nav-list>li>.submenu>li.open>a>.arrow,.skin-1 .nav-list>li>.submenu>li>a:hover>.arrow,.skin-1 .nav-list>li>.submenu>li>.submenu>li.open>a>.arrow,.skin-1 .nav-list>li>.submenu>li>.submenu>li>a:hover>.arrow{color:inherit}.skin-2{background-color:#5c5c5c}.skin-2 .navbar{background:#c6487e}.skin-2 .sidebar,.skin-2 .sidebar:before{background-color:#505050;border-right:0}.skin-2 .nav-list>li{border-color:#444;border-top-width:0}.skin-2 .nav-list>li:last-child{border-bottom-width:0}.skin-2 .nav-list>li>a,.skin-2 .menu-min .nav-list>li.open>a,.skin-2 .nav-list .open>a,.skin-2 .nav-list .open>a:hover,.skin-2 .nav-list .open>a:focus{background-color:#393939}.skin-2 .nav-list>li.active>a{color:#FFF}.skin-2 .nav-list>li>a:hover:before{display:none}.skin-2 .nav-list li.active>a:after{border-right-color:#FFF}.skin-2 .nav-list>li.active>a:after,.skin-2 .nav-list>li.active>.submenu>li.active>a:after{top:2px;right:0;border-width:16px 10px}.skin-2 .menu-min .nav-list>li.active>a:after{border-width:10px 6px;top:8px}.skin-2 .menu-min .nav-list>li.active:hover>a:after{border-right-color:#292929}.skin-2 .nav-list>li.active:after{display:none}.skin-2 .nav-list>li.active.open>.submenu>li.active>a:after{border-right-color:#FFF;right:0}.skin-2 .nav-list>li>.submenu{background-color:#303030;border-top-color:#666}.skin-2 .nav-list>li.active>.submenu{background-color:#222}.skin-2 .nav-list>li>.submenu>li:first-child>a{border-top:0}.skin-2 .nav-list>li>.submenu>li>a{color:#CCC;border-bottom-color:#555}.skin-2 .nav-list>li>.submenu>li>a>[class*="icon-"]:first-child{display:none}.skin-2 .nav-list>li>a>.menu-text{color:#DDD}.skin-2 .nav-list>li>a:hover>.menu-text{color:rgba(0,0,0,0.5);font-weight:bold}.skin-2 .nav-list>li.active>a:hover>.menu-text{color:#FFF}.skin-2 .nav-list>li>a>.arrow{color:#AAA}.skin-2 .nav-list>li>a:hover>.arrow{color:#FFF}.skin-2 .menu-min .nav-list>li>a>.menu-text{color:#FFF;font-weight:bold;opacity:1;filter:alpha(opacity=100);background-color:#292929;border:0;box-shadow:none;text-shadow:1px 1px 0 rgba(0,0,0,0.5);margin-top:2px}.skin-2 .menu-min .nav-list>li>a.dropdown-toggle>.menu-text{margin-top:0;background-color:#292929}.skin-2 .menu-min .nav-list>li>ul.submenu{box-shadow:none;border:0;background-color:#303030;margin-left:1px;margin-top:1px;border-left:1px solid #FFF}.skin-2 .nav-list>li>ul.submenu>li>a:hover{color:#FFF}.skin-2 .nav-list>li>ul.submenu>li:before,.skin-2 .nav-list>li>ul.submenu>li:after{display:none}.skin-2 .nav-list>li>ul.submenu>li>a{padding-left:28px}.skin-2 .nav-list>li>a,.skin-2 .menu-min .nav-list>li>a>.menu-text{color:#CCC}.skin-2 .nav-list>li:nth-child(1)>a,.skin-2 .menu-min .nav-list>li:nth-child(1)>a>.menu-text{color:#00be67}.skin-2 .nav-list>li:nth-child(2)>a,.skin-2 .menu-min .nav-list>li:nth-child(2)>a>.menu-text{color:#5ed02b}.skin-2 .nav-list>li:nth-child(3)>a,.skin-2 .menu-min .nav-list>li:nth-child(3)>a>.menu-text{color:#a7d700}.skin-2 .nav-list>li:nth-child(4)>a,.skin-2 .menu-min .nav-list>li:nth-child(4)>a>.menu-text{color:#cee100}.skin-2 .nav-list>li:nth-child(5)>a,.skin-2 .menu-min .nav-list>li:nth-child(5)>a>.menu-text{color:#f8c600}.skin-2 .nav-list>li:nth-child(6)>a,.skin-2 .menu-min .nav-list>li:nth-child(6)>a>.menu-text{color:#ffab00}.skin-2 .nav-list>li:nth-child(7)>a,.skin-2 .menu-min .nav-list>li:nth-child(7)>a>.menu-text{color:#ff6e00}.skin-2 .nav-list>li:nth-child(8)>a,.skin-2 .menu-min .nav-list>li:nth-child(8)>a>.menu-text{color:#f21c30}.skin-2 .nav-list>li:nth-child(9)>a,.skin-2 .menu-min .nav-list>li:nth-child(9)>a>.menu-text{color:#ee218b}.skin-2 .nav-list>li:nth-child(10)>a,.skin-2 .menu-min .nav-list>li:nth-child(10)>a>.menu-text{color:#c55ee7}.skin-2 .nav-list>li:nth-child(11)>a,.skin-2 .menu-min .nav-list>li:nth-child(11)>a>.menu-text{color:#218bee}.skin-2 .nav-list>li:nth-child(12)>a,.skin-2 .menu-min .nav-list>li:nth-child(12)>a>.menu-text{color:#2ecee7}.skin-2 .menu-min .nav-list>li.active>a>[class*="icon-"],.skin-2 .nav-list>li:not(.active):hover>a>[class*="icon-"]{color:#FFF}.skin-2 .nav-list>li.active>a>.menu-text{color:#FFF}.skin-2 .nav-list>li.active>ul.submenu{background-color:#222}.skin-2 .nav-list>li>ul.submenu:before{display:block;content:"";position:absolute;z-index:auto;left:0;top:0;right:0;bottom:0;background-color:#393939;opacity:.12}.skin-2 .sidebar:not(.menu-min) .nav-list>li:not(.active)>a:hover .badge:not(.badge-transparent),.skin-2 .sidebar:not(.menu-min) .nav-list>li:not(.active)>a:hover .label:not(.label-transparent){background-color:rgba(0,0,0,0.5)!important}.skin-2 .sidebar:not(.menu-min) .nav-list>li:not(.active)>a:hover .badge.badge-transparent,.skin-2 .sidebar:not(.menu-min) .nav-list>li:not(.active)>a:hover .label.label-transparent{color:rgba(255,255,255,0.75)!important}.skin-2 .sidebar:not(.menu-min) .nav-list>li:not(.active)>a:hover .badge.badge-transparent [class*="icon-"],.skin-2 .sidebar:not(.menu-min) .nav-list>li:not(.active)>a:hover .label.label-transparent [class*="icon-"]{color:rgba(255,255,255,0.75)!important}.skin-2 .nav-list>li>a:hover,.skin-2 .menu-min .nav-list>li:hover>a,.skin-2 .menu-min .nav-list>li.active>a{background-color:#c6487e}.skin-2 .nav-list>li>ul.submenu:before{background-color:#35262d}.skin-2 .nav-list>li:nth-child(1)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(1):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(1)>a,.skin-2 .nav-list>li:nth-child(1)>ul.submenu:before{background-color:#00be67}.skin-2 .nav-list>li:nth-child(2)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(2):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(2)>a,.skin-2 .nav-list>li:nth-child(2)>ul.submenu:before{background-color:#5ed02b}.skin-2 .nav-list>li:nth-child(3)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(3):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(3)>a,.skin-2 .nav-list>li:nth-child(3)>ul.submenu:before{background-color:#a7d700}.skin-2 .nav-list>li:nth-child(4)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(4):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(4)>a,.skin-2 .nav-list>li:nth-child(4)>ul.submenu:before{background-color:#cee100}.skin-2 .nav-list>li:nth-child(5)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(5):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(5)>a,.skin-2 .nav-list>li:nth-child(5)>ul.submenu:before{background-color:#f8c600}.skin-2 .nav-list>li:nth-child(6)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(6):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(6)>a,.skin-2 .nav-list>li:nth-child(6)>ul.submenu:before{background-color:#ffab00}.skin-2 .nav-list>li:nth-child(7)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(7):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(7)>a,.skin-2 .nav-list>li:nth-child(7)>ul.submenu:before{background-color:#ff6e00}.skin-2 .nav-list>li:nth-child(8)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(8):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(8)>a,.skin-2 .nav-list>li:nth-child(8)>ul.submenu:before{background-color:#f21c30}.skin-2 .nav-list>li:nth-child(9)>a:hover,.skin-2 .menu-min .nav-listli:nth-child(9):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(9)>a,.skin-2 .nav-list>li:nth-child(9)>ul.submenu:before{background-color:#ee218b}.skin-2 .nav-list>li:nth-child(10)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(10):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(10)>a,.skin-2 .nav-list>li:nth-child(10)>ul.submenu:before{background-color:#c55ee7}.skin-2 .nav-list>li:nth-child(11)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(11):hover>a,.skin-2 .menu-min .nav-list li.active:nth-child(11)>a,.skin-2 .nav-list>li:nth-child(11)>ul.submenu:before{background-color:#218bee}.skin-2 .nav-list>li:nth-child(12)>a:hover,.skin-2 .menu-min .nav-list li:nth-child(12):hover>a,.skin-2 .menu-min .nav-listli.active:nth-child(12)>a,.skin-2 .nav-list>li:nth-child(12)>ul.submenu:before{background-color:#2ecee7}.skin-2 .nav-list>li>ul.submenu{border-top-style:inset}.skin-2 .menu-min .nav-list>li>ul.submenu{border-top-color:#666!important}.skin-2 .nav-list>li>ul.submenu{border-top-color:#c6487e}.skin-2 .nav-list>li:nth-child(1)>ul.submenu{border-top-color:#00be67}.skin-2 .nav-list>li:nth-child(2)>ul.submenu{border-top-color:#5ed02b}.skin-2 .nav-list>li:nth-child(3)>ul.submenu{border-top-color:#a7d700}.skin-2 .nav-list>li:nth-child(4)>ul.submenu{border-top-color:#cee100}.skin-2 .nav-list>li:nth-child(5)>ul.submenu{border-top-color:#f8c600}.skin-2 .nav-list>li:nth-child(6)>ul.submenu{border-top-color:#ffab00}.skin-2 .nav-list>li:nth-child(7)>ul.submenu{border-top-color:#ff6e00}.skin-2 .nav-list>li:nth-child(8)>ul.submenu{border-top-color:#f21c30}.skin-2 .nav-list>li:nth-child(9)>ul.submenu{border-top-color:#ee218b}.skin-2 .nav-list>li:nth-child(10)>ul.submenu{border-top-color:#c55ee7}.skin-2 .nav-list>li:nth-child(11)>ul.submenu{border-top-color:#218bee}.skin-2 .nav-list>li:nth-child(12)>ul.submenu{border-top-color:#2ecee7}.skin-2 .nav-list>li>ul.submenu li.active>a{color:#c6487e}.skin-2 .nav-list>li:nth-child(1)>ul.submenu li.active>a{color:#00be67}.skin-2 .nav-list>li:nth-child(2)>ul.submenu li.active>a{color:#5ed02b}.skin-2 .nav-list>li:nth-child(3)>ul.submenu li.active>a{color:#a7d700}.skin-2 .nav-list>li:nth-child(4)>ul.submenu li.active>a{color:#cee100}.skin-2 .nav-list>li:nth-child(5)>ul.submenu li.active>a{color:#f8c600}.skin-2 .nav-list>li:nth-child(6)>ul.submenu li.active>a{color:#ffab00}.skin-2 .nav-list>li:nth-child(7)>ul.submenu li.active>a{color:#ff6e00}.skin-2 .nav-list>li:nth-child(8)>ul.submenu li.active>a{color:#f21c30}.skin-2 .nav-list>li:nth-child(9)>ul.submenu li.active>a{color:#ee218b}.skin-2 .nav-list>li:nth-child(10)>ul.submenu li.active>a{color:#c55ee7}.skin-2 .nav-list>li:nth-child(11)>ul.submenu li.active>a{color:#218bee}.skin-2 .nav-list>li:nth-child(12)>ul.submenu li.active>a{color:#2ecee7}.skin-2 .nav-list>li.active>a,.skin-2 .nav-list>li.active>a:hover{background-color:#242424}.skin-2 .sidebar-collapse{background-color:#2c2c2c;border-top:1px solid #666;border-bottom:1px solid #777}.skin-2 .sidebar-collapse:before{border-color:#666}.skin-2 .sidebar-collapse>[class*="icon-"]{background-color:#333}.skin-2 .sidebar-shortcuts{background-color:#393939;border-color:#666;min-height:40px}.skin-2 .sidebar>.nav-search{background-color:#393939;border-color:#666}.skin-2 .sidebar-shortcuts .btn{border-radius:32px!important;border-width:2px;background-color:#555!important}.skin-2 .sidebar-shortcuts .btn:hover{background-color:#222!important}.skin-2 .menu-min .sidebar-shortcuts-large{border:0;box-shadow:none;background-color:#393939;top:0}.skin-2 .sidebar-shortcuts-mini{background-color:#141a1b;border-color:#3f4e54}.skin-2 .sidebar-shortcuts-mini .btn{border-width:2px!important;border-radius:32px!important;padding:6px!important;opacity:1;background-color:inherit}body.skin-2 .main-content{padding-top:8px}.skin-2 .breadcrumbs{border:0;background-color:#e7f2f8;margin:0 8px 0;border-radius:4px}@media only screen and (max-width:991px){.skin-2 .sidebar{border:0;box-shadow:none}.skin-2 .nav-list li.active>a:after{display:none}body.skin-2 .main-content{padding-top:0}.skin-2 .breadcrumbs{margin:0;border-radius:0}.skin-2 .menu-min .nav-list>li.active>a:after{display:none}.skin-2 .menu-min .nav-list>li.active:hover>a:after{display:block}}.skin-2 .nav-list>li .submenu a{background-color:transparent!important}.skin-2 .nav-list>li>.submenu>li>.submenu a{border-top-color:#CCC}.skin-2 .nav-list>li.active>.submenu>li>.submenu a{border-top-color:#999}.skin-2 .nav-list>li>.submenu li>.submenu>li a{color:#d5d5d5}.skin-2 .nav-list>li>.submenu li>.submenu>li a>[class*="icon-"]:first-child{color:#d5d5d5}.skin-2 .nav-list>li>.submenu li>.submenu li.active>a>[class*="icon-"]:first-child{color:inherit}.skin-2 .nav-list>li .submenu a>.arrow{color:#CCC}.skin-2 .nav-list>li>.submenu>li>a:hover>.arrow,.skin-2 .nav-list>li>.submenu>li>.submenu>li>a:hover>.arrow{color:#EEE}.skin-2 .nav-list>li>.submenu>li>.submenu>li>a{margin-left:0;padding-left:38px}.skin-2 .nav-list>li>.submenu>li>.submenu>li>.submenu>li>a{margin-left:0;padding-left:54px}.skin-2 .nav-list>li ul.submenu li.open>a{color:#c6487e}.skin-2 .nav-list>li:nth-child(1) ul.submenu li.open>a{color:#00be67}.skin-2 .nav-list>li:nth-child(2) ul.submenu li.open>a{color:#5ed02b}.skin-2 .nav-list>li:nth-child(3) ul.submenu li.open>a{color:#a7d700}.skin-2 .nav-list>li:nth-child(4) ul.submenu li.open>a{color:#cee100}.skin-2 .nav-list>li:nth-child(5) ul.submenu li.open>a{color:#f8c600}.skin-2 .nav-list>li:nth-child(6) ul.submenu li.open>a{color:#ffab00}.skin-2 .nav-list>li:nth-child(7) ul.submenu li.open>a{color:#ff6e00}.skin-2 .nav-list>li:nth-child(8) ul.submenu li.open>a{color:#f21c30}.skin-2 .nav-list>li:nth-child(9) ul.submenu li.open>a{color:#ee218b}.skin-2 .nav-list>li:nth-child(10) ul.submenu li.open>a{color:#c55ee7}.skin-2 .nav-list>li:nth-child(11) ul.submenu li.open>a{color:#218bee}.skin-2 .nav-list>li:nth-child(12) ul.submenu li.open>a{color:#2ecee7}.skin-2 .nav-list>li ul.submenu li>a:hover{color:#FFF}.skin-2 .nav-list>li>.submenu>li.open>a>[class*="icon-"]:first-child,.skin-2 .nav-list>li>.submenu>li>.submenu>li.open>a>[class*="icon-"]:first-child{color:inherit}.skin-2 .nav-list>li>.submenu>li.open>a>.arrow,.skin-2 .nav-list>li>.submenu>li>.submenu>li.open>a>.arrow{color:inherit}.skin-3{background-color:#BBB}.skin-3 .main-container:after{background:#FFF;background:-moz-linear-gradient(top,#eef5fa 0,#FFF 8%) 0 4px;background:-webkit-gradient(linear,0 0,0 100%,from(#eef5fa),color-stop(4%,#FFF)) 0 4px;background:-webkit-linear-gradient(top,#eef5fa 0,#FFF 8%) 0 4px;background:-o-linear-gradient(top,#eef5fa 0,#FFF 8%) 0 4px;background:-ms-linear-gradient(top,#eef5fa 0,#FFF 8%) 0 4px;background:linear-gradient(top,#eef5fa 0,#FFF 8%) 0 4px;-moz-background-size:100% 26px;-webkit-background-size:100% 26px;-o-background-size:100% 26px;-ms-background-size:100% 26px;background-size:100% 26px}.skin-3 .navbar{background:#393939}.skin-3 .sidebar,.skin-3 .sidebar:before{background-color:#d6d6d6;border-right:1px solid #a4c6dd}.skin-3 .page-content{background-color:transparent}.skin-3 .infobox:not(.infobox-dark){border-style:solid;background-color:transparent}.skin-3 .nav-list>li{border-color:#f2f2f2;border-bottom-width:0;position:relative}.skin-3 .nav-list>li:before{display:inline-block;content:"";position:absolute;z-index:1;left:0;top:0;bottom:0;max-width:0;overflow:hidden;border-left:3px solid #444}.skin-3 .nav-list>li.active:before{border-left-color:#4d96cb}.skin-3 .nav-list>li:first-child{border-top:1px solid #f2f2f2}.skin-3 .nav-list>li:last-child{border-bottom-width:1px}.skin-3 .nav-list>li:hover{border-left-color:#1963aa;border-top-color:#EEE}.skin-3 .nav-list>li:hover+li{border-top-color:#EEE}.skin-3 .nav-list>li:last-child:hover{border-bottom-color:#EEE}.skin-3 .nav-list>li.active{border-left-color:#1a67bd;border-top-color:#a4c6dd!important}.skin-3 .nav-list>li.active+li{border-top-color:#a4c6dd}.skin-3 .nav-list>li.active:last-child{border-bottom-color:#a4c6dd}.skin-3 .nav-list>li>a:hover:before{display:none}.skin-3 .nav-list>li>a{background-color:#e0e0e0;color:#5a5a5a}.skin-3 .nav-list>li:hover>a{background-color:#EEE;color:#1963aa}.skin-3 .nav-list>li>a:focus{color:#1963aa}.skin-3 .nav-list>li.open>a{background-color:#f3f3f3;color:#1963aa}.skin-3 .menu-min .nav-list>li.open>a{background-color:#e0e0e0;color:#5a5a5a}.skin-3 .menu-min .nav-list>li.open>a>.menu-text{color:#1963aa}.skin-3 .menu-min .nav-list>li.active>a>.menu-text{border-left-color:#EEE}.skin-3 .nav-list>li.active>a{background-color:#eef8ff;color:#4d96cb}.skin-3 .nav-list li.active>a:after{border-right-color:#FFF;right:-1px;top:0;z-index:12;border-width:18px 12px}.skin-3 .nav-list li.active>a:before{content:"";display:block;position:absolute;right:0;top:0;z-index:11;left:auto;bottom:auto;width:auto;max-width:auto;background-color:transparent;border-style:solid;border-width:18px 12px;border-color:transparent;border-right-color:#a4c6dd}.skin-3 .nav-list>li.active.open>.submenu li.active>a:before,.skin-3 .nav-list>li.active.open>.submenu li.active>a:after{border-width:14px 10px;top:2px}.skin-3 .nav-list>li.active.open>.submenu .submenu li.active>a:before,.skin-3 .nav-list>li.active.open>.submenu .submenu li.active>a:after{top:0}.skin-3 .nav-list li.active.open>a:after,.skin-3 .nav-list li.active.open>a:before{display:none}.skin-3 .nav-list>li.active:after{display:none}.skin-3 .nav-list li.active.open>.submenu>li.active.open>a.dropdown-toggle:before{display:none}.skin-3 .nav-list li.active>.submenu>li.active>a:before{display:none}.skin-3 .nav-list li.active.open>.submenu>li.active>a:before{display:block}.skin-3 .menu-min .nav-list li.active.open>.submenu>li.active>a:before{display:none}.skin-3 .menu-min .nav-list>li.active>a{background-color:#4d96cb;color:#FFF}.skin-3 .menu-min .nav-list>li.active>a>.menu-text{color:#4d96cb}.skin-3 .menu-min .nav-list li.active>a:after{display:none}.skin-3 .menu-min .nav-list li.active>a:before{display:none}.skin-3 .menu-min .nav-list>li.active>a:after{display:block;border-width:12px 7px;top:5px}.skin-3 .menu-min .sidebar-shortcuts{border-left:none}.skin-3 .sidebar.menu-min>.nav-search{border-left:none}.skin-3 .menu-min .nav-list>li>.submenu,.skin-3 .menu-min .nav-list>li.active>.submenu{border-left-color:#CCC}.skin-3 .nav-list>li>a>.arrow{right:10px}.skin-3 .sidebar-collapse{background-color:#d0d0d0;border-color:#FFF}.skin-3 .sidebar-collapse:before{border-color:#FFF}.skin-3 .sidebar-collapse>[class*="icon-"]{background-color:#FFF;border-color:#999;color:#999}.skin-3 .sidebar-shortcuts{background-color:#e0e0e0;border-bottom:0;border-color:#FFF;min-height:40px;border-left:3px solid #444}.skin-3 .sidebar>.nav-search{background-color:#e0e0e0;border-bottom:0;border-color:#FFF;border-left:3px solid #444}.skin-3 .sidebar-shortcuts-mini{background-color:#e0e0e0}.skin-3 .sidebar-shortcuts-mini>.btn{opacity:1}.skin-3 .menu-min .sidebar-shortcuts-large{background-color:#f5f5f5;top:-1px}body.skin-3 .main-content{padding-top:8px}.skin-3 .breadcrumbs{border:0;border-radius:4px;background-color:#e7f2f8;margin:0 8px 0}.skin-3 .nav-search-input{border-radius:4px}.skin-3 .page-content>.page-header:first-child{border-bottom-color:#c9c9c9}.skin-3 .hr{border-color:#d5d5d5}@media only screen and (max-width:991px){.skin-3 .sidebar,.skin-3 .nav-list>li,.skin-3 .sidebar-shortcuts{border-left:none}.skin-3 .sidebar{border-color:#a4c6dd}body.skin-3 .main-content{padding-top:0}.skin-3 .breadcrumbs{border-radius:0;margin:0}.skin-3 .menu-toggler{background-color:#62a8d1;color:#FFF}.skin-3 .menu-toggler:after,.skin-3 .menu-toggler:before{border-color:#FFF}.skin-3 .menu-toggler>.menu-text{border-top-color:#62a8d1}.skin-3 .menu-toggler>.menu-text:after{color:#FFF}.skin-3 .nav-list li.active>a:before,.skin-3 .nav-list li.active>a:after{display:none}.skin-3 .menu-min .nav-list li.active>a:before,.skin-3 .menu-min .nav-list li.active>a:after{display:none}.skin-3 .nav-list li.active.open>.submenu>li.active>a:before{display:none}.skin-3 .menu-min .nav-list>li.active.open:hover>a:after{display:block!important}}.rtl.skin-1 .sidebar,.rtl.skin-1 .sidebar:before{border-left:none}.rtl.skin-1 .nav-list li.active>a:after{border-right-color:transparent;border-left-color:#FFF}.rtl.skin-1 .menu-min .nav-list>li.active:hover>a:after{border-left-color:#242a2b;border-right-color:transparent}.rtl.skin-1 .menu-min .nav-list>li>a>.menu-text,.rtl.skin-1 .menu-min .nav-list>li>ul.submenu{border-left-color:#3f4e54;border-right-color:#242a2b}.rtl.skin-2 .sidebar,.rtl.skin-2 .sidebar:before{border-left:none}.rtl.skin-2 .nav-list li.active>a:after{border-right-color:transparent;border-left-color:#FFF}.rtl.skin-2 .nav-list>li.active>a:after,.rtl.skin-2 .nav-list>li.active>.submenu>li.active>a:after{right:auto;left:0}.rtl.skin-2 .menu-min .nav-list>li.active:hover>a:after{border-right-color:transparent;border-left-color:#292929}.rtl.skin-2 .nav-list>li.active.open>.submenu>li.active>a:after{border-right-color:transparent;border-left-color:#FFF;right:auto;left:0}.rtl.skin-2 .menu-min .nav-list>li>a>.menu-text{text-shadow:-1px 1px 0 rgba(0,0,0,0.5)}.rtl.skin-2 .menu-min .nav-list>li>ul.submenu{margin-left:auto;margin-right:1px;border-left:none;border-right:1px solid #FFF}.rtl.skin-2 .nav-list>li>ul.submenu>li>a{padding-left:0;padding-right:28px}.rtl.skin-2 .nav-list>li>.submenu>li>.submenu>li>a{margin-left:auto;padding-left:0;margin-right:0;padding-right:38px}.rtl.skin-2 .nav-list>li>.submenu>li>.submenu>li>.submenu>li>a{margin-left:auto;padding-left:0;margin-right:0;padding-right:54px}.rtl.skin-3 .sidebar,.rtl.skin-3 .sidebar:before{border-right:0;border-left:1px solid #a4c6dd}.rtl.skin-3 .nav-list>li:before{left:auto;right:0;border-left:none;border-right:3px solid #444}.rtl.skin-3 .nav-list>li.active:before{border-left:none;border-right-color:#4d96cb}.rtl.skin-3 .nav-list>li:hover{border-left-color:#f2f2f2;border-right-color:#1963aa}.rtl.skin-3 .nav-list>li.active{border-left-color:#f2f2f2;border-right-color:#1a67bd}.rtl.skin-3 .menu-min .nav-list>li.active>a>.menu-text{border-left-color:#CCC;border-right-color:#EEE}.rtl.skin-3 .nav-list li.active>a:after{border-right-color:transparent;border-left-color:#FFF;left:-1px;right:auto}.rtl.skin-3 .nav-list li.active>a:before{right:auto;left:0;border-right-color:transparent;border-left-color:#a4c6dd}.rtl.skin-3 .menu-min .sidebar-shortcuts{border-right:0}.rtl.skin-3 .sidebar.menu-min>.nav-search{border-right:0}.rtl.skin-3 .menu-min .nav-list>li>.submenu,.rtl.skin-3 .menu-min .nav-list>li.active>.submenu{border-right-color:#CCC}.rtl.skin-3 .nav-list>li>a>.arrow{right:auto;left:10px}.rtl.skin-3 .sidebar-shortcuts{border-left:none;border-right:3px solid #444}.rtl.skin-3 .sidebar>.nav-search{border-left:none;border-right:3px solid #444}@media only screen and (max-width:991px){.rtl.skin-3 .sidebar,.rtl.skin-3 .nav-list>li,.rtl.skin-3 .sidebar-shortcuts{border-right:0}} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace.min.css b/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace.min.css deleted file mode 100644 index a685915a8..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/ace.min.css +++ /dev/null @@ -1 +0,0 @@ -html{min-height:100%;position:relative}body{padding-bottom:0;background-color:#e4e6e9;min-height:100%;font: 12px/18px "Microsoft Yahei",Tahoma;color:#393939;line-height:1.5}body.navbar-fixed{padding-top:45px}body.breadcrumbs-fixed{padding-top:86px}.main-container{position:static;padding:0}.main-container:after{background-color:#FFF;bottom:0;content:"";display:block;max-width:inherit;position:fixed;top:0;width:100%;z-index:-2}@media(min-width:768px){.container.main-container:after{-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.1);box-shadow:0 0 0 1px rgba(0,0,0,0.1)}}.main-container>.main-container-inner{position:relative}.container.main-container .sidebar.sidebar-fixed,.container.main-container .sidebar.sidebar-fixed:before{left:auto}.main-content{margin-left:190px;margin-right:0;margin-top:0;min-height:100%;padding:0}.page-content{background:#fff;margin:0;padding:8px 20px 24px}.page-header{margin:0 0 12px;border-bottom:1px dotted #e2e2e2;padding-bottom:16px;padding-top:7px}.page-header h1{padding:0;margin:0 8px;font-size:24px;font-weight:lighter;color:#2679b5}.page-header h1 small{margin:0 6px;font-size:14px;font-weight:normal;color:#8089a0}[class*=" icon-"],[class^="icon-"]{display:inline-block;text-align:center}a:focus,a:active{text-decoration:none}h1{font-size:32px;font-weight:normal;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif}h1.smaller{font-size:31px}h1.bigger{font-size:33px}h1.block{margin-bottom:16px}h2{font-size:26px;font-weight:normal;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif}h2.smaller{font-size:25px}h2.bigger{font-size:27px}h2.block{margin-bottom:16px}h3{font-size:22px;font-weight:normal;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif}h3.smaller{font-size:21px}h3.bigger{font-size:23px}h3.block{margin-bottom:16px}h4{font-size:18px;font-weight:normal;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif}h4.smaller{font-size:17px}h4.bigger{font-size:19px}h4.block{margin-bottom:16px}h5{font-size:15px;font-weight:normal;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif}h5.smaller{font-size:14px}h5.bigger{font-size:16px}h5.block{margin-bottom:16px}h6{font-size:13px;font-weight:normal;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif}h6.smaller{font-size:12px}h6.bigger{font-size:14px}h6.block{margin-bottom:16px}ul,ol{margin:0 0 10px 25px;padding:0}ul.margin-5,ol.margin-5{margin-left:5px}ul.margin-10,ol.margin-10{margin-left:10px}ul.margin-15,ol.margin-15{margin-left:15px}ul.margin-20,ol.margin-20{margin-left:20px}li>ul,li>ol{margin-left:18px}.list-unstyled,.list-inline{margin-left:0}.list-unstyled>li>[class*="icon-"]:first-child,.list-inline>li>[class*="icon-"]:first-child{width:18px;text-align:center}.spaced>li{margin-top:9px;margin-bottom:9px}.spaced2>li{margin-top:15px;margin-bottom:15px}li.divider{margin-top:3px;margin-bottom:3px;height:0;font-size:0}.spaced>li.divider{margin-top:5px;margin-bottom:5px}.spaced2>li.divider{margin-top:8px;margin-bottom:8px}li.divider:before{content:"";display:inline-block}blockquote,blockquote.pull-right{border-color:#e5eaf1}.modal-content{border-radius:0;-webkit-box-shadow:none;box-shadow:none}.modal-footer{padding-top:12px;padding-bottom:14px;border-top-color:#e4e9ee;-webkit-box-shadow:none;box-shadow:none;background-color:#eff3f8}.modal-header .close{font-size:32px}.well{border-radius:0}.well h1,.well h2,.well h3,.well h4,.well h5,.well h6{margin-top:0}.well h1,.well h2,.well h3{line-height:36px}.alert{font-size:14px;border-radius:0}.alert .close{font-size:16px}.alert-block p+p{margin-top:10px}.pagination>li>a,.pager>li>a,.pagination>li>span,.pager>li>span{border-width:1px;border-radius:0!important}.pagination>li>a,.pager>li>a{color:#2283c5;background-color:#fafafa;margin:0 -1px 0 0;border-color:#e0e8eb}.pagination>li>a:hover,.pager>li>a:hover{background-color:#eaeff2}.pagination>li>a:focus,.pager>li>a:focus{background-color:#eaeef2}.pagination>li.disabled>a,.pagination>li.disabled>a:hover,.pager>li.disabled>a,.pager>li.disabled>a:hover{background-color:#f9f9f9;border-color:#d9d9d9}.pagination>li.active>a,.pagination>li.active>a:hover{background-color:#6faed9;border-color:#6faed9;color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.list-group-item{border-radius:0!important}.lighter{font-weight:lighter}.bolder{font-weight:bolder}.inline{display:inline-block!important}.block{display:block!important}.center,.align-center{text-align:center!important}.align-left{text-align:left!important}.align-right{text-align:right!important}.middle{vertical-align:middle}.align-middle{vertical-align:middle!important}.align-top{vertical-align:top!important}.align-bottom{vertical-align:bottom!important}.position-relative{position:relative}.position-absolute{position:absolute}.line-height-normal{line-height:normal!important}.line-height-1{line-height:1!important}.dark{color:#333!important}.white{color:#fff!important}.red{color:#dd5a43!important}.light-red{color:#f77!important}.blue{color:#478fca!important}.light-blue{color:#93cbf9!important}.green{color:#69aa46!important}.light-green{color:#b0d877!important}.orange{color:#ff892a!important}.light-orange{color:#fcac6f!important}.orange2{color:#feb902!important}.purple{color:#a069c3!important}.pink{color:#c6699f!important}.pink2{color:#d6487e!important}.brown{color:#a52a2a!important}.grey{color:#777!important}.light-grey{color:#bbb!important}.bigger-110{font-size:110%}.bigger-120{font-size:120%}.bigger-130{font-size:130%}.bigger-140{font-size:140%}.bigger-150{font-size:150%}.bigger-160{font-size:160%}.bigger-170{font-size:170%}.bigger-180{font-size:180%}.bigger-190{font-size:190%}.bigger-200{font-size:200%}.bigger-210{font-size:210%}.bigger-220{font-size:220%}.bigger-230{font-size:230%}.bigger-240{font-size:240%}.bigger-250{font-size:250%}.bigger-260{font-size:260%}.bigger-270{font-size:270%}.bigger-280{font-size:280%}.bigger-290{font-size:290%}.bigger-300{font-size:300%}.bigger-125{font-size:125%}.bigger-175{font-size:175%}.bigger-225{font-size:225%}.bigger-275{font-size:275%}.smaller-90{font-size:90%}.smaller-80{font-size:80%}.smaller-70{font-size:70%}.smaller-60{font-size:60%}.smaller-50{font-size:50%}.smaller-40{font-size:40%}.smaller-30{font-size:30%}.smaller-20{font-size:20%}.smaller-75{font-size:75%}.width-20{width:20%!important}.width-25{width:25%!important}.width-30{width:30%!important}.width-35{width:35%!important}.width-40{width:40%!important}.width-45{width:45%!important}.width-50{width:50%!important}.width-55{width:55%!important}.width-60{width:60%!important}.width-65{width:65%!important}.width-70{width:70%!important}.width-75{width:75%!important}.width-80{width:80%!important}.width-85{width:85%!important}.width-90{width:90%!important}.width-95{width:95%!important}.width-100{width:100%!important}.width-48{width:48%!important}.width-auto{width:auto!important}.height-auto{height:auto!important}.no-padding{padding:0!important}.no-padding-bottom{padding-bottom:0!important}.no-padding-top{padding-top:0!important}.no-padding-left{padding-left:0!important}.no-padding-right{padding-right:0!important}.no-margin{margin:0!important}.no-margin-bottom{margin-bottom:0!important}.no-margin-top{margin-top:0!important}.no-margin-left{margin-left:0!important}.no-margin-right{margin-right:0!important}.no-border{border:0}.no-border-bottom{border-bottom:0}.no-border-top{border-top:0}.no-border-left{border-left:none}.no-border-right{border-right:0}.no-underline{text-decoration:none!important}.no-hover-underline:hover{text-decoration:none!important}.no-shadow,.no-box-shadow{-webkit-box-shadow:none!important;box-shadow:none!important}.no-text-shadow{text-shadow:none!important}.overflow-hidden{overflow:hidden!important}.overflow-auto{overflow:auto!important}.overflow-scroll{overflow:scroll!important}.overflow-visible{overflow:visible!important}.hr{display:block;height:0;overflow:hidden;font-size:0;border-top:1px solid #e3e3e3;margin:12px 0}.hr-double{height:3px;border-top:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3}.hr.dotted,.hr-dotted{border-top-style:dotted}.hr-double.dotted{border-bottom-style:dotted}.hr-32,.hr32{margin:32px 0}.hr-30,.hr30{margin:30px 0}.hr-28,.hr28{margin:28px 0}.hr-26,.hr26{margin:26px 0}.hr-24,.hr24{margin:24px 0}.hr-22,.hr22{margin:22px 0}.hr-20,.hr20{margin:20px 0}.hr-18,.hr18{margin:18px 0}.hr-16,.hr16{margin:16px 0}.hr-14,.hr14{margin:14px 0}.hr-12,.hr12{margin:12px 0}.hr-10,.hr10{margin:10px 0}.hr-8,.hr8{margin:8px 0}.hr-6,.hr6{margin:6px 0}.hr-4,.hr4{margin:4px 0}.hr-2,.hr2{margin:2px 0}.space{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0}.vspace-xs,.vspace-sm,.vspace-md,.vspace-lg{max-height:1px;min-height:1px;overflow:hidden;display:none;margin:12px 0}.space-32{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:32px 0 31px}.vspace-32,.vspace-xs-32,.vspace-sm-32,.vspace-md-32,.vspace-lg-32{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:32px 0 31px 0}.space-30{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:30px 0 29px}.vspace-30,.vspace-xs-30,.vspace-sm-30,.vspace-md-30,.vspace-lg-30{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:30px 0 29px 0}.space-28{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:28px 0 27px}.vspace-28,.vspace-xs-28,.vspace-sm-28,.vspace-md-28,.vspace-lg-28{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:28px 0 27px 0}.space-26{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:26px 0 25px}.vspace-26,.vspace-xs-26,.vspace-sm-26,.vspace-md-26,.vspace-lg-26{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:26px 0 25px 0}.space-24{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:24px 0 23px}.vspace-24,.vspace-xs-24,.vspace-sm-24,.vspace-md-24,.vspace-lg-24{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:24px 0 23px 0}.space-22{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:22px 0 21px}.vspace-22,.vspace-xs-22,.vspace-sm-22,.vspace-md-22,.vspace-lg-22{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:22px 0 21px 0}.space-20{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:20px 0 19px}.vspace-20,.vspace-xs-20,.vspace-sm-20,.vspace-md-20,.vspace-lg-20{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:20px 0 19px 0}.space-18{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:18px 0 17px}.vspace-18,.vspace-xs-18,.vspace-sm-18,.vspace-md-18,.vspace-lg-18{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:18px 0 17px 0}.space-16{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:16px 0 15px}.vspace-16,.vspace-xs-16,.vspace-sm-16,.vspace-md-16,.vspace-lg-16{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:16px 0 15px 0}.space-14{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:14px 0 13px}.vspace-14,.vspace-xs-14,.vspace-sm-14,.vspace-md-14,.vspace-lg-14{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:14px 0 13px 0}.space-12{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:12px 0 11px}.vspace-12,.vspace-xs-12,.vspace-sm-12,.vspace-md-12,.vspace-lg-12{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:12px 0 11px 0}.space-10{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:10px 0 9px}.vspace-10,.vspace-xs-10,.vspace-sm-10,.vspace-md-10,.vspace-lg-10{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:10px 0 9px 0}.space-8{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:8px 0 7px}.vspace-8,.vspace-xs-8,.vspace-sm-8,.vspace-md-8,.vspace-lg-8{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:8px 0 7px 0}.space-6{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:6px 0 5px}.vspace-6,.vspace-xs-6,.vspace-sm-6,.vspace-md-6,.vspace-lg-6{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:6px 0 5px 0}.space-4{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:4px 0 3px}.vspace-4,.vspace-xs-4,.vspace-sm-4,.vspace-md-4,.vspace-lg-4{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:4px 0 3px 0}.space-2{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:2px 0 1px}.vspace-2,.vspace-xs-2,.vspace-sm-2,.vspace-md-2,.vspace-lg-2{max-height:1px;min-height:1px;overflow:hidden;margin:12px 0;margin:2px 0 1px 0}.header{line-height:28px;margin-bottom:16px;margin-top:18px;padding-bottom:4px;border-bottom:1px solid #CCC}.header.blue{border-bottom-color:#d5e3ef}.header.green{border-bottom-color:#cce2c1}.header.purple{border-bottom-color:#e0d1ea}.header.orange{border-bottom-color:#fdd0ac}.header.orange2{border-bottom-color:#fbd36b}.header.red{border-bottom-color:#f3cdc6}.header.grey{border-bottom-color:#c3c3c3}.header.pink{border-bottom-color:#f2e0eb}.header.pink2{border-bottom-color:#e69eb9}.header.light-blue{border-bottom-color:#dceefc}.header.light-red{border-bottom-color:#fec5c5}.header.light-green{border-bottom-color:#d2e7b5}.header.brown{border-bottom-color:#df9393}.header>[class*="icon-"]{margin-right:2px}.no-radius{border-radius:0!important}.action-buttons a{margin:0 3px;display:inline-block;opacity:.85;-webkit-transition:all .1s;transition:all .1s}.action-buttons a:hover{text-decoration:none;-moz-transform:scale(1.2);-webkit-transform:scale(1.2);-o-transform:scale(1.2);-ms-transform:scale(1.2);transform:scale(1.2);opacity:1}.navbar{margin-bottom:0}.navbar{margin-left:0;margin-right:0;border:0;-webkit-box-shadow:none;box-shadow:none;border-radius:0;margin:0;padding-left:0;padding-right:0;min-height:45px;position:relative;background:#438eb9}.navbar>.container{padding-left:0;padding-right:0}.navbar .navbar-text,.navbar .navbar-link{color:#fff}.navbar .navbar-brand{color:#fff;font-size:24px;text-shadow:none;padding-top:10px;padding-bottom:10px}.navbar .navbar-brand:hover,.navbar .navbar-brand:focus{color:#fff}.navbar .navbar-header{margin:0!important}.navbar .navbar-nav>li>a,.navbar .navbar-nav>li>a:hover,.navbar .navbar-nav>li>a:focus{font-size:13px;text-shadow:none;color:#fff}.navbar-fixed-top,.navbar-fixed-bottom{position:fixed}.navbar-container{padding-left:10px;padding-right:20px}.navbar-container.container{padding-left:0;padding-right:0}.ace-nav{height:100%;margin:0!important}.ace-nav>li{line-height:45px;height:45px;border-left:1px solid #DDD;padding:0;position:relative;float:left!important}.ace-nav>li:first-child{border-left:none}.ace-nav>li>a{background-color:#2e6589;color:#FFF;display:block;line-height:inherit;text-align:center;height:100%;width:auto;min-width:50px;padding:0 8px;position:relative}.ace-nav>li>a>[class*="icon-"]{font-size:16px;color:#FFF;display:inline-block;width:20px;text-align:center}.ace-nav>li>a>.badge{position:relative;top:-4px;left:2px;padding-right:5px;padding-left:5px}.ace-nav>li>a:hover,.ace-nav>li>a:focus{background-color:#2c5976}.ace-nav>li.open>a{background-color:#2c5976!important}.ace-nav>li.open>a{color:#FFF!important}.ace-nav>li.grey>a{background-color:#555}.ace-nav>li.grey>a:hover,.ace-nav>li.grey>a:focus{background-color:#4b4b4b}.ace-nav>li.open.grey>a{background-color:#4b4b4b!important}.ace-nav>li.purple>a{background-color:#892e65}.ace-nav>li.purple>a:hover,.ace-nav>li.purple>a:focus{background-color:#762c59}.ace-nav>li.open.purple>a{background-color:#762c59!important}.ace-nav>li.green>a{background-color:#2e8965}.ace-nav>li.green>a:hover,.ace-nav>li.green>a:focus{background-color:#2c7659}.ace-nav>li.open.green>a{background-color:#2c7659!important}.ace-nav>li.light-blue>a{background-color:#62a8d1}.ace-nav>li.light-blue>a:hover,.ace-nav>li.light-blue>a:focus{background-color:#579ec8}.ace-nav>li.open.light-blue>a{background-color:#579ec8!important}.ace-nav>li.light-blue2>a{background-color:#42a8e1}.ace-nav>li.light-blue2>a:hover,.ace-nav>li.light-blue2>a:focus{background-color:#359fd9}.ace-nav>li.open.light-blue2>a{background-color:#359fd9!important}.ace-nav>li.red>a{background-color:#b74635}.ace-nav>li.red>a:hover,.ace-nav>li.red>a:focus{background-color:#a34335}.ace-nav>li.open.red>a{background-color:#a34335!important}.ace-nav>li.light-green>a{background-color:#9abc32}.ace-nav>li.light-green>a:hover,.ace-nav>li.light-green>a:focus{background-color:#8ba832}.ace-nav>li.open.light-green>a{background-color:#8ba832!important}.ace-nav>li.light-purple>a{background-color:#cb6fd7}.ace-nav>li.light-purple>a:hover,.ace-nav>li.light-purple>a:focus{background-color:#c263ce}.ace-nav>li.open.light-purple>a{background-color:#c263ce!important}.ace-nav>li.light-orange>a{background-color:#f79263}.ace-nav>li.light-orange>a:hover,.ace-nav>li.light-orange>a:focus{background-color:#f28653}.ace-nav>li.open.light-orange>a{background-color:#f28653!important}.ace-nav>li.light-pink>a{background-color:#f4dae5}.ace-nav>li.light-pink>a:hover,.ace-nav>li.light-pink>a:focus{background-color:#eeccda}.ace-nav>li.open.light-pink>a{background-color:#eeccda!important}.ace-nav>li.dark>a{background-color:#404040}.ace-nav>li.dark>a:hover,.ace-nav>li.dark>a:focus{background-color:#363636}.ace-nav>li.open.dark>a{background-color:#363636!important}.ace-nav>li.white-opaque>a{background-color:rgba(255,255,255,0.8)}.ace-nav>li.white-opaque>a:hover,.ace-nav>li.white-opaque>a:focus{background-color:rgba(245,245,245,0.8)}.ace-nav>li.open.white-opaque>a{background-color:rgba(245,245,245,0.8)!important}.ace-nav>li.dark-opaque>a{background-color:rgba(0,0,0,0.2)}.ace-nav>li.dark-opaque>a:hover,.ace-nav>li.dark-opaque>a:focus{background-color:rgba(0,0,0,0.2)}.ace-nav>li.open.dark-opaque>a{background-color:rgba(0,0,0,0.2)!important}.ace-nav>li.margin-4{margin-left:4px}.ace-nav>li.margin-3{margin-left:3px}.ace-nav>li.margin-2{margin-left:2px}.ace-nav>li.margin-1{margin-left:1px}.ace-nav>li.no-border{border:none!important}.ace-nav>li .dropdown-menu{z-index:1031}.ace-nav .nav-user-photo{margin:-4px 8px 0 0;border-radius:100%;border:2px solid #FFF;max-width:40px}.ace-nav li:last-child a [class^="icon-"]{display:inline-block;width:1.25em;text-align:center}@media only screen and (max-width:767px){.navbar-container{padding-left:0;padding-right:0}}@media only screen and (max-width:767px){.ace-nav>li:nth-last-child(4)>.dropdown-menu.pull-right{right:-80px}.ace-nav>li:nth-last-child(4)>.dropdown-menu.pull-right:before,.ace-nav>li:nth-last-child(4)>.dropdown-menu.pull-right:after{right:100px}.ace-nav>li:nth-last-child(3)>.dropdown-menu.pull-right{right:-40px}.ace-nav>li:nth-last-child(3)>.dropdown-menu.pull-right:before,.ace-nav>li:nth-last-child(3)>.dropdown-menu.pull-right:after{right:60px}.user-menu.dropdown-close.pull-right{right:0!important}}@media only screen and (max-width:480px){.ace-nav>li:nth-last-child(4)>.dropdown-menu.pull-right{right:-120px}.ace-nav>li:nth-last-child(4)>.dropdown-menu.pull-right:before,.ace-nav>li:nth-last-child(4)>.dropdown-menu.pull-right:after{right:140px}.ace-nav>li:nth-last-child(3)>.dropdown-menu.pull-right{right:-80px}.ace-nav>li:nth-last-child(3)>.dropdown-menu.pull-right:before,.ace-nav>li:nth-last-child(3)>.dropdown-menu.pull-right:after{right:100px}.ace-nav>li:nth-last-child(2)>.dropdown-menu.pull-right{right:-50px}.ace-nav>li:nth-last-child(2)>.dropdown-menu.pull-right:before,.ace-nav>li:nth-last-child(2)>.dropdown-menu.pull-right:after{right:70px}}@media only screen and (max-width:460px){.ace-nav>li:nth-last-child(4)>.dropdown-menu.pull-right{left:-5px;right:auto}.ace-nav>li:nth-last-child(4)>.dropdown-menu.pull-right:before,.ace-nav>li:nth-last-child(4)>.dropdown-menu.pull-right:after{right:auto;left:25px}.ace-nav>li:nth-last-child(3)>.dropdown-menu.pull-right{left:-60px;right:auto}.ace-nav>li:nth-last-child(3)>.dropdown-menu.pull-right:before,.ace-nav>li:nth-last-child(3)>.dropdown-menu.pull-right:after{left:80px;right:auto}.ace-nav>li:nth-last-child(2)>.dropdown-menu.pull-right{left:-110px;right:auto}.ace-nav>li:nth-last-child(2)>.dropdown-menu.pull-right:before,.ace-nav>li:nth-last-child(2)>.dropdown-menu.pull-right:after{left:130px;right:auto}}@media only screen and (max-width:460px){.navbar .navbar-header.pull-left{display:block;float:none!important}.navbar .navbar-header.pull-right{display:block;float:none!important}.ace-nav{display:block;float:none!important;text-align:center;background-color:#404040;border:1px solid #DDD;border-width:1px 0;letter-spacing:-3px}.ace-nav>li{display:inline-block;float:none!important;text-align:left;letter-spacing:normal}.ace-nav>li:first-child{border-left:1px solid #DDD}.ace-nav>li:last-child{border-right:1px solid #DDD}}@media only screen and (max-width:320px){.ace-nav>li>a{padding:0 5px!important}}.user-menu>li>a{padding:4px 12px}.user-menu>li>a>[class*="icon-"]{margin-right:6px;font-size:120%}.user-info{max-width:100px;display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;vertical-align:top;line-height:15px;position:relative;top:6px}.user-info small{display:block}@media(min-width:461px) and (max-width:480px),(max-width:360px){.user-menu{padding-top:42px!important}.ace-nav .nav-user-photo{margin-right:0}.user-info{position:absolute!important;margin-top:40px;margin-left:1px;right:2px;z-index:1032;color:#777;font-size:14px;width:156px;max-width:156px;padding-left:8px;padding-right:8px;height:32px;line-height:26px!important;display:none;border-bottom:1px solid #e5e5e5;text-align:center;vertical-align:none;line-height:normal}.user-info>small{display:inline;opacity:1}li.open .user-info{display:inline-block}}.breadcrumbs{position:relative;border-bottom:1px solid #e5e5e5;background-color:#f5f5f5;min-height:41px;line-height:40px;padding:0 12px 0 0;display:block}.breadcrumbs.fixed,.breadcrumbs.breadcrumbs-fixed{position:fixed;right:0;left:190px;top:45px;z-index:1028}.breadcrumb{background-color:transparent;display:inline-block;line-height:24px;margin:0 22px 0 12px;padding:0;font-size:13px;color:#333;border-radius:0}.breadcrumb>li,.breadcrumb>li.active{color:#555}.breadcrumb>li>a{display:inline-block;padding:0 4px;color:#4c8fbd}.breadcrumb>li+li:before{font-family:FontAwesome;font-size:14px;content:"\f105";color:#b2b6bf;margin-right:2px;padding:0 5px 0 2px;position:relative;top:1px}.breadcrumb .home-icon{margin-left:4px;margin-right:2px;font-size:20px;position:relative;top:2px}@media only screen and (max-width:991px){.breadcrumb{margin-left:90px}.breadcrumbs.fixed,.breadcrumbs.breadcrumbs-fixed{position:relative!important;left:auto!important;right:auto!important;top:auto!important;z-index:auto!important}body.breadcrumbs-fixed .ace-settings-container{top:50px}}@media only screen and (max-width:480px){.breadcrumb>li>a{padding:0 1px}}@media only screen and (max-width:320px){.breadcrumb{margin-left:36px}}.container.main-container .breadcrumbs.breadcrumbs-fixed{left:auto!important;right:auto!important}@media(min-width:768px){.container.main-container .breadcrumbs.breadcrumbs-fixed{width:554px}.container.main-container .menu-min+.main-content .breadcrumbs.breadcrumbs-fixed{width:701px}}@media(min-width:992px){.container.main-container .breadcrumbs.breadcrumbs-fixed{width:774px}.container.main-container .menu-min+.main-content .breadcrumbs.breadcrumbs-fixed{width:921px}}@media(min-width:1200px){.container.main-container .breadcrumbs.breadcrumbs-fixed{width:974px}.container.main-container .menu-min+.main-content .breadcrumbs.breadcrumbs-fixed{width:1121px}}.nav-search{position:absolute;top:6px;right:22px;line-height:24px}.nav-search .form-search{margin-bottom:0}.nav-search .nav-search-input{border:1px solid #6fb3e0;width:152px;height:28px!important;border-radius:4px!important;font-size:13px;color:#666!important;z-index:11;-webkit-transition:width ease .15s;transition:width ease .15s}.nav-search .nav-search-input+.dropdown-menu{min-width:0;left:0;right:0}.nav-search .nav-search-input:focus,.nav-search .nav-search-input:hover{border-color:#6fb3e0}.nav-search .nav-search-icon{color:#6fb3e0!important;font-size:14px!important;line-height:24px!important}.nav-search.minimized .nav-search-input{width:0;opacity:0;filter:alpha(opacity=0);max-width:0}.nav-search.minimized:hover .nav-search-input,.nav-search.minimized .nav-search-btn:active+.nav-search-input,.nav-search.minimized .nav-search-input:focus,.nav-search.minimized .nav-search-input:hover,.nav-search.minimized .nav-search-input:active{opacity:1;filter:alpha(opacity=100);width:152px;max-width:152px}.nav-search.minimized .nav-search-icon{border:1px solid;border-radius:100%;background-color:#FFF;padding:0 5px!important}.nav-search.minimized:hover .nav-search-icon,.nav-search.minimized .nav-search-input:focus ~ .nav-search-icon,.nav-search.minimized .nav-search-input:hover ~ .nav-search-icon,.nav-search.minimized .nav-search-input:active ~ .nav-search-icon{border:0;border-radius:0;padding:0 3px!important}.nav-search-icon{border:0;border-radius:0;padding:0 3px!important}.sidebar>.nav-search{position:static;background-color:#fafafa;border-bottom:1px solid #DDD;text-align:center;height:35px;padding-top:6px}.sidebar>.nav-search .nav-search-input{width:162px!important;border-radius:0!important;max-width:162px!important;opacity:1!important;filter:alpha(opacity=100)!important}.sidebar>.nav-search .nav-search-input+.dropdown-menu{text-align:left}.sidebar.menu-min .nav-search .form-search{position:absolute;left:5px;z-index:14}.sidebar.menu-min .nav-search .nav-search-input{width:0!important;max-width:0!important;opacity:0!important;filter:alpha(opacity=0)!important}.sidebar.menu-min .nav-search .nav-search-input:hover,.sidebar.menu-min .nav-search .nav-search-input:focus,.sidebar.menu-min .nav-search .nav-search-input:active{width:162px!important;max-width:162px!important;opacity:1!important;filter:alpha(opacity=100)!important}.sidebar.menu-min .nav-search .nav-search-input:hover ~ #nav-search-icon,.sidebar.menu-min .nav-search .nav-search-input:focus ~ #nav-search-icon,.sidebar.menu-min .nav-search .nav-search-input:active ~ #nav-search-icon{border:0;border-radius:0;padding:0 3px!important}.sidebar.menu-min .nav-search:hover .nav-search-input{width:162px!important;max-width:162px!important;opacity:1!important;filter:alpha(opacity=100)!important}.sidebar.menu-min .nav-search:hover .nav-search-input ~ .nav-search-icon{border:0;border-radius:0;padding:0 3px!important}.sidebar.menu-min .nav-search .nav-search-icon{border:1px solid;border-radius:32px;background-color:#FFF;padding:0 5px!important}@media only screen and (max-width:767px){.nav-search{right:5px}.nav-search .nav-search-input{width:105px}.nav-search:hover .nav-search-input,.nav-search .nav-search-btn:active+.nav-search-input,.nav-search .nav-search-input:focus,.nav-search .nav-search-input:hover,.nav-search .nav-search-input:active{width:145px}}@media only screen and (max-width:480px){.nav-search .nav-search-input{width:0;opacity:0;filter:alpha(opacity=0);max-width:0}.nav-search:hover .nav-search-input,.nav-search .nav-search-btn:active+.nav-search-input,.nav-search .nav-search-input:focus,.nav-search .nav-search-input:hover,.nav-search .nav-search-input:active{opacity:1;filter:alpha(opacity=100);width:152px;max-width:152px}.nav-search .nav-search-icon{border:1px solid;border-radius:100%;background-color:#FFF;padding:0 5px!important}.nav-search:hover .nav-search-icon,.nav-search .nav-search-input:focus ~ .nav-search-icon,.nav-search .nav-search-input:hover ~ .nav-search-icon,.nav-search .nav-search-input:active ~ .nav-search-icon{border:0;border-radius:0;padding:0 3px!important}}.sidebar{width:190px;float:left;position:relative;border:1px solid #ccc;border-width:0 1px 0 0;background-color:#f2f2f2}.sidebar:before{content:"";display:block;width:190px;position:fixed;bottom:0;top:0;z-index:-1;background-color:#f2f2f2;border:1px solid #ccc;border-width:0 1px 0 0}.sidebar.fixed,.sidebar.sidebar-fixed{position:fixed;z-index:1029;top:45px;left:0}.sidebar.fixed:before,.sidebar.sidebar-fixed:before{left:0;right:auto}li [class^="icon-"],li [class*=" icon-"],.nav-list li [class^="icon-"],.nav-list li [class*=" icon-"]{width:auto}.nav-list{margin:0;padding:0;list-style:none}.nav-list .open>a,.nav-list .open>a:hover,.nav-list .open>a:focus{background-color:#fafafa}.nav-list>li>a,.nav-list .nav-header{margin:0}.nav-list>li{display:block;padding:0;margin:0;border:0;border-top:1px solid #fcfcfc;border-bottom:1px solid #e5e5e5;position:relative}.nav-list>li:first-child{border-top:0}.nav-list li>a:focus{outline:0}.nav-list>li>a{display:block;height:38px;line-height:36px;padding:0 16px 0 7px;background-color:#f9f9f9;color:#585858;text-shadow:none!important;font-size:13px;text-decoration:none}.nav-list>li>a>[class*="icon-"]:first-child{display:inline-block;vertical-align:middle;min-width:30px;text-align:center;font-size:18px;font-weight:normal;margin-right:2px}.nav-list>li>a:focus{background-color:#f9f9f9;color:#1963aa}.nav-list>li>a:hover{background-color:#FFF;color:#1963aa}.nav-list>li>a:hover:before{display:block;content:"";position:absolute;top:-1px;bottom:0;left:0;width:3px;max-width:3px;overflow:hidden;background-color:#3382af}.nav-list>li a>.arrow{display:inline-block;width:14px!important;height:14px;line-height:14px;text-shadow:none;font-size:18px;position:absolute;right:11px;top:11px;padding:0;color:#666}.nav-list>li a:hover>.arrow,.nav-list>li.active>a>.arrow,.nav-list>li.open>a>.arrow{color:#1963aa}.nav-list>li.separator{height:3px;background-color:transparent;position:static;margin:1px 0;-webkit-box-shadow:none;box-shadow:none}.nav-list>li.open>a{background-color:#fafafa;color:#1963aa}.nav-list>li.active{background-color:#fff}.nav-list>li.active>a,.nav-list>li.active>a:hover,.nav-list>li.active>a:focus,.nav-list>li.active>a:active{background-color:#fff;color:#2b7dbc;font-weight:bold;font-size:13px}.nav-list>li.active>a>[class*="icon-"]{font-weight:normal}.nav-list>li.active>a:hover:before{display:none}.nav-list>li.active:after{display:inline-block;content:"";position:absolute;right:-2px;top:-1px;bottom:0;z-index:1;border:2px solid #2b7dbc;border-width:0 2px 0 0}.nav-list>li.open{border-bottom-color:#e5e5e5}.nav-list>li.active .submenu{display:block}.nav-list>li .submenu{display:none;list-style:none;margin:0;padding:0;position:relative;background-color:#fff;border-top:1px solid #e5e5e5}.nav-list>li .submenu>li{margin-left:0;position:relative}.nav-list>li .submenu>li>a{display:block;position:relative;color:#616161;padding:7px 0 9px 37px;margin:0;border-top:1px dotted #e4e4e4}.nav-list>li .submenu>li>a:focus{text-decoration:none}.nav-list>li .submenu>li>a:hover{text-decoration:none;color:#4b88b7}.nav-list>li .submenu>li.active>a{color:#2b7dbc}.nav-list>li .submenu>li a>[class*="icon-"]:first-child{display:none;font-size:12px;font-weight:normal;width:18px;height:auto;line-height:12px;text-align:center;position:absolute;left:10px;top:11px;z-index:1;background-color:#FFF}.nav-list>li .submenu>li.active>a>[class*="icon-"]:first-child,.nav-list>li .submenu>li:hover>a>[class*="icon-"]:first-child{display:inline-block}.nav-list>li .submenu>li.active>a>[class*="icon-"]:first-child{color:#c86139}.nav-list>li>.submenu>li:before{content:"";display:inline-block;position:absolute;width:7px;left:20px;top:17px;border-top:1px dotted #9dbdd6}.nav-list>li>.submenu>li:first-child>a{border-top:1px solid #fafafa}.nav-list>li>.submenu:before{content:"";display:block;position:absolute;z-index:1;left:18px;top:0;bottom:0;border:1px dotted #9dbdd6;border-width:0 0 0 1px}.nav-list>li.active>.submenu>li:before{border-top-color:#8eb3d0}.nav-list>li.active>.submenu:before{border-left-color:#8eb3d0}.nav-list li .submenu{overflow:hidden}.nav-list li.active>a:after{display:block;content:"";position:absolute!important;right:0;top:4px;border:8px solid transparent;border-width:14px 10px;border-right-color:#2b7dbc}.nav-list li.open>a:after{display:none}.nav-list li.active.open>.submenu>li.active.open>a.dropdown-toggle:after{display:none}.nav-list li.active>.submenu>li.active>a:after{display:none}.nav-list li.active.open>.submenu>li.active>a:after{display:block}.nav-list li.active.no-active-child>a:after{display:inline-block!important}.nav-list a .badge,.nav-list a .label{font-size:12px;padding-left:6px;padding-right:6px;position:absolute;top:9px;right:11px;opacity:.88}.nav-list a .badge [class*="icon-"],.nav-list a .label [class*="icon-"]{vertical-align:middle;margin:0}.nav-list a.dropdown-toggle .badge,.nav-list a.dropdown-toggle .label{right:28px}.nav-list a:hover .badge,.nav-list a:hover .label{opacity:1}.nav-list .submenu .submenu a .badge,.nav-list .submenu .submenu a .label{top:6px}.sidebar-collapse{border-bottom:1px solid #e0e0e0;background-color:#f3f3f3;text-align:center;padding:3px 0;position:relative}.sidebar-collapse>[class*="icon-"]{display:inline-block;cursor:pointer;font-size:14px;color:#aaa;border:1px solid #bbb;padding:0 5px;line-height:18px;border-radius:16px;background-color:#fff;position:relative}.sidebar-collapse:before{content:"";display:inline-block;height:0;border-top:1px solid #e0e0e0;position:absolute;left:15px;right:15px;top:13px}.sidebar-shortcuts{background-color:#fafafa;border-bottom:1px solid #ddd;text-align:center;line-height:39px;max-height:41px;margin-bottom:0}.sidebar-shortcuts-large{padding-bottom:4px}.sidebar-shortcuts-large>.btn{width:41px;line-height:24px;margin-top:-2px;padding:0;border-width:4px;text-align:center}.sidebar-shortcuts-large>.btn>[class*="icon-"]{margin:0}.sidebar-shortcuts-mini{display:none;font-size:0;width:42px;line-height:18px;padding-top:2px;padding-bottom:2px;background-color:#fff}.sidebar-shortcuts-mini>.btn{border-width:0!important;font-size:0;line-height:0;padding:8px!important;margin:0 1px;border-radius:0!important;opacity:.85;filter:alpha(opacity=85)}@media screen and (-webkit-min-device-pixel-ratio:0){::safari-only,.sidebar-shortcuts-mini>.btn{margin:0}}.nav-list>li>.submenu li>.submenu{border-top:0;background-color:transparent;display:none}.nav-list>li>.submenu li.active>.submenu{display:block}.nav-list>li>.submenu a>.arrow{right:11px;top:10px;font-size:16px;color:#6b828e}.nav-list>li>.submenu .open>a,.nav-list>li>.submenu .open>a:hover,.nav-list>li>.submenu .open>a:focus{background-color:transparent;border-color:#e4e4e4}.nav-list>li>.submenu li>.submenu>li>a>.arrow{right:12px;top:9px}.nav-list>li>.submenu li>.submenu>li{line-height:16px}.nav-list>li>.submenu li>.submenu>li:before{display:none}.nav-list>li>.submenu li>.submenu>li>a{margin-left:20px;padding-left:22px}.nav-list>li>.submenu li>.submenu>li>.submenu>li>a{margin-left:20px;padding-left:38px}.nav-list>li>.submenu li>.submenu>li a>[class*="icon-"]:first-child{display:inline-block;color:inherit;font-size:14px;position:static;background-color:transparent;margin-right:1px}.nav-list>li>.submenu li>.submenu>li a{font-size:13px;color:#777}.nav-list>li>.submenu li>.submenu>li a:hover{color:#316292;text-decoration:underline}.nav-list>li>.submenu li>.submenu>li a:hover [class*="icon-"]{text-decoration:none;color:#316292}.nav-list>li>.submenu li.open>a{color:#25639e}.nav-list>li>.submenu li.open>a>[class*="icon-"]:first-child{display:inline-block}.nav-list>li>.submenu li.open>a .arrow{color:#25639e}.nav-list>li>.submenu li>.submenu li.open>a{color:#25639e}.nav-list>li>.submenu li>.submenu li.open>a>[class*="icon-"]:first-child{display:inline-block;color:#1963aa}.nav-list>li>.submenu li>.submenu li.open>a .arrow{color:#25639e}.nav-list>li>.submenu li>.submenu li.active>a{color:#347cb3}.nav-list>li>.submenu li>.submenu li.active>a>[class*="icon-"]:first-child{display:inline-block;color:#347cb3}.nav-list>li.active.open li.active>a:after{top:2px;border-width:14px 8px}.nav-list>li.active.open li.active.open li.active>a:after{top:0}.menu-min.sidebar{width:43px}.menu-min.sidebar:before{width:43px}.menu-min.sidebar+.main-content{margin-left:43px}.menu-min.sidebar+.main-content .breadcrumbs.fixed,.menu-min.sidebar+.main-content .breadcrumbs.breadcrumbs-fixed{left:43px}.menu-min .nav-list a .badge,.menu-min .nav-list a .label{position:relative;top:-1px;right:auto;left:4px}.menu-min .nav-list .submenu .submenu a .badge,.menu-min .nav-list .submenu .submenu a .label{top:0}.menu-min .nav-list>li>a{position:relative}.menu-min .nav-list>li>a>.menu-text{display:none;position:absolute;left:42px;top:-2px;width:174px;height:40px;line-height:38px;background-color:#f5f5f5;z-index:121;-webkit-box-shadow:2px 1px 2px 0 rgba(0,0,0,0.2);box-shadow:2px 1px 2px 0 rgba(0,0,0,0.2);border:1px solid #ccc;padding-left:12px}.menu-min .nav-list>li>a.dropdown-toggle>.menu-text{-webkit-box-shadow:none;box-shadow:none;border:0;top:-1px;left:43px;width:174px;border-bottom:1px solid #ddd}.menu-min .nav-list>li>a .arrow{display:none}.menu-min .nav-list>li>a:hover:before{width:2px}.menu-min .nav-list>li:hover>a{color:#1963aa}.menu-min .nav-list>li:hover>a>.menu-text{display:block}.menu-min .nav-list>li.active>a>.menu-text{border-left-color:#1963aa}.menu-min .nav-list>li.open>a{background-color:#fafafa;color:#585858}.menu-min .nav-list>li.open.active>a{background-color:#fff}.menu-min .nav-list>li.open:hover>a{color:#1963aa}.menu-min .nav-list>li.active>a{color:#2b7dbc}.menu-min .nav-list>li.active>a:after{border-width:10px 6px;top:8px}.menu-min .nav-list>li.active.open>a:after{display:block}.menu-min .nav-list>li.active.open li.active>a:after{display:none}.menu-min .nav-list>li>.submenu{background:#fff;position:absolute;z-index:120;left:42px;top:-2px;width:176px;border:1px solid #ccc;-webkit-box-shadow:2px 1px 2px 0 rgba(0,0,0,0.2);box-shadow:2px 1px 2px 0 rgba(0,0,0,0.2);padding-top:40px;padding-bottom:2px;display:none!important}.menu-min .nav-list>li>.submenu:before{display:none}.menu-min .nav-list>li>.submenu li:before{display:none}.menu-min .nav-list>li>.submenu li>a{margin-left:0;padding-left:24px}.menu-min .nav-list>li>.submenu li>a>[class*="icon-"]:first-child{left:4px}.menu-min .nav-list>li:hover>.submenu{display:block!important}.menu-min .nav-list>li.active>.submenu{border-left-color:#2b7dbc}.menu-min .sidebar-shortcuts{position:relative}.menu-min .sidebar-shortcuts-mini{display:block}.menu-min .sidebar-shortcuts-large{display:none;position:absolute;z-index:20;top:-1px;left:42px;width:182px;padding:0 2px 1px;background-color:#fff;-webkit-box-shadow:2px 1px 2px 0 rgba(0,0,0,0.2);box-shadow:2px 1px 2px 0 rgba(0,0,0,0.2);border:1px solid #ccc}.menu-min .sidebar-shortcuts:hover .sidebar-shortcuts-large{display:block}.menu-min .sidebar-collapse:before{left:5px;right:5px}.menu-min .sidebar-collapse>[class*="icon-"]{font-size:13px;padding:0 4px;line-height:15px;border-width:1px;border-color:#aeaeae}.menu-min .nav-list>li>.submenu li>.submenu>li>a{margin-left:0;padding-left:30px}.menu-min .nav-list>li>.submenu li>.submenu>li>.submenu>li>a{margin-left:0;padding-left:45px}.menu-min .nav-list>li>.submenu li.active>a:after{display:none}.menu-min .nav-list li.active.open>.submenu>li.active>a:after{display:none}.menu-toggler{display:none}@media only screen and (max-width:991px){.sidebar:before{display:none}.sidebar{display:none;float:none;position:absolute;z-index:999;left:0;bottom:auto;top:auto!important;margin-top:40px;border:1px solid #CCC;border-left-width:0;box-shadow:2px 1px 2px 0 rgba(0,0,0,0.2)}.sidebar.display{display:block}.menu-toggler{display:inline-block;position:absolute;left:0;z-index:998;width:52px;height:32px;margin-right:2px;line-height:normal;padding-left:33px;padding-top:7px;padding-bottom:1px;font-size:13px;font-weight:bold;text-transform:uppercase;background-color:#444;color:#f3f3f3;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.menu-toggler:hover{text-decoration:none}.menu-toggler:before{border-top:1px solid #87b87f;border-bottom:1px solid #6fb3e0;height:2px;width:24px;content:"";position:absolute;z-index:11;top:13px;left:4px;-webkit-transition:all .1s ease;transition:all .1s ease;-o-transition:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.menu-toggler:after{border-top:1px solid #ffa24d;border-bottom:1px solid #d15b47;content:"";height:2px;width:24px;position:absolute;top:19px;left:4px;-webkit-transition:all .1s ease;transition:all .1s ease;-o-transition:none;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.menu-toggler.display:before{height:4px;top:8px;border-width:2px}.menu-toggler.display:after{height:4px;top:20px;border-width:2px}.menu-toggler>.menu-text{display:block;position:absolute;bottom:-18px;left:0;border:1px solid transparent;border-width:9px 42px;border-top-color:#444}.menu-toggler>.menu-text:after{display:block;color:#FFF;content:"MENU";position:absolute;left:-8px;top:-41px}.nav-list>li.active:after{display:none}.nav-list li.active>a:after{display:none}.nav-list li.active.open>.submenu>li.active>a:after{display:none}.menu-min .nav-list>li.active:after{display:block}.menu-min .nav-list>li.active>a:after{display:block}}@media only screen and (max-width:320px){.menu-toggler{width:0}.menu-toggler>.menu-text{border-width:7px 16px;bottom:-14px}.menu-toggler>.menu-text:after{font-size:9px;font-weight:normal;color:#FFF;position:absolute;left:-13px;top:-42px}.menu-toggler:before,.menu-toggler:after{margin-top:8px}.menu-toggler.display:before,.menu-toggler.display:after{height:2px;border-width:1px}.menu-toggler.display:before{top:13px}.menu-toggler.display:after{top:19px}}.btn{display:inline-block;color:#FFF!important;text-shadow:0 -1px 0 rgba(0,0,0,0.25)!important;background-image:none!important;border:5px solid #FFF;border-radius:0;box-shadow:none!important;-webkit-transition:all ease .15s;transition:all ease .15s;cursor:pointer;vertical-align:middle;margin:0;position:relative}.btn-lg{border-width:5px;line-height:1.35;padding:7px 16px}.btn-sm{border-width:4px;font-size:13px;padding:4px 9px;line-height:1.39}.btn-xs{border-width:3px}.btn-minier{padding:0 4px;line-height:18px;border-width:2px;font-size:12px}button.btn:active{top:1px;left:1px}.btn,.btn-default,.btn:focus,.btn-default:focus{background-color:#abbac3!important;border-color:#abbac3}.btn:hover,.btn-default:hover,.open .btn.dropdown-toggle,.open .btn-default.dropdown-toggle{background-color:#8b9aa3!important;border-color:#abbac3}.btn.no-border:hover,.btn-default.no-border:hover{border-color:#8b9aa3}.btn.no-hover:hover,.btn-default.no-hover:hover{background-color:#abbac3!important}.btn.active,.btn-default.active{background-color:#9baab3!important;border-color:#8799a4}.btn.no-border.active,.btn-default.no-border.active{background-color:#92a3ac!important;border-color:#92a3ac}.btn.disabled,.btn-default.disabled,.btn[disabled],.btn-default[disabled],fieldset[disabled] .btn,fieldset[disabled] .btn-default,.btn.disabled:hover,.btn-default.disabled:hover,.btn[disabled]:hover,.btn-default[disabled]:hover,fieldset[disabled] .btn:hover,fieldset[disabled] .btn-default:hover,.btn.disabled:focus,.btn-default.disabled:focus,.btn[disabled]:focus,.btn-default[disabled]:focus,fieldset[disabled] .btn:focus,fieldset[disabled] .btn-default:focus,.btn.disabled:active,.btn-default.disabled:active,.btn[disabled]:active,.btn-default[disabled]:active,fieldset[disabled] .btn:active,fieldset[disabled] .btn-default:active,.btn.disabled.active,.btn-default.disabled.active,.btn[disabled].active,.btn-default[disabled].active,fieldset[disabled] .btn.active,fieldset[disabled] .btn-default.active{background-color:#abbac3!important;border-color:#abbac3}.btn-primary,.btn-primary:focus{background-color:#428bca!important;border-color:#428bca}.btn-primary:hover,.open .btn-primary.dropdown-toggle{background-color:#1b6aaa!important;border-color:#428bca}.btn-primary.no-border:hover{border-color:#1b6aaa}.btn-primary.no-hover:hover{background-color:#428bca!important}.btn-primary.active{background-color:#2f7bba!important;border-color:#27689d}.btn-primary.no-border.active{background-color:#2b72ae!important;border-color:#2b72ae}.btn-primary.disabled,.btn-primary[disabled],fieldset[disabled] .btn-primary,.btn-primary.disabled:hover,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary:hover,.btn-primary.disabled:focus,.btn-primary[disabled]:focus,fieldset[disabled] .btn-primary:focus,.btn-primary.disabled:active,.btn-primary[disabled]:active,fieldset[disabled] .btn-primary:active,.btn-primary.disabled.active,.btn-primary[disabled].active,fieldset[disabled] .btn-primary.active{background-color:#428bca!important;border-color:#428bca}.btn-info,.btn-info:focus{background-color:#6fb3e0!important;border-color:#6fb3e0}.btn-info:hover,.open .btn-info.dropdown-toggle{background-color:#4f99c6!important;border-color:#6fb3e0}.btn-info.no-border:hover{border-color:#4f99c6}.btn-info.no-hover:hover{background-color:#6fb3e0!important}.btn-info.active{background-color:#5fa6d3!important;border-color:#4396cb}.btn-info.no-border.active{background-color:#539fd0!important;border-color:#539fd0}.btn-info.disabled,.btn-info[disabled],fieldset[disabled] .btn-info,.btn-info.disabled:hover,.btn-info[disabled]:hover,fieldset[disabled] .btn-info:hover,.btn-info.disabled:focus,.btn-info[disabled]:focus,fieldset[disabled] .btn-info:focus,.btn-info.disabled:active,.btn-info[disabled]:active,fieldset[disabled] .btn-info:active,.btn-info.disabled.active,.btn-info[disabled].active,fieldset[disabled] .btn-info.active{background-color:#6fb3e0!important;border-color:#6fb3e0}.btn-success,.btn-success:focus{background-color:#87b87f!important;border-color:#87b87f}.btn-success:hover,.open .btn-success.dropdown-toggle{background-color:#629b58!important;border-color:#87b87f}.btn-success.no-border:hover{border-color:#629b58}.btn-success.no-hover:hover{background-color:#87b87f!important}.btn-success.active{background-color:#75aa6c!important;border-color:#629959}.btn-success.no-border.active{background-color:#6ba462!important;border-color:#6ba462}.btn-success.disabled,.btn-success[disabled],fieldset[disabled] .btn-success,.btn-success.disabled:hover,.btn-success[disabled]:hover,fieldset[disabled] .btn-success:hover,.btn-success.disabled:focus,.btn-success[disabled]:focus,fieldset[disabled] .btn-success:focus,.btn-success.disabled:active,.btn-success[disabled]:active,fieldset[disabled] .btn-success:active,.btn-success.disabled.active,.btn-success[disabled].active,fieldset[disabled] .btn-success.active{background-color:#87b87f!important;border-color:#87b87f}.btn-warning,.btn-warning:focus{background-color:#ffb752!important;border-color:#ffb752}.btn-warning:hover,.open .btn-warning.dropdown-toggle{background-color:#e59729!important;border-color:#ffb752}.btn-warning.no-border:hover{border-color:#e59729}.btn-warning.no-hover:hover{background-color:#ffb752!important}.btn-warning.active{background-color:#f2a73e!important;border-color:#f0981c}.btn-warning.no-border.active{background-color:#f1a02f!important;border-color:#f1a02f}.btn-warning.disabled,.btn-warning[disabled],fieldset[disabled] .btn-warning,.btn-warning.disabled:hover,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning:hover,.btn-warning.disabled:focus,.btn-warning[disabled]:focus,fieldset[disabled] .btn-warning:focus,.btn-warning.disabled:active,.btn-warning[disabled]:active,fieldset[disabled] .btn-warning:active,.btn-warning.disabled.active,.btn-warning[disabled].active,fieldset[disabled] .btn-warning.active{background-color:#ffb752!important;border-color:#ffb752}.btn-danger,.btn-danger:focus{background-color:#d15b47!important;border-color:#d15b47}.btn-danger:hover,.open .btn-danger.dropdown-toggle{background-color:#b74635!important;border-color:#d15b47}.btn-danger.no-border:hover{border-color:#b74635}.btn-danger.no-hover:hover{background-color:#d15b47!important}.btn-danger.active{background-color:#c4513e!important;border-color:#aa4434}.btn-danger.no-border.active{background-color:#ba4b39!important;border-color:#ba4b39}.btn-danger.disabled,.btn-danger[disabled],fieldset[disabled] .btn-danger,.btn-danger.disabled:hover,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger:hover,.btn-danger.disabled:focus,.btn-danger[disabled]:focus,fieldset[disabled] .btn-danger:focus,.btn-danger.disabled:active,.btn-danger[disabled]:active,fieldset[disabled] .btn-danger:active,.btn-danger.disabled.active,.btn-danger[disabled].active,fieldset[disabled] .btn-danger.active{background-color:#d15b47!important;border-color:#d15b47}.btn-inverse,.btn-inverse:focus{background-color:#555!important;border-color:#555}.btn-inverse:hover,.open .btn-inverse.dropdown-toggle{background-color:#303030!important;border-color:#555}.btn-inverse.no-border:hover{border-color:#303030}.btn-inverse.no-hover:hover{background-color:#555!important}.btn-inverse.active{background-color:#434343!important;border-color:#313131}.btn-inverse.no-border.active{background-color:#3b3b3b!important;border-color:#3b3b3b}.btn-inverse.disabled,.btn-inverse[disabled],fieldset[disabled] .btn-inverse,.btn-inverse.disabled:hover,.btn-inverse[disabled]:hover,fieldset[disabled] .btn-inverse:hover,.btn-inverse.disabled:focus,.btn-inverse[disabled]:focus,fieldset[disabled] .btn-inverse:focus,.btn-inverse.disabled:active,.btn-inverse[disabled]:active,fieldset[disabled] .btn-inverse:active,.btn-inverse.disabled.active,.btn-inverse[disabled].active,fieldset[disabled] .btn-inverse.active{background-color:#555!important;border-color:#555}.btn-pink,.btn-pink:focus{background-color:#d6487e!important;border-color:#d6487e}.btn-pink:hover,.open .btn-pink.dropdown-toggle{background-color:#b73766!important;border-color:#d6487e}.btn-pink.no-border:hover{border-color:#b73766}.btn-pink.no-hover:hover{background-color:#d6487e!important}.btn-pink.active{background-color:#c74072!important;border-color:#af3462}.btn-pink.no-border.active{background-color:#be386a!important;border-color:#be386a}.btn-pink.disabled,.btn-pink[disabled],fieldset[disabled] .btn-pink,.btn-pink.disabled:hover,.btn-pink[disabled]:hover,fieldset[disabled] .btn-pink:hover,.btn-pink.disabled:focus,.btn-pink[disabled]:focus,fieldset[disabled] .btn-pink:focus,.btn-pink.disabled:active,.btn-pink[disabled]:active,fieldset[disabled] .btn-pink:active,.btn-pink.disabled.active,.btn-pink[disabled].active,fieldset[disabled] .btn-pink.active{background-color:#d6487e!important;border-color:#d6487e}.btn-purple,.btn-purple:focus{background-color:#9585bf!important;border-color:#9585bf}.btn-purple:hover,.open .btn-purple.dropdown-toggle{background-color:#7461aa!important;border-color:#9585bf}.btn-purple.no-border:hover{border-color:#7461aa}.btn-purple.no-hover:hover{background-color:#9585bf!important}.btn-purple.active{background-color:#8573b5!important;border-color:#705ca8}.btn-purple.no-border.active{background-color:#7c69af!important;border-color:#7c69af}.btn-purple.disabled,.btn-purple[disabled],fieldset[disabled] .btn-purple,.btn-purple.disabled:hover,.btn-purple[disabled]:hover,fieldset[disabled] .btn-purple:hover,.btn-purple.disabled:focus,.btn-purple[disabled]:focus,fieldset[disabled] .btn-purple:focus,.btn-purple.disabled:active,.btn-purple[disabled]:active,fieldset[disabled] .btn-purple:active,.btn-purple.disabled.active,.btn-purple[disabled].active,fieldset[disabled] .btn-purple.active{background-color:#9585bf!important;border-color:#9585bf}.btn-grey,.btn-grey:focus{background-color:#a0a0a0!important;border-color:#a0a0a0}.btn-grey:hover,.open .btn-grey.dropdown-toggle{background-color:#888!important;border-color:#a0a0a0}.btn-grey.no-border:hover{border-color:#888}.btn-grey.no-hover:hover{background-color:#a0a0a0!important}.btn-grey.active{background-color:#949494!important;border-color:#828282}.btn-grey.no-border.active{background-color:#8c8c8c!important;border-color:#8c8c8c}.btn-grey.disabled,.btn-grey[disabled],fieldset[disabled] .btn-grey,.btn-grey.disabled:hover,.btn-grey[disabled]:hover,fieldset[disabled] .btn-grey:hover,.btn-grey.disabled:focus,.btn-grey[disabled]:focus,fieldset[disabled] .btn-grey:focus,.btn-grey.disabled:active,.btn-grey[disabled]:active,fieldset[disabled] .btn-grey:active,.btn-grey.disabled.active,.btn-grey[disabled].active,fieldset[disabled] .btn-grey.active{background-color:#a0a0a0!important;border-color:#a0a0a0}.btn-yellow{color:#963!important;text-shadow:0 -1px 0 rgba(255,255,255,0.4)!important}.btn-yellow,.btn-yellow:focus{background-color:#fee188!important;border-color:#fee188}.btn-yellow:hover,.open .btn-yellow.dropdown-toggle{background-color:#f7d05b!important;border-color:#fee188}.btn-yellow.no-border:hover{border-color:#f7d05b}.btn-yellow.no-hover:hover{background-color:#fee188!important}.btn-yellow.active{background-color:#fbd972!important;border-color:#f9cf4f}.btn-yellow.no-border.active{background-color:#fad463!important;border-color:#fad463}.btn-yellow.disabled,.btn-yellow[disabled],fieldset[disabled] .btn-yellow,.btn-yellow.disabled:hover,.btn-yellow[disabled]:hover,fieldset[disabled] .btn-yellow:hover,.btn-yellow.disabled:focus,.btn-yellow[disabled]:focus,fieldset[disabled] .btn-yellow:focus,.btn-yellow.disabled:active,.btn-yellow[disabled]:active,fieldset[disabled] .btn-yellow:active,.btn-yellow.disabled.active,.btn-yellow[disabled].active,fieldset[disabled] .btn-yellow.active{background-color:#fee188!important;border-color:#fee188}.btn-light{color:#888!important;text-shadow:0 -1px 0 rgba(250,250,250,0.25)!important}.btn-light,.btn-light:focus{background-color:#e7e7e7!important;border-color:#e7e7e7}.btn-light:hover,.open .btn-light.dropdown-toggle{background-color:#d9d9d9!important;border-color:#e7e7e7}.btn-light.no-border:hover{border-color:#d9d9d9}.btn-light.no-hover:hover{background-color:#e7e7e7!important}.btn-light.active{background-color:#e0e0e0!important;border-color:#cecece}.btn-light.no-border.active{background-color:#d8d8d8!important;border-color:#d8d8d8}.btn-light.disabled,.btn-light[disabled],fieldset[disabled] .btn-light,.btn-light.disabled:hover,.btn-light[disabled]:hover,fieldset[disabled] .btn-light:hover,.btn-light.disabled:focus,.btn-light[disabled]:focus,fieldset[disabled] .btn-light:focus,.btn-light.disabled:active,.btn-light[disabled]:active,fieldset[disabled] .btn-light:active,.btn-light.disabled.active,.btn-light[disabled].active,fieldset[disabled] .btn-light.active{background-color:#e7e7e7!important;border-color:#e7e7e7}.btn-light.btn-xs:after{left:-2px;right:-2px;top:-2px;bottom:-2px}.btn-light.btn-sm:after{left:-4px;right:-4px;top:-4px;bottom:-4px}.btn-light.btn-large:after{left:-6px;right:-6px;top:-6px;bottom:-6px}.btn.btn-white{border-width:1px;border-color:#CCC;color:#444!important;text-shadow:none!important;background-color:#FFF!important}.btn.btn-white:hover,.btn.btn-white:focus{background-color:#ebebeb!important}.btn.btn-white.no-border{border-color:#CCC}.btn.disabled.active,.btn[disabled].active,.btn.disabled:focus,.btn[disabled]:focus,.btn.disabled:active,.btn[disabled]:active{outline:0}.btn.disabled:active,.btn[disabled]:active{top:0;left:0}.btn.active{color:#efe5b5}.btn.active:after{display:inline-block;content:"";position:absolute;border-bottom:1px solid #efe5b5;left:-4px;right:-4px;bottom:-4px}.btn.active.btn-sm:after{left:-3px;right:-3px;bottom:-3px}.btn.active.btn-large:after{left:-5px;right:-5px;bottom:-5px}.btn.active.btn-xs:after,.btn.active.btn-minier:after{left:-1px;right:-1px;bottom:-2px}.btn.active.btn-minier:after{bottom:-1px}.btn.active.btn-yellow:after{border-bottom-color:#c96338}.btn.active.btn-light{color:#515151}.btn.active.btn-light:after{border-bottom-color:#b5b5b5}.btn>[class*="icon-"]{display:inline;margin-right:4px}.btn>[class*="icon-"].icon-on-right{margin-right:0;margin-left:4px}.btn>.icon-only[class*="icon-"]{margin:0;vertical-align:middle;text-align:center;padding:0}.btn-large>[class*="icon-"]{margin-right:6px}.btn-large>[class*="icon-"].icon-on-right{margin-right:0;margin-left:6px}.btn-sm>[class*="icon-"]{margin-right:3px}.btn-sm>[class*="icon-"].icon-on-right{margin-right:0;margin-left:3px}.btn-xs>[class*="icon-"],.btn-minier>[class*="icon-"]{margin-right:2px}.btn-xs>[class*="icon-"].icon-on-right,.btn-minier>[class*="icon-"].icon-on-right{margin-right:0;margin-left:2px}.btn.btn-link{border:none!important;background:transparent none!important;color:#08c!important;text-shadow:none!important;padding:4px 12px!important;line-height:20px!important}.btn.btn-link:hover{background:none!important;text-shadow:none!important}.btn.btn-link.active{background:none!important;text-decoration:underline;color:#009ceb!important}.btn.btn-link.active:after{display:none}.btn.btn-link.disabled,.btn.btn-link[disabled]{background:0;opacity:.65;filter:alpha(opacity=65)}.btn.btn-link.disabled:hover,.btn.btn-link[disabled]:hover{background:none!important;text-decoration:none!important}.btn.btn-no-border{border-width:0!important}.btn-group>.btn,.btn-group>.btn+.btn{margin:0 1px 0 0}.btn-group>.btn:first-child{margin:0 1px 0 0}.btn-group>.btn:first-child,.btn-group>.btn:last-child{border-radius:0}.btn-group>.btn>.caret{margin-top:15px;margin-left:1px;border-width:5px;border-top-color:#FFF}.btn-group>.btn.btn-sm>.caret{margin-top:10px;border-width:4px}.btn-group>.btn.btn-large>.caret{margin-top:18px;border-width:6px}.btn-group>.btn.btn-xs>.caret{margin-top:9px;border-width:4px}.btn-group>.btn.btn-minier>.caret{margin-top:7px;border-width:3px}.btn-group>.btn+.btn.dropdown-toggle{padding-right:3px;padding-left:3px}.btn-group>.btn+.btn-large.dropdown-toggle{padding-right:4px;padding-left:4px}.btn-group .dropdown-toggle{border-radius:0}.btn-group>.btn,.btn-group+.btn{margin:0 1px 0 0;border-width:3px}.btn-group>.btn.active:after,.btn-group+.btn.active:after{left:-2px;right:-2px;bottom:-2px;border-bottom-width:1px}.btn-group>.btn-large,.btn-group+.btn-large{border-width:4px}.btn-group>.btn-large.active:after,.btn-group+.btn-large.active:after{left:-3px;right:-3px;bottom:-3px;border-bottom-width:1px}.btn-group>.btn-sm,.btn-group+.btn-sm{border-width:2px}.btn-group>.btn-sm.active:after,.btn-group+.btn-sm.active:after{left:-1px;right:-1px;bottom:-1px;border-bottom-width:1px}.btn-group>.btn-xs,.btn-group+.btn-xs{border-width:1px}.btn-group>.btn-xs.active:after,.btn-group+.btn-xs.active:after{left:0;right:0;bottom:0;border-bottom-width:1px}.btn-group>.btn-minier,.btn-group+.btn-minier{border-width:1px}.btn-group>.btn-minier.active:after,.btn-group+.btn-minier.active:after{left:0;right:0;bottom:0;border-bottom-width:1px}.btn-group>.btn{border-radius:0!important}.btn-group-vertical>.btn,.btn-group-vertical>.btn+.btn{margin:1px 0 0}.btn-group-vertical>.btn:first-child{margin-right:0}.btn.btn-app{display:inline-block;width:100px;font-size:18px;font-weight:normal;color:#FFF;text-align:center;text-shadow:0 -1px -1px rgba(0,0,0,0.2)!important;border:0;border-radius:12px;padding:12px 0 8px;margin:2px;line-height:1.7;position:relative}.btn-app,.btn-app.btn-default,.btn-app.no-hover:hover,.btn-app.btn-default.no-hover:hover,.btn-app.disabled:hover,.btn-app.btn-default.disabled:hover{background:#b4c2cc!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#bcc9d5),to(#abbac3))!important;background-image:-webkit-linear-gradient(top,#bcc9d5,0%,#abbac3,100%)!important;background-image:-moz-linear-gradient(top,#bcc9d5 0,#abbac3 100%)!important;background-image:linear-gradient(to bottom,#bcc9d5 0,#abbac3 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbcc9d5',endColorstr='#ffabbac3',GradientType=0)!important}.btn-app:hover,.btn-app.btn-default:hover{background:#9baebc!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#a3b5c5),to(#93a6b2))!important;background-image:-webkit-linear-gradient(top,#a3b5c5,0%,#93a6b2,100%)!important;background-image:-moz-linear-gradient(top,#a3b5c5 0,#93a6b2 100%)!important;background-image:linear-gradient(to bottom,#a3b5c5 0,#93a6b2 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa3b5c5',endColorstr='#ff93a6b2',GradientType=0)!important}.btn-app.btn-primary,.btn-app.btn-primary.no-hover:hover,.btn-app.btn-primary.disabled:hover{background:#2a8bcc!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#3b98d6),to(#197ec1))!important;background-image:-webkit-linear-gradient(top,#3b98d6,0%,#197ec1,100%)!important;background-image:-moz-linear-gradient(top,#3b98d6 0,#197ec1 100%)!important;background-image:linear-gradient(to bottom,#3b98d6 0,#197ec1 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3b98d6',endColorstr='#ff197ec1',GradientType=0)!important}.btn-app.btn-primary:hover{background:#1d6fa6!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#267eb8),to(#136194))!important;background-image:-webkit-linear-gradient(top,#267eb8,0%,#136194,100%)!important;background-image:-moz-linear-gradient(top,#267eb8 0,#136194 100%)!important;background-image:linear-gradient(to bottom,#267eb8 0,#136194 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff267eb8',endColorstr='#ff136194',GradientType=0)!important}.btn-app.btn-info,.btn-app.btn-info.no-hover:hover,.btn-app.btn-info.disabled:hover{background:#68adde!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#75b5e6),to(#5ba4d5))!important;background-image:-webkit-linear-gradient(top,#75b5e6,0%,#5ba4d5,100%)!important;background-image:-moz-linear-gradient(top,#75b5e6 0,#5ba4d5 100%)!important;background-image:linear-gradient(to bottom,#75b5e6 0,#5ba4d5 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff75b5e6',endColorstr='#ff5ba4d5',GradientType=0)!important}.btn-app.btn-info:hover{background:#3f96d4!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#4a9ede),to(#348dc9))!important;background-image:-webkit-linear-gradient(top,#4a9ede,0%,#348dc9,100%)!important;background-image:-moz-linear-gradient(top,#4a9ede 0,#348dc9 100%)!important;background-image:linear-gradient(to bottom,#4a9ede 0,#348dc9 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4a9ede',endColorstr='#ff348dc9',GradientType=0)!important}.btn-app.btn-success,.btn-app.btn-success.no-hover:hover,.btn-app.btn-success.disabled:hover{background:#86b558!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#8ebf60),to(#7daa50))!important;background-image:-webkit-linear-gradient(top,#8ebf60,0%,#7daa50,100%)!important;background-image:-moz-linear-gradient(top,#8ebf60 0,#7daa50 100%)!important;background-image:linear-gradient(to bottom,#8ebf60 0,#7daa50 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8ebf60',endColorstr='#ff7daa50',GradientType=0)!important}.btn-app.btn-success:hover{background:#6c9842!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#74a844),to(#648740))!important;background-image:-webkit-linear-gradient(top,#74a844,0%,#648740,100%)!important;background-image:-moz-linear-gradient(top,#74a844 0,#648740 100%)!important;background-image:linear-gradient(to bottom,#74a844 0,#648740 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff74a844',endColorstr='#ff648740',GradientType=0)!important}.btn-app.btn-danger,.btn-app.btn-danger.no-hover:hover,.btn-app.btn-danger.disabled:hover{background:#d3413b!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#d55b52),to(#d12723))!important;background-image:-webkit-linear-gradient(top,#d55b52,0%,#d12723,100%)!important;background-image:-moz-linear-gradient(top,#d55b52 0,#d12723 100%)!important;background-image:linear-gradient(to bottom,#d55b52 0,#d12723 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd55b52',endColorstr='#ffd12723',GradientType=0)!important}.btn-app.btn-danger:hover{background:#b52c26!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#c43a30),to(#a51f1c))!important;background-image:-webkit-linear-gradient(top,#c43a30,0%,#a51f1c,100%)!important;background-image:-moz-linear-gradient(top,#c43a30 0,#a51f1c 100%)!important;background-image:linear-gradient(to bottom,#c43a30 0,#a51f1c 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc43a30',endColorstr='#ffa51f1c',GradientType=0)!important}.btn-app.btn-warning,.btn-app.btn-warning.no-hover:hover,.btn-app.btn-warning.disabled:hover{background:#ffb44b!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#ffbf66),to(#ffa830))!important;background-image:-webkit-linear-gradient(top,#ffbf66,0%,#ffa830,100%)!important;background-image:-moz-linear-gradient(top,#ffbf66 0,#ffa830 100%)!important;background-image:linear-gradient(to bottom,#ffbf66 0,#ffa830 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffbf66',endColorstr='#ffffa830',GradientType=0)!important}.btn-app.btn-warning:hover{background:#fe9e19!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#fa3),to(#fc9200))!important;background-image:-webkit-linear-gradient(top,#fa3,0%,#fc9200,100%)!important;background-image:-moz-linear-gradient(top,#fa3 0,#fc9200 100%)!important;background-image:linear-gradient(to bottom,#fa3 0,#fc9200 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffaa33',endColorstr='#fffc9200',GradientType=0)!important}.btn-app.btn-purple,.btn-app.btn-purple.no-hover:hover,.btn-app.btn-purple.disabled:hover{background:#9889c1!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#a696ce),to(#8a7cb4))!important;background-image:-webkit-linear-gradient(top,#a696ce,0%,#8a7cb4,100%)!important;background-image:-moz-linear-gradient(top,#a696ce 0,#8a7cb4 100%)!important;background-image:linear-gradient(to bottom,#a696ce 0,#8a7cb4 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa696ce',endColorstr='#ff8a7cb4',GradientType=0)!important}.btn-app.btn-purple:hover{background:#7b68af!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#8973be),to(#6d5ca1))!important;background-image:-webkit-linear-gradient(top,#8973be,0%,#6d5ca1,100%)!important;background-image:-moz-linear-gradient(top,#8973be 0,#6d5ca1 100%)!important;background-image:linear-gradient(to bottom,#8973be 0,#6d5ca1 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff8973be',endColorstr='#ff6d5ca1',GradientType=0)!important}.btn-app.btn-pink,.btn-app.btn-pink.no-hover:hover,.btn-app.btn-pink.disabled:hover{background:#d54c7e!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#db5e8c),to(#ce3970))!important;background-image:-webkit-linear-gradient(top,#db5e8c,0%,#ce3970,100%)!important;background-image:-moz-linear-gradient(top,#db5e8c 0,#ce3970 100%)!important;background-image:linear-gradient(to bottom,#db5e8c 0,#ce3970 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdb5e8c',endColorstr='#ffce3970',GradientType=0)!important}.btn-app.btn-pink:hover{background:#be2f64!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#d2346e),to(#aa2a59))!important;background-image:-webkit-linear-gradient(top,#d2346e,0%,#aa2a59,100%)!important;background-image:-moz-linear-gradient(top,#d2346e 0,#aa2a59 100%)!important;background-image:linear-gradient(to bottom,#d2346e 0,#aa2a59 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd2346e',endColorstr='#ffaa2a59',GradientType=0)!important}.btn-app.btn-inverse,.btn-app.btn-inverse.no-hover:hover,.btn-app.btn-inverse.disabled:hover{background:#444!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#555),to(#333))!important;background-image:-webkit-linear-gradient(top,#555,0%,#333,100%)!important;background-image:-moz-linear-gradient(top,#555 0,#333 100%)!important;background-image:linear-gradient(to bottom,#555 0,#333 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff555555',endColorstr='#ff333333',GradientType=0)!important}.btn-app.btn-inverse:hover{background:#2b2b2b!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#3b3b3b),to(#1a1a1a))!important;background-image:-webkit-linear-gradient(top,#3b3b3b,0%,#1a1a1a,100%)!important;background-image:-moz-linear-gradient(top,#3b3b3b 0,#1a1a1a 100%)!important;background-image:linear-gradient(to bottom,#3b3b3b 0,#1a1a1a 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3b3b3b',endColorstr='#ff1a1a1a',GradientType=0)!important}.btn-app.btn-grey,.btn-app.btn-grey.no-hover:hover,.btn-app.btn-grey.disabled:hover{background:#797979!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#898989),to(#696969))!important;background-image:-webkit-linear-gradient(top,#898989,0%,#696969,100%)!important;background-image:-moz-linear-gradient(top,#898989 0,#696969 100%)!important;background-image:linear-gradient(to bottom,#898989 0,#696969 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff898989',endColorstr='#ff696969',GradientType=0)!important}.btn-app.btn-grey:hover{background:#6c6c6c!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#7c7c7c),to(#5c5c5c))!important;background-image:-webkit-linear-gradient(top,#7c7c7c,0%,#5c5c5c,100%)!important;background-image:-moz-linear-gradient(top,#7c7c7c 0,#5c5c5c 100%)!important;background-image:linear-gradient(to bottom,#7c7c7c 0,#5c5c5c 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7c7c7c',endColorstr='#ff5c5c5c',GradientType=0)!important}.btn.btn-app.btn-light{color:#5a5a5a!important;text-shadow:0 1px 1px #EEE!important}.btn.btn-app.btn-light,.btn.btn-app.btn-light.no-hover:hover,.btn.btn-app.btn-light.disabled:hover{background:#ededed!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#f4f4f4),to(#e6e6e6))!important;background-image:-webkit-linear-gradient(top,#f4f4f4,0%,#e6e6e6,100%)!important;background-image:-moz-linear-gradient(top,#f4f4f4 0,#e6e6e6 100%)!important;background-image:linear-gradient(to bottom,#f4f4f4 0,#e6e6e6 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff4f4f4',endColorstr='#ffe6e6e6',GradientType=0)!important}.btn.btn-app.btn-light:hover{background:#e0e0e0!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#e7e7e7),to(#d9d9d9))!important;background-image:-webkit-linear-gradient(top,#e7e7e7,0%,#d9d9d9,100%)!important;background-image:-moz-linear-gradient(top,#e7e7e7 0,#d9d9d9 100%)!important;background-image:linear-gradient(to bottom,#e7e7e7 0,#d9d9d9 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe7e7e7',endColorstr='#ffd9d9d9',GradientType=0)!important}.btn.btn-app.btn-yellow{color:#963!important;text-shadow:0 -1px 0 rgba(255,255,255,0.4)!important}.btn.btn-app.btn-yellow,.btn.btn-app.btn-yellow.no-hover:hover,.btn.btn-app.btn-yellow.disabled:hover{background:#fee088!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#ffe8a5),to(#fcd76a))!important;background-image:-webkit-linear-gradient(top,#ffe8a5,0%,#fcd76a,100%)!important;background-image:-moz-linear-gradient(top,#ffe8a5 0,#fcd76a 100%)!important;background-image:linear-gradient(to bottom,#ffe8a5 0,#fcd76a 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffe8a5',endColorstr='#fffcd76a',GradientType=0)!important}.btn.btn-app.btn-yellow:hover{background:#fdd96e!important;background-image:-webkit-gradient(linear,left 0,left 100%,from(#ffe18b),to(#fbd051))!important;background-image:-webkit-linear-gradient(top,#ffe18b,0%,#fbd051,100%)!important;background-image:-moz-linear-gradient(top,#ffe18b 0,#fbd051 100%)!important;background-image:linear-gradient(to bottom,#ffe18b 0,#fbd051 100%)!important;background-repeat:repeat-x!important;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffe18b',endColorstr='#fffbd051',GradientType=0)!important}.btn.btn-app.btn-sm{width:80px;font-size:16px;border-radius:10px;line-height:1.5}.btn.btn-app.btn-xs{width:64px;font-size:15px;border-radius:8px;padding-bottom:7px;padding-top:8px;line-height:1.45}.btn.btn-app>[class*=icon]{display:block;font-size:42px;margin:0 0 4px;line-height:36px;min-width:0;padding:0}.btn.btn-app.btn-sm>[class*=icon]{display:block;font-size:32px;line-height:30px;margin:0 0 3px}.btn.btn-app.btn-xs>[class*=icon]{display:block;font-size:24px;line-height:24px;margin:0}.btn.btn-app.no-radius{border-radius:0}.btn.btn-app.radius-4{border-radius:4px}.btn.btn-app>.badge,.btn.btn-app>.label{position:absolute!important;top:-2px;right:-2px;padding:1px 3px;text-align:center;font-size:12px}.btn.btn-app>.badge.badge-left,.btn.btn-app>.label.badge-left,.btn.btn-app>.badge.label-left,.btn.btn-app>.label.label-left{right:auto;left:-2px}.btn.btn-app>.label{padding:1px 6px 3px;font-size:13px}.btn.btn-app.radius-4>.badge,.btn.btn-app.no-radius>.badge{border-radius:3px}.btn.btn-app.radius-4>.badge.no-radius,.btn.btn-app.no-radius>.badge.no-radius{border-radius:0}.btn.btn-app.active{color:#fff}.btn.btn-app.active:after{display:none}.btn.btn-app.active.btn-yellow{color:#963;border-color:#fee188}.btn.btn-app.active.btn-light{color:#515151}.btn.btn-app.btn-light,.btn.btn-app.btn-yellow{-webkit-box-shadow:0 0 0 1px rgba(0,0,0,0.08) inset!important;box-shadow:0 0 0 1px rgba(0,0,0,0.08) inset!important}.label{border-radius:0;text-shadow:none;font-weight:normal;display:inline-block;background-color:#abbac3!important}.label[class*="col-"][class*="arrow"]{min-height:0}@media screen and (-webkit-min-device-pixel-ratio:0){::safari-only,.label:empty{display:inline-block}::safari-only,.badge:empty{display:inline-block}}.badge{text-shadow:none;font-size:12px;padding-top:1px;padding-bottom:3px;font-weight:normal;line-height:15px;background-color:#abbac3!important}.badge.no-radius{border-radius:0}.badge.radius-1{border-radius:1px}.badge.radius-2{border-radius:2px}.badge.radius-3{border-radius:3px}.badge.radius-4{border-radius:4px}.badge.radius-5{border-radius:5px}.badge.radius-6{border-radius:6px}.label-transparent,.badge-transparent{background-color:transparent!important}.label-grey,.badge-grey{background-color:#a0a0a0!important}.label-info,.badge-info{background-color:#3a87ad!important}.label-primary,.badge-primary{background-color:#428bca!important}.label-success,.badge-success{background-color:#82af6f!important}.label-danger,.badge-danger{background-color:#d15b47!important}.label-important,.badge-important{background-color:#d15b47!important}.label-inverse,.badge-inverse{background-color:#333!important}.label-warning,.badge-warning{background-color:#f89406!important}.label-pink,.badge-pink{background-color:#d6487e!important}.label-purple,.badge-purple{background-color:#9585bf!important}.label-yellow,.badge-yellow{background-color:#fee188!important}.label-light,.badge-light{background-color:#e7e7e7!important}.badge-yellow,.label-yellow{color:#963!important;border-color:#fee188}.badge-light,.label-light{color:#888!important}.label.arrowed,.label.arrowed-in{position:relative;z-index:1}.label.arrowed:before,.label.arrowed-in:before{display:inline-block;content:"";position:absolute;top:0;z-index:-1;border:1px solid transparent;border-right-color:#abbac3}.label.arrowed-in:before{border-color:#abbac3;border-left-color:transparent!important}.label.arrowed-right,.label.arrowed-in-right{position:relative;z-index:1}.label.arrowed-right:after,.label.arrowed-in-right:after{display:inline-block;content:"";position:absolute;top:0;z-index:-1;border:1px solid transparent;border-left-color:#abbac3}.label.arrowed-in-right:after{border-color:#abbac3;border-right-color:transparent!important}.label-info.arrowed:before{border-right-color:#3a87ad}.label-info.arrowed-in:before{border-color:#3a87ad}.label-info.arrowed-right:after{border-left-color:#3a87ad}.label-info.arrowed-in-right:after{border-color:#3a87ad}.label-primary.arrowed:before{border-right-color:#428bca}.label-primary.arrowed-in:before{border-color:#428bca}.label-primary.arrowed-right:after{border-left-color:#428bca}.label-primary.arrowed-in-right:after{border-color:#428bca}.label-success.arrowed:before{border-right-color:#82af6f}.label-success.arrowed-in:before{border-color:#82af6f}.label-success.arrowed-right:after{border-left-color:#82af6f}.label-success.arrowed-in-right:after{border-color:#82af6f}.label-warning.arrowed:before{border-right-color:#f89406}.label-warning.arrowed-in:before{border-color:#f89406}.label-warning.arrowed-right:after{border-left-color:#f89406}.label-warning.arrowed-in-right:after{border-color:#f89406}.label-important.arrowed:before{border-right-color:#d15b47}.label-important.arrowed-in:before{border-color:#d15b47}.label-important.arrowed-right:after{border-left-color:#d15b47}.label-important.arrowed-in-right:after{border-color:#d15b47}.label-danger.arrowed:before{border-right-color:#d15b47}.label-danger.arrowed-in:before{border-color:#d15b47}.label-danger.arrowed-right:after{border-left-color:#d15b47}.label-danger.arrowed-in-right:after{border-color:#d15b47}.label-inverse.arrowed:before{border-right-color:#333}.label-inverse.arrowed-in:before{border-color:#333}.label-inverse.arrowed-right:after{border-left-color:#333}.label-inverse.arrowed-in-right:after{border-color:#333}.label-pink.arrowed:before{border-right-color:#d6487e}.label-pink.arrowed-in:before{border-color:#d6487e}.label-pink.arrowed-right:after{border-left-color:#d6487e}.label-pink.arrowed-in-right:after{border-color:#d6487e}.label-purple.arrowed:before{border-right-color:#9585bf}.label-purple.arrowed-in:before{border-color:#9585bf}.label-purple.arrowed-right:after{border-left-color:#9585bf}.label-purple.arrowed-in-right:after{border-color:#9585bf}.label-yellow.arrowed:before{border-right-color:#fee188}.label-yellow.arrowed-in:before{border-color:#fee188}.label-yellow.arrowed-right:after{border-left-color:#fee188}.label-yellow.arrowed-in-right:after{border-color:#fee188}.label-light.arrowed:before{border-right-color:#e7e7e7}.label-light.arrowed-in:before{border-color:#e7e7e7}.label-light.arrowed-right:after{border-left-color:#e7e7e7}.label-light.arrowed-in-right:after{border-color:#e7e7e7}.label-grey.arrowed:before{border-right-color:#a0a0a0}.label-grey.arrowed-in:before{border-color:#a0a0a0}.label-grey.arrowed-right:after{border-left-color:#a0a0a0}.label-grey.arrowed-in-right:after{border-color:#a0a0a0}.label{font-size:12px;line-height:1.15;height:20px}.label.arrowed{margin-left:5px}.label.arrowed:before{left:-10px;border-width:10px 5px}.label.arrowed-in{margin-left:5px}.label.arrowed-in:before{left:-5px;border-width:10px 5px}.label.arrowed-right{margin-right:5px}.label.arrowed-right:after{right:-10px;border-width:10px 5px}.label.arrowed-in-right{margin-right:5px}.label.arrowed-in-right:after{right:-5px;border-width:10px 5px}.label-lg{padding:.3em .6em .4em;font-size:13px;line-height:1.1;height:24px}.label-lg.arrowed{margin-left:6px}.label-lg.arrowed:before{left:-12px;border-width:12px 6px}.label-lg.arrowed-in{margin-left:6px}.label-lg.arrowed-in:before{left:-6px;border-width:12px 6px}.label-lg.arrowed-right{margin-right:6px}.label-lg.arrowed-right:after{right:-12px;border-width:12px 6px}.label-lg.arrowed-in-right{margin-right:6px}.label-lg.arrowed-in-right:after{right:-6px;border-width:12px 6px}.label-xlg{padding:.3em .7em .4em;font-size:14px;line-height:1.3;height:28px}.label-xlg.arrowed{margin-left:7px}.label-xlg.arrowed:before{left:-14px;border-width:14px 7px}.label-xlg.arrowed-in{margin-left:7px}.label-xlg.arrowed-in:before{left:-7px;border-width:14px 7px}.label-xlg.arrowed-right{margin-right:7px}.label-xlg.arrowed-right:after{right:-14px;border-width:14px 7px}.label-xlg.arrowed-in-right{margin-right:7px}.label-xlg.arrowed-in-right:after{right:-7px;border-width:14px 7px}.label-sm{padding:.2em .4em .3em;font-size:11px;line-height:1;height:18px}.label-sm.arrowed{margin-left:4px}.label-sm.arrowed:before{left:-8px;border-width:9px 4px}.label-sm.arrowed-in{margin-left:4px}.label-sm.arrowed-in:before{left:-4px;border-width:9px 4px}.label-sm.arrowed-right{margin-right:4px}.label-sm.arrowed-right:after{right:-8px;border-width:9px 4px}.label-sm.arrowed-in-right{margin-right:4px}.label-sm.arrowed-in-right:after{right:-4px;border-width:9px 4px}.label>span,.label>[class*="icon-"]{line-height:1;vertical-align:bottom}.icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:focus>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>li>a:focus>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:focus>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"],.dropdown-submenu:focus>a>[class*=" icon-"]{background-image:none}.dropdown-menu{border-radius:0!important;-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);box-shadow:0 2px 4px rgba(0,0,0,0.2)}.dropdown-menu>li>a{font-size:13px;padding-left:11px;padding-right:11px;margin-bottom:1px;margin-top:1px}.dropdown-menu.dropdown-only-icon{min-width:50px}.dropdown-menu.dropdown-only-icon>li{float:left;margin:0 4px}.dropdown-menu.dropdown-only-icon>li>a [class*="icon-"]{width:18px;display:inline-block}.dropdown-menu.dropdown-only-icon>li>a .icon-2x{width:36px}.dropdown-menu li a:hover,.dropdown-menu li a:focus,.dropdown-menu li a:active,.dropdown-menu li.active a,.dropdown-menu li.active a:hover,.dropdown-menu .dropdown-submenu:hover>a,.nav-tabs .dropdown-menu li>a:focus{background:#4f99c6;color:#fff}.dropdown-default li a:hover,.dropdown-default li a:focus,.dropdown-default li a:active,.dropdown-default li.active a,.dropdown-default li.active a:hover,.dropdown-default .dropdown-submenu:hover>a,.nav-tabs .dropdown-default li>a:focus{background:#abbac3;color:#fff}.dropdown-info li a:hover,.dropdown-info li a:focus,.dropdown-info li a:active,.dropdown-info li.active a,.dropdown-info li.active a:hover,.dropdown-info .dropdown-submenu:hover>a,.nav-tabs .dropdown-info li>a:focus{background:#6fb3e0;color:#fff}.dropdown-primary li a:hover,.dropdown-primary li a:focus,.dropdown-primary li a:active,.dropdown-primary li.active a,.dropdown-primary li.active a:hover,.dropdown-primary .dropdown-submenu:hover>a,.nav-tabs .dropdown-primary li>a:focus{background:#428bca;color:#fff}.dropdown-success li a:hover,.dropdown-success li a:focus,.dropdown-success li a:active,.dropdown-success li.active a,.dropdown-success li.active a:hover,.dropdown-success .dropdown-submenu:hover>a,.nav-tabs .dropdown-success li>a:focus{background:#87b87f;color:#fff}.dropdown-warning li a:hover,.dropdown-warning li a:focus,.dropdown-warning li a:active,.dropdown-warning li.active a,.dropdown-warning li.active a:hover,.dropdown-warning .dropdown-submenu:hover>a,.nav-tabs .dropdown-warning li>a:focus{background:#ffa24d;color:#fff}.dropdown-danger li a:hover,.dropdown-danger li a:focus,.dropdown-danger li a:active,.dropdown-danger li.active a,.dropdown-danger li.active a:hover,.dropdown-danger .dropdown-submenu:hover>a,.nav-tabs .dropdown-danger li>a:focus{background:#d15b47;color:#fff}.dropdown-inverse li a:hover,.dropdown-inverse li a:focus,.dropdown-inverse li a:active,.dropdown-inverse li.active a,.dropdown-inverse li.active a:hover,.dropdown-inverse .dropdown-submenu:hover>a,.nav-tabs .dropdown-inverse li>a:focus{background:#555;color:#fff}.dropdown-purple li a:hover,.dropdown-purple li a:focus,.dropdown-purple li a:active,.dropdown-purple li.active a,.dropdown-purple li.active a:hover,.dropdown-purple .dropdown-submenu:hover>a,.nav-tabs .dropdown-purple li>a:focus{background:#9585bf;color:#fff}.dropdown-pink li a:hover,.dropdown-pink li a:focus,.dropdown-pink li a:active,.dropdown-pink li.active a,.dropdown-pink li.active a:hover,.dropdown-pink .dropdown-submenu:hover>a,.nav-tabs .dropdown-pink li>a:focus{background:#d6487e;color:#fff}.dropdown-grey li a:hover,.dropdown-grey li a:focus,.dropdown-grey li a:active,.dropdown-grey li.active a,.dropdown-grey li.active a:hover,.dropdown-grey .dropdown-submenu:hover>a,.nav-tabs .dropdown-grey li>a:focus{background:#a0a0a0;color:#fff}.dropdown-light li a:hover,.dropdown-light li a:focus,.dropdown-light li a:active,.dropdown-light li.active a,.dropdown-light li.active a:hover,.dropdown-light .dropdown-submenu:hover>a,.nav-tabs .dropdown-light li>a:focus{background:#e7e7e7;color:#333}.dropdown-lighter li a:hover,.dropdown-lighter li a:focus,.dropdown-lighter li a:active,.dropdown-lighter li.active a,.dropdown-lighter li.active a:hover,.dropdown-lighter .dropdown-submenu:hover>a,.nav-tabs .dropdown-lighter li>a:focus{background:#efefef;color:#444}.dropdown-lightest li a:hover,.dropdown-lightest li a:focus,.dropdown-lightest li a:active,.dropdown-lightest li.active a,.dropdown-lightest li.active a:hover,.dropdown-lightest .dropdown-submenu:hover>a,.nav-tabs .dropdown-lightest li>a:focus{background:#f3f3f3;color:#444}.dropdown-yellow li a:hover,.dropdown-yellow li a:focus,.dropdown-yellow li a:active,.dropdown-yellow li.active a,.dropdown-yellow li.active a:hover,.dropdown-yellow .dropdown-submenu:hover>a,.nav-tabs .dropdown-yellow li>a:focus{background:#fee188;color:#444}.dropdown-yellow2 li a:hover,.dropdown-yellow2 li a:focus,.dropdown-yellow2 li a:active,.dropdown-yellow2 li.active a,.dropdown-yellow2 li.active a:hover,.dropdown-yellow2 .dropdown-submenu:hover>a,.nav-tabs .dropdown-yellow2 li>a:focus{background:#f9e8b3;color:#444}.dropdown-light-blue li a:hover,.dropdown-light-blue li a:focus,.dropdown-light-blue li a:active,.dropdown-light-blue li.active a,.dropdown-light-blue li.active a:hover,.dropdown-light-blue .dropdown-submenu:hover>a,.nav-tabs .dropdown-light-blue li>a:focus{background:#ecf3f9;color:#456}.dropdown-light .dropdown-submenu:hover>a:after,.dropdown-lighter .dropdown-submenu:hover>a:after,.dropdown-lightest .dropdown-submenu:hover>a:after{border-left-color:#444}.dropdown-menu.dropdown-close{top:92%;left:-5px}.dropdown-menu.dropdown-close.pull-right{left:auto;right:-5px}.dropdown-menu.dropdown-closer{top:80%;left:-10px}.dropdown-menu.dropdown-closer.pull-right{right:-10px;left:auto}.dropdown-submenu>.dropdown-menu{border-radius:0}.dropdown-submenu>a:after{margin-right:-5px}.dropdown-colorpicker>.dropdown-menu{top:80%;left:-7px;padding:4px;min-width:130px;max-width:130px}.dropdown-colorpicker>.dropdown-menu.pull-right{right:-7px;left:auto}.dropdown-colorpicker>.dropdown-menu>li{display:block;float:left;width:20px;height:20px;margin:2px}.dropdown-colorpicker>.dropdown-menu>li>.colorpick-btn{display:block;width:20px;height:20px;margin:0;padding:0;border-radius:0;position:relative;-webkit-transition:all ease .1s;transition:all ease .1s}.dropdown-colorpicker>.dropdown-menu>li>.colorpick-btn:hover{text-decoration:none;opacity:.8;filter:alpha(opacity=80);-webkit-transform:scale(1.08);-ms-transform:scale(1.08);transform:scale(1.08)}.dropdown-colorpicker>.dropdown-menu>li>.colorpick-btn.selected:after{content:"\f00c";display:inline-block;font-family:FontAwesome;font-size:11px;color:#FFF;position:absolute;left:0;right:0;text-align:center;line-height:20px}.btn-colorpicker{display:inline-block;width:20px;height:20px;background-color:#DDD;vertical-align:middle;border-radius:0}.dropdown-navbar{padding:0;width:240px;-webkit-box-shadow:0 2px 4px rgba(30,30,100,0.25);box-shadow:0 2px 4px rgba(30,30,100,0.25);border-color:#bcd4e5}.dropdown-navbar>li{padding:0 8px;background-color:#fff}.dropdown-navbar>li.dropdown-header{text-shadow:none;padding-top:0;padding-bottom:0;line-height:34px;font-size:13px;font-weight:bold;text-transform:none;border-bottom:1px solid}.dropdown-navbar>li>[class*="icon-"],.dropdown-navbar>li>a>[class*="icon-"]{margin-right:5px!important;color:#555;font-size:14px}.dropdown-navbar>li>a{padding:10px 2px;margin:0;border-bottom:1px solid;font-size:12px;line-height:16px;color:#555}.dropdown-navbar>li>a:active,.dropdown-navbar>li>a:hover,.dropdown-navbar>li>a:focus{background-color:transparent!important;color:#555}.dropdown-navbar>li>a .progress{margin-bottom:0;margin-top:4px}.dropdown-navbar>li>a .badge{line-height:16px;padding-right:4px;padding-left:4px;font-size:12px}.dropdown-navbar>li:last-child>a{border-bottom:0 solid #DDD;border-top:1px dotted transparent;color:#4f99c6;text-align:center;font-size:13px}.dropdown-navbar>li:last-child>a:hover{background-color:#FFF;color:#4f99c6;text-decoration:underline}.dropdown-navbar>li:last-child>a:hover>[class*="icon-"]{text-decoration:none}.dropdown-navbar>li:hover{background-color:#f4f9fc!important}.dropdown-navbar>li.dropdown-header{background-color:#ecf2f7!important;color:#8090a0;border-bottom-color:#bcd4e5}.dropdown-navbar>li.dropdown-header>[class*="icon-"]{color:#8090a0}.dropdown-navbar>li>a{border-bottom-color:#e4ecf3}.dropdown-navbar.navbar-pink{border-color:#e5bcd4}.dropdown-navbar.navbar-pink>li:hover{background-color:#fcf4f9!important}.dropdown-navbar.navbar-pink>li.dropdown-header{background-color:#f7ecf2!important;color:#b471a0;border-bottom-color:#e5bcd4}.dropdown-navbar.navbar-pink>li.dropdown-header>[class*="icon-"]{color:#c06090}.dropdown-navbar.navbar-pink>li>a{border-bottom-color:#f3e4ec}.dropdown-navbar.navbar-grey{border-color:#e5e5e5}.dropdown-navbar.navbar-grey>li:hover{background-color:#f8f8f8!important}.dropdown-navbar.navbar-grey>li.dropdown-header{background-color:#f2f2f2!important;color:#3a87ad;border-bottom-color:#e5e5e5}.dropdown-navbar.navbar-grey>li.dropdown-header>[class*="icon-"]{color:#3a87ad}.dropdown-navbar.navbar-grey>li>a{border-bottom-color:#eee}.dropdown-navbar.navbar-green{border-color:#b4d5ac}.dropdown-navbar.navbar-green>li:hover{background-color:#f4f9ef!important}.dropdown-navbar.navbar-green>li.dropdown-header{background-color:#ebf7e4!important;color:#8a6;border-bottom-color:#b4d5ac}.dropdown-navbar.navbar-green>li.dropdown-header>[class*="icon-"]{color:#90c060}.dropdown-navbar.navbar-green>li>a{border-bottom-color:#ecf3e4}.dropdown-navbar [class*="btn"][class*="icon-"]{display:inline-block;margin:0 5px 0 0;width:24px;text-align:center;padding-left:0;padding-right:0}.dropdown-navbar .msg-photo{margin-right:6px;max-width:42px}.dropdown-navbar .msg-body{display:inline-block;line-height:20px;white-space:normal;vertical-align:middle;max-width:175px}.dropdown-navbar .msg-title{display:inline-block;line-height:14px}.dropdown-navbar .msg-time{display:block;font-size:11px;color:#777}.dropdown-navbar .msg-time>[class*="icon-"]{font-size:14px;color:#555}.dropdown-100{min-width:100px}.dropdown-125{min-width:125px}.dropdown-150{min-width:150px}.dropdown-hover{position:relative}.dropdown-hover:hover>.dropdown-menu{display:block}.form-line{margin-bottom:24px;padding-bottom:12px;border-bottom:1px solid #EEE}.form-actions{display:block;background-color:#f5f5f5;border-top:1px solid #e5e5e5;margin-bottom:20px;margin-top:20px;padding:19px 20px 20px}.help-button{display:inline-block;height:22px;width:22px;line-height:22px;text-align:center;padding:0;background-color:#65bcda;color:#FFF;font-size:12px;font-weight:bold;cursor:default;margin-left:4px;border-radius:100%;border-color:#FFF;border:2px solid #FFF;-webkit-box-shadow:0 1px 0 1px rgba(0,0,0,0.2);box-shadow:0 1px 0 1px rgba(0,0,0,0.2)}.help-button:hover{background-color:#65bcda;text-shadow:none}label{font-weight:normal;font-size:14px}.form-group>label[class*="col-"]{padding-top:4px;margin-bottom:4px}label,.lbl{vertical-align:middle}td>label,th>label,label.inline{margin-bottom:0;line-height:inherit}textarea,input[type="text"],input[type="password"],input[type="datetime"],input[type="datetime-local"],input[type="date"],input[type="month"],input[type="time"],input[type="week"],input[type="number"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="color"]{border-radius:0!important;color:#858585;background-color:#fff;border:1px solid #d5d5d5;padding:5px 4px;line-height:1.2;font-size:14px;font-family:inherit;-webkit-box-shadow:none!important;box-shadow:none!important;-webkit-transition-duration:.1s;transition-duration:.1s}textarea:hover,input[type="text"]:hover,input[type="password"]:hover,input[type="datetime"]:hover,input[type="datetime-local"]:hover,input[type="date"]:hover,input[type="month"]:hover,input[type="time"]:hover,input[type="week"]:hover,input[type="number"]:hover,input[type="email"]:hover,input[type="url"]:hover,input[type="search"]:hover,input[type="tel"]:hover,input[type="color"]:hover{border-color:#b5b5b5}textarea:focus,input[type="text"]:focus,input[type="password"]:focus,input[type="datetime"]:focus,input[type="datetime-local"]:focus,input[type="date"]:focus,input[type="month"]:focus,input[type="time"]:focus,input[type="week"]:focus,input[type="number"]:focus,input[type="email"]:focus,input[type="url"]:focus,input[type="search"]:focus,input[type="tel"]:focus,input[type="color"]:focus{-webkit-box-shadow:none;box-shadow:none;color:#696969;border-color:#f59942;background-color:#fff;outline:0}.form-control,select{border-radius:0;-webkit-box-shadow:none!important;box-shadow:none!important;color:#858585;background-color:#fff;border:1px solid #d5d5d5}.form-control:focus,select:focus{color:#696969;border-color:#f59942;background-color:#fff;outline:0}textarea.form-control{padding:5px 9px}select{padding:3px 4px;height:30px}select.form-control{padding:4px 6px;height:32px}select[multiple],select.form-control[multiple]{height:auto}input.block{display:block;margin-bottom:9px}textarea.autosize-transition{-webkit-transition-duration:"height 0.2s";transition-duration:"height 0.2s"}.limiterBox{border:1px solid #222;border-top:0;background-color:#333;padding:3px 6px;font-size:12px;color:#FFF;margin-top:6px}.limiterBox:after{display:none}.limiterBox:before{display:block;content:"";position:absolute;width:0;height:0;top:-8px;left:50%;margin-left:-5px;border-color:transparent;border-style:solid;border-bottom-color:#333;border-width:0 8px 8px}select option,select.form-control option{padding:3px 4px}select option:active,select.form-control option:active,select option:hover,select.form-control option:hover,select option:focus,select.form-control option:focus{background-color:#e5e9ee;color:#111}select option[value=""],select.form-control option[value=""]{padding:0}input[disabled]{color:#848484!important;background-color:#eee!important}input[disabled]:hover{border-color:#d5d5d5!important}input[readonly]{color:#939192;background:#f5f5f5!important;cursor:default}input[readonly]:hover{border-color:#c3c3c3}input[readonly]:focus{-webkit-box-shadow:none;box-shadow:none;border-color:#aaa;background-color:#f9f9f9}.help-inline{font-size:13px!important}.input-icon{position:relative}span.input-icon{display:inline-block}.input-icon>input{padding-left:24px;padding-right:6px}.input-icon.input-icon-right>input{padding-left:6px;padding-right:24px}.input-icon>[class*="icon-"]{padding:0 3px;z-index:2;position:absolute;top:1px;bottom:1px;left:3px;line-height:28px;display:inline-block;color:#909090;font-size:16px}.input-icon.input-icon-right>[class*="icon-"]{left:auto;right:3px}.input-icon>input:focus+[class*="icon-"]{color:#579}.input-icon ~ .help-inline{padding-left:8px}.form-search .radio [type=radio]+label,.form-inline .radio [type=radio]+label,.form-search .checkbox [type=checkbox]+label,.form-inline .checkbox [type=checkbox]+label{float:left;margin-left:-20px}.form-search .form-search .radio [type=radio]+label,.form-search .form-inline .radio [type=radio]+label,.form-search .form-search .checkbox [type=checkbox]+label,.form-search .form-inline .checkbox [type=checkbox]+label,.form-inline .form-search .radio [type=radio]+label,.form-inline .form-inline .radio [type=radio]+label,.form-inline .form-search .checkbox [type=checkbox]+label,.form-inline .form-inline .checkbox [type=checkbox]+label{margin-left:0;margin-right:3px}.form-search .input-append .search-query:focus,.form-search .input-prepend .search-query:focus{-webkit-box-shadow:none;box-shadow:none}.input-append input,.input-prepend input,.input-append select,.input-prepend select,.input-append .uneditable-input,.input-prepend .uneditable-input{border-radius:0}.input-mini{width:60px;max-width:100%}.input-small{width:90px;max-width:100%}.input-medium{width:150px;max-width:100%}.input-large{width:210px;max-width:100%}.input-xlarge{width:270px;max-width:100%}.input-xxlarge{width:530px;max-width:100%}input.input-lg{font-size:18px}input.input-sm{font-size:12px}input[type=checkbox].ace,input[type=radio].ace{opacity:0;position:absolute;z-index:12;width:18px;height:18px;cursor:pointer}input[type=checkbox].ace:checked,input[type=radio].ace:checked,input[type=checkbox].ace:focus,input[type=radio].ace:focus{outline:none!important}input[type=checkbox].ace+.lbl,input[type=radio].ace+.lbl{position:relative;z-index:11;display:inline-block;margin:0;line-height:20px;min-height:18px;min-width:18px;font-weight:normal}input[type=checkbox].ace+.lbl.padding-16::before,input[type=radio].ace+.lbl.padding-16::before{margin-right:16px}input[type=checkbox].ace+.lbl.padding-12::before,input[type=radio].ace+.lbl.padding-12::before{margin-right:12px}input[type=checkbox].ace+.lbl.padding-8::before,input[type=radio].ace+.lbl.padding-8::before{margin-right:8px}input[type=checkbox].ace+.lbl.padding-4::before,input[type=radio].ace+.lbl.padding-4::before{margin-right:4px}input[type=checkbox].ace+.lbl.padding-0::before,input[type=radio].ace+.lbl.padding-0::before{margin-right:0}input[type=checkbox].ace+.lbl::before,input[type=radio].ace+.lbl::before{font-family:fontAwesome;font-weight:normal;font-size:12px;color:#32a3ce;content:"\a0";background-color:#fafafa;border:1px solid #c8c8c8;box-shadow:0 1px 2px rgba(0,0,0,0.05);border-radius:0;display:inline-block;text-align:center;vertical-align:middle;height:16px;line-height:14px;min-width:16px;margin-right:1px}input[type=checkbox].ace:checked+.lbl::before,input[type=radio].ace:checked+.lbl::before{display:inline-block;content:'\f00c';background-color:#f5f8fc;border-color:#adb8c0;box-shadow:0 1px 2px rgba(0,0,0,0.05),inset 0 -15px 10px -12px rgba(0,0,0,0.05),inset 15px 10px -12px rgba(255,255,255,0.1)}input[type=checkbox].ace:hover+.lbl::before,input[type=radio].ace:hover+.lbl::before,input[type=checkbox].ace+.lbl:hover::before,input[type=radio].ace+.lbl:hover::before{border-color:#ff893c}input[type=checkbox].ace:active+.lbl::before,input[type=radio].ace:active+.lbl::before,input[type=checkbox].ace:checked:active+.lbl::before,input[type=radio].ace:checked:active+.lbl::before{box-shadow:0 1px 2px rgba(0,0,0,0.05),inset 0 1px 3px rgba(0,0,0,0.1)}input[type=checkbox].ace.ace-checkbox-2+.lbl::before,input[type=radio].ace.ace-checkbox-2+.lbl::before{box-shadow:none}input[type=checkbox].ace.ace-checkbox-2:checked+.lbl::before,input[type=radio].ace.ace-checkbox-2:checked+.lbl::before{background-color:#f9a021;border-color:#f9a021;color:#FFF}input[type=checkbox].ace:disabled+.lbl::before,input[type=radio].ace:disabled+.lbl::before,input[type=checkbox].ace[disabled]+.lbl::before,input[type=radio].ace[disabled]+.lbl::before,input[type=checkbox].ace.disabled+.lbl::before,input[type=radio].ace.disabled+.lbl::before{background-color:#DDD!important;border-color:#CCC!important;box-shadow:none!important;color:#BBB}input[type=radio].ace+.lbl::before{border-radius:100%;font-size:11px;font-family:FontAwesome;text-shadow:0 0 1px #32a3ce;line-height:15px;height:17px;min-width:17px}input[type=radio].ace:checked+.lbl::before{content:"\f111"}input[type=checkbox].ace.ace-switch{width:55px;height:25px}input[type=checkbox].ace.ace-switch+.lbl{margin:0 4px;min-height:24px}input[type=checkbox].ace.ace-switch+.lbl::before{font-family:Arial,Helvetica,sans-serif;content:"ON\a0\a0\a0\a0\a0\a0\a0\a0\a0OFF";color:#999;font-weight:bold;font-size:11px;line-height:18px;line-height:21px\9;height:20px;overflow:hidden;border-radius:12px;background-color:#f5f5f5;-webkit-box-shadow:inset 0 2px 2px 0 rgba(0,0,0,.2);box-shadow:inset 0 2px 2px 0 rgba(0,0,0,.2);border:1px solid #CCC;text-align:left;float:left;padding:0;width:52px;text-indent:-19px;text-indent:-21px\9;margin-right:0;-webkit-transition:text-indent .4s ease;transition:text-indent .4s ease}input[type=checkbox].ace.ace-switch+.lbl::after{font-family:Arial,Helvetica,sans-serif;content:'|||';font-size:10px;font-weight:lighter;color:#d5d5d5;background-color:#FFF;text-shadow:-1px 0 0 rgba(0,0,0,0.15);text-align:center;border-radius:100%;width:22px;height:22px;line-height:20px;position:absolute;top:-2px;left:-3px;padding:0;-webkit-box-shadow:0 1px 1px 1px rgba(0,0,0,.3);box-shadow:0 1px 1px 1px rgba(0,0,0,.3);-webkit-transition:left .4s ease;transition:left .4s ease}input[type=checkbox].ace.ace-switch:checked+.lbl::before{text-indent:9px;color:#FFF;background-color:#8ab2c9;border-color:#468fcc}input[type=checkbox].ace.ace-switch:checked+.lbl::after{left:34px;background-color:#FFF;color:#8ab2c9}input[type=checkbox].ace.ace-switch.ace-switch-2+.lbl::before{content:"YES\a0\a0\a0\a0\a0\a0\a0\a0NO"}input[type=checkbox].ace.ace-switch.ace-switch-3+.lbl::after{font-family:FontAwesome;font-size:13px;line-height:23px;content:"\f00d";top:-1px}input[type=checkbox].ace.ace-switch.ace-switch-3:checked+.lbl::after{content:"\f00c"}input[type=checkbox].ace.ace-switch.ace-switch-4+.lbl::before,input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::before{content:"ON\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0OFF";font-family:Arial,Helvetica,sans-serif;font-weight:bolder;font-size:12px;line-height:23px;height:24px;overflow:hidden;line-height:25px\9;border-radius:12px;background-color:#8b9aa3;border:1px solid #8b9aa3;color:#FFF;width:56px;text-indent:-25px;text-indent:-28px\9;display:inline-block;position:relative;box-shadow:none;-webkit-transition:all .4s ease;transition:all .4s ease}input[type=checkbox].ace.ace-switch.ace-switch-4+.lbl::after,input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::after{font-family:Helvetica,Arial,sans-serif;content:'|||';text-shadow:-1px 0 0 rgba(0,0,0,0.2);font-size:8px;font-weight:lighter;color:#8b9aa3;text-align:center;position:absolute;border-radius:12px;color:#5b6a73;top:2px;left:2px;width:20px;height:20px;line-height:18px;background-color:#FFF;-webkit-transition:all .4s ease;transition:all .4s ease}input[type=checkbox].ace.ace-switch.ace-switch-4:checked+.lbl::before,input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::before{text-indent:9px;background-color:#468fcc;border-color:#468fcc}input[type=checkbox].ace.ace-switch.ace-switch-4:checked+.lbl::after,input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::after{left:34px;background-color:#FFF}input[type=checkbox].ace.ace-switch.ace-switch-5+.lbl::before{content:"YES\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0NO"}input[type=checkbox].ace.ace-switch.ace-switch-5:checked+.lbl::before{text-indent:8px}input[type=checkbox].ace.ace-switch.ace-switch-6+.lbl{position:relative}input[type=checkbox].ace.ace-switch.ace-switch-6+.lbl::before{font-family:FontAwesome;content:"\f00d";text-shadow:0 -1px 0 rgba(0,0,0,0.25);box-shadow:none;border:0;font-weight:lighter;font-size:16px;border-radius:12px;display:inline-block;background-color:#888;color:#f2f2f2;width:52px;height:22px;line-height:20px;text-indent:32px;-webkit-transition:background .1s ease;transition:background .1s ease}input[type=checkbox].ace.ace-switch.ace-switch-6+.lbl::after{content:'';text-shadow:0 -1px 0 rgba(0,0,0,0.25);position:absolute;top:2px;left:3px;border-radius:12px;box-shadow:0 -1px 0 rgba(0,0,0,0.25);width:18px;height:18px;text-align:center;background-color:#f2f2f2;border:4px solid #f2f2f2;-webkit-transition:left .2s ease;transition:left .2s ease}input[type=checkbox].ace.ace-switch.ace-switch-6:checked+.lbl::before{content:"\f00c";text-indent:6px;color:#FFF;border-color:#b7d3e5;background-color:#ff893c}input[type=checkbox].ace.ace-switch.ace-switch-6:checked+.lbl::after{left:32px;background-color:#FFF;border:4px solid #FFF;text-shadow:0 -1px 0 rgba(0,200,0,0.25)}input[type=checkbox].ace.ace-switch.ace-switch-7{width:75px}input[type=checkbox].ace.ace-switch.ace-switch-7+.lbl{position:relative}input[type=checkbox].ace.ace-switch.ace-switch-7+.lbl::before{content:"OFF\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0\a0ON";font-weight:bolder;font-size:14px;line-height:20px;background-color:#FFF;border:2px solid #AAA;border-radius:0;box-shadow:none;color:#aaa;width:74px;height:26px;line-height:22px;overflow:hidden;text-indent:4px;display:inline-block;position:relative;-webkit-transition:all .2s ease;transition:all .2s ease}input[type=checkbox].ace.ace-switch.ace-switch-7+.lbl::after{content:'\f00d';font-family:FontAwesome;font-size:16px;position:absolute;top:3px;left:39px;width:32px;height:20px;line-height:18px;text-align:center;background-color:#aaa;color:#FFF;border-radius:0;box-shadow:none;-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}input[type=checkbox].ace.ace-switch.ace-switch-7:checked+.lbl::before{color:#468fcc;background-color:#FFF;text-indent:-33px;border-color:#6fb3e0}input[type=checkbox].ace.ace-switch.ace-switch-7:checked+.lbl::after{left:3px;content:'\f00c';background-color:#468fcc;color:#FFF}.input-group .input-group-addon{border-radius:0!important}.form-group.has-success .input-group .input-group-addon{border-color:#92bf65}.form-group.has-error .input-group .input-group-addon{border-color:#f09784}.form-group.has-warning .input-group .input-group-addon{border-color:#e0c43a}.form-group.has-info .input-group .input-group-addon{border-color:#64a6bc}.input-group>.btn{line-height:20px;padding:0 6px;border-radius:0!important}.input-group>.btn.btn-sm{line-height:22px}.input-group>.btn+.btn{margin-left:1px}.input-group>.btn-group>.btn{line-height:23px}.input-group>.btn-group>.btn.btn-sm{line-height:26px}.input-group>.btn>.caret,.input-group>.btn-group>.btn>.caret,.input-group>.btn.btn-sm>.caret,.input-group>.btn-group>.btn.btn-sm>.caret{margin-top:10px}.ace-file-input{position:relative;height:38px;line-height:38px;margin-bottom:9px}.ace-file-input input[type=file]{position:fixed;z-index:-2;opacity:0;filter:alpha(opacity=0)}.ace-file-input .file-label{display:block;position:absolute;top:0;left:0;right:0;height:30px;background-color:#fff;border:1px solid #d5d5d5;cursor:pointer;-webkit-box-shadow:none;box-shadow:none;-webkit-transition:all .15s;transition:all .15s}.ace-file-input .file-label:hover{-webkit-box-shadow:none;box-shadow:none;border-color:#f59942}.ace-file-input .file-label:before{display:inline-block;content:attr(data-title);position:absolute;right:0;top:0;bottom:0;padding:0 8px;line-height:24px;text-align:center;background-color:#6fb3e0;color:#FFF;font-size:11px;font-weight:bold;border:2px solid #FFF;border-left-width:4px;-webkit-transition:all .3s;transition:all .3s}.ace-file-input .file-label .file-name{display:inline-block;height:28px;max-width:80%;white-space:nowrap;overflow:hidden;line-height:28px;color:#888;font-size:13px;vertical-align:top;position:static;padding-left:30px}.ace-file-input .file-label .file-name:after{display:inline-block;content:attr(data-title)}.ace-file-input .file-label.selected{right:16px}.ace-file-input .file-label.selected .file-name{color:#666}.ace-file-input .file-label [class*="icon-"]{display:inline-block;position:absolute;left:0;top:0;bottom:0;line-height:24px;width:26px;text-align:center;font-family:FontAwesome;font-size:13px;border:2px solid #FFF;color:#FFF;-webkit-transition:all .1s;transition:all .1s;background-color:#d1d1d1}.ace-file-input .file-label.selected .file-name [class*="icon-"]{background-color:#efad62}.ace-file-input .file-label.selected .file-name .icon-picture{background-color:#bd7a9d}.ace-file-input .file-label.selected .file-name .icon-film{background-color:#87b87f}.ace-file-input .file-label.selected .file-name .icon-music{background-color:#8b7ac9}.ace-file-input .file-label.selected .file-name .icon-archive{background-color:#efad62}.ace-file-input .file-label.hide-placeholder:before{display:none}.ace-file-input a:hover{text-decoration:none}.ace-file-input .remove{position:absolute;right:-8px;top:6px;display:none;width:17px;text-align:center;height:17px;line-height:15px;font-size:11px;font-weight:normal;background-color:#fb7142;border-radius:100%;color:#FFF;text-decoration:none}.ace-file-input .file-label.selected+.remove{display:inline-block}.ace-file-multiple{height:auto}.ace-file-multiple .file-label{position:relative;height:auto;border:1px dashed #aaa;border-radius:4px;text-align:center}.ace-file-multiple .file-label:before{display:inline-block;content:attr(data-title);position:relative;right:0;left:0;margin:12px;line-height:22px;background-color:#FFF;color:#CCC;font-size:18px;font-weight:bold;border:0}.ace-file-multiple .file-label.selected .file-name [class*="icon-"]{display:inline-block;position:absolute;left:0;top:0;bottom:0;line-height:24px;width:26px;text-align:center;font-family:FontAwesome;font-size:13px;border:2px solid #FFF;color:#FFF;-webkit-transition:all .1s;transition:all .1s}.ace-file-multiple .file-label .file-name{position:relative;display:block;padding:0;height:auto;width:auto;max-width:100%;margin:0 4px;border-bottom:1px solid #DDD;text-align:left}.ace-file-multiple .file-label .file-name:first-child{margin-top:1px}.ace-file-multiple .file-label .file-name:last-child{border-bottom-width:0;margin-bottom:1px}.ace-file-multiple .file-label .file-name img{padding:2px;border:1px solid #d7d7d7;background-color:#FFF;background-repeat:no-repeat;background-position:center;margin:4px 8px 4px 1px}.ace-file-multiple .file-label .file-name:after{display:none}.ace-file-multiple .file-label.selected .file-name:after{display:inline-block;white-space:pre}.ace-file-multiple .file-label .file-name img+[class*="icon-"],.ace-file-multiple .file-label.selected .file-name img+[class*="icon-"]{display:none}.ace-file-multiple .remove{right:-11px;top:-11px;border:3px solid #BBB;border-radius:32px;background-color:#FFF;color:red;width:22px;height:22px;line-height:15px}.ace-file-multiple .file-label.selected+.remove:hover{border-color:#f4c0b1}.ace-file-multiple .file-label .file-name [class*="icon-"]{position:relative;display:block;text-align:center;height:auto;line-height:64px;width:auto;font-size:64px;color:#d5d5d5;margin:4px 0;background-color:transparent}.ace-file-multiple .file-label.selected:after{display:none}.ace-file-multiple .file-label.selected .file-name [class*="icon-"]{position:relative;margin-right:4px;margin-left:2px;line-height:24px}.ace-file-multiple .file-label .file-name.large{text-align:center;border-bottom:2px solid #222;margin:0 1px 3px}.ace-file-multiple .file-label .file-name.large:last-child{margin:0 1px;border-bottom-width:0}.ace-file-multiple .file-label .file-name.large:after{position:absolute;top:auto;bottom:0;left:0;right:0;padding:0 4px;background-color:#555;color:#FFF;opacity:.8;filter:alpha(opacity=80)}.ace-file-multiple .file-label .file-name.large img{border-width:0;margin:0;padding:0}.ace-file-input input[type=file].disabled+.file-label,.ace-file-input input[type=file][disabled]+.file-label,.ace-file-input input[type=file][readonly]+.file-label{cursor:not-allowed;background-color:#EEE}.ace-file-input input[type=file].disabled+.file-label:hover,.ace-file-input input[type=file][disabled]+.file-label:hover,.ace-file-input input[type=file][readonly]+.file-label:hover{-webkit-box-shadow:none;box-shadow:none;border-color:#e3e3e3}.ace-file-input input[type=file].disabled+.file-label:before,.ace-file-input input[type=file][disabled]+.file-label:before,.ace-file-input input[type=file][readonly]+.file-label:before{border-color:#EEE;background-color:#a1aaaf}.ace-file-input input[type=file][readonly]+.file-label{cursor:default}.ace-file-multiple input[type=file].disabled+.file-label:hover,.ace-file-multiple input[type=file][disabled]+.file-label:hover,.ace-file-multiple input[type=file][readonly]+.file-label:hover{border-color:#AAA}.ace-file-multiple input[type=file].disabled+.file-label:before,.ace-file-multiple input[type=file][disabled]+.file-label:before,.ace-file-multiple input[type=file][readonly]+.file-label:before{background-color:transparent}.ace-file-multiple input[type=file].disabled+.file-label [class*="icon-"],.ace-file-multiple input[type=file][disabled]+.file-label [class*="icon-"],.ace-file-multiple input[type=file][readonly]+.file-label [class*="icon-"]{border-color:#EEE}.ace-file-input input[type=file]{width:100% \0/;height:30px \0/;position:absolute \0/;z-index:1 \0/;filter:alpha(opacity=0);cursor:pointer \0/}.ace-file-input input[type=file]:hover+.file-label{border-color:#f59942 \0/}.ace-file-multiple input[type=file]{height:100%\0/}.ace-file-input .remove{z-index:2\0/}.form-group select,.form-group textarea,.form-group input[type="text"],.form-group input[type="password"],.form-group input[type="datetime"],.form-group input[type="datetime-local"],.form-group input[type="date"],.form-group input[type="month"],.form-group input[type="time"],.form-group input[type="week"],.form-group input[type="number"],.form-group input[type="email"],.form-group input[type="url"],.form-group input[type="search"],.form-group input[type="tel"],.form-group input[type="color"]{background:#FFF}.form-group.has-success input,.form-group.has-success select,.form-group.has-success textarea{border-color:#92bf65;color:#8bad4c;-webkit-box-shadow:none;box-shadow:none}.form-group.has-success input:focus,.form-group.has-success select:focus,.form-group.has-success textarea:focus{-webkit-box-shadow:0 0 0 2px rgba(130,188,58,0.3);box-shadow:0 0 0 2px rgba(130,188,58,0.3);color:#786;border-color:#81a85a}.form-group.has-success input:focus+[class*="icon-"],.form-group.has-success select:focus+[class*="icon-"],.form-group.has-success textarea:focus+[class*="icon-"]{color:#8bad4c}.form-group.has-success [class*="icon-"]{color:#8bad4c}.form-group.has-success .btn [class*="icon-"]{color:inherit}.form-group.has-success .control-label,.form-group.has-success .help-block,.form-group.has-success .help-inline{color:#7ba065}.form-group.has-info input,.form-group.has-info select,.form-group.has-info textarea{border-color:#64a6bc;color:#4b89aa;-webkit-box-shadow:none;box-shadow:none}.form-group.has-info input:focus,.form-group.has-info select:focus,.form-group.has-info textarea:focus{-webkit-box-shadow:0 0 0 2px rgba(58,120,188,0.3);box-shadow:0 0 0 2px rgba(58,120,188,0.3);color:#678;border-color:#5a81a8}.form-group.has-info input:focus+[class*="icon-"],.form-group.has-info select:focus+[class*="icon-"],.form-group.has-info textarea:focus+[class*="icon-"]{color:#4b89aa}.form-group.has-info [class*="icon-"]{color:#4b89aa}.form-group.has-info .btn [class*="icon-"]{color:inherit}.form-group.has-info .control-label,.form-group.has-info .help-block,.form-group.has-info .help-inline{color:#657ba0}.form-group.has-error input,.form-group.has-error select,.form-group.has-error textarea{border-color:#f09784;color:#d68273;-webkit-box-shadow:none;box-shadow:none}.form-group.has-error input:focus,.form-group.has-error select:focus,.form-group.has-error textarea:focus{-webkit-box-shadow:0 0 0 2px rgba(219,137,120,0.3);box-shadow:0 0 0 2px rgba(219,137,120,0.3);color:#866;border-color:#db8978}.form-group.has-error input:focus+[class*="icon-"],.form-group.has-error select:focus+[class*="icon-"],.form-group.has-error textarea:focus+[class*="icon-"]{color:#d68273}.form-group.has-error [class*="icon-"]{color:#d68273}.form-group.has-error .btn [class*="icon-"]{color:inherit}.form-group.has-error .control-label,.form-group.has-error .help-block,.form-group.has-error .help-inline{color:#d16e6c}.form-group.has-warning input,.form-group.has-warning select,.form-group.has-warning textarea{border-color:#e0c43a;color:#d3bd50;-webkit-box-shadow:none;box-shadow:none}.form-group.has-warning input:focus,.form-group.has-warning select:focus,.form-group.has-warning textarea:focus{-webkit-box-shadow:0 0 0 2px rgba(216,188,65,0.3);box-shadow:0 0 0 2px rgba(216,188,65,0.3);color:#875;border-color:#d8bc41}.form-group.has-warning input:focus+[class*="icon-"],.form-group.has-warning select:focus+[class*="icon-"],.form-group.has-warning textarea:focus+[class*="icon-"]{color:#d3bd50}.form-group.has-warning [class*="icon-"]{color:#d3bd50}.form-group.has-warning .btn [class*="icon-"]{color:inherit}.form-group.has-warning .control-label,.form-group.has-warning .help-block,.form-group.has-warning .help-inline{color:#d19d59}.form-group input[disabled],.form-group input:disabled{color:#848484!important;background-color:#eee!important}@media only screen and (max-width:767px){.help-inline,.input-icon+.help-inline{padding-left:0;display:block!important}}.tab-content{border:1px solid #c5d0dc;padding:16px 12px;position:relative;z-index:11}.tab-content.no-padding{padding:0}.tab-content.no-border{border:0;padding:12px}.tab-content.padding-32{padding:32px 24px}.tab-content.no-border.padding-32{padding:32px}.tab-content.padding-30{padding:30px 23px}.tab-content.no-border.padding-30{padding:30px}.tab-content.padding-28{padding:28px 21px}.tab-content.no-border.padding-28{padding:28px}.tab-content.padding-26{padding:26px 20px}.tab-content.no-border.padding-26{padding:26px}.tab-content.padding-24{padding:24px 18px}.tab-content.no-border.padding-24{padding:24px}.tab-content.padding-22{padding:22px 17px}.tab-content.no-border.padding-22{padding:22px}.tab-content.padding-20{padding:20px 15px}.tab-content.no-border.padding-20{padding:20px}.tab-content.padding-18{padding:18px 14px}.tab-content.no-border.padding-18{padding:18px}.tab-content.padding-16{padding:16px 12px}.tab-content.no-border.padding-16{padding:16px}.tab-content.padding-14{padding:14px 11px}.tab-content.no-border.padding-14{padding:14px}.tab-content.padding-12{padding:12px 9px}.tab-content.no-border.padding-12{padding:12px}.tab-content.padding-10{padding:10px 8px}.tab-content.no-border.padding-10{padding:10px}.tab-content.padding-8{padding:8px 6px}.tab-content.no-border.padding-8{padding:8px}.tab-content.padding-6{padding:6px 5px}.tab-content.no-border.padding-6{padding:6px}.tab-content.padding-4{padding:4px 3px}.tab-content.no-border.padding-4{padding:4px}.tab-content.padding-2{padding:2px 2px}.tab-content.no-border.padding-2{padding:2px}.tab-content.padding-0{padding:0}.tab-content.no-border.padding-0{padding:0}.nav-tabs.padding-32{padding-left:32px}.tabs-right>.nav-tabs.padding-32,.tabs-left>.nav-tabs.padding-32{padding-left:0;padding-top:32px}.nav-tabs.padding-30{padding-left:30px}.tabs-right>.nav-tabs.padding-30,.tabs-left>.nav-tabs.padding-30{padding-left:0;padding-top:30px}.nav-tabs.padding-28{padding-left:28px}.tabs-right>.nav-tabs.padding-28,.tabs-left>.nav-tabs.padding-28{padding-left:0;padding-top:28px}.nav-tabs.padding-26{padding-left:26px}.tabs-right>.nav-tabs.padding-26,.tabs-left>.nav-tabs.padding-26{padding-left:0;padding-top:26px}.nav-tabs.padding-24{padding-left:24px}.tabs-right>.nav-tabs.padding-24,.tabs-left>.nav-tabs.padding-24{padding-left:0;padding-top:24px}.nav-tabs.padding-22{padding-left:22px}.tabs-right>.nav-tabs.padding-22,.tabs-left>.nav-tabs.padding-22{padding-left:0;padding-top:22px}.nav-tabs.padding-20{padding-left:20px}.tabs-right>.nav-tabs.padding-20,.tabs-left>.nav-tabs.padding-20{padding-left:0;padding-top:20px}.nav-tabs.padding-18{padding-left:18px}.tabs-right>.nav-tabs.padding-18,.tabs-left>.nav-tabs.padding-18{padding-left:0;padding-top:18px}.nav-tabs.padding-16{padding-left:16px}.tabs-right>.nav-tabs.padding-16,.tabs-left>.nav-tabs.padding-16{padding-left:0;padding-top:16px}.nav-tabs.padding-14{padding-left:14px}.tabs-right>.nav-tabs.padding-14,.tabs-left>.nav-tabs.padding-14{padding-left:0;padding-top:14px}.nav-tabs.padding-12{padding-left:12px}.tabs-right>.nav-tabs.padding-12,.tabs-left>.nav-tabs.padding-12{padding-left:0;padding-top:12px}.nav-tabs.padding-10{padding-left:10px}.tabs-right>.nav-tabs.padding-10,.tabs-left>.nav-tabs.padding-10{padding-left:0;padding-top:10px}.nav-tabs.padding-8{padding-left:8px}.tabs-right>.nav-tabs.padding-8,.tabs-left>.nav-tabs.padding-8{padding-left:0;padding-top:8px}.nav-tabs.padding-6{padding-left:6px}.tabs-right>.nav-tabs.padding-6,.tabs-left>.nav-tabs.padding-6{padding-left:0;padding-top:6px}.nav-tabs.padding-4{padding-left:4px}.tabs-right>.nav-tabs.padding-4,.tabs-left>.nav-tabs.padding-4{padding-left:0;padding-top:4px}.nav-tabs.padding-2{padding-left:2px}.tabs-right>.nav-tabs.padding-2,.tabs-left>.nav-tabs.padding-2{padding-left:0;padding-top:2px}.nav-tabs{border-color:#c5d0dc;margin-bottom:0;margin-left:0;position:relative;top:1px}.nav-tabs>li>a{padding:8px 12px}.nav-tabs>li>a,.nav-tabs>li>a:focus{border-radius:0!important;background-color:#f9f9f9;color:#999;margin-right:-1px;line-height:16px;position:relative;z-index:11;border-color:#c5d0dc}.nav-tabs>li>a:hover{background-color:#FFF;color:#4c8fbd;border-color:#c5d0dc}.nav-tabs>li>a:active,.nav-tabs>li>a:focus{outline:none!important}.nav-tabs>li:first-child>a{margin-left:0}.nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus{color:#576373;border-color:#c5d0dc;border-top:2px solid #4c8fbd;border-bottom-color:transparent;background-color:#FFF;z-index:12;line-height:16px;margin-top:-1px;box-shadow:0 -2px 3px 0 rgba(0,0,0,0.15)}.tabs-below>.nav-tabs{top:auto;margin-bottom:0;margin-top:-1px;border-color:#c5d0dc;border-bottom-width:0}.tabs-below>.nav-tabs>li>a,.tabs-below>.nav-tabs>li>a:hover,.tabs-below>.nav-tabs>li>a:focus{border-color:#c5d0dc}.tabs-below>.nav-tabs>li.active>a,.tabs-below>.nav-tabs>li.active>a:hover,.tabs-below>.nav-tabs>li.active>a:focus{border-color:#c5d0dc;border-top-width:1px;border-bottom:2px solid #4c8fbd;border-top-color:transparent;margin-top:0;box-shadow:0 2px 3px 0 rgba(0,0,0,0.15)}.tabs-left>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a{min-width:60px}.tabs-left>.nav-tabs{top:auto;margin-bottom:0;border-color:#c5d0dc;float:left}.tabs-left>.nav-tabs>li{float:none}.tabs-left>.nav-tabs>li>a,.tabs-left>.nav-tabs>li>a:focus,.tabs-left>.nav-tabs>li>a:hover{border-color:#c5d0dc;margin:0 -1px 0 0}.tabs-left>.nav-tabs>li.active>a,.tabs-left>.nav-tabs>li.active>a:focus,.tabs-left>.nav-tabs>li.active>a:hover{border-color:#c5d0dc;border-top-width:1px;border-left:2px solid #4c8fbd;border-right-color:transparent;margin:0 -1px 0 -1px;-webkit-box-shadow:-2px 0 3px 0 rgba(0,0,0,0.15);box-shadow:-2px 0 3px 0 rgba(0,0,0,0.15)}.tabs-right>.nav-tabs{top:auto;margin-bottom:0;border-color:#c5d0dc;float:right}.tabs-right>.nav-tabs>li{float:none}.tabs-right>.nav-tabs>li>a,.tabs-right>.nav-tabs>li>a:focus,.tabs-right>.nav-tabs>li>a:hover{border-color:#c5d0dc;margin:0 -1px}.tabs-right>.nav-tabs>li.active>a,.tabs-right>.nav-tabs>li.active>a:focus,.tabs-right>.nav-tabs>li.active>a:hover{border-color:#c5d0dc;border-top-width:1px;border-right:2px solid #4c8fbd;border-left-color:transparent;margin:0 -2px 0 -1px;-webkit-box-shadow:2px 0 3px 0 rgba(0,0,0,0.15);box-shadow:2px 0 3px 0 rgba(0,0,0,0.15)}.nav-tabs>li>a>.badge{padding:0 4px;line-height:15px;opacity:.7}.nav-tabs>li>a>[class*="icon-"]{opacity:.75}.nav-tabs>li.active>a>.badge,.nav-tabs>li.active>a>[class*="icon-"]{opacity:1}.nav-tabs li [class*=" icon-"],.nav-tabs li [class^="icon-"]{width:1.25em;display:inline-block;text-align:center}.nav-tabs>li.open .dropdown-toggle{background-color:#4f99c6;border-color:#4f99c6;color:#FFF}.nav-tabs>li.open .dropdown-toggle>[class*="icon-"]{color:#FFF!important}.tabs-left .tab-content,.tabs-right .tab-content{overflow:auto}.nav-pills .open .dropdown-toggle,.nav>li.dropdown.open.active>a:hover,.nav>li.dropdown.open.active>a:focus{background-color:#4f99c6;border-color:#4f99c6;color:#fff}.nav-pills .open .dropdown-toggle>[class*="icon-"],.nav>li.dropdown.open.active>a:hover>[class*="icon-"],.nav>li.dropdown.open.active>a:focus>[class*="icon-"]{color:#FFF!important}.nav-tabs>li:not(.active):not(.open)>a:not(:hover)>[class*="icon-"]:first-child.disabled{color:#909090!important}.nav-tabs.tab-size-bigger>li>a{padding-left:14px;padding-right:14px}.nav-tabs.tab-size-bigger>li>a>[class*="icon-"]:first-child{display:block;margin-bottom:6px;width:auto}.nav-tabs.tab-space-1>li>a{margin-right:1px}.nav-tabs.tab-space-2>li>a{margin-right:2px}.nav-tabs.tab-space-3>li>a{margin-right:3px}.nav-tabs.tab-space-4>li>a{margin-right:4px}.nav-tabs[class*="tab-color-"]>li>a,.nav-tabs[class*="tab-color-"]>li>a:focus,.nav-tabs[class*="tab-color-"]>li>a:hover{color:#FFF;border-color:transparent;margin-right:3px}.nav-tabs[class*="tab-color-"]>li>a>.badge{border-radius:2px}.nav-tabs[class*="tab-color-"]>li:not(.active)>a:hover{opacity:.85;border-color:rgba(0,0,0,0.15);border-bottom-color:transparent}.nav-tabs[class*="tab-color-"]>li:not(.active)>a>[class*="icon-"]:first-child{color:#FFF!important}.nav-tabs[class*="tab-color-"]>li:not(.active)>a>.badge{color:rgba(0,0,0,0.4)!important;background-color:#FFF!important;border-radius:2px}.nav-tabs.tab-color-blue>li>a,.nav-tabs.tab-color-blue>li>a:focus{background-color:#7db4d8}.nav-tabs[class*="tab-color-"]>li.active>a,.nav-tabs[class*="tab-color-"]>li.active>a:focus,.nav-tabs[class*="tab-color-"]>li.active>a:hover{background-color:#FFF;color:#4f80a0;box-shadow:none}.nav-tabs.tab-color-blue>li.active>a,.nav-tabs.tab-color-blue>li.active>a:focus,.nav-tabs.tab-color-blue>li.active>a:hover{color:#4c718a;border-color:#7db4d8 #7db4d8 transparent}.tabs-below .nav-tabs.tab-color-blue>li.active>a{border-color:transparent #7db4d8 #7db4d8}.nav-tabs.tab-color-blue{border-bottom-color:#c5d0dc}.nav-tabs.background-blue{padding-top:6px;background-color:#eff3f8;border:1px solid #c5d0dc}.tabs-below .nav-tabs.background-blue{padding-top:0;padding-bottom:6px}.tabs-below .nav-tabs.tab-color-blue{border-top:0;border-bottom-color:#c5d0dc}.accordion-style1.panel-group .panel{border-radius:0;border-color:#cdd8e3;background-color:#FFF;box-shadow:none}.accordion-style1.panel-group .panel:last-child{border-bottom-width:1px}.accordion-style1.panel-group .panel .collapse{background-color:#FFF}.accordion-style1.panel-group .panel+.panel{margin-top:2px}.accordion-style1.panel-group .panel-heading+.panel-collapse .panel-body{border-top-color:#cdd8e3!important}.accordion-style1.panel-group .panel-heading{padding:0}.accordion-style1.panel-group .panel-heading .accordion-toggle{color:#4c8fbd;background-color:#eef4f9;position:relative;font-weight:bold;font-size:13px;line-height:1;padding:10px;display:block}.accordion-style1.panel-group .panel-heading .accordion-toggle.collapsed{color:#478fca;font-weight:normal;background-color:#f9f9f9}.accordion-style1.panel-group .panel-heading .accordion-toggle:hover{color:#6ea6cc;background-color:#f1f8fd;text-decoration:none}.accordion-style1.panel-group .panel-heading .accordion-toggle:focus,.accordion-style1.panel-group .panel-heading .accordion-toggle:active{outline:0;text-decoration:none}.accordion-style1.panel-group .panel-heading .accordion-toggle>[class*="icon-"]:first-child{width:16px}.accordion-style1.panel-group .panel-heading .accordion-toggle:hover>[class*="icon-"]:first-child{text-decoration:none}.accordion-style1.panel-group .panel-body,.accordion-style1.panel-group .collapse.in>.panel-body{border-top:1px solid #cdd8e3}.accordion-style1.panel-group.no-padding{padding:0}.accordion-style2.panel-group .panel{border-width:0}.accordion-style2.panel-group .panel:last-child{border-bottom-width:0}.accordion-style2.panel-group .panel+.panel{margin-top:4px}.accordion-style2.panel-group .panel .panel-body{border-top:0}.accordion-style2.panel-group .panel-heading .accordion-toggle{background-color:#edf3f7;border:2px solid #6eaed1;border-width:0 0 0 2px}.accordion-style2.panel-group .panel-heading .accordion-toggle:hover{text-decoration:none}.accordion-style2.panel-group .panel-heading .accordion-toggle.collapsed{background-color:#f3f3f3;color:#606060;border-width:0 0 0 1px;border-color:#d9d9d9}.accordion-style2.panel-group .panel-heading .accordion-toggle.collapsed:hover{background-color:#f6f6f6;color:#438eb9;text-decoration:none}.accordion-style2.panel-group .panel-body,.accordion-style2.panel-group .collapse.in>.panel-body{border-top:0}.accordion-style2.panel-group .accordion-style2.panel-group .panel{border-bottom:1px dotted #d9d9d9}.accordion-style2.panel-group .accordion-style2.panel-group .panel:last-child{border-bottom:0}.accordion-style2.panel-group .accordion-style2.panel-group .panel .panel-heading,.accordion-style2.panel-group .accordion-style2.panel-group .panel .panel-heading .accordion-toggle{background-color:transparent;border-width:0;font-size:13px;padding-top:6px;padding-bottom:8px}.accordion-style2.panel-group .accordion-style2.panel-group .panel .panel-heading{padding-top:0;padding-bottom:0}th,td,.table-bordered{border-radius:0!important}.table thead tr{color:#707070;font-weight:normal;background:#f2f2f2;background-image:-webkit-gradient(linear,left 0,left 100%,from(#f8f8f8),to(#ececec));background-image:-webkit-linear-gradient(top,#f8f8f8,0%,#ececec,100%);background-image:-moz-linear-gradient(top,#f8f8f8 0,#ececec 100%);background-image:linear-gradient(to bottom,#f8f8f8 0,#ececec 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8f8f8',endColorstr='#ffececec',GradientType=0)}.table thead tr th{border-color:#DDD;font-weight:bold}.table thead tr th [class*="icon-"]:first-child{margin-right:2px}.table thead tr th:first-child{border-left-color:#f1f1f1}.table thead tr th:left-child{border-right-color:#f1f1f1}.table.table-bordered thead tr th{vertical-align:middle}.table.table-bordered thead tr th:first-child{border-left-color:#DDD}th.center,td.center{text-align:center}th .lbl,td .lbl{margin-bottom:0}th .lbl:only-child,td .lbl:only-child{vertical-align:top}.table-header{background-color:#307ecc;color:#FFF;font-size:14px;line-height:38px;padding-left:12px;margin-bottom:1px}.table-header .close{margin-right:8px;margin-top:0;opacity:.45;filter:alpha(opacity=45)}.table-header .close:hover{opacity:.75;filter:alpha(opacity=75)}.dataTables_length select{width:70px;height:25px;padding:2px 3px}.dataTables_length label{font-weight:normal}.dataTables_filter{text-align:right}.dataTables_filter input[type=text]{width:125px;height:18px;line-height:18px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;padding:4px 6px}.dataTables_filter label{font-weight:normal}.dataTables_info{font-size:14px}.dataTables_paginate{text-align:right}.dataTables_paginate .pagination{margin:0 12px}.dataTables_wrapper label{display:inline-block;font-size:13px}.dataTables_wrapper input[type=text],.dataTables_wrapper select{margin-bottom:0!important;margin:0 4px}.dataTables_wrapper .row{margin:0}.dataTables_wrapper .row:first-child{padding-top:12px;padding-bottom:12px;background-color:#eff3f8}.dataTables_wrapper .row:first-child+.dataTable{border-top:1px solid #DDD;border-bottom:1px solid #DDD}.dataTables_wrapper .row:last-child{border-top:1px solid #DDD;padding-top:12px;padding-bottom:12px;background-color:#eff3f8;border-bottom:1px solid #DDD}.dataTable{margin-bottom:0}.dataTable th[class*=sort]{cursor:pointer}.dataTable th[class*=sort]:after{content:"\f0dc";display:inline-block;color:#555;font-family:FontAwesome;font-size:13px;font-weight:normal;float:right;margin-right:4px;position:relative}.dataTable th[class*=sort]:hover{color:#547ea8}.dataTable th[class*=sorting_]{color:#307ecc}.dataTable th.sorting_desc,.dataTable th.sorting_asc{background-image:-webkit-gradient(linear,left 0,left 100%,from(#eff3f8),to(#e3e7ed));background-image:-webkit-linear-gradient(top,#eff3f8,0%,#e3e7ed,100%);background-image:-moz-linear-gradient(top,#eff3f8 0,#e3e7ed 100%);background-image:linear-gradient(to bottom,#eff3f8 0,#e3e7ed 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeff3f8',endColorstr='#ffe3e7ed',GradientType=0)}.dataTable th.sorting_desc:after{content:"\f0dd";top:-6px;color:#307ecc}.dataTable th.sorting_asc:after{content:"\f0de";top:4px;color:#307ecc}.dataTable th.sorting_disabled{cursor:inherit}.dataTable th.sorting_disabled:after{display:none}.widget-box{padding:0;-webkit-box-shadow:none;box-shadow:none;margin:3px 0;border-bottom:1px solid #CCC}@media only screen and (max-width:767px){.widget-box{margin-top:7px;margin-bottom:7px}}.widget-header{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;position:relative;min-height:38px;background:#f7f7f7;background-image:-webkit-gradient(linear,left 0,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0,#eee 100%);background-image:linear-gradient(to bottom,#fff 0,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);color:#669fc7;border:1px solid #CCC;border-bottom:1px solid #DDD;padding-left:12px}.widget-header:before,.widget-header:after{content:"";display:table;line-height:0}.widget-header:after{clear:right}.collapsed .widget-header{border-bottom-width:0}.collapsed .widget-body{display:none}.widget-header-flat{background:#f7f7f7;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.widget-header-large{min-height:49px;padding-left:18px}.widget-header-small{min-height:31px;padding-left:10px}.widget-header>.widget-caption,.widget-header>:first-child{line-height:36px;padding:0;margin:0;display:inline}.widget-header>.widget-caption>[class*="icon-"],.widget-header>:first-child>[class*="icon-"]{margin-right:5px;font-weight:normal;display:inline-block}.widget-header-large>.widget-caption,.widget-header-large>:first-child{line-height:48px}.widget-header-small>.widget-caption,.widget-header-small>:first-child{line-height:30px}.widget-toolbar{display:inline-block;padding:0 10px;line-height:37px;float:right;position:relative}.widget-header-large>.widget-toolbar{line-height:48px}.widget-header-small>.widget-toolbar{line-height:29px}.widget-toolbar.no-padding{padding:0}.widget-toolbar.padding-5{padding:0 5px}.widget-toolbar:before{display:inline-block;content:"";position:absolute;top:3px;bottom:3px;left:-1px;border:1px solid #d9d9d9;border-width:0 1px 0 0}.widget-header-large>.widget-toolbar:before{top:6px;bottom:6px}[class*="header-color-"]>.widget-toolbar:before{border-color:#EEE}.header-color-orange>.widget-toolbar:before{border-color:#FEA}.header-color-dark>.widget-toolbar:before{border-color:#222;box-shadow:-1px 0 0 rgba(255,255,255,0.2),inset 1px 0 0 rgba(255,255,255,0.1)}.widget-toolbar.no-border:before{display:none}.widget-toolbar label{display:inline-block;vertical-align:middle;margin-bottom:0}.widget-toolbar>a{font-size:14px;margin:0 1px;display:inline-block;padding:0;line-height:24px}.widget-toolbar>a:hover{text-decoration:none}.widget-header-large>.widget-toolbar>a{font-size:15px;margin:0 1px}.widget-toolbar>.btn{line-height:27px;margin-top:-2px}.widget-toolbar>.btn.smaller{line-height:26px}.widget-toolbar>.btn.bigger{line-height:28px}.widget-toolbar>.btn-sm{line-height:24px}.widget-toolbar>.btn-sm.smaller{line-height:23px}.widget-toolbar>.btn-sm.bigger{line-height:25px}.widget-toolbar>.btn-xs{line-height:22px}.widget-toolbar>.btn-xs.smaller{line-height:21px}.widget-toolbar>.btn-xs.bigger{line-height:23px}.widget-toolbar>.btn-minier{line-height:18px}.widget-toolbar>.btn-minier.smaller{line-height:17px}.widget-toolbar>.btn-minier.bigger{line-height:19px}.widget-toolbar>.btn-lg{line-height:36px}.widget-toolbar>.btn-lg.smaller{line-height:34px}.widget-toolbar>.btn-lg.bigger{line-height:38px}.widget-toolbar-dark{background:#444}.widget-toolbar-light{background:rgba(255,255,255,0.85)}.widget-toolbar>[data-action]>[class*="icon-"]{margin-right:0}.widget-toolbar>[data-action]:focus{text-decoration:none}[class*="header-color-"]>.widget-toolbar>[data-action]{text-shadow:0 1px 1px rgba(0,0,0,0.2)}[class*="header-color-"]>.widget-toolbar>[data-action="settings"]{color:#d3e4ed}[class*="header-color-"]>.widget-toolbar>[data-action="reload"]{color:#deead3}[class*="header-color-"]>.widget-toolbar>[data-action="collapse"]{color:#e2e2e2}[class*="header-color-"]>.widget-toolbar>[data-action="close"]{color:#ffd9d5}.header-color-orange>.widget-toolbar>[data-action]{text-shadow:none}.header-color-orange>.widget-toolbar>[data-action="settings"]{color:#559aab}.header-color-orange>.widget-toolbar>[data-action="reload"]{color:#7ca362}.header-color-orange>.widget-toolbar>[data-action="collapse"]{color:#777}.header-color-orange>.widget-toolbar>[data-action="close"]{color:#a05656}.widget-toolbar>[data-action="settings"],.header-color-dark>.widget-toolbar>[data-action="settings"]{color:#99cadb}.widget-toolbar>[data-action="reload"],.header-color-dark>.widget-toolbar>[data-action="reload"]{color:#acd392}.widget-toolbar>[data-action="collapse"],.header-color-dark>.widget-toolbar>[data-action="collapse"]{color:#aaa}.widget-toolbar>[data-action="close"],.header-color-dark>.widget-toolbar>[data-action="close"]{color:#e09e96}.widget-body{border:1px solid #CCC;border-top:0;background-color:#FFF}.widget-main{padding:12px}.widget-main.padding-32{padding:32px}.widget-main.padding-30{padding:30px}.widget-main.padding-28{padding:28px}.widget-main.padding-26{padding:26px}.widget-main.padding-24{padding:24px}.widget-main.padding-22{padding:22px}.widget-main.padding-20{padding:20px}.widget-main.padding-18{padding:18px}.widget-main.padding-16{padding:16px}.widget-main.padding-14{padding:14px}.widget-main.padding-12{padding:12px}.widget-main.padding-10{padding:10px}.widget-main.padding-8{padding:8px}.widget-main.padding-6{padding:6px}.widget-main.padding-4{padding:4px}.widget-main.padding-2{padding:2px}.widget-main.padding-0{padding:0}.widget-main.no-padding{padding:0}.widget-toolbar .progress{vertical-align:middle;display:inline-block;margin:0}.widget-toolbar>.dropdown,.widget-toolbar>.dropup{display:inline-block}.widget-toolbar>.dropdown>.dropdown-menu:before,.dropdown-menu.dropdown-caret:before{border-bottom:7px solid rgba(0,0,0,0.2);border-left:7px solid transparent;border-right:7px solid transparent;content:"";display:inline-block;left:9px;position:absolute;top:-7px}.widget-toolbar>.dropdown>.dropdown-menu:after,.dropdown-menu.dropdown-caret:after{border-bottom:6px solid #fff;border-left:6px solid transparent;border-right:6px solid transparent;content:"";display:inline-block;left:10px;position:absolute;top:-6px}.widget-toolbar>.dropdown>.dropdown-menu.pull-right:before,.dropdown-menu.pull-right.dropdown-caret:before{left:auto;right:9px}.widget-toolbar>.dropdown>.dropdown-menu.pull-right:after,.dropdown-menu.pull-right.dropdown-caret:after{left:auto;right:10px}.widget-header[class*="header-color-"]{color:#FFF;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.header-color-blue{background:#307ecc;border-color:#307ecc}.header-color-blue+.widget-body{border-color:#307ecc}.header-color-blue2{background:#5090c1;border-color:#5090c1}.header-color-blue2+.widget-body{border-color:#5090c1}.header-color-blue3{background:#6379aa;border-color:#6379aa}.header-color-blue3+.widget-body{border-color:#6379aa}.header-color-green{background:#82af6f;border-color:#82af6f}.header-color-green+.widget-body{border-color:#82af6f}.header-color-green2{background:#2e8965;border-color:#2e8965}.header-color-green2+.widget-body{border-color:#2e8965}.header-color-green3{background:#4ebc30;border-color:#4ebc30}.header-color-green3+.widget-body{border-color:#4ebc30}.header-color-red{background:#e2755f;border-color:#e2755f}.header-color-red+.widget-body{border-color:#e2755f}.header-color-red2{background:#e04141;border-color:#e04141}.header-color-red2+.widget-body{border-color:#e04141}.header-color-red3{background:#d15b47;border-color:#d15b47}.header-color-red3+.widget-body{border-color:#d15b47}.header-color-purple{background:#7e6eb0;border-color:#7e6eb0}.header-color-purple+.widget-body{border-color:#7e6eb0}.header-color-pink{background:#ce6f9e;border-color:#ce6f9e}.header-color-pink+.widget-body{border-color:#ce6f9e}.header-color-orange{background:#ffc657;border-color:#e8b10d;color:#855d10!important}.header-color-orange+.widget-body{border-color:#e8b10d}.header-color-dark{background:#404040;border-color:#454545}.header-color-dark+.widget-body{border-color:#666}.header-color-grey{background:#848484;border-color:#989898}.header-color-grey+.widget-body{border-color:#aaa}.widget-box.light-border>[class*="header-color-"]+.widget-body{border-color:#d6d6d6!important}.widget-box.no-border{border-bottom:0}.widget-box.no-border>.widget-body{border:0}.widget-box.transparent{border:0;box-shadow:none}.widget-box.transparent>.widget-header{background:0;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false);border:0;border-bottom:1px solid #dce8f1;color:#4383b4;padding-left:3px}.widget-box.transparent>.widget-header-large{padding-left:5px}.widget-box.transparent>.widget-header-small{padding-left:1px}.widget-box.transparent .widget-body{border:0;background-color:transparent}.widget-box.transparent .widget-main.no-padding-left{padding-left:0}.widget-box.transparent .widget-main.no-padding-right{padding-right:0}.widget-box.transparent .widget-main.no-padding-top{padding-top:0}.widget-box.transparent .widget-main.no-padding-bottom{padding-bottom:0}.widget-body .table{border-top:1px solid #e5e5e5}.widget-body .table thead:first-child tr{background:#FFF}[class*="header-color-"]+.widget-body .table thead:first-child tr{background:#f2f2f2;background-image:-webkit-gradient(linear,left 0,left 100%,from(#f8f8f8),to(#ececec));background-image:-webkit-linear-gradient(top,#f8f8f8,0%,#ececec,100%);background-image:-moz-linear-gradient(top,#f8f8f8 0,#ececec 100%);background-image:linear-gradient(to bottom,#f8f8f8 0,#ececec 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8f8f8',endColorstr='#ffececec',GradientType=0)}.widget-body .table.table-bordered thead:first-child>tr{border-top:0}.widget-main.no-padding .table,.widget-main.padding-0 .table{margin-bottom:0;border:0}.widget-main.no-padding .table-bordered th:first-child,.widget-main.padding-0 .table-bordered th:first-child,.widget-main.no-padding .table-bordered td:first-child,.widget-main.padding-0 .table-bordered td:first-child{border-left-width:0}.transparent .widget-main .table-bordered>thead>tr>th:last-child,.widget-main.no-padding .table-bordered>thead>tr>th:last-child,.transparent .widget-main .table-bordered>tbody>tr>td:last-child,.widget-main.no-padding .table-bordered>tbody>tr>td:last-child,.transparent .widget-main .table-bordered>tfoot>tr>td:last-child,.widget-main.no-padding .table-bordered>tfoot>tr>td:last-child{border-right-width:0!important}.transparent .widget-main .table-bordered>tbody>tr:last-child>td,.widget-main.no-padding .table-bordered>tbody>tr:last-child>td{border-bottom-width:0!important}.table-bordered>thead.thin-border-bottom>tr>th,.table-bordered>thead.thin-border-bottom>tr>td{border-bottom-width:1px}.widget-body .alert:last-child{margin-bottom:0}.widget-main .tab-content{border:0}.widget-toolbar>.nav-tabs{border-bottom:0;margin-bottom:0;position:relative;top:5px}.widget-toolbar>.nav-tabs>li>a{box-shadow:none}.widget-toolbar>.nav-tabs>li:not(.active)>a{border-color:transparent;background-color:transparent}.widget-toolbar>.nav-tabs>li:not(.active)>a:hover{background-color:transparent}.widget-toolbar>.nav-tabs>li.active>a{background-color:#FFF;border-bottom-color:transparent;box-shadow:none}.widget-header-small>.widget-toolbar>.nav-tabs{top:5px}.widget-header-small>.widget-toolbar>.nav-tabs>li>a{line-height:16px;padding-top:6px;padding-bottom:6px}.widget-header-small>.widget-toolbar>.nav-tabs>li.active>a{border-top-width:2px;margin-top:-1px}.widget-header-large>.widget-toolbar>.nav-tabs{top:8px}.widget-header-large>.widget-toolbar>.nav-tabs>li>a{line-height:22px;padding-top:9px;padding-bottom:9px}[class*="header-color-"]>.widget-toolbar>.nav-tabs>li>a{border-color:transparent;background-color:transparent;color:#FFF;margin-right:1px}[class*="header-color-"]>.widget-toolbar>.nav-tabs>li>a:hover{background-color:#FFF;color:#555;border-top-color:#FFF}[class*="header-color-"]>.widget-toolbar>.nav-tabs>li.active>a{background-color:#FFF;color:#555;border-top-width:1px;margin-top:0}.header-color-orange>.widget-toolbar>.nav-tabs>li>a{color:#855d10}.transparent .widget-toolbar>.nav-tabs>li>a{color:#555;background-color:transparent;border-right:1px solid transparent;border-left:1px solid transparent}.transparent .widget-toolbar>.nav-tabs>li.active>a{border-top-color:#4c8fbd;border-right:1px solid #c5d0dc;border-left:1px solid #c5d0dc;background-color:#FFF;box-shadow:none}.widget-toolbox{background-color:#EEE}.widget-toolbox:first-child{padding:2px;border-bottom:1px solid #CCC}.widget-toolbox:last-child{padding:2px;border-top:1px solid #CCC}.transparent .widget-toolbox:last-child{border:0;border-top:1px solid #CCC}.widget-toolbox>.btn-toolbar{margin:0;padding:0}.widget-toolbox.center{text-align:center}.widget-toolbox.padding-16{padding:16px}.widget-toolbox.padding-14{padding:14px}.widget-toolbox.padding-12{padding:12px}.widget-toolbox.padding-10{padding:10px}.widget-toolbox.padding-8{padding:8px}.widget-toolbox.padding-6{padding:6px}.widget-toolbox.padding-4{padding:4px}.widget-toolbox.padding-2{padding:2px}.widget-toolbox.padding-0{padding:0}.widget-box-overlay{position:absolute;top:0;bottom:0;right:0;left:0;background-color:rgba(0,0,0,0.3);z-index:21}.widget-box-overlay>[class*="icon-"]{position:absolute;top:15%;left:0;right:0;text-align:center}.widget-box.collapsed .widget-box-overlay>[class*="icon-"]{top:5%}.widget-box-overlay>.icon-spin{-moz-animation-duration:1.2s;-webkit-animation-duration:1.2s;-o-animation-duration:1.2s;-ms-animation-duration:1.2s;animation-duration:1.2s}.widget-main>form{margin-bottom:0}.widget-main>form .input-append,.widget-main>form .input-prepend{margin-bottom:0}.widget-main.no-padding>form>fieldset,.widget-main.padding-0>form>fieldset{padding:16px}.widget-main.no-padding>form>fieldset+.form-actions,.widget-main.padding-0>form>fieldset+.form-actions{padding:10px 0 12px}.widget-main.no-padding>form>.form-actions,.widget-main.padding-0>form>.form-actions{margin:0;padding:10px 12px 12px}.widget-placeholder{border:2px dashed #d9d9d9}.tooltip.in{opacity:1;filter:alpha(opacity=100)}.tooltip-inner{background-color:#333;color:#FFF;font-size:12px;text-shadow:1px 1px 0 rgba(42,45,50,0.5);border-radius:0;padding:5px 9px}.tooltip.top .tooltip-arrow{border-top-color:#333}.tooltip.right .tooltip-arrow{border-right-color:#333}.tooltip.left .tooltip-arrow{border-left-color:#333}.tooltip.bottom .tooltip-arrow{border-bottom-color:#333}.tooltip-error+.tooltip>.tooltip-inner{background-color:#c94d32;color:#FFF;text-shadow:1px 1px 0 rgba(100,60,20,0.3);border-radius:0}.tooltip-error+.tooltip.top .tooltip-arrow{border-top-color:#c94d32}.tooltip-error+.tooltip.right .tooltip-arrow{border-right-color:#c94d32}.tooltip-error+.tooltip.left .tooltip-arrow{border-left-color:#c94d32}.tooltip-error+.tooltip.bottom .tooltip-arrow{border-bottom-color:#c94d32}.tooltip-success+.tooltip>.tooltip-inner{background-color:#629b58;color:#FFF;text-shadow:1px 1px 0 rgba(60,100,20,0.3);border-radius:0}.tooltip-success+.tooltip.top .tooltip-arrow{border-top-color:#629b58}.tooltip-success+.tooltip.right .tooltip-arrow{border-right-color:#629b58}.tooltip-success+.tooltip.left .tooltip-arrow{border-left-color:#629b58}.tooltip-success+.tooltip.bottom .tooltip-arrow{border-bottom-color:#629b58}.tooltip-warning+.tooltip>.tooltip-inner{background-color:#ed9421;color:#FFF;text-shadow:1px 1px 0 rgba(100,90,10,0.3);border-radius:0}.tooltip-warning+.tooltip.top .tooltip-arrow{border-top-color:#ed9421}.tooltip-warning+.tooltip.right .tooltip-arrow{border-right-color:#ed9421}.tooltip-warning+.tooltip.left .tooltip-arrow{border-left-color:#ed9421}.tooltip-warning+.tooltip.bottom .tooltip-arrow{border-bottom-color:#ed9421}.tooltip-info+.tooltip>.tooltip-inner{background-color:#4b89aa;color:#FFF;text-shadow:1px 1px 0 rgba(40,50,100,0.3);border-radius:0}.tooltip-info+.tooltip.top .tooltip-arrow{border-top-color:#4b89aa}.tooltip-info+.tooltip.right .tooltip-arrow{border-right-color:#4b89aa}.tooltip-info+.tooltip.left .tooltip-arrow{border-left-color:#4b89aa}.tooltip-info+.tooltip.bottom .tooltip-arrow{border-bottom-color:#4b89aa}.popover{border-radius:0;padding:0;border-color:#ccc;border-width:1px;-webkit-box-shadow:0 0 4px 2px rgba(0,0,0,0.2);box-shadow:0 0 4px 2px rgba(0,0,0,0.2);color:#4d6883}.popover-title{border-radius:0;background-color:#eff3f8;color:#555;border-bottom:1px solid #dfe3e8;text-shadow:1px 1px 1px rgba(220,220,220,0.2)}.popover.bottom .arrow:after{top:1px;margin-left:-10px;border-bottom-color:#eff3f8;border-top-width:0}.tooltip-error+.popover{color:#555;border:1px solid #f7f0ef}.tooltip-error+.popover .popover-title{background-color:#f7f0ef;border-bottom-color:#e8e0df;color:#b75445;text-shadow:none}.tooltip-warning+.popover{color:#555;border:1px solid #f4eee3}.tooltip-warning+.popover .popover-title{background-color:#f4eee3;border-bottom-color:#e4dcd3;color:#d67e31;text-shadow:none}.tooltip-success+.popover{color:#555;border:1px solid #e8f2e3}.tooltip-success+.popover .popover-title{background-color:#e8f2e3;border-bottom-color:#d8e2d3;color:#629b58;text-shadow:none}.tooltip-info+.popover{color:#555;border:1px solid #e5edf8}.tooltip-info+.popover .popover-title{background-color:#e5edf8;border-bottom-color:#d5dde8;color:#3f79b6;text-shadow:none}.popover-notitle+.popover .popover-title{display:none}.popover-notitle+.popover.top .arrow:after{border-top-color:#FFF}.popover-notitle+.popover.bottom .arrow:after{border-bottom-color:#FFF}.popover-notitle+.popover.left .arrow:after{border-left-color:#FFF}.popover-notitle+.popover.right .arrow:after{border-left-color:#FFF}.progress{border-radius:0;-webkit-box-shadow:none;box-shadow:none;background:#dadada;height:18px}.progress .progress-bar{-webkit-box-shadow:none;box-shadow:none;line-height:18px}.progress[data-percent]{position:relative}.progress[data-percent]:after{display:inline-block;content:attr(data-percent);color:#FFF;position:absolute;left:0;right:0;top:0;bottom:0;line-height:16px;text-align:center;font-size:12px;font-family:Verdana}.progress.progress-yellow[data-percent]:after{color:#963}.progress.progress-small{height:12px}.progress.progress-small .progress-bar{line-height:10px;font-size:11px}.progress.progress-small[data-percent]:after{line-height:10px;font-size:11px}.progress.progress-mini{height:9px}.progress.progress-mini .progress-bar{line-height:8px;font-size:11px}.progress.progress-mini[data-percent]:after{line-height:8px;font-size:11px}.progress-bar{background-color:#2a91d8}.progress-striped .progress-bar{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#ca5952}.progress-striped .progress-bar-danger{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-success{background-color:#59a84b}.progress-striped .progress-bar-success{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f2bb46}.progress-striped .progress-bar-warning{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-pink{background-color:#d6487e}.progress-striped .progress-bar-pink{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-purple{background-color:#9585bf}.progress-striped .progress-bar-purple{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-yellow{background-color:#ffd259}.progress-striped .progress-bar-yellow{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-inverse{background-color:#404040}.progress-striped .progress-bar-inverse{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress-bar-grey{background-color:#8a8a8a}.progress-striped .progress-bar-grey{background-image:-webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:-moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent)}.progress{position:relative}.progress:before{display:inline-block;content:"";position:absolute;left:0;right:0;top:0;bottom:0;background:radial-gradient(9px 9px 0deg,circle cover,#0ff 0,rgba(0,0,255,0) 100%,#00f 95%)}.infobox-container{text-align:center;font-size:0}.infobox{display:inline-block;width:210px;height:66px;color:#555;background-color:#FFF;box-shadow:none;border-radius:0;margin:-1px 0 0 -1px;padding:8px 3px 6px 9px;border:1px dotted;border-color:#d8d8d8!important;vertical-align:middle;text-align:left;position:relative}.infobox>.infobox-icon{display:inline-block;vertical-align:top;width:44px}.infobox>.infobox-icon>[class*="icon-"]{display:inline-block;height:42px;margin:0;padding:1px 1px 0 2px;background-color:transparent;border:0;text-align:center;position:relative;border-radius:100%;-webkit-box-shadow:1px 1px 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 rgba(0,0,0,0.2)}.infobox>.infobox-icon>[class*="icon-"]:before{font-size:24px;display:block;padding:6px 0 7px;width:40px;text-align:center;border-radius:100%;color:rgba(255,255,255,0.9);background-color:rgba(255,255,255,0.2);text-shadow:1px 1px 1px rgba(0,0,0,0.14)}.infobox .infobox-content{color:#555}.infobox .infobox-content:first-child{font-weight:bold}.infobox>.infobox-data{display:inline-block;border:0;border-top-width:0;font-size:13px;text-align:left;line-height:21px;min-width:130px;padding-left:8px;position:relative;top:0}.infobox>.infobox-data>.infobox-data-number{display:block;font-size:22px;margin:2px 0 4px;position:relative;text-shadow:1px 1px 0 rgba(0,0,0,0.15)}.infobox>.infobox-data>.infobox-text{display:block;font-size:16px;margin:2px 0 4px;position:relative;text-shadow:none}.infobox.no-border{border:none!important}@media only screen and (max-width:460px){.infobox{min-width:95%;margin-top:2px;margin-bottom:2px}}.infobox-purple{color:#6f3cc4;border-color:#6f3cc4}.infobox-purple>.infobox-icon>[class*="icon-"]{background-color:#6f3cc4}.infobox-purple.infobox-dark{background-color:#6f3cc4;border-color:#6f3cc4}.infobox-purple2{color:#5f47b0;border-color:#5f47b0}.infobox-purple2>.infobox-icon>[class*="icon-"]{background-color:#5f47b0}.infobox-purple2.infobox-dark{background-color:#5f47b0;border-color:#5f47b0}.infobox-pink{color:#cb6fd7;border-color:#cb6fd7}.infobox-pink>.infobox-icon>[class*="icon-"]{background-color:#cb6fd7}.infobox-pink.infobox-dark{background-color:#cb6fd7;border-color:#cb6fd7}.infobox-blue{color:#6fb3e0;border-color:#6fb3e0}.infobox-blue>.infobox-icon>[class*="icon-"]{background-color:#6fb3e0}.infobox-blue.infobox-dark{background-color:#6fb3e0;border-color:#6fb3e0}.infobox-blue2{color:#3983c2;border-color:#3983c2}.infobox-blue2>.infobox-icon>[class*="icon-"]{background-color:#3983c2}.infobox-blue2.infobox-dark{background-color:#3983c2;border-color:#3983c2}.infobox-blue3{color:#1144eb;border-color:#1144eb}.infobox-blue3>.infobox-icon>[class*="icon-"]{background-color:#1144eb}.infobox-blue3.infobox-dark{background-color:#1144eb;border-color:#1144eb}.infobox-red{color:#d53f40;border-color:#d53f40}.infobox-red>.infobox-icon>[class*="icon-"]{background-color:#d53f40}.infobox-red.infobox-dark{background-color:#d53f40;border-color:#d53f40}.infobox-brown{color:#c67a3e;border-color:#c67a3e}.infobox-brown>.infobox-icon>[class*="icon-"]{background-color:#c67a3e}.infobox-brown.infobox-dark{background-color:#c67a3e;border-color:#c67a3e}.infobox-wood{color:#7b3f25;border-color:#7b3f25}.infobox-wood>.infobox-icon>[class*="icon-"]{background-color:#7b3f25}.infobox-wood.infobox-dark{background-color:#7b3f25;border-color:#7b3f25}.infobox-light-brown{color:#cebea5;border-color:#cebea5}.infobox-light-brown>.infobox-icon>[class*="icon-"]{background-color:#cebea5}.infobox-light-brown.infobox-dark{background-color:#cebea5;border-color:#cebea5}.infobox-orange{color:#e8b110;border-color:#e8b110}.infobox-orange>.infobox-icon>[class*="icon-"]{background-color:#e8b110}.infobox-orange.infobox-dark{background-color:#e8b110;border-color:#e8b110}.infobox-orange2{color:#f79263;border-color:#f79263}.infobox-orange2>.infobox-icon>[class*="icon-"]{background-color:#f79263}.infobox-orange2.infobox-dark{background-color:#f79263;border-color:#f79263}.infobox-green{color:#9abc32;border-color:#9abc32}.infobox-green>.infobox-icon>[class*="icon-"]{background-color:#9abc32}.infobox-green.infobox-dark{background-color:#9abc32;border-color:#9abc32}.infobox-green2{color:#0490a6;border-color:#0490a6}.infobox-green2>.infobox-icon>[class*="icon-"]{background-color:#0490a6}.infobox-green2.infobox-dark{background-color:#0490a6;border-color:#0490a6}.infobox-grey{color:#999;border-color:#999}.infobox-grey>.infobox-icon>[class*="icon-"]{background-color:#999}.infobox-grey.infobox-dark{background-color:#999;border-color:#999}.infobox-black{color:#393939;border-color:#393939}.infobox-black>.infobox-icon>[class*="icon-"]{background-color:#393939}.infobox-black.infobox-dark{background-color:#393939;border-color:#393939}.infobox-dark{margin:1px 1px 0 0;border-color:transparent!important;border:0;color:#FFF;padding:4px}.infobox-dark>.infobox-icon>[class*="icon-"],.infobox-dark>.infobox-icon>[class*="icon-"]:before{background-color:transparent;box-shadow:none;text-shadow:none;border-radius:0;font-size:30px}.infobox-dark>.infobox-icon>[class*="icon-"]:before{opacity:1;filter:alpha(opacity=100)}.infobox-dark .infobox-content{color:#FFF}.infobox>.infobox-progress{padding-top:0;display:inline-block;vertical-align:top;width:44px}.infobox>.infobox-chart{padding-top:0;display:inline-block;vertical-align:text-bottom;width:44px;text-align:center}.infobox>.infobox-chart>.sparkline{font-size:24px}.infobox>.infobox-chart canvas{vertical-align:middle!important}.infobox>.stat{display:inline-block;position:absolute;right:20px;top:11px;text-shadow:none;color:#abbac3;font-size:13px;font-weight:bold;padding-right:18px;padding-top:3px}.infobox>.stat:before{display:inline-block;content:"";width:8px;height:11px;background-color:#abbac3;position:absolute;right:4px;top:7px}.infobox>.stat:after{display:inline-block;content:"";position:absolute;right:1px;top:-8px;border:12px solid transparent;border-width:8px 7px;border-bottom-color:#abbac3}.infobox>.stat.stat-success{color:#77c646}.infobox>.stat.stat-success:before{background-color:#77c646}.infobox>.stat.stat-success:after{border-bottom-color:#77c646}.infobox>.stat.stat-important{color:#e4564f}.infobox>.stat.stat-important:before{background-color:#e4564f;top:3px}.infobox>.stat.stat-important:after{border-top-color:#e4564f;border-bottom-color:transparent;bottom:-6px;top:auto}.infobox.infobox-dark>.stat{color:#FFF}.infobox.infobox-dark>.stat:before{background-color:#e1e5e8}.infobox.infobox-dark>.stat:after{border-bottom-color:#e1e5e8}.infobox.infobox-dark>.stat.stat-success{color:#FFF}.infobox.infobox-dark>.stat.stat-success:before{background-color:#d0e29e}.infobox.infobox-dark>.stat.stat-success:after{border-bottom-color:#d0e29e}.infobox.infobox-dark>.stat.stat-important{color:#FFF}.infobox.infobox-dark>.stat.stat-important:before{background-color:#ff8482;top:3px}.infobox.infobox-dark>.stat.stat-important:after{border-top-color:#ff8482;border-bottom-color:transparent;bottom:-6px;top:auto}.infobox>.badge{position:absolute;right:20px;top:11px;border-radius:0;text-shadow:none;color:#FFF;font-size:11px;font-weight:bold;line-height:15px;height:16px;padding:0 1px}.infobox.infobox-dark>.badge{color:#FFF;background-color:rgba(255,255,255,0.2)!important;border:1px solid #f1f1f1;top:2px;right:2px}.infobox.infobox-dark>.badge.badge-success>[class*="icon-"]{color:#c6e9a1}.infobox.infobox-dark>.badge.badge-important>[class*="icon-"]{color:#ecb792}.infobox.infobox-dark>.badge.badge-warning>[class*="icon-"]{color:#ecb792}.infobox-small{width:135px;height:52px;text-align:left;padding-bottom:5px}.infobox-small>.infobox-icon,.infobox-small>.infobox-chart,.infobox-small>.infobox-progress{display:inline-block;width:40px;max-width:40px;height:42px;line-height:38px;vertical-align:middle}.infobox-small>.infobox-data{display:inline-block;text-align:left;vertical-align:middle;max-width:72px;min-width:0}.infobox-small>.infobox-chart>.sparkline{font-size:14px;margin-left:2px}.percentage{font-size:14px;font-weight:bold;display:inline-block;vertical-align:top}.infobox-small .percentage{font-size:13px;font-weight:normal;margin-top:2px;margin-left:2px}.pricing-box:not(:first-child){padding-left:7px}.pricing-box:not(:last-child){padding-right:7px}.pricing-box .price{font-size:22px;line-height:20px;height:28px;text-align:center;color:#555}.pricing-box .price small{font-size:14px}.pricing-box .btn{font-size:16px}.pricing-box .widget-header{text-align:center;padding-left:0}@media only screen and (max-width:768px){.pricing-box{margin:0;margin-bottom:16px;padding-left:0!important;padding-right:0!important;margin-left:-1px}.pricing-box:nth-child(odd){padding-left:12px!important}.pricing-box:nth-child(even){padding-right:12px!important}}@media only screen and (max-width:460px){.pricing-box{margin:0;margin-bottom:16px;width:100%;padding-left:12px!important;padding-right:12px!important}}.pricing-table-header{padding-top:0;margin-top:0;text-align:left}.pricing-table-header>li{padding:7px 0 7px 11px;font-size:13px}.pricing-table{margin-top:0}.pricing-table>li{text-align:center;padding:7px 0;font-size:13px}.list-striped>li:nth-child(odd){background-color:#FFF}.list-striped>li:nth-child(even){background-color:#f2f3eb}.list-striped.pricing-table-header>li:nth-child(even){background-color:#EEE}.pricing-box-small{box-shadow:none;margin-left:-2px;background-color:#FFF;position:relative;z-index:10}.pricing-box-small .price{line-height:20px;height:28px;text-align:center}.pricing-box-small .price .label:before,.pricing-box-small .price .label:after{margin-top:-2px;opacity:.9;filter:alpha(opacity=90)}.pricing-box-small:hover{box-shadow:0 0 4px 2px rgba(0,0,0,0.15);z-index:11;-webkit-transform:scale(1.04);-ms-transform:scale(1.04);transform:scale(1.04)}.pricing-box-small:hover .price>.label{-webkit-transform:scale(0.96);-ms-transform:scale(0.96);transform:scale(0.96)}.pricing-span{margin:0;width:19%;max-width:150px!important;min-width:110px!important;float:left!important}.pricing-span-header{padding-right:0}@media only screen and (min-width:481px){.pricing-span-body{padding-left:0;padding-right:0}}@media only screen and (max-width:480px){.pricing-span-header,.pricing-span-body{width:100%;padding-right:12px}}.login-container{width:375px;margin:0 auto}.login-layout{background-color:#1d2024}.login-layout .main-container:after{display:none}.login-layout .main-content{margin-left:0;min-height:100%;padding-left:15px;padding-right:15px}.login-layout label{margin-bottom:11px}.login-layout .widget-box{visibility:hidden;position:absolute;overflow:hidden;width:100%;border-bottom:0;box-shadow:none;padding:6px;background-color:#394557;-moz-transform:scale(0,1) translate(-150px);-webkit-transform:scale(0,1) translate(-150px);-o-transform:scale(0,1) translate(-150px);-ms-transform:scale(0,1) translate(-150px);transform:scale(0,1) translate(-150px)}.login-layout .widget-box.visible{visibility:visible;-moz-transform:scale(1,1) translate(0);-webkit-transform:scale(1,1) translate(0);-o-transform:scale(1,1) translate(0);-ms-transform:scale(1,1) translate(0);transform:scale(1,1) translate(0);-webkit-transition:all .3s ease;transition:all .3s ease;-o-transition:none;-webkit-transition:none}.login-layout .widget-box .widget-main{padding:16px 36px 36px;background:#f7f7f7}.login-layout .widget-box .widget-main form{margin:0}.login-layout .widget-box .widget-body .toolbar>div>a{font-size:15px;font-weight:400;text-shadow:1px 0 1px rgba(0,0,0,0.25)}.login-box .forgot-password-link{color:#FE9}.login-box .user-signup-link{color:#CF7}.login-box .toolbar{background:#5090c1;border-top:2px solid #597597}.login-box .toolbar>div{width:50%;display:inline-block;padding:9px 0 11px}.login-box .toolbar>div:first-child{float:left;text-align:left}.login-box .toolbar>div:first-child>a{margin-left:11px}.login-box .toolbar>div:first-child+div{float:right;text-align:right}.login-box .toolbar>div:first-child+div>a{margin-right:11px}.forgot-box .toolbar{background:#c16050;border-top:2px solid #976559;padding:9px 18px}.signup-box .toolbar{background:#76b774;border-top:2px solid #759759;padding:9px 18px}.forgot-box .back-to-login-link,.signup-box .back-to-login-link{color:#FE9;font-size:14px;font-weight:bold;text-shadow:1px 0 1px rgba(0,0,0,0.25)}.login-layout .login-box .widget-main{padding-bottom:16px}.login-box .social-or-login{margin-top:4px;position:relative;z-index:1}.login-box .social-or-login :first-child{display:inline-block;background:#f7f7f7;padding:0 8px;color:#5090c1;font-size:13px}.login-box .social-or-login:before{content:"";display:block;position:absolute;z-index:-1;top:50%;left:0;right:0;border-top:1px dotted #a6c4db}.login-box .social-login{margin-top:12px}.login-box .social-login a{border-radius:100%;width:42px;height:42px;line-height:46px;padding:0;margin:0 1px;border:0}.login-box .social-login a>[class*="icon-"]{font-size:24px;margin:0}@media only screen and (max-width:480px){.login-layout .widget-box .widget-main{padding:16px}}@media only screen and (max-width:480px){.login-container{width:98%}.login-layout .widget-box{padding:0}.login-box .toolbar>div{width:auto}}@media only screen and (max-width:767px){.login-layout .widget-box.visible{-webkit-transition:none;transition:none}}.invoice-info{line-height:24px!important;color:#444;vertical-align:bottom;margin-left:9px;margin-right:9px}.invoice-info-label{display:inline-block;max-width:100px;text-align:right;font-size:14px}.invoice-box .label-large[class*="arrowed"]{margin-left:11px!important;max-width:95%}.error-container{margin:20px;padding:0;background:#FFF}.ace-thumbnails{list-style:none;margin:0;padding:0}.ace-thumbnails>li{float:left;display:block;position:relative;overflow:hidden;margin:2px;border:2px solid #333}.ace-thumbnails>li>:first-child{display:block;position:relative}.ace-thumbnails>li .tags{display:inline-block;position:absolute;bottom:0;right:0;left:0;overflow:visible;direction:rtl;padding:0;margin:0;height:auto;width:auto;background-color:transparent;border:0;vertical-align:inherit}.ace-thumbnails>li .tags>.label-holder{opacity:.92;filter:alpha(opacity=92);display:table;margin:1px 0 0 0;direction:ltr;text-align:left}.ace-thumbnails>li .tags>.label-holder:hover{opacity:1;filter:alpha(opacity=100)}.ace-thumbnails>li>.tools{position:absolute;top:0;bottom:0;left:-30px;width:24px;background-color:rgba(0,0,0,0.55);text-align:center;vertical-align:middle;-webkit-transition:all .2s ease;transition:all .2s ease}.ace-thumbnails>li>.tools.tools-right{left:auto;right:-30px}.ace-thumbnails>li>.tools.tools-bottom{width:auto;height:28px;left:0;right:0;top:auto;bottom:-30px}.ace-thumbnails>li>.tools.tools-top{width:auto;height:28px;left:0;right:0;top:-30px;bottom:auto}.ace-thumbnails>li:hover>.tools{left:0}.ace-thumbnails>li:hover>.tools.tools-bottom{top:auto;bottom:0}.ace-thumbnails>li:hover>.tools.tools-top{bottom:auto;top:0}.ace-thumbnails>li:hover>.tools.tools-right{left:auto;right:0}.ace-thumbnails>li>.tools>a,.ace-thumbnails>li>:first-child .inner a{display:inline-block;color:#FFF;font-size:18px;font-weight:normal;padding:0 4px}.ace-thumbnails>li>.tools>a:hover,.ace-thumbnails>li>:first-child .inner a:hover{text-decoration:none;color:#c9e2ea}.ace-thumbnails>li .tools.tools-bottom>a,.ace-thumbnails>li .tools.tools-top>a{display:inline-block}.ace-thumbnails>li>:first-child>.text{position:absolute;right:0;left:0;bottom:0;top:0;text-align:center;color:#FFF;background-color:rgba(0,0,0,0.55);opacity:0;filter:alpha(opacity=0);-webkit-transition:all .2s ease;transition:all .2s ease}.ace-thumbnails>li>:first-child>.text:before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:0}.ace-thumbnails>li>:first-child>.text>.inner{padding:4px 0;margin:0;display:inline-block;vertical-align:middle;max-width:90%}.ace-thumbnails>li:hover>:first-child>.text{opacity:1;filter:alpha(opacity=100)}@media only screen and (max-width:480px){.ace-thumbnails{text-align:center}.ace-thumbnails>li{float:none;display:inline-block}}.dialogs{padding:9px 9px 0;position:relative}.itemdiv{padding-right:3px;min-height:66px;position:relative}.itemdiv>.user{display:inline-block;width:42px;position:absolute;left:0}.itemdiv>.user>img{border-radius:100%;border:2px solid #5293c4;max-width:40px;position:relative}.itemdiv>.body{width:auto;margin-left:50px;margin-right:12px;position:relative}.itemdiv>.body>.time{display:block;font-size:11px;font-weight:bold;color:#666;position:absolute;right:9px;top:0}.itemdiv>.body>.time [class*="icon-"]{font-size:14px;font-weight:normal}.itemdiv>.body>.name{display:block;color:#999}.itemdiv>.body>.name>b{color:#777}.itemdiv>.body>.text{display:block;position:relative;margin-top:2px;padding-bottom:19px;padding-left:7px;font-size:13px}.itemdiv>.body>.text:after{display:block;content:"";height:1px;font-size:0;overflow:hidden;position:absolute;left:16px;right:-12px;margin-top:9px;border-top:1px solid #e4ecf3}.itemdiv>.body>.text>[class*="icon-quote-"]:first-child{color:#dce3ed;margin-right:4px}.itemdiv:last-child>.body>.text{border-bottom:0}.itemdiv:last-child>.body>.text:after{display:none}.itemdiv.dialogdiv{padding-bottom:14px}.itemdiv.dialogdiv:before{position:absolute;display:block;content:"";top:0;bottom:0;left:19px;width:3px;max-width:3px;background-color:#e1e6ed;border:1px solid #d7dbdd;border-width:0 1px}.itemdiv.dialogdiv:last-child:before{display:none}.itemdiv.dialogdiv>.user>img{border-color:#c9d6e5}.itemdiv.dialogdiv>.body{border:1px solid #dde4ed;padding:5px 8px 8px;border-left-width:2px;margin-right:1px}.itemdiv.dialogdiv>.body:before{content:"";display:block;position:absolute;left:-7px;top:11px;width:8px;height:8px;border:2px solid #dde4ed;border-width:2px 0 0 2px;background-color:#FFF;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-transform:rotate(-45deg);-ms-transform:rotate(-45deg);transform:rotate(-45deg)}.itemdiv.dialogdiv>.body>.time{position:static;float:right}.itemdiv.dialogdiv>.body>.text{padding-left:0;padding-bottom:0}.itemdiv.dialogdiv>.body>.text:after{display:none}.itemdiv.dialogdiv .tooltip-inner{word-break:break-all}.itemdiv.memberdiv{width:175px;padding:2px;margin:3px 0;float:left;border-bottom:1px solid #e8e8e8}.itemdiv.memberdiv>.user>img{border-color:#dce3ed}.itemdiv.memberdiv>.body>.time{position:static}.itemdiv.memberdiv>.body>.name{line-height:18px;height:18px;margin-bottom:0}.itemdiv.memberdiv>.body>.name>a{display:inline-block;max-width:100px;max-height:18px;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.itemdiv .tools{position:absolute;right:5px;bottom:10px;display:none}.itemdiv .tools .btn{border-radius:36px;margin:1px 0}.itemdiv .body .tools{bottom:4px}.itemdiv.commentdiv .tools{right:9px}.itemdiv:hover .tools{display:inline-block}.item-list{margin:0;padding:0;list-style:none}.item-list>li{padding:9px;background-color:#FFF;margin-top:-1px;position:relative}.item-list>li.selected{color:#8090a0;background-color:#f4f9fc}.item-list>li.selected label,.item-list>li.selected .lbl{text-decoration:line-through;color:#8090a0}.item-list>li>.checkbox{display:inline-block}.item-list>li>label.inline{display:inline-block}.item-list>li label{font-size:13px}.item-list>li .percentage{font-size:11px;font-weight:bold;color:#777}.item-list>li.ui-sortable-helper{cursor:move}li[class*="item-"]{border:1px solid #DDD;border-left-width:3px}li.item-orange{border-left-color:#e8b110}li.item-orange2{border-left-color:#f79263}li.item-red{border-left-color:#d53f40}li.item-red2{border-left-color:#d15b47}li.item-green{border-left-color:#9abc32}li.item-green2{border-left-color:#0490a6}li.item-blue{border-left-color:#4f99c6}li.item-blue2{border-left-color:#3983c2}li.item-blue3{border-left-color:#1144eb}li.item-pink{border-left-color:#cb6fd7}li.item-purple{border-left-color:#6f3cc4}li.item-black{border-left-color:#505050}li.item-grey{border-left-color:#a0a0a0}li.item-brown{border-left-color:#a52a2a}li.item-default{border-left-color:#abbac3}.ui-sortable-placeholder,.ui-sortable-helper,.ui-sortable-placeholder>a,.ui-sortable-helper>a{cursor:move!important}@media only screen and (max-width:480px){.itemdiv.memberdiv{float:none;width:auto}}.profile-user-info{margin:0 12px}.profile-info-row{position:relative}.profile-info-name{position:absolute;width:110px;text-align:right;padding:6px 10px 6px 0;left:0;top:0;bottom:0;font-weight:normal;color:#667e99;background-color:transparent;border-top:1px dotted #d5e4f1}.profile-info-value{padding:6px 4px 6px 6px;margin-left:120px;border-top:1px dotted #d5e4f1}.profile-info-value>span+span:before{display:inline;content:",";margin-left:1px;margin-right:3px;color:#666;border-bottom:1px solid #FFF}.profile-info-value>span+span.editable-container:before{display:none}.profile-info-row:first-child .profile-info-name{border-top:0}.profile-info-row:first-child .profile-info-value{border-top:0}.profile-user-info-striped{border:1px solid #dcebf7}.profile-user-info-striped .profile-info-name{color:#336199;background-color:#edf3f4;border-top:1px solid #f7fbff}.profile-user-info-striped .profile-info-value{border-top:1px dotted #dcebf7;padding-left:12px}.profile-picture{border:1px solid #CCC;background-color:#FFF;padding:4px;display:inline-block;max-width:100%;-moz-box-sizing:border-box;box-shadow:1px 1px 1px rgba(0,0,0,0.15)}.profile-activity{padding:10px 4px;border-bottom:1px dotted #d0d8e0;position:relative;border-left:1px dotted #FFF;border-right:1px dotted #FFF}.profile-activity:first-child{border-top:1px dotted transparent}.profile-activity:first-child:hover{border-top-color:#d0d8e0}.profile-activity:hover{background-color:#f4f9fd;border-left:1px dotted #d0d8e0;border-right:1px dotted #d0d8e0}.profile-activity img{border:2px solid #c9d6e5;border-radius:100%;max-width:40px;margin-right:10px;margin-left:0;box-shadow:none}.profile-activity .thumbicon{background-color:#74abd7;display:inline-block;border-radius:100%;width:38px;height:38px;color:#FFF;font-size:18px;text-align:center;line-height:38px;margin-right:10px;margin-left:0;text-shadow:none!important}.profile-activity .time{display:block;margin-top:4px;color:#777}.profile-activity a.user{font-weight:bold;color:#9585bf}.profile-activity .tools{position:absolute;right:12px;bottom:8px;display:none}.profile-activity:hover .tools{display:block}.user-profile .ace-thumbnails li{border:1px solid #CCC;padding:3px;margin:6px}.user-profile .ace-thumbnails li .tools{left:3px;right:3px}.user-profile .ace-thumbnails li:hover .tools{bottom:3px}.user-profile .user-title-label:hover{text-decoration:none}.user-profile .user-title-label+.dropdown-menu{margin-left:-12px}.profile-contact-links{padding:4px 2px 5px;border:1px solid #e0e2e5;background-color:#f8fafc}.profile-contact-info .btn-link:hover>[class*="icon-"],.profile-contact-info .btn-link:focus>[class*="icon-"]{text-decoration:none}.profile-social-links>a{text-decoration:none;margin:0 1px}.profile-social-links>a:hover>[class*="icon-"]{text-decoration:none}.profile-skills .progress{height:26px;margin-bottom:2px;background-color:transparent}.profile-skills .progress .progress-bar{line-height:26px;font-size:13px;font-weight:bold;font-family:"Open Sans";padding:0 8px}.profile-users .user{display:block;position:static;text-align:center;width:auto}.profile-users .user img{padding:2px;border-radius:100%;border:1px solid #AAA;max-width:none;width:64px;-webkit-transition:all .1s;transition:all .1s}.profile-users .user img:hover{-webkit-box-shadow:0 0 1px 1px rgba(0,0,0,0.33);box-shadow:0 0 1px 1px rgba(0,0,0,0.33)}.profile-users .memberdiv{background-color:#FFF;width:100px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:0;text-align:center;margin:0 8px 24px}.profile-users .memberdiv .name a:hover [class*="icon-"]{text-decoration:none}.profile-users .memberdiv .body{display:inline-block;margin:8px 0 0 0}.profile-users .memberdiv .popover{visibility:hidden;min-width:150px;margin-left:0;margin-right:0;top:-5%;left:auto;right:auto;z-index:-1;opacity:0;display:none;-webkit-transition:visibility 0s linear .2s,z-index 0s linear .2s,opacity .2s linear 0s;transition:visibility 0s linear .2s,z-index 0s linear .2s,opacity .2s linear 0s}.profile-users .memberdiv .popover.right{left:100%;right:auto;display:block}.profile-users .memberdiv .popover.left{left:auto;right:100%;display:block}.profile-users .memberdiv>:first-child:hover .popover{visibility:visible;opacity:1;z-index:1010;-webkit-transition-delay:0s;-moz-transition-delay:0s;-o-transition-delay:0s;transition-delay:0s}.profile-users .memberdiv .tools{position:static;display:block;width:100%;margin-top:2px}.profile-users .memberdiv .tools>a{margin:0 2px}.profile-users .memberdiv .tools>a:hover{text-decoration:none}.user-status{display:inline-block;width:11px;height:11px;background-color:#FFF;border:3px solid #AAA;border-radius:100%;vertical-align:middle;margin-right:1px}.user-status.status-online{border-color:#8ac16c}.user-status.status-busy{border-color:#e07f69}.user-status.status-idle{border-color:#ffb752}.tab-content.profile-edit-tab-content{border:1px solid #DDD;padding:8px 32px 32px;-webkit-box-shadow:1px 1px 0 0 rgba(0,0,0,0.2);box-shadow:1px 1px 0 0 rgba(0,0,0,0.2);background-color:#FFF}@media only screen and (max-width:480px){.profile-info-name{width:80px}.profile-info-value{margin-left:90px}.profile-user-info-striped .profile-info-name{position:static;width:auto;text-align:left;padding:6px 0 6px 10px}.profile-user-info-striped .profile-info-value{margin-left:10px}}@media only screen and (max-width:480px){.user-profile .memberdiv{width:50%;margin-left:0;margin-right:0}}.inbox-tabs.nav-tabs>li>a{background-color:#fafafa}.inbox-tabs.nav-tabs>li.active:not(.open)>a,.inbox-tabs.nav-tabs>li.active:not(.open)>a:hover,.inbox-tabs.nav-tabs>li.active:not(.open)>a:focus{background-color:#f1f5fa;box-shadow:0 -2px 3px 0 rgba(0,0,0,0.1);color:#48768e}.inbox-tabs.nav-tabs>li>a.btn-new-mail{background-color:transparent;border:none!important;padding:0!important}.inbox-tabs.nav-tabs>li>a.btn-new-mail>.btn{border-width:0!important;border-radius:3px!important;padding:0 6px!important;position:relative;transition:none!important}.inbox-tabs.nav-tabs>li.active>a.btn-new-mail{box-shadow:none!important}.inbox-tabs.nav-tabs>li.active>a.btn-new-mail>.btn:before{content:"";display:block;position:absolute;top:100%;left:35%;left:calc(50% - 6px);border-width:6px 8px;border-style:solid;border-color:transparent;border-top-color:inherit}.inbox-tabs.nav-tabs.tab-size-bigger>li>a{padding:5px 15px 7px;font-size:14px}.inbox-tabs.nav-tabs.tab-size-bigger>li>a>[class*="icon-"]:first-child{margin-bottom:5px}.inbox-tabs.nav-tabs.tab-size-bigger>li>a.btn-new-mail>.btn{padding:10px!important;border-radius:7px!important}.inbox-tabs.nav-tabs.tab-size-bigger>li.active>a.btn-new-mail{margin-top:0!important;top:1px}.inbox-tabs.nav-tabs.tab-size-bigger>li.active>a.btn-new-mail>.btn:before{left:35%;left:calc(50% - 8px);border-width:8px 10px}@media only screen and (max-width:475px){.inbox-tabs>.li-new-mail{display:block;text-align:right;margin-bottom:8px!important;float:none!important}.inbox-tabs>.li-new-mail>.btn-new-mail{display:inline-block;width:auto}}.message-container{position:relative}.message-list{position:relative}.message-item{border:1px solid #eaedf1;border-bottom-width:0;padding:12px 12px 14px;line-height:18px;position:relative;background-color:#FFF}.message-item:first-child{border-top-width:0}.message-item:hover{border-color:#e2eaf2;background-color:#f2f6f9}.message-item:hover+.message-item{border-top-color:#e2eaf2}.message-item:hover+.message-item.selected{border-top-color:#FFF}.message-item.selected{background-color:#eff4f7;border-color:#FFF #e2eaf2}.message-item.selected+.message-item{border-top-color:#FFF}.message-item.selected+.message-item:hover+.message-item{border-top-color:#FFF}.message-item .sender{margin:0 6px 0 4px;vertical-align:middle;color:#467287;display:inline-block;width:110px;height:18px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;cursor:pointer}.message-item.message-unread .sender{color:#6a9cba;font-weight:bold}.message-item .summary{vertical-align:middle;display:inline-block;position:relative;margin-left:30px;max-width:250px;max-width:calc(100% - 300px);min-width:200px;white-space:nowrap}.message-item .summary .text{color:#555;vertical-align:middle;display:inline-block;width:auto;max-width:100%;height:18px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;cursor:pointer}.message-item .summary .text:hover{text-decoration:underline}.message-item .summary .message-flags{display:block;position:absolute;right:101%;right:calc(100%+4px);height:18px;white-space:nowrap}.message-item.message-unread .summary .text{color:#609fc4;font-weight:bold}.message-item .time{float:right;width:60px;height:18px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;color:#666}.message-item.message-unread .time{font-weight:bold;color:#609fc4}.message-item .attachment{color:#999;font-size:18px;vertical-align:middle;float:right;margin:0 12px;position:relative}.message-item.message-unread .attachment{color:#4f99c6}.message-content .time{font-weight:normal}.message-star{vertical-align:middle;margin:2px 4px 0 6px;font-size:15px;cursor:pointer}.message-star:hover{color:#feb902!important;text-decoration:none}.mail-tag:empty{display:inline-block;width:8px;height:11px;padding:0;line-height:normal;vertical-align:middle;margin:0 1px 0 0}.badge.mail-tag{border-radius:2px}@media only screen and (max-width:979px){.message-item .summary{min-width:0}.message-item .sender{width:100px}}@media only screen and (max-width:550px){.message-item .summary{margin:8px 0 0 32px;max-width:95%;min-width:0;display:block}.message-item .sender{width:auto;max-width:150px}.message-item .summary .text{max-width:95%}}.btn-message,.btn-message:hover,.btn-message:focus,.btn-message:active,.open .btn-message.dropdown-toggle{background-color:#FFF!important;border:1px solid #94b9ce!important;color:#7ca3ba!important;text-shadow:none!important}.message-content{padding:16px 12px;border:1px solid #e9e9e9;-webkit-box-shadow:0 0 1px 1px rgba(0,0,0,0.02);box-shadow:0 0 1px 1px rgba(0,0,0,0.02);background-color:rgba(255,255,255,0.8);border-top-width:0}.message-item .message-content{margin-top:16px;border-top-width:1px}.message-body{padding:0 9px;color:#6a7177}.message-navbar{line-height:24px;padding:10px 12px;border:1px solid #d6e1ea;border-color:#d6e1ea transparent;background-color:#f1f5fa;position:relative}.message-navbar .dropdown-toggle,.message-content .dropdown-toggle{color:#777}.message-navbar .dropdown-toggle:hover,.message-content .dropdown-toggle:hover,.message-navbar .dropdown-toggle:focus,.message-content .dropdown-toggle:focus{text-decoration:none;color:#2283c5}.message-bar{display:inline-block;min-height:28px}@media only screen and (max-width:480px){.message-bar{display:block;min-height:60px}}.message-footer{background-color:#f1f1f1;padding:12px 16px;border:1px solid #e6e6e6;border-width:1px 0;border-top:1px solid #e4e9ee}.message-footer .pagination{margin:0}.message-footer .pagination>li{margin:0;padding:0}.message-footer .pagination>li>a,.message-footer .pagination>li>span{color:#777;padding:3px;margin-left:3px;margin-right:3px;background-color:transparent;border:0}.message-footer .pagination>li.disabled>span{color:#bbb;cursor:default}.message-footer .pagination>li>a:hover{color:#2283c5;text-decoration:none}.message-footer input[type=text]{font-size:12px;width:34px;height:24px;line-height:20px;margin-bottom:0;padding:3px;vertical-align:middle;text-align:center}.message-footer-style2 .pagination>li>a,.message-footer-style2 .pagination>li>span{border:1px solid #b5b5b5;border-radius:100%!important;width:26px;height:26px;line-height:24px;display:inline-block;text-align:center;padding:0}.message-footer-style2 .pagination>li>span{border-color:#CCC}.message-footer-style2 .pagination>li>a:hover{border-color:#84afc9;background-color:#f7f7f7}.message-item.message-inline-open{background-color:#f2f6f9;border:1px solid #DDD;border-bottom-color:#CCC}.message-item.message-inline-open:first-child{border-top-color:#EEE}.message-item.message-inline-open:last-child{border-bottom-color:#DDD}.message-item.message-inline-open+.message-item{border-bottom-color:transparent}.message-loading-overlay{position:absolute;z-index:14;top:0;bottom:0;right:0;left:0;background-color:rgba(255,255,255,0.5);text-align:center}.message-loading-overlay>[class*="icon-"]{position:absolute;top:15%;left:0;right:0;text-align:center}.message-content .sender{color:#6a9cba;font-weight:bold;width:auto;text-overflow:inherit;vertical-align:middle;margin:0}.message-content .time{width:auto;text-overflow:inherit;white-space:normal;float:none;vertical-align:middle}ul.attachment-list{margin:6px 0 4px 8px}ul.attachment-list>li{margin-bottom:3px}.message-attachment{padding-left:10px;padding-right:10px}.attached-file{color:#777;width:200px}.attached-file>[class*="icon-"]{display:inline-block;width:16px;margin-right:2px}.attached-file:hover{text-decoration:none;color:#438eb9}.attached-file:hover .attached-name{color:#2283c5}.attached-file .attached-name{display:inline-block;max-width:175px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.messagebar-item-left,.messagebar-item-right{position:absolute;bottom:14px;left:12px;text-align:left}.messagebar-item-right{right:12px;left:auto}.message-navbar .nav-search{right:auto;left:60px;top:auto;bottom:11px}.message-form{border:1px solid #ddd;border-top:0;padding-top:22px}@media only screen and (max-width:480px){.message-form{padding-left:16px;padding-right:16px}}.message-form .form-actions{margin-bottom:0}.message-form .wysiwyg-editor{overflow:auto;min-height:150px;max-height:250px;height:auto}.btn-send-message{position:relative;top:6px}.btn-back-message-list{color:#777}.btn-back-message-list:hover{color:#478fca;text-decoration:none}.message-condensed .message-item{padding-top:8px;padding-bottom:9px}.message-condensed .message-navbar,.message-condensed .message-footer{padding-top:7px;padding-bottom:7px}.message-condensed .messagebar-item-left,.message-condensed .messagebar-item-right{bottom:9px}.message-condensed .message-navbar .nav-search{bottom:7px}@media only screen and (max-width:480px){.message-condensed .message-bar{min-height:42px}}.inbox-folders .btn-block{margin-top:0}@media only screen and (max-width:767px){.inbox-folders.inbox-folders-responsive .btn-block{width:24%}}@media only screen and (max-width:600px){.inbox-folders.inbox-folders-responsive .btn-block{width:48%}}@media only screen and (max-width:320px){.inbox-folders.inbox-folders-responsive .btn-block{width:99%}}.inbox-folders .btn-lighter,.inbox-folders .btn-lighter.active{background-color:#f4f4f4!important;text-shadow:none!important;color:#7c8395!important;border:1px solid #FFF!important;padding:5px 11px}.inbox-folders .btn-lighter.active{background-color:#edf2f8!important;color:#53617c!important}.inbox-folders .btn-lighter:hover{background-color:#efefef!important;color:#6092c4!important}.inbox-folders .btn>[class*="icon-"]:first-child{display:inline-block;width:14px;text-align:left}.inbox-folders .btn-lighter+.btn-lighter{border-top-width:0!important}.inbox-folders .btn.active:before{display:block;content:"";position:absolute;top:1px;bottom:1px;left:-1px;border-left:3px solid #4f99c6}.inbox-folders .btn.active:after{display:none}.inbox-folders .btn .counter{border-radius:3px;position:absolute;right:8px;top:8px;padding-left:6px;padding-right:6px;opacity:.75;filter:alpha(opacity=75)}.inbox-folders .btn:hover .badge{opacity:1;filter:alpha(opacity=100)}.timeline-container{position:relative;padding-top:4px;margin-bottom:32px}.timeline-container:last-child{margin-bottom:0}.timeline-container:before{content:"";display:block;position:absolute;left:28px;top:0;bottom:0;border:1px solid #e2e3e7;background-color:#e7eaef;width:4px;border-width:0 1px}.timeline-container:first-child:before{border-top-width:1px}.timeline-container:last-child:before{border-bottom-width:1px}.timeline-item{position:relative;margin-bottom:8px}.timeline-item .widget-box{background-color:#f2f6f9;color:#595c66}.timeline-item .transparent.widget-box{border-left:3px solid #dae1e5}.timeline-item .transparent .widget-header{background-color:#ecf1f4;border-bottom:0}.timeline-item .transparent .widget-header>:first-child{margin-left:8px}.timeline-item:nth-child(even) .widget-box{background-color:#f3f3f3;color:#616161}.timeline-item:nth-child(even) .widget-box.transparent{border-left-color:#dbdbdb!important}.timeline-item:nth-child(even) .widget-box.transparent .widget-header{background-color:#EEE!important}.timeline-item .widget-box{margin:0;position:relative;max-width:none;border-bottom:0;margin-left:60px}.timeline-item .widget-main{margin:0;position:relative;max-width:none;border-bottom:0}.timeline-item .widget-body{background-color:transparent}.timeline-item .widget-toolbox{padding:4px 8px 0!important;background-color:transparent!important;border:0 solid #CCC!important;border-top:none!important;margin:0 0!important}.timeline-info{float:left;width:60px;text-align:center;position:relative}.timeline-info img{border-radius:100%;max-width:42px}.timeline-info .label,.timeline-info .badge{font-size:12px}.timeline-container:not(.timeline-style2) .timeline-indicator{opacity:1;border-radius:100%;display:inline-block;font-size:16px;height:36px;line-height:30px;width:36px;text-align:center;text-shadow:none!important;padding:0;cursor:default;border:3px solid #FFF!important}.timeline-label{display:block;clear:both;margin:0 0 18px;margin-left:34px}.timeline-item img{border:1px solid #AAA;padding:2px;background-color:#FFF}.timeline-style2:before{display:none}.timeline-style2 .timeline-item{padding-bottom:22px;margin-bottom:0}.timeline-style2 .timeline-item:last-child{padding-bottom:0}.timeline-style2 .timeline-item:before{content:"";display:block;position:absolute;left:90px;top:5px;bottom:-5px;border-width:0;background-color:#DDD;width:2px;max-width:2px}.timeline-style2 .timeline-item:last-child:before{display:none}.timeline-style2 .timeline-item:first-child:before{display:block}.timeline-style2 .timeline-item .transparent .widget-header{background-color:transparent!important}.timeline-style2 .timeline-item .transparent.widget-box{background-color:transparent!important;border-left:none!important}.timeline-style2 .timeline-info{width:100px}.timeline-style2 .timeline-indicator{font-size:0;height:12px;line-height:12px;width:12px;border-width:1px!important;background-color:#fff!important;position:absolute;left:85px;top:3px;opacity:1;border-radius:100%;display:inline-block;padding:0}.timeline-style2 .timeline-date{display:inline-block;width:72px;text-align:right;margin-right:25px;color:#777}.timeline-style2 .timeline-item .widget-box{margin-left:112px}.timeline-style2 .timeline-label{width:75px;text-align:center;margin-left:0;margin-bottom:10px;text-align:right;color:#666;font-size:14px}.timeline-time{text-align:center;position:static}.fc-header-title>h2{font-size:22px;color:#65a0ce}.fc-widget-header,.fc-widget-content{border:1px solid #bcd4e5}.fc-state-highlight{background:#FFC}.fc-event-skin{border:none!important;background-color:#abbac3;padding:0 0 1px 2px}.label-yellow .fc-event-skin{color:#963}.label-light .fc-event-skin{color:#888}[class*="label-"]>.fc-event-skin,[class*="label-"]>.fc-event-skin>.fc-event-skin.fc-event-head{background-color:inherit}.fc-event-skin.ui-draggable-dragging{cursor:move}.fc-event-skin.fc-event-vert,.fc-event-vert>.fc-event-skin{padding:0 0 1px}.fc-grid .fc-day-number{color:#2e6589}.fc-widget-header{background:#ecf2f7;color:#8090a0}.fc-event-hori,.fc-event-vert{border-radius:0!important;border-color:transparent}.fc-event-vert .fc-event-content{padding-left:1px;padding-right:1px}.fc-event-vert .fc-event-time{padding:0}.fc-state-default{border:0}.fc-state-default,.fc-state-default .fc-button-inner{border:0;background-color:#abbac3;color:#FFF;background-image:none;box-shadow:none;text-shadow:none;border-radius:0!important;margin-left:2px}.fc-state-default .fc-button-effect{display:none}.fc-state-disabled,.fc-state-disabled .fc-button-inner{opacity:.75;filter:alpha(opacity=75);color:#DDD}.fc-state-active,.fc-state-active .fc-button-inner{border-color:#4f99c6;background-color:#6fb3e0}.fc-state-hover,.fc-state-hover .fc-button-inner{background-color:#8b9aa3}.external-event{margin:6px 0;padding:0;cursor:default;display:block;color:#FFF;background-color:#abbac3;font-size:13px;line-height:28px}.external-event:hover{opacity:1;filter:alpha(opacity=100)}.external-event.ui-draggable-dragging{cursor:move}.external-event>[class*="icon-"]:first-child{display:inline-block;height:32px;width:32px;text-align:center;line-height:30px;margin-right:5px;font-size:15px;border-right:1px solid #FFF}.widget-main .fc{position:relative;top:-40px}.widget-main .fc>.fc-header{position:relative;z-index:10}.widget-main .fc .fc-header-space{padding-left:2px}.widget-main .fc-header-title>h2{font-size:18px;line-height:36px}.widget-main .fc-content{top:-14px;z-index:11}.widget-main .fc-button-content{height:37px;line-height:36px}@media only screen and (max-width:480px){.fc-header td{display:block;width:auto;text-align:left}}.chosen-container+.help-inline{vertical-align:middle}.chosen-select{display:inline!important;visibility:hidden;opacity:0;position:absolute;z-index:-1}.chosen-container,[class*="chosen-container"]{vertical-align:middle}.chosen-container>.chosen-single,[class*="chosen-container"]>.chosen-single{line-height:28px;height:30px;box-shadow:none;background:#fafafa}.chosen-choices{box-shadow:none!important}.chosen-container-single .chosen-single abbr{background:0}.chosen-container-single .chosen-single abbr:after{content:"\f00d";display:inline-block;color:#888;font-family:FontAwesome;font-size:13px;position:absolute;right:0;top:-7px}.chosen-container-single .chosen-single abbr:hover:after{color:#464646}.chosen-container-single.chosen-disabled .chosen-single abbr:hover:after{color:#464646}.chosen-single div b{background:none!important}.chosen-single div b:before{content:"\f0d7";display:inline-block;color:#888;font-family:FontAwesome;font-size:12px;position:relative;top:-1px;left:1px}.chosen-container-active.chosen-with-drop .chosen-single div b:before{content:"\f0d8"}.chosen-container-single .chosen-search{position:relative}.chosen-container-single .chosen-search input[type="text"]{background:0;border-radius:0;line-height:28px;height:28px}.chosen-container-single .chosen-search:after{content:"\f002";display:inline-block;color:#888;font-family:FontAwesome;font-size:14px;position:absolute;top:8px;right:12px}.chosen-container-multi .chosen-choices li.search-field input[type="text"]{height:25px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{background:0}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{content:"\f00d";display:inline-block;color:#888;font-family:FontAwesome;font-size:13px;position:absolute;right:2px;top:-1px}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{text-decoration:none}.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover:before{color:#464646}.chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close:before{color:#464646}.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background:0}.chosen-container .chosen-results-scroll-down span:before,.chosen-container .chosen-results-scroll-up span:before{content:"\f0d7";display:inline-block;color:#888;font-family:FontAwesome;font-size:12px;position:relative;top:-1px;left:1px}.chosen-container .chosen-results-scroll-up span:before{content:"\f0d8"}.chosen-container-active .chosen-single-with-drop div b:before{content:"\f0d8"}.chosen-rtl .chosen-search input[type="text"]{background:0}.chosen-rtl .chosen-search:after{content:"";display:none}.chosen-rtl .chosen-search:before{content:"\f002";display:inline-block;color:#888;font-family:FontAwesome;font-size:14px;position:absolute;top:9px;left:12px}.chosen-container-single .chosen-single{border-radius:0}.chosen-container .chosen-results li.highlighted{background:#86bd6f;background:#4492c9;background:#316ac5;color:#FFF}.chosen-container-single .chosen-drop{border-radius:0;border-bottom:3px solid #4492c9;border-color:#4492c9}.chosen-single.chosen-single-with-drop,.chosen-container-active .chosen-single{border-color:#4492c9}.form-group.has-error .chosen-single{border-color:#f09784!important}.form-group.has-info .chosen-single{border-color:#64a6bc!important}.form-group.has-warning .chosen-single{border-color:#e0c43a!important}.form-group.has-success .chosen-single{border-color:#92bf65!important}.chosen-rtl .chosen-container-single-nosearch .chosen-search{left:-9999px}.chosen-rtl .chosen-drop{left:-9999px}.modal .chosen-rtl .chosen-container-single-nosearch .chosen-search{left:9999px}.modal .chosen-rtl .chosen-drop{left:9999px}.rtl .modal .chosen-container.chosen-with-drop .chosen-drop{left:auto;right:0}.chosen-container-active.chosen-with-drop .chosen-single{border-color:#4492c9}@media only screen and (-webkit-min-device-pixel-ratio:2),only screen and (min-resolution:144dpi){.chosen-rtl .chosen-search input[type="text"],.chosen-container-single .chosen-single abbr,.chosen-container-single .chosen-single div b,.chosen-container-single .chosen-search input[type="text"],.chosen-container-multi .chosen-choices li.search-choice .search-choice-close,.chosen-container .chosen-results-scroll-down span,.chosen-container .chosen-results-scroll-up span{background-image:none!important;background-repeat:no-repeat!important;background-size:auto!important}}.tag-input-style+.chosen-container-multi .chosen-choices li.search-choice{background-image:none;background-color:#91b8d0;color:#fff;display:inline-block;font-size:13px;font-weight:normal;margin-bottom:3px;margin-right:0;padding:6px 22px 7px 9px;position:relative;text-shadow:1px 1px 1px rgba(0,0,0,0.15);transition:all .2s ease 0s;vertical-align:baseline;white-space:nowrap;border:0;-webkit-box-shadow:none;box-shadow:none;border-radius:0}.tag-input-style+.chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:0;bottom:0;right:0;width:18px;height:auto;line-height:25px;text-align:center}.tag-input-style+.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:before{color:#FFF;position:static;font-size:11px}.tag-input-style+.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-color:rgba(0,0,0,0.2)}.tag-input-style+.chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover:before{color:#FFF}.tag-input-style+.chosen-container-multi.chosen-rtl .chosen-choices li.search-choice{padding:6px 9px 7px 22px;margin-left:0;margin-right:3px}.tag-input-style+.chosen-container-multi.chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:0}.select2-container .select2-choice{border-radius:0;height:30px}.select2-container.select2-drop-above .select2-choice{border-radius:0}.select2-container .select2-choice abbr,.select2-search-choice-close{background:0}.select2-container .select2-choice abbr:before,.select2-search-choice-close:before{font-family:FontAwesome;font-size:12px;display:inline;content:"\f00d";color:#888;position:relative;top:-1px}.select2-container .select2-choice abbr:hover:before,.select2-search-choice-close:hover:before{color:#555}.select2-container .select2-choice abbr:before{top:-7px}.select2-search-choice-close:hover{text-decoration:none!important}.select2-drop{border-radius:0;border:1px solid #4492c9;border-width:0 1px 3px}.select2-drop.select2-drop-above{border-radius:0}.select2-container .select2-choice{background:#fafafa none}.select2-container-active .select2-choice,.select2-container-active .select2-choices,.select2-dropdown-open.select2-drop-above .select2-choice,.select2-dropdown-open.select2-drop-above .select2-choices,.select2-container-multi.select2-container-active .select2-choices{border-color:#4492c9}.select2-results .select2-highlighted{background:#316ac5}.select2-container .select2-choice .select2-arrow{border-radius:0;background:transparent none;border:0}.select2-container .select2-choice .select2-arrow b{background:0}.select2-container .select2-choice .select2-arrow b:before{font-family:FontAwesome;font-size:12px;display:inline;content:"\f0d7";color:#888;position:relative;left:5px}.select2-dropdown-open .select2-choice .select2-arrow b:before{content:"\f0d8"}.select2-search .select2-input{background:#fff none;margin-top:4px}.select2-search:after{font-family:FontAwesome;font-size:14px;display:inline;content:"\f002";color:#777;position:relative;top:0;left:-20px;z-index:0}.select2-container-multi .select2-choices .select2-search-field input{border:none!important;-webkit-box-shadow:none!important;box-shadow:none!important;background:none!important}.select2-container-active .select2-choice,.select2-container-active .select2-choices,.select2-container-multi.select2-container-active .select2-choices,.select2-dropdown-open.select2-drop-above .select2-choice,.select2-dropdown-open.select2-drop-above .select2-choices{-webkit-box-shadow:none;box-shadow:none}.select2-search input.select2-active{background-color:#FFF;position:relative;z-index:1}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi){.select2-search input,.select2-search-choice-close,.select2-container .select2-choice abbr,.select2-container .select2-choice div b{background-image:none!important;background-size:auto!important}.select2-search input{background-position:auto!important}}.select2-container-active.select2-dropdown-open .select2-choice{background-image:-webkit-gradient(linear,left 0,left 100%,from(#eee),to(#fff));background-image:-webkit-linear-gradient(top,#eee,0%,#fff,100%);background-image:-moz-linear-gradient(top,#eee 0,#fff 100%);background-image:linear-gradient(to bottom,#eee 0,#fff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeeeeee',endColorstr='#ffffffff',GradientType=0)}.select2-container-active.select2-drop-above .select2-choice{background-image:-webkit-gradient(linear,left 0,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0,#eee 100%);background-image:linear-gradient(to bottom,#fff 0,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0)}.form-group.has-error .select2-choice,.form-group.has-error .select2-choices{border-color:#f09784!important}.form-group.has-info .select2-choice,.form-group.has-info .select2-choices{border-color:#64a6bc!important}.form-group.has-warning .select2-choice,.form-group.has-warning .select2-choices{border-color:#e0c43a!important}.form-group.has-success .select2-choice,.form-group.has-success .select2-choices{border-color:#92bf65!important}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:144dpi){.select2-search input,.select2-search-choice-close,.select2-container .select2-choice abbr,.select2-container .select2-choice .select2-arrow b{background-image:none!important;background-repeat:no-repeat!important;background-size:auto!important}.select2-search input{background-position:auto!important}}#colorbox:focus,#colorbox:active{outline:0}#cboxTopLeft,#cboxTopCenter,#cboxTopRight,#cboxMiddleLeft,#cboxMiddleRight,#cboxBottomLeft,#cboxBottomCenter,#cboxBottomRight{background:none!important;opacity:0}#cboxContent{border:12px solid #000;background-color:#FFF;padding:7px}#cboxOverlay{background:rgba(0,0,0,0.95);background:#000}#cboxCurrent{left:64px;margin-bottom:4px;font-size:14px}#cboxTitle{margin-bottom:4px;font-size:14px;color:#777}#cboxNext,#cboxPrevious,#cboxClose{background:0;text-indent:0;width:26px;height:26px;line-height:22px;padding:0 4px;text-align:center;border:2px solid #999;border-radius:16px;color:#666;font-size:12px;margin-left:5px;margin-bottom:5px}#cboxNext:hover,#cboxPrevious:hover{color:#333;border-color:#666}#cboxContent{overflow:visible}#cboxClose{background-color:#000;border:2px solid #fff;border-radius:32px;color:#fff;font-size:21px;height:28px;width:28px;padding-bottom:2px;margin-left:0;right:-14px;top:-14px}#cboxLoadingOverlay{background:none!important}#cboxLoadingGraphic{background:#FFF none!important;text-align:center}#cboxLoadingGraphic>[class*="icon-"]{display:inline-block;background-color:#FFF;border-radius:8px;width:32px;height:32px;position:relative;top:48%;text-align:center;vertical-align:middle;-moz-animation:spin 1.5s infinite linear;-webkit-animation:spin 1.5s infinite linear;-o-animation:spin 1.5s infinite linear;-ms-animation:spin 1.5s infinite linear;animation:spin 1.5s infinite linear;font-size:24px;color:#fe7e3e}.ace-spinner{display:inline-block}.ace-spinner .spinner-buttons{min-width:18px}.ace-spinner .spinner-buttons>.btn{border-radius:0!important;font-size:10px;padding:0;width:18px;height:14px;line-height:10px}.ace-spinner .spinner-buttons>.btn:first-child{margin-top:0}.ace-spinner .spinner-buttons>.btn>[class*="icon-"]{margin:0;padding:0}.ace-spinner .spinner-buttons>button.btn:active{left:auto;top:auto}.ace-spinner .spinner-input{text-align:center;height:29px;line-height:28px;color:#777}.ace-spinner input[type=text].spinner-input.form-control{width:auto\0/!important;line-height:1\0/!important;padding-bottom:4px\0/!important}.ace-spinner.touch-spinner .spinner-buttons{margin:0;font-size:0}.ace-spinner.touch-spinner .spinner-buttons>.btn{height:29px;line-height:20px;width:24px;font-size:18px;display:inline-block;vertical-align:sub;margin:0 1px}.ace-spinner.touch-spinner .spinner-buttons>.btn>[class*="icon-"]{vertical-align:middle;display:inline-block}.wizard-steps{list-style:none;display:table;width:100%;padding:0;margin:0;position:relative}.wizard-steps li{display:table-cell;text-align:center;width:1%}.wizard-steps li .step{border:5px solid #ced1d6;color:#546474;font-size:15px;border-radius:100%;background-color:#FFF;position:relative;z-index:2;display:inline-block;width:40px;height:40px;line-height:30px;text-align:center}.wizard-steps li:before{display:block;content:"";width:100%;height:1px;font-size:0;overflow:hidden;border-top:4px solid #ced1d6;position:relative;top:21px;z-index:1}.wizard-steps li:last-child:before{max-width:50%;width:50%}.wizard-steps li:first-child:before{max-width:51%;left:50%}.wizard-steps li.active:before,.wizard-steps li.complete:before,.wizard-steps li.active .step,.wizard-steps li.complete .step{border-color:#5293c4}.wizard-steps li.complete .step{cursor:default;color:#FFF;-webkit-transition:transform ease .1s;transition:transform ease .1s}.wizard-steps li.complete .step:before{display:block;position:absolute;top:0;left:0;bottom:0;right:0;line-height:30px;text-align:center;border-radius:100%;content:"\f00c";background-color:#FFF;z-index:3;font-family:FontAwesome;font-size:17px;color:#87ba21}.wizard-steps li.complete:hover .step{-moz-transform:scale(1.1);-webkit-transform:scale(1.1);-o-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1);border-color:#80afd4}.wizard-steps li.complete:hover:before{border-color:#80afd4}.wizard-steps li .title{display:block;margin-top:4px;max-width:100%;color:#949ea7;font-size:14px;z-index:104;text-align:center;table-layout:fixed;word-wrap:break-word}.wizard-steps li.complete .title,.wizard-steps li.active .title{color:#2b3d53}.step-content .step-pane{display:none;min-height:200px;padding:4px 8px 12px}.step-content .active{display:block}.wizard-actions{text-align:right}@media only screen and (max-width:767px){.wizard-steps li .step{width:30px;height:30px;line-height:24px;border-width:3px}.wizard-steps li:before,.wizard-steps li:after{border-width:3px}.wizard-steps li.complete .step:before{line-height:24px;font-size:13px}.wizard-steps li:before{top:16px}.step-content .step-pane{padding:4px 4px 6px}}.tree{padding-left:9px;overflow-x:hidden;overflow-y:auto;position:relative}.tree:before{display:inline-block;content:"";position:absolute;top:-20px;bottom:16px;left:0;border:1px dotted #67b2dd;border-width:0 0 0 1px;z-index:1}.tree .tree-folder{width:auto;min-height:20px;cursor:pointer}.tree .tree-folder .tree-folder-header{position:relative;height:20px;line-height:20px}.tree .tree-folder .tree-folder-header:hover{background-color:#f0f7fc}.tree .tree-folder .tree-folder-header .tree-folder-name,.tree .tree-item .tree-item-name{display:inline;z-index:2}.tree .tree-folder .tree-folder-header>[class*="icon-"]:first-child,.tree .tree-item>[class*="icon-"]:first-child{display:inline-block;position:relative;z-index:2;top:-1px}.tree .tree-folder .tree-folder-header .tree-folder-name{margin-left:2px}.tree .tree-folder .tree-folder-header>[class*="icon-"]:first-child{margin:-2px 0 0 -2px}.tree .tree-folder:last-child:after{display:inline-block;content:"";position:absolute;z-index:1;top:15px;bottom:0;left:-15px;border-left:1px solid #FFF}.tree .tree-folder .tree-folder-content{margin-left:23px;position:relative}.tree .tree-folder .tree-folder-content:before{display:inline-block;content:"";position:absolute;z-index:1;top:-14px;bottom:16px;left:-14px;border:1px dotted #67b2dd;border-width:0 0 0 1px}.tree .tree-item{position:relative;height:20px;line-height:20px;cursor:pointer}.tree .tree-item:hover{background-color:#f0f7fc}.tree .tree-item .tree-item-name{margin-left:3px}.tree .tree-item .tree-item-name>[class*="icon-"]:first-child{margin-right:3px}.tree .tree-item>[class*="icon-"]:first-child{margin-top:-1px}.tree .tree-folder,.tree .tree-item{position:relative}.tree .tree-folder:before,.tree .tree-item:before{display:inline-block;content:"";position:absolute;top:14px;left:-13px;width:18px;height:0;border-top:1px dotted #67b2dd;z-index:1}.tree .tree-selected{background-color:rgba(98,168,209,0.1);color:#6398b0}.tree .tree-selected:hover{background-color:rgba(98,168,209,0.1)}.tree .tree-item,.tree .tree-folder{border:1px solid #FFF}.tree .tree-folder .tree-folder-header{border-radius:0}.tree .tree-item,.tree .tree-folder .tree-folder-header{margin:0;padding:5px;color:#4d6878;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.tree .tree-item>[class*="icon-"]:first-child{color:#f9e8ce;width:13px;height:13px;line-height:13px;font-size:11px;text-align:center;border-radius:3px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 1px 2px rgba(0,0,0,0.05)}.tree .tree-selected>[class*="icon-"]:first-child{background-color:#f9a021;border-color:#f9a021;color:#FFF}.tree .icon-plus[class*="icon-"]:first-child,.tree .icon-minus[class*="icon-"]:first-child{border:1px solid #DDD;vertical-align:middle;height:11px;width:11px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;text-align:center;border:1px solid #8baebf;line-height:10px;background-color:#FFF;position:relative;z-index:1}.tree .icon-plus[class*="icon-"]:first-child:before{display:block;content:"+";font-family:"Open Sans";font-size:16px;position:relative;z-index:1}.tree .icon-minus[class*="icon-"]:first-child:before{content:"";display:block;width:7px;height:0;border-top:1px solid #4d6878;position:absolute;top:5px;left:2px}.tree .tree-unselectable .tree-item>[class*="icon-"]:first-child{color:#5084a0;width:13px;height:13px;line-height:13px;font-size:10px;text-align:center;border-radius:0;background-color:transparent;border:0;box-shadow:none}.tree [class*="icon-"][class*="-down"]{transform:rotate(-45deg)}.tree .icon-spin{height:auto}.tree .tree-loading{margin-left:36px}.tree img{display:inline;veritcal-align:middle}.gritter-item-wrapper{background-image:none!important;box-shadow:0 2px 10px rgba(50,50,50,0.5);background:rgba(50,50,50,0.92)}.gritter-item-wrapper.gritter-info{background:rgba(49,81,133,0.92)}.gritter-item-wrapper.gritter-error{background:rgba(153,40,18,0.92)}.gritter-item-wrapper.gritter-success{background:rgba(89,131,75,0.92)}.gritter-item-wrapper.gritter-warning{background:rgba(190,112,31,0.92)}.gritter-item-wrapper.gritter-light{background:rgba(245,245,245,0.95);border:1px solid #BBB}.gritter-item-wrapper.gritter-light.gritter-info{background:rgba(232,242,255,0.95)}.gritter-item-wrapper.gritter-light.gritter-info .gritter-item{color:#4a577d}.gritter-item-wrapper.gritter-light.gritter-error{background:rgba(255,235,235,0.95)}.gritter-item-wrapper.gritter-light.gritter-error .gritter-item{color:#894a38}.gritter-item-wrapper.gritter-light.gritter-success{background:rgba(239,250,227,0.95)}.gritter-item-wrapper.gritter-light.gritter-success .gritter-item{color:#416131}.gritter-item-wrapper.gritter-light.gritter-warning{background:rgba(252,248,227,0.95)}.gritter-item-wrapper.gritter-light.gritter-warning .gritter-item{color:#946446}.gritter-item p{line-height:1.8}.gritter-top,.gritter-bottom,.gritter-item{background-image:none}.gritter-close{left:auto;right:3px;background-image:none;width:18px;height:18px;line-height:17px;text-align:center;border:2px solid transparent;border-radius:16px;color:#e17b67}.gritter-close:before{font-family:FontAwesome;font-size:16px;content:"\f00d"}.gritter-info .gritter-close{color:#ffa500}.gritter-error .gritter-close,.gritter-success .gritter-close,.gritter-warning .gritter-close{color:#ffea07}.gritter-close:hover{color:#FFF!important}.gritter-title{text-shadow:none}.gritter-light .gritter-item,.gritter-light .gritter-bottom,.gritter-light .gritter-top,.gritter-light .gritter-close{background-image:none;color:#444}.gritter-light .gritter-title{text-shadow:none}.gritter-light .gritter-close:hover{color:#8a3104!important}.gritter-center{position:fixed;left:33%;right:33%;top:33%}@media only screen and (max-width:767px){.gritter-center{left:16%;right:16%;top:30%}}@media only screen and (max-width:480px){.gritter-center{left:30px;right:30px}}@media only screen and (max-width:320px){.gritter-center{left:10px;right:10px}}.wysiwyg-editor{max-height:250px;height:250px;background-color:#f7f8fa;border-collapse:separate;border:1px solid #bbc0ca;padding:4px;box-sizing:content-box;overflow-y:scroll;overflow-x:hidden;outline:0}.wysiwyg-editor:focus{background-color:#FFF}.wysiwyg-toolbar{line-height:32px;margin:0!important}.wysiwyg-toolbar .dropdown-menu{text-align:left}.wysiwyg-toolbar .btn-group{float:none;font-size:0}.wysiwyg-toolbar .btn-group>.btn,.wysiwyg-toolbar .btn-group>.inline>.btn{float:none;padding-left:0;padding-right:0;text-align:center;border-width:2px;margin-left:1px}.wysiwyg-toolbar .btn-group>.btn>[class*="icon-"]:first-child,.wysiwyg-toolbar .btn-group>.inline>.btn>[class*="icon-"]:first-child{font-size:14px;width:25px;max-width:25px;display:inline-block;border-width:1px!important}.wysiwyg-toolbar .btn-group>.btn.dropdown-toggle>[class*="icon-"]:last-child,.wysiwyg-toolbar .btn-group>.inline>.btn.dropdown-toggle>[class*="icon-"]:last-child{margin-right:4px}.wysiwyg-toolbar .btn-group>.btn.active:after,.wysiwyg-toolbar .btn-group>.inline>.btn.active:after{border-color:transparent;border-style:solid;border-top-color:inherit;border-width:6px 14px;bottom:-13px;left:0;right:0}.wysiwyg-style1 .btn-group>.btn,.wysiwyg-style2 .btn-group>.btn,.wysiwyg-style1 .btn-group>.inline>.btn,.wysiwyg-style2 .btn-group>.inline>.btn{margin:0!important;background:#FFF!important;border:none!important;color:#adb3be!important;text-shadow:none!important}.wysiwyg-style1 .btn-group>.btn.active,.wysiwyg-style2 .btn-group>.btn.active,.wysiwyg-style1 .btn-group>.inline>.btn.active,.wysiwyg-style2 .btn-group>.inline>.btn.active{color:#5b80ce!important}.wysiwyg-style1 .btn-group>.btn.active:after,.wysiwyg-style2 .btn-group>.btn.active:after,.wysiwyg-style1 .btn-group>.inline>.btn.active:after,.wysiwyg-style2 .btn-group>.inline>.btn.active:after{display:none}.wysiwyg-style1 .btn-group,.wysiwyg-style2 .btn-group{position:relative}.wysiwyg-style1 .btn-group:after,.wysiwyg-style2 .btn-group:after{display:block;content:"";position:absolute;left:-2px;width:0;max-width:0;top:6px;bottom:6px;border-left:1px solid #e1e6ea}.wysiwyg-style1 .btn-group:first-child:after,.wysiwyg-style2 .btn-group:first-child:after{display:none}.wysiwyg-style2{background-color:#e5e5e5}.wysiwyg-style2+.wysiwyg-editor{border-color:#DDD;background-color:#FFF;border-top:0}.wysiwyg-style2 .btn-group>.btn,.wysiwyg-style2 .btn-group>.inline>.btn{margin:0 1px 0 0!important;background:#FFF!important;border:none!important;color:#8d939e!important;text-shadow:none!important}.wysiwyg-style2 .btn-group>.btn.active,.wysiwyg-style2 .btn-group>.inline>.btn.active{color:#FFF!important;background:#6aaedf!important}.wysiwyg-style2 .btn-group:after{display:none}.wysiwyg-toolbar .btn-colorpicker{width:24px;height:24px;position:relative;background:#87b87f;background:-moz-linear-gradient(top,#cf3e73 10%,#fff 20%,#2283c5 30%,#fff 40%,#87b87f 50%,#fff 60%,#ffb752 70%,#fff 80%,#d15b47 90%,#fff 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(10%,#cf3e73),color-stop(20%,#fff),color-stop(30%,#2283c5),color-stop(40%,#fff),color-stop(50%,#87b87f),color-stop(60%,#fff),color-stop(70%,#ffb752),color-stop(80%,#fff),color-stop(90%,#d15b47),color-stop(100%,#fff));background:-webkit-linear-gradient(top,#cf3e73 10%,#fff 20%,#2283c5 30%,#fff 40%,#87b87f 50%,#fff 60%,#ffb752 70%,#fff 80%,#d15b47 90%,#fff 100%);background:-o-linear-gradient(top,#cf3e73 10%,#fff 20%,#2283c5 30%,#fff 40%,#87b87f 50%,#fff 60%,#ffb752 70%,#fff 80%,#d15b47 90%,#fff 100%);background:-ms-linear-gradient(top,#cf3e73 10%,#fff 20%,#2283c5 30%,#fff 40%,#87b87f 50%,#fff 60%,#ffb752 70%,#fff 80%,#d15b47 90%,#fff 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#CF3E73',endColorstr='#FFB752',GradientType=0);background:linear-gradient(top,#cf3e73 10%,#fff 20%,#2283c5 30%,#fff 40%,#87b87f 50%,#fff 60%,#ffb752 70%,#fff 80%,#d15b47 90%,#fff 100%)}.wysiwyg-toolbar .dropdown-colorpicker>.dropdown-menu{top:inherit}.wysiwyg-toolbar input[type=file]{position:fixed;z-index:-10;opacity:0;max-width:0;max-height:0;display:block}.wysiwyg-toolbar .wysiwyg-choose-file{display:inline-block;width:auto;margin:4px auto 0;padding-left:5px;padding-right:5px}.wysiwyg-toolbar .dropdown-menu input[type=text]{margin-left:8px;margin-bottom:0}.wysiwyg-toolbar .dropdown-menu input[type=text].form-control{min-width:150px}.wysiwyg-toolbar .dropdown-menu .btn{margin-right:8px;margin-left:1px}.wysiwyg-style1 .btn-colorpicker{width:20px;height:20px}@media screen and (-webkit-min-device-pixel-ratio:0){.wysiwyg-editor img{display:inline!important}.wysiwyg-editor .ui-wrapper{border:1px dotted #D00;overflow:visible!important;display:inline-block!important;vertical-align:middle}.wysiwyg-editor .ui-wrapper:after{content:"";display:block;position:absolute;right:-3px;bottom:-3px;width:7px;height:7px;border:1px solid #D00;background-color:#FFF;z-index:1}}.widget-header .wysiwyg-toolbar{background-color:transparent}.widget-header .wysiwyg-toolbar .btn-group>.btn,.widget-header .wysiwyg-toolbar .btn-group>.inline>.btn{border-color:transparent;background:rgba(255,255,255,0.25)!important;color:#FFF!important;border-width:1px}.widget-header .wysiwyg-toolbar .btn-group>.btn.active,.widget-header .wysiwyg-toolbar .btn-group>.inline>.btn.active{background:rgba(0,0,0,0.25)!important}.widget-body .wysiwyg-editor{border:0}.wysiwyg-speech-input{width:20px!important;color:transparent!important;background:transparent none!important;border:none!important;-moz-transform:scale(2.0,2.0);-webkit-transform:scale(2.0,2.0);-o-transform:scale(2.0,2.0);-ms-transform:scale(2.0,2.0);transform:scale(2.0,2.0);-webkit-box-shadow:none!important;box-shadow:none!important;cursor:pointer}.wysiwyg-speech-input:focus{-webkit-box-shadow:none!important;box-shadow:none!important}.widget-body .md-header{margin-top:-30px;margin-left:9px}.widget-body .md-header .btn{border-color:transparent;background:rgba(255,255,255,0.25)!important;color:#FFF!important;text-align:center;padding-left:0;padding-right:0;border-width:1px!important;padding-top:2px;padding-bottom:4px}.widget-body .md-header .btn>[class*="icon-"]{font-size:14px;width:25px;max-width:25px;display:inline-block}.widget-body .md-header .btn-inverse{background:rgba(0,0,0,0.25)!important;padding-right:5px;margin-left:4px}.widget-body .md-preview{padding:8px;min-height:200px}.widget-body .md-input{border:none!important;box-shadow:none!important;display:block;margin-bottom:0;background-color:rgba(48,126,204,0.07);padding:8px;width:100%}.widget-body .md-input:focus{background-color:#FFF;box-shadow:none!important}.editable-container .popover-title{color:#438eb9}.editable-click{border-bottom:1px dashed #BBB;cursor:pointer;font-weight:normal}img.editable-click{border:1px dotted #BBB}.editable-click:hover{border-color:#08c;color:#08c}img.editable-click:hover{opacity:.75;filter:alpha(opacity=75)}.editable-buttons,.editable-input{display:inline-block}.editable-buttons{margin-left:1px}.editable-buttons .btn{padding:0;width:28px;line-height:24px;border-width:3px;font-size:12px;margin:0 1px 0 0}.editable-buttons .btn>[class*="icon-"]{margin:0}.editable-clear-x{cursor:pointer;color:#888;background:0}.editable-clear-x:hover{color:#d15b47}.editable-clear-x:before{display:inline-block;content:"\f057";font-family:FontAwesome;font-size:15px;position:absolute;margin-top:-9px;width:16px;height:30px;line-height:30px;text-align:center}.editable-input .ace-spinner{margin-right:8px}.editable-inline .editable-slider{margin-top:10px;margin-right:4px}.editable-popup .editable-slider{display:block;margin-bottom:16px;margin-top:4px}.editable-slider input{display:none}.editable-input .ace-file-input{display:block}.editable-image .ace-file-multiple label.selected{border-color:transparent}.editable-image+.editable-buttons,.editable-wysiwyg+.editable-buttons{display:block;text-align:center;margin-top:8px}.editable-wysiwyg{width:95%}.editable-wysiwyg .wysiwyg-editor{height:auto;overflow-y:hidden}.editableform .input-append.dropdown-menu{display:none}.editableform .open .input-append.dropdown-menu{display:block}.editable-container .editableform{margin-bottom:10px}.editable-inline .editableform{margin-bottom:0}.editableform-loading{background:0}.editableform-loading [class*="icon-"],.editableform-loading .progress{position:relative;top:35%}.ui-slider{background-color:#CCC}.ui-slider-horizontal{height:9px}.ui-slider-vertical{width:9px}.ui-slider .ui-slider-handle{border-radius:0;width:1.45em;height:1.45em;background-color:#f5f5f5;border:1px solid}.ui-slider .ui-slider-handle:before{display:inline-block;content:"|||";font-size:8px;font-family:Helvetica,Arial,sans-serif;position:absolute;top:0;bottom:0;left:0;right:0;text-align:center;line-height:15px}.ui-slider .ui-slider-handle:hover{background-color:#FFF}.ui-slider .ui-slider-handle:hover,.ui-slider .ui-slider-handle:focus,.ui-slider .ui-slider-handle:active{outline:0;box-shadow:1px 1px 1px 0 rgba(0,0,0,0.3);text-decoration:none}.ui-slider .ui-slider-handle:hover:before,.ui-slider .ui-slider-handle:focus:before,.ui-slider .ui-slider-handle:active:before{text-shadow:1px 1px 1px rgba(0,0,0,0.3)}.ui-slider-horizontal .ui-slider-handle{margin-left:-0.725em;top:-0.4em}.ui-slider-vertical .ui-slider-handle{left:-0.35em;margin-bottom:-0.65em}.ui-slider-small.ui-slider-horizontal{height:5px}.ui-slider-small.ui-slider-vertical{width:5px}.ui-slider-small .ui-slider-handle{border-radius:24px;width:16px;height:16px;top:-5px}.ui-slider-small .ui-slider-handle:before{font-size:6px;line-height:13px}.ui-slider-range{background-color:#4aa4ce}.ui-slider-handle{outline:none!important}.ui-slider-handle,.ui-slider-handle:hover,.ui-slider-handle:focus,.ui-slider-handle:active{border-color:#4aa4ce;color:#4aa4ce}.ui-slider-green .ui-slider-range{background-color:#8bbc67}.ui-slider-green .ui-slider-handle,.ui-slider-green .ui-slider-handle:hover,.ui-slider-green .ui-slider-handle:focus,.ui-slider-green .ui-slider-handle:active{border-color:#8bbc67;color:#8bbc67}.ui-slider-red .ui-slider-range{background-color:#d36e6e}.ui-slider-red .ui-slider-handle,.ui-slider-red .ui-slider-handle:hover,.ui-slider-red .ui-slider-handle:focus,.ui-slider-red .ui-slider-handle:active{border-color:#d36e6e;color:#d36e6e}.ui-slider-purple .ui-slider-range{background-color:#ac68ba}.ui-slider-purple .ui-slider-handle,.ui-slider-purple .ui-slider-handle:hover,.ui-slider-purple .ui-slider-handle:focus,.ui-slider-purple .ui-slider-handle:active{border-color:#ac68ba;color:#ac68ba}.ui-slider-orange .ui-slider-range{background-color:#efad62}.ui-slider-orange .ui-slider-handle,.ui-slider-orange .ui-slider-handle:hover,.ui-slider-orange .ui-slider-handle:focus,.ui-slider-orange .ui-slider-handle:active{border-color:#efad62;color:#efad62}.ui-slider-dark .ui-slider-range{background-color:#606060}.ui-slider-dark .ui-slider-handle,.ui-slider-dark .ui-slider-handle:hover,.ui-slider-dark .ui-slider-handle:focus,.ui-slider-dark .ui-slider-handle:active{border-color:#606060;color:#606060}.ui-slider-pink .ui-slider-range{background-color:#d6487e}.ui-slider-pink .ui-slider-handle,.ui-slider-pink .ui-slider-handle:hover,.ui-slider-pink .ui-slider-handle:focus,.ui-slider-pink .ui-slider-handle:active{border-color:#d6487e;color:#d6487e}.ui-datepicker{background-color:#FFF;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);box-shadow:0 2px 4px rgba(0,0,0,0.2)}.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next{height:26px;min-width:32px;max-width:32px;text-align:center;cursor:pointer;color:transparent;line-height:26px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.ui-datepicker .ui-datepicker-prev .ui-icon,.ui-datepicker .ui-datepicker-next .ui-icon{color:transparent;visibility:hidden}.ui-datepicker .ui-datepicker-prev:hover,.ui-datepicker .ui-datepicker-next:hover{background-color:#EEE;text-decoration:none}.ui-datepicker .ui-datepicker-prev:before,.ui-datepicker .ui-datepicker-next:before{display:inline;font-family:FontAwesome;font-size:14px;content:"\f060";color:#393939}.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover{top:2px}.ui-datepicker .ui-datepicker-next:before{content:"\f061"}.ui-datepicker .ui-datepicker-prev-hover{left:2px}.ui-datepicker .ui-datepicker-next-hover{right:2px}.ui-datepicker td{padding:0}.ui-datepicker td>a,.ui-datepicker td>span{display:inline-block;height:22px;min-width:24px;max-width:24px;text-align:center;color:#393939;font-size:13px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.ui-datepicker td>a:hover{background-color:#EEE}.ui-datepicker td>a.ui-state-highlight{background-color:#d5e5ef}.ui-datepicker td>a.ui-state-active{background-color:#2283c5;color:#FFF}.ui-datepicker td>a.ui-priority-secondary{color:#888}.ui-datepicker td>span{color:#999}.ui-datepicker td .ui-datepicker-title select{height:24px;line-height:24px;padding:2px 3px}.ui-datepicker td .ui-datepicker-buttonpane{background-color:#DDD;height:1px}.ui-widget-overlay{background:rgba(0,0,0,0.25);opacity:1!important;filter:alpha(opacity=100)!important;z-index:1040!important}.ui-dialog,.ui-jqdialog{z-index:1050!important;background-color:#FFF;padding:0;border:1px solid #DDD;-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);box-shadow:0 2px 4px rgba(0,0,0,0.2)}.ui-dialog .ui-dialog-titlebar,.ui-jqdialog .ui-dialog-titlebar,.ui-dialog .ui-jqdialog-titlebar,.ui-jqdialog .ui-jqdialog-titlebar{background-color:#f1f1f1;font-size:16px;color:#669fc7;padding:0}.ui-dialog .ui-dialog-title,.ui-jqdialog .ui-dialog-title,.ui-dialog .ui-jqdialog-title,.ui-jqdialog .ui-jqdialog-title{float:none;width:auto}.ui-dialog .widget-header,.ui-jqdialog .widget-header{margin:0;border-width:0 0 1px 0}.ui-dialog .ui-dialog-buttonpane,.ui-jqdialog .ui-dialog-buttonpane,.ui-dialog .ui-jqdialog-buttonpane,.ui-jqdialog .ui-jqdialog-buttonpane{background-color:#eff3f8;border-top:1px solid #e4e9ee}.ui-dialog .ui-dialog-buttonpane button,.ui-jqdialog .ui-dialog-buttonpane button,.ui-dialog .ui-jqdialog-buttonpane button,.ui-jqdialog .ui-jqdialog-buttonpane button{font-size:14px}.ui-dialog .ui-dialog-titlebar-close,.ui-jqdialog .ui-dialog-titlebar-close,.ui-dialog .ui-jqdialog-titlebar-close,.ui-jqdialog .ui-jqdialog-titlebar-close{border:0;background:transparent;opacity:.4;color:#d15b47;padding:0;top:50%;right:8px!important;text-align:center}.ui-dialog .ui-dialog-titlebar-close:before,.ui-jqdialog .ui-dialog-titlebar-close:before,.ui-dialog .ui-jqdialog-titlebar-close:before,.ui-jqdialog .ui-jqdialog-titlebar-close:before{content:"\f00d";display:inline;font-family:FontAwesome;font-size:16px}.ui-dialog .ui-dialog-titlebar-close:hover,.ui-jqdialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-jqdialog-titlebar-close:hover,.ui-jqdialog .ui-jqdialog-titlebar-close:hover{opacity:1;text-decoration:none;padding:0}.ui-dialog .ui-dialog-titlebar-close .ui-button-text,.ui-jqdialog .ui-dialog-titlebar-close .ui-button-text,.ui-dialog .ui-jqdialog-titlebar-close .ui-button-text,.ui-jqdialog .ui-jqdialog-titlebar-close .ui-button-text{text-indent:0;visibility:hidden}.ui-dialog .widget-header .ui-dialog-titlebar-close,.ui-jqdialog .widget-header .ui-dialog-titlebar-close,.ui-dialog .widget-header .ui-jqdialog-titlebar-close,.ui-jqdialog .widget-header .ui-jqdialog-titlebar-close{right:10px!important}.ui-accordion .ui-accordion-header{color:#478fca;font-weight:normal;background-color:#f9f9f9;border:1px solid #cdd8e3;padding:8px 8px 9px 24px}.ui-accordion .ui-accordion-header:hover{color:#6ea6cc;background-color:#f1f8fd}.ui-accordion .ui-accordion-header.ui-state-active{color:#4c8fbd;background-color:#eef4f9;position:relative;font-weight:bold}.ui-accordion .ui-accordion-header .ui-accordion-header-icon{text-indent:0;margin-top:0;position:absolute;left:10px;top:7px}.ui-accordion .ui-accordion-header .ui-accordion-header-icon:before{display:inline;font-family:FontAwesome;font-size:15px;content:"\f0da"}.ui-accordion .ui-accordion-header.ui-state-active .ui-accordion-header-icon:before{content:"\f0d7";font-weight:normal}.ui-accordion .ui-accordion-content{border:1px solid #cdd8e3;border-top-width:0;padding:11px 16px}.ui-tabs .ui-tabs-nav{padding:0;border-bottom:1px solid #c5d0dc}.ui-tabs .ui-tabs-nav li.ui-state-default>a{background-color:#f9f9f9;border:1px solid #c5d0dc;border-bottom-width:0;color:#999;line-height:16px;margin-right:-1px;z-index:11;padding:8px 12px;position:relative;top:2px}.ui-tabs .ui-tabs-nav li>a:focus{outline:0}.ui-tabs .ui-tabs-nav li.ui-tabs-active>a{background-color:#FFF;border:1px solid;border-color:#4c8fbd #c5d0dc transparent;border-top-width:2px;-webkit-box-shadow:0 -2px 3px 0 rgba(0,0,0,0.15);box-shadow:0 -2px 3px 0 rgba(0,0,0,0.15);color:#576373;position:relative;top:1px}.ui-tabs .ui-tabs-panel{border:1px solid #c5d0dc;border-top-width:0;margin:0;left:auto;right:auto;top:auto;bottom:auto}.ui-menu{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;width:150px;-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);box-shadow:0 2px 4px rgba(0,0,0,0.2);background-color:#FFF;border:1px solid rgba(0,0,0,0.2);padding:3px}.ui-menu .ui-menu-item a{padding:4px 7px 5px;color:#444;cursor:pointer;-webkit-box-sizing:inherit;-moz-box-sizing:inherit;box-sizing:inherit}.ui-menu .ui-menu-item a .ui-menu-icon{float:right;position:relative;top:0;left:auto;right:auto;bottom:auto;text-indent:0}.ui-menu .ui-menu-item a .ui-menu-icon:before{content:"\f105";font-family:FontAwesome;font-size:14px;display:inline}.ui-menu .ui-menu-item a:hover,.ui-menu .ui-menu-item a.ui-state-focus,.ui-menu .ui-menu-item a.ui-state-active{background-color:#4f99c6;color:#FFF;margin:auto;font-weight:normal}.ui-menu .ui-menu-item a:hover .ui-menu-icon,.ui-menu .ui-menu-item a.ui-state-focus .ui-menu-icon,.ui-menu .ui-menu-item a.ui-state-active .ui-menu-icon{color:#FFF}.ui-menu .ui-state-disabled a{color:#999;cursor:default}.ui-menu .ui-state-disabled a:hover,.ui-menu .ui-state-disabled a.ui-state-focus,.ui-menu .ui-state-disabled a.ui-state-active{background-color:#FFF;color:#999}.ui-autocomplete{background-color:#FFF;border:1px solid rgba(0,0,0,0.2);-webkit-box-shadow:0 2px 4px rgba(0,0,0,0.2);box-shadow:0 2px 4px rgba(0,0,0,0.2)}.ui-autocomplete-category{padding:6px;position:relative;background-color:#eef4f9;color:#478fca;font-weight:bolder;border:1px solid #dae6ed;border-width:1px 0}.ui-spinner-button{border-width:0!important;font-size:10px;height:14px;line-height:14px;width:18px;color:#fff!important;text-shadow:0 -1px 0 rgba(0,0,0,0.25)!important;display:inline-block;position:absolute;text-align:center;padding:0}.ui-spinner-button>[class*="icon-"]{width:18px;display:inline-block}.ui-spinner-up{top:0;right:5px}.ui-spinner-down{bottom:3px;right:5px}.ui-spinner-input{margin-top:0;padding:5px;max-width:100px;font-size:14px}.ui-tooltip{background-color:#444;color:#FFF}.ui-progressbar{background-color:#dadada;height:22px}.ui-progressbar .ui-progressbar-value{margin:0}.ui-progressbar .ui-progressbar-value[class="progress-bar"]{background-color:#2a91d8}.ui-jqgrid .ui-jqgrid-view,.ui-jqgrid .ui-paging-info,.ui-jqgrid .ui-pg-table,.ui-jqgrid .ui-pg-selbox{font-size:13px}.ui-jqgrid .ui-jqgrid-title{float:left;margin:8px}.ui-jqgrid .ui-jqgrid-title-rtl{float:right;margin:8px}.ui-jqgrid-view>.ui-jqgrid-titlebar{height:40px;line-height:24px;color:#FFF;background:#307ecc;padding:0;font-size:15px}.ui-jqgrid tr.jqgrow.ui-row-rtl td:last-child{border-right:0;border-left:1px solid #e1e1e1}.ui-jqgrid .ui-jqgrid-hdiv{background-color:#eff3f8;border:1px solid #d3d3d3;border-width:1px 0 0 1px;line-height:15px;font-weight:bold;color:#777;text-shadow:none}.ui-jqgrid .ui-jqgrid-htable thead{background-color:#eff3f8}.ui-jqgrid .ui-jqgrid-htable th span.ui-jqgrid-resize{height:45px!important}.ui-jqgrid .ui-jqgrid-htable th div{padding-top:12px;padding-bottom:12px}.ui-jqgrid-hdiv .ui-jqgrid-htable{border-top:0}.ui-jqgrid-hdiv .ui-jqgrid-htable{border-top:1px solid #e1e1e1}.ui-jqgrid-titlebar{position:relative;top:1px;z-index:1}.ui-jqgrid tr.jqgrow,.ui-jqgrid tr.ui-row-ltr,.ui-jqgrid tr.ui-row-rtl{border:0}.ui-jqgrid tr.ui-row-ltr td,.ui-jqgrid tr.ui-row-rtl td{border-bottom:1px solid #e1e1e1;padding:6px 4px;border-color:#e1e1e1}.ui-jqgrid tr.ui-state-highlight.ui-row-ltr td{border-right-color:#c7d3a9}.ui-jqgrid tr.ui-state-highlight.ui-row-rtl td{border-left-color:#c7d3a9}.ui-jqgrid-btable .ui-widget-content.ui-priority-secondary{background-image:none;background-color:#f9f9f9;opacity:1}.ui-jqgrid-btable .ui-widget-content.ui-state-hover{background-image:none;background-color:#eff4f7;opacity:1}.ui-jqgrid-btable .ui-widget-content.ui-state-highlight{background-color:#e4efc9}.ui-jqgrid .ui-jqgrid-pager{line-height:15px;height:55px;padding-top:3px!important;padding-bottom:5px!important;background-color:#eff3f8!important;border-bottom:1px solid #e1e1e1!important;border-top:1px solid #e1e1e1!important}.ui-jqgrid .ui-pg-input{font-size:inherit;width:24px;height:20px;line-height:16px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;text-align:center;padding-top:1px;padding-bottom:1px}.ui-jqgrid .ui-pg-selbox{display:block;height:24px;width:60px;margin:0;padding:1px;line-height:normal}.ui-jqgrid .ui-jqgrid-htable th div{overflow:visible}.ui-jqgrid .ui-pager-control{height:50px;position:relative;padding-left:9px;padding-right:9px}.ui-jqgrid .ui-jqgrid-toppager{height:auto!important;background-color:#eff3f8;border-bottom:1px solid #e1e1e1!important}.ui-jqgrid .jqgrow .editable{max-width:90%;max-width:calc(92%)!important}.ui-pg-table .navtable .ui-corner-all{border-radius:0}.ui-jqgrid .ui-pg-button:hover{padding:1px}.ui-jqgrid .ui-pg-button .ui-separator{margin-left:4px;margin-right:4px;border-color:#c9d4db}.ui-jqgrid .ui-jqgrid-btable{border-left:1px solid #e1e1e1}.ui-jqgrid .ui-jqgrid-bdiv{border-top:1px solid #e1e1e1}.ui-jqgrid .loading{position:absolute;top:45%;left:45%;width:auto;height:auto;z-index:101;padding:6px;margin:5px;text-align:center;display:none;font-weight:bold;font-size:12px;background-color:#FFF;border:2px solid #8eb8d1;color:#e2b018}.ui-jqgrid .ui-search-toolbar{border-top:1px solid #e1e1e1}.ui-jqgrid .ui-jqgrid-labels{border-bottom:0;background:#f2f2f2;background-image:-webkit-gradient(linear,left 0,left 100%,from(#f8f8f8),to(#ececec));background-image:-webkit-linear-gradient(top,#f8f8f8,0%,#ececec,100%);background-image:-moz-linear-gradient(top,#f8f8f8 0,#ececec 100%);background-image:linear-gradient(to bottom,#f8f8f8 0,#ececec 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8f8f8',endColorstr='#ffececec',GradientType=0);padding:0!important;border-left:1px solid #e1e1e1!important}.ui-jqgrid .ui-jqgrid-labels th{border-right:1px solid #e1e1e1!important;text-align:left!important}.ui-jqgrid-labels th[id*="_cb"]:first-child>div{padding-top:0;text-align:center!important}.ui-jqgrid-sortable{padding-left:4px;font-size:13px;color:#777;font-weight:bold}.ui-jqgrid-sortable:hover{color:#547ea8}th[aria-selected=true]{background-image:-webkit-gradient(linear,left 0,left 100%,from(#eff3f8),to(#e3e7ed));background-image:-webkit-linear-gradient(top,#eff3f8,0%,#e3e7ed,100%);background-image:-moz-linear-gradient(top,#eff3f8 0,#e3e7ed 100%);background-image:linear-gradient(to bottom,#eff3f8 0,#e3e7ed 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeff3f8',endColorstr='#ffe3e7ed',GradientType=0)}th[aria-selected=true] .ui-jqgrid-sortable{color:#307ecc}.ui-icon{text-indent:0;color:#307ecc;float:none;right:2px;position:absolute}.rtl .ui-icon{right:auto;left:2px}.ui-grid-ico-sort:before{display:inline;content:"\f0d7";font-family:FontAwesome;font-size:12px}.ui-icon-asc:before{content:"\f0d8"}.ui-state-disabled{color:#BBB}.ui-pg-table>tbody>tr>.ui-pg-button>.ui-icon{display:inline-block;padding:0;width:24px;height:24px;line-height:22px;text-align:center;position:static;float:none;margin:0 2px!important;color:#808080;border:1px solid #CCC;background-color:#FFF;border-radius:100%}.ui-pg-table>tbody>tr>.ui-pg-button>.ui-icon:hover{color:#699ab5;border-color:#699ab5}.ui-pg-table>tbody>tr>.ui-pg-button>.ui-icon:before{width:20px;text-align:center;display:inline-block}.ui-pg-table>tbody>tr>.ui-pg-button.ui-state-disabled .ui-icon{color:#b0b0b0;background-color:#f7f7f7;border-color:#DDD;-moz-transform:scale(0.9);-webkit-transform:scale(0.9);-o-transform:scale(0.9);-ms-transform:scale(0.9);transform:scale(0.9)}.ui-jqgrid-btable input,.ui-jqgrid-btable textarea,.ui-jqgrid-btable select{padding:2px;width:auto;max-width:100%;margin-bottom:0}.ui-jqgrid-btable select{padding:1px;height:25px;line-height:25px}.ui-pg-div .ui-icon{display:inline-block;width:18px;float:none;position:static;text-align:center;opacity:.85;-webkit-transition:all .12s;transition:all .12s;margin:0 1px;vertical-align:middle;cursor:pointer;font-size:17px}.ui-pg-div .ui-icon:hover{-moz-transform:scale(1.2);-webkit-transform:scale(1.2);-o-transform:scale(1.2);-ms-transform:scale(1.2);transform:scale(1.2);opacity:1;position:static;margin:0 1px}.ui-pg-div .ui-icon:before{font-family:FontAwesome;display:inline}.ui-icon-pencil{color:#478fca}.ui-icon-pencil:before{content:"\f040"}.ui-icon-trash{color:#dd5a43}.ui-icon-trash:before{content:"\f014"}.ui-icon-disk{color:#69aa46}.ui-icon-disk:before{content:"\f00c"}.ui-icon-cancel{color:#dd5a43}.ui-icon-cancel:before{content:"\f00d"}.ui-jqdialog-content,.ui-jqdialog .ui-jqdialog-content{font-size:13px;padding:4px 0 0}.ui-jqdialog-content .formdata,.ui-jqdialog .ui-jqdialog-content .formdata{font-size:13px;padding:6px 12px}.ui-jqdialog-content .form-view-data,.ui-jqdialog .ui-jqdialog-content .form-view-data{vertical-align:middle;font-size:13px}.ui-jqdialog-content[id*="alertcnt_"],.ui-jqdialog .ui-jqdialog-content[id*="alertcnt_"]{padding:8px 11px}.ui-jqdialog-content .CaptionTD{font-size:12px;text-align:right;color:#666}.ui-jqdialog-content .FormData{border-bottom:1px dotted #e8e8e8}.ui-jqdialog-content .FormData:last-child{border-bottom:0}.ui-jqdialog-content .FormData>td{padding-top:6px;padding-bottom:6px}.ui-jqdialog-content input.FormElement{width:auto}.ui-jqdialog-content select.FormElement{padding:1px;height:25px;line-height:25px;width:auto}.ui-jqdialog-content td.EditButton{padding:8px}.EditTable{background-color:#eff3f8;border-top:1px solid #d6e1ea!important;padding:8px}.EditTable tr:first-child{display:none}.EditTable .navButton .fm-button{float:none!important;width:auto!important;margin:1px 1px 2px!important;background-color:transparent;border-radius:100%}.EditTable .navButton .fm-button:hover{background-color:transparent}.EditTable .navButton .fm-button:focus{outline:0}.EditTable .navButton .fm-button [class*="icon-"]{display:inline-block;color:#999;border:1px solid #AAA;width:26px;height:26px;line-height:26px;text-align:center;border-radius:100%;background-color:#FFF}.EditTable .navButton .fm-button:hover [class*="icon-"]{color:#699ab5;border-color:#699ab5}.EditTable .navButton .fm-button.ui-state-disabled [class*="icon-"],.EditTable .navButton .fm-button.ui-state-disabled:hover [class*="icon-"]{color:#BBB;border-color:#CCC;-moz-transform:scale(0.88);-webkit-transform:scale(0.88);-o-transform:scale(0.88);-ms-transform:scale(0.88);transform:scale(0.88)}.FormGrid .EditTable{background-color:#FFF;border-top:none!important;padding:0}.FormGrid .EditTable tr:first-child{display:none}.ui-jqdialog-content .searchFilter select{padding:1px;height:26px;line-height:26px;width:auto;max-width:95%;margin-bottom:0}.ui-jqdialog-content .searchFilter .input-elm{margin-bottom:0;height:18px;line-height:18px;width:95%!important;padding-left:1px;padding-right:1px;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.ui-jqdialog-content .searchFilter table{margin-left:4px}.ui-jqdialog-content .searchFilter tr td{padding:5px 0}.ui-jqdialog-content .searchFilter .add-group,.ui-jqdialog-content .searchFilter .add-rule,.ui-jqdialog-content .searchFilter .delete-group{margin-left:4px!important;font-size:15px!important}.ui-jqdialog-content .searchFilter .delete-rule{border:0;background-color:#FFF;color:#d15b47;font-size:20px;width:22px;line-height:10px;padding:0;text-shadow:none!important;display:inline-block;-webkit-transition:all .1s;transition:all .1s;opacity:.85}.ui-jqdialog-content .searchFilter .delete-rule:hover{-moz-transform:scale(1.1);-webkit-transform:scale(1.1);-o-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1);color:#b74635;opacity:1}.ui-jqdialog-content .searchFilter .queryresult{margin-bottom:11px}.ui-jqdialog-content .searchFilter .queryresult td.query{padding:6px 11px;border:1px solid #e1e1e1;background-color:#eee}.ui-jqdialog-content .searchFilter .queryresult td.query:empty{display:none}.ui-state-error{background-color:#f2dede;border:1px solid #eed3d7;color:#b94a48;margin:4px 4px 8px;padding:6px 10px;text-shadow:0 1px 0 rgba(255,255,255,0.5);font-size:13px}.ui-jqdialog .ui-widget-header{background-image:-webkit-gradient(linear,left 0,left 100%,from(#fff),to(#eee));background-image:-webkit-linear-gradient(top,#fff,0%,#eee,100%);background-image:-moz-linear-gradient(top,#fff 0,#eee 100%);background-image:linear-gradient(to bottom,#fff 0,#eee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffeeeeee',GradientType=0);border-image:none;border-bottom:1px solid solid;color:#669fc7;min-height:38px;position:relative}.ui-jqdialog .ui-widget-header .ui-jqdialog-title{line-height:38px;margin:0;padding:0;padding-left:12px;text-align:left}.widget-header .ui-jqdialog-title{padding-left:0!important;padding-right:0!important}.ui-jqdialog .ui-widget-header .widget-header{border-bottom:0}.ui-jqdialog .ui-jqdialog-titlebar{border-bottom:1px solid #DDD!important}.fm-button{margin:0 4px}.fm-button:not(.btn){background-color:#abbac3;border-radius:0;box-shadow:none;color:#fff;cursor:pointer;display:inline-block;font-size:13px;line-height:28px;padding:0 12px 1px;margin:0 8px;position:relative;text-shadow:0 -1px 0 rgba(0,0,0,0.25);-webkit-transition:all .15s;transition:all .15s;vertical-align:middle}.fm-button.ui-state-default:hover{background-color:#8b9aa3}.dd{position:relative;display:block;margin:0;padding:0;max-width:600px;list-style:none;line-height:20px}.dd-list{display:block;position:relative;margin:0;padding:0;list-style:none}.dd-list .dd-list{padding-left:30px}.dd-collapsed .dd-list{display:none}.dd-item,.dd-empty,.dd-placeholder{display:block;position:relative;margin:0;padding:0;min-height:20px;line-height:20px}.dd-handle,.dd2-content{display:block;min-height:38px;margin:5px 0;padding:8px 12px;background:#f8faff;border:1px solid #dae2ea;color:#7c9eb2;text-decoration:none;font-weight:bold;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dd-handle:hover,.dd2-content:hover{color:#438eb9;background:#f4f6f7;border-color:#dce2e8}.dd-handle[class*="btn-"],.dd2-content[class*="btn-"]{color:#FFF;border:0;padding:9px 12px}.dd-handle[class*="btn-"]:hover,.dd2-content[class*="btn-"]:hover{opacity:.85;color:#FFF}.dd2-handle+.dd2-content,.dd2-handle+.dd2-content[class*="btn-"]{padding-left:44px}.dd-handle[class*="btn-"]:hover,.dd2-content[class*="btn-"] .dd2-handle[class*="btn-"]:hover+.dd2-content[class*="btn-"]{color:#FFF}.dd-item>button:hover ~ .dd-handle,.dd-item>button:hover ~ .dd2-content{color:#438eb9;background:#f4f6f7;border-color:#dce2e8}.dd-item>button:hover ~ .dd-handle[class*="btn-"],.dd-item>button:hover ~ .dd2-content[class*="btn-"]{opacity:.85;color:#FFF}.dd2-handle:hover ~ .dd2-content{color:#438eb9;background:#f4f6f7;border-color:#dce2e8}.dd2-handle:hover ~ .dd2-content[class*="btn-"]{opacity:.85;color:#FFF}.dd2-item.dd-item>button{margin-left:34px}.dd-item>button{display:block;position:relative;z-index:1;cursor:pointer;float:left;width:25px;height:20px;margin:5px 1px 5px 5px;padding:0;text-indent:100%;white-space:nowrap;overflow:hidden;border:0;background:transparent;font-size:12px;line-height:1;text-align:center;font-weight:bold;top:4px;left:1px;color:#707070}.dd-item>button:before{font-family:FontAwesome;content:'\f067';display:block;position:absolute;width:100%;text-align:center;text-indent:0;font-weight:normal;font-size:14px}.dd-item>button[data-action="collapse"]:before{content:'\f068'}.dd-item>button:hover{color:#707070}.dd-item.dd-colored>button,.dd-item.dd-colored>button:hover{color:#EEE}.dd-placeholder,.dd-empty{margin:5px 0;padding:0;min-height:30px;background:#f0f9ff;border:2px dashed #bed2db;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.dd-empty{border-color:#AAA;border-style:solid;background-color:#e5e5e5}.dd-dragel{position:absolute;pointer-events:none;z-index:999;opacity:.8}.dd-dragel>li>.dd-handle{color:#4b92be;background:#f1f5fa;border-color:#d6e1ea;border-left:2px solid #777;position:relative}.dd-dragel>li>.dd-handle[class*="btn-"]{color:#FFF}.dd-dragel>.dd-item>.dd-handle{margin-top:0}.dd-list>li[class*="item-"]{border-width:0;padding:0}.dd-list>li[class*="item-"]>.dd-handle{border-left:2px solid;border-left-color:inherit}.dd-list>li>.dd-handle .sticker{position:absolute;right:0;top:0}.dd2-handle,.dd-dragel>li>.dd2-handle{left:0;top:0;width:36px;margin:0;border-width:1px 1px 0 0;text-align:center;padding:0!important;line-height:38px;height:38px;background:#ebedf2;border:1px solid #dee4ea;cursor:pointer;overflow:hidden;position:absolute;z-index:1}.dd2-handle:hover,.dd-dragel>li>.dd2-handle{background:#e3e8ed}.dd2-content[class*="btn-"]{text-shadow:none!important}.dd2-handle[class*="btn-"]{text-shadow:none!important;background:rgba(0,0,0,0.1)!important;border-right:1px solid #EEE}.dd2-handle[class*="btn-"]:hover{background:rgba(0,0,0,0.08)!important}.dd-dragel .dd2-handle[class*="btn-"]{border-color:transparent;border-right-color:#EEE}.dd2-handle.btn-yellow{text-shadow:none!important;background:rgba(0,0,0,0.05)!important;border-right:1px solid #FFF}.dd2-handle.btn-yellow:hover{background:rgba(0,0,0,0.08)!important}.dd-dragel .dd2-handle.btn-yellow{border-color:transparent;border-right-color:#FFF}.dd-item>.dd2-handle .drag-icon{display:none}.dd-dragel>.dd-item>.dd2-handle .drag-icon{display:inline}.dd-dragel>.dd-item>.dd2-handle .normal-icon{display:none}.dropzone{border-radius:0;border:1px solid rgba(0,0,0,0.06)}.dropzone .dz-default.dz-message{background-image:none;font-size:24px;text-align:center;line-height:32px;left:0;width:100%;margin-left:auto}.dropzone .dz-default.dz-message span{display:inline;color:#555}.dropzone .dz-default.dz-message span .upload-icon{opacity:.7;filter:alpha(opacity=70);margin-top:8px;cursor:pointer}.dropzone .dz-default.dz-message span .upload-icon:hover{opacity:1;filter:alpha(opacity=100)}.dropzone .dz-preview .dz-error-mark,.dropzone-previews .dz-preview .dz-error-mark,.dropzone .dz-preview .dz-success-mark,.dropzone-previews .dz-preview .dz-success-mark{background-image:none;background-color:rgba(255,255,255,0.8);border-radius:100%;text-align:center;line-height:35px}.dropzone .dz-preview .dz-error-mark:before,.dropzone-previews .dz-preview .dz-error-mark:before{font-family:FontAwesome;font-size:30px;color:#db6262;content:"\f00d"}.dropzone .dz-preview .dz-success-mark:before,.dropzone-previews .dz-preview .dz-success-mark:before{font-family:FontAwesome;font-size:30px;color:#6da552;content:"\f00c"}.dropzone a.dz-remove,.dropzone-previews a.dz-remove{border:0;border-radius:0;color:#FFF;background:#d15b47;cursor:pointer}.dropzone a.dz-remove:hover,.dropzone-previews a.dz-remove:hover{color:#FFF;background:#b74635}.dropzone .progress,.dropzone-previews .progress{margin-bottom:0}.dropzone .dz-preview.dz-success .progress,.dropzone-previews .dz-preview.dz-success .progress,.dropzone .dz-preview.dz-error .progress,.dropzone-previews .dz-preview.dz-error .progress{display:none}.icon-animated-bell{display:inline-block;-moz-animation:ringing 2.0s 5 ease 1.0s;-webkit-animation:ringing 2.0s 5 ease 1.0s;-o-animation:ringing 2.0s 5 ease 1.0s;-ms-animation:ringing 2.0s 5 ease 1.0s;animation:ringing 2.0s 5 ease 1.0s;-moz-transform-origin:50% 0;-webkit-transform-origin:50% 0;-o-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0}@-moz-keyframes ringing{0%{-moz-transform:rotate(-15deg)}2%{-moz-transform:rotate(15deg)}4%{-moz-transform:rotate(-18deg)}6%{-moz-transform:rotate(18deg)}8%{-moz-transform:rotate(-22deg)}10%{-moz-transform:rotate(22deg)}12%{-moz-transform:rotate(-18deg)}14%{-moz-transform:rotate(18deg)}16%{-moz-transform:rotate(-12deg)}18%{-moz-transform:rotate(12deg)}20%{-moz-transform:rotate(0deg)}}@-webkit-keyframes ringing{0%{-webkit-transform:rotate(-15deg)}2%{-webkit-transform:rotate(15deg)}4%{-webkit-transform:rotate(-18deg)}6%{-webkit-transform:rotate(18deg)}8%{-webkit-transform:rotate(-22deg)}10%{-webkit-transform:rotate(22deg)}12%{-webkit-transform:rotate(-18deg)}14%{-webkit-transform:rotate(18deg)}16%{-webkit-transform:rotate(-12deg)}18%{-webkit-transform:rotate(12deg)}20%{-webkit-transform:rotate(0deg)}}@-ms-keyframes ringing{0%{-ms-transform:rotate(-15deg)}2%{-ms-transform:rotate(15deg)}4%{-ms-transform:rotate(-18deg)}6%{-ms-transform:rotate(18deg)}8%{-ms-transform:rotate(-22deg)}10%{-ms-transform:rotate(22deg)}12%{-ms-transform:rotate(-18deg)}14%{-ms-transform:rotate(18deg)}16%{-ms-transform:rotate(-12deg)}18%{-ms-transform:rotate(12deg)}20%{-ms-transform:rotate(0deg)}}@keyframes ringing{0%{transform:rotate(-15deg)}2%{transform:rotate(15deg)}4%{transform:rotate(-18deg)}6%{transform:rotate(18deg)}8%{transform:rotate(-22deg)}10%{transform:rotate(22deg)}12%{transform:rotate(-18deg)}14%{transform:rotate(18deg)}16%{transform:rotate(-12deg)}18%{transform:rotate(12deg)}20%{transform:rotate(0deg)}}.icon-animated-vertical{display:inline-block;-moz-animation:vertical 2.0s 5 ease 2.0s;-webkit-animation:vertical 2.0s 5 ease 2.0s;-o-animation:vertical 2.0s 5 ease 2.0s;-ms-animation:vertical 2.0s 5 ease 2.0s;animation:vertical 2.0s 5 ease 2.0s}@-moz-keyframes vertical{0%{-moz-transform:translate(0,-3px)}4%{-moz-transform:translate(0,3px)}8%{-moz-transform:translate(0,-3px)}12%{-moz-transform:translate(0,3px)}16%{-moz-transform:translate(0,-3px)}20%{-moz-transform:translate(0,3px)}22%{-moz-transform:translate(0,0)}}@-webkit-keyframes vertical{0%{-webkit-transform:translate(0,-3px)}4%{-webkit-transform:translate(0,3px)}8%{-webkit-transform:translate(0,-3px)}12%{-webkit-transform:translate(0,3px)}16%{-webkit-transform:translate(0,-3px)}20%{-webkit-transform:translate(0,3px)}22%{-webkit-transform:translate(0,0)}}@-ms-keyframes vertical{0%{-ms-transform:translate(0,-3px)}4%{-ms-transform:translate(0,3px)}8%{-ms-transform:translate(0,-3px)}12%{-ms-transform:translate(0,3px)}16%{-ms-transform:translate(0,-3px)}20%{-ms-transform:translate(0,3px)}22%{-ms-transform:translate(0,0)}}@keyframes vertical{0%{transform:translate(0,-3px)}4%{transform:translate(0,3px)}8%{transform:translate(0,-3px)}12%{transform:translate(0,3px)}16%{transform:translate(0,-3px)}20%{transform:translate(0,3px)}22%{transform:translate(0,0)}}.icon-animated-hand-pointer{display:inline-block;-moz-animation:hand-pointer 2.0s 4 ease 2.0s;-webkit-animation:hand-pointer 2.0s 4 ease 2.0s;-o-animation:hand-pointer 2.0s 4 ease 2.0s;-ms-animation:hand-pointer 2.0s 4 ease 2.0s;animation:hand-pointer 2.0s 4 ease 2.0s}@-moz-keyframes hand-pointer{0%{-moz-transform:translate(0,0)}6%{-moz-transform:translate(5px,0)}12%{-moz-transform:translate(0,0)}18%{-moz-transform:translate(5px,0)}24%{-moz-transform:translate(0,0)}30%{-moz-transform:translate(5px,0)}36%{-moz-transform:translate(0,0)}}.icon-animated-wrench{display:inline-block;-moz-animation:wrenching 2.5s 4 ease;-webkit-animation:wrenching 2.5s 4 ease;-o-animation:wrenching 2.5s 4 ease;-ms-animation:wrenching 2.5s 4 ease;animation:wrenching 2.5s 4 ease;-moz-transform-origin:90% 35%;-webkit-transform-origin:90% 35%;-o-transform-origin:90% 35%;-ms-transform-origin:90% 35%;transform-origin:90% 35%}@-moz-keyframes wrenching{0%{-moz-transform:rotate(-12deg)}8%{-moz-transform:rotate(12deg)}10%{-moz-transform:rotate(24deg)}18%{-moz-transform:rotate(-24deg)}20%{-moz-transform:rotate(-24deg)}28%{-moz-transform:rotate(24deg)}30%{-moz-transform:rotate(24deg)}38%{-moz-transform:rotate(-24deg)}40%{-moz-transform:rotate(-24deg)}48%{-moz-transform:rotate(24deg)}50%{-moz-transform:rotate(24deg)}58%{-moz-transform:rotate(-24deg)}60%{-moz-transform:rotate(-24deg)}68%{-moz-transform:rotate(24deg)}75%{-moz-transform:rotate(0deg)}}@-webkit-keyframes wrenching{0%{-webkit-transform:rotate(-12deg)}8%{-webkit-transform:rotate(12deg)}10%{-webkit-transform:rotate(24deg)}18%{-webkit-transform:rotate(-24deg)}20%{-webkit-transform:rotate(-24deg)}28%{-webkit-transform:rotate(24deg)}30%{-webkit-transform:rotate(24deg)}38%{-webkit-transform:rotate(-24deg)}40%{-webkit-transform:rotate(-24deg)}48%{-webkit-transform:rotate(24deg)}50%{-webkit-transform:rotate(24deg)}58%{-webkit-transform:rotate(-24deg)}60%{-webkit-transform:rotate(-24deg)}68%{-webkit-transform:rotate(24deg)}75%{-webkit-transform:rotate(0deg)}}@-o-keyframes wrenching{0%{-o-transform:rotate(-12deg)}8%{-o-transform:rotate(12deg)}10%{-o-transform:rotate(24deg)}18%{-o-transform:rotate(-24deg)}20%{-o-transform:rotate(-24deg)}28%{-o-transform:rotate(24deg)}30%{-o-transform:rotate(24deg)}38%{-o-transform:rotate(-24deg)}40%{-o-transform:rotate(-24deg)}48%{-o-transform:rotate(24deg)}50%{-o-transform:rotate(24deg)}58%{-o-transform:rotate(-24deg)}60%{-o-transform:rotate(-24deg)}68%{-o-transform:rotate(24deg)}75%{-o-transform:rotate(0deg)}}@-ms-keyframes wrenching{0%{-ms-transform:rotate(-12deg)}8%{-ms-transform:rotate(12deg)}10%{-ms-transform:rotate(24deg)}18%{-ms-transform:rotate(-24deg)}20%{-ms-transform:rotate(-24deg)}28%{-ms-transform:rotate(24deg)}30%{-ms-transform:rotate(24deg)}38%{-ms-transform:rotate(-24deg)}40%{-ms-transform:rotate(-24deg)}48%{-ms-transform:rotate(24deg)}50%{-ms-transform:rotate(24deg)}58%{-ms-transform:rotate(-24deg)}60%{-ms-transform:rotate(-24deg)}68%{-ms-transform:rotate(24deg)}75%{-ms-transform:rotate(0deg)}}@keyframes wrenching{0%{transform:rotate(-12deg)}8%{transform:rotate(12deg)}10%{transform:rotate(24deg)}18%{transform:rotate(-24deg)}20%{transform:rotate(-24deg)}28%{transform:rotate(24deg)}30%{transform:rotate(24deg)}38%{transform:rotate(-24deg)}40%{transform:rotate(-24deg)}48%{transform:rotate(24deg)}50%{transform:rotate(24deg)}58%{transform:rotate(-24deg)}60%{transform:rotate(-24deg)}68%{transform:rotate(24deg)}75%{transform:rotate(0deg)}}.ace-settings-container{position:absolute;right:0;top:50px;z-index:12}.breadcrumbs-fixed .ace-settings-container{top:9px}.btn.ace-settings-btn{float:left;display:inline-block;width:42px!important;text-align:center;border-radius:6px 0 0 6px!important;opacity:.55;filter:alpha(opacity=55.00000000000001);vertical-align:top;margin:0}.btn.ace-settings-btn:hover,.btn.ace-settings-btn.open{opacity:1;filter:alpha(opacity=100)}.ace-settings-box{display:none;float:left;width:175px;padding:0 14px;background-color:#FFF;border:2px solid #ffb34b}.ace-settings-box.open{display:inline-block}.ace-settings-box>div{margin:6px 0;color:#444;max-height:24px}.ace-settings-box>div>label{font-size:13px}.btn-scroll-up{border:0;position:absolute;right:2px;bottom:2px;z-index:11}@media(min-width:768px){.main-container.container>.btn-scroll-up{right:auto;margin-left:708px}}@media(min-width:992px){.main-container.container>.btn-scroll-up{right:auto;margin-left:928px}}@media(min-width:1200px){.main-container.container>.btn-scroll-up{right:auto;margin-left:1128px}}.grid2,.grid3,.grid4{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin:0;float:left;border-left:1px solid #e3e3e3}.grid2:first-child,.grid3:first-child,.grid4:first-child{border-left:none}.grid2{width:48%;padding:0 2%}.grid3{width:33%;padding:0 2%}.grid4{width:23%;margin:0 1%;padding:0 1%}.draggable-placeholder{border:2px dashed #d9d9d9!important;background-color:#f7f7f7!important}.slimScrollBar{border-radius:0!important}.slimScrollRail{border-radius:0!important}.datepicker td,.daterangepicker td,.datepicker th,.daterangepicker th{border-radius:0!important;font-size:13px}.datepicker td.active,.daterangepicker td.active,.datepicker td.active:hover,.daterangepicker td.active:hover{background:#2283c5!important}.datepicker td.active.disabled,.daterangepicker td.active.disabled,.datepicker td.active.disabled:hover,.daterangepicker td.active.disabled:hover{background:#8b9aa3!important}.datepicker td,.datepicker th{min-width:32px}.datepicker-months .month,.datepicker-years .year{border-radius:0!important}.datepicker-months .month.active,.datepicker-years .year.active,.datepicker-months .month.active:hover,.datepicker-years .year.active:hover,.datepicker-months .month.active:focus,.datepicker-years .year.active:focus,.datepicker-months .month.active:active,.datepicker-years .year.active:active{background-image:none!important;background-color:#2283c5!important}.bootstrap-timepicker-widget table td input{width:32px}.bootstrap-timepicker-widget table td a:hover{border-radius:0}.well .datepicker table tr td.day:hover{background-color:#7d8893;color:#FFF}.easyPieChart{position:relative;text-align:center}.easyPieChart canvas{position:absolute;top:0;left:0}.knob-container{direction:ltr;text-align:left}.navbar .navbar-inner,.navbar .btn-navbar{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)!important}.dropdown-menu li>a,.dropdown-submenu>a{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)!important}.btn{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)!important}.progress,.progress .bar{filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)!important}.tags{display:inline-block;padding:4px 6px;color:#777;vertical-align:middle;background-color:#FFF;border:1px solid #d5d5d5;width:206px}.tags:hover{border-color:#b5b5b5}.tags-hover,.tags-hover:hover{border-color:#f59942;outline:0;outline:thin dotted \9}.tags[class*="span"]{float:none;margin-left:0}.tags input[type="text"],.tags input[type="text"]:focus{border:0;display:inline;outline:0;margin:0;padding:0;line-height:14px;-webkit-box-shadow:none;box-shadow:none;width:100%}.tags .tag{display:inline-block;position:relative;font-size:13px;font-weight:normal;vertical-align:baseline;white-space:nowrap;background-color:#91b8d0;color:#FFF;text-shadow:1px 1px 1px rgba(0,0,0,0.15);padding:4px 22px 5px 9px;margin-bottom:3px;margin-right:3px;-webkit-transition:all .2s;transition:all .2s}.tags .tag:empty{display:none}.tags .tag-important{background-color:#d15b47}.tags .tag-warning{background-color:#ffb752}.tags .tag-success{background-color:#87b87f}.tags .tag-info{background-color:#6fb3e0}.tags .tag-inverse{background-color:#555}.tags .tag .close{font-size:15px;line-height:20px;opacity:1;filter:alpha(opacity=100);color:#FFF;text-shadow:none;float:none;position:absolute;right:0;top:0;bottom:0;width:18px;text-align:center}.tags .tag .close:hover{background-color:rgba(0,0,0,0.2)}.col-xs-12,.col-sm-12,.col-md-12,.col-lg-12{float:left}.col-xs-reset{width:auto;padding-left:0;padding-right:0;float:none}@media(min-width:768px){.col-sm-reset{width:auto;padding-left:0;padding-right:0;float:none}}@media(min-width:992px){.col-md-reset{width:auto;padding-left:0;padding-right:0;float:none}}@media(min-width:1200px){.col-lg-reset{width:auto;padding-left:0;padding-right:0;float:none}}.jqstooltip,.legendColorBox div{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}.legendLabel{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:20px;font-size:10px}@media only screen and (max-width:480px){.hidden-480{display:none!important}}@media only screen and (max-width:320px){.hidden-320{display:none!important}}@media only screen and (max-width:480px){[class*="vspace-xs"]{display:block}}@media only screen and (max-width:767px){[class*="vspace-sm"]{display:block}}@media only screen and (max-width:991px){[class*="vspace-md"]{display:block}}@media only screen and (max-width:1199px){[class*="vspace-lg"]{display:block}}@media only screen and (max-width:991px){.main-content{margin-left:0!important}}@media only screen and (max-width:767px){.page-content{padding-left:12px;padding-right:12px}}@media(max-width:991px){body.breadcrumbs-fixed{padding-top:45px}.navbar-fixed-top{margin-bottom:0}.sidebar.fixed,.sidebar.sidebar-fixed{position:absolute}}@media(max-width:460px){body.navbar-fixed{padding-top:90px}}@media only screen and (max-width:767px){.error-container{margin:12px}}@media only screen and (max-width:480px){.error-container{margin:6px}}@media only screen and (max-width:360px){.grid2,.grid3,.grid4{float:none;display:block;width:96%;border-left:none;position:relative;margin-bottom:11px;border-bottom:1px solid #e3e3e3;padding-bottom:4px}.grid2>[class*="pull-"],.grid3>[class*="pull-"],.grid4>[class*="pull-"]{float:none!important;display:inline-block;position:absolute;right:11px;top:0;margin-top:0}.grid2:last-child,.grid3:last-child,.grid4:last-child{border-bottom:0}}@media only screen and (max-width:480px){.ace-settings-container,body.breadcrumbs-fixed .ace-settings-container{top:65px}} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/font-awesome.min.css b/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/font-awesome.min.css deleted file mode 100644 index dbdf6046d..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/base/ace/font-awesome.min.css +++ /dev/null @@ -1,1837 +0,0 @@ -@font-face { - font-family: 'FontAwesome'; - src: url('../../fonts/fontawesome-webfont.eot?v=3.2.2'); - src: url('../../fonts/fontawesome-webfont.eot?#iefix&v=3.2.2') format('embedded-opentype'),url('../../fonts/fontawesome-webfont.woff?v=3.2.1') format('woff'),url('../../fonts/fontawesome-webfont.ttf?v=3.2.1') format('truetype'),url('../../fonts/fontawesome-webfont.svg#fontawesomeregular') format('svg'); - font-weight: normal; - font-style: normal; -} -@font-face { - font-family: 'surgingfonticon'; - src: url('../../fonts/surgingfonticon.eot?i1nd12b'); - src: url('../../fonts/surgingfonticon.eot?i1nd12b#iefix') format('embedded-opentype'),url('../../fonts/surgingfonticon.woff?i1nd12b') format('woff'),url('../../fonts/surgingfonticon.ttf?i1nd12b') format('truetype'),url('../../fonts/surgingfonticon.svg?i1nd12b#surgingfonticon') format('svg'); - font-weight: normal; - font-style: normal; -} - -[class^="icon-"], [class*=" icon-"], [class^="surging-icon-"] { - font-family: 'FontAwesome','surgingfonticon'; - font-weight: normal; - font-style: normal; - text-decoration: inherit; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - *margin-right: .3em; - font-size: inherit; - text-rendering: auto; - line-height: 1; -} - -[class^="icon-"]:before, [class*=" icon-"]:before { - text-decoration: inherit; - display: inline-block; - speak: none; -} - -.icon-large:before { - vertical-align: -10%; - font-size: 1.3333333333333333em; -} - -a [class^="icon-"], a [class*=" icon-"] { - display: inline; -} - -[class^="icon-"].icon-fixed-width, [class*=" icon-"].icon-fixed-width { - display: inline-block; - width: 1.1428571428571428em; - text-align: right; - padding-right: 0.2857142857142857em; -} - -[class^="icon-"].icon-fixed-width.icon-large, [class*=" icon-"].icon-fixed-width.icon-large { - width: 1.4285714285714286em; -} - -.icons-ul { - margin-left: 2.142857142857143em; - list-style-type: none; -} - -.icons-ul > li { - position: relative; -} - -.icons-ul .icon-li { - position: absolute; - left: -2.142857142857143em; - width: 2.142857142857143em; - text-align: center; - line-height: inherit; -} - -[class^="icon-"].hide, [class*=" icon-"].hide { - display: none; -} - -.icon-muted { - color: #eeeeee; -} - -.icon-light { - color: #ffffff; -} - -.icon-dark { - color: #333333; -} - -.icon-border { - border: solid 1px #eeeeee; - padding: .2em .25em .15em; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} - -.icon-2x { - font-size: 2em; -} - -.icon-2x.icon-border { - border-width: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} - -.icon-3x { - font-size: 3em; -} - -.icon-3x.icon-border { - border-width: 3px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} - -.icon-4x { - font-size: 4em; -} - -.icon-4x.icon-border { - border-width: 4px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} - -.icon-5x { - font-size: 5em; -} - -.icon-5x.icon-border { - border-width: 5px; - -webkit-border-radius: 7px; - -moz-border-radius: 7px; - border-radius: 7px; -} - -.pull-right { - float: right; -} - -.pull-left { - float: left; -} - -[class^="icon-"].pull-left, [class*=" icon-"].pull-left { - margin-right: .3em; -} - -[class^="icon-"].pull-right, [class*=" icon-"].pull-right { - margin-left: .3em; -} - -[class^="icon-"], [class*=" icon-"] { - display: inline; - width: auto; - height: auto; - line-height: normal; - vertical-align: baseline; - background-image: none; - background-position: 0% 0%; - background-repeat: repeat; - margin-top: 0; -} - -.icon-white, .nav-pills > .active > a > [class^="icon-"], .nav-pills > .active > a > [class*=" icon-"], .nav-list > .active > a > [class^="icon-"], .nav-list > .active > a > [class*=" icon-"], .navbar-inverse .nav > .active > a > [class^="icon-"], .navbar-inverse .nav > .active > a > [class*=" icon-"], .dropdown-menu > li > a:hover > [class^="icon-"], .dropdown-menu > li > a:hover > [class*=" icon-"], .dropdown-menu > .active > a > [class^="icon-"], .dropdown-menu > .active > a > [class*=" icon-"], .dropdown-submenu:hover > a > [class^="icon-"], .dropdown-submenu:hover > a > [class*=" icon-"] { - background-image: none; -} - -.btn [class^="icon-"].icon-large, .nav [class^="icon-"].icon-large, .btn [class*=" icon-"].icon-large, .nav [class*=" icon-"].icon-large { - line-height: .9em; -} - -.btn [class^="icon-"].icon-spin, .nav [class^="icon-"].icon-spin, .btn [class*=" icon-"].icon-spin, .nav [class*=" icon-"].icon-spin { - display: inline-block; -} - -.nav-tabs [class^="icon-"], .nav-pills [class^="icon-"], .nav-tabs [class*=" icon-"], .nav-pills [class*=" icon-"], .nav-tabs [class^="icon-"].icon-large, .nav-pills [class^="icon-"].icon-large, .nav-tabs [class*=" icon-"].icon-large, .nav-pills [class*=" icon-"].icon-large { - line-height: .9em; -} - -.btn [class^="icon-"].pull-left.icon-2x, .btn [class*=" icon-"].pull-left.icon-2x, .btn [class^="icon-"].pull-right.icon-2x, .btn [class*=" icon-"].pull-right.icon-2x { - margin-top: .18em; -} - -.btn [class^="icon-"].icon-spin.icon-large, .btn [class*=" icon-"].icon-spin.icon-large { - line-height: .8em; -} - -.btn.btn-small [class^="icon-"].pull-left.icon-2x, .btn.btn-small [class*=" icon-"].pull-left.icon-2x, .btn.btn-small [class^="icon-"].pull-right.icon-2x, .btn.btn-small [class*=" icon-"].pull-right.icon-2x { - margin-top: .25em; -} - -.btn.btn-large [class^="icon-"], .btn.btn-large [class*=" icon-"] { - margin-top: 0; -} - -.btn.btn-large [class^="icon-"].pull-left.icon-2x, .btn.btn-large [class*=" icon-"].pull-left.icon-2x, .btn.btn-large [class^="icon-"].pull-right.icon-2x, .btn.btn-large [class*=" icon-"].pull-right.icon-2x { - margin-top: .05em; -} - -.btn.btn-large [class^="icon-"].pull-left.icon-2x, .btn.btn-large [class*=" icon-"].pull-left.icon-2x { - margin-right: .2em; -} - -.btn.btn-large [class^="icon-"].pull-right.icon-2x, .btn.btn-large [class*=" icon-"].pull-right.icon-2x { - margin-left: .2em; -} - -.nav-list [class^="icon-"], .nav-list [class*=" icon-"] { - line-height: inherit; -} - -.icon-stack { - position: relative; - display: inline-block; - width: 2em; - height: 2em; - line-height: 2em; - vertical-align: -35%; -} - -.icon-stack [class^="icon-"], .icon-stack [class*=" icon-"] { - display: block; - text-align: center; - position: absolute; - width: 100%; - height: 100%; - font-size: 1em; - line-height: inherit; - *line-height: 2em; -} - -.icon-stack .icon-stack-base { - font-size: 2em; - *line-height: 1em; -} - -.icon-spin { - display: inline-block; - -moz-animation: spin 2s infinite linear; - -o-animation: spin 2s infinite linear; - -webkit-animation: spin 2s infinite linear; - animation: spin 2s infinite linear; -} - -a .icon-stack, a .icon-spin { - display: inline-block; - text-decoration: none; -} - -@-moz-keyframes spin { - 0% { - -moz-transform: rotate(0deg); - } - - 100% { - -moz-transform: rotate(359deg); - } -} - -@-webkit-keyframes spin { - 0% { - -webkit-transform: rotate(0deg); - } - - 100% { - -webkit-transform: rotate(359deg); - } -} - -@-o-keyframes spin { - 0% { - -o-transform: rotate(0deg); - } - - 100% { - -o-transform: rotate(359deg); - } -} - -@-ms-keyframes spin { - 0% { - -ms-transform: rotate(0deg); - } - - 100% { - -ms-transform: rotate(359deg); - } -} - -@keyframes spin { - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(359deg); - } -} - -.icon-rotate-90:before { - -webkit-transform: rotate(90deg); - -moz-transform: rotate(90deg); - -ms-transform: rotate(90deg); - -o-transform: rotate(90deg); - transform: rotate(90deg); - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); -} - -.icon-rotate-180:before { - -webkit-transform: rotate(180deg); - -moz-transform: rotate(180deg); - -ms-transform: rotate(180deg); - -o-transform: rotate(180deg); - transform: rotate(180deg); - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); -} - -.icon-rotate-270:before { - -webkit-transform: rotate(270deg); - -moz-transform: rotate(270deg); - -ms-transform: rotate(270deg); - -o-transform: rotate(270deg); - transform: rotate(270deg); - filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); -} - -.icon-flip-horizontal:before { - -webkit-transform: scale(-1, 1); - -moz-transform: scale(-1, 1); - -ms-transform: scale(-1, 1); - -o-transform: scale(-1, 1); - transform: scale(-1, 1); -} - -.icon-flip-vertical:before { - -webkit-transform: scale(1, -1); - -moz-transform: scale(1, -1); - -ms-transform: scale(1, -1); - -o-transform: scale(1, -1); - transform: scale(1, -1); -} - -a .icon-rotate-90:before, a .icon-rotate-180:before, a .icon-rotate-270:before, a .icon-flip-horizontal:before, a .icon-flip-vertical:before { - display: inline-block; -} - -.icon-glass:before { - content: "\f000"; -} - -.icon-music:before { - content: "\f001"; -} - -.icon-search:before { - content: "\f002"; -} - -.icon-envelope-alt:before { - content: "\f003"; -} - -.icon-heart:before { - content: "\f004"; -} - -.icon-star:before { - content: "\f005"; -} - -.icon-star-empty:before { - content: "\f006"; -} - -.icon-user:before { - content: "\f007"; -} - -.icon-film:before { - content: "\f008"; -} - -.icon-th-large:before { - content: "\f009"; -} - -.icon-th:before { - content: "\f00a"; -} - -.icon-th-list:before { - content: "\f00b"; -} - -.icon-ok:before { - content: "\f00c"; -} -.surging-icon-message:before { - content: "\fd60"; -} -.surging-icon-wrench:before { - content: "\fda0"; -} -.surging-icon-home:before { - content: "\fd77"; -} -.surging-icon-token:before { - content: "\e6b2"; -} -.surging-icon-line:before { - content: "\e69c"; -} -.surging-icon-file:before { - content: "\e62f"; -} -.surging-icon-blacklist:before { - content: "\e674"; -} -.icon-servicemange:before { - content: "\fd69"; -} -.icon-ref-consume:before { - content: "\fd74"; -} -.icon-service:before { - content: "\fd71"; -} -.icon-calculator:before { - content: "\fd72"; -} -.surging-icon-house-dialog:before { - content: "\fd52"; -} -.icon-home:before { - content: "\fd77"; -} -.icon-color-home:before { - content: "\fd75"; -} -.icon-back:before { - content: "\fd76"; -} -.icon-remove:before { - content: "\f00d"; -} - -.icon-zoom-in:before { - content: "\f00e"; -} - -.icon-zoom-out:before { - content: "\f010"; -} - -.icon-power-off:before, .icon-off:before { - content: "\f011"; -} - -.icon-signal:before { - content: "\f012"; -} - -.icon-gear:before, .icon-cog:before { - content: "\f013"; -} - -.icon-trash:before { - content: "\f014"; -} - -.icon-home:before { - content: "\f015"; -} - -.icon-file-alt:before { - content: "\f016"; -} - -.icon-time:before { - content: "\f017"; -} - -.icon-road:before { - content: "\f018"; -} - -.icon-download-alt:before { - content: "\f019"; -} - -.icon-download:before { - content: "\f01a"; -} - -.icon-upload:before { - content: "\f01b"; -} - -.icon-inbox:before { - content: "\f01c"; -} - -.icon-play-circle:before { - content: "\f01d"; -} - -.icon-rotate-right:before, .icon-repeat:before { - content: "\f01e"; -} - -.icon-refresh:before { - content: "\f021"; -} - -.icon-list-alt:before { - content: "\f022"; -} - -.icon-lock:before { - content: "\f023"; -} - -.icon-flag:before { - content: "\f024"; -} - -.icon-headphones:before { - content: "\f025"; -} - -.icon-volume-off:before { - content: "\f026"; -} - -.icon-volume-down:before { - content: "\f027"; -} - -.icon-volume-up:before { - content: "\f028"; -} - -.icon-qrcode:before { - content: "\f029"; -} - -.icon-barcode:before { - content: "\f02a"; -} - -.icon-tag:before { - content: "\f02b"; -} - -.icon-tags:before { - content: "\f02c"; -} - -.icon-book:before { - content: "\f02d"; -} - -.icon-bookmark:before { - content: "\f02e"; -} - -.icon-print:before { - content: "\f02f"; -} - -.icon-camera:before { - content: "\f030"; -} - -.icon-font:before { - content: "\f031"; -} - -.icon-bold:before { - content: "\f032"; -} - -.icon-italic:before { - content: "\f033"; -} - -.icon-text-height:before { - content: "\f034"; -} - -.icon-text-width:before { - content: "\f035"; -} - -.icon-align-left:before { - content: "\f036"; -} - -.icon-align-center:before { - content: "\f037"; -} - -.icon-align-right:before { - content: "\f038"; -} - -.icon-align-justify:before { - content: "\f039"; -} - -.icon-list:before { - content: "\f03a"; -} - -.icon-indent-left:before { - content: "\f03b"; -} - -.icon-indent-right:before { - content: "\f03c"; -} - -.icon-facetime-video:before { - content: "\f03d"; -} - -.icon-picture:before { - content: "\f03e"; -} - -.icon-pencil:before { - content: "\f040"; -} - -.icon-map-marker:before { - content: "\f041"; -} - -.icon-adjust:before { - content: "\f042"; -} - -.icon-tint:before { - content: "\f043"; -} - -.icon-edit:before { - content: "\f044"; -} - -.icon-share:before { - content: "\f045"; -} - -.icon-check:before { - content: "\f046"; -} - -.icon-move:before { - content: "\f047"; -} - -.icon-step-backward:before { - content: "\f048"; -} - -.icon-fast-backward:before { - content: "\f049"; -} - -.icon-backward:before { - content: "\f04a"; -} - -.icon-play:before { - content: "\f04b"; -} - -.icon-pause:before { - content: "\f04c"; -} - -.icon-stop:before { - content: "\f04d"; -} - -.icon-forward:before { - content: "\f04e"; -} - -.icon-fast-forward:before { - content: "\f050"; -} - -.icon-step-forward:before { - content: "\f051"; -} - -.icon-eject:before { - content: "\f052"; -} - -.icon-chevron-left:before { - content: "\f053"; -} - -.icon-chevron-right:before { - content: "\f054"; -} - -.icon-plus-sign:before { - content: "\f055"; -} - -.icon-minus-sign:before { - content: "\f056"; -} - -.icon-remove-sign:before { - content: "\f057"; -} - -.icon-ok-sign:before { - content: "\f058"; -} - -.icon-question-sign:before { - content: "\f059"; -} - -.icon-info-sign:before { - content: "\f05a"; -} - -.icon-screenshot:before { - content: "\f05b"; -} - -.icon-remove-circle:before { - content: "\f05c"; -} - -.icon-ok-circle:before { - content: "\f05d"; -} - -.icon-ban-circle:before { - content: "\f05e"; -} - -.icon-arrow-left:before { - content: "\f060"; -} - -.icon-arrow-right:before { - content: "\f061"; -} - -.icon-arrow-up:before { - content: "\f062"; -} - -.icon-arrow-down:before { - content: "\f063"; -} - -.icon-mail-forward:before, .icon-share-alt:before { - content: "\f064"; -} - -.icon-resize-full:before { - content: "\f065"; -} - -.icon-resize-small:before { - content: "\f066"; -} - -.icon-plus:before { - content: "\f067"; -} - -.icon-minus:before { - content: "\f068"; -} - -.icon-asterisk:before { - content: "\f069"; -} - -.icon-exclamation-sign:before { - content: "\f06a"; -} - -.icon-gift:before { - content: "\f06b"; -} - -.icon-leaf:before { - content: "\f06c"; -} - -.icon-fire:before { - content: "\f06d"; -} - -.icon-eye-open:before { - content: "\f06e"; -} - -.icon-eye-close:before { - content: "\f070"; -} - -.icon-warning-sign:before { - content: "\f071"; -} - -.icon-plane:before { - content: "\f072"; -} - -.icon-calendar:before { - content: "\f073"; -} - -.icon-random:before { - content: "\f074"; -} - -.icon-comment:before { - content: "\f075"; -} - -.icon-magnet:before { - content: "\f076"; -} - -.icon-chevron-up:before { - content: "\f077"; -} - -.icon-chevron-down:before { - content: "\f078"; -} - -.icon-retweet:before { - content: "\f079"; -} - -.icon-shopping-cart:before { - content: "\f07a"; -} - -.icon-folder-close:before { - content: "\f07b"; -} - -.icon-folder-open:before { - content: "\f07c"; -} - -.icon-resize-vertical:before { - content: "\f07d"; -} - -.icon-resize-horizontal:before { - content: "\f07e"; -} - -.icon-bar-chart:before { - content: "\f080"; -} - -.icon-twitter-sign:before { - content: "\f081"; -} - -.icon-facebook-sign:before { - content: "\f082"; -} - -.icon-camera-retro:before { - content: "\f083"; -} - -.icon-key:before { - content: "\f084"; -} - -.icon-gears:before, .icon-cogs:before { - content: "\f085"; -} - -.icon-comments:before { - content: "\f086"; -} - -.icon-thumbs-up-alt:before { - content: "\f087"; -} - -.icon-thumbs-down-alt:before { - content: "\f088"; -} - -.icon-star-half:before { - content: "\f089"; -} - -.icon-heart-empty:before { - content: "\f08a"; -} - -.icon-signout:before { - content: "\f08b"; -} - -.icon-linkedin-sign:before { - content: "\f08c"; -} - -.icon-pushpin:before { - content: "\f08d"; -} - -.icon-external-link:before { - content: "\f08e"; -} - -.icon-signin:before { - content: "\f090"; -} - -.icon-trophy:before { - content: "\f091"; -} - -.icon-github-sign:before { - content: "\f092"; -} - -.icon-upload-alt:before { - content: "\f093"; -} - -.icon-lemon:before { - content: "\f094"; -} - -.icon-phone:before { - content: "\f095"; -} - -.icon-unchecked:before, .icon-check-empty:before { - content: "\f096"; -} - -.icon-bookmark-empty:before { - content: "\f097"; -} - -.icon-phone-sign:before { - content: "\f098"; -} - -.icon-twitter:before { - content: "\f099"; -} - -.icon-facebook:before { - content: "\f09a"; -} - -.icon-github:before { - content: "\f09b"; -} - -.icon-unlock:before { - content: "\f09c"; -} - -.icon-credit-card:before { - content: "\f09d"; -} - -.icon-rss:before { - content: "\f09e"; -} - -.icon-hdd:before { - content: "\f0a0"; -} - -.icon-bullhorn:before { - content: "\f0a1"; -} - -.icon-bell:before { - content: "\f0a2"; -} - -.icon-certificate:before { - content: "\f0a3"; -} - -.icon-hand-right:before { - content: "\f0a4"; -} - -.icon-hand-left:before { - content: "\f0a5"; -} - -.icon-hand-up:before { - content: "\f0a6"; -} - -.icon-hand-down:before { - content: "\f0a7"; -} - -.icon-circle-arrow-left:before { - content: "\f0a8"; -} - -.icon-circle-arrow-right:before { - content: "\f0a9"; -} - -.icon-circle-arrow-up:before { - content: "\f0aa"; -} - -.icon-circle-arrow-down:before { - content: "\f0ab"; -} - -.icon-globe:before { - content: "\f0ac"; -} - -.icon-wrench:before { - content: "\f0ad"; -} - -.icon-tasks:before { - content: "\f0ae"; -} - -.icon-filter:before { - content: "\f0b0"; -} - -.icon-briefcase:before { - content: "\f0b1"; -} - -.icon-fullscreen:before { - content: "\f0b2"; -} - -.icon-group:before { - content: "\f0c0"; -} - -.icon-link:before { - content: "\f0c1"; -} - -.icon-cloud:before { - content: "\f0c2"; -} - -.icon-beaker:before { - content: "\f0c3"; -} - -.icon-cut:before { - content: "\f0c4"; -} - -.icon-copy:before { - content: "\f0c5"; -} - -.icon-paperclip:before, .icon-paper-clip:before { - content: "\f0c6"; -} - -.icon-save:before { - content: "\f0c7"; -} - -.icon-sign-blank:before { - content: "\f0c8"; -} - -.icon-reorder:before { - content: "\f0c9"; -} - -.icon-list-ul:before { - content: "\f0ca"; -} - -.icon-list-ol:before { - content: "\f0cb"; -} - -.icon-strikethrough:before { - content: "\f0cc"; -} - -.icon-underline:before { - content: "\f0cd"; -} - -.icon-table:before { - content: "\f0ce"; -} - -.icon-magic:before { - content: "\f0d0"; -} - -.icon-truck:before { - content: "\f0d1"; -} - -.icon-pinterest:before { - content: "\f0d2"; -} - -.icon-pinterest-sign:before { - content: "\f0d3"; -} - -.icon-google-plus-sign:before { - content: "\f0d4"; -} - -.icon-google-plus:before { - content: "\f0d5"; -} - -.icon-money:before { - content: "\f0d6"; -} - -.icon-caret-down:before { - content: "\f0d7"; -} - -.icon-caret-up:before { - content: "\f0d8"; -} - -.icon-caret-left:before { - content: "\f0d9"; -} - -.icon-caret-right:before { - content: "\f0da"; -} - -.icon-columns:before { - content: "\f0db"; -} - -.icon-sort:before { - content: "\f0dc"; -} - -.icon-sort-down:before { - content: "\f0dd"; -} - -.icon-sort-up:before { - content: "\f0de"; -} - -.icon-envelope:before { - content: "\f0e0"; -} - -.icon-linkedin:before { - content: "\f0e1"; -} - -.icon-rotate-left:before, .icon-undo:before { - content: "\f0e2"; -} - -.icon-legal:before { - content: "\f0e3"; -} - -.icon-dashboard:before { - content: "\f0e4"; -} - -.icon-comment-alt:before { - content: "\f0e5"; -} - -.icon-comments-alt:before { - content: "\f0e6"; -} - -.icon-bolt:before { - content: "\f0e7"; -} - -.icon-sitemap:before { - content: "\f0e8"; -} - -.icon-umbrella:before { - content: "\f0e9"; -} - -.icon-paste:before { - content: "\f0ea"; -} - -.icon-lightbulb:before { - content: "\f0eb"; -} - -.icon-exchange:before { - content: "\f0ec"; -} - -.icon-cloud-download:before { - content: "\f0ed"; -} - -.icon-cloud-upload:before { - content: "\f0ee"; -} - -.icon-user-md:before { - content: "\f0f0"; -} - -.icon-stethoscope:before { - content: "\f0f1"; -} - -.icon-suitcase:before { - content: "\f0f2"; -} - -.icon-bell-alt:before { - content: "\f0f3"; -} - -.icon-coffee:before { - content: "\f0f4"; -} - -.icon-food:before { - content: "\f0f5"; -} - -.icon-file-text-alt:before { - content: "\f0f6"; -} - -.icon-building:before { - content: "\f0f7"; -} - -.icon-hospital:before { - content: "\f0f8"; -} - -.icon-ambulance:before { - content: "\f0f9"; -} - -.icon-medkit:before { - content: "\f0fa"; -} - -.icon-fighter-jet:before { - content: "\f0fb"; -} - -.icon-beer:before { - content: "\f0fc"; -} - -.icon-h-sign:before { - content: "\f0fd"; -} - -.icon-plus-sign-alt:before { - content: "\f0fe"; -} - -.icon-double-angle-left:before { - content: "\f100"; -} - -.icon-double-angle-right:before { - content: "\f101"; -} - -.icon-double-angle-up:before { - content: "\f102"; -} - -.icon-double-angle-down:before { - content: "\f103"; -} - -.icon-angle-left:before { - content: "\f104"; -} - -.icon-angle-right:before { - content: "\f105"; -} - -.icon-angle-up:before { - content: "\f106"; -} - -.icon-angle-down:before { - content: "\f107"; -} - -.icon-desktop:before { - content: "\f108"; -} - -.icon-laptop:before { - content: "\f109"; -} - -.icon-tablet:before { - content: "\f10a"; -} - -.icon-mobile-phone:before { - content: "\f10b"; -} - -.icon-circle-blank:before { - content: "\f10c"; -} - -.icon-quote-left:before { - content: "\f10d"; -} - -.icon-quote-right:before { - content: "\f10e"; -} - -.icon-spinner:before { - content: "\f110"; -} - -.icon-circle:before { - content: "\f111"; -} - -.icon-mail-reply:before, .icon-reply:before { - content: "\f112"; -} - -.icon-github-alt:before { - content: "\f113"; -} - -.icon-folder-close-alt:before { - content: "\f114"; -} - -.icon-folder-open-alt:before { - content: "\f115"; -} - -.icon-expand-alt:before { - content: "\f116"; -} - -.icon-collapse-alt:before { - content: "\f117"; -} - -.icon-smile:before { - content: "\f118"; -} - -.icon-frown:before { - content: "\f119"; -} - -.icon-meh:before { - content: "\f11a"; -} - -.icon-gamepad:before { - content: "\f11b"; -} - -.icon-keyboard:before { - content: "\f11c"; -} - -.icon-flag-alt:before { - content: "\f11d"; -} - -.icon-flag-checkered:before { - content: "\f11e"; -} - -.icon-terminal:before { - content: "\f120"; -} - -.icon-code:before { - content: "\f121"; -} - -.icon-reply-all:before { - content: "\f122"; -} - -.icon-mail-reply-all:before { - content: "\f122"; -} - -.icon-star-half-full:before, .icon-star-half-empty:before { - content: "\f123"; -} - -.icon-location-arrow:before { - content: "\f124"; -} - -.icon-crop:before { - content: "\f125"; -} - -.icon-code-fork:before { - content: "\f126"; -} - -.icon-unlink:before { - content: "\f127"; -} - -.icon-question:before { - content: "\f128"; -} - -.icon-info:before { - content: "\f129"; -} - -.icon-exclamation:before { - content: "\f12a"; -} - -.icon-superscript:before { - content: "\f12b"; -} - -.icon-subscript:before { - content: "\f12c"; -} - -.icon-eraser:before { - content: "\f12d"; -} - -.icon-puzzle-piece:before { - content: "\f12e"; -} - -.icon-microphone:before { - content: "\f130"; -} - -.icon-microphone-off:before { - content: "\f131"; -} - -.icon-shield:before { - content: "\f132"; -} - -.icon-calendar-empty:before { - content: "\f133"; -} - -.icon-fire-extinguisher:before { - content: "\f134"; -} - -.icon-rocket:before { - content: "\f135"; -} - -.icon-maxcdn:before { - content: "\f136"; -} - -.icon-chevron-sign-left:before { - content: "\f137"; -} - -.icon-chevron-sign-right:before { - content: "\f138"; -} - -.icon-chevron-sign-up:before { - content: "\f139"; -} - -.icon-chevron-sign-down:before { - content: "\f13a"; -} - -.icon-html5:before { - content: "\f13b"; -} - -.icon-css3:before { - content: "\f13c"; -} - -.icon-anchor:before { - content: "\f13d"; -} - -.icon-unlock-alt:before { - content: "\f13e"; -} - -.icon-bullseye:before { - content: "\f140"; -} - -.icon-ellipsis-horizontal:before { - content: "\f141"; -} - -.icon-ellipsis-vertical:before { - content: "\f142"; -} - -.icon-rss-sign:before { - content: "\f143"; -} - -.icon-play-sign:before { - content: "\f144"; -} - -.icon-ticket:before { - content: "\f145"; -} - -.icon-minus-sign-alt:before { - content: "\f146"; -} - -.icon-check-minus:before { - content: "\f147"; -} - -.icon-level-up:before { - content: "\f148"; -} - -.icon-level-down:before { - content: "\f149"; -} - -.icon-check-sign:before { - content: "\f14a"; -} - -.icon-edit-sign:before { - content: "\f14b"; -} - -.icon-external-link-sign:before { - content: "\f14c"; -} - -.icon-share-sign:before { - content: "\f14d"; -} - -.icon-compass:before { - content: "\f14e"; -} - -.icon-collapse:before { - content: "\f150"; -} - -.icon-collapse-top:before { - content: "\f151"; -} - -.icon-expand:before { - content: "\f152"; -} - -.icon-euro:before, .icon-eur:before { - content: "\f153"; -} - -.icon-gbp:before { - content: "\f154"; -} - -.icon-dollar:before, .icon-usd:before { - content: "\f155"; -} - -.icon-rupee:before, .icon-inr:before { - content: "\f156"; -} - -.icon-yen:before, .icon-jpy:before { - content: "\f157"; -} - -.icon-renminbi:before, .icon-cny:before { - content: "\f158"; -} - -.icon-won:before, .icon-krw:before { - content: "\f159"; -} - -.icon-bitcoin:before, .icon-btc:before { - content: "\f15a"; -} - -.icon-file:before { - content: "\f15b"; -} - -.icon-file-text:before { - content: "\f15c"; -} - -.icon-sort-by-alphabet:before { - content: "\f15d"; -} - -.icon-sort-by-alphabet-alt:before { - content: "\f15e"; -} - -.icon-sort-by-attributes:before { - content: "\f160"; -} - -.icon-sort-by-attributes-alt:before { - content: "\f161"; -} - -.icon-sort-by-order:before { - content: "\f162"; -} - -.icon-sort-by-order-alt:before { - content: "\f163"; -} - -.icon-thumbs-up:before { - content: "\f164"; -} - -.icon-thumbs-down:before { - content: "\f165"; -} - -.icon-youtube-sign:before { - content: "\f166"; -} - -.icon-youtube:before { - content: "\f167"; -} - -.icon-xing:before { - content: "\f168"; -} - -.icon-xing-sign:before { - content: "\f169"; -} - -.icon-youtube-play:before { - content: "\f16a"; -} - -.icon-dropbox:before { - content: "\f16b"; -} - -.icon-stackexchange:before { - content: "\f16c"; -} - -.icon-instagram:before { - content: "\f16d"; -} - -.icon-flickr:before { - content: "\f16e"; -} - -.icon-adn:before { - content: "\f170"; -} - -.icon-bitbucket:before { - content: "\f171"; -} - -.icon-bitbucket-sign:before { - content: "\f172"; -} - -.icon-tumblr:before { - content: "\f173"; -} - -.icon-tumblr-sign:before { - content: "\f174"; -} - -.icon-long-arrow-down:before { - content: "\f175"; -} - -.icon-long-arrow-up:before { - content: "\f176"; -} - -.icon-long-arrow-left:before { - content: "\f177"; -} - -.icon-long-arrow-right:before { - content: "\f178"; -} - -.icon-apple:before { - content: "\f179"; -} - -.icon-windows:before { - content: "\f17a"; -} - -.icon-android:before { - content: "\f17b"; -} - -.icon-linux:before { - content: "\f17c"; -} - -.icon-dribbble:before { - content: "\f17d"; -} - -.icon-skype:before { - content: "\f17e"; -} - -.icon-foursquare:before { - content: "\f180"; -} - -.icon-trello:before { - content: "\f181"; -} - -.icon-female:before { - content: "\f182"; -} - -.icon-male:before { - content: "\f183"; -} - -.icon-gittip:before { - content: "\f184"; -} - -.icon-sun:before { - content: "\f185"; -} - -.icon-moon:before { - content: "\f186"; -} - -.icon-archive:before { - content: "\f187"; -} - -.icon-bug:before { - content: "\f188"; -} - -.icon-vk:before { - content: "\f189"; -} - -.icon-weibo:before { - content: "\f18a"; -} - -.icon-renren:before { - content: "\f18b"; -} diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/base/app_publiccss.css b/src/Surging.ApiGateway/wwwroot/assets/css/base/app_publiccss.css deleted file mode 100644 index fcebaf3d5..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/base/app_publiccss.css +++ /dev/null @@ -1,326 +0,0 @@ -ul, -li { - margin: 0; - padding: 0; - list-style-type: none; -} - -.my-mfp-zoom-in.mfp-ready.mfp-bg { - opacity: .5 !important; -} - -.app-dialog .mfp-close { - color: #fff; -} - -.white-popup { - position: relative; - width: auto; - max-width: 500px; - margin: 20px auto; - padding: 20px; - background: #fff; -} - -.app-frame { - height: 100%; - width: 100%; -} - - .app-frame .mCSB_scrollTools { - width: 4px; - } - - .app-frame .mCSB_inside > .mCSB_container { - margin-right: 10px; - } - - .app-frame > .app-inner { - height: 100%; - } - - .app-frame > .app-inner > .app-wrapper { - float: left; - background-color: #FFF; - padding-left: 180px; - min-height: 100%; - width: 100%; - padding-right: 50px; - } - - .app-frame .app-left-side { - width: 180px; - position: fixed; - left: 0px; - top: 0px; - height: 100%; - z-index: 2; - float: left; - } - - .app-frame .app-left-side .app-title { - margin: 10px 0; - padding: 10px 30px 15px 30px; - border-bottom: solid 1px #FFF; - color: #fff; - } - - .app-frame .app-left-side .app-title > i { - font-size: 28px; - vertical-align: middle; - margin-right: 10px; - } - - .app-frame .app-right-side { - position: fixed; - z-index: 1; - top: 0; - right: 0; - width: 50px; - height: 100%; - padding: 17px; - padding-top: 18%; - } - - .app-frame .app-right-side a { - text-decoration: none; - color: #fff; - } - -.app-left-nav ul a { - font-size: 14px; - font-weight: 400; - line-height: normal; - position: relative; - display: block; - overflow: hidden; - padding: 12px 15px 12px 25px; - white-space: nowrap; - text-decoration: none; - text-overflow: ellipsis; - color: #fff; -} - -.app-left-nav ul li.nav-line { - height: 1px; - margin: 5px 0; - background-color: #138c74; -} - -.app-left-nav ul > li > a:hover { - background-color: #148d75; -} - -.app-left-nav ul a > i { - margin-right: 8px; - font-size: 20px; - vertical-align: middle; -} - -.app-left-nav ul li.nav-subnav > h4 { - font-size: 16px; - padding: 5px 15px 0 25px; - color: #fff; -} - -.app-left-nav ul li a > span.round { - color: #fff; - margin-left: 10px; - background-color: #e63c3c; -} - -.app-wrapper { - padding-bottom: 40px; - color: #333; -} - -.work-skin .dropdown-menu.black-menu { - min-width: 120px; - padding: 0; - border: none; - border-radius: 0; - background-color: #333d46; - -webkit-box-shadow: none; - box-shadow: none; -} - -.work-skin .dropdown-menu.black-menu > li > a { - padding-top: 7px; - padding-bottom: 7px; - text-align: center; - color: #fff; -} - -.work-skin .dropdown-menu.black-menu > li > a:hover, -.work-skin .dropdown-menu.black-menu > li > a:focus { - text-decoration: none; - color: #fff; - background-color: #414e58; -} - -.app-tabs { - border-bottom: none; -} - -.app-tabs > li > a { - margin-right: 5px; - padding: 3px 30px; -} - -.paginator { - padding: 8px 5px 5px; - text-align: right; -} - -.paginator a { - font-size: 14px; - position: relative; - margin: 0; - padding: 5px; - cursor: pointer; - text-decoration: none; - color: #777; - border: none; - background-color: transparent; -} - -.paginator a:hover { - color: #e87164; -} - -.paginator .current { - font-size: 16px; - font-weight: 700; - padding: 5px; - color: #d32; - } - -.app-require { - color: red; -} - -ul.simple-pagination { - list-style: none; -} - -.simple-pagination { - display: block; - overflow: hidden; - margin: 10px 0; - padding: 0 5px 5px 0; - text-align: right; -} - -.simple-pagination ul { - margin: 0; - padding: 0; - list-style: none; - } - -.simple-pagination li { - display: inline-block; - margin: 0; - padding: 0; - list-style: none; - *display: inline; - *zoom: 1; -} - -.simple-pagination .current.prev, -.simple-pagination .current.prev:hover, -.simple-pagination .current.next, -.simple-pagination .current.next:hover { - cursor: not-allowed; - color: #999; - border-color: #ddd; - background-color: #fff; -} - -.form-control[readonly] { - cursor: pointer; - background-color: #fff; -} - -label.error { - display: inline; - margin-bottom: 0; -} - -.bootstrap-select-searchbox input.form-control { - padding: 6px 8px; - height: 30px; -} - -.selectpicker > li > a { - padding: 4px 15px; -} - - -section.active, section.active > #app_wrap { - height: 100%; -} -#nprogress .bar { - position: fixed; - z-index: 1031; - top: 0; - left: 0; - width: 100%; - height: 2px; - -webkit-transition: all 500ms ease; - transition: all 500ms ease; - background: #f0ad4e; -} - -#nprogress .spinner { - position: fixed; - z-index: 1031; - top: 10px; - right: 10px; - display: block; -} - -#nprogress .spinner-icon { - box-sizing: border-box; - width: 30px; - height: 30px; - -webkit-animation: nprogress-spinner 400ms linear infinite; - animation: nprogress-spinner 400ms linear infinite; - border: solid 2px transparent; - border-top-color: #fefefe; - border-left-color: #fefefe; - border-radius: 50%; -} - -.nprogress-custom-parent { - position: relative; - overflow: hidden; -} - - .nprogress-custom-parent #nprogress .spinner, - .nprogress-custom-parent #nprogress .bar { - position: absolute; - } - -@-webkit-keyframes nprogress-spinner { - 0% { - -webkit-transform: rotate(0deg); - } - - 100% { - -webkit-transform: rotate(360deg); - } -} - -@keyframes nprogress-spinner { - 0% { - transform: rotate(0deg); - } - - 100% { - transform: rotate(360deg); - } -} -.form-horizontal .control-sm -{ - padding-top:4px; -} diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/base/font/font-awesome-ie7.min.css b/src/Surging.ApiGateway/wwwroot/assets/css/base/font/font-awesome-ie7.min.css deleted file mode 100644 index d3dae63bd..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/base/font/font-awesome-ie7.min.css +++ /dev/null @@ -1,384 +0,0 @@ -.icon-large{font-size:1.3333333333333333em;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;vertical-align:middle;} -.nav [class^="icon-"],.nav [class*=" icon-"]{vertical-align:inherit;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;}.nav [class^="icon-"].icon-large,.nav [class*=" icon-"].icon-large{vertical-align:-25%;} -.nav-pills [class^="icon-"].icon-large,.nav-tabs [class^="icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large{line-height:.75em;margin-top:-7px;padding-top:5px;margin-bottom:-5px;padding-bottom:4px;} -.btn [class^="icon-"].pull-left,.btn [class*=" icon-"].pull-left,.btn [class^="icon-"].pull-right,.btn [class*=" icon-"].pull-right{vertical-align:inherit;} -.btn [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large{margin-top:-0.5em;} -a [class^="icon-"],a [class*=" icon-"]{cursor:pointer;} -.icon-glass{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-music{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-search{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-envelope-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-heart{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-user{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-film{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-th-large{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-th{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-th-list{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ok{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-remove{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-zoom-in{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-zoom-out{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-power-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-signal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cog{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gear{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-trash{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-home{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-file-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-time{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-road{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-download-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-download{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-upload{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-inbox{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-play-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-repeat{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rotate-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-refresh{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-list-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-lock{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-flag{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-headphones{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-volume-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-volume-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-volume-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-qrcode{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-barcode{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tag{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tags{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-book{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bookmark{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-print{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-camera{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-font{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bold{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-italic{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-text-height{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-text-width{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-align-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-align-center{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-align-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-align-justify{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-list{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-indent-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-indent-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-facetime-video{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-picture{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pencil{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-map-marker{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-adjust{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tint{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-edit{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-share{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-check{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-move{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-step-backward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fast-backward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-backward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-play{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pause{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-stop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fast-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-step-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eject{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-plus-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-minus-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-remove-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ok-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-question-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-info-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-screenshot{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-remove-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ok-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ban-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-arrow-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-arrow-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-arrow-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-arrow-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-share-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-mail-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-resize-full{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-resize-small{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-plus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-minus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-asterisk{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-exclamation-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gift{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-leaf{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fire{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eye-open{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eye-close{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-warning-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-plane{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-calendar{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-random{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-comment{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-magnet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-retweet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-shopping-cart{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-folder-close{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-folder-open{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-resize-vertical{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-resize-horizontal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bar-chart{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-twitter-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-facebook-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-camera-retro{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-key{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cogs{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gears{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-comments{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-thumbs-up-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-thumbs-down-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star-half{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-heart-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-signout{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-linkedin-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pushpin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-external-link{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-signin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-trophy{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-github-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-upload-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-lemon{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-phone{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-check-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-unchecked{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bookmark-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-phone-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-twitter{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-facebook{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-github{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-unlock{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-credit-card{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rss{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hdd{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bullhorn{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bell{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-certificate{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hand-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hand-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hand-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hand-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-arrow-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-arrow-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-arrow-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-arrow-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-globe{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-wrench{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tasks{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-filter{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-briefcase{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fullscreen{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-group{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-link{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cloud{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-beaker{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cut{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-copy{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-paper-clip{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-paperclip{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-save{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sign-blank{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-reorder{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-list-ul{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-list-ol{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-strikethrough{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-underline{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-table{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-magic{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-truck{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pinterest{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-pinterest-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-google-plus-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-google-plus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-money{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-caret-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-caret-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-caret-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-caret-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-columns{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-envelope{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-linkedin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-undo{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rotate-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-legal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-dashboard{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-comment-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-comments-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bolt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sitemap{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-umbrella{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-paste{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-lightbulb{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-exchange{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cloud-download{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cloud-upload{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-user-md{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-stethoscope{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-suitcase{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bell-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-coffee{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-food{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-file-text-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-building{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-hospital{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ambulance{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-medkit{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fighter-jet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-beer{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-h-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-plus-sign-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-double-angle-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-double-angle-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-double-angle-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-double-angle-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-angle-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-angle-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-angle-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-angle-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-desktop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-laptop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tablet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-mobile-phone{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle-blank{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-quote-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-quote-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-spinner{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-reply{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-mail-reply{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-github-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-folder-close-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-folder-open-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-expand-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-collapse-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-smile{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-frown{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-meh{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gamepad{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-keyboard{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-flag-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-flag-checkered{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-terminal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-code{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-reply-all{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-mail-reply-all{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star-half-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-star-half-full{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-location-arrow{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-crop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-code-fork{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-unlink{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-question{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-info{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-exclamation{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-superscript{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-subscript{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eraser{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-puzzle-piece{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-microphone{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-microphone-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-shield{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-calendar-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-fire-extinguisher{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rocket{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-maxcdn{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-sign-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-sign-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-sign-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-chevron-sign-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-html5{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-css3{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-anchor{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-unlock-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bullseye{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ellipsis-horizontal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ellipsis-vertical{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rss-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-play-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-ticket{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-minus-sign-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-check-minus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-level-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-level-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-check-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-edit-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-external-link-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-share-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-compass{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-collapse{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-collapse-top{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-expand{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-eur{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-euro{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gbp{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-usd{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-dollar{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-inr{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-rupee{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-jpy{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-yen{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-cny{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-renminbi{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-krw{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-won{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-btc{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bitcoin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-file{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-file-text{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-alphabet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-alphabet-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-attributes{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-attributes-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-order{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sort-by-order-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-thumbs-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-thumbs-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-youtube-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-youtube{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-xing{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-xing-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-youtube-play{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-dropbox{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-stackexchange{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-instagram{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-flickr{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-adn{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bitbucket{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bitbucket-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tumblr{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-tumblr-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-long-arrow-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-long-arrow-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-long-arrow-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-long-arrow-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-apple{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-windows{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-android{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-linux{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-dribbble{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-skype{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-foursquare{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-trello{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-female{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-male{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-gittip{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-sun{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-moon{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-archive{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-bug{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-vk{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-weibo{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} -.icon-renren{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '');} diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/base/global.css b/src/Surging.ApiGateway/wwwroot/assets/css/base/global.css deleted file mode 100644 index c13b91c3a..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/base/global.css +++ /dev/null @@ -1,44 +0,0 @@ - - - -/*html5*/ -article,aside,dialog,footer,header,section,footer,nav,figure,menu{display:block} - -/* Fonts style */ -pre,code,kbd,samp,tt{ font-family: monospace; *font-size: 108%; line-height: 100%; } -textarea {resize: none;} - -.dn{display:none;}.db{display:block;}.dib,.inline{display:inline-block !important;*display:inline; *zoom:1;}.di{display:inline;} -.h14{height:14px;}.h16{height:16px;}.h18{height:18px;}.h20{height:20px;}.h22{height:22px;}.h24{height:24px;}.h25{height:25px;}.h27{height:27px;}.h30{height:30px;}.h40{height:40px;}.h50{height:50px;}.h60{height:60px!important;} -.w134{width:134px;} -.w30{width:30px;}.w40{width:40px;}.w50{width:50px;}.w90{width:97px;}.w100{width:100px!important;}.w115{width:115px!important;}.w138{width:138px;}.w150{width:150px;}.w160{width:160px;}.w190{width:190px;}.w200{width:200px;}.w280{width:280px;}.w300{width:300px;}.w320{width:320px;}.w330{width:330px;}.w350{width:350px;}.w355{width:355px;}.w360{width:360px;}.w375{width:375px;}.w400{width:400px;}.w500{width:500px;}.w680{width:680px;} -.w_4{width:4%;}.w_5{width:5%;}.w_10{width:10%;}.w_15{width:15%;}.w_20{width:20%;}.w_25{width:25%;}.w_30{width:30%;}.w_35{width:35%;}.w_40{width:40%;}.w_46{width:46%;}.w_50{width:50%;} -.lh14{line-height:14px;}.lh16{line-height:16px;}.lh18{line-height:18px;}.lh20{line-height:20px;}.lh22{line-height:22px;}.lh24{line-height:24px;} -.m0{margin:0;}.ml1{margin-left:1px;}.ml2{margin-left:2px;}.ml4{margin-left:4px;}.ml5{margin-left:5px;}.ml10{margin-left:10px;}.ml20{margin-left:20px;}.ml30{margin-left:30px;}.ml45{margin-left:45px;}.mr1{margin-right:1px;}.mr2{margin-right:2px;}.mr5{margin-right:5px;}.mr10{margin-right:10px;}.mr20{margin-right:20px;}.mr30{margin-right:30px;}.mt1{margin-top:1px;}.mt2{margin-top:2px;}.mt5{margin-top:5px;}.mt10{margin-top:10px;}.mt20{margin-top:20px;}.mb0{margin-bottom:0px;}.mb1{margin-bottom:1px;}.mb2{margin-bottom:2px;}.mb5{margin-bottom:5px;}.mb10{margin-bottom:10px;}.mb15{margin-bottom:15px;}.mb20{margin-bottom:20px;}.mb30{margin-bottom:30px;}.mb50{margin-bottom:50px;}.ml-1{margin-left:-1px;}.mt-1{margin-top:-1px;}.mlr20{margin:0px 20px;}.mtb20{margin:20px 0px;}.mt30{margin-top:30px;} -.mtb5{margin:5px 0px;}.mtb10{margin:10px 0px;} -.p1{padding:1px;}.pl1{padding-left:1px;}.pt1{padding-top:1px;}.pr1{padding-right:1px;}.pb1{padding-bottom:1px;}.p2{padding:2px;}.pl2{padding-left:2px;}.pt2{padding-top:2px;}.pr2{padding-right:2px;}.pb2{padding-bottom:2px;}.pl5{padding-left:5px;}.p5{padding:5px;}.pt5{padding-top:5px;}.ptb5{padding:5px 0px;}.pr5{padding-right:5px;}.pb5{padding-bottom:5px;}.p10{padding:10px;}.pl10{padding-left:10px;}.pl15{padding-left:15px;}.pt10{padding-top:10px;}.pr10{padding-right:10px;}.pb10{padding-bottom:10px;}.p20{padding:20px;}.pl20{padding-left:20px;}.pl35{padding-left:35px;}.pt15{padding-top:15px;}.pt18{padding-top:18px;}.pt20{padding-top:20px;}.ptb20{padding:20px 0px;}.pt40{padding-top:40px;}.pt50{padding-top:50px;}.pr20{padding-right:20px;}.pb20{padding-bottom:20px;}.plr20{padding:0px 20px;}.pl30{padding-left:30px;}.pr30{padding-right:30px;}.pl50{padding-left:50px;}.pl60{padding-left:60px;}.p30{padding:30px;}.pb35{padding-bottom:35px;}.pb40{padding-bottom:40px;} -.g0{color:#000;}.g3{color:#333;}.gc{color:#ccc;}.g6{color:#666;}.g9,.c_999{color:#999;}.c_9b{color:#9B9B9B}.c_a8{color: #A8A8A8;}.wh{color:white;}.or{color: orange;}.deepblue{color:#005a8c;} -.bwh{background-color:White;} -.f0{font-size:0;}.f10{font-size:10px;}.f11{font-size:11px;}.f12{font-size:12px;}.f13{font-size:13px;}.f14{font-size:14px;}.f16{font-size:16px;}.f18{font-size:18px;}.f20{font-size:20px;}.f24{font-size:24px;} -.fa{font-family:Arial;}.ft{font-family:Tahoma;}.fv{font-family:Verdana;}.fw{font-family:'Microsoft Yahei';} -.n{font-weight:normal; font-style:normal;}.b{font-weight:bold;}.i{font-style:italic;} -.tc{text-align:center;}.tr{text-align:right;}.tl{text-align:left;}.tj{text-align:justify;} -.tdl{text-decoration:underline;}.tdn,.tdn:hover,a.tdl:hover{text-decoration:none;} -.lt0{letter-spacing:0;}lt1{letter-spacing:1px;} -.wrap{white-space:nowrap;} -.bk{word-wrap:break-word;} -.vm{vertical-align:middle;}.vtb{vertical-align:text-bottom;}.vb{vertical-align:bottom;}.vt{vertical-align:top;}.vn{vertical-align:-2px;} -.fl{float:left;clear:left;}.fr{float:right;clear:right;} -.l{float:left;}.r{float:right;} -.cl{clear:both;} -.rel{position:relative;}.abs{position:absolute;} -.zx1{z-index:1;}.zx2{z-index:2;} -.poi{cursor:pointer;}.def{cursor:default;} -.ovh{overflow:hidden;} -.vh{visibility:hidden;}.vv{visibility:visible;} -.z{*zoom:1;} -.red { color: #dd5a43!important; } -.bold{font-weight:bold;} -.italic{font-style:italic;} -.checked{background:#f9f9f9;}.lightgray{background:#f6f6f6;}.bg_lightred{background:#FF8364;}.orange{color:#ff6600;}.blue{color:#07bdde;}.gray{color:#999;} -.addion{font:bold 16px arial;} \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.eot b/src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.eot deleted file mode 100644 index a30335d748c65c0bab5880b4e6dba53f5c79206c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68875 zcmZ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Z<|MZ(Z{=A9!s^yK>zV=Zl5NOu;Kyh<@)Q zabA$<6c?y{tB!8w_%Z-95Ol{BD$sUznhl;sG&Q7bUagogU05@Z6qGYucL24}_x1QX z4}uW*l&LqFe@lMMX&fO*p4%qzy>~j~&Far~6K>r*F%5Zy01NQFuHIhKpCw;sAT5q! z%JeOJu(hs2(zpvk*ewDSB+FDj*qY%Pt3qkqX;827&V+h4{*B+EScESjl~p1Rm?2c? zLVje{Sk%q|CiV^8eKbkS7LgiQ94r;p19NiTuC=5Az;9Yz6_BLD2ELw-!2tg~5Sp1K z3bPi9uOYG#ZTVS)W~WmPgix4LQe*6m$oir>5kyEL_u*j_95AFBd^-g{K+$1M#Dy^q z5I8WTpn{Nq3N%faIadEaU<^LL&+oGIx5M%8VFTKmw&B$GfVN#u*mMhF#4Seiw7Bs_ zJV92?BRYoLq}hXNrNU~#viRFSHr#8X8K8>|q`ePYnQ#N3TbQskgw&^{yPi{?lsryY zL1+%8>#WlEgq)dJgR2wLyzZ?fs$5cn3HEAzs+(nnj*kQ#QtZ+j(wBE<4d_dovWD~} z&Dg_w66WEtDbCVqvfc&|)d}4)N=vwxEnr^_PPEdcoD1Qp(#{3&)aZItmXC23SitR= zi)o_D_!8t%C0q$^Xmg4bJqF?gr+`a`ooOIS7zfB6$`}N=In#0EkauwIPQWF>&a+PB z>;haI$u|Ih2QqFsk_~PcNtgj;m)V7uRQ;6AzzSvw{15(_fIEdU;bfVE9C>AsR|d>O zcvB>t0h}pQVN{S+aH>bZ7s8beDv|I7aHUB20(erUl9?E$;XI3jCkUFunrig%lGbv- zi-yw!1SbAJ%PAa;B$0!L()tDj|D{)iRwwcztNBC*6Z@4gkw~^#+eN_$cP0P;00000 F002TuuHFCu diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.ttf b/src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.ttf deleted file mode 100644 index d7994e13086b1ac1a216bd754c93e1bccd65f237..0000000000000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^p z%W_NwaLl`xDUd#V`yvf;yi`vek0?Y$7Xj>yyMRng14AYSDnuJJs+^rr-8-4jk>(sP z=DbS~cIyO}TEOdk4j-d>$r>jpR|{tlmep^c^WB($kW75BaECt3ki`~+Bq*0>CL6Fa zOm>Ik>P2N)nE@vf$G7T0>ml_Lmfh{w-N0X=mvoiN6bdLeJhxXv9iCT6~xEnHgXR@iyFTl$jEF^e#cH7lDZ$QP!7x?Ft-)X)c~v7h5D2NVTd2S61)Es&OL6|!Lgw^bLI zfuW7#89#2S2Nk5l>CMA=@~Em*A?9Jf+u6IR`AZhU2P6N%>3j?JD8V|6Fk#B2_1?%24`w)^de4SX%P zm^l)3+;d3Kk)R_%M}m$79gkrWZ5$${1VprfnrP!b7Vo#;V54XQP_zLk+5i-72-#V&}pL zQb2MKh#)BhNPz|jK~e~kLTsQzY@kDs5rT{mWQ5opCl3m_6e1}hxR)R$1Sug%2|-E- zQbLdtVoN1ED%lZ1G6<4EkPL!k5F~>j83f57NCrVN2$BK69)}GPOkZM8#GVNJ-3K&8 z?1_koh=_=YVCV%yFBp3KNDmt#A|fIp1QCq8VB7`cE*N*gxC_QzFz$kJ7mT}L+y&z< z7qo$alj~V)S t%m=$Wf1GyI7n1-n2@o?S#N<-U_{WTY%=pJ!{DG<;{OP~{`R=Q){s%>4?;rpG diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.woff b/src/Surging.ApiGateway/wwwroot/assets/css/fonts/fontawesome-webfont.woff deleted file mode 100644 index 6fd4ede0f30f170eecb4156beb7235bf01fff00b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 81284 zcmZ5nW0dAhw{6=tra5ifoc6SB+fUn^wr$(CZQHhu+wb@DX02T(d*__0q*hjvI;nDz z6B7dh1_A;C<_!cw_^}|k8~@`!yZ?U^6H}7;aTNK{@&1ENMg)_%h^W|)ruV}M{s#&W zZ#hMJrXS7shx7hGFO$}3^;lfddE#vpEoI3*cgGVDi&fo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e z&NZGLT(oGAE;7DpC3@U=ysgdBi%Iqy*nm9zngi&7HS;(|a6Q1QPgpj7vf#JsZpIx| zoIdd5%79HxvvjG7sOk);OvTDtk!a4udUeYAq7mbMqB-zAl)qN;wt*Q}#(WBA#S2Q5@(wG5GNo6QZO4oABkLfh?%%eY|owq*5c=2 z@@DTuQGOsc+m$U!lc}lACf;)MyfT;o$*q8;`0x_HSlF1wYxRgX`LVWOIncf| z;b^tnefFqdku#a>?!LaQ{n5cl+dzA6BBaWK;BYFv?uh2VMjLXqb~P$7XLxo9o3PX% zIzj?EZcv z3y7XJ<~50S=iqCObfntZcl<#dikhO{Pk;C#t-tLwD;U9{y-5~kmRCFfV|iOoVa zbCQ3oJ}-sOQG0d)mf`U#o&i5ng+;*MuEG*xATz754E#-1xPi2iKVZkFq79fZYAjel z1m(#p%z$50g+;*p9SEnF@V2VA3d_LXT7?@(fr`6s+ - - -Generated by IcoMoon - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/fonts/surgingfonticon.ttf b/src/Surging.ApiGateway/wwwroot/assets/css/fonts/surgingfonticon.ttf deleted file mode 100644 index 189c6f55cf9b605f92906fbe76dc5fae4900900f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 9964 zcmbta3v^t?d7im*Un}kFu6FlI+K2X`-IcVqwC~l!mSux&jBFVk2iqVEKad~9mW^#3 zyQD^?CW(OtpJ1K|gcAsm6HbXK5S&AZk~k*>49TH+kff#LlsF|WfpSVigZHZ6+`DV9 zWfz*$tDU+3{PWNM&*Pte{`s#6C4@ARNy12G`6qgEF3)}60_HiSbsM*@-}(5;d;WzG z8btZ=&FgpX#M_PX3wW!Wx9#8bU)TNaEtG#sNc4>@O_X-?yyY;50NS@j_UEKr18P5^b{Fl zNT}s=QF|gLz@_mNM4k0!CRLD#gfoobPsE#&$VvOjo|Ah{-hA@QC!c)l_R5ONy2{qd zrz;OmSEi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h-6Q7DUV8W=eU;z=7C#o<5er**N0rPJloL<7$s@^Ir1Aj{uZXg9J?!JE4 z=B*Q(H|?0%vvuQ+39_49k5JZTvK9Xpv6*bb93`?Pm5 diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/fonts/surgingfonticon.woff b/src/Surging.ApiGateway/wwwroot/assets/css/fonts/surgingfonticon.woff deleted file mode 100644 index 9dc4a09679e5a05720afddc95a4b41c6b19cdc31..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10040 zcmbta32#SNepao1#>14Di9zQYFV>DaEcHmAr%6Kq}UuJ*(Iblaf&zumRdG!@I39;@6E_# z*@2|?X}aIvfB*geef<6R-~ZDmS1wsXD8ZBJC5`-@{DW2I@Y&DGkM-mTp(?N&cyf8} z{rcve8+QY@4duspdTjOGzuLNSFK~hvWlqbJd+UyaTYw7^5`BZG|GDP3Z*CjkcoiY> z)2J`;_Z((CPnddB5eSEuU|> zp=C$Q8vk{|ap5uHYrsma$t%oGc|< z$*mYzG^WTQn)k(hUfr+z^U++nWc|&jg;bLNDV*jksw&+K#rbGvIGI$mSSXkBIW7Xy zidD`Q|1_=gXLBo$G^)14hec6V6k(kxN=y_O6$HjaNtP;)pdX@m_;9r>tOK=GD@x)_ zZMC%|$-K2{Gy1!_29nWeQ`5LC+wE@6>(iTC1Hs0jayb$a8Wpu69%z?kPEHx;&BRTT zB#KNBo@AmdEAc>FGW#N^O2bA;WOxLDKE->*D;2Y?ATmjmH#VpW{m03HuC69;G@6_| z5C{aCb)Q#r+Zz=*5-FF5_>PguMbl5RXV{a(L*|kU=_ePG5v+%k`ZTY9fNF(OKB^Tk z`BO*}ikB`j zK2BE}kN0$T&iCM%-`UkoA46$S^BCWK|9#_Sx;qdsjs%0V-)y^Z)v)2)yo+k8o!&Y8 z33hteqYZX;_6YO3yUuVk62>>_1r@#;rlt`jr2Oay;=N%%oY36SK;3-$x>7{Zh>4cW!&(l)@Ai z79{MxrUpGGtEy~fDJDsRZ1?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/assets/css/manager/index.css deleted file mode 100644 index d418a0f4b..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/manager/index.css +++ /dev/null @@ -1,1245 +0,0 @@ -ul, -li -{ - margin: 0; - padding: 0; - - list-style-type: none; -} -.multiline .selectpicker > li{width: 100px;float: left;} -.multiline .bootstrap-select-searchbox input.form-control{height: 30px;padding: 6px 8px;} -.multiline .dropdown-menu .selectpicker{min-width: 420px;width:420px;} -.multiline .selectpicker > li > a { padding: 4px 15px; } - -@-webkit-keyframes app-active-reverse -{ - 0% - { - -webkit-transform: translate3d(-600%, 55.1%, 0) scale(20); - } - - 38% - { - color: transparent; - } - - 50% - { - -webkit-transform: translate3d(55.1%, 55.1%, 0) scale(1); - } - - 82% - { - -webkit-transform: translate3d(-27.5%, -27.5%, 0); - } - - 100% - { - -webkit-transform: translate3d(0%, 0%, 0); - } -} - -@-webkit-keyframes app-task-active -{ - 16% - { - -webkit-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -webkit-transform: translate3d(-190%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -webkit-transform: translate3d(-190%, 0%, 0) scale(25); - - color: transparent; - } -} -@-webkit-keyframes app-board-active -{ - 16% - { - -webkit-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -webkit-transform: translate3d(-350%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -webkit-transform: translate3d(-350%, 0%, 0) scale(25); - - color: transparent; - } -} -@-webkit-keyframes app-diary-active -{ - 16% - { - -webkit-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -webkit-transform: translate3d(-450%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -webkit-transform: translate3d(-450%, 0%, 0) scale(25); - - color: transparent; - } -} -@-webkit-keyframes app-calendar-active -{ - 16% - { - -webkit-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -webkit-transform: translate3d(-600%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -webkit-transform: translate3d(-600%, 0%, 0) scale(25); - - color: transparent; - } -} - -@-webkit-keyframes app-workflow-active -{ - 16% - { - -webkit-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -webkit-transform: translate3d(-190%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -webkit-transform: translate3d(-190%, 0%, 0) scale(25); - - color: transparent; - } -} -@-webkit-keyframes app-crm-active -{ - 16% - { - -webkit-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -webkit-transform: translate3d(-350%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -webkit-transform: translate3d(-350%, 0%, 0) scale(25); - - color: transparent; - } -} -@-webkit-keyframes app-project-active -{ - 16% - { - -webkit-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -webkit-transform: translate3d(-450%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -webkit-transform: translate3d(-450%, 0%, 0) scale(25); - - color: transparent; - } -} -@-webkit-keyframes app-group-active -{ - 16% - { - -webkit-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -webkit-transform: translate3d(-600%, 0%, 0) scale(1); - - color: #fff; - } - - 62% - { - color: transparent; - } - - 100% - { - -webkit-transform: translate3d(-600%, 0%, 0) scale(25); - - color: transparent; - } -} - -@-moz-keyframes app-active-reverse -{ - 0% - { - -moz-transform: translate3d(-600%, 55.1%, 0) scale(20); - } - - 38% - { - color: transparent; - } - - 50% - { - -moz-transform: translate3d(55.1%, 55.1%, 0) scale(1); - } - - 82% - { - -moz-transform: translate3d(-27.5%, -27.5%, 0); - } - - 100% - { - -moz-transform: translate3d(0%, 0%, 0); - } -} - -@-moz-keyframes app-task-active -{ - 16% - { - -moz-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -moz-transform: translate3d(-190%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -moz-transform: translate3d(-190%, 0%, 0) scale(25); - } -} -@-moz-keyframes app-board-active -{ - 16% - { - -moz-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -moz-transform: translate3d(-350%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -moz-transform: translate3d(-350%, 0%, 0) scale(25); - } -} -@-moz-keyframes app-diary-active -{ - 16% - { - -moz-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -moz-transform: translate3d(-450%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -moz-transform: translate3d(-450%, 0%, 0) scale(25); - } -} -@-moz-keyframes app-calendar-active -{ - 16% - { - -moz-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -moz-transform: translate3d(-600%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -moz-transform: translate3d(-600%, 0%, 0) scale(25); - } -} - -@-moz-keyframes app-workflow-active -{ - 16% - { - -moz-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -moz-transform: translate3d(-190%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -moz-transform: translate3d(-190%, 0%, 0) scale(25); - - color: transparent; - } -} -@-moz-keyframes app-crm-active -{ - 16% - { - -moz-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -moz-transform: translate3d(-350%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -moz-transform: translate3d(-350%, 0%, 0) scale(25); - } -} -@-moz-keyframes app-project-active -{ - 16% - { - -moz-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -moz-transform: translate3d(-450%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -moz-transform: translate3d(-450%, 0%, 0) scale(25); - } -} -@-moz-keyframes app-group-active -{ - 16% - { - -moz-transform: translate3d(27.5%, 0%, 0); - } - - 50% - { - -moz-transform: translate3d(-600%, 0%, 0) scale(1); - } - - 62% - { - color: transparent; - } - - 100% - { - -moz-transform: translate3d(-600%, 0%, 0) scale(25); - } -} - - - -.page-loading -{ - font-size: 20px; - - margin-top: 200px; - - text-align: center; -} -.page-loading .icon-spinner.icon-spin -{ - font-size: 20px !important; - - margin-right: 5px; -} -.overlay -{ - position: fixed; - z-index: 999; - top: 0; - left: 0; - - visibility: hidden; - overflow: hidden; - - width: 100%; - height: 100%; -} -.overlay .wrap -{ - margin: 150px auto 0; -} -.overlay .close_box -{ - font-size: 36px; - - position: absolute; - top: 50px; - right: 50px; - - cursor: pointer; -} -.overlay .close_box i -{ - display: inline-block; - - width: 50px; - height: 50px; -} -.wraps -{ - display: block; - - width: 80%; - max-width: 740px; - margin: 120px auto 0; -} -.noscroll -{ - overflow: hidden; - - width: 100%; - height: 100%; -} -/*̨ʽ*/ - -/***Ӧͼʽ***/ -.pc-app-btn -{ - font-size: 18px; - font-weight: normal; - line-height: 1.7; - - position: relative; - - display: inline-block; - margin: 2px; - - transition: background-color .3s ease-in 0s; - text-align: center; - - color: #fff; - border: none; - border-radius: 15px; -} -.pc-app-btn:focus, -.pc-app-btn:active:focus, -.pc-app-btn.active:focus, -.pc-sns-btn:focus, -.pc-sns-btn:active:focus, -.pc-sns-btn.active:focus -{ - outline: none; -} -.pc-sns-btn -{ - font-weight: normal; - line-height: 1.7; - - position: relative; - - display: inline-block; - - width: 75px; - height: 75px; - margin: 2px; - margin-bottom: 15px; - - text-align: center; - - color: #fff; - border: none; - border-radius: 50px; -} -.pc-sns-btn .pc-sns-text -{ - font-size: 14px; - line-height: 75px; - - display: block; - - width: 75px; - height: 75px; - - vertical-align: middle; -} - -.pc-app-btn .app-icon { - display: block; - width: 85px; - height: 85px; - -webkit-transition: transform 0.5s 0.5s; - -moz-transition: transform 0.5s 0.5s; - -ms-transition: transform 0.5s 0.5s; - -o-transition: transform 0.5s 0.5s; - transition: transform 0.5s 0.5s; - background: url('img/app_icon_all.png') repeat-y; -} - .pc-app-btn .app-icon:hover { - opacity: 1; - transform: rotateZ(360deg); - } - - - -.pc-app-btn:hover .app-icon::before { - animation: 2s linear 0s normal none infinite running spinAround; -} -.pc-sns-btn .sns-icon -{ - font-size: 12px; - font-style: normal; - font-variant: normal; - - display: block; - - width: 75px; - height: 75px; - - background: url('img/sns_icon_all.png') no-repeat; -} -.pc-app-btn:hover, -.pc-sns-btn:hover, -.pc-sns-btn:active, -.pc-sns-btn:focus -{ - text-decoration: none; - - color: #fff; -} - -.pc-app-btn .round -{ - font-weight: normal; - line-height: 25px; - - position: absolute; - top: 7px; - right: 0; - - width: 20px; - height: 20px; - margin-left: 0; - - color: #fff; - background-color: #fff; -} - -.pc-app-btn .round i -{ - font-size: 14px; -} -.pc-app-btn.pc-app-monitor .round i -{ - color: #35495c; -} -.pc-app-btn.pc-app-service .round i -{ - color: #c03e33; -} -.pc-sns-btn .round -{ - font-weight: normal; - - position: absolute; - top: 0; - right: -5px; - - color: #fff; - background-color: #5891aa; -} -.pc-sns-btn .round.a -{ - -webkit-transition-timing-function: ease-in, ease-out; - -moz-transition-timing-function: ease-in, ease-out; - -webkit-transition-duration: .4s, .3s; - -moz-transition-duration: .4s, .3s; - -webkit-transition-property: right, top; - -moz-transition-property: right, top; -} -.pc-sns-btn .round.b -{ - -webkit-transition-timing-function: ease-out, ease-in; - -moz-transition-timing-function: ease-out, ease-in; - -webkit-transition-duration: .3s, .4s; - -moz-transition-duration: .3s, .4s; - -webkit-transition-property: right, top; - -moz-transition-property: right, top; -} -.pc-sns-btn .round.a -{ - top: 60px; - right: 10px; -} -.pc-sns-btn .round.b -{ - top: 0; - right: -5px; -} - -.pc-app-btn.active-reverse -{ - z-index: 9; - - -webkit-animation: app-active-reverse 1s 1 ease-in-out; - -moz-animation: app-active-reverse 1s 1 ease-in-out; - animation: app-active-reverse 1s 1 ease-in-out; -} -.pc-app-btn.active -{ - z-index: 99; -} -.pc-app-monitor.active -{ - -webkit-animation: app-workflow-active 1s 1 ease-in-out; - -moz-animation: app-workflow-active 1s 1 ease-in-out; - animation: app-workflow-active 1s 1 ease-in-out; -} -.pc-app-service.active -{ - -webkit-animation: app-crm-active 1s 1 ease-in-out; - -moz-animation: app-crm-active 1s 1 ease-in-out; - animation: app-crm-active 1s 1 ease-in-out; -} -.pc-app-defend.active -{ - -webkit-animation: app-project-active 1s 1 ease-in-out; - -moz-animation: app-project-active 1s 1 ease-in-out; - animation: app-project-active 1s 1 ease-in-out; -} -.pc-app-identity.active -{ - -webkit-animation: app-group-active 1s 1 ease-in-out; - -moz-animation: app-group-active 1s 1 ease-in-out; - animation: app-group-active 1s 1 ease-in-out; -} -.pc-app-task.active -{ - -webkit-animation: app-task-active 1s 1 ease-in-out; - -moz-animation: app-task-active 1s 1 ease-in-out; - animation: app-task-active 1s 1 ease-in-out; -} -.pc-app-board.active -{ - -webkit-animation: app-board-active 1s 1 ease-in-out; - -moz-animation: app-board-active 1s 1 ease-in-out; - animation: app-board-active 1s 1 ease-in-out; -} -.pc-app-diversion.active -{ - -webkit-animation: app-diary-active 1s 1 ease-in-out; - -moz-animation: app-diary-active 1s 1 ease-in-out; - animation: app-diary-active 1s 1 ease-in-out; -} -.pc-app-calendar.active -{ - -webkit-animation: app-calendar-active 1s 1 ease-in-out; - -moz-animation: app-calendar-active 1s 1 ease-in-out; - animation: app-calendar-active 1s 1 ease-in-out; -} -.pc-app-flowrate .active -{ - -webkit-animation: app-board-active 1s 1 ease-in-out; - -moz-animation: app-board-active 1s 1 ease-in-out; - animation: app-board-active 1s 1 ease-in-out; -} - - - -/**/ -.pc-app-btn.pc-app-monitor -{ - background-color: #35495c; -} - -.pc-app-monitor .app-icon { - background-position: -4px -4px; -} -.pc-app-monitor:hover .app-icon -{ - background-position: -4px -90px; -} - -/*ͻϵ*/ -.pc-app-btn.pc-app-service -{ - background-color: #00bd81; -} -.pc-app-service .app-icon -{ - background-position: -90px -4px; -} -.pc-app-service:hover .app-icon -{ - background-position: -90px -90px; -} - -/*Ŀ*/ -.pc-app-btn.pc-app-defend -{ - background-color: #005b8d; -} -.pc-app-defend .app-icon -{ - background-position: -178px -4px; -} -.pc-app-defend:hover .app-icon -{ - background-position: -178px -90px; -} - -/*С*/ -.pc-app-btn.pc-app-identity -{ - background-color: #ed686e; -} -.pc-app-identity .app-icon -{ - background-position: -268px -4px; -} -.pc-app-identity:hover .app-icon -{ - background-position: -268px -90px; -} - -/*ճ*/ -.pc-app-btn.pc-app-calendar -{ - background-color: #66bb5e; -} -.pc-app-calendar .app-icon -{ - background-position: -700px -4px; -} -.pc-app-calendar:hover .app-icon -{ - background-position: -700px -90px; -} - -/*Ӱװ*/ -.pc-app-btn.pc-app-board -{ - background-color: #c33357; -} -.pc-app-board .app-icon -{ - background-position: -525px -4px; -} -.pc-app-board:hover .app-icon -{ - background-position: -525px -90px; -} - -/*־*/ -.pc-app-btn.pc-app-diversion { - background-color: #00b7d3; -} -.pc-app-diversion .app-icon -{ - background-position: -440px -4px; -} -.pc-app-diversion:hover .app-icon -{ - background-position: -440px -90px; -} -/**/ -.pc-app-btn.pc-app-task -{ - background-color: #58aa89; -} -.pc-app-task .app-icon -{ - background-position: -616px -4px; -} -.pc-app-task:hover .app-icon -{ - background-position: -616px -90px; -} -/**/ -.pc-app-btn.pc-app-flowrate { - background-color: #00a6c0; -} -.pc-app-flowrate .app-icon -{ - background-position: -358px -4px; -} -.pc-app-flowrate :hover .app-icon -{ - background-position: -358px -90px; -} -.pc-sns-workfeed .sns-icon -{ - background-position: 7px 9px; -} -.pc-sns-workmsg .sns-icon -{ - background-position: -53px 9px; -} -.pc-sns-worknotify .sns-icon -{ - background-position: -113px 9px; -} -.pc-sns-interest .sns-icon -{ - background-position: -174px 13px; -} -.pc-sns-friend .sns-icon -{ - background-position: -231px 11px; -} -.pc-sns-messages .sns-icon -{ - background-position: -291px 11px; -} -.pc-sns-notices .sns-icon -{ - background-position: -351px 11px; -} - -.pc-tabs > li > a -{ - min-width: 66px; - padding: 3px 15px; - - text-align: center; - - color: #fff; - border: none; - border-radius: 0; -} -.pc-tabs > li > a:focus -{ - outline: none; -} -.pc-tabs > li.active > a -{ - margin-top: -3px; - padding-top: 6px; -} -.pc-tabs > li.active > a, -.pc-tabs > li.active > a:hover, -.pc-tabs > li.active > a:focus -{ - cursor: default; - - color: #fff; - border: none; - border-radius: 0; -} -.pc-tabs > li > a:hover -{ - opacity: .8; -} -.pc-tabs .tab-black, -.pc-tabs > li.active > a.tab-black, -.pc-tabs > li > a.tab-black:hover, -.pc-tabs > li > a.tab-black:focus -{ - background-color: #374a5b; -} - -.pc-tabs .tab-red, -.pc-tabs > li.active > a.tab-red, -.pc-tabs > li > a.tab-red:hover, -.pc-tabs > li > a.tab-red:focus -{ - background-color: #fd6d52; -} -.pc-tabs .tab-green, -.pc-tabs > li.active > a.tab-green, -.pc-tabs > li > a.tab-green:hover, -.pc-tabs > li > a.tab-green:focus -{ - background-color: #66bb5e; -} -.pc-tabs .tab-blue, -.pc-tabs > li.active > a.tab-blue, -.pc-tabs > li > a.tab-blue:hover, -.pc-tabs > li > a.tab-blue:focus -{ - background-color: #2798dc; -} -.pc-tabs .tab-skyblue, -.pc-tabs > li.active > a.tab-skyblue, -.pc-tabs > li > a.tab-skyblue:hover, -.pc-tabs > li > a.tab-skyblue:focus -{ - background-color: #50c0e8; -} - -.pc-tabs .tab-dark-green, -.pc-tabs > li.active > a.tab-dark-green, -.pc-tabs > li > a.tab-dark-green:hover, -.pc-tabs > li > a.tab-dark-green:focus -{ - background-color: #049a99; -} - - -.pc-tabs .tab-darkred, -.pc-tabs > li.active > a.tab-darkred, -.pc-tabs > li > a.tab-darkred:hover, -.pc-tabs > li > a.tab-darkred:focus -{ - background-color: #c13e34; -} -.pc-tabs .tab-rosered, -.pc-tabs > li.active > a.tab-rosered, -.pc-tabs > li > a.tab-rosered:hover, -.pc-tabs > li > a.tab-rosered:focus -{ - background-color: #ef686e; -} - -.pc-tabs .tab-gray, -.pc-tabs > li.active > a.tab-gray, -.pc-tabs > li > a.tab-gray:hover, -.pc-tabs > li > a.tab-gray:focus -{ - background-color: #898989; -} - -.pc-tabs .tab-doc, -.pc-tabs > li.active > a.tab-doc, -.pc-tabs > li > a.tab-doc:hover, -.pc-tabs > li > a.tab-doc:focus -{ - background-color: #58aa89; -} - -.pc-tabs .tab-trends, -.pc-tabs > li.active > a.tab-trends, -.pc-tabs > li > a.tab-trends:hover, -.pc-tabs > li > a.tab-trends:focus -{ - background-color: #5f84ce; -} - -.pc-tabs .tab-contacts, -.pc-tabs > li.active > a.tab-contacts, -.pc-tabs > li > a.tab-contacts:hover, -.pc-tabs > li > a.tab-contacts:focus -{ - background-color: #c33357; -} - - - - -.pc-left-nav -{ - position: fixed; - z-index: 2; - top: 120px; - left: 40px; - - width: 80px; -} - - -.pc-view-layer -{ - position: absolute; - z-index: 8; - top: 0; - right: 0; - bottom: 0; - left: 0; - - overflow: auto; - - padding: 25px 0; - - background: rgba(229,229,229,.95); -} -.pc-view-layer > .pc-view.set-container -{ - width: 1000px; - min-width: 1000px; -} - -.pc-wrapper -{ - position: absolute; - top: 60px; - bottom: 40px; - - width: 100%; -} -.pc-navbar -{ - position: relative; - z-index: 9; - - margin-bottom: 0; -} - -.pc-content -{ - position: absolute; - top: 0; - - overflow: hidden; - - width: 100%; - height: 100%; -} -/*.pc-app{opacity: 0.5;} -.pc-app:hover{opacity:1;}*/ -.pc-app .pc-app-btn -{ - margin: 15px; -} -.pc-index .pc-sns-btn -{ - margin: 20px 23px; -} -.pc-index, -.pc-app, -.pc-left -{ - position: absolute; - - height: 100%; -} -.pc-index { - width: 50%; - padding: 0px 0 0 10px; - -webkit-transition: width .8s; - transition: width .8s; -} -.pc-index > .index-wrap -{ - width: 100%; - min-width: 200px; - height: 300px; - margin-top: 70px; -} - .pc-index > .index-wrap > .index-wrap-inner { - - margin: 15px 20px; - text-align: left; - width: 80%; - } - -.pc-index .index-head -{ - margin:10px 0px; - - color: #3b80b7; -} -.pc-index .index-feed -{ - margin: 10px auto; - padding-left: 30px; -} -.pc-left -{ - overflow: hidden; - - width: 50%; - - -webkit-transition: width .5s; - transition: width .5s; -} -.pc-left .content -{ - padding-top: 20px; - padding-right: 40px; - padding-left: 150px; -} -.pc-app -{ - left: 50%; - - width: 50%; - padding: 10px 0 0 10px; - - -webkit-transition: left .6s,background-color .3s; - transition: left .6s,background-color .3s; -} -.pc-app.pull-in{display: block; left: 86.333%;} -.pc-app.pull-out{display: block;width: 50%;left: 50%;background-color:rgba(0,0,0,0.5);z-index: 99;} -.pc-app > .app-wrap -{ - width: 500px; - min-width: 200px; - margin-top: 80px; - margin-left: 10%; - - text-align: center; -} -.pc-tools-bar -{ - position: fixed; - z-index: 1000; - bottom: 0; - left: 0; - - width: 100%; - min-height: 40px; - - background-color: #343d46; -} -.pc-tools-bar .row -{ - margin: 0; -} -.tool-box -{ - padding: 0; - - text-align: center; - - border-right: solid 1px #1f272a; - border-left: solid 1px #777; - background-color: #343d46; -} - -.tool-box:hover -{ - background-color: #45515c; -} -.tool-box > a -{ - line-height: 40px; - - display: block; - - height: 40px; - - color: #fff; -} -.tool-box > a:hover, -.tool-box > a:active -{ - text-decoration: none; -} - -@-moz-document url-prefix() -{ - .tool-box.tool-timecard .surging-icon-calendar > em - { - top: 12px; - left: 7px; - } -} - -.tool-box.tool-invite > a > i -{ - font-size: 22px; - vertical-align:middle; -} -.tool-box.tool-invite > a{ - padding:6px 0px;line-height: 28px; -} -.tool-box.tool-invite > a > span{vertical-align:middle;padding-left:10px -} - diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/manager/public.css b/src/Surging.ApiGateway/wwwroot/assets/css/manager/public.css deleted file mode 100644 index 09207841e..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/manager/public.css +++ /dev/null @@ -1,271 +0,0 @@ -/*boot*/ -/*.modal .modal-header { - border-bottom: medium none; - height: 30px; - min-height: initial; - padding: 0; -} -.modal .modal-header .close { - margin: 10px; - opacity: 0.4; -}*/ -select.form-control{padding: 6px 8px;} -/*个人后台内容*/ - -html, body { - font-family: "Microsoft YaHei","Open Sans","Helvetica Neue","Helvetica","Arial",sans-serif; -} - - -/***滚动条插件样式***/ -.nano { - /*position : relative; - width : 100%; - height : 100%;*/ - overflow : hidden; -} -.nano > .nano-content { - position : absolute; - overflow : scroll; - overflow-x : hidden; - top : 0; - right : 0; - bottom : 0; - left : 0; -} -.nano > .nano-content:focus { - outline: thin dotted; -} -.nano > .nano-content::-webkit-scrollbar { - visibility: hidden; -} -.has-scrollbar > .nano-content::-webkit-scrollbar { - visibility: visible; -} -.nano > .nano-pane { - background: #FFF; - border-right:solid 1px #3f80b8; - position : absolute; - width : 6px; - right : 0; - top : 0; - bottom : 0; - - -webkit-transition : .2s; - -moz-transition : .2s; - -o-transition : .2s; - transition : .2s; -} -.nano > .nano-pane > .nano-slider { - background-color:#3f80b8; - position : relative; -} -.nano > .nano-pane > .nano-slider:hover{opacity:0.8} -.nano:hover > .nano-pane, .nano-pane.active, .nano-pane.flashed { - width : 10px; -} - - - -.pc-navbar { - z-index: 1; - min-height: 60px; - border: none; - border-radius: 0; -} - -.ew-navbar-header { - margin-left: 30px; -} - - .ew-navbar-header .ew-navbar-logo { - line-height: 56px; - display: block; - position: relative; - height: 60px; - padding-right: 15px; - } - - .ew-navbar-header .ew-navbar-logo:hover { - text-decoration: none; - } - - .ew-navbar-header .ew-navbar-logo:hover > i { - opacity: 1; - -webkit-transform: scale(1) translateX(15px); - -ms-transform: scale(1) translateX(15px); - transform: scale(1) translateX(15px); - } - - .ew-navbar-header .ew-navbar-logo > i { - font-size: 18px; - color: #FFF; - position: absolute; - top: 5px; - right: 5px; - opacity: 0; - -webkit-transform: scale(0.2) translateX(0px); - -ms-transform: scale(0.2) translateX(0px); - transform: scale(0.2) translateX(0px); - -webkit-transition: all .4s ease; - transition: all .4s ease; - } - - .ew-navbar-header .ew-navbar-search { - height: 60px; - margin-left: 15px; - padding: 15px 0; - } - - .ew-navbar-header .ew-navbar-search input { - width: 140px; - border: 0 none; - } - -.ew-navbar-info { - margin-right: 20px; -} - -.alert-point { - background-color: #f5f5f5; - border-color: #e5e5e5; - color: #555; -} - -.pc-nav > .nav-item { - float: left !important; -} - - .pc-nav > .nav-item > .nav-item-link { - position: relative; - height: 60px; - padding: 20px; - } - -.nav-item > .nav-item-link > span.round { - position: absolute; - top: 12px; - left: 30px; -} - -.pc-nav > li > a { - color: #fff; -} - - .pc-nav > li > a > i { - font-size: 24px; - } - -.pc-nav .nav-user-info .nav-item-link { - padding: 10px 15px 10px 20px; -} - -.pc-nav .nav-user-info .dropdown-menu { - min-width: 136px; - border-radius: 0; -} - -.pc-nav .nav-user-photo { - min-width: 40px; - max-width: 40px; - min-height: 40px; - border: 2px solid #fff; - border-radius: 100%; -} - -.nav-user-info .user-info { - font-size: 14px; - line-height: 18px; - position: relative; - top: 2px; - left: 8px; - display: inline-block; - overflow: hidden; - max-width: 100px; - text-align: left; - vertical-align: top; - white-space: nowrap; - text-overflow: ellipsis; -} - - .nav-user-info .user-info span { - display: block; - } - - - -.nav-item > .dropdown-menu { - left: -85px; - min-width: 140px; - margin-top: 10px; -} - - .nav-item > .dropdown-menu > li { - padding: 0 8px; - } - - .nav-item > .dropdown-menu > li > a { - position: relative; - padding: 7px 15px; - border-bottom: solid 1px #e1e4e8; - } - - .nav-item > .dropdown-menu > li:last-child > a, - .nav-item > .dropdown-menu > li.last-child > a { - border-bottom: none; - } - - .nav-item > .dropdown-menu > li > a > span.round { - position: absolute; - top: 10px; - right: 10px; - } - -.nav-item > .user-menu > li > a { - text-align: center; -} -.nav-item > .with-arrow:before { - left: auto; - right: 9px; - top: -16px; -} -.nav-item > .dropdown-menu:before, .nav-item > .dropdown-menu:after { - content: ""; - display: inline-block; - position: absolute; -} -.nav-item > .with-arrow:after { - left: auto; - right: 10px; - top: -14px; -} -.nav-item > .dropdown-menu:before { - border: 8px solid transparent; - border-image: none; - border-bottom: 8px solid #DCDDDE; -} -.nav-item > .dropdown-menu:after { - position: absolute; - left: auto; - right: 10px; - top: -14px; - border: 8px solid transparent; - border-image: none; - border-bottom: 8px solid #fff; -} - -span.round { - font-size: 10px; - line-height: 18px; - display: inline-block; - width: 18px; - height: 18px; - margin-left: 5px; - text-align: center; - vertical-align: middle; - color: #0b0030; - border-radius: 100%; - background-color: #ffef19; -} - - diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/manager/themes/default/skin.css b/src/Surging.ApiGateway/wwwroot/assets/css/manager/themes/default/skin.css deleted file mode 100644 index ab56ca032..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/manager/themes/default/skin.css +++ /dev/null @@ -1,110 +0,0 @@ -/**/ - -.navbar-inverse .navbar-nav > li > a{color:#FFF;} -.navbar-inverse .navbar-nav > li > a:hover{color:#000;} - - -.btn,.form-control{ border-radius: 3px;} -.btn:focus, -.btn:active:focus, -.btn.active:focus {outline:none;} - -.form-control:focus { box-shadow: none; outline: 0 none; } - -.btn-select {border-color: #cdcdcd;background-color: #FFF;} -.btn-select:hover{border-color:#3f80b9;color:#3f80b9;} -.work-skin .form-control:focus { border-color: #66AFE9; } - -.skip-nav.work-nav{background-color:#7aae2e;} -.work-page .pc-navbar {background-color: #3f80b9;border-color:#FFF;} -.work-page .pc-nav > li > a:hover,.work-page .pc-nav > li > a:focus,.work-page .pc-nav > .nav-item.open > a{background-color:#679dcc;} -.work-page .pc-sns-btn{background-color:#a4a09f;} -.work-page .pc-sns-btn.active,.work-page .pc-sns-btn .round{background-color:#5891aa;} -.work-page .pc-index .pc-newmsg{border-right-color:#b9cbdf;} - - -.work-page .btn-select{border-color:#cdcdcd;background-color:#FFF;} -.work-page .btn-select:hover{border-color:#3f80b9;color:#3f80b9;} - - -.work-skin .btn-white{color: #333;background-color: #fff;border-color: #ccc;} -.work-skin .btn-white:hover, .work-skin .btn-white:focus, .work-skin .btn-white:active, .work-skin .btn-white.active { color: #333; background-color: #e6e6e6; border-color: #adadad; } -.work-skin .btn-default,.work-skin .btn-submit{background-color: #3f80b9;border-color: #3f80b9;color: #FFFFFF;} -.work-skin .btn-default:hover, -.work-skin .btn-default:focus, -.work-skin .btn-submit:hover, -.work-skin .btn-submit:focus{border-color: #35495c;background-color: #3f80b9;color:#FFF;} -.work-skin .btn-default:active, -.work-skin .btn-default.active, -.work-skin .btn-submit:active, -.work-skin .btn-submit.active{background-color: #2d6ca2;border-color: #3f80b9;color:#FFF;} - -.work-skin .btn-cancel{background-color:#9f9f9f;color:#9f9f9f;color:#FFF;} -.work-skin .btn-cancel:hover, -.work-skin .btn-cancel:focus, -.work-skin .btn-cancel:active{border-color: #9f9f9f;background-color: #9f9f9f;color:#FFF;} - -.dropdown-menu > li > a{padding-top:5px;padding-bottom:5px; } -.work-skin .dropdown-menu > li > a:hover,.work-skin .dropdown-menu > li > a:focus {background-color: #d9e5ef;color: #060d13;text-decoration: none;} -.work-skin .blue-menu{background-color: #3f80b9;border:none;border-radius: 0px;} -.work-skin .blue-menu > li > a{color:#FFF;} -.work-skin .blue-menu > li > a:hover,.work-skin .blue-menu > li > a:focus{background-color:#679dcc;color:#FFF;} -.work-skin .nav-item > .dropdown-menu.with-arrow:before{border-bottom-color: #3f80b9;} -.work-skin .nav-item > .dropdown-menu > li > a{border-bottom-color:#27669b} -.work-skin .pc-nav .nav-user-info .dropdown-menu > li > a:hover,.work-skin .pc-nav .nav-user-info .dropdown-menu > li > a:focus {background-color: #679DCC;color: #FFF;text-decoration: none;} - - -.work-skin .pc-adbook .adbook-tab li.active > a { background-color: #3f80b9;} - - -.explore-skin .form-control:focus { - border-color: #7aae2e; -} - - -/**/ -.skip-nav.explore-nav{background-color:#3f80b9;} -.explore-page .pc-navbar {background-color: #7aae2e;border-color:#FFF;} -.explore-page .pc-nav > li > a:hover,.explore-page .pc-nav > li > a:focus,.explore-page .pc-nav > .nav-item.open > a{background-color:#93CC3E;} -.explore-page .pc-sns-btn{background-color:#a4a09f;} -.explore-page .pc-sns-btn .round{background-color:#7aae2e;} -.explore-page .pc-sns-btn.active{background-color:#7aae2e;} -.explore-page .pc-index .index-head{color:#7aae2e;} - -.explore-page .btn-select{border-color:#cdcdcd;background-color:#FFF;} -.explore-page .btn-select:hover{border-color:#7aae2e;color:#3f80b9;} -.explore-page .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{background-color: #7aae2e; background-color: rgba(122,174,46,0.75);} -.explore-page .mCSB_scrollTools .mCSB_draggerRail{background-color: #7aae2e; background-color: rgba(122,174,46,0.4);} - -.explore-skin .nano > .nano-pane > .nano-slider{background-color: #7aae2e;} -.explore-skin .nano > .nano-pane{border-right-color:#7aae2e;} -.explore-skin .btn-default {background-color: #7aae2e;border-color: #7aae2e;color: #FFF;} -.explore-skin .btn-default:hover, .explore-skin .btn-default:focus { border-color: #4F701D; background-color: #6D9B28; color: #FFF; } -.explore-skin .pc-nav .nav-user-info .dropdown-menu > li > a:hover,.explore-skin .pc-nav .nav-user-info .dropdown-menu > li > a:focus {background-color: #93CC3E;color: #FFF;text-decoration: none;} - -.explore-skin .btn-blue {border-color: #357ebd;background-color: #428bca;color:#FFF;} -.explore-skin .btn-blue:hover, -.explore-skin .btn-blue:focus { border-color: #285e8e; background-color: #3071a9; color: #FFF; } - -.explore-skin .text-blue{color:#428bca;} -.explore-skin .text-default{color:#7aae2e;} - -.explore-skin .blue-menu{background-color: #7aae2e;border:none;border-radius: 0px;} -.explore-skin .blue-menu > li > a{color:#FFF;} -.explore-skin .blue-menu > li > a:hover,.work-skin .blue-menu > li > a:focus{background-color:#99CF47;color:#FFF;} -.explore-skin .nav-item > .dropdown-menu > li > a{border-bottom-color:#658F25} -.explore-skin .nav-item > .dropdown-menu.with-arrow:before{border-bottom-color: #7aae2e;} - - -.explore-skin .contact-tab li.active > a { background-color: #7aae2e;} - -.explore-skin .pagination>li>a,.explore-skin .pagination>li>span{color:#7aae2e;} -.explore-skin .paging > .pagination > li.active > span { background-color: #7aae2e; border-color: #7aae2e; } - -.btn-coffee {background-color: #624c3f;border-color: #624c3f;color: #FFF;} -.btn-coffee:hover, -.btn-coffee:focus {background-color: #a48b77;border-color: #a48b77;color:#FFF;} -.btn-coffee:active, -.btn-coffee.active {background-color: #a48b77;border-color: #a48b77;color:#FFF;} - - diff --git a/src/Surging.ApiGateway/wwwroot/assets/css/site.css b/src/Surging.ApiGateway/wwwroot/assets/css/site.css deleted file mode 100644 index c778be1de..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/css/site.css +++ /dev/null @@ -1,43 +0,0 @@ -body { - padding-top: 50px; - padding-bottom: 20px; -} - -/* Set padding to keep content from hitting the edges */ -.body-content { - padding-left: 15px; - padding-right: 15px; -} - -/* Set width on the form input elements since they're 100% wide by default */ -input, -select, -textarea { - max-width: 280px; -} - -/* styles for validation helpers */ -.field-validation-error { - color: #b94a48; -} - -.field-validation-valid { - display: none; -} - -input.input-validation-error { - border: 1px solid #b94a48; -} - -input[type="checkbox"].input-validation-error { - border: 0 none; -} - -.validation-summary-errors { - color: #b94a48; -} - -.validation-summary-valid { - display: none; -} - diff --git a/src/Surging.ApiGateway/wwwroot/assets/images/Heading.jpg b/src/Surging.ApiGateway/wwwroot/assets/images/Heading.jpg deleted file mode 100644 index ba3c61dbf2b14dcf21d3775ddac365882d94b62c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 21591 zcmbTecU;nI{5}kBNlOhETDb!pInbQt2o;KiSuIuf;bN?p{=(Ug+{6FF*G(r8tWoa$gP_|B_$^4;7V%{yPNO1A#!r!DzPz{C|HzMMS}PC8eZc+rS0Aau5-ysHljTsJOV87`XZj zcpV}pFRq|z;vlh;5G<(`3pdRuZjjP;?7E{!ocN$)77~{!4O3E9QAOzL?M0%{7;}sL zmR8nIhp^5rt~fl2?Bna_A3zBWI~IPNN{fh3NK8sjNlnYj&dEKOcb;BST2@|BSyjzo zHL^L}rskH`?jBz6)oXqI19$HY@rOr7?>`VuPEF6u&OMobzOwq_<=U&)>l+_Geg5+G z+xNeI{M?!s6e9XR)B0aC`~S>K9?VNbOiWZva%)~tk!0{+R9;M6(?mkSfgl+iyHm?F zLkjL#+|YGLTHB2HK`|t50;Z&cd9M3$Yij?^?El}yGXIZe_P-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g|&M8G|4AB3UVs^hO8%y$J&=w~?k9chfh) z1H^$d6rcKkd)@!KFpOM6Hrjc0I?vdCJ48#^Aa-zAREXnCdpk*os`^?GS<9ex(*kx6 z6)&UidDzTOuEs!3StrU2w29Yk9o8^mb6 z369cA^_Gy}7-xPwDb5eI==&_468%^MjzgqUn&|{koXW;)L%+%F-v5v=&?o-X((CcB zvur;_0!36+uSHR+tpN0!AOr~|w+ydNX1M&`RhFFCf6ef)_KBw_4PNRb;n}G6v*ZC^ zOL17lO7F#NfPK;}mRZ(ytxj_6<7H*T@9%=nHdRB^51SjGJTO!ITIs8MtE3*-6#e#H z?GFiaGP3!x1qEHKc?&9!<-<}2SZRpFlQyxyvEejFN~Uflt92*RjFkyyheBJSVPM={ z1CHjPsVY59B`W|M9uQf+E>!q=1tR&Y77tF4GuPQr`MWDp$+9tOvLfQ(?*Co*KZD(n AW&i*H diff --git a/src/Surging.ApiGateway/wwwroot/assets/js/base/bootstrap.js b/src/Surging.ApiGateway/wwwroot/assets/js/base/bootstrap.js deleted file mode 100644 index 613e93d81..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/js/base/bootstrap.js +++ /dev/null @@ -1,2379 +0,0 @@ -define(function (require, exports, module) { - /*! - * Bootstrap v3.3.7 (http://getbootstrap.com) - * Copyright 2011-2016 Twitter, Inc. - * Licensed under the MIT license - */ - - if (typeof jQuery === 'undefined') { - throw new Error('Bootstrap\'s JavaScript requires jQuery') - } - - +function ($) { - 'use strict'; - var version = $.fn.jquery.split(' ')[0].split('.') - if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] > 3)) { - throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4') - } - }(jQuery); - - /* ======================================================================== - * Bootstrap: transition.js v3.3.7 - * http://getbootstrap.com/javascript/#transitions - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/) - // ============================================================ - - function transitionEnd() { - var el = document.createElement('bootstrap') - - var transEndEventNames = { - WebkitTransition: 'webkitTransitionEnd', - MozTransition: 'transitionend', - OTransition: 'oTransitionEnd otransitionend', - transition: 'transitionend' - } - - for (var name in transEndEventNames) { - if (el.style[name] !== undefined) { - return { end: transEndEventNames[name] } - } - } - - return false // explicit for ie8 ( ._.) - } - - // http://blog.alexmaccaw.com/css-transitions - $.fn.emulateTransitionEnd = function (duration) { - var called = false - var $el = this - $(this).one('bsTransitionEnd', function () { called = true }) - var callback = function () { if (!called) $($el).trigger($.support.transition.end) } - setTimeout(callback, duration) - return this - } - - $(function () { - $.support.transition = transitionEnd() - - if (!$.support.transition) return - - $.event.special.bsTransitionEnd = { - bindType: $.support.transition.end, - delegateType: $.support.transition.end, - handle: function (e) { - if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) - } - } - }) - - }(jQuery); - - /* ======================================================================== - * Bootstrap: alert.js v3.3.7 - * http://getbootstrap.com/javascript/#alerts - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // ALERT CLASS DEFINITION - // ====================== - - var dismiss = '[data-dismiss="alert"]' - var Alert = function (el) { - $(el).on('click', dismiss, this.close) - } - - Alert.VERSION = '3.3.7' - - Alert.TRANSITION_DURATION = 150 - - Alert.prototype.close = function (e) { - var $this = $(this) - var selector = $this.attr('data-target') - - if (!selector) { - selector = $this.attr('href') - selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 - } - - var $parent = $(selector === '#' ? [] : selector) - - if (e) e.preventDefault() - - if (!$parent.length) { - $parent = $this.closest('.alert') - } - - $parent.trigger(e = $.Event('close.bs.alert')) - - if (e.isDefaultPrevented()) return - - $parent.removeClass('in') - - function removeElement() { - // detach from parent, fire event then clean up data - $parent.detach().trigger('closed.bs.alert').remove() - } - - $.support.transition && $parent.hasClass('fade') ? - $parent - .one('bsTransitionEnd', removeElement) - .emulateTransitionEnd(Alert.TRANSITION_DURATION) : - removeElement() - } - - - // ALERT PLUGIN DEFINITION - // ======================= - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.alert') - - if (!data) $this.data('bs.alert', (data = new Alert(this))) - if (typeof option == 'string') data[option].call($this) - }) - } - - var old = $.fn.alert - - $.fn.alert = Plugin - $.fn.alert.Constructor = Alert - - - // ALERT NO CONFLICT - // ================= - - $.fn.alert.noConflict = function () { - $.fn.alert = old - return this - } - - - // ALERT DATA-API - // ============== - - $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close) - - }(jQuery); - - /* ======================================================================== - * Bootstrap: button.js v3.3.7 - * http://getbootstrap.com/javascript/#buttons - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // BUTTON PUBLIC CLASS DEFINITION - // ============================== - - var Button = function (element, options) { - this.$element = $(element) - this.options = $.extend({}, Button.DEFAULTS, options) - this.isLoading = false - } - - Button.VERSION = '3.3.7' - - Button.DEFAULTS = { - loadingText: 'loading...' - } - - Button.prototype.setState = function (state) { - var d = 'disabled' - var $el = this.$element - var val = $el.is('input') ? 'val' : 'html' - var data = $el.data() - - state += 'Text' - - if (data.resetText == null) $el.data('resetText', $el[val]()) - - // push to event loop to allow forms to submit - setTimeout($.proxy(function () { - $el[val](data[state] == null ? this.options[state] : data[state]) - - if (state == 'loadingText') { - this.isLoading = true - $el.addClass(d).attr(d, d).prop(d, true) - } else if (this.isLoading) { - this.isLoading = false - $el.removeClass(d).removeAttr(d).prop(d, false) - } - }, this), 0) - } - - Button.prototype.toggle = function () { - var changed = true - var $parent = this.$element.closest('[data-toggle="buttons"]') - - if ($parent.length) { - var $input = this.$element.find('input') - if ($input.prop('type') == 'radio') { - if ($input.prop('checked')) changed = false - $parent.find('.active').removeClass('active') - this.$element.addClass('active') - } else if ($input.prop('type') == 'checkbox') { - if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false - this.$element.toggleClass('active') - } - $input.prop('checked', this.$element.hasClass('active')) - if (changed) $input.trigger('change') - } else { - this.$element.attr('aria-pressed', !this.$element.hasClass('active')) - this.$element.toggleClass('active') - } - } - - - // BUTTON PLUGIN DEFINITION - // ======================== - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.button') - var options = typeof option == 'object' && option - - if (!data) $this.data('bs.button', (data = new Button(this, options))) - - if (option == 'toggle') data.toggle() - else if (option) data.setState(option) - }) - } - - var old = $.fn.button - - $.fn.button = Plugin - $.fn.button.Constructor = Button - - - // BUTTON NO CONFLICT - // ================== - - $.fn.button.noConflict = function () { - $.fn.button = old - return this - } - - - // BUTTON DATA-API - // =============== - - $(document) - .on('click.bs.button.data-api', '[data-toggle^="button"]', function (e) { - var $btn = $(e.target).closest('.btn') - Plugin.call($btn, 'toggle') - if (!($(e.target).is('input[type="radio"], input[type="checkbox"]'))) { - // Prevent double click on radios, and the double selections (so cancellation) on checkboxes - e.preventDefault() - // The target component still receive the focus - if ($btn.is('input,button')) $btn.trigger('focus') - else $btn.find('input:visible,button:visible').first().trigger('focus') - } - }) - .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^="button"]', function (e) { - $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type)) - }) - - }(jQuery); - - /* ======================================================================== - * Bootstrap: carousel.js v3.3.7 - * http://getbootstrap.com/javascript/#carousel - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // CAROUSEL CLASS DEFINITION - // ========================= - - var Carousel = function (element, options) { - this.$element = $(element) - this.$indicators = this.$element.find('.carousel-indicators') - this.options = options - this.paused = null - this.sliding = null - this.interval = null - this.$active = null - this.$items = null - - this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this)) - - this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element - .on('mouseenter.bs.carousel', $.proxy(this.pause, this)) - .on('mouseleave.bs.carousel', $.proxy(this.cycle, this)) - } - - Carousel.VERSION = '3.3.7' - - Carousel.TRANSITION_DURATION = 600 - - Carousel.DEFAULTS = { - interval: 50651, - pause: 'hover', - wrap: true, - keyboard: true - } - - Carousel.prototype.keydown = function (e) { - if (/input|textarea/i.test(e.target.tagName)) return - switch (e.which) { - case 37: this.prev(); break - case 39: this.next(); break - default: return - } - - e.preventDefault() - } - - Carousel.prototype.cycle = function (e) { - e || (this.paused = false) - - this.interval && clearInterval(this.interval) - - this.options.interval - && !this.paused - && (this.interval = setInterval($.proxy(this.next, this), this.options.interval)) - - return this - } - - Carousel.prototype.getItemIndex = function (item) { - this.$items = item.parent().children('.item') - return this.$items.index(item || this.$active) - } - - Carousel.prototype.getItemForDirection = function (direction, active) { - var activeIndex = this.getItemIndex(active) - var willWrap = (direction == 'prev' && activeIndex === 0) - || (direction == 'next' && activeIndex == (this.$items.length - 1)) - if (willWrap && !this.options.wrap) return active - var delta = direction == 'prev' ? -1 : 1 - var itemIndex = (activeIndex + delta) % this.$items.length - return this.$items.eq(itemIndex) - } - - Carousel.prototype.to = function (pos) { - var that = this - var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active')) - - if (pos > (this.$items.length - 1) || pos < 0) return - - if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, "slid" - if (activeIndex == pos) return this.pause().cycle() - - return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos)) - } - - Carousel.prototype.pause = function (e) { - e || (this.paused = true) - - if (this.$element.find('.next, .prev').length && $.support.transition) { - this.$element.trigger($.support.transition.end) - this.cycle(true) - } - - this.interval = clearInterval(this.interval) - - return this - } - - Carousel.prototype.next = function () { - if (this.sliding) return - return this.slide('next') - } - - Carousel.prototype.prev = function () { - if (this.sliding) return - return this.slide('prev') - } - - Carousel.prototype.slide = function (type, next) { - var $active = this.$element.find('.item.active') - var $next = next || this.getItemForDirection(type, $active) - var isCycling = this.interval - var direction = type == 'next' ? 'left' : 'right' - var that = this - - if ($next.hasClass('active')) return (this.sliding = false) - - var relatedTarget = $next[0] - var slideEvent = $.Event('slide.bs.carousel', { - relatedTarget: relatedTarget, - direction: direction - }) - this.$element.trigger(slideEvent) - if (slideEvent.isDefaultPrevented()) return - - this.sliding = true - - isCycling && this.pause() - - if (this.$indicators.length) { - this.$indicators.find('.active').removeClass('active') - var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)]) - $nextIndicator && $nextIndicator.addClass('active') - } - - var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, "slid" - if ($.support.transition && this.$element.hasClass('slide')) { - $next.addClass(type) - $next[0].offsetWidth // force reflow - $active.addClass(direction) - $next.addClass(direction) - $active - .one('bsTransitionEnd', function () { - $next.removeClass([type, direction].join(' ')).addClass('active') - $active.removeClass(['active', direction].join(' ')) - that.sliding = false - setTimeout(function () { - that.$element.trigger(slidEvent) - }, 0) - }) - .emulateTransitionEnd(Carousel.TRANSITION_DURATION) - } else { - $active.removeClass('active') - $next.addClass('active') - this.sliding = false - this.$element.trigger(slidEvent) - } - - isCycling && this.cycle() - - return this - } - - - // CAROUSEL PLUGIN DEFINITION - // ========================== - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.carousel') - var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option) - var action = typeof option == 'string' ? option : options.slide - - if (!data) $this.data('bs.carousel', (data = new Carousel(this, options))) - if (typeof option == 'number') data.to(option) - else if (action) data[action]() - else if (options.interval) data.pause().cycle() - }) - } - - var old = $.fn.carousel - - $.fn.carousel = Plugin - $.fn.carousel.Constructor = Carousel - - - // CAROUSEL NO CONFLICT - // ==================== - - $.fn.carousel.noConflict = function () { - $.fn.carousel = old - return this - } - - - // CAROUSEL DATA-API - // ================= - - var clickHandler = function (e) { - var href - var $this = $(this) - var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) // strip for ie7 - if (!$target.hasClass('carousel')) return - var options = $.extend({}, $target.data(), $this.data()) - var slideIndex = $this.attr('data-slide-to') - if (slideIndex) options.interval = false - - Plugin.call($target, options) - - if (slideIndex) { - $target.data('bs.carousel').to(slideIndex) - } - - e.preventDefault() - } - - $(document) - .on('click.bs.carousel.data-api', '[data-slide]', clickHandler) - .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler) - - $(window).on('load', function () { - $('[data-ride="carousel"]').each(function () { - var $carousel = $(this) - Plugin.call($carousel, $carousel.data()) - }) - }) - - }(jQuery); - - /* ======================================================================== - * Bootstrap: collapse.js v3.3.7 - * http://getbootstrap.com/javascript/#collapse - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - /* jshint latedef: false */ - - +function ($) { - 'use strict'; - - // COLLAPSE PUBLIC CLASS DEFINITION - // ================================ - - var Collapse = function (element, options) { - this.$element = $(element) - this.options = $.extend({}, Collapse.DEFAULTS, options) - this.$trigger = $('[data-toggle="collapse"][href="#' + element.id + '"],' + - '[data-toggle="collapse"][data-target="#' + element.id + '"]') - this.transitioning = null - - if (this.options.parent) { - this.$parent = this.getParent() - } else { - this.addAriaAndCollapsedClass(this.$element, this.$trigger) - } - - if (this.options.toggle) this.toggle() - } - - Collapse.VERSION = '3.3.7' - - Collapse.TRANSITION_DURATION = 350 - - Collapse.DEFAULTS = { - toggle: true - } - - Collapse.prototype.dimension = function () { - var hasWidth = this.$element.hasClass('width') - return hasWidth ? 'width' : 'height' - } - - Collapse.prototype.show = function () { - if (this.transitioning || this.$element.hasClass('in')) return - - var activesData - var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing') - - if (actives && actives.length) { - activesData = actives.data('bs.collapse') - if (activesData && activesData.transitioning) return - } - - var startEvent = $.Event('show.bs.collapse') - this.$element.trigger(startEvent) - if (startEvent.isDefaultPrevented()) return - - if (actives && actives.length) { - Plugin.call(actives, 'hide') - activesData || actives.data('bs.collapse', null) - } - - var dimension = this.dimension() - - this.$element - .removeClass('collapse') - .addClass('collapsing')[dimension](0) - .attr('aria-expanded', true) - - this.$trigger - .removeClass('collapsed') - .attr('aria-expanded', true) - - this.transitioning = 1 - - var complete = function () { - this.$element - .removeClass('collapsing') - .addClass('collapse in')[dimension]('') - this.transitioning = 0 - this.$element - .trigger('shown.bs.collapse') - } - - if (!$.support.transition) return complete.call(this) - - var scrollSize = $.camelCase(['scroll', dimension].join('-')) - - this.$element - .one('bsTransitionEnd', $.proxy(complete, this)) - .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize]) - } - - Collapse.prototype.hide = function () { - if (this.transitioning || !this.$element.hasClass('in')) return - - var startEvent = $.Event('hide.bs.collapse') - this.$element.trigger(startEvent) - if (startEvent.isDefaultPrevented()) return - - var dimension = this.dimension() - - this.$element[dimension](this.$element[dimension]())[0].offsetHeight - - this.$element - .addClass('collapsing') - .removeClass('collapse in') - .attr('aria-expanded', false) - - this.$trigger - .addClass('collapsed') - .attr('aria-expanded', false) - - this.transitioning = 1 - - var complete = function () { - this.transitioning = 0 - this.$element - .removeClass('collapsing') - .addClass('collapse') - .trigger('hidden.bs.collapse') - } - - if (!$.support.transition) return complete.call(this) - - this.$element - [dimension](0) - .one('bsTransitionEnd', $.proxy(complete, this)) - .emulateTransitionEnd(Collapse.TRANSITION_DURATION) - } - - Collapse.prototype.toggle = function () { - this[this.$element.hasClass('in') ? 'hide' : 'show']() - } - - Collapse.prototype.getParent = function () { - return $(this.options.parent) - .find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]') - .each($.proxy(function (i, element) { - var $element = $(element) - this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element) - }, this)) - .end() - } - - Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) { - var isOpen = $element.hasClass('in') - - $element.attr('aria-expanded', isOpen) - $trigger - .toggleClass('collapsed', !isOpen) - .attr('aria-expanded', isOpen) - } - - function getTargetFromTrigger($trigger) { - var href - var target = $trigger.attr('data-target') - || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '') // strip for ie7 - - return $(target) - } - - - // COLLAPSE PLUGIN DEFINITION - // ========================== - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.collapse') - var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option) - - if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false - if (!data) $this.data('bs.collapse', (data = new Collapse(this, options))) - if (typeof option == 'string') data[option]() - }) - } - - var old = $.fn.collapse - - $.fn.collapse = Plugin - $.fn.collapse.Constructor = Collapse - - - // COLLAPSE NO CONFLICT - // ==================== - - $.fn.collapse.noConflict = function () { - $.fn.collapse = old - return this - } - - - // COLLAPSE DATA-API - // ================= - - $(document).on('click.bs.collapse.data-api', '[data-toggle="collapse"]', function (e) { - var $this = $(this) - - if (!$this.attr('data-target')) e.preventDefault() - - var $target = getTargetFromTrigger($this) - var data = $target.data('bs.collapse') - var option = data ? 'toggle' : $this.data() - - Plugin.call($target, option) - }) - - }(jQuery); - - /* ======================================================================== - * Bootstrap: dropdown.js v3.3.7 - * http://getbootstrap.com/javascript/#dropdowns - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // DROPDOWN CLASS DEFINITION - // ========================= - - var backdrop = '.dropdown-backdrop' - var toggle = '[data-toggle="dropdown"]' - var Dropdown = function (element) { - $(element).on('click.bs.dropdown', this.toggle) - } - - Dropdown.VERSION = '3.3.7' - - function getParent($this) { - var selector = $this.attr('data-target') - - if (!selector) { - selector = $this.attr('href') - selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 - } - - var $parent = selector && $(selector) - - return $parent && $parent.length ? $parent : $this.parent() - } - - function clearMenus(e) { - if (e && e.which === 3) return - $(backdrop).remove() - $(toggle).each(function () { - var $this = $(this) - var $parent = getParent($this) - var relatedTarget = { relatedTarget: this } - - if (!$parent.hasClass('open')) return - - if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return - - $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget)) - - if (e.isDefaultPrevented()) return - - $this.attr('aria-expanded', 'false') - $parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget)) - }) - } - - Dropdown.prototype.toggle = function (e) { - var $this = $(this) - - if ($this.is('.disabled, :disabled')) return - - var $parent = getParent($this) - var isActive = $parent.hasClass('open') - - clearMenus() - - if (!isActive) { - if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) { - // if mobile we use a backdrop because click events don't delegate - $(document.createElement('div')) - .addClass('dropdown-backdrop') - .insertAfter($(this)) - .on('click', clearMenus) - } - - var relatedTarget = { relatedTarget: this } - $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget)) - - if (e.isDefaultPrevented()) return - - $this - .trigger('focus') - .attr('aria-expanded', 'true') - - $parent - .toggleClass('open') - .trigger($.Event('shown.bs.dropdown', relatedTarget)) - } - - return false - } - - Dropdown.prototype.keydown = function (e) { - if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return - - var $this = $(this) - - e.preventDefault() - e.stopPropagation() - - if ($this.is('.disabled, :disabled')) return - - var $parent = getParent($this) - var isActive = $parent.hasClass('open') - - if (!isActive && e.which != 27 || isActive && e.which == 27) { - if (e.which == 27) $parent.find(toggle).trigger('focus') - return $this.trigger('click') - } - - var desc = ' li:not(.disabled):visible a' - var $items = $parent.find('.dropdown-menu' + desc) - - if (!$items.length) return - - var index = $items.index(e.target) - - if (e.which == 38 && index > 0) index-- // up - if (e.which == 40 && index < $items.length - 1) index++ // down - if (!~index) index = 0 - - $items.eq(index).trigger('focus') - } - - - // DROPDOWN PLUGIN DEFINITION - // ========================== - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.dropdown') - - if (!data) $this.data('bs.dropdown', (data = new Dropdown(this))) - if (typeof option == 'string') data[option].call($this) - }) - } - - var old = $.fn.dropdown - - $.fn.dropdown = Plugin - $.fn.dropdown.Constructor = Dropdown - - - // DROPDOWN NO CONFLICT - // ==================== - - $.fn.dropdown.noConflict = function () { - $.fn.dropdown = old - return this - } - - - // APPLY TO STANDARD DROPDOWN ELEMENTS - // =================================== - - $(document) - .on('click.bs.dropdown.data-api', clearMenus) - .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() }) - .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle) - .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown) - .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown) - - }(jQuery); - - /* ======================================================================== - * Bootstrap: modal.js v3.3.7 - * http://getbootstrap.com/javascript/#modals - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // MODAL CLASS DEFINITION - // ====================== - - var Modal = function (element, options) { - this.options = options - this.$body = $(document.body) - this.$element = $(element) - this.$dialog = this.$element.find('.modal-dialog') - this.$backdrop = null - this.isShown = null - this.originalBodyPad = null - this.scrollbarWidth = 0 - this.ignoreBackdropClick = false - - if (this.options.remote) { - this.$element - .find('.modal-content') - .load(this.options.remote, $.proxy(function () { - this.$element.trigger('loaded.bs.modal') - }, this)) - } - } - - Modal.VERSION = '3.3.7' - - Modal.TRANSITION_DURATION = 300 - Modal.BACKDROP_TRANSITION_DURATION = 150 - - Modal.DEFAULTS = { - backdrop: true, - keyboard: true, - show: true - } - - Modal.prototype.toggle = function (_relatedTarget) { - return this.isShown ? this.hide() : this.show(_relatedTarget) - } - - Modal.prototype.show = function (_relatedTarget) { - var that = this - var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget }) - - this.$element.trigger(e) - - if (this.isShown || e.isDefaultPrevented()) return - - this.isShown = true - - this.checkScrollbar() - this.setScrollbar() - this.$body.addClass('modal-open') - - this.escape() - this.resize() - - this.$element.on('click.dismiss.bs.modal', '[data-dismiss="modal"]', $.proxy(this.hide, this)) - - this.$dialog.on('mousedown.dismiss.bs.modal', function () { - that.$element.one('mouseup.dismiss.bs.modal', function (e) { - if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true - }) - }) - - this.backdrop(function () { - var transition = $.support.transition && that.$element.hasClass('fade') - - if (!that.$element.parent().length) { - that.$element.appendTo(that.$body) // don't move modals dom position - } - - that.$element - .show() - .scrollTop(0) - - that.adjustDialog() - - if (transition) { - that.$element[0].offsetWidth // force reflow - } - - that.$element.addClass('in') - - that.enforceFocus() - - var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget }) - - transition ? - that.$dialog // wait for modal to slide in - .one('bsTransitionEnd', function () { - that.$element.trigger('focus').trigger(e) - }) - .emulateTransitionEnd(Modal.TRANSITION_DURATION) : - that.$element.trigger('focus').trigger(e) - }) - } - - Modal.prototype.hide = function (e) { - if (e) e.preventDefault() - - e = $.Event('hide.bs.modal') - - this.$element.trigger(e) - - if (!this.isShown || e.isDefaultPrevented()) return - - this.isShown = false - - this.escape() - this.resize() - - $(document).off('focusin.bs.modal') - - this.$element - .removeClass('in') - .off('click.dismiss.bs.modal') - .off('mouseup.dismiss.bs.modal') - - this.$dialog.off('mousedown.dismiss.bs.modal') - - $.support.transition && this.$element.hasClass('fade') ? - this.$element - .one('bsTransitionEnd', $.proxy(this.hideModal, this)) - .emulateTransitionEnd(Modal.TRANSITION_DURATION) : - this.hideModal() - } - - Modal.prototype.enforceFocus = function () { - $(document) - .off('focusin.bs.modal') // guard against infinite focus loop - .on('focusin.bs.modal', $.proxy(function (e) { - if (document !== e.target && - this.$element[0] !== e.target && - !this.$element.has(e.target).length) { - this.$element.trigger('focus') - } - }, this)) - } - - Modal.prototype.escape = function () { - if (this.isShown && this.options.keyboard) { - this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) { - e.which == 27 && this.hide() - }, this)) - } else if (!this.isShown) { - this.$element.off('keydown.dismiss.bs.modal') - } - } - - Modal.prototype.resize = function () { - if (this.isShown) { - $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this)) - } else { - $(window).off('resize.bs.modal') - } - } - - Modal.prototype.hideModal = function () { - var that = this - this.$element.hide() - this.backdrop(function () { - that.$body.removeClass('modal-open') - that.resetAdjustments() - that.resetScrollbar() - that.$element.trigger('hidden.bs.modal') - }) - } - - Modal.prototype.removeBackdrop = function () { - this.$backdrop && this.$backdrop.remove() - this.$backdrop = null - } - - Modal.prototype.backdrop = function (callback) { - var that = this - var animate = this.$element.hasClass('fade') ? 'fade' : '' - - if (this.isShown && this.options.backdrop) { - var doAnimate = $.support.transition && animate - - this.$backdrop = $(document.createElement('div')) - .addClass('modal-backdrop ' + animate) - .appendTo(this.$body) - - this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) { - if (this.ignoreBackdropClick) { - this.ignoreBackdropClick = false - return - } - if (e.target !== e.currentTarget) return - this.options.backdrop == 'static' - ? this.$element[0].focus() - : this.hide() - }, this)) - - if (doAnimate) this.$backdrop[0].offsetWidth // force reflow - - this.$backdrop.addClass('in') - - if (!callback) return - - doAnimate ? - this.$backdrop - .one('bsTransitionEnd', callback) - .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) : - callback() - - } else if (!this.isShown && this.$backdrop) { - this.$backdrop.removeClass('in') - - var callbackRemove = function () { - that.removeBackdrop() - callback && callback() - } - $.support.transition && this.$element.hasClass('fade') ? - this.$backdrop - .one('bsTransitionEnd', callbackRemove) - .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) : - callbackRemove() - - } else if (callback) { - callback() - } - } - - // these following methods are used to handle overflowing modals - - Modal.prototype.handleUpdate = function () { - this.adjustDialog() - } - - Modal.prototype.adjustDialog = function () { - var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight - - this.$element.css({ - paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '', - paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : '' - }) - } - - Modal.prototype.resetAdjustments = function () { - this.$element.css({ - paddingLeft: '', - paddingRight: '' - }) - } - - Modal.prototype.checkScrollbar = function () { - var fullWindowWidth = window.innerWidth - if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8 - var documentElementRect = document.documentElement.getBoundingClientRect() - fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left) - } - this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth - this.scrollbarWidth = this.measureScrollbar() - } - - Modal.prototype.setScrollbar = function () { - var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10) - this.originalBodyPad = document.body.style.paddingRight || '' - if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth) - } - - Modal.prototype.resetScrollbar = function () { - this.$body.css('padding-right', this.originalBodyPad) - } - - Modal.prototype.measureScrollbar = function () { // thx walsh - var scrollDiv = document.createElement('div') - scrollDiv.className = 'modal-scrollbar-measure' - this.$body.append(scrollDiv) - var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth - this.$body[0].removeChild(scrollDiv) - return scrollbarWidth - } - - - // MODAL PLUGIN DEFINITION - // ======================= - - function Plugin(option, _relatedTarget) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.modal') - var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option) - - if (!data) $this.data('bs.modal', (data = new Modal(this, options))) - if (typeof option == 'string') data[option](_relatedTarget) - else if (options.show) data.show(_relatedTarget) - }) - } - - var old = $.fn.modal - - $.fn.modal = Plugin - $.fn.modal.Constructor = Modal - - - // MODAL NO CONFLICT - // ================= - - $.fn.modal.noConflict = function () { - $.fn.modal = old - return this - } - - - // MODAL DATA-API - // ============== - - $(document).on('click.bs.modal.data-api', '[data-toggle="modal"]', function (e) { - var $this = $(this) - var href = $this.attr('href') - var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\s]+$)/, ''))) // strip for ie7 - var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data()) - - if ($this.is('a')) e.preventDefault() - - $target.one('show.bs.modal', function (showEvent) { - if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown - $target.one('hidden.bs.modal', function () { - $this.is(':visible') && $this.trigger('focus') - }) - }) - Plugin.call($target, option, this) - }) - - }(jQuery); - - /* ======================================================================== - * Bootstrap: tooltip.js v3.3.7 - * http://getbootstrap.com/javascript/#tooltip - * Inspired by the original jQuery.tipsy by Jason Frame - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // TOOLTIP PUBLIC CLASS DEFINITION - // =============================== - - var Tooltip = function (element, options) { - this.type = null - this.options = null - this.enabled = null - this.timeout = null - this.hoverState = null - this.$element = null - this.inState = null - - this.init('tooltip', element, options) - } - - Tooltip.VERSION = '3.3.7' - - Tooltip.TRANSITION_DURATION = 150 - - Tooltip.DEFAULTS = { - animation: true, - placement: 'top', - selector: false, - template: '

', - trigger: 'hover focus', - title: '', - delay: 0, - html: false, - container: false, - viewport: { - selector: 'body', - padding: 0 - } - } - - Tooltip.prototype.init = function (type, element, options) { - this.enabled = true - this.type = type - this.$element = $(element) - this.options = this.getOptions(options) - this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport)) - this.inState = { click: false, hover: false, focus: false } - - if (this.$element[0] instanceof document.constructor && !this.options.selector) { - throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!') - } - - var triggers = this.options.trigger.split(' ') - - for (var i = triggers.length; i--;) { - var trigger = triggers[i] - - if (trigger == 'click') { - this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this)) - } else if (trigger != 'manual') { - var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin' - var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout' - - this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this)) - this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this)) - } - } - - this.options.selector ? - (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) : - this.fixTitle() - } - - Tooltip.prototype.getDefaults = function () { - return Tooltip.DEFAULTS - } - - Tooltip.prototype.getOptions = function (options) { - options = $.extend({}, this.getDefaults(), this.$element.data(), options) - - if (options.delay && typeof options.delay == 'number') { - options.delay = { - show: options.delay, - hide: options.delay - } - } - - return options - } - - Tooltip.prototype.getDelegateOptions = function () { - var options = {} - var defaults = this.getDefaults() - - this._options && $.each(this._options, function (key, value) { - if (defaults[key] != value) options[key] = value - }) - - return options - } - - Tooltip.prototype.enter = function (obj) { - var self = obj instanceof this.constructor ? - obj : $(obj.currentTarget).data('bs.' + this.type) - - if (!self) { - self = new this.constructor(obj.currentTarget, this.getDelegateOptions()) - $(obj.currentTarget).data('bs.' + this.type, self) - } - - if (obj instanceof $.Event) { - self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true - } - - if (self.tip().hasClass('in') || self.hoverState == 'in') { - self.hoverState = 'in' - return - } - - clearTimeout(self.timeout) - - self.hoverState = 'in' - - if (!self.options.delay || !self.options.delay.show) return self.show() - - self.timeout = setTimeout(function () { - if (self.hoverState == 'in') self.show() - }, self.options.delay.show) - } - - Tooltip.prototype.isInStateTrue = function () { - for (var key in this.inState) { - if (this.inState[key]) return true - } - - return false - } - - Tooltip.prototype.leave = function (obj) { - var self = obj instanceof this.constructor ? - obj : $(obj.currentTarget).data('bs.' + this.type) - - if (!self) { - self = new this.constructor(obj.currentTarget, this.getDelegateOptions()) - $(obj.currentTarget).data('bs.' + this.type, self) - } - - if (obj instanceof $.Event) { - self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false - } - - if (self.isInStateTrue()) return - - clearTimeout(self.timeout) - - self.hoverState = 'out' - - if (!self.options.delay || !self.options.delay.hide) return self.hide() - - self.timeout = setTimeout(function () { - if (self.hoverState == 'out') self.hide() - }, self.options.delay.hide) - } - - Tooltip.prototype.show = function () { - var e = $.Event('show.bs.' + this.type) - - if (this.hasContent() && this.enabled) { - this.$element.trigger(e) - - var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0]) - if (e.isDefaultPrevented() || !inDom) return - var that = this - - var $tip = this.tip() - - var tipId = this.getUID(this.type) - - this.setContent() - $tip.attr('id', tipId) - this.$element.attr('aria-describedby', tipId) - - if (this.options.animation) $tip.addClass('fade') - - var placement = typeof this.options.placement == 'function' ? - this.options.placement.call(this, $tip[0], this.$element[0]) : - this.options.placement - - var autoToken = /\s?auto?\s?/i - var autoPlace = autoToken.test(placement) - if (autoPlace) placement = placement.replace(autoToken, '') || 'top' - - $tip - .detach() - .css({ top: 0, left: 0, display: 'block' }) - .addClass(placement) - .data('bs.' + this.type, this) - - this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element) - this.$element.trigger('inserted.bs.' + this.type) - - var pos = this.getPosition() - var actualWidth = $tip[0].offsetWidth - var actualHeight = $tip[0].offsetHeight - - if (autoPlace) { - var orgPlacement = placement - var viewportDim = this.getPosition(this.$viewport) - - placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' : - placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' : - placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' : - placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' : - placement - - $tip - .removeClass(orgPlacement) - .addClass(placement) - } - - var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight) - - this.applyPlacement(calculatedOffset, placement) - - var complete = function () { - var prevHoverState = that.hoverState - that.$element.trigger('shown.bs.' + that.type) - that.hoverState = null - - if (prevHoverState == 'out') that.leave(that) - } - - $.support.transition && this.$tip.hasClass('fade') ? - $tip - .one('bsTransitionEnd', complete) - .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) : - complete() - } - } - - Tooltip.prototype.applyPlacement = function (offset, placement) { - var $tip = this.tip() - var width = $tip[0].offsetWidth - var height = $tip[0].offsetHeight - - // manually read margins because getBoundingClientRect includes difference - var marginTop = parseInt($tip.css('margin-top'), 10) - var marginLeft = parseInt($tip.css('margin-left'), 10) - - // we must check for NaN for ie 8/9 - if (isNaN(marginTop)) marginTop = 0 - if (isNaN(marginLeft)) marginLeft = 0 - - offset.top += marginTop - offset.left += marginLeft - - // $.fn.offset doesn't round pixel values - // so we use setOffset directly with our own function B-0 - $.offset.setOffset($tip[0], $.extend({ - using: function (props) { - $tip.css({ - top: Math.round(props.top), - left: Math.round(props.left) - }) - } - }, offset), 0) - - $tip.addClass('in') - - // check to see if placing tip in new offset caused the tip to resize itself - var actualWidth = $tip[0].offsetWidth - var actualHeight = $tip[0].offsetHeight - - if (placement == 'top' && actualHeight != height) { - offset.top = offset.top + height - actualHeight - } - - var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight) - - if (delta.left) offset.left += delta.left - else offset.top += delta.top - - var isVertical = /top|bottom/.test(placement) - var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight - var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight' - - $tip.offset(offset) - this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical) - } - - Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) { - this.arrow() - .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%') - .css(isVertical ? 'top' : 'left', '') - } - - Tooltip.prototype.setContent = function () { - var $tip = this.tip() - var title = this.getTitle() - - $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title) - $tip.removeClass('fade in top bottom left right') - } - - Tooltip.prototype.hide = function (callback) { - var that = this - var $tip = $(this.$tip) - var e = $.Event('hide.bs.' + this.type) - - function complete() { - if (that.hoverState != 'in') $tip.detach() - if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary. - that.$element - .removeAttr('aria-describedby') - .trigger('hidden.bs.' + that.type) - } - callback && callback() - } - - this.$element.trigger(e) - - if (e.isDefaultPrevented()) return - - $tip.removeClass('in') - - $.support.transition && $tip.hasClass('fade') ? - $tip - .one('bsTransitionEnd', complete) - .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) : - complete() - - this.hoverState = null - - return this - } - - Tooltip.prototype.fixTitle = function () { - var $e = this.$element - if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') { - $e.attr('data-original-title', $e.attr('title') || '').attr('title', '') - } - } - - Tooltip.prototype.hasContent = function () { - return this.getTitle() - } - - Tooltip.prototype.getPosition = function ($element) { - $element = $element || this.$element - - var el = $element[0] - var isBody = el.tagName == 'BODY' - - var elRect = el.getBoundingClientRect() - if (elRect.width == null) { - // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093 - elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top }) - } - var isSvg = window.SVGElement && el instanceof window.SVGElement - // Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3. - // See https://github.com/twbs/bootstrap/issues/20280 - var elOffset = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset()) - var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() } - var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null - - return $.extend({}, elRect, scroll, outerDims, elOffset) - } - - Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) { - return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } : - placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } : - placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } : - /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width } - - } - - Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) { - var delta = { top: 0, left: 0 } - if (!this.$viewport) return delta - - var viewportPadding = this.options.viewport && this.options.viewport.padding || 0 - var viewportDimensions = this.getPosition(this.$viewport) - - if (/right|left/.test(placement)) { - var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll - var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight - if (topEdgeOffset < viewportDimensions.top) { // top overflow - delta.top = viewportDimensions.top - topEdgeOffset - } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow - delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset - } - } else { - var leftEdgeOffset = pos.left - viewportPadding - var rightEdgeOffset = pos.left + viewportPadding + actualWidth - if (leftEdgeOffset < viewportDimensions.left) { // left overflow - delta.left = viewportDimensions.left - leftEdgeOffset - } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow - delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset - } - } - - return delta - } - - Tooltip.prototype.getTitle = function () { - var title - var $e = this.$element - var o = this.options - - title = $e.attr('data-original-title') - || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title) - - return title - } - - Tooltip.prototype.getUID = function (prefix) { - do prefix += ~~(Math.random() * 1000000) - while (document.getElementById(prefix)) - return prefix - } - - Tooltip.prototype.tip = function () { - if (!this.$tip) { - this.$tip = $(this.options.template) - if (this.$tip.length != 1) { - throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!') - } - } - return this.$tip - } - - Tooltip.prototype.arrow = function () { - return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow')) - } - - Tooltip.prototype.enable = function () { - this.enabled = true - } - - Tooltip.prototype.disable = function () { - this.enabled = false - } - - Tooltip.prototype.toggleEnabled = function () { - this.enabled = !this.enabled - } - - Tooltip.prototype.toggle = function (e) { - var self = this - if (e) { - self = $(e.currentTarget).data('bs.' + this.type) - if (!self) { - self = new this.constructor(e.currentTarget, this.getDelegateOptions()) - $(e.currentTarget).data('bs.' + this.type, self) - } - } - - if (e) { - self.inState.click = !self.inState.click - if (self.isInStateTrue()) self.enter(self) - else self.leave(self) - } else { - self.tip().hasClass('in') ? self.leave(self) : self.enter(self) - } - } - - Tooltip.prototype.destroy = function () { - var that = this - clearTimeout(this.timeout) - this.hide(function () { - that.$element.off('.' + that.type).removeData('bs.' + that.type) - if (that.$tip) { - that.$tip.detach() - } - that.$tip = null - that.$arrow = null - that.$viewport = null - that.$element = null - }) - } - - - // TOOLTIP PLUGIN DEFINITION - // ========================= - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.tooltip') - var options = typeof option == 'object' && option - - if (!data && /destroy|hide/.test(option)) return - if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options))) - if (typeof option == 'string') data[option]() - }) - } - - var old = $.fn.tooltip - - $.fn.tooltip = Plugin - $.fn.tooltip.Constructor = Tooltip - - - // TOOLTIP NO CONFLICT - // =================== - - $.fn.tooltip.noConflict = function () { - $.fn.tooltip = old - return this - } - - }(jQuery); - - /* ======================================================================== - * Bootstrap: popover.js v3.3.7 - * http://getbootstrap.com/javascript/#popovers - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // POPOVER PUBLIC CLASS DEFINITION - // =============================== - - var Popover = function (element, options) { - this.init('popover', element, options) - } - - if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js') - - Popover.VERSION = '3.3.7' - - Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, { - placement: 'right', - trigger: 'click', - content: '', - template: '' - }) - - - // NOTE: POPOVER EXTENDS tooltip.js - // ================================ - - Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype) - - Popover.prototype.constructor = Popover - - Popover.prototype.getDefaults = function () { - return Popover.DEFAULTS - } - - Popover.prototype.setContent = function () { - var $tip = this.tip() - var title = this.getTitle() - var content = this.getContent() - - $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title) - $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events - this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text' - ](content) - - $tip.removeClass('fade top bottom left right in') - - // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do - // this manually by checking the contents. - if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide() - } - - Popover.prototype.hasContent = function () { - return this.getTitle() || this.getContent() - } - - Popover.prototype.getContent = function () { - var $e = this.$element - var o = this.options - - return $e.attr('data-content') - || (typeof o.content == 'function' ? - o.content.call($e[0]) : - o.content) - } - - Popover.prototype.arrow = function () { - return (this.$arrow = this.$arrow || this.tip().find('.arrow')) - } - - - // POPOVER PLUGIN DEFINITION - // ========================= - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.popover') - var options = typeof option == 'object' && option - - if (!data && /destroy|hide/.test(option)) return - if (!data) $this.data('bs.popover', (data = new Popover(this, options))) - if (typeof option == 'string') data[option]() - }) - } - - var old = $.fn.popover - - $.fn.popover = Plugin - $.fn.popover.Constructor = Popover - - - // POPOVER NO CONFLICT - // =================== - - $.fn.popover.noConflict = function () { - $.fn.popover = old - return this - } - - }(jQuery); - - /* ======================================================================== - * Bootstrap: scrollspy.js v3.3.7 - * http://getbootstrap.com/javascript/#scrollspy - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // SCROLLSPY CLASS DEFINITION - // ========================== - - function ScrollSpy(element, options) { - this.$body = $(document.body) - this.$scrollElement = $(element).is(document.body) ? $(window) : $(element) - this.options = $.extend({}, ScrollSpy.DEFAULTS, options) - this.selector = (this.options.target || '') + ' .nav li > a' - this.offsets = [] - this.targets = [] - this.activeTarget = null - this.scrollHeight = 0 - - this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this)) - this.refresh() - this.process() - } - - ScrollSpy.VERSION = '3.3.7' - - ScrollSpy.DEFAULTS = { - offset: 10 - } - - ScrollSpy.prototype.getScrollHeight = function () { - return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight) - } - - ScrollSpy.prototype.refresh = function () { - var that = this - var offsetMethod = 'offset' - var offsetBase = 0 - - this.offsets = [] - this.targets = [] - this.scrollHeight = this.getScrollHeight() - - if (!$.isWindow(this.$scrollElement[0])) { - offsetMethod = 'position' - offsetBase = this.$scrollElement.scrollTop() - } - - this.$body - .find(this.selector) - .map(function () { - var $el = $(this) - var href = $el.data('target') || $el.attr('href') - var $href = /^#./.test(href) && $(href) - - return ($href - && $href.length - && $href.is(':visible') - && [[$href[offsetMethod]().top + offsetBase, href]]) || null - }) - .sort(function (a, b) { return a[0] - b[0] }) - .each(function () { - that.offsets.push(this[0]) - that.targets.push(this[1]) - }) - } - - ScrollSpy.prototype.process = function () { - var scrollTop = this.$scrollElement.scrollTop() + this.options.offset - var scrollHeight = this.getScrollHeight() - var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height() - var offsets = this.offsets - var targets = this.targets - var activeTarget = this.activeTarget - var i - - if (this.scrollHeight != scrollHeight) { - this.refresh() - } - - if (scrollTop >= maxScroll) { - return activeTarget != (i = targets[targets.length - 1]) && this.activate(i) - } - - if (activeTarget && scrollTop < offsets[0]) { - this.activeTarget = null - return this.clear() - } - - for (i = offsets.length; i--;) { - activeTarget != targets[i] - && scrollTop >= offsets[i] - && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1]) - && this.activate(targets[i]) - } - } - - ScrollSpy.prototype.activate = function (target) { - this.activeTarget = target - - this.clear() - - var selector = this.selector + - '[data-target="' + target + '"],' + - this.selector + '[href="' + target + '"]' - - var active = $(selector) - .parents('li') - .addClass('active') - - if (active.parent('.dropdown-menu').length) { - active = active - .closest('li.dropdown') - .addClass('active') - } - - active.trigger('activate.bs.scrollspy') - } - - ScrollSpy.prototype.clear = function () { - $(this.selector) - .parentsUntil(this.options.target, '.active') - .removeClass('active') - } - - - // SCROLLSPY PLUGIN DEFINITION - // =========================== - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.scrollspy') - var options = typeof option == 'object' && option - - if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options))) - if (typeof option == 'string') data[option]() - }) - } - - var old = $.fn.scrollspy - - $.fn.scrollspy = Plugin - $.fn.scrollspy.Constructor = ScrollSpy - - - // SCROLLSPY NO CONFLICT - // ===================== - - $.fn.scrollspy.noConflict = function () { - $.fn.scrollspy = old - return this - } - - - // SCROLLSPY DATA-API - // ================== - - $(window).on('load.bs.scrollspy.data-api', function () { - $('[data-spy="scroll"]').each(function () { - var $spy = $(this) - Plugin.call($spy, $spy.data()) - }) - }) - - }(jQuery); - - /* ======================================================================== - * Bootstrap: tab.js v3.3.7 - * http://getbootstrap.com/javascript/#tabs - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // TAB CLASS DEFINITION - // ==================== - - var Tab = function (element) { - // jscs:disable requireDollarBeforejQueryAssignment - this.element = $(element) - // jscs:enable requireDollarBeforejQueryAssignment - } - - Tab.VERSION = '3.3.7' - - Tab.TRANSITION_DURATION = 150 - - Tab.prototype.show = function () { - var $this = this.element - var $ul = $this.closest('ul:not(.dropdown-menu)') - var selector = $this.data('target') - - if (!selector) { - selector = $this.attr('href') - selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7 - } - - if ($this.parent('li').hasClass('active')) return - - var $previous = $ul.find('.active:last a') - var hideEvent = $.Event('hide.bs.tab', { - relatedTarget: $this[0] - }) - var showEvent = $.Event('show.bs.tab', { - relatedTarget: $previous[0] - }) - - $previous.trigger(hideEvent) - $this.trigger(showEvent) - - if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return - - var $target = $(selector) - - this.activate($this.closest('li'), $ul) - this.activate($target, $target.parent(), function () { - $previous.trigger({ - type: 'hidden.bs.tab', - relatedTarget: $this[0] - }) - $this.trigger({ - type: 'shown.bs.tab', - relatedTarget: $previous[0] - }) - }) - } - - Tab.prototype.activate = function (element, container, callback) { - var $active = container.find('> .active') - var transition = callback - && $.support.transition - && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length) - - function next() { - $active - .removeClass('active') - .find('> .dropdown-menu > .active') - .removeClass('active') - .end() - .find('[data-toggle="tab"]') - .attr('aria-expanded', false) - - element - .addClass('active') - .find('[data-toggle="tab"]') - .attr('aria-expanded', true) - - if (transition) { - element[0].offsetWidth // reflow for transition - element.addClass('in') - } else { - element.removeClass('fade') - } - - if (element.parent('.dropdown-menu').length) { - element - .closest('li.dropdown') - .addClass('active') - .end() - .find('[data-toggle="tab"]') - .attr('aria-expanded', true) - } - - callback && callback() - } - - $active.length && transition ? - $active - .one('bsTransitionEnd', next) - .emulateTransitionEnd(Tab.TRANSITION_DURATION) : - next() - - $active.removeClass('in') - } - - - // TAB PLUGIN DEFINITION - // ===================== - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.tab') - - if (!data) $this.data('bs.tab', (data = new Tab(this))) - if (typeof option == 'string') data[option]() - }) - } - - var old = $.fn.tab - - $.fn.tab = Plugin - $.fn.tab.Constructor = Tab - - - // TAB NO CONFLICT - // =============== - - $.fn.tab.noConflict = function () { - $.fn.tab = old - return this - } - - - // TAB DATA-API - // ============ - - var clickHandler = function (e) { - e.preventDefault() - Plugin.call($(this), 'show') - } - - $(document) - .on('click.bs.tab.data-api', '[data-toggle="tab"]', clickHandler) - .on('click.bs.tab.data-api', '[data-toggle="pill"]', clickHandler) - - }(jQuery); - - /* ======================================================================== - * Bootstrap: affix.js v3.3.7 - * http://getbootstrap.com/javascript/#affix - * ======================================================================== - * Copyright 2011-2016 Twitter, Inc. - * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) - * ======================================================================== */ - - - +function ($) { - 'use strict'; - - // AFFIX CLASS DEFINITION - // ====================== - - var Affix = function (element, options) { - this.options = $.extend({}, Affix.DEFAULTS, options) - - this.$target = $(this.options.target) - .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this)) - .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this)) - - this.$element = $(element) - this.affixed = null - this.unpin = null - this.pinnedOffset = null - - this.checkPosition() - } - - Affix.VERSION = '3.3.7' - - Affix.RESET = 'affix affix-top affix-bottom' - - Affix.DEFAULTS = { - offset: 0, - target: window - } - - Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) { - var scrollTop = this.$target.scrollTop() - var position = this.$element.offset() - var targetHeight = this.$target.height() - - if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false - - if (this.affixed == 'bottom') { - if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom' - return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom' - } - - var initializing = this.affixed == null - var colliderTop = initializing ? scrollTop : position.top - var colliderHeight = initializing ? targetHeight : height - - if (offsetTop != null && scrollTop <= offsetTop) return 'top' - if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom' - - return false - } - - Affix.prototype.getPinnedOffset = function () { - if (this.pinnedOffset) return this.pinnedOffset - this.$element.removeClass(Affix.RESET).addClass('affix') - var scrollTop = this.$target.scrollTop() - var position = this.$element.offset() - return (this.pinnedOffset = position.top - scrollTop) - } - - Affix.prototype.checkPositionWithEventLoop = function () { - setTimeout($.proxy(this.checkPosition, this), 1) - } - - Affix.prototype.checkPosition = function () { - if (!this.$element.is(':visible')) return - - var height = this.$element.height() - var offset = this.options.offset - var offsetTop = offset.top - var offsetBottom = offset.bottom - var scrollHeight = Math.max($(document).height(), $(document.body).height()) - - if (typeof offset != 'object') offsetBottom = offsetTop = offset - if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element) - if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element) - - var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom) - - if (this.affixed != affix) { - if (this.unpin != null) this.$element.css('top', '') - - var affixType = 'affix' + (affix ? '-' + affix : '') - var e = $.Event(affixType + '.bs.affix') - - this.$element.trigger(e) - - if (e.isDefaultPrevented()) return - - this.affixed = affix - this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null - - this.$element - .removeClass(Affix.RESET) - .addClass(affixType) - .trigger(affixType.replace('affix', 'affixed') + '.bs.affix') - } - - if (affix == 'bottom') { - this.$element.offset({ - top: scrollHeight - height - offsetBottom - }) - } - } - - - // AFFIX PLUGIN DEFINITION - // ======================= - - function Plugin(option) { - return this.each(function () { - var $this = $(this) - var data = $this.data('bs.affix') - var options = typeof option == 'object' && option - - if (!data) $this.data('bs.affix', (data = new Affix(this, options))) - if (typeof option == 'string') data[option]() - }) - } - - var old = $.fn.affix - - $.fn.affix = Plugin - $.fn.affix.Constructor = Affix - - - // AFFIX NO CONFLICT - // ================= - - $.fn.affix.noConflict = function () { - $.fn.affix = old - return this - } - - - // AFFIX DATA-API - // ============== - - $(window).on('load', function () { - $('[data-spy="affix"]').each(function () { - var $spy = $(this) - var data = $spy.data() - - data.offset = data.offset || {} - - if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom - if (data.offsetTop != null) data.offset.top = data.offsetTop - - Plugin.call($spy, data) - }) - }) - - }(jQuery); -}); diff --git a/src/Surging.ApiGateway/wwwroot/assets/js/base/bootstrap.min.js b/src/Surging.ApiGateway/wwwroot/assets/js/base/bootstrap.min.js deleted file mode 100644 index 3c6809b16..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/js/base/bootstrap.min.js +++ /dev/null @@ -1,12 +0,0 @@ -define(function (require, exports, module) { - /*! - * Bootstrap v3.3.7 (http://getbootstrap.com) - * Copyright 2011-2016 Twitter, Inc. - * Licensed under the MIT license - */ - if ("undefined" == typeof jQuery) throw new Error("Bootstrap's JavaScript requires jQuery"); +function (a) { "use strict"; var b = a.fn.jquery.split(" ")[0].split("."); if (b[0] < 2 && b[1] < 9 || 1 == b[0] && 9 == b[1] && b[2] < 1 || b[0] > 3) throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4") }(jQuery), +function (a) { "use strict"; function b() { var a = document.createElement("bootstrap"), b = { WebkitTransition: "webkitTransitionEnd", MozTransition: "transitionend", OTransition: "oTransitionEnd otransitionend", transition: "transitionend" }; for (var c in b) if (void 0 !== a.style[c]) return { end: b[c] }; return !1 } a.fn.emulateTransitionEnd = function (b) { var c = !1, d = this; a(this).one("bsTransitionEnd", function () { c = !0 }); var e = function () { c || a(d).trigger(a.support.transition.end) }; return setTimeout(e, b), this }, a(function () { a.support.transition = b(), a.support.transition && (a.event.special.bsTransitionEnd = { bindType: a.support.transition.end, delegateType: a.support.transition.end, handle: function (b) { if (a(b.target).is(this)) return b.handleObj.handler.apply(this, arguments) } }) }) }(jQuery), +function (a) { "use strict"; function b(b) { return this.each(function () { var c = a(this), e = c.data("bs.alert"); e || c.data("bs.alert", e = new d(this)), "string" == typeof b && e[b].call(c) }) } var c = '[data-dismiss="alert"]', d = function (b) { a(b).on("click", c, this.close) }; d.VERSION = "3.3.7", d.TRANSITION_DURATION = 150, d.prototype.close = function (b) { function c() { g.detach().trigger("closed.bs.alert").remove() } var e = a(this), f = e.attr("data-target"); f || (f = e.attr("href"), f = f && f.replace(/.*(?=#[^\s]*$)/, "")); var g = a("#" === f ? [] : f); b && b.preventDefault(), g.length || (g = e.closest(".alert")), g.trigger(b = a.Event("close.bs.alert")), b.isDefaultPrevented() || (g.removeClass("in"), a.support.transition && g.hasClass("fade") ? g.one("bsTransitionEnd", c).emulateTransitionEnd(d.TRANSITION_DURATION) : c()) }; var e = a.fn.alert; a.fn.alert = b, a.fn.alert.Constructor = d, a.fn.alert.noConflict = function () { return a.fn.alert = e, this }, a(document).on("click.bs.alert.data-api", c, d.prototype.close) }(jQuery), +function (a) { "use strict"; function b(b) { return this.each(function () { var d = a(this), e = d.data("bs.button"), f = "object" == typeof b && b; e || d.data("bs.button", e = new c(this, f)), "toggle" == b ? e.toggle() : b && e.setState(b) }) } var c = function (b, d) { this.$element = a(b), this.options = a.extend({}, c.DEFAULTS, d), this.isLoading = !1 }; c.VERSION = "3.3.7", c.DEFAULTS = { loadingText: "loading..." }, c.prototype.setState = function (b) { var c = "disabled", d = this.$element, e = d.is("input") ? "val" : "html", f = d.data(); b += "Text", null == f.resetText && d.data("resetText", d[e]()), setTimeout(a.proxy(function () { d[e](null == f[b] ? this.options[b] : f[b]), "loadingText" == b ? (this.isLoading = !0, d.addClass(c).attr(c, c).prop(c, !0)) : this.isLoading && (this.isLoading = !1, d.removeClass(c).removeAttr(c).prop(c, !1)) }, this), 0) }, c.prototype.toggle = function () { var a = !0, b = this.$element.closest('[data-toggle="buttons"]'); if (b.length) { var c = this.$element.find("input"); "radio" == c.prop("type") ? (c.prop("checked") && (a = !1), b.find(".active").removeClass("active"), this.$element.addClass("active")) : "checkbox" == c.prop("type") && (c.prop("checked") !== this.$element.hasClass("active") && (a = !1), this.$element.toggleClass("active")), c.prop("checked", this.$element.hasClass("active")), a && c.trigger("change") } else this.$element.attr("aria-pressed", !this.$element.hasClass("active")), this.$element.toggleClass("active") }; var d = a.fn.button; a.fn.button = b, a.fn.button.Constructor = c, a.fn.button.noConflict = function () { return a.fn.button = d, this }, a(document).on("click.bs.button.data-api", '[data-toggle^="button"]', function (c) { var d = a(c.target).closest(".btn"); b.call(d, "toggle"), a(c.target).is('input[type="radio"], input[type="checkbox"]') || (c.preventDefault(), d.is("input,button") ? d.trigger("focus") : d.find("input:visible,button:visible").first().trigger("focus")) }).on("focus.bs.button.data-api blur.bs.button.data-api", '[data-toggle^="button"]', function (b) { a(b.target).closest(".btn").toggleClass("focus", /^focus(in)?$/.test(b.type)) }) }(jQuery), +function (a) { "use strict"; function b(b) { return this.each(function () { var d = a(this), e = d.data("bs.carousel"), f = a.extend({}, c.DEFAULTS, d.data(), "object" == typeof b && b), g = "string" == typeof b ? b : f.slide; e || d.data("bs.carousel", e = new c(this, f)), "number" == typeof b ? e.to(b) : g ? e[g]() : f.interval && e.pause().cycle() }) } var c = function (b, c) { this.$element = a(b), this.$indicators = this.$element.find(".carousel-indicators"), this.options = c, this.paused = null, this.sliding = null, this.interval = null, this.$active = null, this.$items = null, this.options.keyboard && this.$element.on("keydown.bs.carousel", a.proxy(this.keydown, this)), "hover" == this.options.pause && !("ontouchstart" in document.documentElement) && this.$element.on("mouseenter.bs.carousel", a.proxy(this.pause, this)).on("mouseleave.bs.carousel", a.proxy(this.cycle, this)) }; c.VERSION = "3.3.7", c.TRANSITION_DURATION = 600, c.DEFAULTS = { interval: 5e3, pause: "hover", wrap: !0, keyboard: !0 }, c.prototype.keydown = function (a) { if (!/input|textarea/i.test(a.target.tagName)) { switch (a.which) { case 37: this.prev(); break; case 39: this.next(); break; default: return }a.preventDefault() } }, c.prototype.cycle = function (b) { return b || (this.paused = !1), this.interval && clearInterval(this.interval), this.options.interval && !this.paused && (this.interval = setInterval(a.proxy(this.next, this), this.options.interval)), this }, c.prototype.getItemIndex = function (a) { return this.$items = a.parent().children(".item"), this.$items.index(a || this.$active) }, c.prototype.getItemForDirection = function (a, b) { var c = this.getItemIndex(b), d = "prev" == a && 0 === c || "next" == a && c == this.$items.length - 1; if (d && !this.options.wrap) return b; var e = "prev" == a ? -1 : 1, f = (c + e) % this.$items.length; return this.$items.eq(f) }, c.prototype.to = function (a) { var b = this, c = this.getItemIndex(this.$active = this.$element.find(".item.active")); if (!(a > this.$items.length - 1 || a < 0)) return this.sliding ? this.$element.one("slid.bs.carousel", function () { b.to(a) }) : c == a ? this.pause().cycle() : this.slide(a > c ? "next" : "prev", this.$items.eq(a)) }, c.prototype.pause = function (b) { return b || (this.paused = !0), this.$element.find(".next, .prev").length && a.support.transition && (this.$element.trigger(a.support.transition.end), this.cycle(!0)), this.interval = clearInterval(this.interval), this }, c.prototype.next = function () { if (!this.sliding) return this.slide("next") }, c.prototype.prev = function () { if (!this.sliding) return this.slide("prev") }, c.prototype.slide = function (b, d) { var e = this.$element.find(".item.active"), f = d || this.getItemForDirection(b, e), g = this.interval, h = "next" == b ? "left" : "right", i = this; if (f.hasClass("active")) return this.sliding = !1; var j = f[0], k = a.Event("slide.bs.carousel", { relatedTarget: j, direction: h }); if (this.$element.trigger(k), !k.isDefaultPrevented()) { if (this.sliding = !0, g && this.pause(), this.$indicators.length) { this.$indicators.find(".active").removeClass("active"); var l = a(this.$indicators.children()[this.getItemIndex(f)]); l && l.addClass("active") } var m = a.Event("slid.bs.carousel", { relatedTarget: j, direction: h }); return a.support.transition && this.$element.hasClass("slide") ? (f.addClass(b), f[0].offsetWidth, e.addClass(h), f.addClass(h), e.one("bsTransitionEnd", function () { f.removeClass([b, h].join(" ")).addClass("active"), e.removeClass(["active", h].join(" ")), i.sliding = !1, setTimeout(function () { i.$element.trigger(m) }, 0) }).emulateTransitionEnd(c.TRANSITION_DURATION)) : (e.removeClass("active"), f.addClass("active"), this.sliding = !1, this.$element.trigger(m)), g && this.cycle(), this } }; var d = a.fn.carousel; a.fn.carousel = b, a.fn.carousel.Constructor = c, a.fn.carousel.noConflict = function () { return a.fn.carousel = d, this }; var e = function (c) { var d, e = a(this), f = a(e.attr("data-target") || (d = e.attr("href")) && d.replace(/.*(?=#[^\s]+$)/, "")); if (f.hasClass("carousel")) { var g = a.extend({}, f.data(), e.data()), h = e.attr("data-slide-to"); h && (g.interval = !1), b.call(f, g), h && f.data("bs.carousel").to(h), c.preventDefault() } }; a(document).on("click.bs.carousel.data-api", "[data-slide]", e).on("click.bs.carousel.data-api", "[data-slide-to]", e), a(window).on("load", function () { a('[data-ride="carousel"]').each(function () { var c = a(this); b.call(c, c.data()) }) }) }(jQuery), +function (a) { "use strict"; function b(b) { var c, d = b.attr("data-target") || (c = b.attr("href")) && c.replace(/.*(?=#[^\s]+$)/, ""); return a(d) } function c(b) { return this.each(function () { var c = a(this), e = c.data("bs.collapse"), f = a.extend({}, d.DEFAULTS, c.data(), "object" == typeof b && b); !e && f.toggle && /show|hide/.test(b) && (f.toggle = !1), e || c.data("bs.collapse", e = new d(this, f)), "string" == typeof b && e[b]() }) } var d = function (b, c) { this.$element = a(b), this.options = a.extend({}, d.DEFAULTS, c), this.$trigger = a('[data-toggle="collapse"][href="#' + b.id + '"],[data-toggle="collapse"][data-target="#' + b.id + '"]'), this.transitioning = null, this.options.parent ? this.$parent = this.getParent() : this.addAriaAndCollapsedClass(this.$element, this.$trigger), this.options.toggle && this.toggle() }; d.VERSION = "3.3.7", d.TRANSITION_DURATION = 350, d.DEFAULTS = { toggle: !0 }, d.prototype.dimension = function () { var a = this.$element.hasClass("width"); return a ? "width" : "height" }, d.prototype.show = function () { if (!this.transitioning && !this.$element.hasClass("in")) { var b, e = this.$parent && this.$parent.children(".panel").children(".in, .collapsing"); if (!(e && e.length && (b = e.data("bs.collapse"), b && b.transitioning))) { var f = a.Event("show.bs.collapse"); if (this.$element.trigger(f), !f.isDefaultPrevented()) { e && e.length && (c.call(e, "hide"), b || e.data("bs.collapse", null)); var g = this.dimension(); this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded", !0), this.$trigger.removeClass("collapsed").attr("aria-expanded", !0), this.transitioning = 1; var h = function () { this.$element.removeClass("collapsing").addClass("collapse in")[g](""), this.transitioning = 0, this.$element.trigger("shown.bs.collapse") }; if (!a.support.transition) return h.call(this); var i = a.camelCase(["scroll", g].join("-")); this.$element.one("bsTransitionEnd", a.proxy(h, this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i]) } } } }, d.prototype.hide = function () { if (!this.transitioning && this.$element.hasClass("in")) { var b = a.Event("hide.bs.collapse"); if (this.$element.trigger(b), !b.isDefaultPrevented()) { var c = this.dimension(); this.$element[c](this.$element[c]())[0].offsetHeight, this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded", !1), this.$trigger.addClass("collapsed").attr("aria-expanded", !1), this.transitioning = 1; var e = function () { this.transitioning = 0, this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse") }; return a.support.transition ? void this.$element[c](0).one("bsTransitionEnd", a.proxy(e, this)).emulateTransitionEnd(d.TRANSITION_DURATION) : e.call(this) } } }, d.prototype.toggle = function () { this[this.$element.hasClass("in") ? "hide" : "show"]() }, d.prototype.getParent = function () { return a(this.options.parent).find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]').each(a.proxy(function (c, d) { var e = a(d); this.addAriaAndCollapsedClass(b(e), e) }, this)).end() }, d.prototype.addAriaAndCollapsedClass = function (a, b) { var c = a.hasClass("in"); a.attr("aria-expanded", c), b.toggleClass("collapsed", !c).attr("aria-expanded", c) }; var e = a.fn.collapse; a.fn.collapse = c, a.fn.collapse.Constructor = d, a.fn.collapse.noConflict = function () { return a.fn.collapse = e, this }, a(document).on("click.bs.collapse.data-api", '[data-toggle="collapse"]', function (d) { var e = a(this); e.attr("data-target") || d.preventDefault(); var f = b(e), g = f.data("bs.collapse"), h = g ? "toggle" : e.data(); c.call(f, h) }) }(jQuery), +function (a) { "use strict"; function b(b) { var c = b.attr("data-target"); c || (c = b.attr("href"), c = c && /#[A-Za-z]/.test(c) && c.replace(/.*(?=#[^\s]*$)/, "")); var d = c && a(c); return d && d.length ? d : b.parent() } function c(c) { c && 3 === c.which || (a(e).remove(), a(f).each(function () { var d = a(this), e = b(d), f = { relatedTarget: this }; e.hasClass("open") && (c && "click" == c.type && /input|textarea/i.test(c.target.tagName) && a.contains(e[0], c.target) || (e.trigger(c = a.Event("hide.bs.dropdown", f)), c.isDefaultPrevented() || (d.attr("aria-expanded", "false"), e.removeClass("open").trigger(a.Event("hidden.bs.dropdown", f))))) })) } function d(b) { return this.each(function () { var c = a(this), d = c.data("bs.dropdown"); d || c.data("bs.dropdown", d = new g(this)), "string" == typeof b && d[b].call(c) }) } var e = ".dropdown-backdrop", f = '[data-toggle="dropdown"]', g = function (b) { a(b).on("click.bs.dropdown", this.toggle) }; g.VERSION = "3.3.7", g.prototype.toggle = function (d) { var e = a(this); if (!e.is(".disabled, :disabled")) { var f = b(e), g = f.hasClass("open"); if (c(), !g) { "ontouchstart" in document.documentElement && !f.closest(".navbar-nav").length && a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click", c); var h = { relatedTarget: this }; if (f.trigger(d = a.Event("show.bs.dropdown", h)), d.isDefaultPrevented()) return; e.trigger("focus").attr("aria-expanded", "true"), f.toggleClass("open").trigger(a.Event("shown.bs.dropdown", h)) } return !1 } }, g.prototype.keydown = function (c) { if (/(38|40|27|32)/.test(c.which) && !/input|textarea/i.test(c.target.tagName)) { var d = a(this); if (c.preventDefault(), c.stopPropagation(), !d.is(".disabled, :disabled")) { var e = b(d), g = e.hasClass("open"); if (!g && 27 != c.which || g && 27 == c.which) return 27 == c.which && e.find(f).trigger("focus"), d.trigger("click"); var h = " li:not(.disabled):visible a", i = e.find(".dropdown-menu" + h); if (i.length) { var j = i.index(c.target); 38 == c.which && j > 0 && j-- , 40 == c.which && j < i.length - 1 && j++ , ~j || (j = 0), i.eq(j).trigger("focus") } } } }; var h = a.fn.dropdown; a.fn.dropdown = d, a.fn.dropdown.Constructor = g, a.fn.dropdown.noConflict = function () { return a.fn.dropdown = h, this }, a(document).on("click.bs.dropdown.data-api", c).on("click.bs.dropdown.data-api", ".dropdown form", function (a) { a.stopPropagation() }).on("click.bs.dropdown.data-api", f, g.prototype.toggle).on("keydown.bs.dropdown.data-api", f, g.prototype.keydown).on("keydown.bs.dropdown.data-api", ".dropdown-menu", g.prototype.keydown) }(jQuery), +function (a) { "use strict"; function b(b, d) { return this.each(function () { var e = a(this), f = e.data("bs.modal"), g = a.extend({}, c.DEFAULTS, e.data(), "object" == typeof b && b); f || e.data("bs.modal", f = new c(this, g)), "string" == typeof b ? f[b](d) : g.show && f.show(d) }) } var c = function (b, c) { this.options = c, this.$body = a(document.body), this.$element = a(b), this.$dialog = this.$element.find(".modal-dialog"), this.$backdrop = null, this.isShown = null, this.originalBodyPad = null, this.scrollbarWidth = 0, this.ignoreBackdropClick = !1, this.options.remote && this.$element.find(".modal-content").load(this.options.remote, a.proxy(function () { this.$element.trigger("loaded.bs.modal") }, this)) }; c.VERSION = "3.3.7", c.TRANSITION_DURATION = 300, c.BACKDROP_TRANSITION_DURATION = 150, c.DEFAULTS = { backdrop: !0, keyboard: !0, show: !0 }, c.prototype.toggle = function (a) { return this.isShown ? this.hide() : this.show(a) }, c.prototype.show = function (b) { var d = this, e = a.Event("show.bs.modal", { relatedTarget: b }); this.$element.trigger(e), this.isShown || e.isDefaultPrevented() || (this.isShown = !0, this.checkScrollbar(), this.setScrollbar(), this.$body.addClass("modal-open"), this.escape(), this.resize(), this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', a.proxy(this.hide, this)), this.$dialog.on("mousedown.dismiss.bs.modal", function () { d.$element.one("mouseup.dismiss.bs.modal", function (b) { a(b.target).is(d.$element) && (d.ignoreBackdropClick = !0) }) }), this.backdrop(function () { var e = a.support.transition && d.$element.hasClass("fade"); d.$element.parent().length || d.$element.appendTo(d.$body), d.$element.show().scrollTop(0), d.adjustDialog(), e && d.$element[0].offsetWidth, d.$element.addClass("in"), d.enforceFocus(); var f = a.Event("shown.bs.modal", { relatedTarget: b }); e ? d.$dialog.one("bsTransitionEnd", function () { d.$element.trigger("focus").trigger(f) }).emulateTransitionEnd(c.TRANSITION_DURATION) : d.$element.trigger("focus").trigger(f) })) }, c.prototype.hide = function (b) { b && b.preventDefault(), b = a.Event("hide.bs.modal"), this.$element.trigger(b), this.isShown && !b.isDefaultPrevented() && (this.isShown = !1, this.escape(), this.resize(), a(document).off("focusin.bs.modal"), this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"), this.$dialog.off("mousedown.dismiss.bs.modal"), a.support.transition && this.$element.hasClass("fade") ? this.$element.one("bsTransitionEnd", a.proxy(this.hideModal, this)).emulateTransitionEnd(c.TRANSITION_DURATION) : this.hideModal()) }, c.prototype.enforceFocus = function () { a(document).off("focusin.bs.modal").on("focusin.bs.modal", a.proxy(function (a) { document === a.target || this.$element[0] === a.target || this.$element.has(a.target).length || this.$element.trigger("focus") }, this)) }, c.prototype.escape = function () { this.isShown && this.options.keyboard ? this.$element.on("keydown.dismiss.bs.modal", a.proxy(function (a) { 27 == a.which && this.hide() }, this)) : this.isShown || this.$element.off("keydown.dismiss.bs.modal") }, c.prototype.resize = function () { this.isShown ? a(window).on("resize.bs.modal", a.proxy(this.handleUpdate, this)) : a(window).off("resize.bs.modal") }, c.prototype.hideModal = function () { var a = this; this.$element.hide(), this.backdrop(function () { a.$body.removeClass("modal-open"), a.resetAdjustments(), a.resetScrollbar(), a.$element.trigger("hidden.bs.modal") }) }, c.prototype.removeBackdrop = function () { this.$backdrop && this.$backdrop.remove(), this.$backdrop = null }, c.prototype.backdrop = function (b) { var d = this, e = this.$element.hasClass("fade") ? "fade" : ""; if (this.isShown && this.options.backdrop) { var f = a.support.transition && e; if (this.$backdrop = a(document.createElement("div")).addClass("modal-backdrop " + e).appendTo(this.$body), this.$element.on("click.dismiss.bs.modal", a.proxy(function (a) { return this.ignoreBackdropClick ? void (this.ignoreBackdropClick = !1) : void (a.target === a.currentTarget && ("static" == this.options.backdrop ? this.$element[0].focus() : this.hide())) }, this)), f && this.$backdrop[0].offsetWidth, this.$backdrop.addClass("in"), !b) return; f ? this.$backdrop.one("bsTransitionEnd", b).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION) : b() } else if (!this.isShown && this.$backdrop) { this.$backdrop.removeClass("in"); var g = function () { d.removeBackdrop(), b && b() }; a.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one("bsTransitionEnd", g).emulateTransitionEnd(c.BACKDROP_TRANSITION_DURATION) : g() } else b && b() }, c.prototype.handleUpdate = function () { this.adjustDialog() }, c.prototype.adjustDialog = function () { var a = this.$element[0].scrollHeight > document.documentElement.clientHeight; this.$element.css({ paddingLeft: !this.bodyIsOverflowing && a ? this.scrollbarWidth : "", paddingRight: this.bodyIsOverflowing && !a ? this.scrollbarWidth : "" }) }, c.prototype.resetAdjustments = function () { this.$element.css({ paddingLeft: "", paddingRight: "" }) }, c.prototype.checkScrollbar = function () { var a = window.innerWidth; if (!a) { var b = document.documentElement.getBoundingClientRect(); a = b.right - Math.abs(b.left) } this.bodyIsOverflowing = document.body.clientWidth < a, this.scrollbarWidth = this.measureScrollbar() }, c.prototype.setScrollbar = function () { var a = parseInt(this.$body.css("padding-right") || 0, 10); this.originalBodyPad = document.body.style.paddingRight || "", this.bodyIsOverflowing && this.$body.css("padding-right", a + this.scrollbarWidth) }, c.prototype.resetScrollbar = function () { this.$body.css("padding-right", this.originalBodyPad) }, c.prototype.measureScrollbar = function () { var a = document.createElement("div"); a.className = "modal-scrollbar-measure", this.$body.append(a); var b = a.offsetWidth - a.clientWidth; return this.$body[0].removeChild(a), b }; var d = a.fn.modal; a.fn.modal = b, a.fn.modal.Constructor = c, a.fn.modal.noConflict = function () { return a.fn.modal = d, this }, a(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', function (c) { var d = a(this), e = d.attr("href"), f = a(d.attr("data-target") || e && e.replace(/.*(?=#[^\s]+$)/, "")), g = f.data("bs.modal") ? "toggle" : a.extend({ remote: !/#/.test(e) && e }, f.data(), d.data()); d.is("a") && c.preventDefault(), f.one("show.bs.modal", function (a) { a.isDefaultPrevented() || f.one("hidden.bs.modal", function () { d.is(":visible") && d.trigger("focus") }) }), b.call(f, g, this) }) }(jQuery), +function (a) { "use strict"; function b(b) { return this.each(function () { var d = a(this), e = d.data("bs.tooltip"), f = "object" == typeof b && b; !e && /destroy|hide/.test(b) || (e || d.data("bs.tooltip", e = new c(this, f)), "string" == typeof b && e[b]()) }) } var c = function (a, b) { this.type = null, this.options = null, this.enabled = null, this.timeout = null, this.hoverState = null, this.$element = null, this.inState = null, this.init("tooltip", a, b) }; c.VERSION = "3.3.7", c.TRANSITION_DURATION = 150, c.DEFAULTS = { animation: !0, placement: "top", selector: !1, template: '', trigger: "hover focus", title: "", delay: 0, html: !1, container: !1, viewport: { selector: "body", padding: 0 } }, c.prototype.init = function (b, c, d) { if (this.enabled = !0, this.type = b, this.$element = a(c), this.options = this.getOptions(d), this.$viewport = this.options.viewport && a(a.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : this.options.viewport.selector || this.options.viewport), this.inState = { click: !1, hover: !1, focus: !1 }, this.$element[0] instanceof document.constructor && !this.options.selector) throw new Error("`selector` option must be specified when initializing " + this.type + " on the window.document object!"); for (var e = this.options.trigger.split(" "), f = e.length; f--;) { var g = e[f]; if ("click" == g) this.$element.on("click." + this.type, this.options.selector, a.proxy(this.toggle, this)); else if ("manual" != g) { var h = "hover" == g ? "mouseenter" : "focusin", i = "hover" == g ? "mouseleave" : "focusout"; this.$element.on(h + "." + this.type, this.options.selector, a.proxy(this.enter, this)), this.$element.on(i + "." + this.type, this.options.selector, a.proxy(this.leave, this)) } } this.options.selector ? this._options = a.extend({}, this.options, { trigger: "manual", selector: "" }) : this.fixTitle() }, c.prototype.getDefaults = function () { return c.DEFAULTS }, c.prototype.getOptions = function (b) { return b = a.extend({}, this.getDefaults(), this.$element.data(), b), b.delay && "number" == typeof b.delay && (b.delay = { show: b.delay, hide: b.delay }), b }, c.prototype.getDelegateOptions = function () { var b = {}, c = this.getDefaults(); return this._options && a.each(this._options, function (a, d) { c[a] != d && (b[a] = d) }), b }, c.prototype.enter = function (b) { var c = b instanceof this.constructor ? b : a(b.currentTarget).data("bs." + this.type); return c || (c = new this.constructor(b.currentTarget, this.getDelegateOptions()), a(b.currentTarget).data("bs." + this.type, c)), b instanceof a.Event && (c.inState["focusin" == b.type ? "focus" : "hover"] = !0), c.tip().hasClass("in") || "in" == c.hoverState ? void (c.hoverState = "in") : (clearTimeout(c.timeout), c.hoverState = "in", c.options.delay && c.options.delay.show ? void (c.timeout = setTimeout(function () { "in" == c.hoverState && c.show() }, c.options.delay.show)) : c.show()) }, c.prototype.isInStateTrue = function () { for (var a in this.inState) if (this.inState[a]) return !0; return !1 }, c.prototype.leave = function (b) { var c = b instanceof this.constructor ? b : a(b.currentTarget).data("bs." + this.type); if (c || (c = new this.constructor(b.currentTarget, this.getDelegateOptions()), a(b.currentTarget).data("bs." + this.type, c)), b instanceof a.Event && (c.inState["focusout" == b.type ? "focus" : "hover"] = !1), !c.isInStateTrue()) return clearTimeout(c.timeout), c.hoverState = "out", c.options.delay && c.options.delay.hide ? void (c.timeout = setTimeout(function () { "out" == c.hoverState && c.hide() }, c.options.delay.hide)) : c.hide() }, c.prototype.show = function () { var b = a.Event("show.bs." + this.type); if (this.hasContent() && this.enabled) { this.$element.trigger(b); var d = a.contains(this.$element[0].ownerDocument.documentElement, this.$element[0]); if (b.isDefaultPrevented() || !d) return; var e = this, f = this.tip(), g = this.getUID(this.type); this.setContent(), f.attr("id", g), this.$element.attr("aria-describedby", g), this.options.animation && f.addClass("fade"); var h = "function" == typeof this.options.placement ? this.options.placement.call(this, f[0], this.$element[0]) : this.options.placement, i = /\s?auto?\s?/i, j = i.test(h); j && (h = h.replace(i, "") || "top"), f.detach().css({ top: 0, left: 0, display: "block" }).addClass(h).data("bs." + this.type, this), this.options.container ? f.appendTo(this.options.container) : f.insertAfter(this.$element), this.$element.trigger("inserted.bs." + this.type); var k = this.getPosition(), l = f[0].offsetWidth, m = f[0].offsetHeight; if (j) { var n = h, o = this.getPosition(this.$viewport); h = "bottom" == h && k.bottom + m > o.bottom ? "top" : "top" == h && k.top - m < o.top ? "bottom" : "right" == h && k.right + l > o.width ? "left" : "left" == h && k.left - l < o.left ? "right" : h, f.removeClass(n).addClass(h) } var p = this.getCalculatedOffset(h, k, l, m); this.applyPlacement(p, h); var q = function () { var a = e.hoverState; e.$element.trigger("shown.bs." + e.type), e.hoverState = null, "out" == a && e.leave(e) }; a.support.transition && this.$tip.hasClass("fade") ? f.one("bsTransitionEnd", q).emulateTransitionEnd(c.TRANSITION_DURATION) : q() } }, c.prototype.applyPlacement = function (b, c) { var d = this.tip(), e = d[0].offsetWidth, f = d[0].offsetHeight, g = parseInt(d.css("margin-top"), 10), h = parseInt(d.css("margin-left"), 10); isNaN(g) && (g = 0), isNaN(h) && (h = 0), b.top += g, b.left += h, a.offset.setOffset(d[0], a.extend({ using: function (a) { d.css({ top: Math.round(a.top), left: Math.round(a.left) }) } }, b), 0), d.addClass("in"); var i = d[0].offsetWidth, j = d[0].offsetHeight; "top" == c && j != f && (b.top = b.top + f - j); var k = this.getViewportAdjustedDelta(c, b, i, j); k.left ? b.left += k.left : b.top += k.top; var l = /top|bottom/.test(c), m = l ? 2 * k.left - e + i : 2 * k.top - f + j, n = l ? "offsetWidth" : "offsetHeight"; d.offset(b), this.replaceArrow(m, d[0][n], l) }, c.prototype.replaceArrow = function (a, b, c) { this.arrow().css(c ? "left" : "top", 50 * (1 - a / b) + "%").css(c ? "top" : "left", "") }, c.prototype.setContent = function () { var a = this.tip(), b = this.getTitle(); a.find(".tooltip-inner")[this.options.html ? "html" : "text"](b), a.removeClass("fade in top bottom left right") }, c.prototype.hide = function (b) { function d() { "in" != e.hoverState && f.detach(), e.$element && e.$element.removeAttr("aria-describedby").trigger("hidden.bs." + e.type), b && b() } var e = this, f = a(this.$tip), g = a.Event("hide.bs." + this.type); if (this.$element.trigger(g), !g.isDefaultPrevented()) return f.removeClass("in"), a.support.transition && f.hasClass("fade") ? f.one("bsTransitionEnd", d).emulateTransitionEnd(c.TRANSITION_DURATION) : d(), this.hoverState = null, this }, c.prototype.fixTitle = function () { var a = this.$element; (a.attr("title") || "string" != typeof a.attr("data-original-title")) && a.attr("data-original-title", a.attr("title") || "").attr("title", "") }, c.prototype.hasContent = function () { return this.getTitle() }, c.prototype.getPosition = function (b) { b = b || this.$element; var c = b[0], d = "BODY" == c.tagName, e = c.getBoundingClientRect(); null == e.width && (e = a.extend({}, e, { width: e.right - e.left, height: e.bottom - e.top })); var f = window.SVGElement && c instanceof window.SVGElement, g = d ? { top: 0, left: 0 } : f ? null : b.offset(), h = { scroll: d ? document.documentElement.scrollTop || document.body.scrollTop : b.scrollTop() }, i = d ? { width: a(window).width(), height: a(window).height() } : null; return a.extend({}, e, h, i, g) }, c.prototype.getCalculatedOffset = function (a, b, c, d) { return "bottom" == a ? { top: b.top + b.height, left: b.left + b.width / 2 - c / 2 } : "top" == a ? { top: b.top - d, left: b.left + b.width / 2 - c / 2 } : "left" == a ? { top: b.top + b.height / 2 - d / 2, left: b.left - c } : { top: b.top + b.height / 2 - d / 2, left: b.left + b.width } }, c.prototype.getViewportAdjustedDelta = function (a, b, c, d) { var e = { top: 0, left: 0 }; if (!this.$viewport) return e; var f = this.options.viewport && this.options.viewport.padding || 0, g = this.getPosition(this.$viewport); if (/right|left/.test(a)) { var h = b.top - f - g.scroll, i = b.top + f - g.scroll + d; h < g.top ? e.top = g.top - h : i > g.top + g.height && (e.top = g.top + g.height - i) } else { var j = b.left - f, k = b.left + f + c; j < g.left ? e.left = g.left - j : k > g.right && (e.left = g.left + g.width - k) } return e }, c.prototype.getTitle = function () { var a, b = this.$element, c = this.options; return a = b.attr("data-original-title") || ("function" == typeof c.title ? c.title.call(b[0]) : c.title) }, c.prototype.getUID = function (a) { do a += ~~(1e6 * Math.random()); while (document.getElementById(a)); return a }, c.prototype.tip = function () { if (!this.$tip && (this.$tip = a(this.options.template), 1 != this.$tip.length)) throw new Error(this.type + " `template` option must consist of exactly 1 top-level element!"); return this.$tip }, c.prototype.arrow = function () { return this.$arrow = this.$arrow || this.tip().find(".tooltip-arrow") }, c.prototype.enable = function () { this.enabled = !0 }, c.prototype.disable = function () { this.enabled = !1 }, c.prototype.toggleEnabled = function () { this.enabled = !this.enabled }, c.prototype.toggle = function (b) { var c = this; b && (c = a(b.currentTarget).data("bs." + this.type), c || (c = new this.constructor(b.currentTarget, this.getDelegateOptions()), a(b.currentTarget).data("bs." + this.type, c))), b ? (c.inState.click = !c.inState.click, c.isInStateTrue() ? c.enter(c) : c.leave(c)) : c.tip().hasClass("in") ? c.leave(c) : c.enter(c) }, c.prototype.destroy = function () { var a = this; clearTimeout(this.timeout), this.hide(function () { a.$element.off("." + a.type).removeData("bs." + a.type), a.$tip && a.$tip.detach(), a.$tip = null, a.$arrow = null, a.$viewport = null, a.$element = null }) }; var d = a.fn.tooltip; a.fn.tooltip = b, a.fn.tooltip.Constructor = c, a.fn.tooltip.noConflict = function () { return a.fn.tooltip = d, this } }(jQuery), +function (a) { "use strict"; function b(b) { return this.each(function () { var d = a(this), e = d.data("bs.popover"), f = "object" == typeof b && b; !e && /destroy|hide/.test(b) || (e || d.data("bs.popover", e = new c(this, f)), "string" == typeof b && e[b]()) }) } var c = function (a, b) { this.init("popover", a, b) }; if (!a.fn.tooltip) throw new Error("Popover requires tooltip.js"); c.VERSION = "3.3.7", c.DEFAULTS = a.extend({}, a.fn.tooltip.Constructor.DEFAULTS, { placement: "right", trigger: "click", content: "", template: '' }), c.prototype = a.extend({}, a.fn.tooltip.Constructor.prototype), c.prototype.constructor = c, c.prototype.getDefaults = function () { return c.DEFAULTS }, c.prototype.setContent = function () { var a = this.tip(), b = this.getTitle(), c = this.getContent(); a.find(".popover-title")[this.options.html ? "html" : "text"](b), a.find(".popover-content").children().detach().end()[this.options.html ? "string" == typeof c ? "html" : "append" : "text"](c), a.removeClass("fade top bottom left right in"), a.find(".popover-title").html() || a.find(".popover-title").hide() }, c.prototype.hasContent = function () { return this.getTitle() || this.getContent() }, c.prototype.getContent = function () { var a = this.$element, b = this.options; return a.attr("data-content") || ("function" == typeof b.content ? b.content.call(a[0]) : b.content) }, c.prototype.arrow = function () { return this.$arrow = this.$arrow || this.tip().find(".arrow") }; var d = a.fn.popover; a.fn.popover = b, a.fn.popover.Constructor = c, a.fn.popover.noConflict = function () { return a.fn.popover = d, this } }(jQuery), +function (a) { - "use strict"; function b(c, d) { this.$body = a(document.body), this.$scrollElement = a(a(c).is(document.body) ? window : c), this.options = a.extend({}, b.DEFAULTS, d), this.selector = (this.options.target || "") + " .nav li > a", this.offsets = [], this.targets = [], this.activeTarget = null, this.scrollHeight = 0, this.$scrollElement.on("scroll.bs.scrollspy", a.proxy(this.process, this)), this.refresh(), this.process() } function c(c) { return this.each(function () { var d = a(this), e = d.data("bs.scrollspy"), f = "object" == typeof c && c; e || d.data("bs.scrollspy", e = new b(this, f)), "string" == typeof c && e[c]() }) } b.VERSION = "3.3.7", b.DEFAULTS = { offset: 10 }, b.prototype.getScrollHeight = function () { return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight) }, b.prototype.refresh = function () { var b = this, c = "offset", d = 0; this.offsets = [], this.targets = [], this.scrollHeight = this.getScrollHeight(), a.isWindow(this.$scrollElement[0]) || (c = "position", d = this.$scrollElement.scrollTop()), this.$body.find(this.selector).map(function () { var b = a(this), e = b.data("target") || b.attr("href"), f = /^#./.test(e) && a(e); return f && f.length && f.is(":visible") && [[f[c]().top + d, e]] || null }).sort(function (a, b) { return a[0] - b[0] }).each(function () { b.offsets.push(this[0]), b.targets.push(this[1]) }) }, b.prototype.process = function () { var a, b = this.$scrollElement.scrollTop() + this.options.offset, c = this.getScrollHeight(), d = this.options.offset + c - this.$scrollElement.height(), e = this.offsets, f = this.targets, g = this.activeTarget; if (this.scrollHeight != c && this.refresh(), b >= d) return g != (a = f[f.length - 1]) && this.activate(a); if (g && b < e[0]) return this.activeTarget = null, this.clear(); for (a = e.length; a--;)g != f[a] && b >= e[a] && (void 0 === e[a + 1] || b < e[a + 1]) && this.activate(f[a]) }, b.prototype.activate = function (b) { - this.activeTarget = b, this.clear(); var c = this.selector + '[data-target="' + b + '"],' + this.selector + '[href="' + b + '"]', d = a(c).parents("li").addClass("active"); d.parent(".dropdown-menu").length && (d = d.closest("li.dropdown").addClass("active")), d.trigger("activate.bs.scrollspy") - }, b.prototype.clear = function () { a(this.selector).parentsUntil(this.options.target, ".active").removeClass("active") }; var d = a.fn.scrollspy; a.fn.scrollspy = c, a.fn.scrollspy.Constructor = b, a.fn.scrollspy.noConflict = function () { return a.fn.scrollspy = d, this }, a(window).on("load.bs.scrollspy.data-api", function () { a('[data-spy="scroll"]').each(function () { var b = a(this); c.call(b, b.data()) }) }) - }(jQuery), +function (a) { "use strict"; function b(b) { return this.each(function () { var d = a(this), e = d.data("bs.tab"); e || d.data("bs.tab", e = new c(this)), "string" == typeof b && e[b]() }) } var c = function (b) { this.element = a(b) }; c.VERSION = "3.3.7", c.TRANSITION_DURATION = 150, c.prototype.show = function () { var b = this.element, c = b.closest("ul:not(.dropdown-menu)"), d = b.data("target"); if (d || (d = b.attr("href"), d = d && d.replace(/.*(?=#[^\s]*$)/, "")), !b.parent("li").hasClass("active")) { var e = c.find(".active:last a"), f = a.Event("hide.bs.tab", { relatedTarget: b[0] }), g = a.Event("show.bs.tab", { relatedTarget: e[0] }); if (e.trigger(f), b.trigger(g), !g.isDefaultPrevented() && !f.isDefaultPrevented()) { var h = a(d); this.activate(b.closest("li"), c), this.activate(h, h.parent(), function () { e.trigger({ type: "hidden.bs.tab", relatedTarget: b[0] }), b.trigger({ type: "shown.bs.tab", relatedTarget: e[0] }) }) } } }, c.prototype.activate = function (b, d, e) { function f() { g.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded", !1), b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded", !0), h ? (b[0].offsetWidth, b.addClass("in")) : b.removeClass("fade"), b.parent(".dropdown-menu").length && b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded", !0), e && e() } var g = d.find("> .active"), h = e && a.support.transition && (g.length && g.hasClass("fade") || !!d.find("> .fade").length); g.length && h ? g.one("bsTransitionEnd", f).emulateTransitionEnd(c.TRANSITION_DURATION) : f(), g.removeClass("in") }; var d = a.fn.tab; a.fn.tab = b, a.fn.tab.Constructor = c, a.fn.tab.noConflict = function () { return a.fn.tab = d, this }; var e = function (c) { c.preventDefault(), b.call(a(this), "show") }; a(document).on("click.bs.tab.data-api", '[data-toggle="tab"]', e).on("click.bs.tab.data-api", '[data-toggle="pill"]', e) }(jQuery), +function (a) { "use strict"; function b(b) { return this.each(function () { var d = a(this), e = d.data("bs.affix"), f = "object" == typeof b && b; e || d.data("bs.affix", e = new c(this, f)), "string" == typeof b && e[b]() }) } var c = function (b, d) { this.options = a.extend({}, c.DEFAULTS, d), this.$target = a(this.options.target).on("scroll.bs.affix.data-api", a.proxy(this.checkPosition, this)).on("click.bs.affix.data-api", a.proxy(this.checkPositionWithEventLoop, this)), this.$element = a(b), this.affixed = null, this.unpin = null, this.pinnedOffset = null, this.checkPosition() }; c.VERSION = "3.3.7", c.RESET = "affix affix-top affix-bottom", c.DEFAULTS = { offset: 0, target: window }, c.prototype.getState = function (a, b, c, d) { var e = this.$target.scrollTop(), f = this.$element.offset(), g = this.$target.height(); if (null != c && "top" == this.affixed) return e < c && "top"; if ("bottom" == this.affixed) return null != c ? !(e + this.unpin <= f.top) && "bottom" : !(e + g <= a - d) && "bottom"; var h = null == this.affixed, i = h ? e : f.top, j = h ? g : b; return null != c && e <= c ? "top" : null != d && i + j >= a - d && "bottom" }, c.prototype.getPinnedOffset = function () { if (this.pinnedOffset) return this.pinnedOffset; this.$element.removeClass(c.RESET).addClass("affix"); var a = this.$target.scrollTop(), b = this.$element.offset(); return this.pinnedOffset = b.top - a }, c.prototype.checkPositionWithEventLoop = function () { setTimeout(a.proxy(this.checkPosition, this), 1) }, c.prototype.checkPosition = function () { if (this.$element.is(":visible")) { var b = this.$element.height(), d = this.options.offset, e = d.top, f = d.bottom, g = Math.max(a(document).height(), a(document.body).height()); "object" != typeof d && (f = e = d), "function" == typeof e && (e = d.top(this.$element)), "function" == typeof f && (f = d.bottom(this.$element)); var h = this.getState(g, b, e, f); if (this.affixed != h) { null != this.unpin && this.$element.css("top", ""); var i = "affix" + (h ? "-" + h : ""), j = a.Event(i + ".bs.affix"); if (this.$element.trigger(j), j.isDefaultPrevented()) return; this.affixed = h, this.unpin = "bottom" == h ? this.getPinnedOffset() : null, this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix", "affixed") + ".bs.affix") } "bottom" == h && this.$element.offset({ top: g - b - f }) } }; var d = a.fn.affix; a.fn.affix = b, a.fn.affix.Constructor = c, a.fn.affix.noConflict = function () { return a.fn.affix = d, this }, a(window).on("load", function () { a('[data-spy="affix"]').each(function () { var c = a(this), d = c.data(); d.offset = d.offset || {}, null != d.offsetBottom && (d.offset.bottom = d.offsetBottom), null != d.offsetTop && (d.offset.top = d.offsetTop), b.call(c, d) }) }) }(jQuery); -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/assets/js/base/extensions.js b/src/Surging.ApiGateway/wwwroot/assets/js/base/extensions.js deleted file mode 100644 index ce55d19de..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/js/base/extensions.js +++ /dev/null @@ -1,147 +0,0 @@ -define(function (require, exports, module) { - var system = {}; - (function () { - var ua = navigator.userAgent.toLowerCase(); - var s; - (s = ua.match(/msie ([\d.]+)/)) ? system.ie = s[1] : - (s = ua.match(/firefox\/([\d.]+)/)) ? system.firefox = s[1] : - (s = ua.match(/chrome\/([\d.]+)/)) ? system.chrome = s[1] : - (s = ua.match(/opera.([\d.]+)/)) ? system.opera = s[1] : - (s = ua.match(/version\/([\d.]+).*safari/)) ? system.safari = s[1] : 0; - - Date.prototype.format = function(format) { - var o = { - "M+": this.getMonth() + 1, //month - "d+": this.getDate(), //day - "h+": this.getHours(), //hour - "m+": this.getMinutes(), //minute - "s+": this.getSeconds(), //second - "q+": Math.floor((this.getMonth() + 3) / 3), //quarter - "S": this.getMilliseconds() //millisecond - }; - - if (/(y+)/.test(format)) { - format = format.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); - } - - for (var k in o) { - if (new RegExp("(" + k + ")").test(format)) { - format = format.replace(RegExp.$1, RegExp.$1.length == 1 ? o[k] : ("00" + o[k]).substr(("" + o[k]).length)); - } - } - return format; - }; - - String.prototype.htmlEncode = function () { var re = this; var q1 = [/\x26/g, /\x3C/g, /\x3E/g, /\x20/g]; var q2 = ["&", "<", ">", " "]; for (var i = 0; i < q1.length; i++) re = re.replace(q1[i], q2[i]); return re; }; - - String.prototype.toDateTime = function () { var val = this.replace(/[-]/g, "/"); if (val.isDate() || val.isDateTime()) return new Date(Date.parse(val)); var r = this.match(/(\d+)/); if (r) return new Date(parseInt(r)); return new Date(val); }; - - String.prototype.isDate = function () { var r = this.replace(/(^\s*)|(\s*$)/g, "").match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/); if (r == null) return false; var d = new Date(r[1], r[3] - 1, r[4]); return (d.getFullYear() == r[1] && (d.getMonth() + 1) == r[3] && d.getDate() == r[4]); }; - - String.prototype.isDateTime = function () { var r = this.replace(/(^\s*)|(\s*$)/g, "").match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2}) (\d{1,2}):(\d{1,2}):(\d{1,2})$/); if (r == null) return false; var d = new Date(r[1], r[3] - 1, r[4], r[5], r[6], r[7]); return (d.getFullYear() == r[1] && (d.getMonth() + 1) == r[3] && d.getDate() == r[4] && d.getHours() == r[5] && d.getMinutes() == r[6] && d.getSeconds() == r[7]); }; - - String.prototype.isInt = function () { return /^[-\+]?\d+$/.test(this); }; - - Date.prototype.dateAdd = function (strInterval, Number) { var dtTmp = this; switch (strInterval) { case 's': return new Date(Date.parse(dtTmp) + (1000 * Number)); case 'n': return new Date(Date.parse(dtTmp) + (60000 * Number)); case 'h': return new Date(Date.parse(dtTmp) + (3600000 * Number)); case 'd': return new Date(Date.parse(dtTmp) + (86400000 * Number)); case 'w': return new Date(Date.parse(dtTmp) + ((86400000 * 7) * Number)); case 'q': return new Date(dtTmp.getFullYear(), (dtTmp.getMonth()) + Number * 3, dtTmp.getDate(), dtTmp.getHours(), dtTmp.getMinutes(), dtTmp.getSeconds()); case 'm': return new Date(dtTmp.getFullYear(), (dtTmp.getMonth()) + Number, dtTmp.getDate(), dtTmp.getHours(), dtTmp.getMinutes(), dtTmp.getSeconds()); case 'y': return new Date((dtTmp.getFullYear() + Number), dtTmp.getMonth(), dtTmp.getDate(), dtTmp.getHours(), dtTmp.getMinutes(), dtTmp.getSeconds()); }; }; - - String.prototype.format = function(args) { - var result = this; - if (arguments.length > 0) { - if (arguments.length == 1 && typeof(args) == "object") { - for (var key in args) { - if (args[key] != undefined) { - var reg = new RegExp("({" + key + "})", "g"); - result = result.replace(reg, args[key]); - } - } - } else { - for (var i = 0; i < arguments.length; i++) { - if (arguments[i] != undefined) { - var reg = new RegExp("({[" + i + "]})", "g"); - result = result.replace(reg, arguments[i]); - } - } - } - } - return result; - }; - Array.prototype.remove = function(dx) { - if (isNaN(dx) || dx > this.length) { - return false; - } - for (var i = 0, n = 0; i < this.length; i++) { - if (this[i] != this[dx]) { - this[n++] = this[i]; - } - } - this.length -= 1; - }; - //找到返回所在索引,不存在返回-1 - Array.prototype.index = function (el) { - var i = 0; - for (var i = 0, len = this.length; i < len; i++) { - if (el == this[i]) { - return i; - } - } - return -1; - }; - // 判断数组中包含element元素 - Array.prototype.contains = function(e) { - for (var i = 0; i < this.length; i++) { - if (this[i] == e) { - return true; - } - } - return false; - }; - - - - jQuery.validator.addMethod("stringCheck", function (value, element) { - var strCheck = /^[a-zA-Z0-9\u4e00-\u9fa5-_]+$/; - return this.optional(element) || (strCheck.test(value)); - }, "只能包含中文、英文、数字、下划线、横线字符"); - - Array.prototype.OrderByDesc = function(func) { - var m = {}; - for (var i = 0; i < this.length; i++) { - for (var k = 0; k < this.length; k++) { - if (func(this[i]) > func(this[k])) { - m = this[k]; - this[k] = this[i]; - this[i] = m; - } - } - } - return this; - }; - - //+--------------------------------------------------- - //| 比较日期差 dtEnd 格式为日期型或者 有效日期格式字符串 - //+--------------------------------------------------- - Date.prototype.DateDiff = function(strInterval, dtEnd) { - var dtStart = this; - if (typeof dtEnd == 'string')//如果是字符串转换为日期型 - { - dtEnd = StringToDate(dtEnd); - } - switch (strInterval) { - case 's': - return parseInt((dtEnd - dtStart) / 1000); - case 'n': - return parseInt((dtEnd - dtStart) / 60000); - case 'h': - return parseInt((dtEnd - dtStart) / 3600000); - case 'd': - return parseInt((dtEnd - dtStart) / 86400000); - case 'w': - return parseInt((dtEnd - dtStart) / (86400000 * 7)); - case 'm': - return (dtEnd.getMonth() + 1) + ((dtEnd.getFullYear() - dtStart.getFullYear()) * 12) - (dtStart.getMonth() + 1); - case 'y': - return dtEnd.getFullYear() - dtStart.getFullYear(); - } - }; - })(); -}); \ No newline at end of file diff --git a/src/Surging.ApiGateway/wwwroot/assets/js/base/jquery.js b/src/Surging.ApiGateway/wwwroot/assets/js/base/jquery.js deleted file mode 100644 index 393ed4294..000000000 --- a/src/Surging.ApiGateway/wwwroot/assets/js/base/jquery.js +++ /dev/null @@ -1,9834 +0,0 @@ -define(function (require, exports, module) { - /*! - * jQuery JavaScript Library v2.2.0 - * http://jquery.com/ - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2016-01-08T20:02Z - */ - - (function (global, factory) { - - if (typeof module === "object" && typeof module.exports === "object") { - // For CommonJS and CommonJS-like environments where a proper `window` - // is present, execute the factory and get jQuery. - // For environments that do not have a `window` with a `document` - // (such as Node.js), expose a factory as module.exports. - // This accentuates the need for the creation of a real `window`. - // e.g. var jQuery = require("jquery")(window); - // See ticket #14549 for more info. - module.exports = global.document ? - factory(global, true) : - function (w) { - if (!w.document) { - throw new Error("jQuery requires a window with a document"); - } - return factory(w); - }; - } else { - factory(global); - } - - // Pass this if window is not defined yet - }(typeof window !== "undefined" ? window : this, function (window, noGlobal) { - - // Support: Firefox 18+ - // Can't be in strict mode, several libs including ASP.NET trace - // the stack via arguments.caller.callee and Firefox dies if - // you try to trace through "use strict" call chains. (#13335) - //"use strict"; - var arr = []; - - var document = window.document; - - var slice = arr.slice; - - var concat = arr.concat; - - var push = arr.push; - - var indexOf = arr.indexOf; - - var class2type = {}; - - var toString = class2type.toString; - - var hasOwn = class2type.hasOwnProperty; - - var support = {}; - - - - var - version = "2.2.0", - - // Define a local copy of jQuery - jQuery = function (selector, context) { - - // The jQuery object is actually just the init constructor 'enhanced' - // Need init if jQuery is called (just allow error to be thrown if not included) - return new jQuery.fn.init(selector, context); - }, - - // Support: Android<4.1 - // Make sure we trim BOM and NBSP - rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, - - // Matches dashed string for camelizing - rmsPrefix = /^-ms-/, - rdashAlpha = /-([\da-z])/gi, - - // Used by jQuery.camelCase as callback to replace() - fcamelCase = function (all, letter) { - return letter.toUpperCase(); - }; - - jQuery.fn = jQuery.prototype = { - - // The current version of jQuery being used - jquery: version, - - constructor: jQuery, - - // Start with an empty selector - selector: "", - - // The default length of a jQuery object is 0 - length: 0, - - toArray: function () { - return slice.call(this); - }, - - // Get the Nth element in the matched element set OR - // Get the whole matched element set as a clean array - get: function (num) { - return num != null ? - - // Return just the one element from the set - (num < 0 ? this[num + this.length] : this[num]) : - - // Return all the elements in a clean array - slice.call(this); - }, - - // Take an array of elements and push it onto the stack - // (returning the new matched element set) - pushStack: function (elems) { - - // Build a new jQuery matched element set - var ret = jQuery.merge(this.constructor(), elems); - - // Add the old object onto the stack (as a reference) - ret.prevObject = this; - ret.context = this.context; - - // Return the newly-formed element set - return ret; - }, - - // Execute a callback for every element in the matched set. - each: function (callback) { - return jQuery.each(this, callback); - }, - - map: function (callback) { - return this.pushStack(jQuery.map(this, function (elem, i) { - return callback.call(elem, i, elem); - })); - }, - - slice: function () { - return this.pushStack(slice.apply(this, arguments)); - }, - - first: function () { - return this.eq(0); - }, - - last: function () { - return this.eq(-1); - }, - - eq: function (i) { - var len = this.length, - j = +i + (i < 0 ? len : 0); - return this.pushStack(j >= 0 && j < len ? [this[j]] : []); - }, - - end: function () { - return this.prevObject || this.constructor(); - }, - - // For internal use only. - // Behaves like an Array's method, not like a jQuery method. - push: push, - sort: arr.sort, - splice: arr.splice - }; - - jQuery.extend = jQuery.fn.extend = function () { - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if (typeof target === "boolean") { - deep = target; - - // Skip the boolean and the target - target = arguments[i] || {}; - i++; - } - - // Handle case when target is a string or something (possible in deep copy) - if (typeof target !== "object" && !jQuery.isFunction(target)) { - target = {}; - } - - // Extend jQuery itself if only one argument is passed - if (i === length) { - target = this; - i--; - } - - for (; i < length; i++) { - - // Only deal with non-null/undefined values - if ((options = arguments[i]) != null) { - - // Extend the base object - for (name in options) { - src = target[name]; - copy = options[name]; - - // Prevent never-ending loop - if (target === copy) { - continue; - } - - // Recurse if we're merging plain objects or arrays - if (deep && copy && (jQuery.isPlainObject(copy) || - (copyIsArray = jQuery.isArray(copy)))) { - - if (copyIsArray) { - copyIsArray = false; - clone = src && jQuery.isArray(src) ? src : []; - - } else { - clone = src && jQuery.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[name] = jQuery.extend(deep, clone, copy); - - // Don't bring in undefined values - } else if (copy !== undefined) { - target[name] = copy; - } - } - } - } - - // Return the modified object - return target; - }; - - jQuery.extend({ - - // Unique for each copy of jQuery on the page - expando: "jQuery" + (version + Math.random()).replace(/\D/g, ""), - - // Assume jQuery is ready without the ready module - isReady: true, - - error: function (msg) { - throw new Error(msg); - }, - - noop: function () { }, - - isFunction: function (obj) { - return jQuery.type(obj) === "function"; - }, - - isArray: Array.isArray, - - isWindow: function (obj) { - return obj != null && obj === obj.window; - }, - - isNumeric: function (obj) { - - // parseFloat NaNs numeric-cast false positives (null|true|false|"") - // ...but misinterprets leading-number strings, particularly hex literals ("0x...") - // subtraction forces infinities to NaN - // adding 1 corrects loss of precision from parseFloat (#15100) - var realStringObj = obj && obj.toString(); - return !jQuery.isArray(obj) && (realStringObj - parseFloat(realStringObj) + 1) >= 0; - }, - - isPlainObject: function (obj) { - - // Not plain objects: - // - Any object or value whose internal [[Class]] property is not "[object Object]" - // - DOM nodes - // - window - if (jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow(obj)) { - return false; - } - - if (obj.constructor && - !hasOwn.call(obj.constructor.prototype, "isPrototypeOf")) { - return false; - } - - // If the function hasn't returned already, we're confident that - // |obj| is a plain object, created by {} or constructed with new Object - return true; - }, - - isEmptyObject: function (obj) { - var name; - for (name in obj) { - return false; - } - return true; - }, - - type: function (obj) { - if (obj == null) { - return obj + ""; - } - - // Support: Android<4.0, iOS<6 (functionish RegExp) - return typeof obj === "object" || typeof obj === "function" ? - class2type[toString.call(obj)] || "object" : - typeof obj; - }, - - // Evaluates a script in a global context - globalEval: function (code) { - var script, - indirect = eval; - - code = jQuery.trim(code); - - if (code) { - - // If the code includes a valid, prologue position - // strict mode pragma, execute code by injecting a - // script tag into the document. - if (code.indexOf("use strict") === 1) { - script = document.createElement("script"); - script.text = code; - document.head.appendChild(script).parentNode.removeChild(script); - } else { - - // Otherwise, avoid the DOM node creation, insertion - // and removal by using an indirect global eval - - indirect(code); - } - } - }, - - // Convert dashed to camelCase; used by the css and data modules - // Support: IE9-11+ - // Microsoft forgot to hump their vendor prefix (#9572) - camelCase: function (string) { - return string.replace(rmsPrefix, "ms-").replace(rdashAlpha, fcamelCase); - }, - - nodeName: function (elem, name) { - return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); - }, - - each: function (obj, callback) { - var length, i = 0; - - if (isArrayLike(obj)) { - length = obj.length; - for (; i < length; i++) { - if (callback.call(obj[i], i, obj[i]) === false) { - break; - } - } - } else { - for (i in obj) { - if (callback.call(obj[i], i, obj[i]) === false) { - break; - } - } - } - - return obj; - }, - - // Support: Android<4.1 - trim: function (text) { - return text == null ? - "" : - (text + "").replace(rtrim, ""); - }, - - // results is for internal usage only - makeArray: function (arr, results) { - var ret = results || []; - - if (arr != null) { - if (isArrayLike(Object(arr))) { - jQuery.merge(ret, - typeof arr === "string" ? - [arr] : arr - ); - } else { - push.call(ret, arr); - } - } - - return ret; - }, - - inArray: function (elem, arr, i) { - return arr == null ? -1 : indexOf.call(arr, elem, i); - }, - - merge: function (first, second) { - var len = +second.length, - j = 0, - i = first.length; - - for (; j < len; j++) { - first[i++] = second[j]; - } - - first.length = i; - - return first; - }, - - grep: function (elems, callback, invert) { - var callbackInverse, - matches = [], - i = 0, - length = elems.length, - callbackExpect = !invert; - - // Go through the array, only saving the items - // that pass the validator function - for (; i < length; i++) { - callbackInverse = !callback(elems[i], i); - if (callbackInverse !== callbackExpect) { - matches.push(elems[i]); - } - } - - return matches; - }, - - // arg is for internal usage only - map: function (elems, callback, arg) { - var length, value, - i = 0, - ret = []; - - // Go through the array, translating each of the items to their new values - if (isArrayLike(elems)) { - length = elems.length; - for (; i < length; i++) { - value = callback(elems[i], i, arg); - - if (value != null) { - ret.push(value); - } - } - - // Go through every key on the object, - } else { - for (i in elems) { - value = callback(elems[i], i, arg); - - if (value != null) { - ret.push(value); - } - } - } - - // Flatten any nested arrays - return concat.apply([], ret); - }, - - // A global GUID counter for objects - guid: 1, - - // Bind a function to a context, optionally partially applying any - // arguments. - proxy: function (fn, context) { - var tmp, args, proxy; - - if (typeof context === "string") { - tmp = fn[context]; - context = fn; - fn = tmp; - } - - // Quick check to determine if target is callable, in the spec - // this throws a TypeError, but we will just return undefined. - if (!jQuery.isFunction(fn)) { - return undefined; - } - - // Simulated bind - args = slice.call(arguments, 2); - proxy = function () { - return fn.apply(context || this, args.concat(slice.call(arguments))); - }; - - // Set the guid of unique handler to the same of original handler, so it can be removed - proxy.guid = fn.guid = fn.guid || jQuery.guid++; - - return proxy; - }, - - now: Date.now, - - // jQuery.support is not used in Core but other projects attach their - // properties to it so it needs to exist. - support: support - }); - - // JSHint would error on this code due to the Symbol not being defined in ES5. - // Defining this global in .jshintrc would create a danger of using the global - // unguarded in another place, it seems safer to just disable JSHint for these - // three lines. - /* jshint ignore: start */ - if (typeof Symbol === "function") { - jQuery.fn[Symbol.iterator] = arr[Symbol.iterator]; - } - /* jshint ignore: end */ - - // Populate the class2type map - jQuery.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), - function (i, name) { - class2type["[object " + name + "]"] = name.toLowerCase(); - }); - - function isArrayLike(obj) { - - // Support: iOS 8.2 (not reproducible in simulator) - // `in` check used to prevent JIT error (gh-2145) - // hasOwn isn't used here due to false negatives - // regarding Nodelist length in IE - var length = !!obj && "length" in obj && obj.length, - type = jQuery.type(obj); - - if (type === "function" || jQuery.isWindow(obj)) { - return false; - } - - return type === "array" || length === 0 || - typeof length === "number" && length > 0 && (length - 1) in obj; - } - var Sizzle = - /*! - * Sizzle CSS Selector Engine v2.2.1 - * http://sizzlejs.com/ - * - * Copyright jQuery Foundation and other contributors - * Released under the MIT license - * http://jquery.org/license - * - * Date: 2015-10-17 - */ - (function (window) { - - var i, - support, - Expr, - getText, - isXML, - tokenize, - compile, - select, - outermostContext, - sortInput, - hasDuplicate, - - // Local document vars - setDocument, - document, - docElem, - documentIsHTML, - rbuggyQSA, - rbuggyMatches, - matches, - contains, - - // Instance-specific data - expando = "sizzle" + 1 * new Date(), - preferredDoc = window.document, - dirruns = 0, - done = 0, - classCache = createCache(), - tokenCache = createCache(), - compilerCache = createCache(), - sortOrder = function (a, b) { - if (a === b) { - hasDuplicate = true; - } - return 0; - }, - - // General-purpose constants - MAX_NEGATIVE = 1 << 31, - - // Instance methods - hasOwn = ({}).hasOwnProperty, - arr = [], - pop = arr.pop, - push_native = arr.push, - push = arr.push, - slice = arr.slice, - // Use a stripped-down indexOf as it's faster than native - // http://jsperf.com/thor-indexof-vs-for/5 - indexOf = function (list, elem) { - var i = 0, - len = list.length; - for (; i < len; i++) { - if (list[i] === elem) { - return i; - } - } - return -1; - }, - - booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", - - // Regular expressions - - // http://www.w3.org/TR/css3-selectors/#whitespace - whitespace = "[\\x20\\t\\r\\n\\f]", - - // http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier - identifier = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+", - - // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors - attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + - // Operator (capture 2) - "*([*^$|!~]?=)" + whitespace + - // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]" - "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + whitespace + - "*\\]", - - pseudos = ":(" + identifier + ")(?:\\((" + - // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: - // 1. quoted (capture 3; capture 4 or capture 5) - "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + - // 2. simple (capture 6) - "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + - // 3. anything else (capture 2) - ".*" + - ")\\)|)", - - // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter - rwhitespace = new RegExp(whitespace + "+", "g"), - rtrim = new RegExp("^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g"), - - rcomma = new RegExp("^" + whitespace + "*," + whitespace + "*"), - rcombinators = new RegExp("^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*"), - - rattributeQuotes = new RegExp("=" + whitespace + "*([^\\]'\"]*?)" + whitespace + "*\\]", "g"), - - rpseudo = new RegExp(pseudos), - ridentifier = new RegExp("^" + identifier + "$"), - - matchExpr = { - "ID": new RegExp("^#(" + identifier + ")"), - "CLASS": new RegExp("^\\.(" + identifier + ")"), - "TAG": new RegExp("^(" + identifier + "|[*])"), - "ATTR": new RegExp("^" + attributes), - "PSEUDO": new RegExp("^" + pseudos), - "CHILD": new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace + - "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace + - "*(\\d+)|))" + whitespace + "*\\)|)", "i"), - "bool": new RegExp("^(?:" + booleans + ")$", "i"), - // For use in libraries implementing .is() - // We use this for POS matching in `select` - "needsContext": new RegExp("^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + - whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i") - }, - - rinputs = /^(?:input|select|textarea|button)$/i, - rheader = /^h\d$/i, - - rnative = /^[^{]+\{\s*\[native \w/, - - // Easily-parseable/retrievable ID or TAG or CLASS selectors - rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, - - rsibling = /[+~]/, - rescape = /'|\\/g, - - // CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters - runescape = new RegExp("\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig"), - funescape = function (_, escaped, escapedWhitespace) { - var high = "0x" + escaped - 0x10000; - // NaN means non-codepoint - // Support: Firefox<24 - // Workaround erroneous numeric interpretation of +"0x" - return high !== high || escapedWhitespace ? - escaped : - high < 0 ? - // BMP codepoint - String.fromCharCode(high + 0x10000) : - // Supplemental Plane codepoint (surrogate pair) - String.fromCharCode(high >> 10 | 0xD800, high & 0x3FF | 0xDC00); - }, - - // Used for iframes - // See setDocument() - // Removing the function wrapper causes a "Permission Denied" - // error in IE - unloadHandler = function () { - setDocument(); - }; - - // Optimize for push.apply( _, NodeList ) - try { - push.apply( - (arr = slice.call(preferredDoc.childNodes)), - preferredDoc.childNodes - ); - // Support: Android<4.0 - // Detect silently failing push.apply - arr[preferredDoc.childNodes.length].nodeType; - } catch (e) { - push = { - apply: arr.length ? - - // Leverage slice if possible - function (target, els) { - push_native.apply(target, slice.call(els)); - } : - - // Support: IE<9 - // Otherwise append directly - function (target, els) { - var j = target.length, - i = 0; - // Can't trust NodeList.length - while ((target[j++] = els[i++])) { } - target.length = j - 1; - } - }; - } - - function Sizzle(selector, context, results, seed) { - var m, i, elem, nid, nidselect, match, groups, newSelector, - newContext = context && context.ownerDocument, - - // nodeType defaults to 9, since context defaults to document - nodeType = context ? context.nodeType : 9; - - results = results || []; - - // Return early from calls with invalid selector or context - if (typeof selector !== "string" || !selector || - nodeType !== 1 && nodeType !== 9 && nodeType !== 11) { - - return results; - } - - // Try to shortcut find operations (as opposed to filters) in HTML documents - if (!seed) { - - if ((context ? context.ownerDocument || context : preferredDoc) !== document) { - setDocument(context); - } - context = context || document; - - if (documentIsHTML) { - - // If the selector is sufficiently simple, try using a "get*By*" DOM method - // (excepting DocumentFragment context, where the methods don't exist) - if (nodeType !== 11 && (match = rquickExpr.exec(selector))) { - - // ID selector - if ((m = match[1])) { - - // Document context - if (nodeType === 9) { - if ((elem = context.getElementById(m))) { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if (elem.id === m) { - results.push(elem); - return results; - } - } else { - return results; - } - - // Element context - } else { - - // Support: IE, Opera, Webkit - // TODO: identify versions - // getElementById can match elements by name instead of ID - if (newContext && (elem = newContext.getElementById(m)) && - contains(context, elem) && - elem.id === m) { - - results.push(elem); - return results; - } - } - - // Type selector - } else if (match[2]) { - push.apply(results, context.getElementsByTagName(selector)); - return results; - - // Class selector - } else if ((m = match[3]) && support.getElementsByClassName && - context.getElementsByClassName) { - - push.apply(results, context.getElementsByClassName(m)); - return results; - } - } - - // Take advantage of querySelectorAll - if (support.qsa && - !compilerCache[selector + " "] && - (!rbuggyQSA || !rbuggyQSA.test(selector))) { - - if (nodeType !== 1) { - newContext = context; - newSelector = selector; - - // qSA looks outside Element context, which is not what we want - // Thanks to Andrew Dupont for this workaround technique - // Support: IE <=8 - // Exclude object elements - } else if (context.nodeName.toLowerCase() !== "object") { - - // Capture the context ID, setting it first if necessary - if ((nid = context.getAttribute("id"))) { - nid = nid.replace(rescape, "\\$&"); - } else { - context.setAttribute("id", (nid = expando)); - } - - // Prefix every selector in the list - groups = tokenize(selector); - i = groups.length; - nidselect = ridentifier.test(nid) ? "#" + nid : "[id='" + nid + "']"; - while (i--) { - groups[i] = nidselect + " " + toSelector(groups[i]); - } - newSelector = groups.join(","); - - // Expand context for sibling selectors - newContext = rsibling.test(selector) && testContext(context.parentNode) || - context; - } - - if (newSelector) { - try { - push.apply(results, - newContext.querySelectorAll(newSelector) - ); - return results; - } catch (qsaError) { - } finally { - if (nid === expando) { - context.removeAttribute("id"); - } - } - } - } - } - } - - // All others - return select(selector.replace(rtrim, "$1"), context, results, seed); - } - - /** - * Create key-value caches of limited size - * @returns {function(string, object)} Returns the Object data after storing it on itself with - * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) - * deleting the oldest entry - */ - function createCache() { - var keys = []; - - function cache(key, value) { - // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) - if (keys.push(key + " ") > Expr.cacheLength) { - // Only keep the most recent entries - delete cache[keys.shift()]; - } - return (cache[key + " "] = value); - } - return cache; - } - - /** - * Mark a function for special use by Sizzle - * @param {Function} fn The function to mark - */ - function markFunction(fn) { - fn[expando] = true; - return fn; - } - - /** - * Support testing using an element - * @param {Function} fn Passed the created div and expects a boolean result - */ - function assert(fn) { - var div = document.createElement("div"); - - try { - return !!fn(div); - } catch (e) { - return false; - } finally { - // Remove from its parent by default - if (div.parentNode) { - div.parentNode.removeChild(div); - } - // release memory in IE - div = null; - } - } - - /** - * Adds the same handler for all of the specified attrs - * @param {String} attrs Pipe-separated list of attributes - * @param {Function} handler The method that will be applied - */ - function addHandle(attrs, handler) { - var arr = attrs.split("|"), - i = arr.length; - - while (i--) { - Expr.attrHandle[arr[i]] = handler; - } - } - - /** - * Checks document order of two siblings - * @param {Element} a - * @param {Element} b - * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b - */ - function siblingCheck(a, b) { - var cur = b && a, - diff = cur && a.nodeType === 1 && b.nodeType === 1 && - (~b.sourceIndex || MAX_NEGATIVE) - - (~a.sourceIndex || MAX_NEGATIVE); - - // Use IE sourceIndex if available on both nodes - if (diff) { - return diff; - } - - // Check if b follows a - if (cur) { - while ((cur = cur.nextSibling)) { - if (cur === b) { - return -1; - } - } - } - - return a ? 1 : -1; - } - - /** - * Returns a function to use in pseudos for input types - * @param {String} type - */ - function createInputPseudo(type) { - return function (elem) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === type; - }; - } - - /** - * Returns a function to use in pseudos for buttons - * @param {String} type - */ - function createButtonPseudo(type) { - return function (elem) { - var name = elem.nodeName.toLowerCase(); - return (name === "input" || name === "button") && elem.type === type; - }; - } - - /** - * Returns a function to use in pseudos for positionals - * @param {Function} fn - */ - function createPositionalPseudo(fn) { - return markFunction(function (argument) { - argument = +argument; - return markFunction(function (seed, matches) { - var j, - matchIndexes = fn([], seed.length, argument), - i = matchIndexes.length; - - // Match elements found at the specified indexes - while (i--) { - if (seed[(j = matchIndexes[i])]) { - seed[j] = !(matches[j] = seed[j]); - } - } - }); - }); - } - - /** - * Checks a node for validity as a Sizzle context - * @param {Element|Object=} context - * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value - */ - function testContext(context) { - return context && typeof context.getElementsByTagName !== "undefined" && context; - } - - // Expose support vars for convenience - support = Sizzle.support = {}; - - /** - * Detects XML nodes - * @param {Element|Object} elem An element or a document - * @returns {Boolean} True iff elem is a non-HTML XML node - */ - isXML = Sizzle.isXML = function (elem) { - // documentElement is verified for cases where it doesn't yet exist - // (such as loading iframes in IE - #4833) - var documentElement = elem && (elem.ownerDocument || elem).documentElement; - return documentElement ? documentElement.nodeName !== "HTML" : false; - }; - - /** - * Sets document-related variables once based on the current document - * @param {Element|Object} [doc] An element or document object to use to set the document - * @returns {Object} Returns the current document - */ - setDocument = Sizzle.setDocument = function (node) { - var hasCompare, parent, - doc = node ? node.ownerDocument || node : preferredDoc; - - // Return early if doc is invalid or already selected - if (doc === document || doc.nodeType !== 9 || !doc.documentElement) { - return document; - } - - // Update global variables - document = doc; - docElem = document.documentElement; - documentIsHTML = !isXML(document); - - // Support: IE 9-11, Edge - // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) - if ((parent = document.defaultView) && parent.top !== parent) { - // Support: IE 11 - if (parent.addEventListener) { - parent.addEventListener("unload", unloadHandler, false); - - // Support: IE 9 - 10 only - } else if (parent.attachEvent) { - parent.attachEvent("onunload", unloadHandler); - } - } - - /* Attributes - ---------------------------------------------------------------------- */ - - // Support: IE<8 - // Verify that getAttribute really returns attributes and not properties - // (excepting IE8 booleans) - support.attributes = assert(function (div) { - div.className = "i"; - return !div.getAttribute("className"); - }); - - /* getElement(s)By* - ---------------------------------------------------------------------- */ - - // Check if getElementsByTagName("*") returns only elements - support.getElementsByTagName = assert(function (div) { - div.appendChild(document.createComment("")); - return !div.getElementsByTagName("*").length; - }); - - // Support: IE<9 - support.getElementsByClassName = rnative.test(document.getElementsByClassName); - - // Support: IE<10 - // Check if getElementById returns elements by name - // The broken getElementById methods don't pick up programatically-set names, - // so use a roundabout getElementsByName test - support.getById = assert(function (div) { - docElem.appendChild(div).id = expando; - return !document.getElementsByName || !document.getElementsByName(expando).length; - }); - - // ID find and filter - if (support.getById) { - Expr.find["ID"] = function (id, context) { - if (typeof context.getElementById !== "undefined" && documentIsHTML) { - var m = context.getElementById(id); - return m ? [m] : []; - } - }; - Expr.filter["ID"] = function (id) { - var attrId = id.replace(runescape, funescape); - return function (elem) { - return elem.getAttribute("id") === attrId; - }; - }; - } else { - // Support: IE6/7 - // getElementById is not reliable as a find shortcut - delete Expr.find["ID"]; - - Expr.filter["ID"] = function (id) { - var attrId = id.replace(runescape, funescape); - return function (elem) { - var node = typeof elem.getAttributeNode !== "undefined" && - elem.getAttributeNode("id"); - return node && node.value === attrId; - }; - }; - } - - // Tag - Expr.find["TAG"] = support.getElementsByTagName ? - function (tag, context) { - if (typeof context.getElementsByTagName !== "undefined") { - return context.getElementsByTagName(tag); - - // DocumentFragment nodes don't have gEBTN - } else if (support.qsa) { - return context.querySelectorAll(tag); - } - } : - - function (tag, context) { - var elem, - tmp = [], - i = 0, - // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too - results = context.getElementsByTagName(tag); - - // Filter out possible comments - if (tag === "*") { - while ((elem = results[i++])) { - if (elem.nodeType === 1) { - tmp.push(elem); - } - } - - return tmp; - } - return results; - }; - - // Class - Expr.find["CLASS"] = support.getElementsByClassName && function (className, context) { - if (typeof context.getElementsByClassName !== "undefined" && documentIsHTML) { - return context.getElementsByClassName(className); - } - }; - - /* QSA/matchesSelector - ---------------------------------------------------------------------- */ - - // QSA and matchesSelector support - - // matchesSelector(:active) reports false when true (IE9/Opera 11.5) - rbuggyMatches = []; - - // qSa(:focus) reports false when true (Chrome 21) - // We allow this because of a bug in IE8/9 that throws an error - // whenever `document.activeElement` is accessed on an iframe - // So, we allow :focus to pass through QSA all the time to avoid the IE error - // See http://bugs.jquery.com/ticket/13378 - rbuggyQSA = []; - - if ((support.qsa = rnative.test(document.querySelectorAll))) { - // Build QSA regex - // Regex strategy adopted from Diego Perini - assert(function (div) { - // Select is set to empty string on purpose - // This is to test IE's treatment of not explicitly - // setting a boolean content attribute, - // since its presence should be enough - // http://bugs.jquery.com/ticket/12359 - docElem.appendChild(div).innerHTML = "" + - ""; - - // Support: IE8, Opera 11-12.16 - // Nothing should be selected when empty strings follow ^= or $= or *= - // The test attribute must be unknown in Opera but "safe" for WinRT - // http://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section - if (div.querySelectorAll("[msallowcapture^='']").length) { - rbuggyQSA.push("[*^$]=" + whitespace + "*(?:''|\"\")"); - } - - // Support: IE8 - // Boolean attributes and "value" are not treated correctly - if (!div.querySelectorAll("[selected]").length) { - rbuggyQSA.push("\\[" + whitespace + "*(?:value|" + booleans + ")"); - } - - // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ - if (!div.querySelectorAll("[id~=" + expando + "-]").length) { - rbuggyQSA.push("~="); - } - - // Webkit/Opera - :checked should return selected option elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - // IE8 throws error here and will not see later tests - if (!div.querySelectorAll(":checked").length) { - rbuggyQSA.push(":checked"); - } - - // Support: Safari 8+, iOS 8+ - // https://bugs.webkit.org/show_bug.cgi?id=136851 - // In-page `selector#id sibing-combinator selector` fails - if (!div.querySelectorAll("a#" + expando + "+*").length) { - rbuggyQSA.push(".#.+[+~]"); - } - }); - - assert(function (div) { - // Support: Windows 8 Native Apps - // The type and name attributes are restricted during .innerHTML assignment - var input = document.createElement("input"); - input.setAttribute("type", "hidden"); - div.appendChild(input).setAttribute("name", "D"); - - // Support: IE8 - // Enforce case-sensitivity of name attribute - if (div.querySelectorAll("[name=d]").length) { - rbuggyQSA.push("name" + whitespace + "*[*^$|!~]?="); - } - - // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) - // IE8 throws error here and will not see later tests - if (!div.querySelectorAll(":enabled").length) { - rbuggyQSA.push(":enabled", ":disabled"); - } - - // Opera 10-11 does not throw on post-comma invalid pseudos - div.querySelectorAll("*,:x"); - rbuggyQSA.push(",.*:"); - }); - } - - if ((support.matchesSelector = rnative.test((matches = docElem.matches || - docElem.webkitMatchesSelector || - docElem.mozMatchesSelector || - docElem.oMatchesSelector || - docElem.msMatchesSelector)))) { - - assert(function (div) { - // Check to see if it's possible to do matchesSelector - // on a disconnected node (IE 9) - support.disconnectedMatch = matches.call(div, "div"); - - // This should fail with an exception - // Gecko does not error, returns false instead - matches.call(div, "[s!='']:x"); - rbuggyMatches.push("!=", pseudos); - }); - } - - rbuggyQSA = rbuggyQSA.length && new RegExp(rbuggyQSA.join("|")); - rbuggyMatches = rbuggyMatches.length && new RegExp(rbuggyMatches.join("|")); - - /* Contains - ---------------------------------------------------------------------- */ - hasCompare = rnative.test(docElem.compareDocumentPosition); - - // Element contains another - // Purposefully self-exclusive - // As in, an element does not contain itself - contains = hasCompare || rnative.test(docElem.contains) ? - function (a, b) { - var adown = a.nodeType === 9 ? a.documentElement : a, - bup = b && b.parentNode; - return a === bup || !!(bup && bup.nodeType === 1 && ( - adown.contains ? - adown.contains(bup) : - a.compareDocumentPosition && a.compareDocumentPosition(bup) & 16 - )); - } : - function (a, b) { - if (b) { - while ((b = b.parentNode)) { - if (b === a) { - return true; - } - } - } - return false; - }; - - /* Sorting - ---------------------------------------------------------------------- */ - - // Document order sorting - sortOrder = hasCompare ? - function (a, b) { - - // Flag for duplicate removal - if (a === b) { - hasDuplicate = true; - return 0; - } - - // Sort on method existence if only one input has compareDocumentPosition - var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; - if (compare) { - return compare; - } - - // Calculate position if both inputs belong to the same document - compare = (a.ownerDocument || a) === (b.ownerDocument || b) ? - a.compareDocumentPosition(b) : - - // Otherwise we know they are disconnected - 1; - - // Disconnected nodes - if (compare & 1 || - (!support.sortDetached && b.compareDocumentPosition(a) === compare)) { - - // Choose the first element that is related to our preferred document - if (a === document || a.ownerDocument === preferredDoc && contains(preferredDoc, a)) { - return -1; - } - if (b === document || b.ownerDocument === preferredDoc && contains(preferredDoc, b)) { - return 1; - } - - // Maintain original order - return sortInput ? - (indexOf(sortInput, a) - indexOf(sortInput, b)) : - 0; - } - - return compare & 4 ? -1 : 1; - } : - function (a, b) { - // Exit early if the nodes are identical - if (a === b) { - hasDuplicate = true; - return 0; - } - - var cur, - i = 0, - aup = a.parentNode, - bup = b.parentNode, - ap = [a], - bp = [b]; - - // Parentless nodes are either documents or disconnected - if (!aup || !bup) { - return a === document ? -1 : - b === document ? 1 : - aup ? -1 : - bup ? 1 : - sortInput ? - (indexOf(sortInput, a) - indexOf(sortInput, b)) : - 0; - - // If the nodes are siblings, we can do a quick check - } else if (aup === bup) { - return siblingCheck(a, b); - } - - // Otherwise we need full lists of their ancestors for comparison - cur = a; - while ((cur = cur.parentNode)) { - ap.unshift(cur); - } - cur = b; - while ((cur = cur.parentNode)) { - bp.unshift(cur); - } - - // Walk down the tree looking for a discrepancy - while (ap[i] === bp[i]) { - i++; - } - - return i ? - // Do a sibling check if the nodes have a common ancestor - siblingCheck(ap[i], bp[i]) : - - // Otherwise nodes in our document sort first - ap[i] === preferredDoc ? -1 : - bp[i] === preferredDoc ? 1 : - 0; - }; - - return document; - }; - - Sizzle.matches = function (expr, elements) { - return Sizzle(expr, null, null, elements); - }; - - Sizzle.matchesSelector = function (elem, expr) { - // Set document vars if needed - if ((elem.ownerDocument || elem) !== document) { - setDocument(elem); - } - - // Make sure that attribute selectors are quoted - expr = expr.replace(rattributeQuotes, "='$1']"); - - if (support.matchesSelector && documentIsHTML && - !compilerCache[expr + " "] && - (!rbuggyMatches || !rbuggyMatches.test(expr)) && - (!rbuggyQSA || !rbuggyQSA.test(expr))) { - - try { - var ret = matches.call(elem, expr); - - // IE 9's matchesSelector returns false on disconnected nodes - if (ret || support.disconnectedMatch || - // As well, disconnected nodes are said to be in a document - // fragment in IE 9 - elem.document && elem.document.nodeType !== 11) { - return ret; - } - } catch (e) { } - } - - return Sizzle(expr, document, null, [elem]).length > 0; - }; - - Sizzle.contains = function (context, elem) { - // Set document vars if needed - if ((context.ownerDocument || context) !== document) { - setDocument(context); - } - return contains(context, elem); - }; - - Sizzle.attr = function (elem, name) { - // Set document vars if needed - if ((elem.ownerDocument || elem) !== document) { - setDocument(elem); - } - - var fn = Expr.attrHandle[name.toLowerCase()], - // Don't get fooled by Object.prototype properties (jQuery #13807) - val = fn && hasOwn.call(Expr.attrHandle, name.toLowerCase()) ? - fn(elem, name, !documentIsHTML) : - undefined; - - return val !== undefined ? - val : - support.attributes || !documentIsHTML ? - elem.getAttribute(name) : - (val = elem.getAttributeNode(name)) && val.specified ? - val.value : - null; - }; - - Sizzle.error = function (msg) { - throw new Error("Syntax error, unrecognized expression: " + msg); - }; - - /** - * Document sorting and removing duplicates - * @param {ArrayLike} results - */ - Sizzle.uniqueSort = function (results) { - var elem, - duplicates = [], - j = 0, - i = 0; - - // Unless we *know* we can detect duplicates, assume their presence - hasDuplicate = !support.detectDuplicates; - sortInput = !support.sortStable && results.slice(0); - results.sort(sortOrder); - - if (hasDuplicate) { - while ((elem = results[i++])) { - if (elem === results[i]) { - j = duplicates.push(i); - } - } - while (j--) { - results.splice(duplicates[j], 1); - } - } - - // Clear input after sorting to release objects - // See https://github.com/jquery/sizzle/pull/225 - sortInput = null; - - return results; - }; - - /** - * Utility function for retrieving the text value of an array of DOM nodes - * @param {Array|Element} elem - */ - getText = Sizzle.getText = function (elem) { - var node, - ret = "", - i = 0, - nodeType = elem.nodeType; - - if (!nodeType) { - // If no nodeType, this is expected to be an array - while ((node = elem[i++])) { - // Do not traverse comment nodes - ret += getText(node); - } - } else if (nodeType === 1 || nodeType === 9 || nodeType === 11) { - // Use textContent for elements - // innerText usage removed for consistency of new lines (jQuery #11153) - if (typeof elem.textContent === "string") { - return elem.textContent; - } else { - // Traverse its children - for (elem = elem.firstChild; elem; elem = elem.nextSibling) { - ret += getText(elem); - } - } - } else if (nodeType === 3 || nodeType === 4) { - return elem.nodeValue; - } - // Do not include comment or processing instruction nodes - - return ret; - }; - - Expr = Sizzle.selectors = { - - // Can be adjusted by the user - cacheLength: 50, - - createPseudo: markFunction, - - match: matchExpr, - - attrHandle: {}, - - find: {}, - - relative: { - ">": { dir: "parentNode", first: true }, - " ": { dir: "parentNode" }, - "+": { dir: "previousSibling", first: true }, - "~": { dir: "previousSibling" } - }, - - preFilter: { - "ATTR": function (match) { - match[1] = match[1].replace(runescape, funescape); - - // Move the given value to match[3] whether quoted or unquoted - match[3] = (match[3] || match[4] || match[5] || "").replace(runescape, funescape); - - if (match[2] === "~=") { - match[3] = " " + match[3] + " "; - } - - return match.slice(0, 4); - }, - - "CHILD": function (match) { - /* matches from matchExpr["CHILD"] - 1 type (only|nth|...) - 2 what (child|of-type) - 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) - 4 xn-component of xn+y argument ([+-]?\d*n|) - 5 sign of xn-component - 6 x of xn-component - 7 sign of y-component - 8 y of y-component - */ - match[1] = match[1].toLowerCase(); - - if (match[1].slice(0, 3) === "nth") { - // nth-* requires argument - if (!match[3]) { - Sizzle.error(match[0]); - } - - // numeric x and y parameters for Expr.filter.CHILD - // remember that false/true cast respectively to 0/1 - match[4] = +(match[4] ? match[5] + (match[6] || 1) : 2 * (match[3] === "even" || match[3] === "odd")); - match[5] = +((match[7] + match[8]) || match[3] === "odd"); - - // other types prohibit arguments - } else if (match[3]) { - Sizzle.error(match[0]); - } - - return match; - }, - - "PSEUDO": function (match) { - var excess, - unquoted = !match[6] && match[2]; - - if (matchExpr["CHILD"].test(match[0])) { - return null; - } - - // Accept quoted arguments as-is - if (match[3]) { - match[2] = match[4] || match[5] || ""; - - // Strip excess characters from unquoted arguments - } else if (unquoted && rpseudo.test(unquoted) && - // Get excess from tokenize (recursively) - (excess = tokenize(unquoted, true)) && - // advance to the next closing parenthesis - (excess = unquoted.indexOf(")", unquoted.length - excess) - unquoted.length)) { - - // excess is a negative index - match[0] = match[0].slice(0, excess); - match[2] = unquoted.slice(0, excess); - } - - // Return only captures needed by the pseudo filter method (type and argument) - return match.slice(0, 3); - } - }, - - filter: { - - "TAG": function (nodeNameSelector) { - var nodeName = nodeNameSelector.replace(runescape, funescape).toLowerCase(); - return nodeNameSelector === "*" ? - function () { return true; } : - function (elem) { - return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; - }; - }, - - "CLASS": function (className) { - var pattern = classCache[className + " "]; - - return pattern || - (pattern = new RegExp("(^|" + whitespace + ")" + className + "(" + whitespace + "|$)")) && - classCache(className, function (elem) { - return pattern.test(typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== "undefined" && elem.getAttribute("class") || ""); - }); - }, - - "ATTR": function (name, operator, check) { - return function (elem) { - var result = Sizzle.attr(elem, name); - - if (result == null) { - return operator === "!="; - } - if (!operator) { - return true; - } - - result += ""; - - return operator === "=" ? result === check : - operator === "!=" ? result !== check : - operator === "^=" ? check && result.indexOf(check) === 0 : - operator === "*=" ? check && result.indexOf(check) > -1 : - operator === "$=" ? check && result.slice(-check.length) === check : - operator === "~=" ? (" " + result.replace(rwhitespace, " ") + " ").indexOf(check) > -1 : - operator === "|=" ? result === check || result.slice(0, check.length + 1) === check + "-" : - false; - }; - }, - - "CHILD": function (type, what, argument, first, last) { - var simple = type.slice(0, 3) !== "nth", - forward = type.slice(-4) !== "last", - ofType = what === "of-type"; - - return first === 1 && last === 0 ? - - // Shortcut for :nth-*(n) - function (elem) { - return !!elem.parentNode; - } : - - function (elem, context, xml) { - var cache, uniqueCache, outerCache, node, nodeIndex, start, - dir = simple !== forward ? "nextSibling" : "previousSibling", - parent = elem.parentNode, - name = ofType && elem.nodeName.toLowerCase(), - useCache = !xml && !ofType, - diff = false; - - if (parent) { - - // :(first|last|only)-(child|of-type) - if (simple) { - while (dir) { - node = elem; - while ((node = node[dir])) { - if (ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1) { - - return false; - } - } - // Reverse direction for :only-* (if we haven't yet done so) - start = dir = type === "only" && !start && "nextSibling"; - } - return true; - } - - start = [forward ? parent.firstChild : parent.lastChild]; - - // non-xml :nth-child(...) stores cache data on `parent` - if (forward && useCache) { - - // Seek `elem` from a previously-cached index - - // ...in a gzip-friendly way - node = parent; - outerCache = node[expando] || (node[expando] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[node.uniqueID] || - (outerCache[node.uniqueID] = {}); - - cache = uniqueCache[type] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = nodeIndex && cache[2]; - node = nodeIndex && parent.childNodes[nodeIndex]; - - while ((node = ++nodeIndex && node && node[dir] || - - // Fallback to seeking `elem` from the start - (diff = nodeIndex = 0) || start.pop())) { - - // When found, cache indexes on `parent` and break - if (node.nodeType === 1 && ++diff && node === elem) { - uniqueCache[type] = [dirruns, nodeIndex, diff]; - break; - } - } - - } else { - // Use previously-cached element index if available - if (useCache) { - // ...in a gzip-friendly way - node = elem; - outerCache = node[expando] || (node[expando] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[node.uniqueID] || - (outerCache[node.uniqueID] = {}); - - cache = uniqueCache[type] || []; - nodeIndex = cache[0] === dirruns && cache[1]; - diff = nodeIndex; - } - - // xml :nth-child(...) - // or :nth-last-child(...) or :nth(-last)?-of-type(...) - if (diff === false) { - // Use the same loop as above to seek `elem` from the start - while ((node = ++nodeIndex && node && node[dir] || - (diff = nodeIndex = 0) || start.pop())) { - - if ((ofType ? - node.nodeName.toLowerCase() === name : - node.nodeType === 1) && - ++diff) { - - // Cache the index of each encountered element - if (useCache) { - outerCache = node[expando] || (node[expando] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[node.uniqueID] || - (outerCache[node.uniqueID] = {}); - - uniqueCache[type] = [dirruns, diff]; - } - - if (node === elem) { - break; - } - } - } - } - } - - // Incorporate the offset, then check against cycle size - diff -= last; - return diff === first || (diff % first === 0 && diff / first >= 0); - } - }; - }, - - "PSEUDO": function (pseudo, argument) { - // pseudo-class names are case-insensitive - // http://www.w3.org/TR/selectors/#pseudo-classes - // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters - // Remember that setFilters inherits from pseudos - var args, - fn = Expr.pseudos[pseudo] || Expr.setFilters[pseudo.toLowerCase()] || - Sizzle.error("unsupported pseudo: " + pseudo); - - // The user may use createPseudo to indicate that - // arguments are needed to create the filter function - // just as Sizzle does - if (fn[expando]) { - return fn(argument); - } - - // But maintain support for old signatures - if (fn.length > 1) { - args = [pseudo, pseudo, "", argument]; - return Expr.setFilters.hasOwnProperty(pseudo.toLowerCase()) ? - markFunction(function (seed, matches) { - var idx, - matched = fn(seed, argument), - i = matched.length; - while (i--) { - idx = indexOf(seed, matched[i]); - seed[idx] = !(matches[idx] = matched[i]); - } - }) : - function (elem) { - return fn(elem, 0, args); - }; - } - - return fn; - } - }, - - pseudos: { - // Potentially complex pseudos - "not": markFunction(function (selector) { - // Trim the selector passed to compile - // to avoid treating leading and trailing - // spaces as combinators - var input = [], - results = [], - matcher = compile(selector.replace(rtrim, "$1")); - - return matcher[expando] ? - markFunction(function (seed, matches, context, xml) { - var elem, - unmatched = matcher(seed, null, xml, []), - i = seed.length; - - // Match elements unmatched by `matcher` - while (i--) { - if ((elem = unmatched[i])) { - seed[i] = !(matches[i] = elem); - } - } - }) : - function (elem, context, xml) { - input[0] = elem; - matcher(input, null, xml, results); - // Don't keep the element (issue #299) - input[0] = null; - return !results.pop(); - }; - }), - - "has": markFunction(function (selector) { - return function (elem) { - return Sizzle(selector, elem).length > 0; - }; - }), - - "contains": markFunction(function (text) { - text = text.replace(runescape, funescape); - return function (elem) { - return (elem.textContent || elem.innerText || getText(elem)).indexOf(text) > -1; - }; - }), - - // "Whether an element is represented by a :lang() selector - // is based solely on the element's language value - // being equal to the identifier C, - // or beginning with the identifier C immediately followed by "-". - // The matching of C against the element's language value is performed case-insensitively. - // The identifier C does not have to be a valid language name." - // http://www.w3.org/TR/selectors/#lang-pseudo - "lang": markFunction(function (lang) { - // lang value must be a valid identifier - if (!ridentifier.test(lang || "")) { - Sizzle.error("unsupported lang: " + lang); - } - lang = lang.replace(runescape, funescape).toLowerCase(); - return function (elem) { - var elemLang; - do { - if ((elemLang = documentIsHTML ? - elem.lang : - elem.getAttribute("xml:lang") || elem.getAttribute("lang"))) { - - elemLang = elemLang.toLowerCase(); - return elemLang === lang || elemLang.indexOf(lang + "-") === 0; - } - } while ((elem = elem.parentNode) && elem.nodeType === 1); - return false; - }; - }), - - // Miscellaneous - "target": function (elem) { - var hash = window.location && window.location.hash; - return hash && hash.slice(1) === elem.id; - }, - - "root": function (elem) { - return elem === docElem; - }, - - "focus": function (elem) { - return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex); - }, - - // Boolean properties - "enabled": function (elem) { - return elem.disabled === false; - }, - - "disabled": function (elem) { - return elem.disabled === true; - }, - - "checked": function (elem) { - // In CSS3, :checked should return both checked and selected elements - // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked - var nodeName = elem.nodeName.toLowerCase(); - return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected); - }, - - "selected": function (elem) { - // Accessing this property makes selected-by-default - // options in Safari work properly - if (elem.parentNode) { - elem.parentNode.selectedIndex; - } - - return elem.selected === true; - }, - - // Contents - "empty": function (elem) { - // http://www.w3.org/TR/selectors/#empty-pseudo - // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), - // but not by others (comment: 8; processing instruction: 7; etc.) - // nodeType < 6 works because attributes (2) do not appear as children - for (elem = elem.firstChild; elem; elem = elem.nextSibling) { - if (elem.nodeType < 6) { - return false; - } - } - return true; - }, - - "parent": function (elem) { - return !Expr.pseudos["empty"](elem); - }, - - // Element/input types - "header": function (elem) { - return rheader.test(elem.nodeName); - }, - - "input": function (elem) { - return rinputs.test(elem.nodeName); - }, - - "button": function (elem) { - var name = elem.nodeName.toLowerCase(); - return name === "input" && elem.type === "button" || name === "button"; - }, - - "text": function (elem) { - var attr; - return elem.nodeName.toLowerCase() === "input" && - elem.type === "text" && - - // Support: IE<8 - // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" - ((attr = elem.getAttribute("type")) == null || attr.toLowerCase() === "text"); - }, - - // Position-in-collection - "first": createPositionalPseudo(function () { - return [0]; - }), - - "last": createPositionalPseudo(function (matchIndexes, length) { - return [length - 1]; - }), - - "eq": createPositionalPseudo(function (matchIndexes, length, argument) { - return [argument < 0 ? argument + length : argument]; - }), - - "even": createPositionalPseudo(function (matchIndexes, length) { - var i = 0; - for (; i < length; i += 2) { - matchIndexes.push(i); - } - return matchIndexes; - }), - - "odd": createPositionalPseudo(function (matchIndexes, length) { - var i = 1; - for (; i < length; i += 2) { - matchIndexes.push(i); - } - return matchIndexes; - }), - - "lt": createPositionalPseudo(function (matchIndexes, length, argument) { - var i = argument < 0 ? argument + length : argument; - for (; --i >= 0;) { - matchIndexes.push(i); - } - return matchIndexes; - }), - - "gt": createPositionalPseudo(function (matchIndexes, length, argument) { - var i = argument < 0 ? argument + length : argument; - for (; ++i < length;) { - matchIndexes.push(i); - } - return matchIndexes; - }) - } - }; - - Expr.pseudos["nth"] = Expr.pseudos["eq"]; - - // Add button/input type pseudos - for (i in { radio: true, checkbox: true, file: true, password: true, image: true }) { - Expr.pseudos[i] = createInputPseudo(i); - } - for (i in { submit: true, reset: true }) { - Expr.pseudos[i] = createButtonPseudo(i); - } - - // Easy API for creating new setFilters - function setFilters() { } - setFilters.prototype = Expr.filters = Expr.pseudos; - Expr.setFilters = new setFilters(); - - tokenize = Sizzle.tokenize = function (selector, parseOnly) { - var matched, match, tokens, type, - soFar, groups, preFilters, - cached = tokenCache[selector + " "]; - - if (cached) { - return parseOnly ? 0 : cached.slice(0); - } - - soFar = selector; - groups = []; - preFilters = Expr.preFilter; - - while (soFar) { - - // Comma and first run - if (!matched || (match = rcomma.exec(soFar))) { - if (match) { - // Don't consume trailing commas as valid - soFar = soFar.slice(match[0].length) || soFar; - } - groups.push((tokens = [])); - } - - matched = false; - - // Combinators - if ((match = rcombinators.exec(soFar))) { - matched = match.shift(); - tokens.push({ - value: matched, - // Cast descendant combinators to space - type: match[0].replace(rtrim, " ") - }); - soFar = soFar.slice(matched.length); - } - - // Filters - for (type in Expr.filter) { - if ((match = matchExpr[type].exec(soFar)) && (!preFilters[type] || - (match = preFilters[type](match)))) { - matched = match.shift(); - tokens.push({ - value: matched, - type: type, - matches: match - }); - soFar = soFar.slice(matched.length); - } - } - - if (!matched) { - break; - } - } - - // Return the length of the invalid excess - // if we're just parsing - // Otherwise, throw an error or return tokens - return parseOnly ? - soFar.length : - soFar ? - Sizzle.error(selector) : - // Cache the tokens - tokenCache(selector, groups).slice(0); - }; - - function toSelector(tokens) { - var i = 0, - len = tokens.length, - selector = ""; - for (; i < len; i++) { - selector += tokens[i].value; - } - return selector; - } - - function addCombinator(matcher, combinator, base) { - var dir = combinator.dir, - checkNonElements = base && dir === "parentNode", - doneName = done++; - - return combinator.first ? - // Check against closest ancestor/preceding element - function (elem, context, xml) { - while ((elem = elem[dir])) { - if (elem.nodeType === 1 || checkNonElements) { - return matcher(elem, context, xml); - } - } - } : - - // Check against all ancestor/preceding elements - function (elem, context, xml) { - var oldCache, uniqueCache, outerCache, - newCache = [dirruns, doneName]; - - // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching - if (xml) { - while ((elem = elem[dir])) { - if (elem.nodeType === 1 || checkNonElements) { - if (matcher(elem, context, xml)) { - return true; - } - } - } - } else { - while ((elem = elem[dir])) { - if (elem.nodeType === 1 || checkNonElements) { - outerCache = elem[expando] || (elem[expando] = {}); - - // Support: IE <9 only - // Defend against cloned attroperties (jQuery gh-1709) - uniqueCache = outerCache[elem.uniqueID] || (outerCache[elem.uniqueID] = {}); - - if ((oldCache = uniqueCache[dir]) && - oldCache[0] === dirruns && oldCache[1] === doneName) { - - // Assign to newCache so results back-propagate to previous elements - return (newCache[2] = oldCache[2]); - } else { - // Reuse newcache so results back-propagate to previous elements - uniqueCache[dir] = newCache; - - // A match means we're done; a fail means we have to keep checking - if ((newCache[2] = matcher(elem, context, xml))) { - return true; - } - } - } - } - } - }; - } - - function elementMatcher(matchers) { - return matchers.length > 1 ? - function (elem, context, xml) { - var i = matchers.length; - while (i--) { - if (!matchers[i](elem, context, xml)) { - return false; - } - } - return true; - } : - matchers[0]; - } - - function multipleContexts(selector, contexts, results) { - var i = 0, - len = contexts.length; - for (; i < len; i++) { - Sizzle(selector, contexts[i], results); - } - return results; - } - - function condense(unmatched, map, filter, context, xml) { - var elem, - newUnmatched = [], - i = 0, - len = unmatched.length, - mapped = map != null; - - for (; i < len; i++) { - if ((elem = unmatched[i])) { - if (!filter || filter(elem, context, xml)) { - newUnmatched.push(elem); - if (mapped) { - map.push(i); - } - } - } - } - - return newUnmatched; - } - - function setMatcher(preFilter, selector, matcher, postFilter, postFinder, postSelector) { - if (postFilter && !postFilter[expando]) { - postFilter = setMatcher(postFilter); - } - if (postFinder && !postFinder[expando]) { - postFinder = setMatcher(postFinder, postSelector); - } - return markFunction(function (seed, results, context, xml) { - var temp, i, elem, - preMap = [], - postMap = [], - preexisting = results.length, - - // Get initial elements from seed or context - elems = seed || multipleContexts(selector || "*", context.nodeType ? [context] : context, []), - - // Prefilter to get matcher input, preserving a map for seed-results synchronization - matcherIn = preFilter && (seed || !selector) ? - condense(elems, preMap, preFilter, context, xml) : - elems, - - matcherOut = matcher ? - // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, - postFinder || (seed ? preFilter : preexisting || postFilter) ? - - // ...intermediate processing is necessary - [] : - - // ...otherwise use results directly - results : - matcherIn; - - // Find primary matches - if (matcher) { - matcher(matcherIn, matcherOut, context, xml); - } - - // Apply postFilter - if (postFilter) { - temp = condense(matcherOut, postMap); - postFilter(temp, [], context, xml); - - // Un-match failing elements by moving them back to matcherIn - i = temp.length; - while (i--) { - if ((elem = temp[i])) { - matcherOut[postMap[i]] = !(matcherIn[postMap[i]] = elem); - } - } - } - - if (seed) { - if (postFinder || preFilter) { - if (postFinder) { - // Get the final matcherOut by condensing this intermediate into postFinder contexts - temp = []; - i = matcherOut.length; - while (i--) { - if ((elem = matcherOut[i])) { - // Restore matcherIn since elem is not yet a final match - temp.push((matcherIn[i] = elem)); - } - } - postFinder(null, (matcherOut = []), temp, xml); - } - - // Move matched elements from seed to results to keep them synchronized - i = matcherOut.length; - while (i--) { - if ((elem = matcherOut[i]) && - (temp = postFinder ? indexOf(seed, elem) : preMap[i]) > -1) { - - seed[temp] = !(results[temp] = elem); - } - } - } - - // Add elements to results, through postFinder if defined - } else { - matcherOut = condense( - matcherOut === results ? - matcherOut.splice(preexisting, matcherOut.length) : - matcherOut - ); - if (postFinder) { - postFinder(null, results, matcherOut, xml); - } else { - push.apply(results, matcherOut); - } - } - }); - } - - function matcherFromTokens(tokens) { - var checkContext, matcher, j, - len = tokens.length, - leadingRelative = Expr.relative[tokens[0].type], - implicitRelative = leadingRelative || Expr.relative[" "], - i = leadingRelative ? 1 : 0, - - // The foundational matcher ensures that elements are reachable from top-level context(s) - matchContext = addCombinator(function (elem) { - return elem === checkContext; - }, implicitRelative, true), - matchAnyContext = addCombinator(function (elem) { - return indexOf(checkContext, elem) > -1; - }, implicitRelative, true), - matchers = [function (elem, context, xml) { - var ret = (!leadingRelative && (xml || context !== outermostContext)) || ( - (checkContext = context).nodeType ? - matchContext(elem, context, xml) : - matchAnyContext(elem, context, xml)); - // Avoid hanging onto element (issue #299) - checkContext = null; - return ret; - }]; - - for (; i < len; i++) { - if ((matcher = Expr.relative[tokens[i].type])) { - matchers = [addCombinator(elementMatcher(matchers), matcher)]; - } else { - matcher = Expr.filter[tokens[i].type].apply(null, tokens[i].matches); - - // Return special upon seeing a positional matcher - if (matcher[expando]) { - // Find the next relative operator (if any) for proper handling - j = ++i; - for (; j < len; j++) { - if (Expr.relative[tokens[j].type]) { - break; - } - } - return setMatcher( - i > 1 && elementMatcher(matchers), - i > 1 && toSelector( - // If the preceding token was a descendant combinator, insert an implicit any-element `*` - tokens.slice(0, i - 1).concat({ value: tokens[i - 2].type === " " ? "*" : "" }) - ).replace(rtrim, "$1"), - matcher, - i < j && matcherFromTokens(tokens.slice(i, j)), - j < len && matcherFromTokens((tokens = tokens.slice(j))), - j < len && toSelector(tokens) - ); - } - matchers.push(matcher); - } - } - - return elementMatcher(matchers); - } - - function matcherFromGroupMatchers(elementMatchers, setMatchers) { - var bySet = setMatchers.length > 0, - byElement = elementMatchers.length > 0, - superMatcher = function (seed, context, xml, results, outermost) { - var elem, j, matcher, - matchedCount = 0, - i = "0", - unmatched = seed && [], - setMatched = [], - contextBackup = outermostContext, - // We must always have either seed elements or outermost context - elems = seed || byElement && Expr.find["TAG"]("*", outermost), - // Use integer dirruns iff this is the outermost matcher - dirrunsUnique = (dirruns += contextBackup == null ? 1 : Math.random() || 0.1), - len = elems.length; - - if (outermost) { - outermostContext = context === document || context || outermost; - } - - // Add elements passing elementMatchers directly to results - // Support: IE<9, Safari - // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id - for (; i !== len && (elem = elems[i]) != null; i++) { - if (byElement && elem) { - j = 0; - if (!context && elem.ownerDocument !== document) { - setDocument(elem); - xml = !documentIsHTML; - } - while ((matcher = elementMatchers[j++])) { - if (matcher(elem, context || document, xml)) { - results.push(elem); - break; - } - } - if (outermost) { - dirruns = dirrunsUnique; - } - } - - // Track unmatched elements for set filters - if (bySet) { - // They will have gone through all possible matchers - if ((elem = !matcher && elem)) { - matchedCount--; - } - - // Lengthen the array for every element, matched or not - if (seed) { - unmatched.push(elem); - } - } - } - - // `i` is now the count of elements visited above, and adding it to `matchedCount` - // makes the latter nonnegative. - matchedCount += i; - - // Apply set filters to unmatched elements - // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` - // equals `i`), unless we didn't visit _any_ elements in the above loop because we have - // no element matchers and no seed. - // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that - // case, which will result in a "00" `matchedCount` that differs from `i` but is also - // numerically zero. - if (bySet && i !== matchedCount) { - j = 0; - while ((matcher = setMatchers[j++])) { - matcher(unmatched, setMatched, context, xml); - } - - if (seed) { - // Reintegrate element matches to eliminate the need for sorting - if (matchedCount > 0) { - while (i--) { - if (!(unmatched[i] || setMatched[i])) { - setMatched[i] = pop.call(results); - } - } - } - - // Discard index placeholder values to get only actual matches - setMatched = condense(setMatched); - } - - // Add matches to results - push.apply(results, setMatched); - - // Seedless set matches succeeding multiple successful matchers stipulate sorting - if (outermost && !seed && setMatched.length > 0 && - (matchedCount + setMatchers.length) > 1) { - - Sizzle.uniqueSort(results); - } - } - - // Override manipulation of globals by nested matchers - if (outermost) { - dirruns = dirrunsUnique; - outermostContext = contextBackup; - } - - return unmatched; - }; - - return bySet ? - markFunction(superMatcher) : - superMatcher; - } - - compile = Sizzle.compile = function (selector, match /* Internal Use Only */) { - var i, - setMatchers = [], - elementMatchers = [], - cached = compilerCache[selector + " "]; - - if (!cached) { - // Generate a function of recursive functions that can be used to check each element - if (!match) { - match = tokenize(selector); - } - i = match.length; - while (i--) { - cached = matcherFromTokens(match[i]); - if (cached[expando]) { - setMatchers.push(cached); - } else { - elementMatchers.push(cached); - } - } - - // Cache the compiled function - cached = compilerCache(selector, matcherFromGroupMatchers(elementMatchers, setMatchers)); - - // Save selector and tokenization - cached.selector = selector; - } - return cached; - }; - - /** - * A low-level selection function that works with Sizzle's compiled - * selector functions - * @param {String|Function} selector A selector or a pre-compiled - * selector function built with Sizzle.compile - * @param {Element} context - * @param {Array} [results] - * @param {Array} [seed] A set of elements to match against - */ - select = Sizzle.select = function (selector, context, results, seed) { - var i, tokens, token, type, find, - compiled = typeof selector === "function" && selector, - match = !seed && tokenize((selector = compiled.selector || selector)); - - results = results || []; - - // Try to minimize operations if there is only one selector in the list and no seed - // (the latter of which guarantees us context) - if (match.length === 1) { - - // Reduce context if the leading compound selector is an ID - tokens = match[0] = match[0].slice(0); - if (tokens.length > 2 && (token = tokens[0]).type === "ID" && - support.getById && context.nodeType === 9 && documentIsHTML && - Expr.relative[tokens[1].type]) { - - context = (Expr.find["ID"](token.matches[0].replace(runescape, funescape), context) || [])[0]; - if (!context) { - return results; - - // Precompiled matchers will still verify ancestry, so step up a level - } else if (compiled) { - context = context.parentNode; - } - - selector = selector.slice(tokens.shift().value.length); - } - - // Fetch a seed set for right-to-left matching - i = matchExpr["needsContext"].test(selector) ? 0 : tokens.length; - while (i--) { - token = tokens[i]; - - // Abort if we hit a combinator - if (Expr.relative[(type = token.type)]) { - break; - } - if ((find = Expr.find[type])) { - // Search, expanding context for leading sibling combinators - if ((seed = find( - token.matches[0].replace(runescape, funescape), - rsibling.test(tokens[0].type) && testContext(context.parentNode) || context - ))) { - - // If seed is empty or no tokens remain, we can return early - tokens.splice(i, 1); - selector = seed.length && toSelector(tokens); - if (!selector) { - push.apply(results, seed); - return results; - } - - break; - } - } - } - } - - // Compile and execute a filtering function if one is not provided - // Provide `match` to avoid retokenization if we modified the selector above - (compiled || compile(selector, match))( - seed, - context, - !documentIsHTML, - results, - !context || rsibling.test(selector) && testContext(context.parentNode) || context - ); - return results; - }; - - // One-time assignments - - // Sort stability - support.sortStable = expando.split("").sort(sortOrder).join("") === expando; - - // Support: Chrome 14-35+ - // Always assume duplicates if they aren't passed to the comparison function - support.detectDuplicates = !!hasDuplicate; - - // Initialize against the default document - setDocument(); - - // Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) - // Detached nodes confoundingly follow *each other* - support.sortDetached = assert(function (div1) { - // Should return 1, but returns 4 (following) - return div1.compareDocumentPosition(document.createElement("div")) & 1; - }); - - // Support: IE<8 - // Prevent attribute/property "interpolation" - // http://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx - if (!assert(function (div) { - div.innerHTML = ""; - return div.firstChild.getAttribute("href") === "#"; - })) { - addHandle("type|href|height|width", function (elem, name, isXML) { - if (!isXML) { - return elem.getAttribute(name, name.toLowerCase() === "type" ? 1 : 2); - } - }); - } - - // Support: IE<9 - // Use defaultValue in place of getAttribute("value") - if (!support.attributes || !assert(function (div) { - div.innerHTML = ""; - div.firstChild.setAttribute("value", ""); - return div.firstChild.getAttribute("value") === ""; - })) { - addHandle("value", function (elem, name, isXML) { - if (!isXML && elem.nodeName.toLowerCase() === "input") { - return elem.defaultValue; - } - }); - } - - // Support: IE<9 - // Use getAttributeNode to fetch booleans when getAttribute lies - if (!assert(function (div) { - return div.getAttribute("disabled") == null; - })) { - addHandle(booleans, function (elem, name, isXML) { - var val; - if (!isXML) { - return elem[name] === true ? name.toLowerCase() : - (val = elem.getAttributeNode(name)) && val.specified ? - val.value : - null; - } - }); - } - - return Sizzle; - - })(window); - - - - jQuery.find = Sizzle; - jQuery.expr = Sizzle.selectors; - jQuery.expr[":"] = jQuery.expr.pseudos; - jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; - jQuery.text = Sizzle.getText; - jQuery.isXMLDoc = Sizzle.isXML; - jQuery.contains = Sizzle.contains; - - - - var dir = function (elem, dir, until) { - var matched = [], - truncate = until !== undefined; - - while ((elem = elem[dir]) && elem.nodeType !== 9) { - if (elem.nodeType === 1) { - if (truncate && jQuery(elem).is(until)) { - break; - } - matched.push(elem); - } - } - return matched; - }; - - - var siblings = function (n, elem) { - var matched = []; - - for (; n; n = n.nextSibling) { - if (n.nodeType === 1 && n !== elem) { - matched.push(n); - } - } - - return matched; - }; - - - var rneedsContext = jQuery.expr.match.needsContext; - - var rsingleTag = (/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/); - - - - var risSimple = /^.[^:#\[\.,]*$/; - - // Implement the identical functionality for filter and not - function winnow(elements, qualifier, not) { - if (jQuery.isFunction(qualifier)) { - return jQuery.grep(elements, function (elem, i) { - /* jshint -W018 */ - return !!qualifier.call(elem, i, elem) !== not; - }); - - } - - if (qualifier.nodeType) { - return jQuery.grep(elements, function (elem) { - return (elem === qualifier) !== not; - }); - - } - - if (typeof qualifier === "string") { - if (risSimple.test(qualifier)) { - return jQuery.filter(qualifier, elements, not); - } - - qualifier = jQuery.filter(qualifier, elements); - } - - return jQuery.grep(elements, function (elem) { - return (indexOf.call(qualifier, elem) > -1) !== not; - }); - } - - jQuery.filter = function (expr, elems, not) { - var elem = elems[0]; - - if (not) { - expr = ":not(" + expr + ")"; - } - - return elems.length === 1 && elem.nodeType === 1 ? - jQuery.find.matchesSelector(elem, expr) ? [elem] : [] : - jQuery.find.matches(expr, jQuery.grep(elems, function (elem) { - return elem.nodeType === 1; - })); - }; - - jQuery.fn.extend({ - find: function (selector) { - var i, - len = this.length, - ret = [], - self = this; - - if (typeof selector !== "string") { - return this.pushStack(jQuery(selector).filter(function () { - for (i = 0; i < len; i++) { - if (jQuery.contains(self[i], this)) { - return true; - } - } - })); - } - - for (i = 0; i < len; i++) { - jQuery.find(selector, self[i], ret); - } - - // Needed because $( selector, context ) becomes $( context ).find( selector ) - ret = this.pushStack(len > 1 ? jQuery.unique(ret) : ret); - ret.selector = this.selector ? this.selector + " " + selector : selector; - return ret; - }, - filter: function (selector) { - return this.pushStack(winnow(this, selector || [], false)); - }, - not: function (selector) { - return this.pushStack(winnow(this, selector || [], true)); - }, - is: function (selector) { - return !!winnow( - this, - - // If this is a positional/relative selector, check membership in the returned set - // so $("p:first").is("p:last") won't return true for a doc with two "p". - typeof selector === "string" && rneedsContext.test(selector) ? - jQuery(selector) : - selector || [], - false - ).length; - } - }); - - - // Initialize a jQuery object - - - // A central reference to the root jQuery(document) - var rootjQuery, - - // A simple way to check for HTML strings - // Prioritize #id over to avoid XSS via location.hash (#9521) - // Strict HTML recognition (#11290: must start with <) - rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/, - - init = jQuery.fn.init = function (selector, context, root) { - var match, elem; - - // HANDLE: $(""), $(null), $(undefined), $(false) - if (!selector) { - return this; - } - - // Method init() accepts an alternate rootjQuery - // so migrate can support jQuery.sub (gh-2101) - root = root || rootjQuery; - - // Handle HTML strings - if (typeof selector === "string") { - if (selector[0] === "<" && - selector[selector.length - 1] === ">" && - selector.length >= 3) { - - // Assume that strings that start and end with <> are HTML and skip the regex check - match = [null, selector, null]; - - } else { - match = rquickExpr.exec(selector); - } - - // Match html or make sure no context is specified for #id - if (match && (match[1] || !context)) { - - // HANDLE: $(html) -> $(array) - if (match[1]) { - context = context instanceof jQuery ? context[0] : context; - - // Option to run scripts is true for back-compat - // Intentionally let the error be thrown if parseHTML is not present - jQuery.merge(this, jQuery.parseHTML( - match[1], - context && context.nodeType ? context.ownerDocument || context : document, - true - )); - - // HANDLE: $(html, props) - if (rsingleTag.test(match[1]) && jQuery.isPlainObject(context)) { - for (match in context) { - - // Properties of context are called as methods if possible - if (jQuery.isFunction(this[match])) { - this[match](context[match]); - - // ...and otherwise set as attributes - } else { - this.attr(match, context[match]); - } - } - } - - return this; - - // HANDLE: $(#id) - } else { - elem = document.getElementById(match[2]); - - // Support: Blackberry 4.6 - // gEBID returns nodes no longer in the document (#6963) - if (elem && elem.parentNode) { - - // Inject the element directly into the jQuery object - this.length = 1; - this[0] = elem; - } - - this.context = document; - this.selector = selector; - return this; - } - - // HANDLE: $(expr, $(...)) - } else if (!context || context.jquery) { - return (context || root).find(selector); - - // HANDLE: $(expr, context) - // (which is just equivalent to: $(context).find(expr) - } else { - return this.constructor(context).find(selector); - } - - // HANDLE: $(DOMElement) - } else if (selector.nodeType) { - this.context = this[0] = selector; - this.length = 1; - return this; - - // HANDLE: $(function) - // Shortcut for document ready - } else if (jQuery.isFunction(selector)) { - return root.ready !== undefined ? - root.ready(selector) : - - // Execute immediately if ready is not present - selector(jQuery); - } - - if (selector.selector !== undefined) { - this.selector = selector.selector; - this.context = selector.context; - } - - return jQuery.makeArray(selector, this); - }; - - // Give the init function the jQuery prototype for later instantiation - init.prototype = jQuery.fn; - - // Initialize central reference - rootjQuery = jQuery(document); - - - var rparentsprev = /^(?:parents|prev(?:Until|All))/, - - // Methods guaranteed to produce a unique set when starting from a unique set - guaranteedUnique = { - children: true, - contents: true, - next: true, - prev: true - }; - - jQuery.fn.extend({ - has: function (target) { - var targets = jQuery(target, this), - l = targets.length; - - return this.filter(function () { - var i = 0; - for (; i < l; i++) { - if (jQuery.contains(this, targets[i])) { - return true; - } - } - }); - }, - - closest: function (selectors, context) { - var cur, - i = 0, - l = this.length, - matched = [], - pos = rneedsContext.test(selectors) || typeof selectors !== "string" ? - jQuery(selectors, context || this.context) : - 0; - - for (; i < l; i++) { - for (cur = this[i]; cur && cur !== context; cur = cur.parentNode) { - - // Always skip document fragments - if (cur.nodeType < 11 && (pos ? - pos.index(cur) > -1 : - - // Don't pass non-elements to Sizzle - cur.nodeType === 1 && - jQuery.find.matchesSelector(cur, selectors))) { - - matched.push(cur); - break; - } - } - } - - return this.pushStack(matched.length > 1 ? jQuery.uniqueSort(matched) : matched); - }, - - // Determine the position of an element within the set - index: function (elem) { - - // No argument, return index in parent - if (!elem) { - return (this[0] && this[0].parentNode) ? this.first().prevAll().length : -1; - } - - // Index in selector - if (typeof elem === "string") { - return indexOf.call(jQuery(elem), this[0]); - } - - // Locate the position of the desired element - return indexOf.call(this, - - // If it receives a jQuery object, the first element is used - elem.jquery ? elem[0] : elem - ); - }, - - add: function (selector, context) { - return this.pushStack( - jQuery.uniqueSort( - jQuery.merge(this.get(), jQuery(selector, context)) - ) - ); - }, - - addBack: function (selector) { - return this.add(selector == null ? - this.prevObject : this.prevObject.filter(selector) - ); - } - }); - - function sibling(cur, dir) { - while ((cur = cur[dir]) && cur.nodeType !== 1) { } - return cur; - } - - jQuery.each({ - parent: function (elem) { - var parent = elem.parentNode; - return parent && parent.nodeType !== 11 ? parent : null; - }, - parents: function (elem) { - return dir(elem, "parentNode"); - }, - parentsUntil: function (elem, i, until) { - return dir(elem, "parentNode", until); - }, - next: function (elem) { - return sibling(elem, "nextSibling"); - }, - prev: function (elem) { - return sibling(elem, "previousSibling"); - }, - nextAll: function (elem) { - return dir(elem, "nextSibling"); - }, - prevAll: function (elem) { - return dir(elem, "previousSibling"); - }, - nextUntil: function (elem, i, until) { - return dir(elem, "nextSibling", until); - }, - prevUntil: function (elem, i, until) { - return dir(elem, "previousSibling", until); - }, - siblings: function (elem) { - return siblings((elem.parentNode || {}).firstChild, elem); - }, - children: function (elem) { - return siblings(elem.firstChild); - }, - contents: function (elem) { - return elem.contentDocument || jQuery.merge([], elem.childNodes); - } - }, function (name, fn) { - jQuery.fn[name] = function (until, selector) { - var matched = jQuery.map(this, fn, until); - - if (name.slice(-5) !== "Until") { - selector = until; - } - - if (selector && typeof selector === "string") { - matched = jQuery.filter(selector, matched); - } - - if (this.length > 1) { - - // Remove duplicates - if (!guaranteedUnique[name]) { - jQuery.uniqueSort(matched); - } - - // Reverse order for parents* and prev-derivatives - if (rparentsprev.test(name)) { - matched.reverse(); - } - } - - return this.pushStack(matched); - }; - }); - var rnotwhite = (/\S+/g); - - - - // Convert String-formatted options into Object-formatted ones - function createOptions(options) { - var object = {}; - jQuery.each(options.match(rnotwhite) || [], function (_, flag) { - object[flag] = true; - }); - return object; - } - - /* - * Create a callback list using the following parameters: - * - * options: an optional list of space-separated options that will change how - * the callback list behaves or a more traditional option object - * - * By default a callback list will act like an event callback list and can be - * "fired" multiple times. - * - * Possible options: - * - * once: will ensure the callback list can only be fired once (like a Deferred) - * - * memory: will keep track of previous values and will call any callback added - * after the list has been fired right away with the latest "memorized" - * values (like a Deferred) - * - * unique: will ensure a callback can only be added once (no duplicate in the list) - * - * stopOnFalse: interrupt callings when a callback returns false - * - */ - jQuery.Callbacks = function (options) { - - // Convert options from String-formatted to Object-formatted if needed - // (we check in cache first) - options = typeof options === "string" ? - createOptions(options) : - jQuery.extend({}, options); - - var // Flag to know if list is currently firing - firing, - - // Last fire value for non-forgettable lists - memory, - - // Flag to know if list was already fired - fired, - - // Flag to prevent firing - locked, - - // Actual callback list - list = [], - - // Queue of execution data for repeatable lists - queue = [], - - // Index of currently firing callback (modified by add/remove as needed) - firingIndex = -1, - - // Fire callbacks - fire = function () { - - // Enforce single-firing - locked = options.once; - - // Execute callbacks for all pending executions, - // respecting firingIndex overrides and runtime changes - fired = firing = true; - for (; queue.length; firingIndex = -1) { - memory = queue.shift(); - while (++firingIndex < list.length) { - - // Run callback and check for early termination - if (list[firingIndex].apply(memory[0], memory[1]) === false && - options.stopOnFalse) { - - // Jump to end and forget the data so .add doesn't re-fire - firingIndex = list.length; - memory = false; - } - } - } - - // Forget the data if we're done with it - if (!options.memory) { - memory = false; - } - - firing = false; - - // Clean up if we're done firing for good - if (locked) { - - // Keep an empty list if we have data for future add calls - if (memory) { - list = []; - - // Otherwise, this object is spent - } else { - list = ""; - } - } - }, - - // Actual Callbacks object - self = { - - // Add a callback or a collection of callbacks to the list - add: function () { - if (list) { - - // If we have memory from a past run, we should fire after adding - if (memory && !firing) { - firingIndex = list.length - 1; - queue.push(memory); - } - - (function add(args) { - jQuery.each(args, function (_, arg) { - if (jQuery.isFunction(arg)) { - if (!options.unique || !self.has(arg)) { - list.push(arg); - } - } else if (arg && arg.length && jQuery.type(arg) !== "string") { - - // Inspect recursively - add(arg); - } - }); - })(arguments); - - if (memory && !firing) { - fire(); - } - } - return this; - }, - - // Remove a callback from the list - remove: function () { - jQuery.each(arguments, function (_, arg) { - var index; - while ((index = jQuery.inArray(arg, list, index)) > -1) { - list.splice(index, 1); - - // Handle firing indexes - if (index <= firingIndex) { - firingIndex--; - } - } - }); - return this; - }, - - // Check if a given callback is in the list. - // If no argument is given, return whether or not list has callbacks attached. - has: function (fn) { - return fn ? - jQuery.inArray(fn, list) > -1 : - list.length > 0; - }, - - // Remove all callbacks from the list - empty: function () { - if (list) { - list = []; - } - return this; - }, - - // Disable .fire and .add - // Abort any current/pending executions - // Clear all callbacks and values - disable: function () { - locked = queue = []; - list = memory = ""; - return this; - }, - disabled: function () { - return !list; - }, - - // Disable .fire - // Also disable .add unless we have memory (since it would have no effect) - // Abort any pending executions - lock: function () { - locked = queue = []; - if (!memory) { - list = memory = ""; - } - return this; - }, - locked: function () { - return !!locked; - }, - - // Call all callbacks with the given context and arguments - fireWith: function (context, args) { - if (!locked) { - args = args || []; - args = [context, args.slice ? args.slice() : args]; - queue.push(args); - if (!firing) { - fire(); - } - } - return this; - }, - - // Call all the callbacks with the given arguments - fire: function () { - self.fireWith(this, arguments); - return this; - }, - - // To know if the callbacks have already been called at least once - fired: function () { - return !!fired; - } - }; - - return self; - }; - - - jQuery.extend({ - - Deferred: function (func) { - var tuples = [ - - // action, add listener, listener list, final state - ["resolve", "done", jQuery.Callbacks("once memory"), "resolved"], - ["reject", "fail", jQuery.Callbacks("once memory"), "rejected"], - ["notify", "progress", jQuery.Callbacks("memory")] - ], - state = "pending", - promise = { - state: function () { - return state; - }, - always: function () { - deferred.done(arguments).fail(arguments); - return this; - }, - then: function ( /* fnDone, fnFail, fnProgress */) { - var fns = arguments; - return jQuery.Deferred(function (newDefer) { - jQuery.each(tuples, function (i, tuple) { - var fn = jQuery.isFunction(fns[i]) && fns[i]; - - // deferred[ done | fail | progress ] for forwarding actions to newDefer - deferred[tuple[1]](function () { - var returned = fn && fn.apply(this, arguments); - if (returned && jQuery.isFunction(returned.promise)) { - returned.promise() - .progress(newDefer.notify) - .done(newDefer.resolve) - .fail(newDefer.reject); - } else { - newDefer[tuple[0] + "With"]( - this === promise ? newDefer.promise() : this, - fn ? [returned] : arguments - ); - } - }); - }); - fns = null; - }).promise(); - }, - - // Get a promise for this deferred - // If obj is provided, the promise aspect is added to the object - promise: function (obj) { - return obj != null ? jQuery.extend(obj, promise) : promise; - } - }, - deferred = {}; - - // Keep pipe for back-compat - promise.pipe = promise.then; - - // Add list-specific methods - jQuery.each(tuples, function (i, tuple) { - var list = tuple[2], - stateString = tuple[3]; - - // promise[ done | fail | progress ] = list.add - promise[tuple[1]] = list.add; - - // Handle state - if (stateString) { - list.add(function () { - - // state = [ resolved | rejected ] - state = stateString; - - // [ reject_list | resolve_list ].disable; progress_list.lock - }, tuples[i ^ 1][2].disable, tuples[2][2].lock); - } - - // deferred[ resolve | reject | notify ] - deferred[tuple[0]] = function () { - deferred[tuple[0] + "With"](this === deferred ? promise : this, arguments); - return this; - }; - deferred[tuple[0] + "With"] = list.fireWith; - }); - - // Make the deferred a promise - promise.promise(deferred); - - // Call given func if any - if (func) { - func.call(deferred, deferred); - } - - // All done! - return deferred; - }, - - // Deferred helper - when: function (subordinate /* , ..., subordinateN */) { - var i = 0, - resolveValues = slice.call(arguments), - length = resolveValues.length, - - // the count of uncompleted subordinates - remaining = length !== 1 || - (subordinate && jQuery.isFunction(subordinate.promise)) ? length : 0, - - // the master Deferred. - // If resolveValues consist of only a single Deferred, just use that. - deferred = remaining === 1 ? subordinate : jQuery.Deferred(), - - // Update function for both resolve and progress values - updateFunc = function (i, contexts, values) { - return function (value) { - contexts[i] = this; - values[i] = arguments.length > 1 ? slice.call(arguments) : value; - if (values === progressValues) { - deferred.notifyWith(contexts, values); - } else if (!(--remaining)) { - deferred.resolveWith(contexts, values); - } - }; - }, - - progressValues, progressContexts, resolveContexts; - - // Add listeners to Deferred subordinates; treat others as resolved - if (length > 1) { - progressValues = new Array(length); - progressContexts = new Array(length); - resolveContexts = new Array(length); - for (; i < length; i++) { - if (resolveValues[i] && jQuery.isFunction(resolveValues[i].promise)) { - resolveValues[i].promise() - .progress(updateFunc(i, progressContexts, progressValues)) - .done(updateFunc(i, resolveContexts, resolveValues)) - .fail(deferred.reject); - } else { - --remaining; - } - } - } - - // If we're not waiting on anything, resolve the master - if (!remaining) { - deferred.resolveWith(resolveContexts, resolveValues); - } - - return deferred.promise(); - } - }); - - - // The deferred used on DOM ready - var readyList; - - jQuery.fn.ready = function (fn) { - - // Add the callback - jQuery.ready.promise().done(fn); - - return this; - }; - - jQuery.extend({ - - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - - // Hold (or release) the ready event - holdReady: function (hold) { - if (hold) { - jQuery.readyWait++; - } else { - jQuery.ready(true); - } - }, - - // Handle when the DOM is ready - ready: function (wait) { - - // Abort if there are pending holds or we're already ready - if (wait === true ? --jQuery.readyWait : jQuery.isReady) { - return; - } - - // Remember that the DOM is ready - jQuery.isReady = true; - - // If a normal DOM Ready event fired, decrement, and wait if need be - if (wait !== true && --jQuery.readyWait > 0) { - return; - } - - // If there are functions bound, to execute - readyList.resolveWith(document, [jQuery]); - - // Trigger any bound ready events - if (jQuery.fn.triggerHandler) { - jQuery(document).triggerHandler("ready"); - jQuery(document).off("ready"); - } - } - }); - - /** - * The ready event handler and self cleanup method - */ - function completed() { - document.removeEventListener("DOMContentLoaded", completed); - window.removeEventListener("load", completed); - jQuery.ready(); - } - - jQuery.ready.promise = function (obj) { - if (!readyList) { - - readyList = jQuery.Deferred(); - - // Catch cases where $(document).ready() is called - // after the browser event has already occurred. - // Support: IE9-10 only - // Older IE sometimes signals "interactive" too soon - if (document.readyState === "complete" || - (document.readyState !== "loading" && !document.documentElement.doScroll)) { - - // Handle it asynchronously to allow scripts the opportunity to delay ready - window.setTimeout(jQuery.ready); - - } else { - - // Use the handy event callback - document.addEventListener("DOMContentLoaded", completed); - - // A fallback to window.onload, that will always work - window.addEventListener("load", completed); - } - } - return readyList.promise(obj); - }; - - // Kick off the DOM ready check even if the user does not - jQuery.ready.promise(); - - - - - // Multifunctional method to get and set values of a collection - // The value/s can optionally be executed if it's a function - var access = function (elems, fn, key, value, chainable, emptyGet, raw) { - var i = 0, - len = elems.length, - bulk = key == null; - - // Sets many values - if (jQuery.type(key) === "object") { - chainable = true; - for (i in key) { - access(elems, fn, i, key[i], true, emptyGet, raw); - } - - // Sets one value - } else if (value !== undefined) { - chainable = true; - - if (!jQuery.isFunction(value)) { - raw = true; - } - - if (bulk) { - - // Bulk operations run against the entire set - if (raw) { - fn.call(elems, value); - fn = null; - - // ...except when executing function values - } else { - bulk = fn; - fn = function (elem, key, value) { - return bulk.call(jQuery(elem), value); - }; - } - } - - if (fn) { - for (; i < len; i++) { - fn( - elems[i], key, raw ? - value : - value.call(elems[i], i, fn(elems[i], key)) - ); - } - } - } - - return chainable ? - elems : - - // Gets - bulk ? - fn.call(elems) : - len ? fn(elems[0], key) : emptyGet; - }; - var acceptData = function (owner) { - - // Accepts only: - // - Node - // - Node.ELEMENT_NODE - // - Node.DOCUMENT_NODE - // - Object - // - Any - /* jshint -W018 */ - return owner.nodeType === 1 || owner.nodeType === 9 || !(+owner.nodeType); - }; - - - - - function Data() { - this.expando = jQuery.expando + Data.uid++; - } - - Data.uid = 1; - - Data.prototype = { - - register: function (owner, initial) { - var value = initial || {}; - - // If it is a node unlikely to be stringify-ed or looped over - // use plain assignment - if (owner.nodeType) { - owner[this.expando] = value; - - // Otherwise secure it in a non-enumerable, non-writable property - // configurability must be true to allow the property to be - // deleted with the delete operator - } else { - Object.defineProperty(owner, this.expando, { - value: value, - writable: true, - configurable: true - }); - } - return owner[this.expando]; - }, - cache: function (owner) { - - // We can accept data for non-element nodes in modern browsers, - // but we should not, see #8335. - // Always return an empty object. - if (!acceptData(owner)) { - return {}; - } - - // Check if the owner object already has a cache - var value = owner[this.expando]; - - // If not, create one - if (!value) { - value = {}; - - // We can accept data for non-element nodes in modern browsers, - // but we should not, see #8335. - // Always return an empty object. - if (acceptData(owner)) { - - // If it is a node unlikely to be stringify-ed or looped over - // use plain assignment - if (owner.nodeType) { - owner[this.expando] = value; - - // Otherwise secure it in a non-enumerable property - // configurable must be true to allow the property to be - // deleted when data is removed - } else { - Object.defineProperty(owner, this.expando, { - value: value, - configurable: true - }); - } - } - } - - return value; - }, - set: function (owner, data, value) { - var prop, - cache = this.cache(owner); - - // Handle: [ owner, key, value ] args - if (typeof data === "string") { - cache[data] = value; - - // Handle: [ owner, { properties } ] args - } else { - - // Copy the properties one-by-one to the cache object - for (prop in data) { - cache[prop] = data[prop]; - } - } - return cache; - }, - get: function (owner, key) { - return key === undefined ? - this.cache(owner) : - owner[this.expando] && owner[this.expando][key]; - }, - access: function (owner, key, value) { - var stored; - - // In cases where either: - // - // 1. No key was specified - // 2. A string key was specified, but no value provided - // - // Take the "read" path and allow the get method to determine - // which value to return, respectively either: - // - // 1. The entire cache object - // 2. The data stored at the key - // - if (key === undefined || - ((key && typeof key === "string") && value === undefined)) { - - stored = this.get(owner, key); - - return stored !== undefined ? - stored : this.get(owner, jQuery.camelCase(key)); - } - - // When the key is not a string, or both a key and value - // are specified, set or extend (existing objects) with either: - // - // 1. An object of properties - // 2. A key and value - // - this.set(owner, key, value); - - // Since the "set" path can have two possible entry points - // return the expected data based on which path was taken[*] - return value !== undefined ? value : key; - }, - remove: function (owner, key) { - var i, name, camel, - cache = owner[this.expando]; - - if (cache === undefined) { - return; - } - - if (key === undefined) { - this.register(owner); - - } else { - - // Support array or space separated string of keys - if (jQuery.isArray(key)) { - - // If "name" is an array of keys... - // When data is initially created, via ("key", "val") signature, - // keys will be converted to camelCase. - // Since there is no way to tell _how_ a key was added, remove - // both plain key and camelCase key. #12786 - // This will only penalize the array argument path. - name = key.concat(key.map(jQuery.camelCase)); - } else { - camel = jQuery.camelCase(key); - - // Try the string as a key before any manipulation - if (key in cache) { - name = [key, camel]; - } else { - - // If a key with the spaces exists, use it. - // Otherwise, create an array by matching non-whitespace - name = camel; - name = name in cache ? - [name] : (name.match(rnotwhite) || []); - } - } - - i = name.length; - - while (i--) { - delete cache[name[i]]; - } - } - - // Remove the expando if there's no more data - if (key === undefined || jQuery.isEmptyObject(cache)) { - - // Support: Chrome <= 35-45+ - // Webkit & Blink performance suffers when deleting properties - // from DOM nodes, so set to undefined instead - // https://code.google.com/p/chromium/issues/detail?id=378607 - if (owner.nodeType) { - owner[this.expando] = undefined; - } else { - delete owner[this.expando]; - } - } - }, - hasData: function (owner) { - var cache = owner[this.expando]; - return cache !== undefined && !jQuery.isEmptyObject(cache); - } - }; - var dataPriv = new Data(); - - var dataUser = new Data(); - - - - // Implementation Summary - // - // 1. Enforce API surface and semantic compatibility with 1.9.x branch - // 2. Improve the module's maintainability by reducing the storage - // paths to a single mechanism. - // 3. Use the same single mechanism to support "private" and "user" data. - // 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) - // 5. Avoid exposing implementation details on user objects (eg. expando properties) - // 6. Provide a clear path for implementation upgrade to WeakMap in 2014 - - var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, - rmultiDash = /[A-Z]/g; - - function dataAttr(elem, key, data) { - var name; - - // If nothing was found internally, try to fetch any - // data from the HTML5 data-* attribute - if (data === undefined && elem.nodeType === 1) { - name = "data-" + key.replace(rmultiDash, "-$&").toLowerCase(); - data = elem.getAttribute(name); - - if (typeof data === "string") { - try { - data = data === "true" ? true : - data === "false" ? false : - data === "null" ? null : - - // Only convert to a number if it doesn't change the string - +data + "" === data ? +data : - rbrace.test(data) ? jQuery.parseJSON(data) : - data; - } catch (e) { } - - // Make sure we set the data so it isn't changed later - dataUser.set(elem, key, data); - } else { - data = undefined; - } - } - return data; - } - - jQuery.extend({ - hasData: function (elem) { - return dataUser.hasData(elem) || dataPriv.hasData(elem); - }, - - data: function (elem, name, data) { - return dataUser.access(elem, name, data); - }, - - removeData: function (elem, name) { - dataUser.remove(elem, name); - }, - - // TODO: Now that all calls to _data and _removeData have been replaced - // with direct calls to dataPriv methods, these can be deprecated. - _data: function (elem, name, data) { - return dataPriv.access(elem, name, data); - }, - - _removeData: function (elem, name) { - dataPriv.remove(elem, name); - } - }); - - jQuery.fn.extend({ - data: function (key, value) { - var i, name, data, - elem = this[0], - attrs = elem && elem.attributes; - - // Gets all values - if (key === undefined) { - if (this.length) { - data = dataUser.get(elem); - - if (elem.nodeType === 1 && !dataPriv.get(elem, "hasDataAttrs")) { - i = attrs.length; - while (i--) { - - // Support: IE11+ - // The attrs elements can be null (#14894) - if (attrs[i]) { - name = attrs[i].name; - if (name.indexOf("data-") === 0) { - name = jQuery.camelCase(name.slice(5)); - dataAttr(elem, name, data[name]); - } - } - } - dataPriv.set(elem, "hasDataAttrs", true); - } - } - - return data; - } - - // Sets multiple values - if (typeof key === "object") { - return this.each(function () { - dataUser.set(this, key); - }); - } - - return access(this, function (value) { - var data, camelKey; - - // The calling jQuery object (element matches) is not empty - // (and therefore has an element appears at this[ 0 ]) and the - // `value` parameter was not undefined. An empty jQuery object - // will result in `undefined` for elem = this[ 0 ] which will - // throw an exception if an attempt to read a data cache is made. - if (elem && value === undefined) { - - // Attempt to get data from the cache - // with the key as-is - data = dataUser.get(elem, key) || - - // Try to find dashed key if it exists (gh-2779) - // This is for 2.2.x only - dataUser.get(elem, key.replace(rmultiDash, "-$&").toLowerCase()); - - if (data !== undefined) { - return data; - } - - camelKey = jQuery.camelCase(key); - - // Attempt to get data from the cache - // with the key camelized - data = dataUser.get(elem, camelKey); - if (data !== undefined) { - return data; - } - - // Attempt to "discover" the data in - // HTML5 custom data-* attrs - data = dataAttr(elem, camelKey, undefined); - if (data !== undefined) { - return data; - } - - // We tried really hard, but the data doesn't exist. - return; - } - - // Set the data... - camelKey = jQuery.camelCase(key); - this.each(function () { - - // First, attempt to store a copy or reference of any - // data that might've been store with a camelCased key. - var data = dataUser.get(this, camelKey); - - // For HTML5 data-* attribute interop, we have to - // store property names with dashes in a camelCase form. - // This might not apply to all properties...* - dataUser.set(this, camelKey, value); - - // *... In the case of properties that might _actually_ - // have dashes, we need to also store a copy of that - // unchanged property. - if (key.indexOf("-") > -1 && data !== undefined) { - dataUser.set(this, key, value); - } - }); - }, null, value, arguments.length > 1, null, true); - }, - - removeData: function (key) { - return this.each(function () { - dataUser.remove(this, key); - }); - } - }); - - - jQuery.extend({ - queue: function (elem, type, data) { - var queue; - - if (elem) { - type = (type || "fx") + "queue"; - queue = dataPriv.get(elem, type); - - // Speed up dequeue by getting out quickly if this is just a lookup - if (data) { - if (!queue || jQuery.isArray(data)) { - queue = dataPriv.access(elem, type, jQuery.makeArray(data)); - } else { - queue.push(data); - } - } - return queue || []; - } - }, - - dequeue: function (elem, type) { - type = type || "fx"; - - var queue = jQuery.queue(elem, type), - startLength = queue.length, - fn = queue.shift(), - hooks = jQuery._queueHooks(elem, type), - next = function () { - jQuery.dequeue(elem, type); - }; - - // If the fx queue is dequeued, always remove the progress sentinel - if (fn === "inprogress") { - fn = queue.shift(); - startLength--; - } - - if (fn) { - - // Add a progress sentinel to prevent the fx queue from being - // automatically dequeued - if (type === "fx") { - queue.unshift("inprogress"); - } - - // Clear up the last queue stop function - delete hooks.stop; - fn.call(elem, next, hooks); - } - - if (!startLength && hooks) { - hooks.empty.fire(); - } - }, - - // Not public - generate a queueHooks object, or return the current one - _queueHooks: function (elem, type) { - var key = type + "queueHooks"; - return dataPriv.get(elem, key) || dataPriv.access(elem, key, { - empty: jQuery.Callbacks("once memory").add(function () { - dataPriv.remove(elem, [type + "queue", key]); - }) - }); - } - }); - - jQuery.fn.extend({ - queue: function (type, data) { - var setter = 2; - - if (typeof type !== "string") { - data = type; - type = "fx"; - setter--; - } - - if (arguments.length < setter) { - return jQuery.queue(this[0], type); - } - - return data === undefined ? - this : - this.each(function () { - var queue = jQuery.queue(this, type, data); - - // Ensure a hooks for this queue - jQuery._queueHooks(this, type); - - if (type === "fx" && queue[0] !== "inprogress") { - jQuery.dequeue(this, type); - } - }); - }, - dequeue: function (type) { - return this.each(function () { - jQuery.dequeue(this, type); - }); - }, - clearQueue: function (type) { - return this.queue(type || "fx", []); - }, - - // Get a promise resolved when queues of a certain type - // are emptied (fx is the type by default) - promise: function (type, obj) { - var tmp, - count = 1, - defer = jQuery.Deferred(), - elements = this, - i = this.length, - resolve = function () { - if (!(--count)) { - defer.resolveWith(elements, [elements]); - } - }; - - if (typeof type !== "string") { - obj = type; - type = undefined; - } - type = type || "fx"; - - while (i--) { - tmp = dataPriv.get(elements[i], type + "queueHooks"); - if (tmp && tmp.empty) { - count++; - tmp.empty.add(resolve); - } - } - resolve(); - return defer.promise(obj); - } - }); - var pnum = (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; - - var rcssNum = new RegExp("^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i"); - - - var cssExpand = ["Top", "Right", "Bottom", "Left"]; - - var isHidden = function (elem, el) { - - // isHidden might be called from jQuery#filter function; - // in that case, element will be second argument - elem = el || elem; - return jQuery.css(elem, "display") === "none" || - !jQuery.contains(elem.ownerDocument, elem); - }; - - - - function adjustCSS(elem, prop, valueParts, tween) { - var adjusted, - scale = 1, - maxIterations = 20, - currentValue = tween ? - function () { return tween.cur(); } : - function () { return jQuery.css(elem, prop, ""); }, - initial = currentValue(), - unit = valueParts && valueParts[3] || (jQuery.cssNumber[prop] ? "" : "px"), - - // Starting value computation is required for potential unit mismatches - initialInUnit = (jQuery.cssNumber[prop] || unit !== "px" && +initial) && - rcssNum.exec(jQuery.css(elem, prop)); - - if (initialInUnit && initialInUnit[3] !== unit) { - - // Trust units reported by jQuery.css - unit = unit || initialInUnit[3]; - - // Make sure we update the tween properties later on - valueParts = valueParts || []; - - // Iteratively approximate from a nonzero starting point - initialInUnit = +initial || 1; - - do { - - // If previous iteration zeroed out, double until we get *something*. - // Use string for doubling so we don't accidentally see scale as unchanged below - scale = scale || ".5"; - - // Adjust and apply - initialInUnit = initialInUnit / scale; - jQuery.style(elem, prop, initialInUnit + unit); - - // Update scale, tolerating zero or NaN from tween.cur() - // Break the loop if scale is unchanged or perfect, or if we've just had enough. - } while ( - scale !== (scale = currentValue() / initial) && scale !== 1 && --maxIterations - ); - } - - if (valueParts) { - initialInUnit = +initialInUnit || +initial || 0; - - // Apply relative offset (+=/-=) if specified - adjusted = valueParts[1] ? - initialInUnit + (valueParts[1] + 1) * valueParts[2] : - +valueParts[2]; - if (tween) { - tween.unit = unit; - tween.start = initialInUnit; - tween.end = adjusted; - } - } - return adjusted; - } - var rcheckableType = (/^(?:checkbox|radio)$/i); - - var rtagName = (/<([\w:-]+)/); - - var rscriptType = (/^$|\/(?:java|ecma)script/i); - - - - // We have to close these tags to support XHTML (#13200) - var wrapMap = { - - // Support: IE9 - option: [1, ""], - - // XHTML parsers do not magically insert elements in the - // same way that tag soup parsers do. So we cannot shorten - // this by omitting or other required elements. - thead: [1, "", "
"], - col: [2, "", "
"], - tr: [2, "", "
"], - td: [3, "", "
"], - - _default: [0, "", ""] - }; - - // Support: IE9 - wrapMap.optgroup = wrapMap.option; - - wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; - wrapMap.th = wrapMap.td; - - - function getAll(context, tag) { - - // Support: IE9-11+ - // Use typeof to avoid zero-argument method invocation on host objects (#15151) - var ret = typeof context.getElementsByTagName !== "undefined" ? - context.getElementsByTagName(tag || "*") : - typeof context.querySelectorAll !== "undefined" ? - context.querySelectorAll(tag || "*") : - []; - - return tag === undefined || tag && jQuery.nodeName(context, tag) ? - jQuery.merge([context], ret) : - ret; - } - - - // Mark scripts as having already been evaluated - function setGlobalEval(elems, refElements) { - var i = 0, - l = elems.length; - - for (; i < l; i++) { - dataPriv.set( - elems[i], - "globalEval", - !refElements || dataPriv.get(refElements[i], "globalEval") - ); - } - } - - - var rhtml = /<|&#?\w+;/; - - function buildFragment(elems, context, scripts, selection, ignored) { - var elem, tmp, tag, wrap, contains, j, - fragment = context.createDocumentFragment(), - nodes = [], - i = 0, - l = elems.length; - - for (; i < l; i++) { - elem = elems[i]; - - if (elem || elem === 0) { - - // Add nodes directly - if (jQuery.type(elem) === "object") { - - // Support: Android<4.1, PhantomJS<2 - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge(nodes, elem.nodeType ? [elem] : elem); - - // Convert non-html into a text node - } else if (!rhtml.test(elem)) { - nodes.push(context.createTextNode(elem)); - - // Convert html into DOM nodes - } else { - tmp = tmp || fragment.appendChild(context.createElement("div")); - - // Deserialize a standard representation - tag = (rtagName.exec(elem) || ["", ""])[1].toLowerCase(); - wrap = wrapMap[tag] || wrapMap._default; - tmp.innerHTML = wrap[1] + jQuery.htmlPrefilter(elem) + wrap[2]; - - // Descend through wrappers to the right content - j = wrap[0]; - while (j--) { - tmp = tmp.lastChild; - } - - // Support: Android<4.1, PhantomJS<2 - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge(nodes, tmp.childNodes); - - // Remember the top-level container - tmp = fragment.firstChild; - - // Ensure the created nodes are orphaned (#12392) - tmp.textContent = ""; - } - } - } - - // Remove wrapper from fragment - fragment.textContent = ""; - - i = 0; - while ((elem = nodes[i++])) { - - // Skip elements already in the context collection (trac-4087) - if (selection && jQuery.inArray(elem, selection) > -1) { - if (ignored) { - ignored.push(elem); - } - continue; - } - - contains = jQuery.contains(elem.ownerDocument, elem); - - // Append to fragment - tmp = getAll(fragment.appendChild(elem), "script"); - - // Preserve script evaluation history - if (contains) { - setGlobalEval(tmp); - } - - // Capture executables - if (scripts) { - j = 0; - while ((elem = tmp[j++])) { - if (rscriptType.test(elem.type || "")) { - scripts.push(elem); - } - } - } - } - - return fragment; - } - - - (function () { - var fragment = document.createDocumentFragment(), - div = fragment.appendChild(document.createElement("div")), - input = document.createElement("input"); - - // Support: Android 4.0-4.3, Safari<=5.1 - // Check state lost if the name is set (#11217) - // Support: Windows Web Apps (WWA) - // `name` and `type` must use .setAttribute for WWA (#14901) - input.setAttribute("type", "radio"); - input.setAttribute("checked", "checked"); - input.setAttribute("name", "t"); - - div.appendChild(input); - - // Support: Safari<=5.1, Android<4.2 - // Older WebKit doesn't clone checked state correctly in fragments - support.checkClone = div.cloneNode(true).cloneNode(true).lastChild.checked; - - // Support: IE<=11+ - // Make sure textarea (and checkbox) defaultValue is properly cloned - div.innerHTML = ""; - support.noCloneChecked = !!div.cloneNode(true).lastChild.defaultValue; - })(); - - - var - rkeyEvent = /^key/, - rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, - rtypenamespace = /^([^.]*)(?:\.(.+)|)/; - - function returnTrue() { - return true; - } - - function returnFalse() { - return false; - } - - // Support: IE9 - // See #13393 for more info - function safeActiveElement() { - try { - return document.activeElement; - } catch (err) { } - } - - function on(elem, types, selector, data, fn, one) { - var origFn, type; - - // Types can be a map of types/handlers - if (typeof types === "object") { - - // ( types-Object, selector, data ) - if (typeof selector !== "string") { - - // ( types-Object, data ) - data = data || selector; - selector = undefined; - } - for (type in types) { - on(elem, type, selector, data, types[type], one); - } - return elem; - } - - if (data == null && fn == null) { - - // ( types, fn ) - fn = selector; - data = selector = undefined; - } else if (fn == null) { - if (typeof selector === "string") { - - // ( types, selector, fn ) - fn = data; - data = undefined; - } else { - - // ( types, data, fn ) - fn = data; - data = selector; - selector = undefined; - } - } - if (fn === false) { - fn = returnFalse; - } else if (!fn) { - return this; - } - - if (one === 1) { - origFn = fn; - fn = function (event) { - - // Can use an empty set, since event contains the info - jQuery().off(event); - return origFn.apply(this, arguments); - }; - - // Use same guid so caller can remove using origFn - fn.guid = origFn.guid || (origFn.guid = jQuery.guid++); - } - return elem.each(function () { - jQuery.event.add(this, types, fn, data, selector); - }); - } - - /* - * Helper functions for managing events -- not part of the public interface. - * Props to Dean Edwards' addEvent library for many of the ideas. - */ - jQuery.event = { - - global: {}, - - add: function (elem, types, handler, data, selector) { - - var handleObjIn, eventHandle, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.get(elem); - - // Don't attach events to noData or text/comment nodes (but allow plain objects) - if (!elemData) { - return; - } - - // Caller can pass in an object of custom data in lieu of the handler - if (handler.handler) { - handleObjIn = handler; - handler = handleObjIn.handler; - selector = handleObjIn.selector; - } - - // Make sure that the handler has a unique ID, used to find/remove it later - if (!handler.guid) { - handler.guid = jQuery.guid++; - } - - // Init the element's event structure and main handler, if this is the first - if (!(events = elemData.events)) { - events = elemData.events = {}; - } - if (!(eventHandle = elemData.handle)) { - eventHandle = elemData.handle = function (e) { - - // Discard the second event of a jQuery.event.trigger() and - // when an event is called after a page has unloaded - return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? - jQuery.event.dispatch.apply(elem, arguments) : undefined; - }; - } - - // Handle multiple events separated by a space - types = (types || "").match(rnotwhite) || [""]; - t = types.length; - while (t--) { - tmp = rtypenamespace.exec(types[t]) || []; - type = origType = tmp[1]; - namespaces = (tmp[2] || "").split(".").sort(); - - // There *must* be a type, no attaching namespace-only handlers - if (!type) { - continue; - } - - // If event changes its type, use the special event handlers for the changed type - special = jQuery.event.special[type] || {}; - - // If selector defined, determine special event api type, otherwise given type - type = (selector ? special.delegateType : special.bindType) || type; - - // Update special based on newly reset type - special = jQuery.event.special[type] || {}; - - // handleObj is passed to all event handlers - handleObj = jQuery.extend({ - type: type, - origType: origType, - data: data, - handler: handler, - guid: handler.guid, - selector: selector, - needsContext: selector && jQuery.expr.match.needsContext.test(selector), - namespace: namespaces.join(".") - }, handleObjIn); - - // Init the event handler queue if we're the first - if (!(handlers = events[type])) { - handlers = events[type] = []; - handlers.delegateCount = 0; - - // Only use addEventListener if the special events handler returns false - if (!special.setup || - special.setup.call(elem, data, namespaces, eventHandle) === false) { - - if (elem.addEventListener) { - elem.addEventListener(type, eventHandle); - } - } - } - - if (special.add) { - special.add.call(elem, handleObj); - - if (!handleObj.handler.guid) { - handleObj.handler.guid = handler.guid; - } - } - - // Add to the element's handler list, delegates in front - if (selector) { - handlers.splice(handlers.delegateCount++, 0, handleObj); - } else { - handlers.push(handleObj); - } - - // Keep track of which events have ever been used, for event optimization - jQuery.event.global[type] = true; - } - - }, - - // Detach an event or set of events from an element - remove: function (elem, types, handler, selector, mappedTypes) { - - var j, origCount, tmp, - events, t, handleObj, - special, handlers, type, namespaces, origType, - elemData = dataPriv.hasData(elem) && dataPriv.get(elem); - - if (!elemData || !(events = elemData.events)) { - return; - } - - // Once for each type.namespace in types; type may be omitted - types = (types || "").match(rnotwhite) || [""]; - t = types.length; - while (t--) { - tmp = rtypenamespace.exec(types[t]) || []; - type = origType = tmp[1]; - namespaces = (tmp[2] || "").split(".").sort(); - - // Unbind all events (on this namespace, if provided) for the element - if (!type) { - for (type in events) { - jQuery.event.remove(elem, type + types[t], handler, selector, true); - } - continue; - } - - special = jQuery.event.special[type] || {}; - type = (selector ? special.delegateType : special.bindType) || type; - handlers = events[type] || []; - tmp = tmp[2] && - new RegExp("(^|\\.)" + namespaces.join("\\.(?:.*\\.|)") + "(\\.|$)"); - - // Remove matching events - origCount = j = handlers.length; - while (j--) { - handleObj = handlers[j]; - - if ((mappedTypes || origType === handleObj.origType) && - (!handler || handler.guid === handleObj.guid) && - (!tmp || tmp.test(handleObj.namespace)) && - (!selector || selector === handleObj.selector || - selector === "**" && handleObj.selector)) { - handlers.splice(j, 1); - - if (handleObj.selector) { - handlers.delegateCount--; - } - if (special.remove) { - special.remove.call(elem, handleObj); - } - } - } - - // Remove generic event handler if we removed something and no more handlers exist - // (avoids potential for endless recursion during removal of special event handlers) - if (origCount && !handlers.length) { - if (!special.teardown || - special.teardown.call(elem, namespaces, elemData.handle) === false) { - - jQuery.removeEvent(elem, type, elemData.handle); - } - - delete events[type]; - } - } - - // Remove data and the expando if it's no longer used - if (jQuery.isEmptyObject(events)) { - dataPriv.remove(elem, "handle events"); - } - }, - - dispatch: function (event) { - - // Make a writable jQuery.Event from the native event object - event = jQuery.event.fix(event); - - var i, j, ret, matched, handleObj, - handlerQueue = [], - args = slice.call(arguments), - handlers = (dataPriv.get(this, "events") || {})[event.type] || [], - special = jQuery.event.special[event.type] || {}; - - // Use the fix-ed jQuery.Event rather than the (read-only) native event - args[0] = event; - event.delegateTarget = this; - - // Call the preDispatch hook for the mapped type, and let it bail if desired - if (special.preDispatch && special.preDispatch.call(this, event) === false) { - return; - } - - // Determine handlers - handlerQueue = jQuery.event.handlers.call(this, event, handlers); - - // Run delegates first; they may want to stop propagation beneath us - i = 0; - while ((matched = handlerQueue[i++]) && !event.isPropagationStopped()) { - event.currentTarget = matched.elem; - - j = 0; - while ((handleObj = matched.handlers[j++]) && - !event.isImmediatePropagationStopped()) { - - // Triggered event must either 1) have no namespace, or 2) have namespace(s) - // a subset or equal to those in the bound event (both can have no namespace). - if (!event.rnamespace || event.rnamespace.test(handleObj.namespace)) { - - event.handleObj = handleObj; - event.data = handleObj.data; - - ret = ((jQuery.event.special[handleObj.origType] || {}).handle || - handleObj.handler).apply(matched.elem, args); - - if (ret !== undefined) { - if ((event.result = ret) === false) { - event.preventDefault(); - event.stopPropagation(); - } - } - } - } - } - - // Call the postDispatch hook for the mapped type - if (special.postDispatch) { - special.postDispatch.call(this, event); - } - - return event.result; - }, - - handlers: function (event, handlers) { - var i, matches, sel, handleObj, - handlerQueue = [], - delegateCount = handlers.delegateCount, - cur = event.target; - - // Support (at least): Chrome, IE9 - // Find delegate handlers - // Black-hole SVG instance trees (#13180) - // - // Support: Firefox<=42+ - // Avoid non-left-click in FF but don't block IE radio events (#3861, gh-2343) - if (delegateCount && cur.nodeType && - (event.type !== "click" || isNaN(event.button) || event.button < 1)) { - - for (; cur !== this; cur = cur.parentNode || this) { - - // Don't check non-elements (#13208) - // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) - if (cur.nodeType === 1 && (cur.disabled !== true || event.type !== "click")) { - matches = []; - for (i = 0; i < delegateCount; i++) { - handleObj = handlers[i]; - - // Don't conflict with Object.prototype properties (#13203) - sel = handleObj.selector + " "; - - if (matches[sel] === undefined) { - matches[sel] = handleObj.needsContext ? - jQuery(sel, this).index(cur) > -1 : - jQuery.find(sel, this, null, [cur]).length; - } - if (matches[sel]) { - matches.push(handleObj); - } - } - if (matches.length) { - handlerQueue.push({ elem: cur, handlers: matches }); - } - } - } - } - - // Add the remaining (directly-bound) handlers - if (delegateCount < handlers.length) { - handlerQueue.push({ elem: this, handlers: handlers.slice(delegateCount) }); - } - - return handlerQueue; - }, - - // Includes some event props shared by KeyEvent and MouseEvent - props: ("altKey bubbles cancelable ctrlKey currentTarget detail eventPhase " + - "metaKey relatedTarget shiftKey target timeStamp view which").split(" "), - - fixHooks: {}, - - keyHooks: { - props: "char charCode key keyCode".split(" "), - filter: function (event, original) { - - // Add which for key events - if (event.which == null) { - event.which = original.charCode != null ? original.charCode : original.keyCode; - } - - return event; - } - }, - - mouseHooks: { - props: ("button buttons clientX clientY offsetX offsetY pageX pageY " + - "screenX screenY toElement").split(" "), - filter: function (event, original) { - var eventDoc, doc, body, - button = original.button; - - // Calculate pageX/Y if missing and clientX/Y available - if (event.pageX == null && original.clientX != null) { - eventDoc = event.target.ownerDocument || document; - doc = eventDoc.documentElement; - body = eventDoc.body; - - event.pageX = original.clientX + - (doc && doc.scrollLeft || body && body.scrollLeft || 0) - - (doc && doc.clientLeft || body && body.clientLeft || 0); - event.pageY = original.clientY + - (doc && doc.scrollTop || body && body.scrollTop || 0) - - (doc && doc.clientTop || body && body.clientTop || 0); - } - - // Add which for click: 1 === left; 2 === middle; 3 === right - // Note: button is not normalized, so don't use it - if (!event.which && button !== undefined) { - event.which = (button & 1 ? 1 : (button & 2 ? 3 : (button & 4 ? 2 : 0))); - } - - return event; - } - }, - - fix: function (event) { - if (event[jQuery.expando]) { - return event; - } - - // Create a writable copy of the event object and normalize some properties - var i, prop, copy, - type = event.type, - originalEvent = event, - fixHook = this.fixHooks[type]; - - if (!fixHook) { - this.fixHooks[type] = fixHook = - rmouseEvent.test(type) ? this.mouseHooks : - rkeyEvent.test(type) ? this.keyHooks : - {}; - } - copy = fixHook.props ? this.props.concat(fixHook.props) : this.props; - - event = new jQuery.Event(originalEvent); - - i = copy.length; - while (i--) { - prop = copy[i]; - event[prop] = originalEvent[prop]; - } - - // Support: Cordova 2.5 (WebKit) (#13255) - // All events should have a target; Cordova deviceready doesn't - if (!event.target) { - event.target = document; - } - - // Support: Safari 6.0+, Chrome<28 - // Target should not be a text node (#504, #13143) - if (event.target.nodeType === 3) { - event.target = event.target.parentNode; - } - - return fixHook.filter ? fixHook.filter(event, originalEvent) : event; - }, - - special: { - load: { - - // Prevent triggered image.load events from bubbling to window.load - noBubble: true - }, - focus: { - - // Fire native event if possible so blur/focus sequence is correct - trigger: function () { - if (this !== safeActiveElement() && this.focus) { - this.focus(); - return false; - } - }, - delegateType: "focusin" - }, - blur: { - trigger: function () { - if (this === safeActiveElement() && this.blur) { - this.blur(); - return false; - } - }, - delegateType: "focusout" - }, - click: { - - // For checkbox, fire native event so checked state will be right - trigger: function () { - if (this.type === "checkbox" && this.click && jQuery.nodeName(this, "input")) { - this.click(); - return false; - } - }, - - // For cross-browser consistency, don't fire native .click() on links - _default: function (event) { - return jQuery.nodeName(event.target, "a"); - } - }, - - beforeunload: { - postDispatch: function (event) { - - // Support: Firefox 20+ - // Firefox doesn't alert if the returnValue field is not set. - if (event.result !== undefined && event.originalEvent) { - event.originalEvent.returnValue = event.result; - } - } - } - } - }; - - jQuery.removeEvent = function (elem, type, handle) { - - // This "if" is needed for plain objects - if (elem.removeEventListener) { - elem.removeEventListener(type, handle); - } - }; - - jQuery.Event = function (src, props) { - - // Allow instantiation without the 'new' keyword - if (!(this instanceof jQuery.Event)) { - return new jQuery.Event(src, props); - } - - // Event object - if (src && src.type) { - this.originalEvent = src; - this.type = src.type; - - // Events bubbling up the document may have been marked as prevented - // by a handler lower down the tree; reflect the correct value. - this.isDefaultPrevented = src.defaultPrevented || - src.defaultPrevented === undefined && - - // Support: Android<4.0 - src.returnValue === false ? - returnTrue : - returnFalse; - - // Event type - } else { - this.type = src; - } - - // Put explicitly provided properties onto the event object - if (props) { - jQuery.extend(this, props); - } - - // Create a timestamp if incoming event doesn't have one - this.timeStamp = src && src.timeStamp || jQuery.now(); - - // Mark it as fixed - this[jQuery.expando] = true; - }; - - // jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding - // http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html - jQuery.Event.prototype = { - constructor: jQuery.Event, - isDefaultPrevented: returnFalse, - isPropagationStopped: returnFalse, - isImmediatePropagationStopped: returnFalse, - - preventDefault: function () { - var e = this.originalEvent; - - this.isDefaultPrevented = returnTrue; - - if (e) { - e.preventDefault(); - } - }, - stopPropagation: function () { - var e = this.originalEvent; - - this.isPropagationStopped = returnTrue; - - if (e) { - e.stopPropagation(); - } - }, - stopImmediatePropagation: function () { - var e = this.originalEvent; - - this.isImmediatePropagationStopped = returnTrue; - - if (e) { - e.stopImmediatePropagation(); - } - - this.stopPropagation(); - } - }; - - // Create mouseenter/leave events using mouseover/out and event-time checks - // so that event delegation works in jQuery. - // Do the same for pointerenter/pointerleave and pointerover/pointerout - // - // Support: Safari 7 only - // Safari sends mouseenter too often; see: - // https://code.google.com/p/chromium/issues/detail?id=470258 - // for the description of the bug (it existed in older Chrome versions as well). - jQuery.each({ - mouseenter: "mouseover", - mouseleave: "mouseout", - pointerenter: "pointerover", - pointerleave: "pointerout" - }, function (orig, fix) { - jQuery.event.special[orig] = { - delegateType: fix, - bindType: fix, - - handle: function (event) { - var ret, - target = this, - related = event.relatedTarget, - handleObj = event.handleObj; - - // For mouseenter/leave call the handler if related is outside the target. - // NB: No relatedTarget if the mouse left/entered the browser window - if (!related || (related !== target && !jQuery.contains(target, related))) { - event.type = handleObj.origType; - ret = handleObj.handler.apply(this, arguments); - event.type = fix; - } - return ret; - } - }; - }); - - jQuery.fn.extend({ - on: function (types, selector, data, fn) { - return on(this, types, selector, data, fn); - }, - one: function (types, selector, data, fn) { - return on(this, types, selector, data, fn, 1); - }, - off: function (types, selector, fn) { - var handleObj, type; - if (types && types.preventDefault && types.handleObj) { - - // ( event ) dispatched jQuery.Event - handleObj = types.handleObj; - jQuery(types.delegateTarget).off( - handleObj.namespace ? - handleObj.origType + "." + handleObj.namespace : - handleObj.origType, - handleObj.selector, - handleObj.handler - ); - return this; - } - if (typeof types === "object") { - - // ( types-object [, selector] ) - for (type in types) { - this.off(type, selector, types[type]); - } - return this; - } - if (selector === false || typeof selector === "function") { - - // ( types [, fn] ) - fn = selector; - selector = undefined; - } - if (fn === false) { - fn = returnFalse; - } - return this.each(function () { - jQuery.event.remove(this, types, fn, selector); - }); - } - }); - - - var - rxhtmlTag = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi, - - // Support: IE 10-11, Edge 10240+ - // In IE/Edge using regex groups here causes severe slowdowns. - // See https://connect.microsoft.com/IE/feedback/details/1736512/ - rnoInnerhtml = /\s*$/g; - - function manipulationTarget(elem, content) { - if (jQuery.nodeName(elem, "table") && - jQuery.nodeName(content.nodeType !== 11 ? content : content.firstChild, "tr")) { - - return elem.getElementsByTagName("tbody")[0] || elem; - } - - return elem; - } - - // Replace/restore the type attribute of script elements for safe DOM manipulation - function disableScript(elem) { - elem.type = (elem.getAttribute("type") !== null) + "/" + elem.type; - return elem; - } - function restoreScript(elem) { - var match = rscriptTypeMasked.exec(elem.type); - - if (match) { - elem.type = match[1]; - } else { - elem.removeAttribute("type"); - } - - return elem; - } - - function cloneCopyEvent(src, dest) { - var i, l, type, pdataOld, pdataCur, udataOld, udataCur, events; - - if (dest.nodeType !== 1) { - return; - } - - // 1. Copy private data: events, handlers, etc. - if (dataPriv.hasData(src)) { - pdataOld = dataPriv.access(src); - pdataCur = dataPriv.set(dest, pdataOld); - events = pdataOld.events; - - if (events) { - delete pdataCur.handle; - pdataCur.events = {}; - - for (type in events) { - for (i = 0, l = events[type].length; i < l; i++) { - jQuery.event.add(dest, type, events[type][i]); - } - } - } - } - - // 2. Copy user data - if (dataUser.hasData(src)) { - udataOld = dataUser.access(src); - udataCur = jQuery.extend({}, udataOld); - - dataUser.set(dest, udataCur); - } - } - - // Fix IE bugs, see support tests - function fixInput(src, dest) { - var nodeName = dest.nodeName.toLowerCase(); - - // Fails to persist the checked state of a cloned checkbox or radio button. - if (nodeName === "input" && rcheckableType.test(src.type)) { - dest.checked = src.checked; - - // Fails to return the selected option to the default selected state when cloning options - } else if (nodeName === "input" || nodeName === "textarea") { - dest.defaultValue = src.defaultValue; - } - } - - function domManip(collection, args, callback, ignored) { - - // Flatten any nested arrays - args = concat.apply([], args); - - var fragment, first, scripts, hasScripts, node, doc, - i = 0, - l = collection.length, - iNoClone = l - 1, - value = args[0], - isFunction = jQuery.isFunction(value); - - // We can't cloneNode fragments that contain checked, in WebKit - if (isFunction || - (l > 1 && typeof value === "string" && - !support.checkClone && rchecked.test(value))) { - return collection.each(function (index) { - var self = collection.eq(index); - if (isFunction) { - args[0] = value.call(this, index, self.html()); - } - domManip(self, args, callback, ignored); - }); - } - - if (l) { - fragment = buildFragment(args, collection[0].ownerDocument, false, collection, ignored); - first = fragment.firstChild; - - if (fragment.childNodes.length === 1) { - fragment = first; - } - - // Require either new content or an interest in ignored elements to invoke the callback - if (first || ignored) { - scripts = jQuery.map(getAll(fragment, "script"), disableScript); - hasScripts = scripts.length; - - // Use the original fragment for the last item - // instead of the first because it can end up - // being emptied incorrectly in certain situations (#8070). - for (; i < l; i++) { - node = fragment; - - if (i !== iNoClone) { - node = jQuery.clone(node, true, true); - - // Keep references to cloned scripts for later restoration - if (hasScripts) { - - // Support: Android<4.1, PhantomJS<2 - // push.apply(_, arraylike) throws on ancient WebKit - jQuery.merge(scripts, getAll(node, "script")); - } - } - - callback.call(collection[i], node, i); - } - - if (hasScripts) { - doc = scripts[scripts.length - 1].ownerDocument; - - // Reenable scripts - jQuery.map(scripts, restoreScript); - - // Evaluate executable scripts on first document insertion - for (i = 0; i < hasScripts; i++) { - node = scripts[i]; - if (rscriptType.test(node.type || "") && - !dataPriv.access(node, "globalEval") && - jQuery.contains(doc, node)) { - - if (node.src) { - - // Optional AJAX dependency, but won't run scripts if not present - if (jQuery._evalUrl) { - jQuery._evalUrl(node.src); - } - } else { - jQuery.globalEval(node.textContent.replace(rcleanScript, "")); - } - } - } - } - } - } - - return collection; - } - - function remove(elem, selector, keepData) { - var node, - nodes = selector ? jQuery.filter(selector, elem) : elem, - i = 0; - - for (; (node = nodes[i]) != null; i++) { - if (!keepData && node.nodeType === 1) { - jQuery.cleanData(getAll(node)); - } - - if (node.parentNode) { - if (keepData && jQuery.contains(node.ownerDocument, node)) { - setGlobalEval(getAll(node, "script")); - } - node.parentNode.removeChild(node); - } - } - - return elem; - } - - jQuery.extend({ - htmlPrefilter: function (html) { - return html.replace(rxhtmlTag, "<$1>"); - }, - - clone: function (elem, dataAndEvents, deepDataAndEvents) { - var i, l, srcElements, destElements, - clone = elem.cloneNode(true), - inPage = jQuery.contains(elem.ownerDocument, elem); - - // Fix IE cloning issues - if (!support.noCloneChecked && (elem.nodeType === 1 || elem.nodeType === 11) && - !jQuery.isXMLDoc(elem)) { - - // We eschew Sizzle here for performance reasons: http://jsperf.com/getall-vs-sizzle/2 - destElements = getAll(clone); - srcElements = getAll(elem); - - for (i = 0, l = srcElements.length; i < l; i++) { - fixInput(srcElements[i], destElements[i]); - } - } - - // Copy the events from the original to the clone - if (dataAndEvents) { - if (deepDataAndEvents) { - srcElements = srcElements || getAll(elem); - destElements = destElements || getAll(clone); - - for (i = 0, l = srcElements.length; i < l; i++) { - cloneCopyEvent(srcElements[i], destElements[i]); - } - } else { - cloneCopyEvent(elem, clone); - } - } - - // Preserve script evaluation history - destElements = getAll(clone, "script"); - if (destElements.length > 0) { - setGlobalEval(destElements, !inPage && getAll(elem, "script")); - } - - // Return the cloned set - return clone; - }, - - cleanData: function (elems) { - var data, elem, type, - special = jQuery.event.special, - i = 0; - - for (; (elem = elems[i]) !== undefined; i++) { - if (acceptData(elem)) { - if ((data = elem[dataPriv.expando])) { - if (data.events) { - for (type in data.events) { - if (special[type]) { - jQuery.event.remove(elem, type); - - // This is a shortcut to avoid jQuery.event.remove's overhead - } else { - jQuery.removeEvent(elem, type, data.handle); - } - } - } - - // Support: Chrome <= 35-45+ - // Assign undefined instead of using delete, see Data#remove - elem[dataPriv.expando] = undefined; - } - if (elem[dataUser.expando]) { - - // Support: Chrome <= 35-45+ - // Assign undefined instead of using delete, see Data#remove - elem[dataUser.expando] = undefined; - } - } - } - } - }); - - jQuery.fn.extend({ - - // Keep domManip exposed until 3.0 (gh-2225) - domManip: domManip, - - detach: function (selector) { - return remove(this, selector, true); - }, - - remove: function (selector) { - return remove(this, selector); - }, - - text: function (value) { - return access(this, function (value) { - return value === undefined ? - jQuery.text(this) : - this.empty().each(function () { - if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { - this.textContent = value; - } - }); - }, null, value, arguments.length); - }, - - append: function () { - return domManip(this, arguments, function (elem) { - if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { - var target = manipulationTarget(this, elem); - target.appendChild(elem); - } - }); - }, - - prepend: function () { - return domManip(this, arguments, function (elem) { - if (this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9) { - var target = manipulationTarget(this, elem); - target.insertBefore(elem, target.firstChild); - } - }); - }, - - before: function () { - return domManip(this, arguments, function (elem) { - if (this.parentNode) { - this.parentNode.insertBefore(elem, this); - } - }); - }, - - after: function () { - return domManip(this, arguments, function (elem) { - if (this.parentNode) { - this.parentNode.insertBefore(elem, this.nextSibling); - } - }); - }, - - empty: function () { - var elem, - i = 0; - - for (; (elem = this[i]) != null; i++) { - if (elem.nodeType === 1) { - - // Prevent memory leaks - jQuery.cleanData(getAll(elem, false)); - - // Remove any remaining nodes - elem.textContent = ""; - } - } - - return this; - }, - - clone: function (dataAndEvents, deepDataAndEvents) { - dataAndEvents = dataAndEvents == null ? false : dataAndEvents; - deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; - - return this.map(function () { - return jQuery.clone(this, dataAndEvents, deepDataAndEvents); - }); - }, - - html: function (value) { - return access(this, function (value) { - var elem = this[0] || {}, - i = 0, - l = this.length; - - if (value === undefined && elem.nodeType === 1) { - return elem.innerHTML; - } - - // See if we can take a shortcut and just use innerHTML - if (typeof value === "string" && !rnoInnerhtml.test(value) && - !wrapMap[(rtagName.exec(value) || ["", ""])[1].toLowerCase()]) { - - value = jQuery.htmlPrefilter(value); - - try { - for (; i < l; i++) { - elem = this[i] || {}; - - // Remove element nodes and prevent memory leaks - if (elem.nodeType === 1) { - jQuery.cleanData(getAll(elem, false)); - elem.innerHTML = value; - } - } - - elem = 0; - - // If using innerHTML throws an exception, use the fallback method - } catch (e) { } - } - - if (elem) { - this.empty().append(value); - } - }, null, value, arguments.length); - }, - - replaceWith: function () { - var ignored = []; - - // Make the changes, replacing each non-ignored context element with the new content - return domManip(this, arguments, function (elem) { - var parent = this.parentNode; - - if (jQuery.inArray(this, ignored) < 0) { - jQuery.cleanData(getAll(this)); - if (parent) { - parent.replaceChild(elem, this); - } - } - - // Force callback invocation - }, ignored); - } - }); - - jQuery.each({ - appendTo: "append", - prependTo: "prepend", - insertBefore: "before", - insertAfter: "after", - replaceAll: "replaceWith" - }, function (name, original) { - jQuery.fn[name] = function (selector) { - var elems, - ret = [], - insert = jQuery(selector), - last = insert.length - 1, - i = 0; - - for (; i <= last; i++) { - elems = i === last ? this : this.clone(true); - jQuery(insert[i])[original](elems); - - // Support: QtWebKit - // .get() because push.apply(_, arraylike) throws - push.apply(ret, elems.get()); - } - - return this.pushStack(ret); - }; - }); - - - var iframe, - elemdisplay = { - - // Support: Firefox - // We have to pre-define these values for FF (#10227) - HTML: "block", - BODY: "block" - }; - - /** - * Retrieve the actual display of a element - * @param {String} name nodeName of the element - * @param {Object} doc Document object - */ - - // Called only from within defaultDisplay - function actualDisplay(name, doc) { - var elem = jQuery(doc.createElement(name)).appendTo(doc.body), - - display = jQuery.css(elem[0], "display"); - - // We don't have any data stored on the element, - // so use "detach" method as fast way to get rid of the element - elem.detach(); - - return display; - } - - /** - * Try to determine the default display value of an element - * @param {String} nodeName - */ - function defaultDisplay(nodeName) { - var doc = document, - display = elemdisplay[nodeName]; - - if (!display) { - display = actualDisplay(nodeName, doc); - - // If the simple way fails, read from inside an iframe - if (display === "none" || !display) { - - // Use the already-created iframe if possible - iframe = (iframe || jQuery("