[teiid-designer-dev] [Teiid-Designer/teiid-designer] 6cf169: TEIIDDES-2120: Addresses shortcomings of adding im...

Paul Richardson p.g.richardson at redhat.com
Tue May 20 17:21:41 EDT 2014


  Branch: refs/heads/TEIIDES-2120
  Home:   https://github.com/Teiid-Designer/teiid-designer
  Commit: 6cf169c9fd5e1f14d76cf1be6ed1585bc369a641
      https://github.com/Teiid-Designer/teiid-designer/commit/6cf169c9fd5e1f14d76cf1be6ed1585bc369a641
  Author: Paul Richardson <p.g.richardson at redhat.com>
  Date:   2014-05-20 (Tue, 20 May 2014)

  Changed paths:
    M plugins/org.teiid.designer.dqp/src/org/teiid/designer/runtime/preview/jobs/CreatePreviewVdbJob.java
    M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/editor/VdbEditor.java
    M plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/wizards/NewVdbWizard.java
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/Vdb.java
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbModelEntry.java
    M plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbUtil.java
    M tests/org.teiid.designer.vdb.test/src/org/teiid/designer/vdb/VdbModelEntryTest.java

  Log Message:
  -----------
  TEIIDDES-2120: Addresses shortcomings of adding imported xsd files

* Closes loopholes with addition of xsd files to a Vdb in the VdbEditor

* VdbUtil
 * canAddModelToVdb checks for duplicate models already in Vdb. However,
   the model resource references includes Xsd files which although are
   resources are included in the 'Other Files' section and a model can
   have the same name as an Xsd file.

* Vdb
 * Avoids further loopholes by making a single addEntry method which both
   model and file entries are added through. Consequently, only one
   function path to determine how the given resource should be added.

* NewVdbWizard
 * Stop Xsd files from being displayed in the Add Models chooser dialog




More information about the teiid-designer-dev mailing list