Hi Jason, Hows the connector dev work progressing ?
Regards, /Nuwan On Thu, Apr 10, 2014 at 4:33 AM, Jason Catlin <[email protected]> wrote: > Hey guys, > > As you know, the ESB has the ability to use connector plugins so that > you can easily make calls to common services without having to > re-implement the details. We want a rich library of these, and I'll > be contributing a few. I'll be starting with a youtube connector, > something relativley simple, and then doing more complicated ones > later. > > So I looked through all the connectors already implemented and > determined that the twitter connector is probably the most similar to > what I'll be doing. The authentication is very similar, and then both > just have a few simple queries made through REST interfaces. > > A few points of interest: Even though the ESB Connector system has a > way to specify REST connectors, the twitter connector doesn't use > this, and rather uses a Java coded one instead. Does anyone know what > the reason for this is? > > Also, I noticed that the twitter connector forms an OAuth token inside > the Java code, and it gets its authentication details from properties > that it reads form the configuration of the connector. This is one > way to do it. Another way, which might make more sense to me, is for > the connector to ignore the OAuth all together, and have the user add > that header outside the connector. This might give them much more > control over it. Does anyone know why they set up the twitter > connector that way? > > In general, I think this will probably be a pretty open and shut > project. I'd be suprised if it takes more than a week. > > JC > -- *Thanks & Regards,* * Nuwan Bandara | Senior Technical Lead - Solutions Architecture, WSO2 Inc.+1 812.606.7390 | +1 650.745.4499 Ext 4210 | http://nuwanbando.com <http://nuwanbando.com> * <http://www.nuwanbando.com/>
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
