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

Infinispan-hotrod MXD is not set after JDG materialization wizard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 11.1.2
    • 11.1.1
    • None
      1. ViewModel -> Modeling -> materialize
      2. Choose 7.1 version and fill in Primary cache name and staging cache name
      3. Check extensions in the generated model
    • Hide
      1. Set up and run server if you don't have any server (infinispan-hotrod MED will be imported)
      2. Right click on generated JDG source model and select Modeling -> Manage Model Extension Definition
      3. Click to Add... and select infinispan-hotrod
      4. click to ok and finish button (now, model has set extension and property infinispan-hotrod:CACHE is set)

      When you have genereated xml vdb, you must also rename prefix from teiid_infinispan-hotrod to teiid_ispn due to TEIIDDES-3175.

      Show
      Set up and run server if you don't have any server (infinispan-hotrod MED will be imported) Right click on generated JDG source model and select Modeling -> Manage Model Extension Definition Click to Add... and select infinispan-hotrod click to ok and finish button (now, model has set extension and property infinispan-hotrod:CACHE is set) When you have genereated xml vdb, you must also rename prefix from teiid_infinispan-hotrod to teiid_ispn due to TEIIDDES-3175 .

      When I went through JDG7 materialization creation I noticed that MED for JDG7 source model is not set automatically. So I don't see Primary cache name and staging cache name which I set in the 'Generate Materialized JDG Module' wizard.
      I must set MED for this model manually (Modeling -> Manage Model Extension Definition -> Add -> infinispan-hotrod).
      After that, I see infinispan-hotrod:CACHE which I defined in the wizard.

      Typ of infinispan-hotrod is imported so I must have set up a server before.

      In my point of view, the designer should set MED for JDG7 source model automatically.
      My idea: after finish wizard, the designer set infinispan-hotrod MED for this model. If infinispan-hotrod MED is not imported yet, the designer should show an error dialog that server is not defined yet and MED is not available.

      When I generate source model for JDG6.6, MED is set correctly (because MED is built-in).

              blafond Barry LaFond
              mkralik@redhat.com Matej Kralik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: