[
https://issues.jboss.org/browse/TEIID-3520?page=com.atlassian.jira.plugin...
]
Kylin Soong commented on TEIID-3520:
------------------------------------
Ramesh, what's your initial thoughts on this?
swagger-parser [1] can parse a specification json
file(http://petstore.swagger.io/v2/swagger.json), and get the pojo class which contain a
series info, including basePath, path, etc. If add another ProcedureExecution
implementation in current translator-ws, it seems not necessary, because we still use
Dispatch.invoke, it's almost same with existed BinaryWSProcedureExecution.
How about develop a translator-swagger/connector-swagger? we can use http client, swagger
parser libraries to add another way to integrate rest.
[1]
https://github.com/swagger-api/swagger-parser
Extend the Swagger support in the WS Translator
-----------------------------------------------
Key: TEIID-3520
URL:
https://issues.jboss.org/browse/TEIID-3520
Project: Teiid
Issue Type: Feature Request
Components: Misc. Connectors
Reporter: Ramesh Reddy
Assignee: Kylin Soong
Fix For: 8.12
http://swagger.io is popular REST service description framework, it defines a
specification
http://swagger.io/specification/ for REST service definition.
Teiid WS translator should add the ability to read this file (like WSDL) and provide the
REST methods as endpoints that can be consumed from Teiid.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)