Hi, In Hawt.io, from a plugin developer's perspective a plugin is just a set of resources; usually at least one JavaScript file. For all the plugins in hawt.io done so far they have picked AngularJS as the UI framework, which has a nice two-way binding between the HTML markup and the JS data model along with modularization, web directives and dependency injection. These AngularJS modules can be added and removed at runtime inside the same single page application without requiring a reload. I will be using AngularJS Directives[2] and angular UI. Finally we will have Plugins in Hawt.io (Collection of AngularJS modules)
In my approach I will build pluggins from AngularJS (plug can be just js file or js files) that will use $http to call rest API in helix. Final Helix Plugin in Hawt.io (Helix dashboard) will use all those AngularJS that I am building now. Those AngularJS (js and html file) store in separate modules in helix and we can use a maven WAR project and add the hawtio-web WAR dependency and use the maven war plugin we can then add my develop plugins into the war. This module will create .war file and can be deploy as web app (dashboard) in Helix (rest admin web application is running) [1] http://hawt.io/plugins/howPluginsWork.html [2] http://hawt.io/developers/directives.html [3] http://hawt.io/plugins/index.html On 12 June 2014 22:44, Kanak Biscuitwala <kana...@hotmail.com> wrote: > +1 feel free to use whatever approach is easier > > ---------------------------------------- > > Date: Thu, 12 Jun 2014 10:07:36 -0700 > > Subject: Re: [GSOC] Current Status > > From: g.kish...@gmail.com > > To: dev@helix.apache.org > > CC: kana...@hotmail.com > > > > I think it should be ok to either have helix-dashboard module to generate > > the war or merge into helix-admin-webapp. We can probably start with > > helix-dashboard first and then merge it into helix-admin-webapp later. > > > > > > On Thu, Jun 12, 2014 at 9:55 AM, Ayola Jayamaha < > ayolajayamah...@gmail.com> > > wrote: > > > >> Hi > >> > >> If we start two server in different ports Since hawtio dashboard will > use > >> Helix REST API there can be a CROS domain issue.As we discussed, > desperate > >> module (eg: Helix-dashboard) will create Hawt.io dashboard as web > >> application and it will be 'war' file, that can be deploy. > >> Is it possible to deploy dashboard war file in helix? > >> (I think helix rest API (helix-admin-webapp) is also deployed as web > app, > >> am I correct) so can we use same server to deploy dashboard? > >> > >> Thanks > >> > >> > >> On 27 May 2014 06:12, Ayola Jayamaha <ayolajayamah...@gmail.com> wrote: > >> > >>> Hi, > >>> > >>> You can find all of the REST API URLs on: > >>> http://ayolajayamaha.blogspot.com/2014/05/rest-api-further.html > >>> > >>> > >>> On 27 May 2014 05:44, Ayola Jayamaha <ayolajayamah...@gmail.com> > wrote: > >>> > >>>> > >>>> > >>>> ---------- Forwarded message ---------- > >>>> From: Kanak Biscuitwala <kana...@hotmail.com> > >>>> Date: 26 May 2014 23:00 > >>>> Subject: RE: [GSOC] Current Status > >>>> To: "dev@helix.apache.org" <dev@helix.apache.org> > >>>> Cc: "d...@helix.incubator.apache.org" <d...@helix.incubator.apache.org > >, > >>>> kishore g <g.kish...@gmail.com> > >>>> > >>>> > >>>> > >>>> Yes everything is implemented in Java at the lowest level. The command > >>>> line API is implemented in ClusterSetup.java. > >>>> > >>>> ---------------------------------------- > >>>>> Date: Mon, 26 May 2014 12:55:45 +0530 > >>>>> Subject: Re: [GSOC] Current Status > >>>>> From: ayolajayamah...@gmail.com > >>>>> To: dev@helix.apache.org; kana...@hotmail.com > >>>>> CC: d...@helix.incubator.apache.org; g.kish...@gmail.com > >>>>> > >>>>> Thanks Kanak. > >>>>> > >>>>> I too noticed from RestAdminApplication[1],I think it covers all of > >> the > >>>>> REST API of HELIX. > >>>>> Is Commmand line api also implemented using java API? Therefore is > >> java > >>>> API > >>>>> the main top interface? > >>>>> > >>>>> Your ideas and suggestions are deeply appreciated and valued. > >>>>> > >>>>> Thanks. > >>>>> > >>>>> > >>>>> References: > >>>>> [1 > >>>>> ] > >>>> > >> > https://github.com/apache/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/RestAdminApplication.java > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> > >>>>> On 10 May 2014 08:54, Ayola Jayamaha <ayolajayamah...@gmail.com> > >> wrote: > >>>>> > >>>>>> Installing hawtio dashboard and building it from source code. > >>>>>> > >>>> > http://ayolajayamaha.blogspot.com/2014/05/running-hawtio-dashboard.html > >>>>>> > >>>>>> > >>>>>> On 5 May 2014 09:30, Ayola Jayamaha <ayolajayamah...@gmail.com> > >> wrote: > >>>>>> > >>>>>>> Steps followed in checking REST API > >>>>>>> http://ayolajayamaha.blogspot.com/2014/05/helix-rest-api.html > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> On 3 May 2014 12:21, Ayola Jayamaha <ayolajayamah...@gmail.com> > >>>> wrote: > >>>>>>> > >>>>>>>> Thanks Jason for the instructions. > >>>>>>>> > >>>>>>>> I will follow the steps that you have given. > >>>>>>>> > >>>>>>>> > >>>>>>>> On 3 May 2014 04:24, Zhen Zhang <nehzgn...@gmail.com> wrote: > >>>>>>>> > >>>>>>>>> Hi Ayola, > >>>>>>>>> > >>>>>>>>> Thanks for the update. To test/check the rest API, you can start > >>>>>>>>> Helix-rest-admin when you are running the Helix example in quick > >>>> start. > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>> > >> > $HELIX_HOME/helix-admin-webapp/target/helix-admin-webapp-pkg/bin/run-rest-admin.sh > >>>>>>>>> usage: java org.apache.helix.webapp.RestAdminApplication > >>>>>>>>> --help Prints command-line > >>>>>>>>> options info > >>>>>>>>> --port <web service port, default: 8100> Provide web service > >>>>>>>>> port > >>>>>>>>> --zkSvr <ZookeeperServerAddress(Required)> Provide zookeeper > >>>>>>>>> address > >>>>>>>>> > >>>>>>>>> It asks for a http port (default 8100) and the zkAddress (e.g. > >>>>>>>>> localhost:2199). After you start Helix-rest-admin, you can use > the > >>>> rest > >>>>>>>>> api: > >>>>>>>>> > http://helix.apache.org/0.6.2-incubating-docs/tutorial_admin.html > >>>>>>>>> > >>>>>>>>> Thanks, > >>>>>>>>> Jason > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> > >>>>>>>>> On Fri, May 2, 2014 at 5:53 AM, Ayola Jayamaha < > >>>>>>>>> ayolajayamah...@gmail.com>wrote: > >>>>>>>>> > >>>>>>>>>> Hi, > >>>>>>>>>> > >>>>>>>>>> I was able to build helix from the source code with out test (I > >> got > >>>>>>>>> some > >>>>>>>>>> test failures in TestZKUtil>ZkUnitTestBase.afterTest:93 there > >> fore > >>>> I > >>>>>>>>> skip > >>>>>>>>>> the test in helix building). I have started blog on those task, > >>>> Think > >>>>>>>>> it is > >>>>>>>>>> OK with helix Developers? > >>>>>>>>>> > >>>>>>>>>> Helix build with out test was success[1]. > >>>>>>>>>> I try out helix admin API with helix sample ('Quick start')[2] > >>>>>>>>>> > >>>>>>>>>> How can I test/check the rest API sample or tutorial > >>>>>>>>>> Currently I'm looking at hawtio dashboard samples. > >>>>>>>>>> > >>>>>>>>>> [1] > >>>>>>>>>> > >>>>>>>>> > >>>> > >> > http://ayolajayamaha.blogspot.com/2014/03/build-helix-from-source-code.html > >>>>>>>>>> [2] > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>> > >> > http://ayolajayamaha.blogspot.com/2014/05/how-to-run-helix-example-from-source.html > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> On 25 April 2014 22:56, Kanak Biscuitwala <kana...@hotmail.com> > >>>>>>>>> wrote: > >>>>>>>>>> > >>>>>>>>>>> This is a good time to make sure you can run get started with > >>>> Helix > >>>>>>>>> and > >>>>>>>>>>> can successfully build it. As you go along, we will be > available > >>>> to > >>>>>>>>>> answer > >>>>>>>>>>> questions about the Helix codebase, architecture, the issue > >>>>>>>>>>> tracking/communication/code review processes, and so on. > >>>>>>>>>>> > >>>>>>>>>>> Your plan sounds reasonable. > >>>>>>>>>>> > >>>>>>>>>>> Kanak > >>>>>>>>>>> ________________________________ > >>>>>>>>>>>> Date: Fri, 25 Apr 2014 22:32:25 +0530 > >>>>>>>>>>>> Subject: [GSOC] Current Status > >>>>>>>>>>>> From: ayolajayamah...@gmail.com > >>>>>>>>>>>> To: kana...@hotmail.com > >>>>>>>>>>>> > >>>>>>>>>>>> Thanks and I accept all your support to achieve it > >> successfully. > >>>>>>>>> Since > >>>>>>>>>>>> this is my first gsoc project. > >>>>>>>>>>>> > >>>>>>>>>>>> What is the best thing to do on this phase of gsoc? > >>>>>>>>>>>> > >>>>>>>>>>>> Plan to do on this phase (2 weeks time) > >>>>>>>>>>>> - helix api try out mainly for dashboard > >>>>>>>>>>>> -hawito dashboard samples in other product > >>>>>>>>>>>> - understanding and finding the best approach to helix > >> dashboard > >>>>>>>>>>>> [https://mail.google.com/mail/u/0/images/cleardot.gif] > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> -- > >>>>>>>>>>>> Best Regards, > >>>>>>>>>>>> Ayola Jayamaha > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> > >>>>>>>>>> -- > >>>>>>>>>> Best Regards, > >>>>>>>>>> Ayola Jayamaha > >>>>>>>>>> > >>>>>>>>>> http://ayolajayamaha.blogspot.com > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> -- > >>>>>>>> Best Regards, > >>>>>>>> Ayola Jayamaha > >>>>>>>> > >>>>>>>> http://ayolajayamaha.blogspot.com > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> -- > >>>>>>> Best Regards, > >>>>>>> Ayola Jayamaha > >>>>>>> > >>>>>>> http://ayolajayamaha.blogspot.com > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> -- > >>>>>> Best Regards, > >>>>>> Ayola Jayamaha > >>>>>> > >>>>>> http://ayolajayamaha.blogspot.com > >>>>>> > >>>>> > >>>>> > >>>>> > >>>>> -- > >>>>> Best Regards, > >>>>> Ayola Jayamaha > >>>>> > >>>>> http://ayolajayamaha.blogspot.com > >>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> Best Regards, > >>>> Ayola Jayamaha > >>>> > >>>> http://ayolajayamaha.blogspot.com > >>>> > >>> > >>> > >>> > >>> -- > >>> Best Regards, > >>> Ayola Jayamaha > >>> > >>> http://ayolajayamaha.blogspot.com > >>> > >> > >> > >> > >> -- > >> Best Regards, > >> Ayola Jayamaha > >> > >> http://ayolajayamaha.blogspot.com > >> > > -- Best Regards, Ayola Jayamaha http://ayolajayamaha.blogspot.com