Skip to content

Commit

Permalink
Support for Identity Propagation Plans API (#299)
Browse files Browse the repository at this point in the history
* Support for Identity Propagation Plans API

* go work file

* changelog
  • Loading branch information
patrickcping authored Dec 27, 2023
1 parent 004b537 commit b6e7f08
Show file tree
Hide file tree
Showing 17 changed files with 2,198 additions and 53 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* `github.com/patrickcping/pingone-go-sdk-v2/management` : [v0.34.0](./management/CHANGELOG.md)
* **Note** Adjust CORS origins documentation. [#291](https://github.com/patrickcping/pingone-go-sdk-v2/pull/291)
* **Feature** Add support for Identity Propagation Plans API. [#299](https://github.com/patrickcping/pingone-go-sdk-v2/pull/299)
* **Enhancement** Change `Type` property in the `ApplicationAccessControlGroup` object model to be an ENUM. [#295](https://github.com/patrickcping/pingone-go-sdk-v2/pull/295)
* **Enhancement** Added the `Include` query string parameter to the `ApiReadFormRequest` API. [#297](https://github.com/patrickcping/pingone-go-sdk-v2/pull/297)
* **Enhancement** Added ability to configure `FormFieldTextblob` form controls. [#297](https://github.com/patrickcping/pingone-go-sdk-v2/pull/297)
Expand Down
7 changes: 4 additions & 3 deletions go.work.sum
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ github.com/patrickcping/pingone-go-sdk-v2/authorize v0.1.1/go.mod h1:IMQjhejQfTf
github.com/patrickcping/pingone-go-sdk-v2/management v0.14.0/go.mod h1:JK1xIupfpiOONjRMuoc9e7uBEodx6ciYhhc0iF3azI0=
github.com/patrickcping/pingone-go-sdk-v2/management v0.17.0/go.mod h1:icHZVY/j9s2wl4oSdAy/JDJKrd5BYZ1io+XDhoI7sR4=
github.com/patrickcping/pingone-go-sdk-v2/mfa v0.7.2/go.mod h1:XvlVDdfz69zPFi549g2OZaUC8/wnRUMgrra9MDQ8Hhg=
github.com/patrickcping/pingone-go-sdk-v2/mfa v0.18.1/go.mod h1:Sv6315t+EBp2OvMNNRPWRpcLYoQDDhG46nuTH0FlUCE=
github.com/patrickcping/pingone-go-sdk-v2/risk v0.3.1/go.mod h1:v6ANb988xfh9wvXs6WOAAosUwtogYpKmrrH88AW8Clo=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
Expand Down Expand Up @@ -599,6 +598,10 @@ golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8H
golang.org/x/exp v0.0.0-20230321023759-10a507213a29/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
golang.org/x/exp v0.0.0-20230817173708-d852ddb80c63/go.mod h1:0v4NqG35kSWCMzLaMeX+IQrlSnVE/bqGSyC2cz/9Le8=
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb h1:c0vyKkb6yr3KR7jEfJaOSv4lG7xPkbN6r52aJz1d8a8=
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b h1:kLiC65FbiHWFAOu+lxwNPujcsl8VYyTYYEZnsOO1WK4=
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
golang.org/x/exp/typeparams v0.0.0-20221002003631-540bb7301a08/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20221208152030-732eee02a75a/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
golang.org/x/exp/typeparams v0.0.0-20230224173230-c95f2b4c22f2/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
Expand Down Expand Up @@ -637,8 +640,6 @@ golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI=
golang.org/x/net v0.16.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE=
golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c=
golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U=
golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210323180902-22b0adad7558/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
Expand Down
8 changes: 6 additions & 2 deletions management/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ api_gateways.go
api_group_membership.go
api_group_role_assignments.go
api_groups.go
api_identity_propagation_plans.go
api_identity_provider_attributes.go
api_identity_providers.go
api_integration_catalog.go
Expand All @@ -47,7 +48,6 @@ api_organizations.go
api_phone_delivery_settings.go
api_populations.go
api_propagation_mappings.go
api_propagation_plans.go
api_propagation_revisions.go
api_propagation_rules.go
api_propagation_store_metadata.go
Expand Down Expand Up @@ -235,6 +235,7 @@ docs/EnumGetKeyAcceptHeader.md
docs/EnumGroupMembershipType.md
docs/EnumGroupSourceType.md
docs/EnumHealthStatus.md
docs/EnumIdentityPropagationPlanStatus.md
docs/EnumIdentityProvider.md
docs/EnumIdentityProviderAttributeMappingType.md
docs/EnumIdentityProviderAttributeMappingUpdate.md
Expand Down Expand Up @@ -389,6 +390,8 @@ docs/GroupPopulation.md
docs/GroupRoleAssignmentsApi.md
docs/GroupTotalMemberCounts.md
docs/GroupsApi.md
docs/IdentityPropagationPlan.md
docs/IdentityPropagationPlansApi.md
docs/IdentityProvider.md
docs/IdentityProviderApple.md
docs/IdentityProviderAttribute.md
Expand Down Expand Up @@ -487,7 +490,6 @@ docs/Population.md
docs/PopulationPasswordPolicy.md
docs/PopulationsApi.md
docs/PropagationMappingsApi.md
docs/PropagationPlansApi.md
docs/PropagationRevisionsApi.md
docs/PropagationRulesApi.md
docs/PropagationStore.md
Expand Down Expand Up @@ -767,6 +769,7 @@ model_enum_get_key_accept_header.go
model_enum_group_membership_type.go
model_enum_group_source_type.go
model_enum_health_status.go
model_enum_identity_propagation_plan_status.go
model_enum_identity_provider.go
model_enum_identity_provider_attribute_mapping_type.go
model_enum_identity_provider_attribute_mapping_update.go
Expand Down Expand Up @@ -911,6 +914,7 @@ model_group_membership__embedded.go
model_group_nesting.go
model_group_population.go
model_group_total_member_counts.go
model_identity_propagation_plan.go
model_identity_provider_apple.go
model_identity_provider_attribute.go
model_identity_provider_attribute_identity_provider.go
Expand Down
1 change: 1 addition & 0 deletions management/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# v0.34.0 (Unreleased)

* **Note** Adjust CORS origins documentation. [#291](https://github.com/patrickcping/pingone-go-sdk-v2/pull/291)
* **Feature** Add support for Identity Propagation Plans API. [#299](https://github.com/patrickcping/pingone-go-sdk-v2/pull/299)
* **Enhancement** Change `Type` property in the `ApplicationAccessControlGroup` object model to be an ENUM. [#295](https://github.com/patrickcping/pingone-go-sdk-v2/pull/295)
* **Enhancement** Added the `Include` query string parameter to the `ApiReadFormRequest` API. [#297](https://github.com/patrickcping/pingone-go-sdk-v2/pull/297)
* **Enhancement** Added ability to configure `FormFieldTextblob` form controls. [#297](https://github.com/patrickcping/pingone-go-sdk-v2/pull/297)
Expand Down
12 changes: 7 additions & 5 deletions management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ Class | Method | HTTP request | Description
*GroupsApi* | [**ReadOneGroup**](docs/GroupsApi.md#readonegroup) | **Get** /environments/{environmentID}/groups/{groupID} | READ One Group
*GroupsApi* | [**ReadOneGroupNesting**](docs/GroupsApi.md#readonegroupnesting) | **Get** /environments/{environmentID}/groups/{groupID}/memberOfGroups/{nestedGroupID} | READ One Group Nesting
*GroupsApi* | [**UpdateGroup**](docs/GroupsApi.md#updategroup) | **Put** /environments/{environmentID}/groups/{groupID} | UPDATE Group
*IdentityPropagationPlansApi* | [**CreatePlan**](docs/IdentityPropagationPlansApi.md#createplan) | **Post** /environments/{environmentID}/propagation/plans | CREATE Plan
*IdentityPropagationPlansApi* | [**DeletePlan**](docs/IdentityPropagationPlansApi.md#deleteplan) | **Delete** /environments/{environmentID}/propagation/plans/{planID} | DELETE Plan
*IdentityPropagationPlansApi* | [**ReadAllPlans**](docs/IdentityPropagationPlansApi.md#readallplans) | **Get** /environments/{environmentID}/propagation/plans | READ All Plans
*IdentityPropagationPlansApi* | [**ReadOnePlan**](docs/IdentityPropagationPlansApi.md#readoneplan) | **Get** /environments/{environmentID}/propagation/plans/{planID} | READ One Plan
*IdentityPropagationPlansApi* | [**UpdatePlan**](docs/IdentityPropagationPlansApi.md#updateplan) | **Put** /environments/{environmentID}/propagation/plans/{planID} | UPDATE Plan
*IdentityProviderAttributesApi* | [**CreateIdentityProviderAttribute**](docs/IdentityProviderAttributesApi.md#createidentityproviderattribute) | **Post** /environments/{environmentID}/identityProviders/{providerID}/attributes | CREATE Identity Provider Attribute
*IdentityProviderAttributesApi* | [**DeleteIdentityProviderAttribute**](docs/IdentityProviderAttributesApi.md#deleteidentityproviderattribute) | **Delete** /environments/{environmentID}/identityProviders/{providerID}/attributes/{providerAttributeID} | DELETE Identity Provider Attribute
*IdentityProviderAttributesApi* | [**ReadAllIdentityProviderAttributes**](docs/IdentityProviderAttributesApi.md#readallidentityproviderattributes) | **Get** /environments/{environmentID}/identityProviders/{providerID}/attributes | READ All Identity Provider Attributes
Expand Down Expand Up @@ -302,11 +307,6 @@ Class | Method | HTTP request | Description
*PropagationMappingsApi* | [**EnvironmentsEnvironmentIDPropagationMappingsMappingIDPut**](docs/PropagationMappingsApi.md#environmentsenvironmentidpropagationmappingsmappingidput) | **Put** /environments/{environmentID}/propagation/mappings/{mappingID} | UPDATE Mapping
*PropagationMappingsApi* | [**EnvironmentsEnvironmentIDPropagationRulesRuleIDMappingsGet**](docs/PropagationMappingsApi.md#environmentsenvironmentidpropagationrulesruleidmappingsget) | **Get** /environments/{environmentID}/propagation/rules/{ruleID}/mappings | READ One Rule Mapping
*PropagationMappingsApi* | [**EnvironmentsEnvironmentIDPropagationRulesRuleIDMappingsPost**](docs/PropagationMappingsApi.md#environmentsenvironmentidpropagationrulesruleidmappingspost) | **Post** /environments/{environmentID}/propagation/rules/{ruleID}/mappings | CREATE Rule Mapping
*PropagationPlansApi* | [**EnvironmentsEnvironmentIDPropagationPlansGet**](docs/PropagationPlansApi.md#environmentsenvironmentidpropagationplansget) | **Get** /environments/{environmentID}/propagation/plans | READ All Plans
*PropagationPlansApi* | [**EnvironmentsEnvironmentIDPropagationPlansPlanIDDelete**](docs/PropagationPlansApi.md#environmentsenvironmentidpropagationplansplaniddelete) | **Delete** /environments/{environmentID}/propagation/plans/{planID} | DELETE Plan
*PropagationPlansApi* | [**EnvironmentsEnvironmentIDPropagationPlansPlanIDGet**](docs/PropagationPlansApi.md#environmentsenvironmentidpropagationplansplanidget) | **Get** /environments/{environmentID}/propagation/plans/{planID} | READ One Plan
*PropagationPlansApi* | [**EnvironmentsEnvironmentIDPropagationPlansPlanIDPut**](docs/PropagationPlansApi.md#environmentsenvironmentidpropagationplansplanidput) | **Put** /environments/{environmentID}/propagation/plans/{planID} | UPDATE Plan
*PropagationPlansApi* | [**EnvironmentsEnvironmentIDPropagationPlansPost**](docs/PropagationPlansApi.md#environmentsenvironmentidpropagationplanspost) | **Post** /environments/{environmentID}/propagation/plans | CREATE Plan
*PropagationRevisionsApi* | [**EnvironmentsEnvironmentIDPropagationRevisionsIdlatestGet**](docs/PropagationRevisionsApi.md#environmentsenvironmentidpropagationrevisionsidlatestget) | **Get** /environments/{environmentID}/propagation/revisions/id:latest | READ Latest Revision
*PropagationRevisionsApi* | [**EnvironmentsEnvironmentIDPropagationRevisionsPost**](docs/PropagationRevisionsApi.md#environmentsenvironmentidpropagationrevisionspost) | **Post** /environments/{environmentID}/propagation/revisions | CREATE Revision
*PropagationRevisionsApi* | [**EnvironmentsEnvironmentIDPropagationRevisionsPreviousRevisionIDGet**](docs/PropagationRevisionsApi.md#environmentsenvironmentidpropagationrevisionspreviousrevisionidget) | **Get** /environments/{environmentID}/propagation/revisions/{previousRevisionID} | READ Previous Revision
Expand Down Expand Up @@ -560,6 +560,7 @@ Class | Method | HTTP request | Description
- [EnumGroupMembershipType](docs/EnumGroupMembershipType.md)
- [EnumGroupSourceType](docs/EnumGroupSourceType.md)
- [EnumHealthStatus](docs/EnumHealthStatus.md)
- [EnumIdentityPropagationPlanStatus](docs/EnumIdentityPropagationPlanStatus.md)
- [EnumIdentityProvider](docs/EnumIdentityProvider.md)
- [EnumIdentityProviderAttributeMappingType](docs/EnumIdentityProviderAttributeMappingType.md)
- [EnumIdentityProviderAttributeMappingUpdate](docs/EnumIdentityProviderAttributeMappingUpdate.md)
Expand Down Expand Up @@ -704,6 +705,7 @@ Class | Method | HTTP request | Description
- [GroupNesting](docs/GroupNesting.md)
- [GroupPopulation](docs/GroupPopulation.md)
- [GroupTotalMemberCounts](docs/GroupTotalMemberCounts.md)
- [IdentityPropagationPlan](docs/IdentityPropagationPlan.md)
- [IdentityProvider](docs/IdentityProvider.md)
- [IdentityProviderApple](docs/IdentityProviderApple.md)
- [IdentityProviderAttribute](docs/IdentityProviderAttribute.md)
Expand Down
121 changes: 106 additions & 15 deletions management/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10879,6 +10879,7 @@ paths:
- Propagation Revisions
/environments/{environmentID}/propagation/plans:
get:
operationId: readAllPlans
parameters:
- example: application/json
explode: false
Expand Down Expand Up @@ -10941,12 +10942,15 @@ paths:
description: Uncaught error occurred. Platform outage
"200":
content:
application/json: {}
application/json:
schema:
$ref: '#/components/schemas/EntityArray'
description: Successful response
summary: READ All Plans
tags:
- Propagation Plans
- Identity Propagation Plans
post:
operationId: createPlan
parameters:
- explode: false
in: path
Expand All @@ -10959,9 +10963,7 @@ paths:
content:
application/json:
schema:
example:
name: Default Plan
type: object
$ref: '#/components/schemas/IdentityPropagationPlan'
responses:
"400":
content:
Expand Down Expand Up @@ -11015,13 +11017,16 @@ paths:
description: Uncaught error occurred. Platform outage
"201":
content:
application/json: {}
application/json:
schema:
$ref: '#/components/schemas/IdentityPropagationPlan'
description: Successful response
summary: CREATE Plan
tags:
- Propagation Plans
- Identity Propagation Plans
/environments/{environmentID}/propagation/plans/{planID}:
delete:
operationId: deletePlan
parameters:
- example: application/json
explode: false
Expand Down Expand Up @@ -11093,8 +11098,9 @@ paths:
description: Successful response
summary: DELETE Plan
tags:
- Propagation Plans
- Identity Propagation Plans
get:
operationId: readOnePlan
parameters:
- example: application/json
explode: false
Expand Down Expand Up @@ -11164,12 +11170,15 @@ paths:
description: Uncaught error occurred. Platform outage
"200":
content:
application/json: {}
application/json:
schema:
$ref: '#/components/schemas/IdentityPropagationPlan'
description: Successful response
summary: READ One Plan
tags:
- Propagation Plans
- Identity Propagation Plans
put:
operationId: updatePlan
parameters:
- explode: false
in: path
Expand All @@ -11189,9 +11198,7 @@ paths:
content:
application/json:
schema:
example:
name: Test-Propagation-Plan
type: object
$ref: '#/components/schemas/IdentityPropagationPlan'
responses:
"400":
content:
Expand Down Expand Up @@ -11238,11 +11245,13 @@ paths:
description: Uncaught error occurred. Platform outage
"200":
content:
application/json: {}
application/json:
schema:
$ref: '#/components/schemas/IdentityPropagationPlan'
description: Successful response
summary: UPDATE Plan
tags:
- Propagation Plans
- Identity Propagation Plans
/environments/{environmentID}/propagation/stores:
get:
operationId: readAllStores
Expand Down Expand Up @@ -25761,6 +25770,11 @@ components:
- DEGRADED
- UNHEALTHY
type: string
EnumIdentityPropagationPlanStatus:
description: Status of the propagation plan; defaults to `INACTIVE`
enum:
- INACTIVE
type: string
EnumIdentityProvider:
default: PING_ONE
description: A string that identifies the type of identity provider used to
Expand Down Expand Up @@ -29039,6 +29053,27 @@ components:
contents:
- null
- null
plans:
- environment:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
name: name
id: id
status: null
- environment:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
name: name
id: id
status: null
schemas:
- environment:
id: id
Expand Down Expand Up @@ -30579,6 +30614,37 @@ components:
required:
- id
type: object
IdentityPropagationPlan:
example:
environment:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
name: name
id: id
status: null
properties:
_links:
$ref: '#/components/schemas/LinksHATEOAS'
id:
description: "The unique identifier for the group. Search all groups for\
\ a specific group ID with a SCIM filter on GET /environments/{environmentID}/groups.\
\ Retrieve all the group IDs associated with a user with GET /environments/{environmentID}/users/{userID}?include=memberOfGroupIDs."
readOnly: true
type: string
environment:
$ref: '#/components/schemas/ObjectEnvironment'
name:
description: Unique name of the propagation plan
type: string
status:
$ref: '#/components/schemas/EnumIdentityPropagationPlanStatus'
required:
- name
type: object
IdentityProvider:
oneOf:
- $ref: '#/components/schemas/IdentityProviderFacebook'
Expand Down Expand Up @@ -36537,6 +36603,27 @@ components:
contents:
- null
- null
plans:
- environment:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
name: name
id: id
status: null
- environment:
id: id
_links:
next:
href: https://openapi-generator.tech
self:
href: https://openapi-generator.tech
name: name
id: id
status: null
schemas:
- environment:
id: id
Expand Down Expand Up @@ -37108,6 +37195,10 @@ components:
items:
$ref: '#/components/schemas/NotificationsSettingsPhoneDeliverySettings'
type: array
plans:
items:
$ref: '#/components/schemas/IdentityPropagationPlan'
type: array
populations:
items:
$ref: '#/components/schemas/Population'
Expand Down
Loading

0 comments on commit b6e7f08

Please sign in to comment.