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

Teiid artifacts should respond more gracefully to Teiid project refactoring

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 8.1
    • 7.2
    • None
    • None
    • Hide

      Use the Teiid Designer parts example project. Configure a valid VDB using the xmi files for the sample project. Rename the project. Look at the paths to the files referenced in the VDB.

      Show
      Use the Teiid Designer parts example project. Configure a valid VDB using the xmi files for the sample project. Rename the project. Look at the paths to the files referenced in the VDB.
    • Hide
      After renaming project in Designer's Model Explorer (or other project explorer) validation warnings will exist in the VDBs. Right-clicking the warnings and using "Quick Fix" will show "Synchronize VDB" fix which will tweak the model paths referenced in the VDBs to remove the warnings.
      Show
      After renaming project in Designer's Model Explorer (or other project explorer) validation warnings will exist in the VDBs. Right-clicking the warnings and using "Quick Fix" will show "Synchronize VDB" fix which will tweak the model paths referenced in the VDBs to remove the warnings.

    Description

      While I was trying to figure things out with the Virtual Procedures test script, I received a newer copy of the Parts Project from Barry that included the data files for loading the database tables. As a result, I wanted to change the name of the Teiid Model Project that I had created for the test.

      Though the Teiid Designer Perspective (via the Model Explorer view) doesn't allow you to rename a project, I popped over to a different perspective (the Java EE Perspective) and renamed the project there. I was then able to import Barry's project and take a look.

      Well, I didn't realize that the VDB file (and potentially others) was hardwired to the project name as part of the path to the .xmi files. So that threw me into several problems I had to resolve. Eventually I did resolve them, but we need to provide some sort of refactoring capabilities for Teiid projects and respond to those changes more gracefully.

      Attachments

        Activity

          People

            dflorian@redhat.com Daniel Florian (Inactive)
            bfitzpat_rh Brian Fitzpatrick (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: