[
https://issues.jboss.org/browse/TEIID-3520?page=com.atlassian.jira.plugin...
]
Ramesh Reddy commented on TEIID-3520:
-------------------------------------
No, to new translator/connector Swagger. Not needed. The intention behind this enhancement
is ability to read swagger based metadata about REST based services and define the
metadata model in Teiid automatically to integrate into, not that we need to use some
Swagger swag.
Look at WSDLMetadatProcessor and WSWSDLProcedureExecution classes that are defined for
WSDL based executions. We need something exactly same as that, SwaggerMetadataProcessor
and SwaggerProcedureExecution that knows how to parse and interpret the Swagger metadata
and able to handle the executions using BinaryWSprocedureExecution class.
To "WSConnection" class add "getSwaggerURL()" method. Add necessary
properties in "connector-ws", but do not add any dependencies about Swagger in
"connector-ws" module, and wire up in the translator.
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)