easysoa / EasySOA

A light, collaborative platform to make Service Oriented Architecture simple.
http://www.easysoa.org
35 stars 8 forks source link

Rest Services in EasySOA #84

Open tiry opened 12 years ago

tiry commented 12 years ago

Inside Nuxeo Platform, in terms of Web Service we are mainly focussed on http / rest based WebService and don't really use SOAP or SCA. The "approach" is documented here.

Because of that we are very interested in integrating inside EasySOA support for Rest based Web Service :

In order to make this a really, we must discuss about changes in EasySOA current implementation, but also in Nuxeo services implementation (mainly Nuxeo Content Automation).

Here is a list of the points related to this specific topic.

add support for GET requests on Automation

EasySOA-registry remote API is mainly a wrapper around the Automation API.

The main reason for this wrapping seens to be to expose GET api whereas Automation is by default POST oriented.

Rather that doing a wrapper in EasySOA, I can easily add a handler for GET requests in Automation Server.

This would make sense for EasySOA, but clearly this also makes sense for Nuxeo.

=> Interested ?

Support for Automation Services in EasySOA

EasySOA currently supports WSDL and SCA based services definition.

Nuxeo Automation services are not based on any of this solution : services are exposed and autodocumented via JSON, you can have a quick overview by looking at Explorer

For now I basically see 3 approches :

=> WDYT ?

Automation Sandbox

I want to extend automation documentation view so that we can leverage the recently added JS api to directly call the services from the HTML page.

This will of course be limited by SOP, but this will allow "end users" to quickly experiment the service API.

The idea is to have something like the Google OAuth Playground : a web page were a end user can easily experiment the WebServices without needed real technical knowledge.

Inside Nuxeo, we have recently added some features that could be used as a base for this.

=> Does it make sense at least in the context of EasySOA light ?

=> Does that sound like something interesting for EasySOA ?

mdutoo commented 12 years ago

I'm full for REST support, "easysoa by easysoa" and things benefiting to both Nuxeo and EasySOA.

So very good ideas, if we manage to unify EasySOA services, EasySOA-known services and Nuxeo Content Automation services :