Skip to content

Commit

Permalink
Merge pull request #136 from openziti/edge-router-connection-status
Browse files Browse the repository at this point in the history
Add edge router connection status to identity
  • Loading branch information
plorenz authored Nov 1, 2024
2 parents c43eb5b + a42877e commit d76bff4
Show file tree
Hide file tree
Showing 10 changed files with 120 additions and 11 deletions.
9 changes: 8 additions & 1 deletion client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.26.34
version: 0.26.35
host: demo.ziti.dev
basePath: /edge/client/v1
paths:
Expand Down Expand Up @@ -4517,6 +4517,7 @@ definitions:
- sdkInfo
- roleAttributes
- hasEdgeRouterConnection
- edgeRouterConnectionStatus
- hasApiSession
- isMfaEnabled
- serviceHostingPrecedences
Expand Down Expand Up @@ -4549,6 +4550,12 @@ definitions:
type: string
format: date-time
x-nullable: true
edgeRouterConnectionStatus:
type: string
enum:
- online
- offline
- unknown
enrollment:
$ref: '#/definitions/identityEnrollments'
envInfo:
Expand Down
9 changes: 8 additions & 1 deletion management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ info:
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 0.26.34
version: 0.26.35
host: demo.ziti.dev
basePath: /edge/management/v1
paths:
Expand Down Expand Up @@ -18129,6 +18129,7 @@ definitions:
- sdkInfo
- roleAttributes
- hasEdgeRouterConnection
- edgeRouterConnectionStatus
- hasApiSession
- isMfaEnabled
- serviceHostingPrecedences
Expand Down Expand Up @@ -18161,6 +18162,12 @@ definitions:
type: string
format: date-time
x-nullable: true
edgeRouterConnectionStatus:
type: string
enum:
- online
- offline
- unknown
enrollment:
$ref: '#/definitions/identityEnrollments'
envInfo:
Expand Down
2 changes: 1 addition & 1 deletion rest_client_api_server/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 20 additions & 2 deletions rest_client_api_server/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rest_management_api_server/doc.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 20 additions & 2 deletions rest_management_api_server/embedded_spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions rest_model/identity_detail.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion source/client.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
swagger: '2.0'
info:
version: 0.26.34
version: 0.26.35
title: Ziti Edge Client
description: OpenZiti Edge Client API
contact:
Expand Down
2 changes: 1 addition & 1 deletion source/management.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
swagger: '2.0'
info:
version: 0.26.34
version: 0.26.35
title: Ziti Edge Management
description: OpenZiti Edge Management API
contact:
Expand Down
9 changes: 8 additions & 1 deletion source/shared/identities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ definitions:
- sdkInfo
- roleAttributes
- hasEdgeRouterConnection
- edgeRouterConnectionStatus
- hasApiSession
- isMfaEnabled
- serviceHostingPrecedences
Expand Down Expand Up @@ -56,14 +57,20 @@ definitions:
$ref: 'base-entity.yml#/definitions/attributes'
hasEdgeRouterConnection:
type: boolean
edgeRouterConnectionStatus:
type: string
enum:
- online
- offline
- unknown
hasApiSession:
type: boolean
isMfaEnabled:
type: boolean
authPolicyId:
type: string
authPolicy:
$ref: 'base-entity.yml#/definitions/entityRef'
$ref: 'base-entity.yml#/definitions/entityRef'
defaultHostingPrecedence:
$ref: 'terminators.yml#/definitions/terminatorPrecedence'
defaultHostingCost:
Expand Down

0 comments on commit d76bff4

Please sign in to comment.