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

Virtual Procedure created via WS REST import option has errors

XMLWordPrintable

      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.

      	<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>
      

      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.

              blafond Barry LaFond
              blafond Barry LaFond
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: