-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support clean DaVinci environments (#250)
* development in progress * update index * update `davinci_connection` schema * fix `davinci_connection` bugs * `connection` stability * updates and corrections * update docs * remove panic outcomes * applications resource (in progress testing) * defer retry condition to SDK * `application` in progress * raise retry limit to 20 * final `application` * flow policy - in progress * flow policy docs * `application_flow_policy` in progress * update connection doc * add ability to replace a connection name in flow import * add connections docs * `connections` data source * update `connection` * update `connections` * changelog (pre-sdk uplift) * docs update * `application` doc update * changelog update * `applications` data source * `connections` update * terrafmt * `connection` update * `application` data source update * documentation updates * documentation updates * flow test draft * terrafmt * adjust error responses * framework inclusion, sdk updates * update `davinci_connection` * update `davinci_flow` * updates to data models and `davinci_flow` * flow difference calculation (1) * flow difference calculation (2) * obfuscate secrets in debug * fix epoch data type issues * update flow testing * fix tests * compute flow diffs WIP * update flow diff * bug fixes * bug fixes * update flow resource docs * code optimisation * defer auth retry logic to sdk * fix testing issues on non-flow resources/datasources * testing corrections `flow` * bug fixes * updated warning messages * update P1 client user agent suffix * code optimisation * update go deps * changelog * lint issue fix * bump module `github.com/samir-gandhi/davinci-client-go` * lint corrections * update connection reference docs * update `dvgenerate` module * update `flow_json` description * update connection doc sorting * bump `dvgenerate`
- Loading branch information
1 parent
45806a4
commit 8209afb
Showing
85 changed files
with
16,362 additions
and
6,734 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
```release-note:note | ||
bump `github.com/patrickcping/pingone-go-sdk-v2/management` 0.34.0 => 0.36.0 | ||
``` | ||
|
||
```release-note:note | ||
bump `github.com/samir-gandhi/davinci-client-go` 0.0.55 => 0.1.0 | ||
``` | ||
|
||
```release-note:note | ||
Provider updated thoughout to support environments that have been created without demo/bootstrapped configuration automatically applied. Creation of environments without demo/bootstrapped configuration is best practice going forward. | ||
``` | ||
|
||
```release-note:note | ||
Index documentation updated to reflect latest best practices for admin role requirements and creation of PingOne environments that do not have demo/bootstrapped configuration automatically applied. | ||
``` | ||
|
||
```release-note:bug | ||
Fixed bug where resources may be created in the incorrect PingOne environment when multiple DaVinci environments are being configured in the same `apply` routine. | ||
``` | ||
|
||
```release-note:note | ||
Added plugin mux factory and plugin framework (v6 protocol) provider to facilitate migration from SDKv2 (v5 protocol). | ||
``` | ||
|
||
```release-note:note | ||
Code optimisations to remove unnecessary SDK retry logic. | ||
``` | ||
|
||
```release-note:note | ||
Added regex validation for resource/data-source parameters that require platform IDs. | ||
``` | ||
|
||
```release-note:bug | ||
Fixed intermittent `Unable to retrieve access_token within 60s for environment` error. | ||
``` | ||
|
||
```release-note:note | ||
`data-source/davinci_applications`: Corrected documentation category. | ||
``` | ||
|
||
```release-note:note | ||
`data-source/davinci_application`: Un-deprecate the `application_id` parameter, and deprecated the `id` parameter for the purpose of fetching an application by it's ID. The `application_id` should be used going forward. | ||
``` | ||
|
||
```release-note:note | ||
`data-source/davinci_application`: Deprecated the `user_portal` and `saml` block parameters as they are no longer used. The parameters will be removed in the next major release. | ||
``` | ||
|
||
```release-note:bug | ||
`data-source/davinci_applications`: Fixed bug where not all applications are returned for an environment due to eventual consistency considerations on environment creation. | ||
``` | ||
|
||
```release-note:note | ||
`data-source/davinci_applications`: Deprecated the `user_portal` and `saml` block parameters as they are no longer used. The parameters will be removed in the next major release. | ||
``` | ||
|
||
```release-note:enhancement | ||
`data-source/davinci_applications`: Added a configurable timeout parameter and updated the default timeout to `20m` due to eventual consistency considerations on environment creation. | ||
``` | ||
|
||
```release-note:bug | ||
`data-source/davinci_applications`: Fixed issue where not all connections are returned due to eventual consistency considerations on environment creation. | ||
``` | ||
|
||
```release-note:enhancement | ||
`data-source/davinci_connection`: Added a new `connection_id` parameter and deprecated the `id` parameter for the purpose of fetching a connection by it's ID. The `connection_id` should be used going forward. | ||
``` | ||
|
||
```release-note:enhancement | ||
`data-source/davinci_connection`: Added a configurable timeout parameter and updated the default timeout to `20m` due to eventual consistency considerations on environment creation. | ||
``` | ||
|
||
```release-note:bug | ||
`data-source/davinci_connection`: Fixed issue where a connection isn't returned due to eventual consistency considerations on environment creation. | ||
``` | ||
|
||
```release-note:note | ||
`data-source/davinci_connections`: Deprecated the `connections.company_id` parameter as it is a duplicate of the `environment_id` parameter. | ||
``` | ||
|
||
```release-note:bug | ||
`data-source/davinci_connections`: Fixed the `connections.customer_id` attribute not being stored into state. | ||
``` | ||
|
||
```release-note:enhancement | ||
`data-source/davinci_connections`: Added a configurable timeout parameter and updated the default timeout to `20m` due to eventual consistency considerations on environment creation. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_application`: Fixed inability to set `api_key_enabled`, `oauth.enabled` and `oauth.values.enabled` to `false`. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_application`: Fixed panic crash when defining an application with an `oauth` block, but without `oauth.values`. | ||
``` | ||
|
||
```release-note:note | ||
`resource/davinci_application`: Deprecated the `user_portal` and `saml` parameters as they are no longer used. The parameters will be removed in the next major version release. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_application_flow_policy`: Fixed inability to update the environment ID and application ID once created (resource now requires replacement). | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_application_flow_policy`: Fixed error when specifying a flow policy without any `policy_flow` blocks. The `policy_flow` block is now a required field. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_application_flow_policy`: Fixed error when specifying a flow policy without `policy_flow.name` or `policy_flow.version` parameters. The `policy_flow.name` and `policy_flow.version` are now required fields. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_application_flow_policy`: Fixed inability to set `policy_flow.success_nodes`. | ||
``` | ||
|
||
```release-note:enhancement | ||
`resource/davinci_application_flow_policy`: Added `policy_flow.allowed_ip_list` to be able to configure an allowed IP list for policy flows. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_connection`: Fixed inconsistent plan when specifying a property data type. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_connection`: Fixed inability to update the environment ID, connection name and ID once created (resource now requires replacement). | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_connection`: Fixed `Error retrieving connectors / 7005` error in certain conditions. | ||
``` | ||
|
||
```release-note:note | ||
`resource/davinci_connection`: When the `property.type` parameter is not set for a property object, the default is now set to `string`. | ||
``` | ||
|
||
```release-note:enhancement | ||
`resource/davinci_flow`: Added the `connection_link.replace_import_connection_id` parameter to be able to replace the name of connectors with the specified connection ID in a flow import. | ||
``` | ||
|
||
```release-note:enhancement | ||
`resource/davinci_flow`: Added the `subflow_link.replace_import_subflow_id` parameter to be able to replace the name of subflows with the specified subflow ID in a flow import. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_flow`: Fixed inability to update the environment ID after initial configuration (resource requires replacement). | ||
``` | ||
|
||
```release-note:note | ||
`resource/davinci_flow`: Migrated to plugin framework. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_flow`: Corrected flow drift calculation errors, causing plan inconsistency. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_flow`: Corrected panic errors on flow drift calculation and connection/subflow re-mapping. | ||
``` | ||
|
||
```release-note:note | ||
`resource/davinci_flow`: Updated warning messages when subflows and connectors are left unmapped. Going forward, all subflows and connections in a flow should be mapped using the `connection_link` and `subflow_link` parameters. | ||
``` | ||
|
||
```release-note:enhancement | ||
`resource/davinci_flow`: The `name` parameter is now an optional field, to be able to override the name of the flow on import. | ||
``` | ||
|
||
```release-note:note | ||
`resource/davinci_flow`: The `deploy` parameter is now deprecated. Deployment on import and update is now implicit. This parameter will be removed in the next major release. | ||
``` | ||
|
||
```release-note:enhancement | ||
`resource/davinci_flow`: Added the `description` parameter to be able to override the description of the flow on import. | ||
``` | ||
|
||
```release-note:enhancement | ||
`resource/davinci_flow`: Added the `flow_configuration_json` and `flow_export_json` attributes to the resource. `flow_configuration_json` is used to compute configuration changes and drift, while `flow_export_json` is used as a record of the resulting flow once imported to the target environment. | ||
``` | ||
|
||
```release-note:breaking-change | ||
`resource/davinci_flow`: The `flow_json` parameter does not now represent the flow after import. It now only represents the flow JSON payload from the source system. When needing to use the resulting flow after import in the target environment, `flow_export_json` should be used. | ||
``` | ||
|
||
```release-note:note | ||
`resource/davinci_flow`: The `flow_variables` computed attribute has changed data type. Previously the attribute was a block type. Going forward, the attribute is nested set type. There are no changes expected to HCL to use the new data type. | ||
``` | ||
|
||
```release-note:bug | ||
`resource/davinci_variable`: Fixed inability to update the environment ID once created (resource now requires replacement). | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.