Dakshika Jayathilaka created STRATOS-1035:
---------------------------------------------
Summary: Application Editor for Console
Key: STRATOS-1035
URL: https://issues.apache.org/jira/browse/STRATOS-1035
Project: Stratos
Issue Type: Improvement
Components: UI
Affects Versions: 4.1.0 Alpha
Reporter: Dakshika Jayathilaka
Fix For: 4.1.0 Alpha
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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)