change log, edge dep

- api session performance
- er current identity list
This commit is contained in:
Andrew Martinez
2021-02-04 09:44:03 -05:00
parent d6ee1e0275
commit d1fa38b85a
3 changed files with 58 additions and 4 deletions
+55
View File
@@ -3,6 +3,9 @@
## What's New
* Websocket binding in Edge Router to support connections from BrowZer-based apps that use the `ziti-sdk-js`. Edge Routers support various configurations including a single `tls` binding, a single `ws` binding, or having both `tls` and `ws` bindings simultaneously. If both binding types are used, they must be specified with different ports.
* Edge Router list for current identity
## Websocket Binding
```
# Example Edge Router config snippet (note new `ws` address type):
@@ -19,6 +22,58 @@ listeners:
```
## Edge Router List For Current Identity
A new endpoint has been added which will display the list of Edge Routers an authenticated session has access to via any policy.
The records will indicate whether the router is online, its hostname, and its supported protocols. This endpoint will not return Edge
Routers that have not completed enrollment. Edge Routers that are offline will not have hostname and supported protocol information.
Endpoint: `GET /current-identity/edge-routers`
Example Output:
```
{
"data": [
{
"createdAt": "2021-01-27T20:13:18.599Z",
"id": "LolSlAQMq",
"tags": {},
"updatedAt": "2021-01-27T20:13:19.762Z",
"hostname": "",
"isOnline": false,
"name": "er1",
"supportedProtocols": {}
},
{
"createdAt": "2021-01-27T20:13:19.308Z",
"id": "oVzRl6kCq",
"tags": {},
"updatedAt": "2021-01-27T20:13:19.901Z",
"hostname": "127.0.0.1:5002",
"isOnline": true,
"name": "er2",
"supportedProtocols": {
"tls": "tls://127.0.0.1:5002",
"wss": "wss://127.0.0.1:5002"
}
}
],
"meta": {
"filterableFields": [
"id",
"createdAt",
"updatedAt",
"name",
],
"pagination": {
"limit": 10,
"offset": 0,
"totalCount": 2
}
}
}
```
# Release 0.18.7
## What's New
+1 -1
View File
@@ -24,7 +24,7 @@ require (
github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d
github.com/keybase/go-ps v0.0.0-20190827175125-91aafc93ba19
github.com/michaelquigley/pfxlog v0.3.6
github.com/openziti/edge v0.17.57
github.com/openziti/edge v0.17.59
github.com/openziti/fabric v0.15.18
github.com/openziti/foundation v0.15.10
github.com/openziti/sdk-golang v0.15.13
+2 -3
View File
@@ -520,9 +520,8 @@ github.com/onsi/gomega v1.10.1 h1:o0+MgICZLuZ7xjH7Vx6zS/zcu93/BEp1VwkIW1mEXCE=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
github.com/openzipkin/zipkin-go v0.1.1/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8=
github.com/openziti/edge v0.17.56 h1:K775G+6l1GT9xwlt5UOCGteu91PTwX9jBsHm+P9okTs=
github.com/openziti/edge v0.17.56/go.mod h1:pHFEpTmILwipHcmvMzSYDKLaWGgb5Iob/4CHp8UdppQ=
github.com/openziti/fabric v0.15.15/go.mod h1:H2bwevoCxvJxr3xIsG9AQq9Wy+rxOMNrJTQaPzj/Pas=
github.com/openziti/edge v0.17.59 h1:QCRWpF5De3fB/GQDcC4RNRwHZ3Xsm9tGrKrQD0LiRvk=
github.com/openziti/edge v0.17.59/go.mod h1:tuzW9dGztEPiDY8P7a45dq+N8VA3KRDGnYIGOR+DFJE=
github.com/openziti/fabric v0.15.18 h1:Ze/v2ZCGjo2QqA5Y+o2PP/Mcf/GLRSDGc3Ia2+2c6jw=
github.com/openziti/fabric v0.15.18/go.mod h1:KKvO246Nk8twpNv+Mee60NVJh83eh9ZreAb3H8JEnJY=
github.com/openziti/foundation v0.15.9/go.mod h1:34ifQ24R2EUNjakzZBKY1M4EvnOWeIYJOrJxRGdRNh4=