Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-1927

Need to test scenarios where vdb source translators are changed.

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 8.3
    • 8.2
    • VDB & Execution
    • None

    Description

      I encountered a couple confusing scenarios where I changed the translator on a vdb source, but had no change on execution in designer. We need to test to ensure that vdb is picking up translator changes as expected.

      Scenario

      • Import a source Model (in my case it was SF).
      • Create a VDB and add the source model to it.
      • Deploy VDB, execute query to verify can query ok.
      • Change source translator in VDB to 'loopback'. Save VDB
      • Redeploy VDB, then run query. Loopback was expected, but I still got SF data back

      1) the scenario above changes the translator in the VDB, but there is still an annotation in the source model with 'translator=salesforce'. So they are in conflict.

      2) Changed the source model annotation translator to 'loopback', resync'd the vdb, redeployed and queried again. Still got SF results instead of loopback. The re-deployment is not picking up the translator change.

      3) Finally, in the server view, manually 'un-deployed' the vdb. then went back to model exployer and deployed again. Then I got loopback results.

      Attachments

        Activity

          People

            mdrillin1@redhat.com Mark Drilling (Inactive)
            mdrillin1@redhat.com Mark Drilling (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: