Merge branch 'release/2.2'

This commit is contained in:
MikaelMengistu 2018-10-08 11:06:01 -07:00
commit fa51d72185
4 changed files with 10 additions and 10 deletions

View File

@ -48,7 +48,7 @@ npm install @aspnet/signalr --registry https://dotnet.myget.org/f/aspnetcore-dev
We also have a MsgPack protocol library which is installed via:
```bash
npm install @aspnet/signalr-protocol-msgpack
npm install @aspnet/signalr-protocol-msgpack
```
## Deploying

View File

@ -44,7 +44,7 @@
<Exec Command="npm run test:inner -- --no-color --configuration $(Configuration)" WorkingDirectory="$(RepositoryRoot)clients/ts/FunctionalTests" IgnoreStandardErrorWarningFormat="true" />
</Target>
<Target Name="RunJavaTests" Condition="'$(HaveJava)' == 'true' AND '$(SkipJavaClient)' != 'true' ">
<Target Name="RunJavaTests" Condition="'$(HasJava)' == 'true' AND '$(SkipJavaClient)' != 'true' ">
<Message Text="Running Java client tests" Importance="high" />
<Message Text="> gradlew $(GradleOptions) test" Importance="high" />
<Exec Command="./gradlew $(GradleOptions) test" WorkingDirectory="$(RepositoryRoot)clients/java/signalr" IgnoreStandardErrorWarningFormat="true" />
@ -76,7 +76,7 @@
</Target>
<Target Name="GetJavaArtifactInfo">
<ItemGroup Condition="'$(SkipJavaClient)' != 'true'">
<ItemGroup Condition="'$(HasJava)' == 'true' AND '$(SkipJavaClient)' != 'true'">
<ArtifactInfo Include="$(BuildDir)\%(Jars.Identity)">
<ArtifactType>JavaJar</ArtifactType>
<Version>$(JavaClientVersion)</Version>
@ -107,7 +107,7 @@
<!-- The build could still fail if the JDK isn't installed, but we can't reliably detect that without a bunch more code -->
<PropertyGroup Condition="'$(JavaDetectExitCode)' == '0'">
<HaveJava>true</HaveJava>
<HasJava>true</HasJava>
</PropertyGroup>
</Target>
@ -121,7 +121,7 @@
<Exec Command="npm run build" WorkingDirectory="$(RepositoryRoot)clients/ts/FunctionalTests" IgnoreStandardErrorWarningFormat="true" />
</Target>
<Target Name="BuildJavaClient" Condition="'$(HaveJava)' == 'true' AND '$(SkipJavaClient)' != 'true' " DependsOnTargets="GetJavaArtifactInfo">
<Target Name="BuildJavaClient" Condition="'$(HasJava)' == 'true' AND '$(SkipJavaClient)' != 'true' " DependsOnTargets="GetJavaArtifactInfo">
<Message Text="Building Java client" Importance="high" />
<Message Text="> gradlew $(GradleOptions) compileJava" Importance="high" />
<Exec Command="./gradlew $(GradleOptions) compileJava" WorkingDirectory="$(RepositoryRoot)clients/java/signalr" />
@ -146,7 +146,7 @@
<JavaBuildFiles Include="@(Jars);@(PomFile)"/>
</ItemGroup>
<Target Name="PackJavaClient" Condition="'$(HaveJava)' == 'true' AND '$(SkipJavaClient)' != 'true' ">
<Target Name="PackJavaClient" Condition="'$(HasJava)' == 'true' AND '$(SkipJavaClient)' != 'true' ">
<Message Text="Packing Java client" Importance="high" />
<Message Text="> gradlew $(GradleOptions) createPackage" Importance="high" />
<Exec Command="./gradlew $(GradleOptions) createPackage" WorkingDirectory="$(RepositoryRoot)clients/java/signalr" />

View File

@ -66,7 +66,7 @@ Just make sure you remove `.only` when you finish running that test!
You can also use the `-t` parameter to jest. That parameter takes a substring pattern to match against all tests to see if they should run. To improve the speed of the run, you should pair this up with the argument that takes a file path to filter on. For example, given these tests
```
```typescript
describe("AbortSignal", () => {
describe("aborted", () => {
it("is false on initialization", () => {

View File

@ -22,7 +22,7 @@ The `POST [endpoint-base]/negotiate` request is used to establish a connection b
1. A response that contains the `connectionId` which will be used to identify the connection on the server and the list of the transports supported by the server.
```
```json
{
"connectionId":"807809a5-31bf-470d-9e23-afaee35d8a0d",
"availableTransports":[
@ -50,7 +50,7 @@ The `POST [endpoint-base]/negotiate` request is used to establish a connection b
2. A redirect response which tells the client which URL and optionally access token to use as a result.
```
```json
{
"url": "https://myapp.com/chat",
"accessToken": "accessToken"
@ -65,7 +65,7 @@ The `POST [endpoint-base]/negotiate` request is used to establish a connection b
3. A response that contains an `error` which should stop the connection attempt.
```
```json
{
"error": "This connection is not allowed."
}