[JBoss JIRA] (TEIIDDES-2328) Rest Importer: Show the response document
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2328?page=com.atlassian.jira.plu... ]
Matus Makovy closed TEIIDDES-2328.
----------------------------------
verified TD 8.6.1.CR1
> Rest Importer: Show the response document
> -----------------------------------------
>
> Key: TEIIDDES-2328
> URL: https://issues.jboss.org/browse/TEIIDDES-2328
> Project: Teiid Designer
> Issue Type: Enhancement
> Components: Import/Export
> Affects Versions: 8.6
> Reporter: Ramesh Reddy
> Assignee: Barry LaFond
> Fix For: 9.0, 8.6.1
>
> Attachments: showdocument.png
>
>
> I used the one of the REST APIs from [http://nycpulse.herokuapp.com/api]
> For this JIRA, I was using [http://mtaapi.herokuapp.com/times?hour=10&minute=25]
> The importer says the response document is bad, see the attached screen shot. The repose is like
> {code}
> {
> "result": [
> {
> "arrival": "10:25:00",
> "id": "242N",
> "lat": "40.662742",
> "lon": "-73.95085",
> "name": "Sterling St"
> },
> {
> "arrival": "10:25:00",
> "id": "242N",
> "lat": "40.662742",
> "lon": "-73.95085",
> "name": "Sterling St"
> },
> {
> "arrival": "10:25:30",
> "id": "A09S",
> "lat": "40.840719",
> "lon": "-73.939561",
> "name": "168 St"
> }
> }
> {code}
> So, that looks like valid JSON to me. So, two part question
> 1) Why importer complaining? fix any errors as such
> 2) The gist of this JIRA, instead of showing link to some response file, that I have no way to check the contents if wanted, show the response document itself. This pattern is not new, CSV importer and XML importer do show the document to user, which IMO is much more valuable and gives visual indication right away what they are working with.
> I even say this needs to be done File based importer too (create JIRA if you decide to work on this separately)
>
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2194) On windows, when deploying VDB, and data source exist, it still wants to create datasource
by Andrej Šmigala (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2194?page=com.atlassian.jira.plu... ]
Andrej Šmigala closed TEIIDDES-2194.
------------------------------------
The message in the dialog now makes it clear that clicking Create will replace the existing datasource. Marking as closed.
> On windows, when deploying VDB, and data source exist, it still wants to create datasource
> ------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-2194
> URL: https://issues.jboss.org/browse/TEIIDDES-2194
> Project: Teiid Designer
> Issue Type: Bug
> Components: VDB & Execution
> Affects Versions: 8.4
> Environment: Windows 2008 for designer and server (same box)
> 8.4 final for designer and DV 6.1
> Reporter: Van Halbert
> Assignee: Mark Drilling
> Fix For: 8.6.1
>
> Attachments: image.png
>
>
> When deploying VDB and the data source already exist, it still want to create a new data source. see attachment.
> The default was left, just to move on. The test datasource was created, but the VDB still worked, because the JNDI in the VDB was mapped to an already configured datasource.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2378) Virtual Procedure created via WS REST import option has errors
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2378?page=com.atlassian.jira.plu... ]
Matus Makovy closed TEIIDDES-2378.
----------------------------------
verified TD 8.6.1.CR1
> Virtual Procedure created via WS REST import option has errors
> --------------------------------------------------------------
>
> Key: TEIIDDES-2378
> URL: https://issues.jboss.org/browse/TEIIDDES-2378
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export, Transformations, Validation
> Affects Versions: 8.6
> Reporter: Barry LaFond
> Assignee: Barry LaFond
> Fix For: 9.0, 8.6.1
>
>
> Creating a WS via google search URL (See TEIIDDES-2284) using the following connection profile info results in a transformation that has not been reconciled.
> {code:xml}
> <profile autoconnect="No" desc=""
> id="02b59450-4f06-11e4-abe2-af11d4a8f610" name="Google_Search"
> providerID="org.teiid.designer.datatools.profiles.ws.WSConnectionProfile">
> <baseproperties>
> <property name="rest_param:output" value="Query:toolbar" />
> <property name="responseType" value="XML" />
> <property name="EndPoint" value="http://www.google.com/complete/search" />
> <property name="rest_param:q" value="Query:receiver" />
> </baseproperties>
> </profile>
> {code}
> Debugging found that the TransformationNewModelObjectHelper.helpCreate() method was resulting in a DEFAULT SQL TEMPLATE being applied when it shouldn't have been.
> Need to add an if check: *if( defineDefaultTableSQL )* and only apply the template if it was explicitly asked for.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2284) Preview Error for REST Web Service Source
by Matus Makovy (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2284?page=com.atlassian.jira.plu... ]
Matus Makovy closed TEIIDDES-2284.
----------------------------------
verified TD 8.6.1.CR1
> Preview Error for REST Web Service Source
> -----------------------------------------
>
> Key: TEIIDDES-2284
> URL: https://issues.jboss.org/browse/TEIIDDES-2284
> Project: Teiid Designer
> Issue Type: Bug
> Components: Data Preview
> Affects Versions: 8.6
> Reporter: Ted Jones
> Assignee: Ted Jones
> Priority: Blocker
> Fix For: 9.0, 8.6.1
>
> Attachments: GoogleRest.mps, GoogleRest.mps, googleRestCP.xml
>
>
> When previewing a procedure that invokes a REST web service source, I get the following error:
> select * from ( exec "ViewModel"."google"('toolbar','reciever') ) AS X_X
> org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30152 Failed to evaluate XQuery expression; Please check the query and correct errors in syntax or usage.
> However, if I add the view procedure to a VDB and deploy, I am able to execute without error.
> GOOGLE SEARCH URL: http://www.google.com/complete/search
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 8 months
[JBoss JIRA] (TEIIDDES-2445) Set connection profile action uses wrong driver info.
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2445?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2445:
-----------------------------------
Component/s: Datatools Integration
> Set connection profile action uses wrong driver info.
> -----------------------------------------------------
>
> Key: TEIIDDES-2445
> URL: https://issues.jboss.org/browse/TEIIDDES-2445
> Project: Teiid Designer
> Issue Type: Bug
> Components: Datatools Integration
> Affects Versions: 8.6.1
> Environment: JBDS: 7.1.1.GA
> TD: 8.6.1.CR1
> OS: Win 7
> Reporter: Juraj Duráni
> Assignee: Barry LaFond
> Fix For: 9.1, 9.0.2, 8.6.2
>
>
> If a new connection profile is imported (Database Development > Data Source explorer > Import) and its driver is changed afterward (jar list), then Set Connection Profile action sets connection profile to a source model with old jar-list-paths.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
10 years, 8 months