[teiid-issues] [JBoss JIRA] (TEIID-3520) Extend the Swagger support in the WS Translator

Kylin Soong (JIRA) issues at jboss.org
Mon Sep 21 05:06:00 EDT 2015


    [ https://issues.jboss.org/browse/TEIID-3520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13110682#comment-13110682 ] 

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)


More information about the teiid-issues mailing list