Skip to content

Commit

Permalink
Support population default IdP (#319)
Browse files Browse the repository at this point in the history
* Support population default IdP

* changelog

* bump version

* changelogs
  • Loading branch information
patrickcping authored Feb 23, 2024
1 parent 64dc011 commit e636911
Show file tree
Hide file tree
Showing 12 changed files with 1,060 additions and 4 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Release (Unreleased)

* `github.com/patrickcping/pingone-go-sdk-v2` : v0.11.6
* **Note** bump `golang.org/x/oauth2` v0.16.0 => v0.17.0
* **Note** bump `golang.org/x/oauth2` v0.16.0 => v0.17.0 [#318](https://github.com/patrickcping/pingone-go-sdk-v2/pull/318)
* `github.com/patrickcping/pingone-go-sdk-v2/management` : [v0.37.0](./management/CHANGELOG.md)
* **Enhancement** Add new API operations `ReadOnePopulationDefaultIdp` and `UpdatePopulationDefaultIdp` to support setting default identity providers to populations. [#319](https://github.com/patrickcping/pingone-go-sdk-v2/pull/319)

# Release (2024-01-30)

Expand Down
2 changes: 2 additions & 0 deletions management/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ docs/PasswordPolicyLength.md
docs/PasswordPolicyLockout.md
docs/PhoneDeliverySettingsApi.md
docs/Population.md
docs/PopulationDefaultIdp.md
docs/PopulationPasswordPolicy.md
docs/PopulationsApi.md
docs/PropagationMappingsApi.md
Expand Down Expand Up @@ -998,6 +999,7 @@ model_password_policy_length.go
model_password_policy_lockout.go
model_password_policy_min_characters.go
model_population.go
model_population_default_idp.go
model_population_password_policy.go
model_propagation_store.go
model_propagation_store_configuration_aquera.go
Expand Down
2 changes: 1 addition & 1 deletion management/.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.36.0
0.37.0
4 changes: 4 additions & 0 deletions management/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v0.37.0 (Unreleased)

* **Enhancement** Add new API operations `ReadOnePopulationDefaultIdp` and `UpdatePopulationDefaultIdp` to support setting default identity providers to populations. [#319](https://github.com/patrickcping/pingone-go-sdk-v2/pull/319)

# v0.36.0 (2024-01-30)

* **Breaking Change** Notification template names, used on the `NotificationsTemplatesApiService` service now uses an enum which defines the templates supported in the API path. [#314](https://github.com/patrickcping/pingone-go-sdk-v2/pull/314)
Expand Down
5 changes: 4 additions & 1 deletion management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The PingOne Platform API covering the base and SSO services (otherwise known as
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.

- API version: 2023-06-29
- Package version: 0.36.0
- Package version: 0.37.0
- Build package: org.openapitools.codegen.languages.GoClientCodegen

## Installation
Expand Down Expand Up @@ -302,7 +302,9 @@ Class | Method | HTTP request | Description
*PopulationsApi* | [**DeletePopulation**](docs/PopulationsApi.md#deletepopulation) | **Delete** /environments/{environmentID}/populations/{populationID} | DELETE Population
*PopulationsApi* | [**ReadAllPopulations**](docs/PopulationsApi.md#readallpopulations) | **Get** /environments/{environmentID}/populations | READ All Populations
*PopulationsApi* | [**ReadOnePopulation**](docs/PopulationsApi.md#readonepopulation) | **Get** /environments/{environmentID}/populations/{populationID} | READ One Population
*PopulationsApi* | [**ReadOnePopulationDefaultIdp**](docs/PopulationsApi.md#readonepopulationdefaultidp) | **Get** /environments/{environmentID}/populations/{populationID}/defaultIdentityProvider | READ One Population Default Identity Provider
*PopulationsApi* | [**UpdatePopulation**](docs/PopulationsApi.md#updatepopulation) | **Put** /environments/{environmentID}/populations/{populationID} | UPDATE Population
*PopulationsApi* | [**UpdatePopulationDefaultIdp**](docs/PopulationsApi.md#updatepopulationdefaultidp) | **Put** /environments/{environmentID}/populations/{populationID}/defaultIdentityProvider | UPDATE Population Default Identity Provider
*PropagationMappingsApi* | [**EnvironmentsEnvironmentIDPropagationMappingMappingIDDelete**](docs/PropagationMappingsApi.md#environmentsenvironmentidpropagationmappingmappingiddelete) | **Delete** /environments/{environmentID}/propagation/mapping/{mappingID} | DELETE Mapping
*PropagationMappingsApi* | [**EnvironmentsEnvironmentIDPropagationMappingsMappingIDGet**](docs/PropagationMappingsApi.md#environmentsenvironmentidpropagationmappingsmappingidget) | **Get** /environments/{environmentID}/propagation/mappings/{mappingID} | READ One Mapping
*PropagationMappingsApi* | [**EnvironmentsEnvironmentIDPropagationMappingsMappingIDPut**](docs/PropagationMappingsApi.md#environmentsenvironmentidpropagationmappingsmappingidput) | **Put** /environments/{environmentID}/propagation/mappings/{mappingID} | UPDATE Mapping
Expand Down Expand Up @@ -789,6 +791,7 @@ Class | Method | HTTP request | Description
- [PasswordPolicyLockout](docs/PasswordPolicyLockout.md)
- [PasswordPolicyMinCharacters](docs/PasswordPolicyMinCharacters.md)
- [Population](docs/Population.md)
- [PopulationDefaultIdp](docs/PopulationDefaultIdp.md)
- [PopulationPasswordPolicy](docs/PopulationPasswordPolicy.md)
- [PropagationStore](docs/PropagationStore.md)
- [PropagationStoreConfigurationAquera](docs/PropagationStoreConfigurationAquera.md)
Expand Down
159 changes: 159 additions & 0 deletions management/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17522,6 +17522,152 @@ paths:
summary: UPDATE Population
tags:
- Populations
/environments/{environmentID}/populations/{populationID}/defaultIdentityProvider:
get:
operationId: readOnePopulationDefaultIdp
parameters:
- explode: false
in: path
name: environmentID
required: true
schema:
type: string
style: simple
- explode: false
in: path
name: populationID
required: true
schema:
type: string
style: simple
responses:
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: "Invalid request received. Malformed JSON, malformed HTTP\
\ request."
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Request failed due to authorization issue.
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Request failed due to authorization issue.
"404":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Not found.
"409":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Conflict.
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Request was rate limited
"500":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Uncaught error occurred. Platform outage
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PopulationDefaultIdp'
description: Successful response
summary: READ One Population Default Identity Provider
tags:
- Populations
put:
operationId: updatePopulationDefaultIdp
parameters:
- explode: false
in: path
name: environmentID
required: true
schema:
type: string
style: simple
- explode: false
in: path
name: populationID
required: true
schema:
type: string
style: simple
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/PopulationDefaultIdp'
responses:
"400":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: "Invalid request received. Malformed JSON, malformed HTTP\
\ request."
"401":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Request failed due to authorization issue.
"403":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Request failed due to authorization issue.
"404":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Not found.
"409":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Conflict.
"429":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Request was rate limited
"500":
content:
application/json:
schema:
$ref: '#/components/schemas/P1Error'
description: Uncaught error occurred. Platform outage
"200":
content:
application/json:
schema:
$ref: '#/components/schemas/PopulationDefaultIdp'
description: Successful response
summary: UPDATE Population Default Identity Provider
tags:
- Populations
/environments/{environmentID}/recaptchaV2Config:
delete:
operationId: deleteRecaptchaConfiguration
Expand Down Expand Up @@ -32191,6 +32337,19 @@ components:
required:
- name
type: object
PopulationDefaultIdp:
example:
id: id
type: type
properties:
id:
description: The ID of the default IdP for the population.
type: string
type:
description: The type of the default IdP for the population.
readOnly: true
type: string
type: object
PropagationStore:
example:
image:
Expand Down
Loading

0 comments on commit e636911

Please sign in to comment.