[
https://issues.redhat.com/browse/TEIIDSB-194?focusedWorklogId=12450855&am...
]
Steven Hawkins logged work on TEIIDSB-194:
------------------------------------------
Author: Steven Hawkins
Created on: 20/Apr/20 4:31 PM
Start Date: 20/Apr/20 4:31 PM
Worklog Time Spent: 2 hours
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 2 hours)
Time Spent: 2 hours
Worklog Id: (was: 12450855)
basePath is not captured in Teiid Spring Boot odata openapi metadata
--------------------------------------------------------------------
Key: TEIIDSB-194
URL:
https://issues.redhat.com/browse/TEIIDSB-194
Project: Teiid Spring Boot
Issue Type: Bug
Components: OData
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Priority: Major
Fix For: 1.5.0, 8.0-tp1-1.4.x
Original Estimate: 2 hours
Time Spent: 2 hours
Remaining Estimate: 0 minutes
SQL query to the exposed OpenAPI failed because of the extra '\'.
"*/smalla*" is path in the OpenAPI definition.
Stacktrace:
{code:java}
2020-04-17 10:40:05.263 ERROR 1 --- [rocessorQueue12]
o.s.social.support.LoggingErrorHandler : Response body: { "error": {
"code": "404", "message": "\/smalla - not found" }
}
2020-04-17 10:40:05.277 ERROR 1 --- [rocessorQueue12] org.teiid.CONNECTOR
: Connector worker process failed for atomic-request=IX++/YK3Smyj.0.1.0
org.springframework.web.client.HttpClientErrorException$NotFound: 404 Not Found
at
org.springframework.web.client.HttpClientErrorException.create(HttpClientErrorException.java:85)
~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE]
at
org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:122)
~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE]
at
org.springframework.web.client.DefaultResponseErrorHandler.handleError(DefaultResponseErrorHandler.java:102)
~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE]
at
org.springframework.social.support.LoggingErrorHandler.handleError(LoggingErrorHandler.java:49)
~[spring-social-core-1.1.6.RELEASE.jar!/:1.1.6.RELEASE]
at
org.springframework.web.client.ResponseErrorHandler.handleError(ResponseErrorHandler.java:63)
~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE]
at org.springframework.web.client.RestTemplate.handleResponse(RestTemplate.java:778)
~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:736)
~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE]
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
~[spring-web-5.1.8.RELEASE.jar!/:5.1.8.RELEASE]
at
org.teiid.spring.data.rest.RestConnection$HttpDispatch.invoke(RestConnection.java:149)
~[spring-data-rest-1.4.1.fuse-jdk11-800012-redhat-00001.jar!/:1.4.1.fuse-jdk11-800012-redhat-00001]
at org.teiid.spring.data.rest.RestConnection$HttpDispatch.invoke(RestConnection.java:96)
~[spring-data-rest-1.4.1.fuse-jdk11-800012-redhat-00001.jar!/:1.4.1.fuse-jdk11-800012-redhat-00001]
at
org.teiid.translator.ws.BinaryWSProcedureExecution.execute(BinaryWSProcedureExecution.java:149)
~[translator-ws-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at
org.teiid.translator.swagger.SwaggerProcedureExecution.execute(SwaggerProcedureExecution.java:233)
~[translator-openapi-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at org.teiid.dqp.internal.datamgr.ConnectorWorkItem.execute(ConnectorWorkItem.java:402)
~[teiid-engine-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:na]
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
~[na:na]
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:na]
at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
at org.teiid.dqp.internal.datamgr.ConnectorManager$1.invoke(ConnectorManager.java:228)
~[teiid-engine-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at com.sun.proxy.$Proxy130.execute(Unknown Source) ~[na:na]
at
org.teiid.dqp.internal.process.DataTierTupleSource.getResults(DataTierTupleSource.java:302)
~[teiid-engine-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:108)
~[teiid-engine-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at
org.teiid.dqp.internal.process.DataTierTupleSource$1.call(DataTierTupleSource.java:104)
~[teiid-engine-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[na:na]
at org.teiid.dqp.internal.process.FutureWork.run(FutureWork.java:59)
~[teiid-engine-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:281)
~[teiid-engine-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:124)
~[teiid-engine-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at
org.teiid.dqp.internal.process.ThreadReuseExecutor$2.run(ThreadReuseExecutor.java:212)
~[teiid-engine-13.1.1.fuse-jdk11-800015-redhat-00001.jar!/:13.1.1.fuse-jdk11-800015-redhat-00001]
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
~[na:na]
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
~[na:na]
at java.base/java.lang.Thread.run(Thread.java:834) ~[na:na]
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)