[JBoss JIRA] (TEIIDDES-1234) Generate WAR action processes with workspace models instead of model entries in the selected VDB
by Barry LaFond (JIRA)
Barry LaFond created TEIIDDES-1234:
--------------------------------------
Summary: Generate WAR action processes with workspace models instead of model entries in the selected VDB
Key: TEIIDDES-1234
URL: https://issues.jboss.org/browse/TEIIDDES-1234
Project: Teiid Designer
Issue Type: Bug
Components: Web Services Support
Affects Versions: 7.7
Reporter: Barry LaFond
Assignee: Ted Jones
Priority: Critical
Fix For: 7.7
GenerateWarAction.selectionChanged() appears to be mixing apples and oranges. (See below)
I think the intent was to get the VdbModelEntry objects and cache up a list of WS Models for later use generating the proper procedure calls/URLs??
The colde below, however, is finding the corresponding ModelResource in the workspace for each entry, which could easily be "out of sync". Users would be unaware that the WAR they are creating might not be what they expect.
wsModelResources = new ArrayList<ModelResource>();
for (VdbModelEntry vdbModelEntry : modelEntrySet) {
final ModelResource modelResource = ModelerCore.getModelWorkspace().findModelResource(vdbModelEntry.getName());
if (ModelIdentifier.isWebServicesViewModel(modelResource)) {
enable = true;
// Add to our ArrayList of ModelResources. These
// will be used to generate the war artifacts.
wsModelResources.add(modelResource);
}
}
So I think we either not allow users to perform this action if the VDB was "out of sync" (probably not the best option)
or
Find another way to pass the model info necessary for the generator to perform whats needed.
Note that in VdbEditor class there is an example of creating a "Temporary" EMF model container in order to interrogate the models. So I believe it should be possible.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months
[JBoss JIRA] (TEIIDDES-1111) Create a model(s) (view/source) based on the schema and type of data source provided
by Ramesh Reddy (Created) (JIRA)
Create a model(s) (view/source) based on the schema and type of data source provided
------------------------------------------------------------------------------------
Key: TEIIDDES-1111
URL: https://issues.jboss.org/browse/TEIIDDES-1111
Project: Teiid Designer
Issue Type: Feature Request
Components: Import/Export
Reporter: Ramesh Reddy
There have been many requests from users in the recent past to auto-generate source and view models that can consume the XML coming in the specified in a schema file. The current XML document model, take in a XSD and maps the relational data into XML data. This request is exact opposite of it in the consuming side. The data is coming in as XML, need to expose them as relational.
I strongly believe that this needs to be done as part of TEIIDDES-1078, not create separate importers to minimize the user experience with modelling any XML data.
The data sources can File, SOAP service or Rest service currently, but may not be restricted to those.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 10 months