Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove node specific validation from the additional properties check #363

Conversation

patrickcping
Copy link
Contributor

@patrickcping patrickcping commented Aug 21, 2024

Changes

BUG FIX resource/davinci_flow: Remove node specific validation from the additional (unknown) properties validation check.

Testing Shell Command

TF_ACC=1 go test -v -timeout 1200s -run ^TestAccResourceFlow_ github.com/pingidentity/terraform-provider-davinci/internal/service/davinci

Testing Results

Expand Results
=== RUN   TestAccResourceFlow_RemovalDrift
=== PAUSE TestAccResourceFlow_RemovalDrift
=== RUN   TestAccResourceFlow_Basic_Clean
=== PAUSE TestAccResourceFlow_Basic_Clean
=== RUN   TestAccResourceFlow_Basic_WithBootstrap
=== PAUSE TestAccResourceFlow_Basic_WithBootstrap
=== RUN   TestAccResourceFlow_ConnectionSubflowLinks_WithMappingIDs_Clean
=== PAUSE TestAccResourceFlow_ConnectionSubflowLinks_WithMappingIDs_Clean
=== RUN   TestAccResourceFlow_ConnectionSubflowLinks_WithMappingIDs_WithBootstrap
=== PAUSE TestAccResourceFlow_ConnectionSubflowLinks_WithMappingIDs_WithBootstrap
=== RUN   TestAccResourceFlow_ConnectionSubflowLinks_WithoutMappingIDs_Clean
=== PAUSE TestAccResourceFlow_ConnectionSubflowLinks_WithoutMappingIDs_Clean
=== RUN   TestAccResourceFlow_ConnectionSubflowLinks_WithoutMappingIDs_WithBootstrap
=== PAUSE TestAccResourceFlow_ConnectionSubflowLinks_WithoutMappingIDs_WithBootstrap
=== RUN   TestAccResourceFlow_ComputeDifferences_ModifySettings
=== PAUSE TestAccResourceFlow_ComputeDifferences_ModifySettings
=== RUN   TestAccResourceFlow_ComputeDifferences_CompanyId
=== PAUSE TestAccResourceFlow_ComputeDifferences_CompanyId
=== RUN   TestAccResourceFlow_ComputeDifferences_Version
=== PAUSE TestAccResourceFlow_ComputeDifferences_Version
=== RUN   TestAccResourceFlow_ComputeDifferences_Description
=== PAUSE TestAccResourceFlow_ComputeDifferences_Description
=== RUN   TestAccResourceFlow_ComputeDifferences_AdditionalProperties
=== PAUSE TestAccResourceFlow_ComputeDifferences_AdditionalProperties
=== RUN   TestAccResourceFlow_ComputeDifferences_NewNode
=== PAUSE TestAccResourceFlow_ComputeDifferences_NewNode
=== RUN   TestAccResourceFlow_UnknownFlowString
=== PAUSE TestAccResourceFlow_UnknownFlowString
=== RUN   TestAccResourceFlow_BrokenFlow
=== PAUSE TestAccResourceFlow_BrokenFlow
=== RUN   TestAccResourceFlow_Variables_Clean
=== PAUSE TestAccResourceFlow_Variables_Clean
=== RUN   TestAccResourceFlow_Variables_WithBootstrap
=== PAUSE TestAccResourceFlow_Variables_WithBootstrap
=== RUN   TestAccResourceFlow_Variables_Invalid
=== PAUSE TestAccResourceFlow_Variables_Invalid
=== RUN   TestAccResourceFlow_Variables_Overridden_Clean
=== PAUSE TestAccResourceFlow_Variables_Overridden_Clean
=== RUN   TestAccResourceFlow_Variables_Overridden_WithBootstrap
=== PAUSE TestAccResourceFlow_Variables_Overridden_WithBootstrap
=== RUN   TestAccResourceFlow_BadParameters
=== PAUSE TestAccResourceFlow_BadParameters
=== CONT  TestAccResourceFlow_RemovalDrift
=== CONT  TestAccResourceFlow_ComputeDifferences_AdditionalProperties
=== CONT  TestAccResourceFlow_ComputeDifferences_Description
=== CONT  TestAccResourceFlow_Variables_WithBootstrap
=== CONT  TestAccResourceFlow_Variables_Overridden_WithBootstrap
=== CONT  TestAccResourceFlow_BrokenFlow
=== CONT  TestAccResourceFlow_Variables_Overridden_Clean
=== CONT  TestAccResourceFlow_Variables_Invalid
=== CONT  TestAccResourceFlow_BadParameters
=== CONT  TestAccResourceFlow_UnknownFlowString
=== CONT  TestAccResourceFlow_ConnectionSubflowLinks_WithMappingIDs_Clean
=== CONT  TestAccResourceFlow_ComputeDifferences_NewNode
=== CONT  TestAccResourceFlow_ConnectionSubflowLinks_WithoutMappingIDs_Clean
=== NAME  TestAccResourceFlow_Variables_WithBootstrap
    resource_flow_test.go:1001: Skipping test with bootstrap config: https://github.com/pingidentity/terraform-provider-davinci/issues/266
=== CONT  TestAccResourceFlow_ConnectionSubflowLinks_WithoutMappingIDs_WithBootstrap
=== CONT  TestAccResourceFlow_Basic_WithBootstrap
=== CONT  TestAccResourceFlow_Variables_Clean
--- SKIP: TestAccResourceFlow_Variables_WithBootstrap (0.02s)
=== CONT  TestAccResourceFlow_ConnectionSubflowLinks_WithMappingIDs_WithBootstrap
=== NAME  TestAccResourceFlow_Variables_Overridden_WithBootstrap
    resource_flow_test.go:1239: Skipping test with bootstrap config: https://github.com/pingidentity/terraform-provider-davinci/issues/266
--- SKIP: TestAccResourceFlow_Variables_Overridden_WithBootstrap (0.02s)
=== CONT  TestAccResourceFlow_Basic_Clean
=== NAME  TestAccResourceFlow_ConnectionSubflowLinks_WithMappingIDs_WithBootstrap
    resource_flow_test.go:323: Skipping test with bootstrap config: https://github.com/pingidentity/terraform-provider-davinci/issues/266
--- SKIP: TestAccResourceFlow_ConnectionSubflowLinks_WithMappingIDs_WithBootstrap (0.01s)
=== CONT  TestAccResourceFlow_ComputeDifferences_ModifySettings
=== NAME  TestAccResourceFlow_Basic_WithBootstrap
    resource_flow_test.go:178: Skipping test with bootstrap config: https://github.com/pingidentity/terraform-provider-davinci/issues/266
--- SKIP: TestAccResourceFlow_Basic_WithBootstrap (0.01s)
=== CONT  TestAccResourceFlow_ComputeDifferences_Version
--- PASS: TestAccResourceFlow_Variables_Invalid (35.78s)
=== CONT  TestAccResourceFlow_ComputeDifferences_CompanyId
--- PASS: TestAccResourceFlow_BrokenFlow (199.63s)
--- PASS: TestAccResourceFlow_UnknownFlowString (265.89s)
=== NAME  TestAccResourceFlow_RemovalDrift
    resource_flow_test.go:39: Skipping step 3/4 due to SkipFunc
    resource_flow_test.go:39: Skipping step 4/4 due to SkipFunc
--- PASS: TestAccResourceFlow_RemovalDrift (279.92s)
=== NAME  TestAccResourceFlow_Variables_Clean
    resource_flow_test.go:995: Skipping step 2/4 due to SkipFunc
=== NAME  TestAccResourceFlow_Variables_Overridden_Clean
    resource_flow_test.go:1233: Skipping step 2/4 due to SkipFunc
--- PASS: TestAccResourceFlow_BadParameters (300.76s)
--- PASS: TestAccResourceFlow_ComputeDifferences_AdditionalProperties (313.90s)
--- PASS: TestAccResourceFlow_ComputeDifferences_ModifySettings (314.13s)
--- PASS: TestAccResourceFlow_ComputeDifferences_Version (316.83s)
--- PASS: TestAccResourceFlow_ComputeDifferences_Description (323.53s)
--- PASS: TestAccResourceFlow_ComputeDifferences_CompanyId (294.48s)
--- PASS: TestAccResourceFlow_ComputeDifferences_NewNode (339.25s)
--- PASS: TestAccResourceFlow_Variables_Clean (421.48s)
--- PASS: TestAccResourceFlow_Variables_Overridden_Clean (464.75s)
--- PASS: TestAccResourceFlow_ConnectionSubflowLinks_WithoutMappingIDs_Clean (573.60s)
--- PASS: TestAccResourceFlow_ConnectionSubflowLinks_WithMappingIDs_Clean (578.84s)
--- PASS: TestAccResourceFlow_Basic_Clean (594.40s)
--- PASS: TestAccResourceFlow_ConnectionSubflowLinks_WithoutMappingIDs_WithBootstrap (936.92s)
PASS
ok      github.com/pingidentity/terraform-provider-davinci/internal/service/davinci     938.093s

@patrickcping patrickcping marked this pull request as ready for review August 21, 2024 13:13
@patrickcping patrickcping requested review from samir-gandhi and a team as code owners August 21, 2024 13:13
@patrickcping patrickcping merged commit 1b197d9 into main Aug 21, 2024
13 checks passed
@patrickcping patrickcping deleted the 362-davinci-export-json-contains-unknown-properties-warning-on-validateplan-describing-save-flow-variable-nodes-are-present-but-missing-variable-values branch August 21, 2024 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
1 participant