Great work Dakshika! On Sat, Dec 13, 2014 at 6:19 AM, Dakshika Jayathilaka <daksh...@wso2.com> wrote: > > Hi Devs, > > As you are aware,currently we are using JSON to add applications into > apache stratos. The Application editor will help to generate more complex > JSON within few clicks. > > > When you click on* add new* application, you can see the "*editor view"* > ,which > contains four main sections as follows; > > - Editor Area > - Cartridge and Group Listing > - Information > - General details > > *Editor Area: *Is used to draw your application. By default application > main node is presented on the editor area. Application node contains a > small square on the bottom. You may click and drag connections using > application node. > > > *Cartridge and Group Listing:* You can see all available groups and > cartridges on it. If you click on each block you will see the details on > the Information section. > > If it is a cartridge it will display cartridge information and If it is a > group it will display the group tree hierarchy of the particular group. > > > > > *General details: *Will show general information for your application. > > *How to use* > > 1. You may *double click* on any cartridge or group in order to bring it > to the editor area. The related node will then be shown as follows; > > > 2. Click on the small square in the root application node and drag the > connection between the two nodes (all possible connection positions will be > highlighted as follows) > > > > > 3. Once you click on the node, the related information will be displayed > on the component section. > > > 4. Enter all necessary information required and click on the update button > to save current node data. > > You may click on any node to edit previously filled data. > > 5. Finally, click on "Deploy Application Definition" button. > > This will automatically generate any complex level application JSON with > less effort. Also we can extend this to create groups and deployment > policies as wel. > > TODO: > > 1. Add field validation > 2. Node auto-positioning > > Your comments and feedback will be highly appreciated. > > PR for this: https://github.com/apache/stratos/pull/150 > > Thank you, > > Bst Regards, > > *Dakshika Jayathilaka* > Software Engineer > WSO2, Inc. > lean.enterprise.middleware > 0771100911 >
-- Lakmal Warusawithana Vice President, Apache Stratos Director - Cloud Architecture; WSO2 Inc. Mobile : +94714289692 Blog : http://lakmalsview.blogspot.com/