Need a simple app that will call a REST service to fetch a list (in tree form) and render on browser.
There will be buttons (w/ small icons) to expand/collapse nodes, insert/append/remove (at bottom), also nodes can be rearranged by drag&drop (except a parent node can't be moved under child node), and finally ability to create a new tree (should prompt for save a previously edited one), save, and open.
Once tree editing is finalized, we would press SAVE button, and the app will call the REST service to submit. To save, the app will iterate over the entire tree calling the REST POST to insert the data into API.
Should read and write JSON.
Data structure will be like: ID, ParentId, Name, iconUrl, isContainer. Then we will have a dynamic list of nodes that can be edited, such as Name, Description, linkURL.
The open button will prompt for entry of GET URL (there will be a list of recently called URLs), including passing parameters and HTTP headers. Is important to capture the starting node ID, so that only corresponding child nodes will be fetched. This means, that we can open to edit a specific section of a tree.
There will be a right pane (that can be shown/hidden), showing the dynamic properties of the node, and it will be editable.
There will be a lower pane (that can be shown/hidden), showing a transcript of all the HTTP GET / POST requests.
I need to be able to easily embedd the app inside an Vaadin app we are workin on now, as well as an HTML5 page.