easysoa / EasySOA

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

Refactor (HTTP monitoring) proxy to decouple architecture #30

Open mdutoo opened 13 years ago

mdutoo commented 13 years ago
JGuillemotte commented 12 years ago
  1. & 2. OK, studying 3.
mdutoo commented 12 years ago

Also refactor & decouple to support discovery process, see #31 https://github.com/easysoa/easysoa-model-demo/issues/31 .

About 4. : that would need a client (reference) binding.http in FraSCAti, which only supports it as a server (service) for now.

About 3. Message API signature : For now it's basically MonitoringService.listen(Message). To support all proxy use cases, "listen" should become something like the following methods : preForward (ex. SLA), postForward (ex. async), preReturn (ex. translate), postReturn (ex. record log including return OK), and also handle errors and aborts (ex. SLA).

About 3. Object-oriented Message API : That's another version of the Message API. SCA Intents are an example of it. It corresponds to a java interface (in the SCA sense) rather than a ws one. So could there be a message / text oriented version of SCA Intents, maybe using the Servlet interface (consistent with previous comment) ?