Skip to content

Conversation

@Uddipaan-Hazarika
Copy link
Contributor

Appdata Dsource updates, drift detection and imports

https://perforce.atlassian.net/browse/DLPXECO-546

Environments updates, drift detection and imports

https://perforce.atlassian.net/browse/DLPXECO-550

Add update, drift detection and imports for Appdata Dsources and Environments with Acceptance Tests

Overview

This PR introduces enhancements to the appdata dsource and envrironment resource, focusing on these key areas:

1. Appdata Dsource and Environment Updates

  • Added support for updating appdata dsource and environment parameters
  • Implemented acceptance tests to verify that a VDB group's name can be changed and that the group can be updated to reference different VDBs.

2. Appdata Dsource and Environment drift detection and imports

  • Introduced drift detection and import capabilities for appdata dsources and environments.
  • Added acceptance tests to ensure that tags are correctly applied, updated, and removed from VDB groups.

Testing

  • Acceptance Tests results:

TF_ACC=1 go test $(go list ./... | grep -v 'vendor') -v -timeout 120m ? terraform-provider-delphix [no test files] === RUN TestProvider --- PASS: TestProvider (0.00s) === RUN TestProvider_impl --- PASS: TestProvider_impl (0.00s) === RUN Test_Acc_Appdata_Dsource --- PASS: Test_Acc_Appdata_Dsource (292.80s) === RUN Test_source_create_positive --- PASS: Test_source_create_positive (85.82s) === RUN TestAccEnvironment_positive --- PASS: TestAccEnvironment_positive (81.69s) === RUN TestAccEnvironment_update_positive --- PASS: TestAccEnvironment_update_positive (127.98s) === RUN TestAccEnvironment_update_negative --- PASS: TestAccEnvironment_update_negative (104.21s) === RUN TestOracleDsource_create_positive --- PASS: TestOracleDsource_create_positive (202.82s) === RUN TestAccVdb_create_vdb_group_positive --- PASS: TestAccVdb_create_vdb_group_positive (334.60s) === RUN TestAccVdb_provision_positive --- PASS: TestAccVdb_provision_positive (367.68s) === RUN TestAccVdb_bookmark_provision --- PASS: TestAccVdb_bookmark_provision (608.80s) === RUN TestAccVdb_appdata_provision --- PASS: TestAccVdb_appdata_provision (154.49s) PASS

  • Regressions and integration tests are all covered according to the manual testing standards.

@Uddipaan-Hazarika Uddipaan-Hazarika merged commit 2f5c8f7 into delphix-integrations:develop May 29, 2025
3 checks passed
@elima-sugunan elima-sugunan requested a review from Shobhit181 July 8, 2025 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants