From 09e1f4acc3d6437f7586dbaaf2786dddc848bf12 Mon Sep 17 00:00:00 2001 From: Patrick Cowland Date: Fri, 28 Apr 2023 11:38:48 +0100 Subject: [PATCH 1/3] remove unnecessary log output from the client --- pingone/client.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/pingone/client.go b/pingone/client.go index 8e6caf34..20cf9ee4 100644 --- a/pingone/client.go +++ b/pingone/client.go @@ -58,7 +58,6 @@ func (c *Config) APIClient(ctx context.Context) (*Client, error) { Region: model.FindRegionByName(c.Region), } - log.Printf("[INFO] PingOne Client configured") return apiClient, nil } @@ -74,8 +73,6 @@ func AgreementManagementAPIClient(token *oauth2.Token) (*agreementmanagement.API return nil, fmt.Errorf("Cannot initialise PingOne Agreement Management client") } - log.Printf("[INFO] PingOne Agreement Management Client initialised") - return client, nil } @@ -92,8 +89,6 @@ func AuthorizeAPIClient(token *oauth2.Token) (*authorize.APIClient, error) { return nil, fmt.Errorf("Cannot initialise PingOne Authorize client") } - log.Printf("[INFO] PingOne Authorize Client initialised") - return client, nil } @@ -110,8 +105,6 @@ func ManagementAPIClient(token *oauth2.Token) (*management.APIClient, error) { return nil, fmt.Errorf("Cannot initialise PingOne Management client") } - log.Printf("[INFO] PingOne Management Client initialised") - return client, nil } @@ -128,8 +121,6 @@ func MFAAPIClient(token *oauth2.Token) (*mfa.APIClient, error) { return nil, fmt.Errorf("Cannot initialise PingOne MFA client") } - log.Printf("[INFO] PingOne MFA Client initialised") - return client, nil } @@ -146,8 +137,6 @@ func RiskAPIClient(token *oauth2.Token) (*risk.APIClient, error) { return nil, fmt.Errorf("Cannot initialise PingOne Risk client") } - log.Printf("[INFO] PingOne Risk Client initialised") - return client, nil } @@ -164,7 +153,6 @@ func getToken(ctx context.Context, c *Config) (*oauth2.Token, error) { //Get URL from SDK authURL := fmt.Sprintf("https://auth.pingone.%s", regionSuffix) - log.Printf("[INFO] Getting token from %s", authURL) //OAuth 2.0 config for client creds config := clientcredentials.Config{ @@ -180,7 +168,6 @@ func getToken(ctx context.Context, c *Config) (*oauth2.Token, error) { if err != nil { return nil, err } - log.Printf("[INFO] Token retrieved") return token, nil From 212b90b826dcfa5abf41599297325f7e281f0598 Mon Sep 17 00:00:00 2001 From: Patrick Cowland Date: Fri, 28 Apr 2023 11:39:50 +0100 Subject: [PATCH 2/3] correct object dereferencing for application retry conditions --- agreementmanagement/.openapi-generator/VERSION | 2 +- agreementmanagement/client_ext.go | 2 +- agreementmanagement/go.mod | 2 +- agreementmanagement/go.sum | 4 ++-- authorize/.openapi-generator/VERSION | 2 +- authorize/client_ext.go | 2 +- authorize/go.mod | 2 +- authorize/go.sum | 4 ++-- management/.openapi-generator/VERSION | 2 +- management/client_ext.go | 2 +- management/go.mod | 2 +- management/go.sum | 4 ++-- mfa/.openapi-generator/VERSION | 2 +- mfa/client_ext.go | 2 +- mfa/go.mod | 2 +- mfa/go.sum | 4 ++-- risk/.openapi-generator/VERSION | 2 +- risk/api/openapi.yaml | 2 -- risk/client_ext.go | 2 +- risk/go.mod | 2 +- risk/go.sum | 4 ++-- scripts/client_ext.go.tmpl | 2 +- 22 files changed, 26 insertions(+), 28 deletions(-) diff --git a/agreementmanagement/.openapi-generator/VERSION b/agreementmanagement/.openapi-generator/VERSION index c0be8a79..4be2c727 100644 --- a/agreementmanagement/.openapi-generator/VERSION +++ b/agreementmanagement/.openapi-generator/VERSION @@ -1 +1 @@ -6.4.0 \ No newline at end of file +6.5.0 \ No newline at end of file diff --git a/agreementmanagement/client_ext.go b/agreementmanagement/client_ext.go index 2283b943..cdb3a050 100644 --- a/agreementmanagement/client_ext.go +++ b/agreementmanagement/client_ext.go @@ -91,7 +91,7 @@ func testForRetryable(r *http.Response, err error, currentBackoff time.Duration) } if err != nil { - if genericOAError, ok := err.(GenericOpenAPIError); ok && genericOAError.Model() != nil { + if genericOAError, ok := err.(*GenericOpenAPIError); ok && genericOAError.Model() != nil { // We have an application level error if modelError, ok := genericOAError.Model().(P1Error); ok { diff --git a/agreementmanagement/go.mod b/agreementmanagement/go.mod index b5023f9a..1dad0ab7 100644 --- a/agreementmanagement/go.mod +++ b/agreementmanagement/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/agreementmanagement go 1.18 -require golang.org/x/exp v0.0.0-20230420155640-133eef4313cb +require golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 diff --git a/agreementmanagement/go.sum b/agreementmanagement/go.sum index 6b0eb31a..268a27e0 100644 --- a/agreementmanagement/go.sum +++ b/agreementmanagement/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb h1:rhjz/8Mbfa8xROFiH+MQphmAmgqRM0bOMnytznhWEXk= -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 h1:5llv2sWeaMSnA3w2kS57ouQQ4pudlXrR0dCgw51QK9o= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= diff --git a/authorize/.openapi-generator/VERSION b/authorize/.openapi-generator/VERSION index c0be8a79..4be2c727 100644 --- a/authorize/.openapi-generator/VERSION +++ b/authorize/.openapi-generator/VERSION @@ -1 +1 @@ -6.4.0 \ No newline at end of file +6.5.0 \ No newline at end of file diff --git a/authorize/client_ext.go b/authorize/client_ext.go index ee8ef96e..be3d156b 100644 --- a/authorize/client_ext.go +++ b/authorize/client_ext.go @@ -91,7 +91,7 @@ func testForRetryable(r *http.Response, err error, currentBackoff time.Duration) } if err != nil { - if genericOAError, ok := err.(GenericOpenAPIError); ok && genericOAError.Model() != nil { + if genericOAError, ok := err.(*GenericOpenAPIError); ok && genericOAError.Model() != nil { // We have an application level error if modelError, ok := genericOAError.Model().(P1Error); ok { diff --git a/authorize/go.mod b/authorize/go.mod index 87b73559..ef91a25a 100644 --- a/authorize/go.mod +++ b/authorize/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/authorize go 1.18 -require golang.org/x/exp v0.0.0-20230420155640-133eef4313cb +require golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 diff --git a/authorize/go.sum b/authorize/go.sum index 6b0eb31a..268a27e0 100644 --- a/authorize/go.sum +++ b/authorize/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb h1:rhjz/8Mbfa8xROFiH+MQphmAmgqRM0bOMnytznhWEXk= -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 h1:5llv2sWeaMSnA3w2kS57ouQQ4pudlXrR0dCgw51QK9o= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= diff --git a/management/.openapi-generator/VERSION b/management/.openapi-generator/VERSION index c0be8a79..4be2c727 100644 --- a/management/.openapi-generator/VERSION +++ b/management/.openapi-generator/VERSION @@ -1 +1 @@ -6.4.0 \ No newline at end of file +6.5.0 \ No newline at end of file diff --git a/management/client_ext.go b/management/client_ext.go index b7cd1396..5778616d 100644 --- a/management/client_ext.go +++ b/management/client_ext.go @@ -91,7 +91,7 @@ func testForRetryable(r *http.Response, err error, currentBackoff time.Duration) } if err != nil { - if genericOAError, ok := err.(GenericOpenAPIError); ok && genericOAError.Model() != nil { + if genericOAError, ok := err.(*GenericOpenAPIError); ok && genericOAError.Model() != nil { // We have an application level error if modelError, ok := genericOAError.Model().(P1Error); ok { diff --git a/management/go.mod b/management/go.mod index 4ac2ca03..1d0f28bb 100644 --- a/management/go.mod +++ b/management/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/management go 1.18 -require golang.org/x/exp v0.0.0-20230420155640-133eef4313cb +require golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 diff --git a/management/go.sum b/management/go.sum index 6b0eb31a..268a27e0 100644 --- a/management/go.sum +++ b/management/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb h1:rhjz/8Mbfa8xROFiH+MQphmAmgqRM0bOMnytznhWEXk= -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 h1:5llv2sWeaMSnA3w2kS57ouQQ4pudlXrR0dCgw51QK9o= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= diff --git a/mfa/.openapi-generator/VERSION b/mfa/.openapi-generator/VERSION index c0be8a79..4be2c727 100644 --- a/mfa/.openapi-generator/VERSION +++ b/mfa/.openapi-generator/VERSION @@ -1 +1 @@ -6.4.0 \ No newline at end of file +6.5.0 \ No newline at end of file diff --git a/mfa/client_ext.go b/mfa/client_ext.go index f0d80099..3b399dc6 100644 --- a/mfa/client_ext.go +++ b/mfa/client_ext.go @@ -91,7 +91,7 @@ func testForRetryable(r *http.Response, err error, currentBackoff time.Duration) } if err != nil { - if genericOAError, ok := err.(GenericOpenAPIError); ok && genericOAError.Model() != nil { + if genericOAError, ok := err.(*GenericOpenAPIError); ok && genericOAError.Model() != nil { // We have an application level error if modelError, ok := genericOAError.Model().(P1Error); ok { diff --git a/mfa/go.mod b/mfa/go.mod index 300c454c..51824799 100644 --- a/mfa/go.mod +++ b/mfa/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/mfa go 1.18 -require golang.org/x/exp v0.0.0-20230420155640-133eef4313cb +require golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 diff --git a/mfa/go.sum b/mfa/go.sum index 6b0eb31a..268a27e0 100644 --- a/mfa/go.sum +++ b/mfa/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb h1:rhjz/8Mbfa8xROFiH+MQphmAmgqRM0bOMnytznhWEXk= -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 h1:5llv2sWeaMSnA3w2kS57ouQQ4pudlXrR0dCgw51QK9o= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= diff --git a/risk/.openapi-generator/VERSION b/risk/.openapi-generator/VERSION index c0be8a79..4be2c727 100644 --- a/risk/.openapi-generator/VERSION +++ b/risk/.openapi-generator/VERSION @@ -1 +1 @@ -6.4.0 \ No newline at end of file +6.5.0 \ No newline at end of file diff --git a/risk/api/openapi.yaml b/risk/api/openapi.yaml index 56070737..eeffc74a 100644 --- a/risk/api/openapi.yaml +++ b/risk/api/openapi.yaml @@ -2890,7 +2890,6 @@ components: - list - type type: object - example: null RiskPredictorCompositeCondition_oneOf_1: properties: equals: @@ -2913,7 +2912,6 @@ components: required: - value type: object - example: null RiskPredictorCustom_allOf_map: description: An object that defines the mapping of risk levels for the list of all results. diff --git a/risk/client_ext.go b/risk/client_ext.go index eb510ffc..c38d310f 100644 --- a/risk/client_ext.go +++ b/risk/client_ext.go @@ -91,7 +91,7 @@ func testForRetryable(r *http.Response, err error, currentBackoff time.Duration) } if err != nil { - if genericOAError, ok := err.(GenericOpenAPIError); ok && genericOAError.Model() != nil { + if genericOAError, ok := err.(*GenericOpenAPIError); ok && genericOAError.Model() != nil { // We have an application level error if modelError, ok := genericOAError.Model().(P1Error); ok { diff --git a/risk/go.mod b/risk/go.mod index 8bbdc548..44528eee 100644 --- a/risk/go.mod +++ b/risk/go.mod @@ -2,4 +2,4 @@ module github.com/patrickcping/pingone-go-sdk-v2/risk go 1.18 -require golang.org/x/exp v0.0.0-20230420155640-133eef4313cb +require golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 diff --git a/risk/go.sum b/risk/go.sum index 6b0eb31a..268a27e0 100644 --- a/risk/go.sum +++ b/risk/go.sum @@ -1,2 +1,2 @@ -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb h1:rhjz/8Mbfa8xROFiH+MQphmAmgqRM0bOMnytznhWEXk= -golang.org/x/exp v0.0.0-20230420155640-133eef4313cb/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53 h1:5llv2sWeaMSnA3w2kS57ouQQ4pudlXrR0dCgw51QK9o= +golang.org/x/exp v0.0.0-20230425010034-47ecfdc1ba53/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w= diff --git a/scripts/client_ext.go.tmpl b/scripts/client_ext.go.tmpl index e2a27126..2e9cc26e 100644 --- a/scripts/client_ext.go.tmpl +++ b/scripts/client_ext.go.tmpl @@ -91,7 +91,7 @@ func testForRetryable(r *http.Response, err error, currentBackoff time.Duration) } if err != nil { - if genericOAError, ok := err.(GenericOpenAPIError); ok && genericOAError.Model() != nil { + if genericOAError, ok := err.(*GenericOpenAPIError); ok && genericOAError.Model() != nil { // We have an application level error if modelError, ok := genericOAError.Model().(P1Error); ok { From ea75c59e59e7b0443921d1ec96137f07e0ed49b7 Mon Sep 17 00:00:00 2001 From: Patrick Cowland Date: Fri, 28 Apr 2023 11:47:17 +0100 Subject: [PATCH 3/3] version uplift and changelog --- CHANGELOG.md | 15 +++++++++++++++ agreementmanagement/.version | 2 +- agreementmanagement/CHANGELOG.md | 4 ++++ agreementmanagement/README.md | 2 +- agreementmanagement/configuration.go | 2 +- authorize/.version | 2 +- authorize/CHANGELOG.md | 4 ++++ authorize/README.md | 2 +- authorize/configuration.go | 2 +- management/.version | 2 +- management/CHANGELOG.md | 4 ++++ management/README.md | 2 +- management/configuration.go | 2 +- mfa/.version | 2 +- mfa/CHANGELOG.md | 4 ++++ mfa/README.md | 2 +- mfa/configuration.go | 2 +- risk/.version | 2 +- risk/CHANGELOG.md | 4 ++++ risk/README.md | 2 +- risk/configuration.go | 2 +- 21 files changed, 50 insertions(+), 15 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e7af2a2..5f6ec66b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +# Release (Unreleased) + +* `github.com/patrickcping/pingone-go-sdk-v2` : v0.6.4 + * **Note** Remove unnecessary log output. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) +* `github.com/patrickcping/pingone-go-sdk-v2/agreementmanagement` : [v0.1.3](./agreementmanagement/CHANGELOG.md) + * **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) +* `github.com/patrickcping/pingone-go-sdk-v2/authorize` : [v0.1.6](./authorize/CHANGELOG.md) + * **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) +* `github.com/patrickcping/pingone-go-sdk-v2/management` : [v0.19.1](./management/CHANGELOG.md) + * **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) +* `github.com/patrickcping/pingone-go-sdk-v2/mfa` : [v0.9.3](./mfa/CHANGELOG.md) + * **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) +* `github.com/patrickcping/pingone-go-sdk-v2/risk` : [v0.5.1](./risk/CHANGELOG.md) + * **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) + # Release (2023-04-24) * `github.com/patrickcping/pingone-go-sdk-v2` : v0.6.3 diff --git a/agreementmanagement/.version b/agreementmanagement/.version index 8294c184..7693c96b 100644 --- a/agreementmanagement/.version +++ b/agreementmanagement/.version @@ -1 +1 @@ -0.1.2 \ No newline at end of file +0.1.3 \ No newline at end of file diff --git a/agreementmanagement/CHANGELOG.md b/agreementmanagement/CHANGELOG.md index 2ffccfc6..1c739072 100644 --- a/agreementmanagement/CHANGELOG.md +++ b/agreementmanagement/CHANGELOG.md @@ -1,3 +1,7 @@ +# v0.1.3 (Unreleased) + +* **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) + # v0.1.2 (2023-04-24) * **Note** Add retry logic for retryable HTTP status codes. [#147](https://github.com/patrickcping/pingone-go-sdk-v2/pull/147) diff --git a/agreementmanagement/README.md b/agreementmanagement/README.md index dfa2743a..473516b9 100644 --- a/agreementmanagement/README.md +++ b/agreementmanagement/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Agreement Management service 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: 2022-09-23 -- Package version: 0.1.2 +- Package version: 0.1.3 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/agreementmanagement/configuration.go b/agreementmanagement/configuration.go index 5da46a90..6920e23a 100644 --- a/agreementmanagement/configuration.go +++ b/agreementmanagement/configuration.go @@ -89,7 +89,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.1.2/go", + UserAgent: "OpenAPI-Generator/0.1.3/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/authorize/.version b/authorize/.version index def9a015..a1922332 100644 --- a/authorize/.version +++ b/authorize/.version @@ -1 +1 @@ -0.1.5 \ No newline at end of file +0.1.6 \ No newline at end of file diff --git a/authorize/CHANGELOG.md b/authorize/CHANGELOG.md index 4954865e..a84766e7 100644 --- a/authorize/CHANGELOG.md +++ b/authorize/CHANGELOG.md @@ -1,3 +1,7 @@ +# v0.1.6 (Unreleased) + +* **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) + # v0.1.5 (2023-04-24) * **Note** Add retry logic for retryable HTTP status codes. [#147](https://github.com/patrickcping/pingone-go-sdk-v2/pull/147) diff --git a/authorize/README.md b/authorize/README.md index f6ff222d..ed56fd6f 100644 --- a/authorize/README.md +++ b/authorize/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Authorize service 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: 2022-09-23 -- Package version: 0.1.5 +- Package version: 0.1.6 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/authorize/configuration.go b/authorize/configuration.go index f1c78cd6..9cc040ee 100644 --- a/authorize/configuration.go +++ b/authorize/configuration.go @@ -89,7 +89,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.1.5/go", + UserAgent: "OpenAPI-Generator/0.1.6/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/management/.version b/management/.version index 3f46c4d1..45591013 100644 --- a/management/.version +++ b/management/.version @@ -1 +1 @@ -0.19.0 \ No newline at end of file +0.19.1 \ No newline at end of file diff --git a/management/CHANGELOG.md b/management/CHANGELOG.md index 58f196e9..d8a59af1 100644 --- a/management/CHANGELOG.md +++ b/management/CHANGELOG.md @@ -1,3 +1,7 @@ +# v0.19.1 (Unreleased) + +* **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) + # v0.19.0 (2023-04-24) * **Note** Add retry logic for retryable HTTP status codes. [#147](https://github.com/patrickcping/pingone-go-sdk-v2/pull/147) diff --git a/management/README.md b/management/README.md index c502fd51..fce78b74 100644 --- a/management/README.md +++ b/management/README.md @@ -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: 2022-08-02 -- Package version: 0.19.0 +- Package version: 0.19.1 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/management/configuration.go b/management/configuration.go index ebac2d24..e07dd3eb 100644 --- a/management/configuration.go +++ b/management/configuration.go @@ -89,7 +89,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.19.0/go", + UserAgent: "OpenAPI-Generator/0.19.1/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/mfa/.version b/mfa/.version index f76f9131..b3ec1638 100644 --- a/mfa/.version +++ b/mfa/.version @@ -1 +1 @@ -0.9.2 \ No newline at end of file +0.9.3 \ No newline at end of file diff --git a/mfa/CHANGELOG.md b/mfa/CHANGELOG.md index 8c39cfbd..d4294d54 100644 --- a/mfa/CHANGELOG.md +++ b/mfa/CHANGELOG.md @@ -1,3 +1,7 @@ +# v0.9.3 (Unreleased) + +* **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) + # v0.9.2 (2023-04-24) * **Note** Add retry logic for retryable HTTP status codes. [#147](https://github.com/patrickcping/pingone-go-sdk-v2/pull/147) diff --git a/mfa/README.md b/mfa/README.md index 864dcf7e..d81235b2 100644 --- a/mfa/README.md +++ b/mfa/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne MFA service 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: 2021-10-17 -- Package version: 0.9.2 +- Package version: 0.9.3 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/mfa/configuration.go b/mfa/configuration.go index 6532116d..8f327bcd 100644 --- a/mfa/configuration.go +++ b/mfa/configuration.go @@ -89,7 +89,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.9.2/go", + UserAgent: "OpenAPI-Generator/0.9.3/go", Debug: false, Servers: ServerConfigurations{ { diff --git a/risk/.version b/risk/.version index 79a2734b..5d4294b9 100644 --- a/risk/.version +++ b/risk/.version @@ -1 +1 @@ -0.5.0 \ No newline at end of file +0.5.1 \ No newline at end of file diff --git a/risk/CHANGELOG.md b/risk/CHANGELOG.md index 79e2366b..eb808321 100644 --- a/risk/CHANGELOG.md +++ b/risk/CHANGELOG.md @@ -1,3 +1,7 @@ +# v0.5.1 (Unreleased) + +* **Bug** Fix for retry for conditions based on PingOne error response object. [#157](https://github.com/patrickcping/pingone-go-sdk-v2/pull/157) + # v0.5.0 (2023-04-24) * **Breaking change** `RiskPredictor` model changed to `RiskPredictorCommon`, replaced with the predictor type model. [#151](https://github.com/patrickcping/pingone-go-sdk-v2/pull/151) diff --git a/risk/README.md b/risk/README.md index 0c7a8d3b..19d5b322 100644 --- a/risk/README.md +++ b/risk/README.md @@ -6,7 +6,7 @@ The PingOne Platform API covering the PingOne Risk service 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: 2021-10-17 -- Package version: 0.5.0 +- Package version: 0.5.1 - Build package: org.openapitools.codegen.languages.GoClientCodegen ## Installation diff --git a/risk/configuration.go b/risk/configuration.go index 55399ab3..49687e0d 100644 --- a/risk/configuration.go +++ b/risk/configuration.go @@ -89,7 +89,7 @@ type Configuration struct { func NewConfiguration() *Configuration { cfg := &Configuration{ DefaultHeader: make(map[string]string), - UserAgent: "OpenAPI-Generator/0.5.0/go", + UserAgent: "OpenAPI-Generator/0.5.1/go", Debug: false, Servers: ServerConfigurations{ {