On Fri, May 13, 2011 at 6:52 PM, Samisa Abeysinghe <[email protected]> wrote:

>
>
> On Wed, May 11, 2011 at 10:46 PM, Amila Silva <[email protected]> wrote:
>
>>
>>
>> On Tue, May 10, 2011 at 8:52 PM, Samisa Abeysinghe <[email protected]>wrote:
>>
>>> So between this new design and the old...
>>
>> I assume, by old design, you mean the existing ESB editor in CS.
>>
>>>
>>> What is the plan to migrate/re-use the existing code?
>>>
>> Since both designs use the EMF model of the ESB, we can re-use most of the
>> components from the existing ecore model.
>> However we can't really migrate the code because code of the graphical
>> representation obtained from GMF is different than that of EMF.
>>
>
> Sounds greek. Can you elaborate more please?
>

Sure. I think it'll be clear if I briefly explain the technologies involved.
(according to my understanding :) )

EMF(Eclipse Modelling Framework) is used to model a particular domain (such
as ESB). It is somewhat similar to UML. But unlike UML, EMF has a single
representation of the domain model which is called the ecore model. This
model can be used to generate code to edit the components and their
relationships modelled in the ecore model. This is what is used in the
current design of ESB editor.
There's a separate framework called GEF(Graphical Editing Framework) in
Eclipse which enables drawing of graphical components (eg: geometrical
shapes)

GMF(Graphical Modelling Framework) combines above two frameworks. So we can
use the relationships/logic from the ecore model and generate code for a
graphical editor. (lots of customizations are needed, of course)
GMF basically uses 4 models to generate code: ecore model, graphical
definition model, tooling definition model and mapping model
In graphical definition model, we specify what are the graphical components
and how they should be represented in our editor. Tooling model specifies
creation tools (of the palette), context menus, etc. Mapping model creates
the relationships between real domain model (ecore), graphical components
and tools.

Therefore, many of the components (specially, mediators and various enums)
from the ecore model of existing design can be re-used in the new design.
I found customized code in few places which we can re-use (such as logic for
property sheets).
Other than that, old code cannot be migrated as the code obtained from two
methods (EMF and GMF) differ.

>
>
>>
>>
>>> When do we plan to switch from old to new design?
>>>
>> Since the new design is still in an early stage we cannot exactly say when
>> it'll be ready to switch to.
>> Need some feedback on the new design and have to make some decisions.
>>
>
> I did not have time to look into the build sent yet...but I am not the only
> one around to give feedback ;)
>
>
>
>>
>>> I am trying to figure out how we go about making
>>> usability improvements in ESB space.
>>>
>>>
>>> On Tue, May 10, 2011 at 6:44 PM, Amila Silva <[email protected]> wrote:
>>>
>>>> Hi,
>>>>
>>>> Uploaded the packs to [1]
>>>>
>>>> Either use the eclipse distro with the feature installed. Or install the
>>>> feature to a new eclipse.
>>>> Currently, the editor supports service mediation with few mediators.
>>>> Also added drag and drop support for tools.
>>>>
>>>> Installing the feature  (will take about 15min)
>>>> ==================== ============
>>>> 1. Goto Help->Install New Software.
>>>> 2. Point to the location of the zip file.
>>>> 3. Untick "group items by category" and select EsbGraphicalEditor to
>>>> install.
>>>> 4. Tick "Contact all update sites during install"
>>>> 5. Click Next and install as usual (while installing it'll download EMF,
>>>> GMF and other required runtime libs)
>>>> 6.Restart eclipse
>>>>
>>>>
>>>> Trying out
>>>> ========
>>>> 1. Create a new project (for now any type of project, eg: java): Goto
>>>> File->New->Project.
>>>> 2. Create a new ESB Diagram: Goto File->New->Other . Select ESB diagram
>>>> from the category Examples
>>>> 3. Create a new Server:
>>>>    a. Select the tool "EsbServer" and draw. or
>>>>    b. Drag and drop the tool "EsbServer"
>>>> 4. Proxy services can be added of left side and endpoints can be added
>>>> to right side of the server figure.
>>>>    Eg: To add a proxy service, select the relevant tool and click on the
>>>> left border (just inside the server).
>>>> 5. Proxy services, mediators and enpoints should be connected using the
>>>> tool "Esb Link"
>>>>    Eg: To connect a proxy service to a log mediator, select the Esb Link
>>>> tool, point the mouse on output connector of the proxy service (the
>>>> arrowhead pointing outwards) and drag to the input connector of the log
>>>> mediator)
>>>> 7. Right click on the diagram and select Export to create the Synapse
>>>> configuration XML.
>>>>
>>>>
>>>> [1] -
>>>> http://builder.wso2.org/~carbon/carbon-studio/poc/EsbGraphicalEditor/
>>>>
>>>>
>>>> On Tue, May 10, 2011 at 12:03 AM, Amila Silva <[email protected]> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Mon, May 9, 2011 at 11:48 PM, Samisa Abeysinghe <[email protected]>wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, May 9, 2011 at 11:17 PM, Amila Silva <[email protected]> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, May 9, 2011 at 10:21 PM, Samisa Abeysinghe 
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>> I want to run it myself, not a demo
>>>>>>>>
>>>>>>> We can export and provide you the bundles of those projects tomorrow.
>>>>>>> (As it's not included in the builds right now.)
>>>>>>> If you want to try it now, I can provide the instructions on
>>>>>>> importing the necessary projects and running them.
>>>>>>>
>>>>>>
>>>>>> I cannot build on windows. Can you provide a snapshot pack?
>>>>>>
>>>>> Sure. We'll provide tomorrow.
>>>>>
>>>>>>
>>>>>>>
>>>>>>>> On Mon, May 9, 2011 at 10:18 PM, Saminda Wijeratne <
>>>>>>>> [email protected]> wrote:
>>>>>>>>
>>>>>>>>> Amila/Melan,
>>>>>>>>>
>>>>>>>>> Lets have a small demo on what we currently have. Create a rough
>>>>>>>>> milestone plan for the tasks ahead.
>>>>>>>>>
>>>>>>>>> Saminda
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, May 9, 2011 at 10:15 PM, Samisa Abeysinghe <
>>>>>>>>> [email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> How can I try what we have as of now?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, May 9, 2011 at 10:14 PM, Amila Silva <[email protected]>wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> Yes, we started working on this.
>>>>>>>>>>>
>>>>>>>>>>> Contacted the previous developer (Asiri) and got some
>>>>>>>>>>> clarification on the existing ecore model. We decided to extend 
>>>>>>>>>>> that model.
>>>>>>>>>>> Now we are adding mediator sequence support. And doing some UI 
>>>>>>>>>>> improvements
>>>>>>>>>>> (with gmf graphical definition model).
>>>>>>>>>>> In the following days, we hope to add support for more mediators
>>>>>>>>>>> to the graph and work on the persistence part simultaneously.
>>>>>>>>>>>
>>>>>>>>>>> On Mon, May 9, 2011 at 9:49 PM, Samisa Abeysinghe <
>>>>>>>>>>> [email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Are you guys working on this?
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Apr 27, 2011 at 3:29 PM, Amila Silva 
>>>>>>>>>>>> <[email protected]>wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Me and Melan are going to resume developing $subject after we
>>>>>>>>>>>>> complete bug-fixing on CS branch.
>>>>>>>>>>>>> This editor, once finished, will enable users to create ESB
>>>>>>>>>>>>> configurations with a UI similar to an architectural diagram of 
>>>>>>>>>>>>> mediation
>>>>>>>>>>>>> engine.
>>>>>>>>>>>>> [image: synapse-flow.png]
>>>>>>>>>>>>>
>>>>>>>>>>>>> ESB domain model (ecore) will be used as the starting point.
>>>>>>>>>>>>> and the editor uses Graphical Modeling Framework (GMF) for code 
>>>>>>>>>>>>> generation.
>>>>>>>>>>>>> This editor has been started some time ago. Currently it is a
>>>>>>>>>>>>> basic diagram editor with graphical representation of Server, 
>>>>>>>>>>>>> Proxy
>>>>>>>>>>>>> Services, Endpoints and two types of mediators. We hope to extend 
>>>>>>>>>>>>> on this
>>>>>>>>>>>>> existing code.
>>>>>>>>>>>>> Past few weeks we've been studying GMF and working on getting a
>>>>>>>>>>>>> working prototype
>>>>>>>>>>>>> The basic steps will include the following,
>>>>>>>>>>>>> 1. Expanding ecore, graphical definition, tooling definition
>>>>>>>>>>>>> models to support other artifacts: mediation sequences, other 
>>>>>>>>>>>>> types of
>>>>>>>>>>>>> mediators, local entries, etc.
>>>>>>>>>>>>> 2. Working on code customization to support functionalities of
>>>>>>>>>>>>> various mediators.
>>>>>>>>>>>>> 3. Transformation and Persistence - Writing the model exporter
>>>>>>>>>>>>> to export the configuration on diagrams as Carbon Apps or separate
>>>>>>>>>>>>> artifacts.
>>>>>>>>>>>>> 4. Enhancing the GUI.
>>>>>>>>>>>>>
>>>>>>>>>>>>> The GUI of existing projects with our few modifications
>>>>>>>>>>>>> currently looks like this:
>>>>>>>>>>>>>
>>>>>>>>>>>>> [image: esb_diagram_draft.png]
>>>>>>>>>>>>>
>>>>>>>>>>>>> We'll keep updated on progress and any problems that may arise.
>>>>>>>>>>>>> Suggestions are much appreciated.
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Thanks & Regards,
>>>>>>>>>>>>> Amila Manoj
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>> Carbon-dev mailing list
>>>>>>>>>>>>> [email protected]
>>>>>>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Samisa...
>>>>>>>>>>>>
>>>>>>>>>>>> Samisa Abeysinghe
>>>>>>>>>>>> VP Engineering
>>>>>>>>>>>> WSO2 Inc.
>>>>>>>>>>>> http://wso2.com
>>>>>>>>>>>> http://wso2.org
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>> Carbon-dev mailing list
>>>>>>>>>>>> [email protected]
>>>>>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Thanks & Regards,
>>>>>>>>>>> Amila Manoj
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> Carbon-dev mailing list
>>>>>>>>>>> [email protected]
>>>>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>> Samisa...
>>>>>>>>>>
>>>>>>>>>> Samisa Abeysinghe
>>>>>>>>>> VP Engineering
>>>>>>>>>> WSO2 Inc.
>>>>>>>>>> http://wso2.com
>>>>>>>>>> http://wso2.org
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Carbon-dev mailing list
>>>>>>>>>> [email protected]
>>>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Carbon-dev mailing list
>>>>>>>>> [email protected]
>>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>> Samisa...
>>>>>>>>
>>>>>>>> Samisa Abeysinghe
>>>>>>>> VP Engineering
>>>>>>>> WSO2 Inc.
>>>>>>>> http://wso2.com
>>>>>>>> http://wso2.org
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Carbon-dev mailing list
>>>>>>>> [email protected]
>>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Thanks & Regards,
>>>>>>> Amila Manoj
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Carbon-dev mailing list
>>>>>>> [email protected]
>>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>>
>>>>>>> Thanks,
>>>>>> Samisa...
>>>>>>
>>>>>> Samisa Abeysinghe
>>>>>> VP Engineering
>>>>>> WSO2 Inc.
>>>>>> http://wso2.com
>>>>>> http://wso2.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Carbon-dev mailing list
>>>>>> [email protected]
>>>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks & Regards,
>>>>> Amila Manoj
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks & Regards,
>>>> Amila Manoj
>>>>
>>>>
>>>> _______________________________________________
>>>> Carbon-dev mailing list
>>>> [email protected]
>>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>>
>>>> Thanks,
>>> Samisa...
>>>
>>> Samisa Abeysinghe
>>> VP Engineering
>>> WSO2 Inc.
>>> http://wso2.com
>>> http://wso2.org
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>> Amila Manoj
>>
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
>


-- 
Thanks & Regards,
Amila Manoj
_______________________________________________
Carbon-dev mailing list
[email protected]
http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to