Skip to content

Commit

Permalink
Merge pull request #14 from openziti/fix.edge.1391.auth.policy.ref
Browse files Browse the repository at this point in the history
addresses openziti/edge#1391 adds auth policy ref to identity
  • Loading branch information
andrewpmartinez authored Apr 5, 2023
2 parents f8a274e + 619629e commit f28ddf8
Show file tree
Hide file tree
Showing 12 changed files with 94 additions and 13 deletions.
5 changes: 4 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.25.9
version: 0.25.10
host: demo.ziti.dev
basePath: /edge/client/v1
paths:
Expand Down Expand Up @@ -3466,11 +3466,14 @@ definitions:
- serviceHostingCosts
- defaultHostingCost
- authPolicyId
- authPolicy
- externalId
- disabled
properties:
appData:
$ref: '#/definitions/tags'
authPolicy:
$ref: '#/definitions/entityRef'
authPolicyId:
type: string
authenticators:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require (
require (
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-openapi/analysis v0.21.4 // indirect
github.com/go-openapi/jsonpointer v0.19.6 // indirect
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDD
github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa h1:RDBNVkRviHZtvDvId8XSGPu3rmpmSe+wKRcEWNgsfWU=
github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.2.3 h1:2DntVwHkVopvECVRSlL5PSo9eG+cAkDCuckLubN+rq0=
github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ=
github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/go-openapi/analysis v0.21.2/go.mod h1:HZwRk4RRisyG8vx2Oe6aqeSQcoxRp47Xkp3+K6q+LdY=
Expand Down
5 changes: 4 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.25.9
version: 0.25.10
host: demo.ziti.dev
basePath: /edge/management/v1
paths:
Expand Down Expand Up @@ -14360,11 +14360,14 @@ definitions:
- serviceHostingCosts
- defaultHostingCost
- authPolicyId
- authPolicy
- externalId
- disabled
properties:
appData:
$ref: '#/definitions/tags'
authPolicy:
$ref: '#/definitions/entityRef'
authPolicyId:
type: string
authenticators:
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.

12 changes: 10 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.

12 changes: 10 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.

56 changes: 56 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.25.9
version: 0.25.10
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.25.9
version: 0.25.10
title: Ziti Edge Management
description: OpenZiti Edge Management API
contact:
Expand Down
3 changes: 3 additions & 0 deletions source/shared/identities.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ definitions:
- serviceHostingCosts
- defaultHostingCost
- authPolicyId
- authPolicy
- externalId
- disabled
properties:
Expand Down Expand Up @@ -61,6 +62,8 @@ definitions:
type: boolean
authPolicyId:
type: string
authPolicy:
$ref: 'base-entity.yml#/definitions/entityRef'
defaultHostingPrecedence:
$ref: 'terminators.yml#/definitions/terminatorPrecedence'
defaultHostingCost:
Expand Down

0 comments on commit f28ddf8

Please sign in to comment.