Граф коммитов

220 Коммитов

Автор SHA1 Сообщение Дата
Liangying.Wei 3e87c3ce27
Simplify the workflow (#289)
* Simplify the workflow

* clean
2022-11-28 13:18:52 +08:00
microsoft-github-policy-service[bot] bb21bb00d9
Microsoft mandatory file (#287)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2022-07-29 11:34:22 +08:00
yzt c72b5b0758
Update README.md (#284) 2021-12-09 14:17:38 +08:00
yzt 4cbed19494
Announce new repo address (#283) 2021-12-07 14:06:36 +08:00
yzt 41ccdaa5c4
Fix `AzureComponentFactory` is null (#274) 2021-09-13 14:53:30 +08:00
yzt 2224ad475e
Update SDK to 1.11 (#272)
Also update self version to 1.6.0
2021-09-09 13:55:19 +08:00
yzt 7de04c1873
Merge pull request #268 from Y-Sindo/move
Move identity-based service endpoint parsing methods here
2021-09-06 19:06:56 +08:00
Zitong Yang c26741cc01 Fix broken tests after SDK behaviour changes
SDK won't check endpoint health with single endpoint anymore.
2021-09-03 16:31:47 +08:00
Zitong Yang 3d3aba3d10 Move identity-based service endpoint parsing methods here
The code won't exist in SDK anymore. Also move the tests here
2021-09-03 16:30:09 +08:00
yzt 78eea3c12d
Merge pull request #265 from Y-Sindo/identity
Support reading identity-based `ServiceEndpoint` from `Configuration`
2021-09-01 15:04:04 +08:00
Zitong Yang cd7ae7dceb Support reading identity-based `ServiceEndpoint` from `Configuration`
By default, we allow two styles to configure identity-based `ServiceEndpoint`: named endpoint and nameless endpoint. The key of nameless endpoint reuses `ConnectionStringSetting`. The key of named endpoints is "Azure:SignalR:Endpoints". The following is a sample.
    ```json
    {
        "AzureSignalRConnectionString": {
            "serviceUri": "https://{SignalRHost}"
        },
        "Azure": {
            "SignalR": {
                "Endpoints": {
                    "eastUs": {
                        "serviceUri": "https://{SignalRHost}"
                    },
                    "westUs": {
                        "serviceUri": "https://{SignalRHost}"
                    }
                }
            }
        }
    }
    ```
2021-08-31 10:21:51 +08:00
Zitong Yang 7c8cb50389 Update serverless SDK version to 1.11.0-preview1-10835
Also fixed broken tests
2021-08-30 18:11:23 +08:00
Brennan Bugbee d2d5999be3
Enable connection string setting for `ServerlessHub` (#263)
```cs
[SignalRConnection("ConnectionStringSetting")]
public class ChatHub : ServerlessHub{

}
```
2021-08-19 12:13:26 +08:00
yzt 8e93d4f1c5
Upgrade version to 1.5.1 2021-07-16 13:54:57 +08:00
yzt cb2ccf4651
Expose `ClientManager` in `ServerlessHub` (#256) 2021-07-16 13:07:57 +08:00
yzt d2feb7c6ba
Update version to 1.5.0 (#253) 2021-07-05 16:48:15 +08:00
yzt fdd2642cb5
Update Management SDK version to 1.9.1 (#254) 2021-07-05 16:47:47 +08:00
yzt 16cff13c7b
Add Newtonsoft CamelCase config support (#248)
Allow to use "Azure:SignalR:HubProtocol:Newtonsoft:CamelCase=true" to enable camelcase.

If user want NewtonsoftCamelCase, no need set “HubProtocol=NewtonsoftJson". "HubProtocol:NewtonsoftJson:CamelCase=true" implies Newtonsoft already.
2021-06-30 14:24:39 +08:00
yzt f6390adfa5
Expose `ClientManager` in `InvocationContext` (#251) 2021-06-30 11:12:32 +08:00
yzt dc70f968f6
Update Management SDK to 1.9.0 (#250) 2021-06-25 15:04:24 +08:00
yzt b111445f63
Update .Net SDK version to 5.0.301 in korebuild (#249) 2021-06-24 12:54:43 +08:00
yzt 1ff15af896
Upgrade Mgm SDK to 1.8.3-preview (#247) 2021-06-23 17:22:26 +08:00
yzt 3f682136a4
Update version to 1.4.3 2021-06-16 14:26:35 +08:00
yzt ebac09d894
Merge pull request #244 from Y-Sindo/version
Update version to 1.4.2
2021-06-15 17:30:01 +08:00
yzt 9577e51a6c
Update Mgm SDK to 1.8.2 (#240) 2021-06-15 12:52:12 +08:00
yzt 38fddb41ed
Fix `ServerlessHub` sync negotiation (#239) 2021-06-15 10:03:22 +08:00
yzt d361495089
Update samples to Functions v3 and fixes (#237) 2021-05-28 17:40:03 +08:00
yzt c79002d46c
Fix trigger problem with custom ConnectionStringSetting (#230)
fixed #207
2021-05-24 16:48:47 +08:00
yzt 103d0d5f67
Remove outdated description (#234) 2021-05-24 16:24:19 +08:00
yzt b837e5e46b
Fix override global default json serialization options (#233) 2021-05-24 15:22:39 +08:00
yzt 6d6ccb7aba
fix script error (#232) 2021-05-20 13:24:00 +08:00
yzt 37ea774563
Fix userid is null (#231) 2021-05-20 13:17:52 +08:00
yzt dbe3704a6e
Add CORS setting on local (#228) 2021-05-18 20:22:58 +08:00
yzt c01031ff4e
Update version to 1.4.1 (#227) 2021-05-12 15:57:29 +08:00
yzt 65826866db
Fix sample simple-chat csharp (#226) 2021-05-12 11:19:39 +08:00
yzt c541fa9fc0
Add doc on customizing routing for js (#220) 2021-05-11 18:23:41 +08:00
yzt acd1369ee2
Remove [Obsolete] of `ServerlessHub` sync negotiate method (#224)
Avoid breaking changes
2021-05-11 17:27:06 +08:00
yzt dd93ccb561
Update version to 1.4.0 (#223) 2021-05-11 16:38:04 +08:00
yzt 283142a725
Update management sdk dependency to 1.8.1 (#221) 2021-05-10 18:12:28 +08:00
yzt 3229a6535b
Remove the 'required' limitaion of group name (#219) 2021-04-28 16:03:41 +08:00
yzt 95efb6a6b5
Add E2E test for external routing (#215) 2021-04-28 12:05:38 +08:00
yzt 8c805ad858
Use xUnit built-in methods to skip tests (#218) 2021-04-28 11:48:33 +08:00
yzt 058a1f94c2
Simplify E2E test (#216) 2021-04-28 10:45:08 +08:00
yzt 864d7ced07
Upgrade sample: simple-chat js to Function V3 (#212) 2021-04-28 10:40:31 +08:00
yzt 3437d612bc
Fix simple-chat sample bug that func cli can not find extensions to register (#213) 2021-04-28 10:40:05 +08:00
yzt 18b16ef6be
Add nuget source (#214)
Microsoft.AspNetCore.Testing package is deleted from https://www.myget.org/F/azure-signalr-dev/api/v3/index.json now.
2021-04-27 18:48:06 +08:00
yzt 01b1b4c676
Fix SignalR Negotiation binding bugs (#210)
* Fix SignalRNegotiation binding bug that fails to find binding

* Fixed a bug that SignalR output binding fails to deserializing JSON
2021-04-27 17:26:34 +08:00
yzt b9c0113d28
Fixed test problem (#211)
abc.com is used. The return code is changed to 403 forbidden, while what we want is 404 not found.
2021-04-27 11:00:43 +08:00
yzt c495dd8f53
Merge pull request #208 from Y-Sindo/js-e2e
Add js simple-chat e2e test function
2021-04-26 17:10:32 +08:00
Zitong Yang edbf2478ef Fix E2E test client for node function
* Add Content-Length header to each request, otherwise http reqeust body is undefined in Node worker.
* Use object as hub method body, to test the serialization and deserialization of output binding.
2021-04-21 19:31:28 +08:00