Commit Graph

14349 Commits

Author SHA1 Message Date
Cesar Blum Silveira c8f9364e3e Expose connection features to HTTP/2 connections. 2017-09-20 11:14:15 -07:00
John Luo e53abdb2b8 Fix flaky hosting functional tests
- Filter out startup messages
- Do not publish test apps if not needed
- Disable running functional tests in parallel
2017-09-19 21:45:17 -07:00
N. Taylor Mullen f564f0b68e Merge pull request #562 from aspnet/nimullen/addvstext
Add Microsoft.VisualStudio.Text.Data and UI to the universe lineup.
2017-09-19 16:06:23 -07:00
N. Taylor Mullen d2b202377f Add Microsoft.VisualStudio.Text.Data and UI to the universe lineup. 2017-09-19 15:58:28 -07:00
Chris Ross (ASP.NET) 1e1e89b457 logging/#543 Clear HttpContext.User when the user is disposed. 2017-09-19 15:55:14 -07:00
Nate McMaster 0c2708238d Update Korebuild to 2.0.2-alpha-14598 2017-09-19 14:21:33 -07:00
Nate McMaster cca1480f3a Switch from feature/x to rel/x branches 2017-09-19 10:48:15 -07:00
Nate McMaster 177fa71634 Copy packages to ship/noship and verify coherent versions (#560) 2017-09-18 16:44:12 -07:00
Cesar Blum Silveira 91eb4cd54c Fix flakiness in KeepAliveTimeoutTests.ConnectionKeptAliveBetweenRequests (#1684). 2017-09-18 15:12:13 -07:00
Vladimir Sadov 1470ee0658 Updating toolset compiler (#2052) 2017-09-18 15:07:47 -07:00
David Fowler 37e122a0c6 Added overloads without the HostingContext (#1220)
* Added overloads without the HostingContext
2017-09-18 14:48:45 -07:00
Nate McMaster 351156f455 Include DotNetCliToolReference's when computing the build order 2017-09-18 14:04:24 -07:00
Pavel Krymets 46dadbb186 Make RegistryPolicyResolver an interface to fix 3d party DI (#275) 2017-09-18 13:43:45 -07:00
Nate McMaster f77b6ff614 Re-add CloneRepositories to BuildDependsOn 2017-09-18 13:26:11 -07:00
Nate McMaster b9e332c11b Use KoreBuild to clone source code instead of TeamCity 2017-09-18 13:10:08 -07:00
Nate McMaster 83adfd2484 Find commit hashes from the TeamCity environment variables 2017-09-18 13:06:07 -07:00
David Fowler 712c992ca8 Add BackgroundService, a base class for long running HostedServices (#1215)
* Add BackgroundService, a base class for long running HostedServices
- Today the IHostedService pattern is a StartAsync/StopAsync pattern. Neither of these
methods are supposed to return a long running task that represents an execution. If
you wanted to have some logic run on a timer every 5 minutes, it's unnatural to do so
with simple async idioms. This base class implements IHostedService and exposes
a pattern where a long running async Task can be returned.
- The token passed into ExecuteAsync represents the lifetime of the execution.
- StartAsync and StopAsync were made virtual to allow the derived type to
indicate Start failures.
- Added tests
2017-09-18 12:55:54 -07:00
Nate McMaster 4fa08287a2 Remove dead code and ensure source code is cloned when building on CI 2017-09-18 12:39:27 -07:00
Nate McMaster 4182b0b5d2 When BuildGraphOf is used, only pin package references to packages currently building 2017-09-18 12:31:08 -07:00
Nate McMaster 4924f79efc Update PackageReferences to non-floating versions when building multiple repos 2017-09-18 12:05:12 -07:00
Justin Kotalik 500668619f Detect duplicate startups in HostingStartupAssemblies (#1183) 2017-09-18 11:47:34 -07:00
Nate McMaster 51dbdbeac2 Code cleanup 2017-09-18 11:15:51 -07:00
Nate McMaster a10ba83751 Add /t:UpdateRepoLineups which will automatically update the build/dependencies.targets file with appropriate versions 2017-09-18 10:33:48 -07:00
Nate McMaster dc50526a6d Rename target, remove unused parameter, and add comments to the AnalyzeBuildGraph task 2017-09-18 09:37:12 -07:00
Nate McMaster 997be52987 Add repos that should be patched due to cascading versions 2017-09-15 18:03:29 -07:00
Nate McMaster 7568441acc Update analysis to account for non-shipping package references (samples, tests) 2017-09-15 17:45:55 -07:00
Nate McMaster 479e37d7cc Include Identity in the list of repos that are being patched 2017-09-15 16:14:25 -07:00
Nate McMaster a0547c7b9f Generate a file that contains all of the dependencies and their versions 2017-09-15 16:10:24 -07:00
Javier Calvarro Nelson c24c717eee Add extension methods in our test host package to streamline setup of apps.
* Create a sources package to encode the convention followed in our templates to create a WebHost.
* Add an extension method to setup the content root relative to the solution folder.
* Add a factory method to create a WebHostBuilder based on the pattern followed in our template.
2017-09-15 15:08:35 -07:00
Nate McMaster 4220c516bc Ensure PackageReference versions are consistent with artifacts that will be produced 2017-09-15 14:52:47 -07:00
Nate McMaster a43fb2271e Use artifact info to correctly analyze the packages produced from a repository 2017-09-15 13:17:49 -07:00
Nate McMaster 8276bd163e Analyze repository build order from AnalyzeBuildGraph 2017-09-15 11:12:02 -07:00
Julian Dominguez 1c3fa82908 Preserve state in HostBuilder.Properties (#1212) 2017-09-15 02:00:44 -07:00
Cesar Blum Silveira a31d1e024c Merge code paths duplicated between HTTP/1.x and HTTP/2 implementations (#2017).
- Most of the shared code is in the HttpProtocol class (former Frame)
- Virtual calls handle protocol-specific things
- Move the ProcessRequestsAsync loop to HttpProtocol
- Implement HTTP/1.x request processing in Http1Connection and HTTP/2
  in Http2Stream, with Http1Connection<T> and Http2Stream<T> subclassing
  those classes in order to handle the generic HttpContext parameter
- Split MessageBody into Http1MessageBody and Http2MessageBody,
  with MessageBody containing shared member variables and methods
2017-09-14 17:35:57 -07:00
Nate McMaster 8f25a559a5 Begin implementation of build graph analysis 2017-09-14 17:13:57 -07:00
Cesar Blum Silveira d28b413390 Add tracing to KeepAliveTimeoutTests.ConnectionKeptAliveBetweenRequests to investigate test failures. 2017-09-14 16:55:44 -07:00
Nate McMaster 52757943ac Backport improvements from dev branch to repo tasks
- CalculateBuildGraph
 - PinVersion tool
 - Ensuring sub-repositories build with the same version of KoreBuild executing in Universe
2017-09-14 15:23:27 -07:00
Nate McMaster 9eb27fa53f Stub out a task to validate cascading version effects (#557) 2017-09-14 14:48:11 -07:00
Chris Ross (ASP.NET) ae9da9290e #1163 Implement the generic host 2017-09-14 14:48:06 -07:00
Nate McMaster 9c0eea3788 Update the bootstrapper to use compiled KoreBuild 2017-09-14 14:40:03 -07:00
Nate McMaster 1fef45db67 Start preparing list of repositories that need patching (#556) 2017-09-14 14:10:41 -07:00
Cesar Blum Silveira da7bc24eec Add request parsing regression tests. 2017-09-13 14:49:45 -07:00
Justin Kotalik 5c2906a7c6 [WIP] Fixing win7 compilation issues. (#141) 2017-09-13 14:40:00 -07:00
jhkimnew 0120dae36b Jhkim/updatetest (#155)
* Added new test scenarios for websocket

* Fixed test issues

* Fixed test issues
2017-09-13 14:32:53 -07:00
Jonathan 5128efe0e8 Fix HTTP capitalization in comment (#931) 2017-09-12 22:19:52 -07:00
Nate McMaster 71a11d5ed6 Remove redundant calls to TimeoutAfter 2017-09-12 14:23:16 -07:00
smarts 2b9516703b Update comments to use correct class name. (#937) 2017-09-12 13:53:04 -07:00
jhkimnew c5f59e06c3 Added new test scenarios for websocket (#153) 2017-09-12 11:39:55 -07:00
Nate McMaster 135e1c248d Use PackageLineup to manage PackageReference versions 2017-09-12 11:06:26 -07:00
Nate McMaster 4a3d9b0955 Use Directory.Build.props/targets 2017-09-12 10:58:27 -07:00