Skip to content

Commit f8dd53d

Browse files
Merge pull request #84 from delphix-integrations/develop
ESCL-4868 | Release Version 3.2.1 | Develop -> Main
2 parents accc00f + b0b3872 commit f8dd53d

File tree

7 files changed

+15
-12
lines changed

7 files changed

+15
-12
lines changed

.goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Visit https://goreleaser.com for documentation on how to customize this
22
# behavior.
33
env:
4-
- PROVIDER_VERSION=3.2.0
4+
- PROVIDER_VERSION=3.2.1
55
before:
66
hooks:
77
# this is just an example and not a requirement for provider building/publishing

GNUmakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ HOSTNAME=delphix.com
33
NAMESPACE=dct
44
NAME=delphix
55
BINARY=terraform-provider-${NAME}
6-
VERSION=3.2.0
6+
VERSION=3.2.1
77
OS_ARCH=darwin_amd64
88

99
default: install

docs/resources/appdata_dsource.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ The Appdata dSource resource allows Terraform to create and delete AppData dSour
88
## System Requirements
99

1010
* Data Control Tower v10.0.1+ is required for dSource management. Lower versions are not supported.
11-
* This Appdata dSource Resource only supports Appdata based datasources , such as POSTGRES,SAP HANA, IBM Db2, etc.The below examples are shown from the PostgreSQL context. See the Oracle dSource Resource for the support of Oracle. The Delphix Provider does not support Oracle, SQL Server, or SAP ASE.
11+
* This Appdata dSource Resource only supports Appdata based datasource's , such as POSTGRES,SAP HANA, IBM Db2, etc.The below examples are shown from the PostgreSQL context. See the Oracle dSource Resource for the support of Oracle. The Delphix Provider does not support Oracle, SQL Server, or SAP ASE.
12+
13+
## Upgrade Guide
14+
* Any new dSource created post Version>=3.2.1 can set `wait_time` to wait for snapshot creation , dSources created prior to this version will not support this capability
1215

1316
## Example Usage
1417

@@ -183,4 +186,4 @@ resource "delphix_appdata_dsource" "dsource_name" {
183186

184187
* `skip_wait_for_snapshot_creation` - (Optional) By default this resource will wait for a snapshot to be created post-dSource creation. This ensure a snapshot is available during the VDB provisioning. This behavior can be skipped by setting this parameter to `true`.
185188

186-
* `wait_time` - (Optional) By default this resource waits 3 minutes for a snapshot to be created. Increase the integer value as needed for larger dSource snapshots. This parameter can be ignored if 'skip_wait_for_snapshot_creation' is set to `true`.
189+
* `wait_time` - (Optional) By default this resource waits 0 minutes for a snapshot to be created. Increase the integer value as needed for larger dSource snapshots. This parameter can be ignored if 'skip_wait_for_snapshot_creation' is set to `true`.

docs/resources/oracle_dsource.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,4 @@ resource "delphix_oracle_dsource" "test_oracle_dsource" {
197197

198198
* `skip_wait_for_snapshot_creation` - (Optional) By default this resource will wait for a snapshot to be created post-dSource creation. This ensure a snapshot is available during the VDB provisioning. This behavior can be skipped by setting this parameter to `true`.
199199

200-
* `wait_time` - (Optional) By default this resource waits 3 minutes for a snapshot to be created. Increase the integer value as needed for larger dSource snapshots. This parameter can be ignored if 'skip_wait_for_snapshot_creation' is set to `true`.
200+
* `wait_time` - (Optional) By default this resource waits 0 minutes for a snapshot to be created. Increase the integer value as needed for larger dSource snapshots. This parameter can be ignored if 'skip_wait_for_snapshot_creation' is set to `true`.

internal/provider/resource_appdata_dsource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ func resourceAppdataDsource() *schema.Resource {
329329
},
330330
"wait_time": {
331331
Type: schema.TypeInt,
332-
Default: 3,
332+
Default: 0,
333333
Optional: true,
334334
},
335335
"skip_wait_for_snapshot_creation": {

internal/provider/resource_oracle_dsource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ func resourceOracleDsource() *schema.Resource {
533533
},
534534
"wait_time": {
535535
Type: schema.TypeInt,
536-
Default: 3,
536+
Default: 0,
537537
Optional: true,
538538
},
539539
"skip_wait_for_snapshot_creation": {

internal/provider/resource_vdb_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ func testAccCheckDctVDBBookmarkConfigBasic() string {
141141
vdb_req := client.VDBsApi.ProvisionVdbBySnapshot(context.Background())
142142

143143
vdb_res, vdb_http_res, vdb_err := vdb_req.ProvisionVDBBySnapshotParameters(*provisionVDBBySnapshotParameters).Execute()
144-
if diags := apiErrorResponseHelper(vdb_res, vdb_http_res, vdb_err); diags != nil {
145-
println("An error occured during vdb creation: " + vdb_err.Error())
144+
if diags := apiErrorResponseHelper(context.Background(), vdb_res, vdb_http_res, vdb_err); diags != nil {
145+
println("An error occurred during vdb creation: " + vdb_err.Error())
146146
return "" // return empty config to indicate config error
147147
}
148148
vdb_id = *vdb_res.VdbId
@@ -163,8 +163,8 @@ func testAccCheckDctVDBBookmarkConfigBasic() string {
163163
bookmark_req := client.BookmarksApi.CreateBookmark(context.Background()).BookmarkCreateParameters(*bookmark)
164164
bk_res, bk_http_res, bk_err := bookmark_req.Execute()
165165

166-
if diags := apiErrorResponseHelper(bk_res, bk_http_res, bk_err); diags != nil {
167-
println("An error occured during bookmark creation: " + bk_err.Error())
166+
if diags := apiErrorResponseHelper(context.Background(), bk_res, bk_http_res, bk_err); diags != nil {
167+
println("An error occurred during bookmark creation: " + bk_err.Error())
168168
return ""
169169
}
170170
bookmark_id = *bk_res.Bookmark.Id
@@ -173,7 +173,7 @@ func testAccCheckDctVDBBookmarkConfigBasic() string {
173173
bk_job_res, bk_job_err := PollJobStatus(*bk_res.Job.Id, context.Background(), client)
174174

175175
if bk_job_res == Failed || bk_job_res == Canceled || bk_job_res == Abandoned {
176-
println("An error occured during bookmark job polling: " + bk_job_err)
176+
println("An error occurred during bookmark job polling: " + bk_job_err)
177177
return "" // return empty config to indicate config error
178178
}
179179

0 commit comments

Comments
 (0)