Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 332204

Summary: RAP based Admin UI
Product: z_Archived Reporter: Gunnar Wagenknecht <gunnar>
Component: gyrexAssignee: Mike Tschierschke <mike.tschierschke>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: andreas.mihm
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 335210    
Bug Blocks:    
Attachments:
Description Flags
RAP based Admin UI - Screenshot
none
The additional projects you need to run the rap based admin ui.
gunnar: iplog+
The patch you need to run the rap based admin ui. gunnar: iplog+

Description Gunnar Wagenknecht CLA 2010-12-09 07:42:21 EST
We currently have a preliminary Admin UI in Gyrex. This is based on a Toolkit abstraction with a renderer implemented in GWT. Although the idea is not bad it turns out that this is quite a bit development effort for each new widget we want to use.

Therefore we sat together and Mike wrote a little prototype for an Admin UI in RAP. RAP is an established Eclipse technology and we should be good citizens and re-use Eclipse projects whenever possible.
Comment 1 Gunnar Wagenknecht CLA 2010-12-09 07:43:06 EST
Mike, assigning this to you. When you have a minute, can you attach a screenshot of your current work?
Comment 2 Gunnar Wagenknecht CLA 2010-12-09 07:52:47 EST
BTW, the issue you run into with the missing images is like because of bug 251096 and bug 241210. I added bug 241210 as a blocker because we definitely need this support for 1.0.
Comment 3 Mike Tschierschke CLA 2010-12-09 07:54:11 EST
Created attachment 184846 [details]
RAP based Admin UI - Screenshot
Comment 4 Mike Tschierschke CLA 2010-12-09 08:07:15 EST
On the screen shot You see our first integration of a RAP based admin ui for Gyrex. The layout is based on the business example, You find in the bundle org.eclipse.rap.design.example in version 1.4.0.20101109-2119.

In the first step we implemented the new bundle org.eclipse.gyrex.admin.ui to the Gyrex platform and designed extension points to extend the menu items and their related content.
Comment 5 Mike Tschierschke CLA 2010-12-22 07:03:26 EST
Created attachment 185697 [details]
The additional projects you need to run the rap based admin ui.
Comment 6 Mike Tschierschke CLA 2010-12-22 07:03:52 EST
Created attachment 185698 [details]
The patch you need to run the rap based admin ui.
Comment 7 Mike Tschierschke CLA 2010-12-22 07:16:13 EST
Just added the first implemetation of the new rap based framework to administrate the Gyrex platform for evaluation. It also contains three example pages to configure jetty settings, platform logging and a page to view and manipulate registered repositories.

You only have to import the attached projects to your Gyrex workspace and apply the patch. I've integated the system in the gyrex.launch configuration - after startup you'll may view the result under http://localhost:3110/adminui.

Thank you for trying and feedback. Please stay kind and amicable - that's my first patch and I'm still a little confused ;-)
Comment 8 Gunnar Wagenknecht CLA 2011-01-31 02:43:38 EST
Mike, thanks a lot for your work. I took the patch and reworked the API further in order to no expose a lot API in the beginning. I'll open a separate bug for the remaining issues to look at for M6/M7.