You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@helix.apache.org by Ayola Jayamaha <ay...@gmail.com> on 2014/08/01 08:49:31 UTC

Re: [GSOC] Current Status

Hi All,

I was able to resolve the issue with deploying a plugin with Tomcat.

The solution can be found in my blog post.
http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html

Thanks.


On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:

> Hi All,
>
> Attached herewith is the User Manual. However there is a small issue with
> deploying the plugin(.war file). I'm trying with tomcat, fabric8 and also
> communicating with the hawtio community. By next week this problem will
> surly be resolved. And I will write on blog the necessary.
>
>
> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>> Hi Kanak,
>>
>> Ok I will send the user manual to you.
>>
>> Sent from my iPhone
>>
>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com>
>> wrote:
>>
>> > Hi Ayola,
>> >
>> > Could you write a "Getting Started" guide with step-by-step
>> instructions on how to build and deploy the dashboard? If you already have
>> that, could you send a link?
>> >
>> > Thanks,
>> > Kanak
>> >
>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>> >> Subject: Re: [GSOC] Current Status
>> >> From: ayolajayamaha28@gmail.com
>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>> >>
>> >> Hi All,
>> >>
>> >> I was able to resolve the Cross Domain Issue in Helix where it arises
>> since
>> >> the Rest API domain differs from the dashboard domain (ports).
>> Currently it
>> >> is resolved as to allow all requests from the API. I have committed to
>> my
>> >> git repo [1] in which Cluster API is resolved. I will clean the code
>> and
>> >> remove any duplicates and resolve the other APIs as well.
>> >> More information will be found in my blog [2]. Also I'm following
>> >> AngularJS, Angular Directives and Angular Services. These will be
>> helpful
>> >> to me to write good maintainable code for hawtio dashboard.
>> >>
>> >> [1]https://github.com/AyolaJayamaha/helix
>> >> [2]
>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>> >>
>> >>
>> >>
>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>> >>
>> >>> In terms of the CORS pattern, I think it's just pattern matching the
>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so if
>> you
>> >>> can make it configurable, that would be good.
>> >>>
>> >>> If it simplifies your implementation and resolves the XSS issues, you
>> can
>> >>> co-deploy helix-admin-webapp with your dashboard (along with any
>> components
>> >>> other than helix controller or helix participant). Other than that, I
>> don't
>> >>> have any specific suggestions as I'm not an expert in this.
>> >>>
>> >>> Kanak
>> >>>
>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>> >>> Subject: Re: [GSOC] Current Status
>> >>> From: ayolajayamaha28@gmail.com
>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>> >>>
>> >>> Hi All,
>> >>>
>> >>> Currently I'm going through Charting with regard to UI components.
>> Also
>> >>> I'm looking where to put the headers to enable CORS. I'm writing a
>> simple
>> >>> Restlet and removing cross domain issue in that. Any suggestions? I'm
>> going
>> >>> through AngularJS and writing some blog posts with regard to charting
>> and
>> >>> Restlet.
>> >>>
>> >>>
>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>> >>>
>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>> >>>
>> >>>
>> >>>
>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>> >>>
>> >>> Hi,
>> >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
>> >>> attaching.
>> >>>
>> >>> Clean pom file[4] with setting up properties and dependencies. later
>> we
>> >>> can move those parent pom, set the parent pom.This will build as
>> successful
>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am
>> using
>> >>> tomcat)
>> >>>
>> >>>
>> >>>
>> >>> Helix dashboard looks with themes
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Helix dashboard with Helix rest details
>> >>>
>> >>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]
>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>> >>>
>> >>>
>> >>> If any thing is not clear please let me know
>> >>> Thanks
>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>> >>>
>> >>> [2]
>> >>>
>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>> >>>
>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>> >>>
>> >>> [4]
>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>> >>>
>> >>>
>> >>>
>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>> >>>
>> >>>
>> >>>
>> >>> Hi,
>> >>>
>> >>> 1. I have updated the Mock UI document as the feedback given by my
>> mentor.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>> Is the portal on the document address the needs mentioned?
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> 2. The steps I followed next are the transitions from Mock UI --->
>> Static
>> >>> HTML ----->Angular Module
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>>
>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>> >>> The sample UI is not the final version. It would be \ improved
>> graphical
>> >>> wise in the final versions. The given UI is the structure of the
>> interface
>> >>> showing all the details that will be given to users.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> ​
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> ui33.png
>> >>>
>> >>>
>> >>>
>> >>> ​​
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> ui11.png
>> >>>
>> >>>
>> >>>
>> >>> ​​
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> ui22.png
>> >>>
>> >>>
>> >>>
>> >>> ​​
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> ui49.png
>> >>>
>> >>>
>> >>>
>> >>> ​​
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> ui9.png
>> >>>
>> >>>
>> >>>
>> >>> ​
>> >>> ---> hawtio plugin
>> >>> ​
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> plugin.png
>> >>>
>> >>>
>> >>>
>> >>> ​​
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> js.png
>> >>>
>> >>>
>> >>>
>> >>> ​
>> >>> As you can see in the screenshots you can find the plugin in github.
>> >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> You can get clone and build the dashboard. But some configurations in
>> >>> hawtio dashboard has to be done manually. I plan to automate it in the
>> >>> future.
>> >>>
>> >>> Note:
>> >>> I used a mock rest service since the Cross Domain Issue. To enable
>> CORS
>> >>> we need to add the following headers to the response.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>> >>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");
>> >>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>> >>> In building war file, the plugin will be added to .war file. But
>> current
>> >>> plugin needs to be installed to hawtio manually.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Hi,
>> >>> Thanks for the comments. I will make necessary changes and update the
>> >>> document.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Hi Ayola,
>> >>>
>> >>>
>> >>>
>> >>> Looks good so far. I have some comments about your mockups:
>> >>>
>> >>>
>> >>>
>> >>> 1. Enabling/disabling a cluster and enabling/disabling the controller
>> are
>> >>> actually the same thing. What is missing is "activateCluster."
>> >>> activateCluster is useful when you have a cluster of controllers, and
>> you
>> >>> want those controllers to manage other clusters. The controller
>> cluster is
>> >>> called the "grand cluster."
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> 2. Resources are added to cluster upon creation and cannot be moved or
>> >>> added to other clusters afterwards. Thus, the "add to cluster" on
>> existing
>> >>> resources doesn't make sense. The resources screen should allow
>> >>> enable/disable, read external view, read/write configs and read/write
>> ideal
>> >>> state. There should also be an "add resource" button on the clusters
>> page.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> 3. Same comment for instances. There should be an "add instance"
>> button on
>> >>> the cluster pages, and on the instance page it should allow read
>> current
>> >>> state, read messages, read/write configs.
>> >>>
>> >>>
>> >>>
>> >>> 4. There's a separate page for all configs, but it may make sense to
>> >>> integrate them into the configs at each scope (i.e. cluster, resource,
>> >>> participant).
>> >>>
>> >>>
>> >>>
>> >>> 5. There should be a button on the clusters page for adding a state
>> model
>> >>> definition.
>> >>>
>> >>>
>> >>>
>> >>> I think the overall comment is that the clusters page needs to be a
>> portal
>> >>> for the rest of the dashboard, so there should be a link to all the
>> cluster
>> >>> pages, and within a cluster page, there should be ways to access all
>> the
>> >>> resources, instances, configs, and constraints for that cluster.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>> Kanak
>> >>>
>> >>>
>> >>>
>> >>> ----------------------------------------
>> >>>
>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>> >>>
>> >>>> Subject: Re: [GSOC] Current Status
>> >>>
>> >>>> From: ayolajayamaha28@gmail.com
>> >>>
>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>> >>>
>> >>>
>> >>>> Hi,
>> >>>
>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created with
>> >>> hawtio
>> >>>
>> >>>> dashboard. A .war file can be used to deploy on any server as a
>> separate
>> >>>
>> >>>> module. The UIs get data from the REST API. This is just initial one.
>> >>> They
>> >>>
>> >>>> will be developed as Angular plugin. Towards the end I will provide
>> some
>> >>>
>> >>>> chart as well for cluster management.
>> >>>
>> >>>> Presently I'm doing the hawtio and helix integration and towards next
>> >>> week
>> >>>
>> >>>> I'm writing some angularjs plugins.
>> >>>
>> >>>
>> >>>
>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>> Thank you.
>> >>>
>> >>>
>> >>>
>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
>> wrote:
>> >>>
>> >>>
>> >>>>>> Local deployment is fine.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>>>> Here is the git repo that I will be using, later I will share Git
>> >>>
>> >>>>>> location (Angular plugin) that can be used in dashboard of hawtio.
>> I
>> >>> will
>> >>>
>> >>>>>> blog on those as well.
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>>>> The main thing we would like you to deliver is the package so that
>> it
>> >>> is
>> >>>
>> >>>>>> available for anyone to deploy within their own cluster.
>> >>>
>> >>>
>> >>>
>> >>>>> Sure,
>> >>>
>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war' with
>> >>> helix
>> >>>
>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by anyone
>> >>> with
>> >>>
>> >>>>> helix rest web app (own cluster).
>> >>>
>> >>>>> I just found[1] function 'start()' line 43. I too can follow that
>> model
>> >>>
>> >>>>> even.
>> >>>
>> >>>
>> >>>>> Therefore finally you will have web app as 'helix-admin-webapp'
>> that can
>> >>>
>> >>>>> be deployed within their own cluster.
>> >>>
>> >>>
>> >>>>> [1]
>> >>>
>> >>>
>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>>> [2]
>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>> >>>
>> >>>
>> >>>
>> >>>
>> >>>>>> Kanak
>> >>>
>> >>>
>> >>>>>> ----------------------------------------
>> >>>
>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>> >>>
>> >>>>>>> Subject: Re: [GSOC] Current Status
>> >>>
>> >>>>>>> From: ayolajayamaha28@gmail.com
>> >>>
>> >>>>>>> To: kanak.b@hotmail.com
>> >>>
>> >>>>>>> CC: dev@helix.apache.org
>> >>>
>> >>>
>> >>>>>>> Hi,
>> >>>
>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration as
>> >>>
>> >>>>>> module
>> >>>
>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>> >>>
>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and hawtio
>> >>>
>> >>>>>>> integration where should I create the headers to cater for the
>> cross
>> >>>
>> >>>>>> domain
>> >>>
>> >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
>> >>>
>> >>>>>>> For the time being the code is in my local machine. I will commit
>> to
>> >>>
>> >>>>>> repo
>> >>>
>> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>> >>>
>> >>>
>> >>>
>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com>
>> wrote:
>> >>>
>> >>>
>> >>>>>>>> Sounds reasonable. Is your current code available in a public
>> >>>
>> >>>>>> repository?
>> >>>
>> >>>>>>>> I would be interested in taking a look if it is.
>> >>>
>> >>>
>> >>>>>>>> Kanak
>> >>>
>> >>>
>> >>>>>>>> ________________________________
>> >>>
>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>> >>>
>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>> >>>
>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>> >>>
>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>> >>>
>> >>>
>> >>>
>> >>>>>>>>> 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<http://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 requiri
>>
>
>
>
> --
> Best Regards,
> Ayola Jayamaha
>
> http://ayolajayamaha.blogspot.com
>



-- 
Best Regards,
Ayola Jayamaha

http://ayolajayamaha.blogspot.com

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,

*Two Screen cast *
helix dashboard features[1]
how to setup and build helix dashboard from source code[2]

*GitRepos*
Fork (My main Development repo) of helix
https://github.com/AyolaJayamaha/helix-hawtio-plugins

My sample and testing/sampling/resource git repo
https://github.com/AyolaJayamaha/helix-hawtio-plugins

*Blog Posts*
New blog post on basic features in helix dashboard
http://ayolajayamaha.blogspot.com/2014/08/helix-dashboard-features.html

There is subtopic *Start Helix Dashboard with 2 steps. *

 CROS IssueEnable CORS in Restlet 2.1.X
<http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html>Enable
CORS for Get Call
<http://ayolajayamaha.blogspot.com/2014/07/enable-cors-for-get.html>CORS –
Cross Origin Resource Sharing
<http://ayolajayamaha.blogspot.com/2014/06/cors-cross-origin-resource-sharing.html>

Chartting and AngularJSIntroduction to AngularJS
<http://ayolajayamaha.blogspot.com/2014/05/introduction-to-angularjs.html>Simple
UI with AngularJS
<http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html>D3
Data Driven Documents
<http://ayolajayamaha.blogspot.com/2014/05/d3-data-driven-documents.html>
JSON Bare Bones
<http://ayolajayamaha.blogspot.com/2014/04/json-bare-bones.html>AngularJS
Charts <http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html>AngularJS
Line Charts
<http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html>AngularJS
Pie Charts
<http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html>

ResultsRestlet <http://ayolajayamaha.blogspot.com/2014/07/restlet.html>

Hawt.ioDevelopment with hawtio
<http://ayolajayamaha.blogspot.com/2014/05/development-with-hawtio.html>Writing
your own plugin for hawtio dashboard
<http://ayolajayamaha.blogspot.com/2014/06/writing-your-own-plugin-for-hawtio.html>
Cluster Manager
<http://ayolajayamaha.blogspot.com/2014/07/cluster-manager.html>
Instance Manager
<http://ayolajayamaha.blogspot.com/2014/07/instance-manager.html>
Building Helix Dashboard
<http://ayolajayamaha.blogspot.com/2014/08/building-helix-dashboard.html>

HelixIntegration of Hawtio Dashboard with Helix
<http://ayolajayamaha.blogspot.com/2014/05/hawtio-dashboard.html>Digging up
the REST Interface
<http://ayolajayamaha.blogspot.com/2014/05/dig-up-rest-interface.html>Building
hawtio dashboard from source code
<http://ayolajayamaha.blogspot.com/2014/05/running-hawtio-dashboard.html>
HELIX REST API
<http://ayolajayamaha.blogspot.com/2014/05/helix-rest-api.html>How to run
helix example from the source
<http://ayolajayamaha.blogspot.com/2014/05/how-to-run-helix-example-from-source.html>

[1] https://www.youtube.com/watch?v=U6H8c3W-N24&feature=youtu.be
[2] https://www.youtube.com/watch?v=4eyHFlvpmlI

Thanks.


On 18 August 2014 01:24, Ayola Jayamaha <ay...@gmail.com> wrote:

> Hi, Kanak
>
> Here I am sharing steps to build and install helix dashboard as screen
> cast[1]
> Blog post for this[2]
>
> [1] https://www.youtube.com/watch?v=4eyHFlvpmlI&feature=youtu.be
> [2]
> http://ayolajayamaha.blogspot.com/2014/08/building-helix-dashboard.html
>
> Thanks
>
>
>
> On 16 August 2014 05:30, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>
>> I don't have any specific documents in mind, but the build steps video
>> will be very useful.
>>
>> ----------------------------------------
>> > Date: Fri, 15 Aug 2014 20:33:09 +0530
>> > Subject: Re: [GSOC] Current Status
>> > From: ayolajayamaha28@gmail.com
>> > To: dev@helix.apache.org; kanak.b@hotmail.com
>> >
>> > Hi All,
>> > I will upload some videos on how to build helix dashboard. And write few
>> > blog posts. Are there any more documents to be written.
>> > Thanks.
>> >
>> >
>> >
>> > On 15 August 2014 06:13, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>> >
>> >> Thanks for making this. It is very useful for understanding and seeing
>> the
>> >> whole flow.
>> >>
>> >>> Date: Thu, 14 Aug 2014 17:59:16 +0530
>> >>> Subject: Re: [GSOC] Current Status
>> >>> From: ayolajayamaha28@gmail.com
>> >>> To: kanak.b@hotmail.com
>> >>> CC: dev@helix.apache.org
>> >>>
>> >>> Hi All,
>> >>>
>> >>> Herewith I'm sending a screencaste of the helix dashboard
>> >>> http://youtu.be/teP_Hb7oAgo.
>> >>> Thanks.
>> >>>
>> >>>
>> >>> On 11 August 2014 23:30, Ayola Jayamaha <ay...@gmail.com>
>> >> wrote:
>> >>>
>> >>>> Hi All,
>> >>>>
>> >>>> I have completed dashboard with solving issue that came across. Here
>> is
>> >> my
>> >>>> repo https://github.com/AyolaJayamaha/helix
>> >>>>
>> >>>> Here I am attaching the document.
>> >>>>
>> >>>> ​
>> >>>>
>> >>
>> https://drive.google.com/file/d/0ByWGexlJqMwbamFrdEFzQk9XUWM/edit?usp=sharing
>> >>>> ​
>> >>>>
>> >>>> I'm planing to write few more blog posts on the task, I have written
>> few
>> >>>> blog posts can be found in here.
>> >>>> http://ayolajayamaha.blogspot.com
>> >>>>
>> >>>>
>> >>>>
>> >>>> On 11 August 2014 09:22, Ayola Jayamaha <ay...@gmail.com>
>> >> wrote:
>> >>>>
>> >>>>> Hi All,
>> >>>>>
>> >>>>> I have completed most of the project and I'm commiting to my git
>> repo.
>> >> I
>> >>>>> will share the screen shots in a PDF document. All the problems of
>> the
>> >>>>> project has been already successfully tackled.
>> >>>>> Thanks.
>> >>>>>
>> >>>>>
>> >>>>>
>> >>>>> On 2014 අගෝ 4, at පෙ.ව. 4.35, Ayola Jayamaha <
>> >> ayolajayamaha28@gmail.com>
>> >>>>> wrote:
>> >>>>>
>> >>>>> Hi All,
>> >>>>>
>> >>>>> Helix Cluster Manager, Resources Manager and Instances Manager Tabs
>> in
>> >>>>> the Dashboard are updated. Hope the Layout of the dashboard is
>> alright
>> >> with
>> >>>>> you. Shall upload the Screenshots soon.
>> >>>>>
>> >>>>>
>> >>>>> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com>
>> >> wrote:
>> >>>>>
>> >>>>>> Hi Kishore,
>> >>>>>>
>> >>>>>> Thanks for your interest. Any questions or difficulties I 'd be
>> glad
>> >> to
>> >>>>>> answer.
>> >>>>>>
>> >>>>>> Thanks
>> >>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com>
>> wrote:
>> >>>>>>
>> >>>>>> Hi Ayola
>> >>>>>>
>> >>>>>> Thanks for the instructions. I will try out the instructions and
>> give
>> >>>>>> feedback.
>> >>>>>>
>> >>>>>> Thanks
>> >>>>>> Kishore G
>> >>>>>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <
>> ayolajayamaha28@gmail.com>
>> >>>>>> wrote:
>> >>>>>>
>> >>>>>>> Hi All,
>> >>>>>>>
>> >>>>>>> Attached herewith is the Updated User Manual. You can try it with
>> the
>> >>>>>>> git repo https://github.com/ayolajayamaha by getting a clone of
>> >> helix
>> >>>>>>> and hawtio.
>> >>>>>>>
>> >>>>>>> Any questions don't hesitate to ask.
>> >>>>>>>
>> >>>>>>> Thanks
>> >>>>>>>
>> >>>>>>>
>> >>>>>>> On 1 August 2014 12:19, Ayola Jayamaha <ayolajayamaha28@gmail.com
>> >
>> >>>>>>> wrote:
>> >>>>>>>
>> >>>>>>>> Hi All,
>> >>>>>>>>
>> >>>>>>>> I was able to resolve the issue with deploying a plugin with
>> Tomcat.
>> >>>>>>>>
>> >>>>>>>> The solution can be found in my blog post.
>> >>>>>>>>
>> >>>>>>>>
>> >>
>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>> >>>>>>>>
>> >>>>>>>> Thanks.
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> On 31 July 2014 22:30, Ayola Jayamaha <ayolajayamaha28@gmail.com
>> >
>> >>>>>>>> wrote:
>> >>>>>>>>
>> >>>>>>>>> Hi All,
>> >>>>>>>>>
>> >>>>>>>>> Attached herewith is the User Manual. However there is a small
>> >> issue
>> >>>>>>>>> with deploying the plugin(.war file). I'm trying with tomcat,
>> >> fabric8 and
>> >>>>>>>>> also communicating with the hawtio community. By next week this
>> >> problem
>> >>>>>>>>> will surly be resolved. And I will write on blog the necessary.
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> On 27 July 2014 07:03, Ayola Jayamaha <
>> ayolajayamaha28@gmail.com>
>> >>>>>>>>> wrote:
>> >>>>>>>>>
>> >>>>>>>>>> Hi Kanak,
>> >>>>>>>>>>
>> >>>>>>>>>> Ok I will send the user manual to you.
>> >>>>>>>>>>
>> >>>>>>>>>> Sent from my iPhone
>> >>>>>>>>>>
>> >>>>>>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <
>> >>>>>>>>>> kanak.b@hotmail.com> wrote:
>> >>>>>>>>>>
>> >>>>>>>>>>> Hi Ayola,
>> >>>>>>>>>>>
>> >>>>>>>>>>> Could you write a "Getting Started" guide with step-by-step
>> >>>>>>>>>> instructions on how to build and deploy the dashboard? If you
>> >> already have
>> >>>>>>>>>> that, could you send a link?
>> >>>>>>>>>>>
>> >>>>>>>>>>> Thanks,
>> >>>>>>>>>>> Kanak
>> >>>>>>>>>>>
>> >>>>>>>>>>>> Date: Thu, 24 Jul 2014 22:49:32 +0530
>> >>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>> >>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>> >>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Hi All,
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> I was able to resolve the Cross Domain Issue in Helix where
>> it
>> >>>>>>>>>> arises since
>> >>>>>>>>>>>> the Rest API domain differs from the dashboard domain
>> (ports).
>> >>>>>>>>>> Currently it
>> >>>>>>>>>>>> is resolved as to allow all requests from the API. I have
>> >>>>>>>>>> committed to my
>> >>>>>>>>>>>> git repo [1] in which Cluster API is resolved. I will clean
>> the
>> >>>>>>>>>> code and
>> >>>>>>>>>>>> remove any duplicates and resolve the other APIs as well.
>> >>>>>>>>>>>> More information will be found in my blog [2]. Also I'm
>> >> following
>> >>>>>>>>>>>> AngularJS, Angular Directives and Angular Services. These
>> will
>> >> be
>> >>>>>>>>>> helpful
>> >>>>>>>>>>>> to me to write good maintainable code for hawtio dashboard.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> [1]https://github.com/AyolaJayamaha/helix
>> >>>>>>>>>>>> [2]
>> >>>>>>>>>>
>> >>
>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> On 23 July 2014 03:25, Kanak Biscuitwala <
>> kanak.b@hotmail.com>
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>>
>> >>>>>>>>>>>>> In terms of the CORS pattern, I think it's just pattern
>> >> matching
>> >>>>>>>>>> the
>> >>>>>>>>>>>>> origin headers (i.e. Origin with
>> Access-Control-Allow-Origin),
>> >>>>>>>>>> so if you
>> >>>>>>>>>>>>> can make it configurable, that would be good.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> If it simplifies your implementation and resolves the XSS
>> >>>>>>>>>> issues, you can
>> >>>>>>>>>>>>> co-deploy helix-admin-webapp with your dashboard (along with
>> >> any
>> >>>>>>>>>> components
>> >>>>>>>>>>>>> other than helix controller or helix participant). Other
>> than
>> >>>>>>>>>> that, I don't
>> >>>>>>>>>>>>> have any specific suggestions as I'm not an expert in this.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Kanak
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>> >>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>> >>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>> >>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Hi All,
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Currently I'm going through Charting with regard to UI
>> >>>>>>>>>> components. Also
>> >>>>>>>>>>>>> I'm looking where to put the headers to enable CORS. I'm
>> >> writing
>> >>>>>>>>>> a simple
>> >>>>>>>>>>>>> Restlet and removing cross domain issue in that. Any
>> >>>>>>>>>> suggestions? I'm going
>> >>>>>>>>>>>>> through AngularJS and writing some blog posts with regard to
>> >>>>>>>>>> charting and
>> >>>>>>>>>>>>> Restlet.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>> >>>>>>>>>>>>>
>> >> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>
>> >> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>> >>>>>>>>>>>>>
>> >>>>>>>>>>
>> >> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> On 27 June 2014 18:00, Ayola Jayamaha <
>> >> ayolajayamaha28@gmail.com>
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>> I have added theme (css) for plugin screen shoot[2] with
>> >> data[3]
>> >>>>>>>>>> is
>> >>>>>>>>>>>>> attaching.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Clean pom file[4] with setting up properties and
>> dependencies.
>> >>>>>>>>>> later we
>> >>>>>>>>>>>>> can move those parent pom, set the parent pom.This will
>> build
>> >> as
>> >>>>>>>>>> successful
>> >>>>>>>>>>>>> and sample-1.5-SNAPSHOT.war file can be host any web
>> server. (I
>> >>>>>>>>>> am using
>> >>>>>>>>>>>>> tomcat)
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Helix dashboard looks with themes
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Helix dashboard with Helix rest details
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Here I am sharing 'gist' that I used for hawtio dashboard
>> >>>>>>>>>> install[1]
>> >>>>>>>>>>>>> (dashboard json).Now we have initial hawtio plugin for
>> >> Helix[4].
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> If any thing is not clear please let me know
>> >>>>>>>>>>>>> Thanks
>> >>>>>>>>>>>>> [1]
>> https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> [2]
>> >>>>>>>>>>>>>
>> >>>>>>>>>>
>> >>
>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>> >>>>>>>>>>>>>
>> >>>>>>>>>>
>> >>
>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> [4]
>> >>>>>>>>>>
>> >> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> On 26 June 2014 17:02, Ayola Jayamaha <
>> >> ayolajayamaha28@gmail.com>
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> On 26 June 2014 10:07, Ayola Jayamaha <
>> >> ayolajayamaha28@gmail.com>
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> 1. I have updated the Mock UI document as the feedback
>> given by
>> >>>>>>>>>> my mentor.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>
>> >>
>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Is the portal on the document address the needs mentioned?
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> 2. The steps I followed next are the transitions from Mock
>> UI
>> >>>>>>>>>> ---> Static
>> >>>>>>>>>>>>> HTML ----->Angular Module
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>
>> >>
>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>> >>>>>>>>>>>>> The sample UI is not the final version. It would be \
>> improved
>> >>>>>>>>>> graphical
>> >>>>>>>>>>>>> wise in the final versions. The given UI is the structure of
>> >> the
>> >>>>>>>>>> interface
>> >>>>>>>>>>>>> showing all the details that will be given to users.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ​
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ui33.png
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ​​
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ui11.png
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ​​
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ui22.png
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ​​
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ui49.png
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ​​
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ui9.png
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ​
>> >>>>>>>>>>>>> ---> hawtio plugin
>> >>>>>>>>>>>>> ​
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> plugin.png
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ​​
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> js.png
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ​
>> >>>>>>>>>>>>> As you can see in the screenshots you can find the plugin in
>> >>>>>>>>>> github.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>
>> >> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> You can get clone and build the dashboard. But some
>> >>>>>>>>>> configurations in
>> >>>>>>>>>>>>> hawtio dashboard has to be done manually. I plan to
>> automate it
>> >>>>>>>>>> in the
>> >>>>>>>>>>>>> future.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Note:
>> >>>>>>>>>>>>> I used a mock rest service since the Cross Domain Issue. To
>> >>>>>>>>>> enable CORS
>> >>>>>>>>>>>>> we need to add the following headers to the response.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Methods",
>> >>>>>>>>>> "POST,OPTIONS");
>> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Headers",
>> >>>>>>>>>> "Content-Type");
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Credentials",
>> >> "false");
>> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Max-Age", "60");
>> >>>>>>>>>>>>> In building war file, the plugin will be added to .war file.
>> >> But
>> >>>>>>>>>> current
>> >>>>>>>>>>>>> plugin needs to be installed to hawtio manually.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> On 20 June 2014 21:31, Ayola Jayamaha <
>> >> ayolajayamaha28@gmail.com>
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>> Thanks for the comments. I will make necessary changes and
>> >>>>>>>>>> update the
>> >>>>>>>>>>>>> document.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> On 20 June 2014 02:41, Kanak Biscuitwala <
>> kanak.b@hotmail.com>
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Hi Ayola,
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Looks good so far. I have some comments about your mockups:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> 1. Enabling/disabling a cluster and enabling/disabling the
>> >>>>>>>>>> controller are
>> >>>>>>>>>>>>> actually the same thing. What is missing is
>> "activateCluster."
>> >>>>>>>>>>>>> activateCluster is useful when you have a cluster of
>> >>>>>>>>>> controllers, and you
>> >>>>>>>>>>>>> want those controllers to manage other clusters. The
>> controller
>> >>>>>>>>>> cluster is
>> >>>>>>>>>>>>> called the "grand cluster."
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> 2. Resources are added to cluster upon creation and cannot
>> be
>> >>>>>>>>>> moved or
>> >>>>>>>>>>>>> added to other clusters afterwards. Thus, the "add to
>> cluster"
>> >>>>>>>>>> on existing
>> >>>>>>>>>>>>> resources doesn't make sense. The resources screen should
>> allow
>> >>>>>>>>>>>>> enable/disable, read external view, read/write configs and
>> >>>>>>>>>> read/write ideal
>> >>>>>>>>>>>>> state. There should also be an "add resource" button on the
>> >>>>>>>>>> clusters page.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> 3. Same comment for instances. There should be an "add
>> >> instance"
>> >>>>>>>>>> button on
>> >>>>>>>>>>>>> the cluster pages, and on the instance page it should allow
>> >> read
>> >>>>>>>>>> current
>> >>>>>>>>>>>>> state, read messages, read/write configs.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> 4. There's a separate page for all configs, but it may make
>> >>>>>>>>>> sense to
>> >>>>>>>>>>>>> integrate them into the configs at each scope (i.e. cluster,
>> >>>>>>>>>> resource,
>> >>>>>>>>>>>>> participant).
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> 5. There should be a button on the clusters page for adding
>> a
>> >>>>>>>>>> state model
>> >>>>>>>>>>>>> definition.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> I think the overall comment is that the clusters page needs
>> to
>> >>>>>>>>>> be a portal
>> >>>>>>>>>>>>> for the rest of the dashboard, so there should be a link to
>> all
>> >>>>>>>>>> the cluster
>> >>>>>>>>>>>>> pages, and within a cluster page, there should be ways to
>> >> access
>> >>>>>>>>>> all the
>> >>>>>>>>>>>>> resources, instances, configs, and constraints for that
>> >> cluster.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> Kanak
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> ----------------------------------------
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Below is the Mock UIs for Apache Helix. The UIs will be
>> >> created
>> >>>>>>>>>> with
>> >>>>>>>>>>>>> hawtio
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> dashboard. A .war file can be used to deploy on any server
>> as
>> >> a
>> >>>>>>>>>> separate
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> module. The UIs get data from the REST API. This is just
>> >>>>>>>>>> initial one.
>> >>>>>>>>>>>>> They
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> will be developed as Angular plugin. Towards the end I will
>> >>>>>>>>>> provide some
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> chart as well for cluster management.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Presently I'm doing the hawtio and helix integration and
>> >>>>>>>>>> towards next
>> >>>>>>>>>>>>> week
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> I'm writing some angularjs plugins.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>
>> >>
>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Thank you.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>> On 19 June 2014 13:14, Ayola Jayamaha <
>> >>>>>>>>>> ayolajayamaha28@gmail.com> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> On 19 June 2014 01:38, Kanak Biscuitwala <
>> >> kanak.b@hotmail.com>
>> >>>>>>>>>> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> Local deployment is fine.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> Here is the git repo that I will be using, later I will
>> >> share
>> >>>>>>>>>> Git
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> location (Angular plugin) that can be used in dashboard
>> of
>> >>>>>>>>>> hawtio. I
>> >>>>>>>>>>>>> will
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> blog on those as well.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> The main thing we would like you to deliver is the
>> package
>> >> so
>> >>>>>>>>>> that it
>> >>>>>>>>>>>>> is
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> available for anyone to deploy within their own cluster.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> Sure,
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> helix-dashboard[2] module will build
>> >> 'sample-1.5-SNAPSHOT.war'
>> >>>>>>>>>> with
>> >>>>>>>>>>>>> helix
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> dashboard. This war can be host any server (tomcat etc..
>> ) by
>> >>>>>>>>>> anyone
>> >>>>>>>>>>>>> with
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> helix rest web app (own cluster).
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> I just found[1] function 'start()' line 43. I too can
>> follow
>> >>>>>>>>>> that model
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> even.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> Therefore finally you will have web app as
>> >>>>>>>>>> 'helix-admin-webapp' that can
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> be deployed within their own cluster.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> [1]
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>
>> >>
>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> [2]
>> >>>>>>>>>>
>> >> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> Kanak
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> ----------------------------------------
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> To: kanak.b@hotmail.com
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> CC: dev@helix.apache.org
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> Currently I'm creating mock UIs, helix and hawt.io
>> >>>>>>>>>> integration as
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> module
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> and plugins with angularjs in hawtio dashboard.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> Upto now I'm almost created the mock UIs. And in helix
>> and
>> >>>>>>>>>> hawtio
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> integration where should I create the headers to cater
>> for
>> >>>>>>>>>> the cross
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> domain
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> issue and if I'm deploying the .war file where can I
>> deploy
>> >>>>>>>>>> it?
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> For the time being the code is in my local machine. I
>> will
>> >>>>>>>>>> commit to
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> repo
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> tomorrow and share with you. But it is still in initial
>> >>>>>>>>>> phase.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <
>> >>>>>>>>>> kanak.b@hotmail.com> wrote:
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> Sounds reasonable. Is your current code available in a
>> >>>>>>>>>> public
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> repository?
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> I would be interested in taking a look if it is.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> Kanak
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> ________________________________
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> 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<http://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 requiri
>> >>>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> --
>> >>>>>>>>> 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

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi, Kanak

Here I am sharing steps to build and install helix dashboard as screen
cast[1]
Blog post for this[2]

[1] https://www.youtube.com/watch?v=4eyHFlvpmlI&feature=youtu.be
[2] http://ayolajayamaha.blogspot.com/2014/08/building-helix-dashboard.html

Thanks



On 16 August 2014 05:30, Kanak Biscuitwala <ka...@hotmail.com> wrote:

> I don't have any specific documents in mind, but the build steps video
> will be very useful.
>
> ----------------------------------------
> > Date: Fri, 15 Aug 2014 20:33:09 +0530
> > Subject: Re: [GSOC] Current Status
> > From: ayolajayamaha28@gmail.com
> > To: dev@helix.apache.org; kanak.b@hotmail.com
> >
> > Hi All,
> > I will upload some videos on how to build helix dashboard. And write few
> > blog posts. Are there any more documents to be written.
> > Thanks.
> >
> >
> >
> > On 15 August 2014 06:13, Kanak Biscuitwala <ka...@hotmail.com> wrote:
> >
> >> Thanks for making this. It is very useful for understanding and seeing
> the
> >> whole flow.
> >>
> >>> Date: Thu, 14 Aug 2014 17:59:16 +0530
> >>> Subject: Re: [GSOC] Current Status
> >>> From: ayolajayamaha28@gmail.com
> >>> To: kanak.b@hotmail.com
> >>> CC: dev@helix.apache.org
> >>>
> >>> Hi All,
> >>>
> >>> Herewith I'm sending a screencaste of the helix dashboard
> >>> http://youtu.be/teP_Hb7oAgo.
> >>> Thanks.
> >>>
> >>>
> >>> On 11 August 2014 23:30, Ayola Jayamaha <ay...@gmail.com>
> >> wrote:
> >>>
> >>>> Hi All,
> >>>>
> >>>> I have completed dashboard with solving issue that came across. Here
> is
> >> my
> >>>> repo https://github.com/AyolaJayamaha/helix
> >>>>
> >>>> Here I am attaching the document.
> >>>>
> >>>> ​
> >>>>
> >>
> https://drive.google.com/file/d/0ByWGexlJqMwbamFrdEFzQk9XUWM/edit?usp=sharing
> >>>> ​
> >>>>
> >>>> I'm planing to write few more blog posts on the task, I have written
> few
> >>>> blog posts can be found in here.
> >>>> http://ayolajayamaha.blogspot.com
> >>>>
> >>>>
> >>>>
> >>>> On 11 August 2014 09:22, Ayola Jayamaha <ay...@gmail.com>
> >> wrote:
> >>>>
> >>>>> Hi All,
> >>>>>
> >>>>> I have completed most of the project and I'm commiting to my git
> repo.
> >> I
> >>>>> will share the screen shots in a PDF document. All the problems of
> the
> >>>>> project has been already successfully tackled.
> >>>>> Thanks.
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 2014 අගෝ 4, at පෙ.ව. 4.35, Ayola Jayamaha <
> >> ayolajayamaha28@gmail.com>
> >>>>> wrote:
> >>>>>
> >>>>> Hi All,
> >>>>>
> >>>>> Helix Cluster Manager, Resources Manager and Instances Manager Tabs
> in
> >>>>> the Dashboard are updated. Hope the Layout of the dashboard is
> alright
> >> with
> >>>>> you. Shall upload the Screenshots soon.
> >>>>>
> >>>>>
> >>>>> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com>
> >> wrote:
> >>>>>
> >>>>>> Hi Kishore,
> >>>>>>
> >>>>>> Thanks for your interest. Any questions or difficulties I 'd be glad
> >> to
> >>>>>> answer.
> >>>>>>
> >>>>>> Thanks
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com>
> wrote:
> >>>>>>
> >>>>>> Hi Ayola
> >>>>>>
> >>>>>> Thanks for the instructions. I will try out the instructions and
> give
> >>>>>> feedback.
> >>>>>>
> >>>>>> Thanks
> >>>>>> Kishore G
> >>>>>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ayolajayamaha28@gmail.com
> >
> >>>>>> wrote:
> >>>>>>
> >>>>>>> Hi All,
> >>>>>>>
> >>>>>>> Attached herewith is the Updated User Manual. You can try it with
> the
> >>>>>>> git repo https://github.com/ayolajayamaha by getting a clone of
> >> helix
> >>>>>>> and hawtio.
> >>>>>>>
> >>>>>>> Any questions don't hesitate to ask.
> >>>>>>>
> >>>>>>> Thanks
> >>>>>>>
> >>>>>>>
> >>>>>>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> Hi All,
> >>>>>>>>
> >>>>>>>> I was able to resolve the issue with deploying a plugin with
> Tomcat.
> >>>>>>>>
> >>>>>>>> The solution can be found in my blog post.
> >>>>>>>>
> >>>>>>>>
> >>
> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
> >>>>>>>>
> >>>>>>>> Thanks.
> >>>>>>>>
> >>>>>>>>
> >>>>>>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> Hi All,
> >>>>>>>>>
> >>>>>>>>> Attached herewith is the User Manual. However there is a small
> >> issue
> >>>>>>>>> with deploying the plugin(.war file). I'm trying with tomcat,
> >> fabric8 and
> >>>>>>>>> also communicating with the hawtio community. By next week this
> >> problem
> >>>>>>>>> will surly be resolved. And I will write on blog the necessary.
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> On 27 July 2014 07:03, Ayola Jayamaha <ayolajayamaha28@gmail.com
> >
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> Hi Kanak,
> >>>>>>>>>>
> >>>>>>>>>> Ok I will send the user manual to you.
> >>>>>>>>>>
> >>>>>>>>>> Sent from my iPhone
> >>>>>>>>>>
> >>>>>>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <
> >>>>>>>>>> kanak.b@hotmail.com> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> Hi Ayola,
> >>>>>>>>>>>
> >>>>>>>>>>> Could you write a "Getting Started" guide with step-by-step
> >>>>>>>>>> instructions on how to build and deploy the dashboard? If you
> >> already have
> >>>>>>>>>> that, could you send a link?
> >>>>>>>>>>>
> >>>>>>>>>>> Thanks,
> >>>>>>>>>>> Kanak
> >>>>>>>>>>>
> >>>>>>>>>>>> Date: Thu, 24 Jul 2014 22:49:32 +0530
> >>>>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >>>>>>>>>>>>
> >>>>>>>>>>>> Hi All,
> >>>>>>>>>>>>
> >>>>>>>>>>>> I was able to resolve the Cross Domain Issue in Helix where it
> >>>>>>>>>> arises since
> >>>>>>>>>>>> the Rest API domain differs from the dashboard domain (ports).
> >>>>>>>>>> Currently it
> >>>>>>>>>>>> is resolved as to allow all requests from the API. I have
> >>>>>>>>>> committed to my
> >>>>>>>>>>>> git repo [1] in which Cluster API is resolved. I will clean
> the
> >>>>>>>>>> code and
> >>>>>>>>>>>> remove any duplicates and resolve the other APIs as well.
> >>>>>>>>>>>> More information will be found in my blog [2]. Also I'm
> >> following
> >>>>>>>>>>>> AngularJS, Angular Directives and Angular Services. These will
> >> be
> >>>>>>>>>> helpful
> >>>>>>>>>>>> to me to write good maintainable code for hawtio dashboard.
> >>>>>>>>>>>>
> >>>>>>>>>>>> [1]https://github.com/AyolaJayamaha/helix
> >>>>>>>>>>>> [2]
> >>>>>>>>>>
> >>
> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>>>>> On 23 July 2014 03:25, Kanak Biscuitwala <kanak.b@hotmail.com
> >
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>
> >>>>>>>>>>>>> In terms of the CORS pattern, I think it's just pattern
> >> matching
> >>>>>>>>>> the
> >>>>>>>>>>>>> origin headers (i.e. Origin with
> Access-Control-Allow-Origin),
> >>>>>>>>>> so if you
> >>>>>>>>>>>>> can make it configurable, that would be good.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> If it simplifies your implementation and resolves the XSS
> >>>>>>>>>> issues, you can
> >>>>>>>>>>>>> co-deploy helix-admin-webapp with your dashboard (along with
> >> any
> >>>>>>>>>> components
> >>>>>>>>>>>>> other than helix controller or helix participant). Other than
> >>>>>>>>>> that, I don't
> >>>>>>>>>>>>> have any specific suggestions as I'm not an expert in this.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Kanak
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Date: Tue, 22 Jul 2014 08:26:31 +0530
> >>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Hi All,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Currently I'm going through Charting with regard to UI
> >>>>>>>>>> components. Also
> >>>>>>>>>>>>> I'm looking where to put the headers to enable CORS. I'm
> >> writing
> >>>>>>>>>> a simple
> >>>>>>>>>>>>> Restlet and removing cross domain issue in that. Any
> >>>>>>>>>> suggestions? I'm going
> >>>>>>>>>>>>> through AngularJS and writing some blog posts with regard to
> >>>>>>>>>> charting and
> >>>>>>>>>>>>> Restlet.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
> >>>>>>>>>>>>>
> >> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>
> >> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
> >>>>>>>>>>>>>
> >>>>>>>>>>
> >> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On 27 June 2014 18:00, Ayola Jayamaha <
> >> ayolajayamaha28@gmail.com>
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>> I have added theme (css) for plugin screen shoot[2] with
> >> data[3]
> >>>>>>>>>> is
> >>>>>>>>>>>>> attaching.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Clean pom file[4] with setting up properties and
> dependencies.
> >>>>>>>>>> later we
> >>>>>>>>>>>>> can move those parent pom, set the parent pom.This will build
> >> as
> >>>>>>>>>> successful
> >>>>>>>>>>>>> and sample-1.5-SNAPSHOT.war file can be host any web server.
> (I
> >>>>>>>>>> am using
> >>>>>>>>>>>>> tomcat)
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Helix dashboard looks with themes
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Helix dashboard with Helix rest details
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Here I am sharing 'gist' that I used for hawtio dashboard
> >>>>>>>>>> install[1]
> >>>>>>>>>>>>> (dashboard json).Now we have initial hawtio plugin for
> >> Helix[4].
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> If any thing is not clear please let me know
> >>>>>>>>>>>>> Thanks
> >>>>>>>>>>>>> [1]
> https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> [2]
> >>>>>>>>>>>>>
> >>>>>>>>>>
> >>
> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
> >>>>>>>>>>>>>
> >>>>>>>>>>
> >>
> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> [4]
> >>>>>>>>>>
> >> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On 26 June 2014 17:02, Ayola Jayamaha <
> >> ayolajayamaha28@gmail.com>
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On 26 June 2014 10:07, Ayola Jayamaha <
> >> ayolajayamaha28@gmail.com>
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> 1. I have updated the Mock UI document as the feedback given
> by
> >>>>>>>>>> my mentor.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>
> >>
> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Is the portal on the document address the needs mentioned?
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> 2. The steps I followed next are the transitions from Mock UI
> >>>>>>>>>> ---> Static
> >>>>>>>>>>>>> HTML ----->Angular Module
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>
> >>>>>>>>>>
> >> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
> >>>>>>>>>>>>> The sample UI is not the final version. It would be \
> improved
> >>>>>>>>>> graphical
> >>>>>>>>>>>>> wise in the final versions. The given UI is the structure of
> >> the
> >>>>>>>>>> interface
> >>>>>>>>>>>>> showing all the details that will be given to users.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ​
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ui33.png
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ​​
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ui11.png
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ​​
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ui22.png
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ​​
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ui49.png
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ​​
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ui9.png
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ​
> >>>>>>>>>>>>> ---> hawtio plugin
> >>>>>>>>>>>>> ​
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> plugin.png
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ​​
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> js.png
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ​
> >>>>>>>>>>>>> As you can see in the screenshots you can find the plugin in
> >>>>>>>>>> github.
> >>>>>>>>>>>>>
> >>>>>>>>>>
> >> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> You can get clone and build the dashboard. But some
> >>>>>>>>>> configurations in
> >>>>>>>>>>>>> hawtio dashboard has to be done manually. I plan to automate
> it
> >>>>>>>>>> in the
> >>>>>>>>>>>>> future.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Note:
> >>>>>>>>>>>>> I used a mock rest service since the Cross Domain Issue. To
> >>>>>>>>>> enable CORS
> >>>>>>>>>>>>> we need to add the following headers to the response.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Origin", "*");
> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Methods",
> >>>>>>>>>> "POST,OPTIONS");
> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Headers",
> >>>>>>>>>> "Content-Type");
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Credentials",
> >> "false");
> >>>>>>>>>>>>> responseHeaders.add("Access-Control-Max-Age", "60");
> >>>>>>>>>>>>> In building war file, the plugin will be added to .war file.
> >> But
> >>>>>>>>>> current
> >>>>>>>>>>>>> plugin needs to be installed to hawtio manually.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On 20 June 2014 21:31, Ayola Jayamaha <
> >> ayolajayamaha28@gmail.com>
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>> Thanks for the comments. I will make necessary changes and
> >>>>>>>>>> update the
> >>>>>>>>>>>>> document.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> On 20 June 2014 02:41, Kanak Biscuitwala <
> kanak.b@hotmail.com>
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Hi Ayola,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Looks good so far. I have some comments about your mockups:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> 1. Enabling/disabling a cluster and enabling/disabling the
> >>>>>>>>>> controller are
> >>>>>>>>>>>>> actually the same thing. What is missing is
> "activateCluster."
> >>>>>>>>>>>>> activateCluster is useful when you have a cluster of
> >>>>>>>>>> controllers, and you
> >>>>>>>>>>>>> want those controllers to manage other clusters. The
> controller
> >>>>>>>>>> cluster is
> >>>>>>>>>>>>> called the "grand cluster."
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> 2. Resources are added to cluster upon creation and cannot be
> >>>>>>>>>> moved or
> >>>>>>>>>>>>> added to other clusters afterwards. Thus, the "add to
> cluster"
> >>>>>>>>>> on existing
> >>>>>>>>>>>>> resources doesn't make sense. The resources screen should
> allow
> >>>>>>>>>>>>> enable/disable, read external view, read/write configs and
> >>>>>>>>>> read/write ideal
> >>>>>>>>>>>>> state. There should also be an "add resource" button on the
> >>>>>>>>>> clusters page.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> 3. Same comment for instances. There should be an "add
> >> instance"
> >>>>>>>>>> button on
> >>>>>>>>>>>>> the cluster pages, and on the instance page it should allow
> >> read
> >>>>>>>>>> current
> >>>>>>>>>>>>> state, read messages, read/write configs.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> 4. There's a separate page for all configs, but it may make
> >>>>>>>>>> sense to
> >>>>>>>>>>>>> integrate them into the configs at each scope (i.e. cluster,
> >>>>>>>>>> resource,
> >>>>>>>>>>>>> participant).
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> 5. There should be a button on the clusters page for adding a
> >>>>>>>>>> state model
> >>>>>>>>>>>>> definition.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> I think the overall comment is that the clusters page needs
> to
> >>>>>>>>>> be a portal
> >>>>>>>>>>>>> for the rest of the dashboard, so there should be a link to
> all
> >>>>>>>>>> the cluster
> >>>>>>>>>>>>> pages, and within a cluster page, there should be ways to
> >> access
> >>>>>>>>>> all the
> >>>>>>>>>>>>> resources, instances, configs, and constraints for that
> >> cluster.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> Kanak
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>> ----------------------------------------
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Below is the Mock UIs for Apache Helix. The UIs will be
> >> created
> >>>>>>>>>> with
> >>>>>>>>>>>>> hawtio
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> dashboard. A .war file can be used to deploy on any server
> as
> >> a
> >>>>>>>>>> separate
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> module. The UIs get data from the REST API. This is just
> >>>>>>>>>> initial one.
> >>>>>>>>>>>>> They
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> will be developed as Angular plugin. Towards the end I will
> >>>>>>>>>> provide some
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> chart as well for cluster management.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Presently I'm doing the hawtio and helix integration and
> >>>>>>>>>> towards next
> >>>>>>>>>>>>> week
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> I'm writing some angularjs plugins.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>
> >>
> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> Thank you.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>> On 19 June 2014 13:14, Ayola Jayamaha <
> >>>>>>>>>> ayolajayamaha28@gmail.com> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> On 19 June 2014 01:38, Kanak Biscuitwala <
> >> kanak.b@hotmail.com>
> >>>>>>>>>> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Local deployment is fine.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Here is the git repo that I will be using, later I will
> >> share
> >>>>>>>>>> Git
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> location (Angular plugin) that can be used in dashboard of
> >>>>>>>>>> hawtio. I
> >>>>>>>>>>>>> will
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> blog on those as well.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> The main thing we would like you to deliver is the package
> >> so
> >>>>>>>>>> that it
> >>>>>>>>>>>>> is
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> available for anyone to deploy within their own cluster.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Sure,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> helix-dashboard[2] module will build
> >> 'sample-1.5-SNAPSHOT.war'
> >>>>>>>>>> with
> >>>>>>>>>>>>> helix
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> dashboard. This war can be host any server (tomcat etc.. )
> by
> >>>>>>>>>> anyone
> >>>>>>>>>>>>> with
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> helix rest web app (own cluster).
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> I just found[1] function 'start()' line 43. I too can
> follow
> >>>>>>>>>> that model
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> even.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> Therefore finally you will have web app as
> >>>>>>>>>> 'helix-admin-webapp' that can
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> be deployed within their own cluster.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> [1]
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>
> >>
> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>> [2]
> >>>>>>>>>>
> >> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> Kanak
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> ----------------------------------------
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> To: kanak.b@hotmail.com
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> CC: dev@helix.apache.org
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Currently I'm creating mock UIs, helix and hawt.io
> >>>>>>>>>> integration as
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> module
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> and plugins with angularjs in hawtio dashboard.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Upto now I'm almost created the mock UIs. And in helix
> and
> >>>>>>>>>> hawtio
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> integration where should I create the headers to cater
> for
> >>>>>>>>>> the cross
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> domain
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> issue and if I'm deploying the .war file where can I
> deploy
> >>>>>>>>>> it?
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> For the time being the code is in my local machine. I
> will
> >>>>>>>>>> commit to
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> repo
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> tomorrow and share with you. But it is still in initial
> >>>>>>>>>> phase.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <
> >>>>>>>>>> kanak.b@hotmail.com> wrote:
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Sounds reasonable. Is your current code available in a
> >>>>>>>>>> public
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>> repository?
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> I would be interested in taking a look if it is.
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> Kanak
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>> ________________________________
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>
> >>>>>>>>>>>>>>>>>>> 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<http://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 requiri
> >>>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> --
> >>>>>>>>> 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

RE: [GSOC] Current Status

Posted by Kanak Biscuitwala <ka...@hotmail.com>.
I don't have any specific documents in mind, but the build steps video will be very useful.

----------------------------------------
> Date: Fri, 15 Aug 2014 20:33:09 +0530
> Subject: Re: [GSOC] Current Status
> From: ayolajayamaha28@gmail.com
> To: dev@helix.apache.org; kanak.b@hotmail.com
>
> Hi All,
> I will upload some videos on how to build helix dashboard. And write few
> blog posts. Are there any more documents to be written.
> Thanks.
>
>
>
> On 15 August 2014 06:13, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>
>> Thanks for making this. It is very useful for understanding and seeing the
>> whole flow.
>>
>>> Date: Thu, 14 Aug 2014 17:59:16 +0530
>>> Subject: Re: [GSOC] Current Status
>>> From: ayolajayamaha28@gmail.com
>>> To: kanak.b@hotmail.com
>>> CC: dev@helix.apache.org
>>>
>>> Hi All,
>>>
>>> Herewith I'm sending a screencaste of the helix dashboard
>>> http://youtu.be/teP_Hb7oAgo.
>>> Thanks.
>>>
>>>
>>> On 11 August 2014 23:30, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I have completed dashboard with solving issue that came across. Here is
>> my
>>>> repo https://github.com/AyolaJayamaha/helix
>>>>
>>>> Here I am attaching the document.
>>>>
>>>> ​
>>>>
>> https://drive.google.com/file/d/0ByWGexlJqMwbamFrdEFzQk9XUWM/edit?usp=sharing
>>>> ​
>>>>
>>>> I'm planing to write few more blog posts on the task, I have written few
>>>> blog posts can be found in here.
>>>> http://ayolajayamaha.blogspot.com
>>>>
>>>>
>>>>
>>>> On 11 August 2014 09:22, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I have completed most of the project and I'm commiting to my git repo.
>> I
>>>>> will share the screen shots in a PDF document. All the problems of the
>>>>> project has been already successfully tackled.
>>>>> Thanks.
>>>>>
>>>>>
>>>>>
>>>>> On 2014 අගෝ 4, at පෙ.ව. 4.35, Ayola Jayamaha <
>> ayolajayamaha28@gmail.com>
>>>>> wrote:
>>>>>
>>>>> Hi All,
>>>>>
>>>>> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in
>>>>> the Dashboard are updated. Hope the Layout of the dashboard is alright
>> with
>>>>> you. Shall upload the Screenshots soon.
>>>>>
>>>>>
>>>>> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>>>>>
>>>>>> Hi Kishore,
>>>>>>
>>>>>> Thanks for your interest. Any questions or difficulties I 'd be glad
>> to
>>>>>> answer.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
>>>>>>
>>>>>> Hi Ayola
>>>>>>
>>>>>> Thanks for the instructions. I will try out the instructions and give
>>>>>> feedback.
>>>>>>
>>>>>> Thanks
>>>>>> Kishore G
>>>>>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> Attached herewith is the Updated User Manual. You can try it with the
>>>>>>> git repo https://github.com/ayolajayamaha by getting a clone of
>> helix
>>>>>>> and hawtio.
>>>>>>>
>>>>>>> Any questions don't hesitate to ask.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>>
>>>>>>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi All,
>>>>>>>>
>>>>>>>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>>>>>>>
>>>>>>>> The solution can be found in my blog post.
>>>>>>>>
>>>>>>>>
>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>>
>>>>>>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi All,
>>>>>>>>>
>>>>>>>>> Attached herewith is the User Manual. However there is a small
>> issue
>>>>>>>>> with deploying the plugin(.war file). I'm trying with tomcat,
>> fabric8 and
>>>>>>>>> also communicating with the hawtio community. By next week this
>> problem
>>>>>>>>> will surly be resolved. And I will write on blog the necessary.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Kanak,
>>>>>>>>>>
>>>>>>>>>> Ok I will send the user manual to you.
>>>>>>>>>>
>>>>>>>>>> Sent from my iPhone
>>>>>>>>>>
>>>>>>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <
>>>>>>>>>> kanak.b@hotmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Ayola,
>>>>>>>>>>>
>>>>>>>>>>> Could you write a "Getting Started" guide with step-by-step
>>>>>>>>>> instructions on how to build and deploy the dashboard? If you
>> already have
>>>>>>>>>> that, could you send a link?
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Kanak
>>>>>>>>>>>
>>>>>>>>>>>> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>>>>>>>
>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>
>>>>>>>>>>>> I was able to resolve the Cross Domain Issue in Helix where it
>>>>>>>>>> arises since
>>>>>>>>>>>> the Rest API domain differs from the dashboard domain (ports).
>>>>>>>>>> Currently it
>>>>>>>>>>>> is resolved as to allow all requests from the API. I have
>>>>>>>>>> committed to my
>>>>>>>>>>>> git repo [1] in which Cluster API is resolved. I will clean the
>>>>>>>>>> code and
>>>>>>>>>>>> remove any duplicates and resolve the other APIs as well.
>>>>>>>>>>>> More information will be found in my blog [2]. Also I'm
>> following
>>>>>>>>>>>> AngularJS, Angular Directives and Angular Services. These will
>> be
>>>>>>>>>> helpful
>>>>>>>>>>>> to me to write good maintainable code for hawtio dashboard.
>>>>>>>>>>>>
>>>>>>>>>>>> [1]https://github.com/AyolaJayamaha/helix
>>>>>>>>>>>> [2]
>>>>>>>>>>
>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> In terms of the CORS pattern, I think it's just pattern
>> matching
>>>>>>>>>> the
>>>>>>>>>>>>> origin headers (i.e. Origin with Access-Control-Allow-Origin),
>>>>>>>>>> so if you
>>>>>>>>>>>>> can make it configurable, that would be good.
>>>>>>>>>>>>>
>>>>>>>>>>>>> If it simplifies your implementation and resolves the XSS
>>>>>>>>>> issues, you can
>>>>>>>>>>>>> co-deploy helix-admin-webapp with your dashboard (along with
>> any
>>>>>>>>>> components
>>>>>>>>>>>>> other than helix controller or helix participant). Other than
>>>>>>>>>> that, I don't
>>>>>>>>>>>>> have any specific suggestions as I'm not an expert in this.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Kanak
>>>>>>>>>>>>>
>>>>>>>>>>>>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Currently I'm going through Charting with regard to UI
>>>>>>>>>> components. Also
>>>>>>>>>>>>> I'm looking where to put the headers to enable CORS. I'm
>> writing
>>>>>>>>>> a simple
>>>>>>>>>>>>> Restlet and removing cross domain issue in that. Any
>>>>>>>>>> suggestions? I'm going
>>>>>>>>>>>>> through AngularJS and writing some blog posts with regard to
>>>>>>>>>> charting and
>>>>>>>>>>>>> Restlet.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>>>>>>>>>>>>
>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>>>>>>>>>>>>
>>>>>>>>>>
>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 27 June 2014 18:00, Ayola Jayamaha <
>> ayolajayamaha28@gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>> I have added theme (css) for plugin screen shoot[2] with
>> data[3]
>>>>>>>>>> is
>>>>>>>>>>>>> attaching.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Clean pom file[4] with setting up properties and dependencies.
>>>>>>>>>> later we
>>>>>>>>>>>>> can move those parent pom, set the parent pom.This will build
>> as
>>>>>>>>>> successful
>>>>>>>>>>>>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I
>>>>>>>>>> am using
>>>>>>>>>>>>> tomcat)
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Helix dashboard looks with themes
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Helix dashboard with Helix rest details
>>>>>>>>>>>>>
>>>>>>>>>>>>> Here I am sharing 'gist' that I used for hawtio dashboard
>>>>>>>>>> install[1]
>>>>>>>>>>>>> (dashboard json).Now we have initial hawtio plugin for
>> Helix[4].
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> If any thing is not clear please let me know
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>>>>>>>>>>>>
>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>
>>>>>>>>>>
>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>>>>>>>>>>>>
>>>>>>>>>>
>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>>>>>>>>>>>>
>>>>>>>>>>>>> [4]
>>>>>>>>>>
>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 26 June 2014 17:02, Ayola Jayamaha <
>> ayolajayamaha28@gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 26 June 2014 10:07, Ayola Jayamaha <
>> ayolajayamaha28@gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> 1. I have updated the Mock UI document as the feedback given by
>>>>>>>>>> my mentor.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Is the portal on the document address the needs mentioned?
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2. The steps I followed next are the transitions from Mock UI
>>>>>>>>>> ---> Static
>>>>>>>>>>>>> HTML ----->Angular Module
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>
>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>>>>>>>>>>>> The sample UI is not the final version. It would be \ improved
>>>>>>>>>> graphical
>>>>>>>>>>>>> wise in the final versions. The given UI is the structure of
>> the
>>>>>>>>>> interface
>>>>>>>>>>>>> showing all the details that will be given to users.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ​
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ui33.png
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ​​
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ui11.png
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ​​
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ui22.png
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ​​
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ui49.png
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ​​
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ui9.png
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ​
>>>>>>>>>>>>> ---> hawtio plugin
>>>>>>>>>>>>> ​
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> plugin.png
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ​​
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> js.png
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ​
>>>>>>>>>>>>> As you can see in the screenshots you can find the plugin in
>>>>>>>>>> github.
>>>>>>>>>>>>>
>>>>>>>>>>
>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> You can get clone and build the dashboard. But some
>>>>>>>>>> configurations in
>>>>>>>>>>>>> hawtio dashboard has to be done manually. I plan to automate it
>>>>>>>>>> in the
>>>>>>>>>>>>> future.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Note:
>>>>>>>>>>>>> I used a mock rest service since the Cross Domain Issue. To
>>>>>>>>>> enable CORS
>>>>>>>>>>>>> we need to add the following headers to the response.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Methods",
>>>>>>>>>> "POST,OPTIONS");
>>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Headers",
>>>>>>>>>> "Content-Type");
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Credentials",
>> "false");
>>>>>>>>>>>>> responseHeaders.add("Access-Control-Max-Age", "60");
>>>>>>>>>>>>> In building war file, the plugin will be added to .war file.
>> But
>>>>>>>>>> current
>>>>>>>>>>>>> plugin needs to be installed to hawtio manually.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 20 June 2014 21:31, Ayola Jayamaha <
>> ayolajayamaha28@gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>> Thanks for the comments. I will make necessary changes and
>>>>>>>>>> update the
>>>>>>>>>>>>> document.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Ayola,
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Looks good so far. I have some comments about your mockups:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 1. Enabling/disabling a cluster and enabling/disabling the
>>>>>>>>>> controller are
>>>>>>>>>>>>> actually the same thing. What is missing is "activateCluster."
>>>>>>>>>>>>> activateCluster is useful when you have a cluster of
>>>>>>>>>> controllers, and you
>>>>>>>>>>>>> want those controllers to manage other clusters. The controller
>>>>>>>>>> cluster is
>>>>>>>>>>>>> called the "grand cluster."
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2. Resources are added to cluster upon creation and cannot be
>>>>>>>>>> moved or
>>>>>>>>>>>>> added to other clusters afterwards. Thus, the "add to cluster"
>>>>>>>>>> on existing
>>>>>>>>>>>>> resources doesn't make sense. The resources screen should allow
>>>>>>>>>>>>> enable/disable, read external view, read/write configs and
>>>>>>>>>> read/write ideal
>>>>>>>>>>>>> state. There should also be an "add resource" button on the
>>>>>>>>>> clusters page.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 3. Same comment for instances. There should be an "add
>> instance"
>>>>>>>>>> button on
>>>>>>>>>>>>> the cluster pages, and on the instance page it should allow
>> read
>>>>>>>>>> current
>>>>>>>>>>>>> state, read messages, read/write configs.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 4. There's a separate page for all configs, but it may make
>>>>>>>>>> sense to
>>>>>>>>>>>>> integrate them into the configs at each scope (i.e. cluster,
>>>>>>>>>> resource,
>>>>>>>>>>>>> participant).
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 5. There should be a button on the clusters page for adding a
>>>>>>>>>> state model
>>>>>>>>>>>>> definition.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> I think the overall comment is that the clusters page needs to
>>>>>>>>>> be a portal
>>>>>>>>>>>>> for the rest of the dashboard, so there should be a link to all
>>>>>>>>>> the cluster
>>>>>>>>>>>>> pages, and within a cluster page, there should be ways to
>> access
>>>>>>>>>> all the
>>>>>>>>>>>>> resources, instances, configs, and constraints for that
>> cluster.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Kanak
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ----------------------------------------
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>>>>>
>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Below is the Mock UIs for Apache Helix. The UIs will be
>> created
>>>>>>>>>> with
>>>>>>>>>>>>> hawtio
>>>>>>>>>>>>>
>>>>>>>>>>>>>> dashboard. A .war file can be used to deploy on any server as
>> a
>>>>>>>>>> separate
>>>>>>>>>>>>>
>>>>>>>>>>>>>> module. The UIs get data from the REST API. This is just
>>>>>>>>>> initial one.
>>>>>>>>>>>>> They
>>>>>>>>>>>>>
>>>>>>>>>>>>>> will be developed as Angular plugin. Towards the end I will
>>>>>>>>>> provide some
>>>>>>>>>>>>>
>>>>>>>>>>>>>> chart as well for cluster management.
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Presently I'm doing the hawtio and helix integration and
>>>>>>>>>> towards next
>>>>>>>>>>>>> week
>>>>>>>>>>>>>
>>>>>>>>>>>>>> I'm writing some angularjs plugins.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 19 June 2014 13:14, Ayola Jayamaha <
>>>>>>>>>> ayolajayamaha28@gmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 19 June 2014 01:38, Kanak Biscuitwala <
>> kanak.b@hotmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Local deployment is fine.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Here is the git repo that I will be using, later I will
>> share
>>>>>>>>>> Git
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> location (Angular plugin) that can be used in dashboard of
>>>>>>>>>> hawtio. I
>>>>>>>>>>>>> will
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> blog on those as well.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The main thing we would like you to deliver is the package
>> so
>>>>>>>>>> that it
>>>>>>>>>>>>> is
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> available for anyone to deploy within their own cluster.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Sure,
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> helix-dashboard[2] module will build
>> 'sample-1.5-SNAPSHOT.war'
>>>>>>>>>> with
>>>>>>>>>>>>> helix
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> dashboard. This war can be host any server (tomcat etc.. ) by
>>>>>>>>>> anyone
>>>>>>>>>>>>> with
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> helix rest web app (own cluster).
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I just found[1] function 'start()' line 43. I too can follow
>>>>>>>>>> that model
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> even.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Therefore finally you will have web app as
>>>>>>>>>> 'helix-admin-webapp' that can
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> be deployed within their own cluster.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [1]
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>
>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [2]
>>>>>>>>>>
>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Kanak
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ----------------------------------------
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> To: kanak.b@hotmail.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> CC: dev@helix.apache.org
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Currently I'm creating mock UIs, helix and hawt.io
>>>>>>>>>> integration as
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> module
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> and plugins with angularjs in hawtio dashboard.
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Upto now I'm almost created the mock UIs. And in helix and
>>>>>>>>>> hawtio
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> integration where should I create the headers to cater for
>>>>>>>>>> the cross
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> domain
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> issue and if I'm deploying the .war file where can I deploy
>>>>>>>>>> it?
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> For the time being the code is in my local machine. I will
>>>>>>>>>> commit to
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> repo
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> tomorrow and share with you. But it is still in initial
>>>>>>>>>> phase.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <
>>>>>>>>>> kanak.b@hotmail.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Sounds reasonable. Is your current code available in a
>>>>>>>>>> public
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> repository?
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I would be interested in taking a look if it is.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Kanak
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ________________________________
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 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<http://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 requiri
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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
 		 	   		  

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,
I will upload some videos on how to build helix dashboard. And write few
blog posts. Are there any more documents to be written.
Thanks.



On 15 August 2014 06:13, Kanak Biscuitwala <ka...@hotmail.com> wrote:

> Thanks for making this. It is very useful for understanding and seeing the
> whole flow.
>
> > Date: Thu, 14 Aug 2014 17:59:16 +0530
> > Subject: Re: [GSOC] Current Status
> > From: ayolajayamaha28@gmail.com
> > To: kanak.b@hotmail.com
> > CC: dev@helix.apache.org
> >
> > Hi All,
> >
> > Herewith I'm sending a screencaste of the helix dashboard
> > http://youtu.be/teP_Hb7oAgo.
> > Thanks.
> >
> >
> > On 11 August 2014 23:30, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >
> >> Hi All,
> >>
> >> I have completed dashboard with solving issue that came across. Here is
> my
> >> repo https://github.com/AyolaJayamaha/helix
> >>
> >> Here I am attaching the document.
> >>
> >> ​
> >>
> https://drive.google.com/file/d/0ByWGexlJqMwbamFrdEFzQk9XUWM/edit?usp=sharing
> >> ​
> >>
> >> I'm planing to write few more blog posts on the task, I have written few
> >> blog posts can be found in here.
> >> http://ayolajayamaha.blogspot.com
> >>
> >>
> >>
> >> On 11 August 2014 09:22, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >>
> >>> Hi All,
> >>>
> >>> I have completed most of the project and I'm commiting to my git repo.
> I
> >>> will share the screen shots in a PDF document. All the problems of the
> >>> project has been already successfully tackled.
> >>> Thanks.
> >>>
> >>>
> >>>
> >>> On 2014 අගෝ 4, at පෙ.ව. 4.35, Ayola Jayamaha <
> ayolajayamaha28@gmail.com>
> >>> wrote:
> >>>
> >>> Hi All,
> >>>
> >>> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in
> >>> the Dashboard are updated. Hope the Layout of the dashboard is alright
> with
> >>> you. Shall upload the Screenshots soon.
> >>>
> >>>
> >>> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >>>
> >>>> Hi Kishore,
> >>>>
> >>>> Thanks for your interest. Any questions or difficulties I 'd be glad
> to
> >>>> answer.
> >>>>
> >>>> Thanks
> >>>>
> >>>>
> >>>>
> >>>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
> >>>>
> >>>> Hi Ayola
> >>>>
> >>>> Thanks for the instructions. I will try out the instructions and give
> >>>> feedback.
> >>>>
> >>>> Thanks
> >>>> Kishore G
> >>>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
> >>>> wrote:
> >>>>
> >>>>> Hi All,
> >>>>>
> >>>>> Attached herewith is the Updated User Manual. You can try it with the
> >>>>> git repo https://github.com/ayolajayamaha by getting a clone of
> helix
> >>>>> and hawtio.
> >>>>>
> >>>>> Any questions don't hesitate to ask.
> >>>>>
> >>>>> Thanks
> >>>>>
> >>>>>
> >>>>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com>
> >>>>> wrote:
> >>>>>
> >>>>>> Hi All,
> >>>>>>
> >>>>>> I was able to resolve the issue with deploying a plugin with Tomcat.
> >>>>>>
> >>>>>> The solution can be found in my blog post.
> >>>>>>
> >>>>>>
> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
> >>>>>>
> >>>>>> Thanks.
> >>>>>>
> >>>>>>
> >>>>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com>
> >>>>>> wrote:
> >>>>>>
> >>>>>>> Hi All,
> >>>>>>>
> >>>>>>> Attached herewith is the User Manual. However there is a small
> issue
> >>>>>>> with deploying the plugin(.war file). I'm trying with tomcat,
> fabric8 and
> >>>>>>> also communicating with the hawtio community. By next week this
> problem
> >>>>>>> will surly be resolved. And I will write on blog the necessary.
> >>>>>>>
> >>>>>>>
> >>>>>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com>
> >>>>>>> wrote:
> >>>>>>>
> >>>>>>>> Hi Kanak,
> >>>>>>>>
> >>>>>>>> Ok I will send the user manual to you.
> >>>>>>>>
> >>>>>>>> Sent from my iPhone
> >>>>>>>>
> >>>>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <
> >>>>>>>> kanak.b@hotmail.com> wrote:
> >>>>>>>>
> >>>>>>>>> Hi Ayola,
> >>>>>>>>>
> >>>>>>>>> Could you write a "Getting Started" guide with step-by-step
> >>>>>>>> instructions on how to build and deploy the dashboard? If you
> already have
> >>>>>>>> that, could you send a link?
> >>>>>>>>>
> >>>>>>>>> Thanks,
> >>>>>>>>> Kanak
> >>>>>>>>>
> >>>>>>>>>> Date: Thu, 24 Jul 2014 22:49:32 +0530
> >>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >>>>>>>>>>
> >>>>>>>>>> Hi All,
> >>>>>>>>>>
> >>>>>>>>>> I was able to resolve the Cross Domain Issue in Helix where it
> >>>>>>>> arises since
> >>>>>>>>>> the Rest API domain differs from the dashboard domain (ports).
> >>>>>>>> Currently it
> >>>>>>>>>> is resolved as to allow all requests from the API. I have
> >>>>>>>> committed to my
> >>>>>>>>>> git repo [1] in which Cluster API is resolved. I will clean the
> >>>>>>>> code and
> >>>>>>>>>> remove any duplicates and resolve the other APIs as well.
> >>>>>>>>>> More information will be found in my blog [2]. Also I'm
> following
> >>>>>>>>>> AngularJS, Angular Directives and Angular Services. These will
> be
> >>>>>>>> helpful
> >>>>>>>>>> to me to write good maintainable code for hawtio dashboard.
> >>>>>>>>>>
> >>>>>>>>>> [1]https://github.com/AyolaJayamaha/helix
> >>>>>>>>>> [2]
> >>>>>>>>
> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com>
> >>>>>>>> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> In terms of the CORS pattern, I think it's just pattern
> matching
> >>>>>>>> the
> >>>>>>>>>>> origin headers (i.e. Origin with Access-Control-Allow-Origin),
> >>>>>>>> so if you
> >>>>>>>>>>> can make it configurable, that would be good.
> >>>>>>>>>>>
> >>>>>>>>>>> If it simplifies your implementation and resolves the XSS
> >>>>>>>> issues, you can
> >>>>>>>>>>> co-deploy helix-admin-webapp with your dashboard (along with
> any
> >>>>>>>> components
> >>>>>>>>>>> other than helix controller or helix participant). Other than
> >>>>>>>> that, I don't
> >>>>>>>>>>> have any specific suggestions as I'm not an expert in this.
> >>>>>>>>>>>
> >>>>>>>>>>> Kanak
> >>>>>>>>>>>
> >>>>>>>>>>> Date: Tue, 22 Jul 2014 08:26:31 +0530
> >>>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >>>>>>>>>>>
> >>>>>>>>>>> Hi All,
> >>>>>>>>>>>
> >>>>>>>>>>> Currently I'm going through Charting with regard to UI
> >>>>>>>> components. Also
> >>>>>>>>>>> I'm looking where to put the headers to enable CORS. I'm
> writing
> >>>>>>>> a simple
> >>>>>>>>>>> Restlet and removing cross domain issue in that. Any
> >>>>>>>> suggestions? I'm going
> >>>>>>>>>>> through AngularJS and writing some blog posts with regard to
> >>>>>>>> charting and
> >>>>>>>>>>> Restlet.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
> >>>>>>>>>>>
> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>
> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
> >>>>>>>>>>>
> >>>>>>>>
> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On 27 June 2014 18:00, Ayola Jayamaha <
> ayolajayamaha28@gmail.com>
> >>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>> Hi,
> >>>>>>>>>>> I have added theme (css) for plugin screen shoot[2] with
> data[3]
> >>>>>>>> is
> >>>>>>>>>>> attaching.
> >>>>>>>>>>>
> >>>>>>>>>>> Clean pom file[4] with setting up properties and dependencies.
> >>>>>>>> later we
> >>>>>>>>>>> can move those parent pom, set the parent pom.This will build
> as
> >>>>>>>> successful
> >>>>>>>>>>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I
> >>>>>>>> am using
> >>>>>>>>>>> tomcat)
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Helix dashboard looks with themes
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Helix dashboard with Helix rest details
> >>>>>>>>>>>
> >>>>>>>>>>> Here I am sharing 'gist' that I used for hawtio dashboard
> >>>>>>>> install[1]
> >>>>>>>>>>> (dashboard json).Now we have initial hawtio plugin for
> Helix[4].
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> If any thing is not clear please let me know
> >>>>>>>>>>> Thanks
> >>>>>>>>>>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
> >>>>>>>>>>>
> >>>>>>>>>>> [2]
> >>>>>>>>>>>
> >>>>>>>>
> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
> >>>>>>>>>>>
> >>>>>>>>
> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
> >>>>>>>>>>>
> >>>>>>>>>>> [4]
> >>>>>>>>
> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On 26 June 2014 17:02, Ayola Jayamaha <
> ayolajayamaha28@gmail.com>
> >>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On 26 June 2014 10:07, Ayola Jayamaha <
> ayolajayamaha28@gmail.com>
> >>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Hi,
> >>>>>>>>>>>
> >>>>>>>>>>> 1. I have updated the Mock UI document as the feedback given by
> >>>>>>>> my mentor.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>
> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>> Is the portal on the document address the needs mentioned?
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> 2. The steps I followed next are the transitions from Mock UI
> >>>>>>>> ---> Static
> >>>>>>>>>>> HTML ----->Angular Module
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>
> >>>>>>>>
> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
> >>>>>>>>>>> The sample UI is not the final version. It would be \ improved
> >>>>>>>> graphical
> >>>>>>>>>>> wise in the final versions. The given UI is the structure of
> the
> >>>>>>>> interface
> >>>>>>>>>>> showing all the details that will be given to users.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ​
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ui33.png
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ​​
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ui11.png
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ​​
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ui22.png
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ​​
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ui49.png
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ​​
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ui9.png
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ​
> >>>>>>>>>>> ---> hawtio plugin
> >>>>>>>>>>> ​
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> plugin.png
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ​​
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> js.png
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ​
> >>>>>>>>>>> As you can see in the screenshots you can find the plugin in
> >>>>>>>> github.
> >>>>>>>>>>>
> >>>>>>>>
> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> You can get clone and build the dashboard. But some
> >>>>>>>> configurations in
> >>>>>>>>>>> hawtio dashboard has to be done manually. I plan to automate it
> >>>>>>>> in the
> >>>>>>>>>>> future.
> >>>>>>>>>>>
> >>>>>>>>>>> Note:
> >>>>>>>>>>> I used a mock rest service since the Cross Domain Issue. To
> >>>>>>>> enable CORS
> >>>>>>>>>>> we need to add the following headers to the response.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Origin", "*");
> >>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Methods",
> >>>>>>>> "POST,OPTIONS");
> >>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Headers",
> >>>>>>>> "Content-Type");
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Credentials",
> "false");
> >>>>>>>>>>> responseHeaders.add("Access-Control-Max-Age", "60");
> >>>>>>>>>>> In building war file, the plugin will be added to .war file.
> But
> >>>>>>>> current
> >>>>>>>>>>> plugin needs to be installed to hawtio manually.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On 20 June 2014 21:31, Ayola Jayamaha <
> ayolajayamaha28@gmail.com>
> >>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Hi,
> >>>>>>>>>>> Thanks for the comments. I will make necessary changes and
> >>>>>>>> update the
> >>>>>>>>>>> document.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
> >>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Hi Ayola,
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Looks good so far. I have some comments about your mockups:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> 1. Enabling/disabling a cluster and enabling/disabling the
> >>>>>>>> controller are
> >>>>>>>>>>> actually the same thing. What is missing is "activateCluster."
> >>>>>>>>>>> activateCluster is useful when you have a cluster of
> >>>>>>>> controllers, and you
> >>>>>>>>>>> want those controllers to manage other clusters. The controller
> >>>>>>>> cluster is
> >>>>>>>>>>> called the "grand cluster."
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> 2. Resources are added to cluster upon creation and cannot be
> >>>>>>>> moved or
> >>>>>>>>>>> added to other clusters afterwards. Thus, the "add to cluster"
> >>>>>>>> on existing
> >>>>>>>>>>> resources doesn't make sense. The resources screen should allow
> >>>>>>>>>>> enable/disable, read external view, read/write configs and
> >>>>>>>> read/write ideal
> >>>>>>>>>>> state. There should also be an "add resource" button on the
> >>>>>>>> clusters page.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> 3. Same comment for instances. There should be an "add
> instance"
> >>>>>>>> button on
> >>>>>>>>>>> the cluster pages, and on the instance page it should allow
> read
> >>>>>>>> current
> >>>>>>>>>>> state, read messages, read/write configs.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> 4. There's a separate page for all configs, but it may make
> >>>>>>>> sense to
> >>>>>>>>>>> integrate them into the configs at each scope (i.e. cluster,
> >>>>>>>> resource,
> >>>>>>>>>>> participant).
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> 5. There should be a button on the clusters page for adding a
> >>>>>>>> state model
> >>>>>>>>>>> definition.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> I think the overall comment is that the clusters page needs to
> >>>>>>>> be a portal
> >>>>>>>>>>> for the rest of the dashboard, so there should be a link to all
> >>>>>>>> the cluster
> >>>>>>>>>>> pages, and within a cluster page, there should be ways to
> access
> >>>>>>>> all the
> >>>>>>>>>>> resources, instances, configs, and constraints for that
> cluster.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> Kanak
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> ----------------------------------------
> >>>>>>>>>>>
> >>>>>>>>>>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
> >>>>>>>>>>>
> >>>>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>>>
> >>>>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>>>
> >>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>> Hi,
> >>>>>>>>>>>
> >>>>>>>>>>>> Below is the Mock UIs for Apache Helix. The UIs will be
> created
> >>>>>>>> with
> >>>>>>>>>>> hawtio
> >>>>>>>>>>>
> >>>>>>>>>>>> dashboard. A .war file can be used to deploy on any server as
> a
> >>>>>>>> separate
> >>>>>>>>>>>
> >>>>>>>>>>>> module. The UIs get data from the REST API. This is just
> >>>>>>>> initial one.
> >>>>>>>>>>> They
> >>>>>>>>>>>
> >>>>>>>>>>>> will be developed as Angular plugin. Towards the end I will
> >>>>>>>> provide some
> >>>>>>>>>>>
> >>>>>>>>>>>> chart as well for cluster management.
> >>>>>>>>>>>
> >>>>>>>>>>>> Presently I'm doing the hawtio and helix integration and
> >>>>>>>> towards next
> >>>>>>>>>>> week
> >>>>>>>>>>>
> >>>>>>>>>>>> I'm writing some angularjs plugins.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>
> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>> Thank you.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>> On 19 June 2014 13:14, Ayola Jayamaha <
> >>>>>>>> ayolajayamaha28@gmail.com> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>> On 19 June 2014 01:38, Kanak Biscuitwala <
> kanak.b@hotmail.com>
> >>>>>>>> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>> Local deployment is fine.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>> Here is the git repo that I will be using, later I will
> share
> >>>>>>>> Git
> >>>>>>>>>>>
> >>>>>>>>>>>>>> location (Angular plugin) that can be used in dashboard of
> >>>>>>>> hawtio. I
> >>>>>>>>>>> will
> >>>>>>>>>>>
> >>>>>>>>>>>>>> blog on those as well.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>> The main thing we would like you to deliver is the package
> so
> >>>>>>>> that it
> >>>>>>>>>>> is
> >>>>>>>>>>>
> >>>>>>>>>>>>>> available for anyone to deploy within their own cluster.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>> Sure,
> >>>>>>>>>>>
> >>>>>>>>>>>>> helix-dashboard[2] module will build
> 'sample-1.5-SNAPSHOT.war'
> >>>>>>>> with
> >>>>>>>>>>> helix
> >>>>>>>>>>>
> >>>>>>>>>>>>> dashboard. This war can be host any server (tomcat etc.. ) by
> >>>>>>>> anyone
> >>>>>>>>>>> with
> >>>>>>>>>>>
> >>>>>>>>>>>>> helix rest web app (own cluster).
> >>>>>>>>>>>
> >>>>>>>>>>>>> I just found[1] function 'start()' line 43. I too can follow
> >>>>>>>> that model
> >>>>>>>>>>>
> >>>>>>>>>>>>> even.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>> Therefore finally you will have web app as
> >>>>>>>> 'helix-admin-webapp' that can
> >>>>>>>>>>>
> >>>>>>>>>>>>> be deployed within their own cluster.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>> [1]
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>
> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>> [2]
> >>>>>>>>
> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>> Kanak
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>> ----------------------------------------
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> To: kanak.b@hotmail.com
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> CC: dev@helix.apache.org
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> Hi,
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> Currently I'm creating mock UIs, helix and hawt.io
> >>>>>>>> integration as
> >>>>>>>>>>>
> >>>>>>>>>>>>>> module
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> and plugins with angularjs in hawtio dashboard.
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> Upto now I'm almost created the mock UIs. And in helix and
> >>>>>>>> hawtio
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> integration where should I create the headers to cater for
> >>>>>>>> the cross
> >>>>>>>>>>>
> >>>>>>>>>>>>>> domain
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> issue and if I'm deploying the .war file where can I deploy
> >>>>>>>> it?
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> For the time being the code is in my local machine. I will
> >>>>>>>> commit to
> >>>>>>>>>>>
> >>>>>>>>>>>>>> repo
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> tomorrow and share with you. But it is still in initial
> >>>>>>>> phase.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <
> >>>>>>>> kanak.b@hotmail.com> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>>>> Sounds reasonable. Is your current code available in a
> >>>>>>>> public
> >>>>>>>>>>>
> >>>>>>>>>>>>>> repository?
> >>>>>>>>>>>
> >>>>>>>>>>>>>>>> I would be interested in taking a look if it is.
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>>>> Kanak
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>>>> ________________________________
> >>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
> >>>>>>>>>>>
> >>>>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
> >>>>>>>>>>>
> >>>>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
> >>>>>>>>>>>
> >>>>>>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>>>>>>>> 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<http://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 requiri
> >>>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>> --
> >>>>>>> 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

RE: [GSOC] Current Status

Posted by Kanak Biscuitwala <ka...@hotmail.com>.
Thanks for making this. It is very useful for understanding and seeing the whole flow.

> Date: Thu, 14 Aug 2014 17:59:16 +0530
> Subject: Re: [GSOC] Current Status
> From: ayolajayamaha28@gmail.com
> To: kanak.b@hotmail.com
> CC: dev@helix.apache.org
> 
> Hi All,
> 
> Herewith I'm sending a screencaste of the helix dashboard
> http://youtu.be/teP_Hb7oAgo.
> Thanks.
> 
> 
> On 11 August 2014 23:30, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
>> Hi All,
>>
>> I have completed dashboard with solving issue that came across. Here is my
>> repo https://github.com/AyolaJayamaha/helix
>>
>> Here I am attaching the document.
>>
>> ​
>> https://drive.google.com/file/d/0ByWGexlJqMwbamFrdEFzQk9XUWM/edit?usp=sharing
>> ​
>>
>> I'm planing to write few more blog posts on the task, I have written few
>> blog posts can be found in here.
>> http://ayolajayamaha.blogspot.com
>>
>>
>>
>> On 11 August 2014 09:22, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I have completed most of the project and I'm commiting to my git repo. I
>>> will share the screen shots in a PDF document. All the problems of the
>>> project has been already successfully tackled.
>>> Thanks.
>>>
>>>
>>>
>>> On 2014 අගෝ 4, at පෙ.ව. 4.35, Ayola Jayamaha <ay...@gmail.com>
>>> wrote:
>>>
>>> Hi All,
>>>
>>> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in
>>> the Dashboard are updated. Hope the Layout of the dashboard is alright with
>>> you. Shall upload the Screenshots soon.
>>>
>>>
>>> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>
>>>> Hi Kishore,
>>>>
>>>> Thanks for your interest. Any questions or difficulties I 'd be glad to
>>>> answer.
>>>>
>>>> Thanks
>>>>
>>>>
>>>>
>>>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
>>>>
>>>> Hi Ayola
>>>>
>>>> Thanks for the instructions. I will try out the instructions and give
>>>> feedback.
>>>>
>>>> Thanks
>>>> Kishore G
>>>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> Attached herewith is the Updated User Manual. You can try it with the
>>>>> git repo https://github.com/ayolajayamaha by getting a clone of helix
>>>>> and hawtio.
>>>>>
>>>>> Any questions don't hesitate to ask.
>>>>>
>>>>> Thanks
>>>>>
>>>>>
>>>>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>>>>>
>>>>>> The solution can be found in my blog post.
>>>>>>
>>>>>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>>
>>>>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi All,
>>>>>>>
>>>>>>> Attached herewith is the User Manual. However there is a small issue
>>>>>>> with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and
>>>>>>> also communicating with the hawtio community. By next week this problem
>>>>>>> will surly be resolved. And I will write on blog the necessary.
>>>>>>>
>>>>>>>
>>>>>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Kanak,
>>>>>>>>
>>>>>>>> Ok I will send the user manual to you.
>>>>>>>>
>>>>>>>> Sent from my iPhone
>>>>>>>>
>>>>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <
>>>>>>>> kanak.b@hotmail.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Ayola,
>>>>>>>>>
>>>>>>>>> Could you write a "Getting Started" guide with step-by-step
>>>>>>>> instructions on how to build and deploy the dashboard? If you already have
>>>>>>>> that, could you send a link?
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Kanak
>>>>>>>>>
>>>>>>>>>> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>>>>>
>>>>>>>>>> Hi All,
>>>>>>>>>>
>>>>>>>>>> I was able to resolve the Cross Domain Issue in Helix where it
>>>>>>>> arises since
>>>>>>>>>> the Rest API domain differs from the dashboard domain (ports).
>>>>>>>> Currently it
>>>>>>>>>> is resolved as to allow all requests from the API. I have
>>>>>>>> committed to my
>>>>>>>>>> git repo [1] in which Cluster API is resolved. I will clean the
>>>>>>>> code and
>>>>>>>>>> remove any duplicates and resolve the other APIs as well.
>>>>>>>>>> More information will be found in my blog [2]. Also I'm following
>>>>>>>>>> AngularJS, Angular Directives and Angular Services. These will be
>>>>>>>> helpful
>>>>>>>>>> to me to write good maintainable code for hawtio dashboard.
>>>>>>>>>>
>>>>>>>>>> [1]https://github.com/AyolaJayamaha/helix
>>>>>>>>>> [2]
>>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> In terms of the CORS pattern, I think it's just pattern matching
>>>>>>>> the
>>>>>>>>>>> origin headers (i.e. Origin with Access-Control-Allow-Origin),
>>>>>>>> so if you
>>>>>>>>>>> can make it configurable, that would be good.
>>>>>>>>>>>
>>>>>>>>>>> If it simplifies your implementation and resolves the XSS
>>>>>>>> issues, you can
>>>>>>>>>>> co-deploy helix-admin-webapp with your dashboard (along with any
>>>>>>>> components
>>>>>>>>>>> other than helix controller or helix participant). Other than
>>>>>>>> that, I don't
>>>>>>>>>>> have any specific suggestions as I'm not an expert in this.
>>>>>>>>>>>
>>>>>>>>>>> Kanak
>>>>>>>>>>>
>>>>>>>>>>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>>>>>>
>>>>>>>>>>> Hi All,
>>>>>>>>>>>
>>>>>>>>>>> Currently I'm going through Charting with regard to UI
>>>>>>>> components. Also
>>>>>>>>>>> I'm looking where to put the headers to enable CORS. I'm writing
>>>>>>>> a simple
>>>>>>>>>>> Restlet and removing cross domain issue in that. Any
>>>>>>>> suggestions? I'm going
>>>>>>>>>>> through AngularJS and writing some blog posts with regard to
>>>>>>>> charting and
>>>>>>>>>>> Restlet.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>>>>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>>>>>>>>>>
>>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>> I have added theme (css) for plugin screen shoot[2] with data[3]
>>>>>>>> is
>>>>>>>>>>> attaching.
>>>>>>>>>>>
>>>>>>>>>>> Clean pom file[4] with setting up properties and dependencies.
>>>>>>>> later we
>>>>>>>>>>> can move those parent pom, set the parent pom.This will build as
>>>>>>>> successful
>>>>>>>>>>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I
>>>>>>>> am using
>>>>>>>>>>> tomcat)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Helix dashboard looks with themes
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Helix dashboard with Helix rest details
>>>>>>>>>>>
>>>>>>>>>>> Here I am sharing 'gist' that I used for hawtio dashboard
>>>>>>>> install[1]
>>>>>>>>>>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> If any thing is not clear please let me know
>>>>>>>>>>> Thanks
>>>>>>>>>>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>>>>>>>>>>
>>>>>>>>>>> [2]
>>>>>>>>>>>
>>>>>>>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>>>>>>>>>>
>>>>>>>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>>>>>>>>>>
>>>>>>>>>>> [4]
>>>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> 1. I have updated the Mock UI document as the feedback given by
>>>>>>>> my mentor.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Is the portal on the document address the needs mentioned?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 2. The steps I followed next are the transitions from Mock UI
>>>>>>>> ---> Static
>>>>>>>>>>> HTML ----->Angular Module
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>>>>>>>>>> The sample UI is not the final version. It would be \ improved
>>>>>>>> graphical
>>>>>>>>>>> wise in the final versions. The given UI is the structure of the
>>>>>>>> interface
>>>>>>>>>>> showing all the details that will be given to users.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ​
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ui33.png
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ​​
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ui11.png
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ​​
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ui22.png
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ​​
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ui49.png
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ​​
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ui9.png
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ​
>>>>>>>>>>> ---> hawtio plugin
>>>>>>>>>>> ​
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> plugin.png
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ​​
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> js.png
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ​
>>>>>>>>>>> As you can see in the screenshots you can find the plugin in
>>>>>>>> github.
>>>>>>>>>>>
>>>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> You can get clone and build the dashboard. But some
>>>>>>>> configurations in
>>>>>>>>>>> hawtio dashboard has to be done manually. I plan to automate it
>>>>>>>> in the
>>>>>>>>>>> future.
>>>>>>>>>>>
>>>>>>>>>>> Note:
>>>>>>>>>>> I used a mock rest service since the Cross Domain Issue. To
>>>>>>>> enable CORS
>>>>>>>>>>> we need to add the following headers to the response.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Methods",
>>>>>>>> "POST,OPTIONS");
>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Headers",
>>>>>>>> "Content-Type");
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>>>>>>>>>> responseHeaders.add("Access-Control-Max-Age", "60");
>>>>>>>>>>> In building war file, the plugin will be added to .war file. But
>>>>>>>> current
>>>>>>>>>>> plugin needs to be installed to hawtio manually.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>> Thanks for the comments. I will make necessary changes and
>>>>>>>> update the
>>>>>>>>>>> document.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Hi Ayola,
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Looks good so far. I have some comments about your mockups:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 1. Enabling/disabling a cluster and enabling/disabling the
>>>>>>>> controller are
>>>>>>>>>>> actually the same thing. What is missing is "activateCluster."
>>>>>>>>>>> activateCluster is useful when you have a cluster of
>>>>>>>> controllers, and you
>>>>>>>>>>> want those controllers to manage other clusters. The controller
>>>>>>>> cluster is
>>>>>>>>>>> called the "grand cluster."
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 2. Resources are added to cluster upon creation and cannot be
>>>>>>>> moved or
>>>>>>>>>>> added to other clusters afterwards. Thus, the "add to cluster"
>>>>>>>> on existing
>>>>>>>>>>> resources doesn't make sense. The resources screen should allow
>>>>>>>>>>> enable/disable, read external view, read/write configs and
>>>>>>>> read/write ideal
>>>>>>>>>>> state. There should also be an "add resource" button on the
>>>>>>>> clusters page.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 3. Same comment for instances. There should be an "add instance"
>>>>>>>> button on
>>>>>>>>>>> the cluster pages, and on the instance page it should allow read
>>>>>>>> current
>>>>>>>>>>> state, read messages, read/write configs.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 4. There's a separate page for all configs, but it may make
>>>>>>>> sense to
>>>>>>>>>>> integrate them into the configs at each scope (i.e. cluster,
>>>>>>>> resource,
>>>>>>>>>>> participant).
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 5. There should be a button on the clusters page for adding a
>>>>>>>> state model
>>>>>>>>>>> definition.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> I think the overall comment is that the clusters page needs to
>>>>>>>> be a portal
>>>>>>>>>>> for the rest of the dashboard, so there should be a link to all
>>>>>>>> the cluster
>>>>>>>>>>> pages, and within a cluster page, there should be ways to access
>>>>>>>> all the
>>>>>>>>>>> resources, instances, configs, and constraints for that cluster.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Kanak
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ----------------------------------------
>>>>>>>>>>>
>>>>>>>>>>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>>>>>>>>>>
>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>>>
>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>>>
>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>>> Below is the Mock UIs for Apache Helix. The UIs will be created
>>>>>>>> with
>>>>>>>>>>> hawtio
>>>>>>>>>>>
>>>>>>>>>>>> dashboard. A .war file can be used to deploy on any server as a
>>>>>>>> separate
>>>>>>>>>>>
>>>>>>>>>>>> module. The UIs get data from the REST API. This is just
>>>>>>>> initial one.
>>>>>>>>>>> They
>>>>>>>>>>>
>>>>>>>>>>>> will be developed as Angular plugin. Towards the end I will
>>>>>>>> provide some
>>>>>>>>>>>
>>>>>>>>>>>> chart as well for cluster management.
>>>>>>>>>>>
>>>>>>>>>>>> Presently I'm doing the hawtio and helix integration and
>>>>>>>> towards next
>>>>>>>>>>> week
>>>>>>>>>>>
>>>>>>>>>>>> I'm writing some angularjs plugins.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> Thank you.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>> On 19 June 2014 13:14, Ayola Jayamaha <
>>>>>>>> ayolajayamaha28@gmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>> Local deployment is fine.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>> Here is the git repo that I will be using, later I will share
>>>>>>>> Git
>>>>>>>>>>>
>>>>>>>>>>>>>> location (Angular plugin) that can be used in dashboard of
>>>>>>>> hawtio. I
>>>>>>>>>>> will
>>>>>>>>>>>
>>>>>>>>>>>>>> blog on those as well.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>> The main thing we would like you to deliver is the package so
>>>>>>>> that it
>>>>>>>>>>> is
>>>>>>>>>>>
>>>>>>>>>>>>>> available for anyone to deploy within their own cluster.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>> Sure,
>>>>>>>>>>>
>>>>>>>>>>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war'
>>>>>>>> with
>>>>>>>>>>> helix
>>>>>>>>>>>
>>>>>>>>>>>>> dashboard. This war can be host any server (tomcat etc.. ) by
>>>>>>>> anyone
>>>>>>>>>>> with
>>>>>>>>>>>
>>>>>>>>>>>>> helix rest web app (own cluster).
>>>>>>>>>>>
>>>>>>>>>>>>> I just found[1] function 'start()' line 43. I too can follow
>>>>>>>> that model
>>>>>>>>>>>
>>>>>>>>>>>>> even.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>> Therefore finally you will have web app as
>>>>>>>> 'helix-admin-webapp' that can
>>>>>>>>>>>
>>>>>>>>>>>>> be deployed within their own cluster.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>> [1]
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>> [2]
>>>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>> Kanak
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>> ----------------------------------------
>>>>>>>>>>>
>>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>>>>>>>>>>
>>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>>>
>>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>>>
>>>>>>>>>>>>>>> To: kanak.b@hotmail.com
>>>>>>>>>>>
>>>>>>>>>>>>>>> CC: dev@helix.apache.org
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>>>>>> Currently I'm creating mock UIs, helix and hawt.io
>>>>>>>> integration as
>>>>>>>>>>>
>>>>>>>>>>>>>> module
>>>>>>>>>>>
>>>>>>>>>>>>>>> and plugins with angularjs in hawtio dashboard.
>>>>>>>>>>>
>>>>>>>>>>>>>>> Upto now I'm almost created the mock UIs. And in helix and
>>>>>>>> hawtio
>>>>>>>>>>>
>>>>>>>>>>>>>>> integration where should I create the headers to cater for
>>>>>>>> the cross
>>>>>>>>>>>
>>>>>>>>>>>>>> domain
>>>>>>>>>>>
>>>>>>>>>>>>>>> issue and if I'm deploying the .war file where can I deploy
>>>>>>>> it?
>>>>>>>>>>>
>>>>>>>>>>>>>>> For the time being the code is in my local machine. I will
>>>>>>>> commit to
>>>>>>>>>>>
>>>>>>>>>>>>>> repo
>>>>>>>>>>>
>>>>>>>>>>>>>>> tomorrow and share with you. But it is still in initial
>>>>>>>> phase.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <
>>>>>>>> kanak.b@hotmail.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>>>> Sounds reasonable. Is your current code available in a
>>>>>>>> public
>>>>>>>>>>>
>>>>>>>>>>>>>> repository?
>>>>>>>>>>>
>>>>>>>>>>>>>>>> I would be interested in taking a look if it is.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>>>> Kanak
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>>>> ________________________________
>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>>>>>>
>>>>>>>>>>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>>>>>>
>>>>>>>>>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 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<http://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 requiri
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> 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
 		 	   		  

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,

Herewith I'm sending a screencaste of the helix dashboard
http://youtu.be/teP_Hb7oAgo.
Thanks.


On 11 August 2014 23:30, Ayola Jayamaha <ay...@gmail.com> wrote:

> Hi All,
>
> I have completed dashboard with solving issue that came across. Here is my
> repo https://github.com/AyolaJayamaha/helix
>
> Here I am attaching the document.
>
> ​
> https://drive.google.com/file/d/0ByWGexlJqMwbamFrdEFzQk9XUWM/edit?usp=sharing
> ​
>
> I'm  planing to write few more blog posts on the task, I have written few
> blog posts can be found in here.
> http://ayolajayamaha.blogspot.com
>
>
>
> On 11 August 2014 09:22, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>> Hi All,
>>
>> I have completed most of the project and I'm commiting to my git repo. I
>> will share the screen shots in a PDF document. All the problems of the
>> project has been already successfully tackled.
>> Thanks.
>>
>>
>>
>> On 2014 අගෝ 4, at පෙ.ව. 4.35, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>>
>> Hi All,
>>
>> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in
>> the Dashboard are updated. Hope the Layout of the dashboard is alright with
>> you. Shall upload the Screenshots soon.
>>
>>
>> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>>> Hi Kishore,
>>>
>>> Thanks for your interest. Any questions or difficulties I 'd be glad to
>>> answer.
>>>
>>> Thanks
>>>
>>>
>>>
>>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
>>>
>>> Hi Ayola
>>>
>>> Thanks for the instructions. I will try out the instructions and give
>>> feedback.
>>>
>>> Thanks
>>> Kishore G
>>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> Attached herewith is the Updated User Manual. You can try it with the
>>>> git repo https://github.com/ayolajayamaha by getting a clone of helix
>>>> and hawtio.
>>>>
>>>> Any questions don't hesitate to ask.
>>>>
>>>> Thanks
>>>>
>>>>
>>>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>>>>
>>>>> The solution can be found in my blog post.
>>>>>
>>>>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> Attached herewith is the User Manual. However there is a small issue
>>>>>> with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and
>>>>>> also communicating with the hawtio community. By next week this problem
>>>>>> will surly be resolved. And I will write on blog the necessary.
>>>>>>
>>>>>>
>>>>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Kanak,
>>>>>>>
>>>>>>> Ok I will send the user manual to you.
>>>>>>>
>>>>>>> Sent from my iPhone
>>>>>>>
>>>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <
>>>>>>> kanak.b@hotmail.com> wrote:
>>>>>>>
>>>>>>> > Hi Ayola,
>>>>>>> >
>>>>>>> > Could you write a "Getting Started" guide with step-by-step
>>>>>>> instructions on how to build and deploy the dashboard? If you already have
>>>>>>> that, could you send a link?
>>>>>>> >
>>>>>>> > Thanks,
>>>>>>> > Kanak
>>>>>>> >
>>>>>>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>>>>>> >> Subject: Re: [GSOC] Current Status
>>>>>>> >> From: ayolajayamaha28@gmail.com
>>>>>>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>> >>
>>>>>>> >> Hi All,
>>>>>>> >>
>>>>>>> >> I was able to resolve the Cross Domain Issue in Helix where it
>>>>>>> arises since
>>>>>>> >> the Rest API domain differs from the dashboard domain (ports).
>>>>>>> Currently it
>>>>>>> >> is resolved as to allow all requests from the API. I have
>>>>>>> committed to my
>>>>>>> >> git repo [1] in which Cluster API is resolved. I will clean the
>>>>>>> code and
>>>>>>> >> remove any duplicates and resolve the other APIs as well.
>>>>>>> >> More information will be found in my blog [2]. Also I'm following
>>>>>>> >> AngularJS, Angular Directives and Angular Services. These will be
>>>>>>> helpful
>>>>>>> >> to me to write good maintainable code for hawtio dashboard.
>>>>>>> >>
>>>>>>> >> [1]https://github.com/AyolaJayamaha/helix
>>>>>>> >> [2]
>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>>>>>> >>
>>>>>>> >>
>>>>>>> >>
>>>>>>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>>> wrote:
>>>>>>> >>
>>>>>>> >>> In terms of the CORS pattern, I think it's just pattern matching
>>>>>>> the
>>>>>>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin),
>>>>>>> so if you
>>>>>>> >>> can make it configurable, that would be good.
>>>>>>> >>>
>>>>>>> >>> If it simplifies your implementation and resolves the XSS
>>>>>>> issues, you can
>>>>>>> >>> co-deploy helix-admin-webapp with your dashboard (along with any
>>>>>>> components
>>>>>>> >>> other than helix controller or helix participant). Other than
>>>>>>> that, I don't
>>>>>>> >>> have any specific suggestions as I'm not an expert in this.
>>>>>>> >>>
>>>>>>> >>> Kanak
>>>>>>> >>>
>>>>>>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>>>>>> >>> Subject: Re: [GSOC] Current Status
>>>>>>> >>> From: ayolajayamaha28@gmail.com
>>>>>>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>> >>>
>>>>>>> >>> Hi All,
>>>>>>> >>>
>>>>>>> >>> Currently I'm going through Charting with regard to UI
>>>>>>> components. Also
>>>>>>> >>> I'm looking where to put the headers to enable CORS. I'm writing
>>>>>>> a simple
>>>>>>> >>> Restlet and removing cross domain issue in that. Any
>>>>>>> suggestions? I'm going
>>>>>>> >>> through AngularJS and writing some blog posts with regard to
>>>>>>> charting and
>>>>>>> >>> Restlet.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>>>>>> >>>
>>>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
>>>>>>> wrote:
>>>>>>> >>>
>>>>>>> >>> Hi,
>>>>>>> >>> I have added theme (css) for plugin screen shoot[2] with data[3]
>>>>>>> is
>>>>>>> >>> attaching.
>>>>>>> >>>
>>>>>>> >>> Clean pom file[4] with setting up properties and dependencies.
>>>>>>> later we
>>>>>>> >>> can move those parent pom, set the parent pom.This will build as
>>>>>>> successful
>>>>>>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I
>>>>>>> am using
>>>>>>> >>> tomcat)
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Helix dashboard looks with themes
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Helix dashboard with Helix rest details
>>>>>>> >>>
>>>>>>> >>> Here I am sharing 'gist' that I used for hawtio dashboard
>>>>>>> install[1]
>>>>>>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> If any thing is not clear please let me know
>>>>>>> >>> Thanks
>>>>>>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>>>>>> >>>
>>>>>>> >>> [2]
>>>>>>> >>>
>>>>>>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>>>>>> >>>
>>>>>>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>>>>>> >>>
>>>>>>> >>> [4]
>>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
>>>>>>> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
>>>>>>> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Hi,
>>>>>>> >>>
>>>>>>> >>> 1. I have updated the Mock UI document as the feedback given by
>>>>>>> my mentor.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>> Is the portal on the document address the needs mentioned?
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 2. The steps I followed next are the transitions from Mock UI
>>>>>>> ---> Static
>>>>>>> >>> HTML ----->Angular Module
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>
>>>>>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>>>>>> >>> The sample UI is not the final version. It would be \ improved
>>>>>>> graphical
>>>>>>> >>> wise in the final versions. The given UI is the structure of the
>>>>>>> interface
>>>>>>> >>> showing all the details that will be given to users.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui33.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui11.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui22.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui49.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui9.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​
>>>>>>> >>> ---> hawtio plugin
>>>>>>> >>> ​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> plugin.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> js.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​
>>>>>>> >>> As you can see in the screenshots you can find the plugin in
>>>>>>> github.
>>>>>>> >>>
>>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> You can get clone and build the dashboard. But some
>>>>>>> configurations in
>>>>>>> >>> hawtio dashboard has to be done manually. I plan to automate it
>>>>>>> in the
>>>>>>> >>> future.
>>>>>>> >>>
>>>>>>> >>> Note:
>>>>>>> >>> I used a mock rest service since the Cross Domain Issue. To
>>>>>>> enable CORS
>>>>>>> >>> we need to add the following headers to the response.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>>>>>> >>> responseHeaders.add("Access-Control-Allow-Methods",
>>>>>>> "POST,OPTIONS");
>>>>>>> >>> responseHeaders.add("Access-Control-Allow-Headers",
>>>>>>> "Content-Type");
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>>>>>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>>>>>>> >>> In building war file, the plugin will be added to .war file. But
>>>>>>> current
>>>>>>> >>> plugin needs to be installed to hawtio manually.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
>>>>>>> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Hi,
>>>>>>> >>> Thanks for the comments. I will make necessary changes and
>>>>>>> update the
>>>>>>> >>> document.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>>> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Hi Ayola,
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Looks good so far. I have some comments about your mockups:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 1. Enabling/disabling a cluster and enabling/disabling the
>>>>>>> controller are
>>>>>>> >>> actually the same thing. What is missing is "activateCluster."
>>>>>>> >>> activateCluster is useful when you have a cluster of
>>>>>>> controllers, and you
>>>>>>> >>> want those controllers to manage other clusters. The controller
>>>>>>> cluster is
>>>>>>> >>> called the "grand cluster."
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 2. Resources are added to cluster upon creation and cannot be
>>>>>>> moved or
>>>>>>> >>> added to other clusters afterwards. Thus, the "add to cluster"
>>>>>>> on existing
>>>>>>> >>> resources doesn't make sense. The resources screen should allow
>>>>>>> >>> enable/disable, read external view, read/write configs and
>>>>>>> read/write ideal
>>>>>>> >>> state. There should also be an "add resource" button on the
>>>>>>> clusters page.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 3. Same comment for instances. There should be an "add instance"
>>>>>>> button on
>>>>>>> >>> the cluster pages, and on the instance page it should allow read
>>>>>>> current
>>>>>>> >>> state, read messages, read/write configs.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 4. There's a separate page for all configs, but it may make
>>>>>>> sense to
>>>>>>> >>> integrate them into the configs at each scope (i.e. cluster,
>>>>>>> resource,
>>>>>>> >>> participant).
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 5. There should be a button on the clusters page for adding a
>>>>>>> state model
>>>>>>> >>> definition.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> I think the overall comment is that the clusters page needs to
>>>>>>> be a portal
>>>>>>> >>> for the rest of the dashboard, so there should be a link to all
>>>>>>> the cluster
>>>>>>> >>> pages, and within a cluster page, there should be ways to access
>>>>>>> all the
>>>>>>> >>> resources, instances, configs, and constraints for that cluster.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Kanak
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ----------------------------------------
>>>>>>> >>>
>>>>>>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>>>>>> >>>
>>>>>>> >>>> Subject: Re: [GSOC] Current Status
>>>>>>> >>>
>>>>>>> >>>> From: ayolajayamaha28@gmail.com
>>>>>>> >>>
>>>>>>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>> Hi,
>>>>>>> >>>
>>>>>>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created
>>>>>>> with
>>>>>>> >>> hawtio
>>>>>>> >>>
>>>>>>> >>>> dashboard. A .war file can be used to deploy on any server as a
>>>>>>> separate
>>>>>>> >>>
>>>>>>> >>>> module. The UIs get data from the REST API. This is just
>>>>>>> initial one.
>>>>>>> >>> They
>>>>>>> >>>
>>>>>>> >>>> will be developed as Angular plugin. Towards the end I will
>>>>>>> provide some
>>>>>>> >>>
>>>>>>> >>>> chart as well for cluster management.
>>>>>>> >>>
>>>>>>> >>>> Presently I'm doing the hawtio and helix integration and
>>>>>>> towards next
>>>>>>> >>> week
>>>>>>> >>>
>>>>>>> >>>> I'm writing some angularjs plugins.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>> Thank you.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <
>>>>>>> ayolajayamaha28@gmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>>> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> Local deployment is fine.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> Here is the git repo that I will be using, later I will share
>>>>>>> Git
>>>>>>> >>>
>>>>>>> >>>>>> location (Angular plugin) that can be used in dashboard of
>>>>>>> hawtio. I
>>>>>>> >>> will
>>>>>>> >>>
>>>>>>> >>>>>> blog on those as well.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> The main thing we would like you to deliver is the package so
>>>>>>> that it
>>>>>>> >>> is
>>>>>>> >>>
>>>>>>> >>>>>> available for anyone to deploy within their own cluster.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> Sure,
>>>>>>> >>>
>>>>>>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war'
>>>>>>> with
>>>>>>> >>> helix
>>>>>>> >>>
>>>>>>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by
>>>>>>> anyone
>>>>>>> >>> with
>>>>>>> >>>
>>>>>>> >>>>> helix rest web app (own cluster).
>>>>>>> >>>
>>>>>>> >>>>> I just found[1] function 'start()' line 43. I too can follow
>>>>>>> that model
>>>>>>> >>>
>>>>>>> >>>>> even.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> Therefore finally you will have web app as
>>>>>>> 'helix-admin-webapp' that can
>>>>>>> >>>
>>>>>>> >>>>> be deployed within their own cluster.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> [1]
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> [2]
>>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> Kanak
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> ----------------------------------------
>>>>>>> >>>
>>>>>>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>>>>>> >>>
>>>>>>> >>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>> >>>
>>>>>>> >>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>> >>>
>>>>>>> >>>>>>> To: kanak.b@hotmail.com
>>>>>>> >>>
>>>>>>> >>>>>>> CC: dev@helix.apache.org
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>> Hi,
>>>>>>> >>>
>>>>>>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io
>>>>>>> integration as
>>>>>>> >>>
>>>>>>> >>>>>> module
>>>>>>> >>>
>>>>>>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>>>>>>> >>>
>>>>>>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and
>>>>>>> hawtio
>>>>>>> >>>
>>>>>>> >>>>>>> integration where should I create the headers to cater for
>>>>>>> the cross
>>>>>>> >>>
>>>>>>> >>>>>> domain
>>>>>>> >>>
>>>>>>> >>>>>>> issue and if I'm deploying the .war file where can I deploy
>>>>>>> it?
>>>>>>> >>>
>>>>>>> >>>>>>> For the time being the code is in my local machine. I will
>>>>>>> commit to
>>>>>>> >>>
>>>>>>> >>>>>> repo
>>>>>>> >>>
>>>>>>> >>>>>>> tomorrow and share with you. But it is still in initial
>>>>>>> phase.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <
>>>>>>> kanak.b@hotmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>>> Sounds reasonable. Is your current code available in a
>>>>>>> public
>>>>>>> >>>
>>>>>>> >>>>>> repository?
>>>>>>> >>>
>>>>>>> >>>>>>>> I would be interested in taking a look if it is.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>>> Kanak
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>>> ________________________________
>>>>>>> >>>
>>>>>>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>>>>>> >>>
>>>>>>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>> >>>
>>>>>>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>> >>>
>>>>>>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>>>> 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<http://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 requiri
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,

I have completed dashboard with solving issue that came across. Here is my
repo https://github.com/AyolaJayamaha/helix

Here I am attaching the document.

​
https://drive.google.com/file/d/0ByWGexlJqMwbamFrdEFzQk9XUWM/edit?usp=sharing
​

I'm  planing to write few more blog posts on the task, I have written few
blog posts can be found in here.
http://ayolajayamaha.blogspot.com



On 11 August 2014 09:22, Ayola Jayamaha <ay...@gmail.com> wrote:

> Hi All,
>
> I have completed most of the project and I'm commiting to my git repo. I
> will share the screen shots in a PDF document. All the problems of the
> project has been already successfully tackled.
> Thanks.
>
>
>
> On 2014 අගෝ 4, at පෙ.ව. 4.35, Ayola Jayamaha <ay...@gmail.com>
> wrote:
>
> Hi All,
>
> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in the
> Dashboard are updated. Hope the Layout of the dashboard is alright with
> you. Shall upload the Screenshots soon.
>
>
> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>> Hi Kishore,
>>
>> Thanks for your interest. Any questions or difficulties I 'd be glad to
>> answer.
>>
>> Thanks
>>
>>
>>
>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
>>
>> Hi Ayola
>>
>> Thanks for the instructions. I will try out the instructions and give
>> feedback.
>>
>> Thanks
>> Kishore G
>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> Attached herewith is the Updated User Manual. You can try it with the
>>> git repo https://github.com/ayolajayamaha by getting a clone of helix
>>> and hawtio.
>>>
>>> Any questions don't hesitate to ask.
>>>
>>> Thanks
>>>
>>>
>>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>>>
>>>> The solution can be found in my blog post.
>>>>
>>>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> Attached herewith is the User Manual. However there is a small issue
>>>>> with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and
>>>>> also communicating with the hawtio community. By next week this problem
>>>>> will surly be resolved. And I will write on blog the necessary.
>>>>>
>>>>>
>>>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Kanak,
>>>>>>
>>>>>> Ok I will send the user manual to you.
>>>>>>
>>>>>> Sent from my iPhone
>>>>>>
>>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <
>>>>>> kanak.b@hotmail.com> wrote:
>>>>>>
>>>>>> > Hi Ayola,
>>>>>> >
>>>>>> > Could you write a "Getting Started" guide with step-by-step
>>>>>> instructions on how to build and deploy the dashboard? If you already have
>>>>>> that, could you send a link?
>>>>>> >
>>>>>> > Thanks,
>>>>>> > Kanak
>>>>>> >
>>>>>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>>>>> >> Subject: Re: [GSOC] Current Status
>>>>>> >> From: ayolajayamaha28@gmail.com
>>>>>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>> >>
>>>>>> >> Hi All,
>>>>>> >>
>>>>>> >> I was able to resolve the Cross Domain Issue in Helix where it
>>>>>> arises since
>>>>>> >> the Rest API domain differs from the dashboard domain (ports).
>>>>>> Currently it
>>>>>> >> is resolved as to allow all requests from the API. I have
>>>>>> committed to my
>>>>>> >> git repo [1] in which Cluster API is resolved. I will clean the
>>>>>> code and
>>>>>> >> remove any duplicates and resolve the other APIs as well.
>>>>>> >> More information will be found in my blog [2]. Also I'm following
>>>>>> >> AngularJS, Angular Directives and Angular Services. These will be
>>>>>> helpful
>>>>>> >> to me to write good maintainable code for hawtio dashboard.
>>>>>> >>
>>>>>> >> [1]https://github.com/AyolaJayamaha/helix
>>>>>> >> [2]
>>>>>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>> wrote:
>>>>>> >>
>>>>>> >>> In terms of the CORS pattern, I think it's just pattern matching
>>>>>> the
>>>>>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so
>>>>>> if you
>>>>>> >>> can make it configurable, that would be good.
>>>>>> >>>
>>>>>> >>> If it simplifies your implementation and resolves the XSS issues,
>>>>>> you can
>>>>>> >>> co-deploy helix-admin-webapp with your dashboard (along with any
>>>>>> components
>>>>>> >>> other than helix controller or helix participant). Other than
>>>>>> that, I don't
>>>>>> >>> have any specific suggestions as I'm not an expert in this.
>>>>>> >>>
>>>>>> >>> Kanak
>>>>>> >>>
>>>>>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>>>>> >>> Subject: Re: [GSOC] Current Status
>>>>>> >>> From: ayolajayamaha28@gmail.com
>>>>>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>> >>>
>>>>>> >>> Hi All,
>>>>>> >>>
>>>>>> >>> Currently I'm going through Charting with regard to UI
>>>>>> components. Also
>>>>>> >>> I'm looking where to put the headers to enable CORS. I'm writing
>>>>>> a simple
>>>>>> >>> Restlet and removing cross domain issue in that. Any suggestions?
>>>>>> I'm going
>>>>>> >>> through AngularJS and writing some blog posts with regard to
>>>>>> charting and
>>>>>> >>> Restlet.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>>>>> >>>
>>>>>> >>>
>>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>>>>> >>>
>>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>> Hi,
>>>>>> >>> I have added theme (css) for plugin screen shoot[2] with data[3]
>>>>>> is
>>>>>> >>> attaching.
>>>>>> >>>
>>>>>> >>> Clean pom file[4] with setting up properties and dependencies.
>>>>>> later we
>>>>>> >>> can move those parent pom, set the parent pom.This will build as
>>>>>> successful
>>>>>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I
>>>>>> am using
>>>>>> >>> tomcat)
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Helix dashboard looks with themes
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Helix dashboard with Helix rest details
>>>>>> >>>
>>>>>> >>> Here I am sharing 'gist' that I used for hawtio dashboard
>>>>>> install[1]
>>>>>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> If any thing is not clear please let me know
>>>>>> >>> Thanks
>>>>>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>>>>> >>>
>>>>>> >>> [2]
>>>>>> >>>
>>>>>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>>>>> >>>
>>>>>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>>>>> >>>
>>>>>> >>> [4]
>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Hi,
>>>>>> >>>
>>>>>> >>> 1. I have updated the Mock UI document as the feedback given by
>>>>>> my mentor.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>> Is the portal on the document address the needs mentioned?
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 2. The steps I followed next are the transitions from Mock UI
>>>>>> ---> Static
>>>>>> >>> HTML ----->Angular Module
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>
>>>>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>>>>> >>> The sample UI is not the final version. It would be \ improved
>>>>>> graphical
>>>>>> >>> wise in the final versions. The given UI is the structure of the
>>>>>> interface
>>>>>> >>> showing all the details that will be given to users.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui33.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui11.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui22.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui49.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui9.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​
>>>>>> >>> ---> hawtio plugin
>>>>>> >>> ​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> plugin.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> js.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​
>>>>>> >>> As you can see in the screenshots you can find the plugin in
>>>>>> github.
>>>>>> >>>
>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> You can get clone and build the dashboard. But some
>>>>>> configurations in
>>>>>> >>> hawtio dashboard has to be done manually. I plan to automate it
>>>>>> in the
>>>>>> >>> future.
>>>>>> >>>
>>>>>> >>> Note:
>>>>>> >>> I used a mock rest service since the Cross Domain Issue. To
>>>>>> enable CORS
>>>>>> >>> we need to add the following headers to the response.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>>>>> >>> responseHeaders.add("Access-Control-Allow-Methods",
>>>>>> "POST,OPTIONS");
>>>>>> >>> responseHeaders.add("Access-Control-Allow-Headers",
>>>>>> "Content-Type");
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>>>>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>>>>>> >>> In building war file, the plugin will be added to .war file. But
>>>>>> current
>>>>>> >>> plugin needs to be installed to hawtio manually.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Hi,
>>>>>> >>> Thanks for the comments. I will make necessary changes and update
>>>>>> the
>>>>>> >>> document.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Hi Ayola,
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Looks good so far. I have some comments about your mockups:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 1. Enabling/disabling a cluster and enabling/disabling the
>>>>>> controller are
>>>>>> >>> actually the same thing. What is missing is "activateCluster."
>>>>>> >>> activateCluster is useful when you have a cluster of controllers,
>>>>>> and you
>>>>>> >>> want those controllers to manage other clusters. The controller
>>>>>> cluster is
>>>>>> >>> called the "grand cluster."
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 2. Resources are added to cluster upon creation and cannot be
>>>>>> moved or
>>>>>> >>> added to other clusters afterwards. Thus, the "add to cluster" on
>>>>>> existing
>>>>>> >>> resources doesn't make sense. The resources screen should allow
>>>>>> >>> enable/disable, read external view, read/write configs and
>>>>>> read/write ideal
>>>>>> >>> state. There should also be an "add resource" button on the
>>>>>> clusters page.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 3. Same comment for instances. There should be an "add instance"
>>>>>> button on
>>>>>> >>> the cluster pages, and on the instance page it should allow read
>>>>>> current
>>>>>> >>> state, read messages, read/write configs.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 4. There's a separate page for all configs, but it may make sense
>>>>>> to
>>>>>> >>> integrate them into the configs at each scope (i.e. cluster,
>>>>>> resource,
>>>>>> >>> participant).
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 5. There should be a button on the clusters page for adding a
>>>>>> state model
>>>>>> >>> definition.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> I think the overall comment is that the clusters page needs to be
>>>>>> a portal
>>>>>> >>> for the rest of the dashboard, so there should be a link to all
>>>>>> the cluster
>>>>>> >>> pages, and within a cluster page, there should be ways to access
>>>>>> all the
>>>>>> >>> resources, instances, configs, and constraints for that cluster.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Kanak
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ----------------------------------------
>>>>>> >>>
>>>>>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>>>>> >>>
>>>>>> >>>> Subject: Re: [GSOC] Current Status
>>>>>> >>>
>>>>>> >>>> From: ayolajayamaha28@gmail.com
>>>>>> >>>
>>>>>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>> Hi,
>>>>>> >>>
>>>>>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created
>>>>>> with
>>>>>> >>> hawtio
>>>>>> >>>
>>>>>> >>>> dashboard. A .war file can be used to deploy on any server as a
>>>>>> separate
>>>>>> >>>
>>>>>> >>>> module. The UIs get data from the REST API. This is just initial
>>>>>> one.
>>>>>> >>> They
>>>>>> >>>
>>>>>> >>>> will be developed as Angular plugin. Towards the end I will
>>>>>> provide some
>>>>>> >>>
>>>>>> >>>> chart as well for cluster management.
>>>>>> >>>
>>>>>> >>>> Presently I'm doing the hawtio and helix integration and towards
>>>>>> next
>>>>>> >>> week
>>>>>> >>>
>>>>>> >>>> I'm writing some angularjs plugins.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>> Thank you.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> Local deployment is fine.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> Here is the git repo that I will be using, later I will share
>>>>>> Git
>>>>>> >>>
>>>>>> >>>>>> location (Angular plugin) that can be used in dashboard of
>>>>>> hawtio. I
>>>>>> >>> will
>>>>>> >>>
>>>>>> >>>>>> blog on those as well.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> The main thing we would like you to deliver is the package so
>>>>>> that it
>>>>>> >>> is
>>>>>> >>>
>>>>>> >>>>>> available for anyone to deploy within their own cluster.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> Sure,
>>>>>> >>>
>>>>>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war'
>>>>>> with
>>>>>> >>> helix
>>>>>> >>>
>>>>>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by
>>>>>> anyone
>>>>>> >>> with
>>>>>> >>>
>>>>>> >>>>> helix rest web app (own cluster).
>>>>>> >>>
>>>>>> >>>>> I just found[1] function 'start()' line 43. I too can follow
>>>>>> that model
>>>>>> >>>
>>>>>> >>>>> even.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> Therefore finally you will have web app as 'helix-admin-webapp'
>>>>>> that can
>>>>>> >>>
>>>>>> >>>>> be deployed within their own cluster.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> [1]
>>>>>> >>>
>>>>>> >>>
>>>>>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> [2]
>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> Kanak
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> ----------------------------------------
>>>>>> >>>
>>>>>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>>>>> >>>
>>>>>> >>>>>>> Subject: Re: [GSOC] Current Status
>>>>>> >>>
>>>>>> >>>>>>> From: ayolajayamaha28@gmail.com
>>>>>> >>>
>>>>>> >>>>>>> To: kanak.b@hotmail.com
>>>>>> >>>
>>>>>> >>>>>>> CC: dev@helix.apache.org
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>> Hi,
>>>>>> >>>
>>>>>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io
>>>>>> integration as
>>>>>> >>>
>>>>>> >>>>>> module
>>>>>> >>>
>>>>>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>>>>>> >>>
>>>>>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and
>>>>>> hawtio
>>>>>> >>>
>>>>>> >>>>>>> integration where should I create the headers to cater for
>>>>>> the cross
>>>>>> >>>
>>>>>> >>>>>> domain
>>>>>> >>>
>>>>>> >>>>>>> issue and if I'm deploying the .war file where can I deploy
>>>>>> it?
>>>>>> >>>
>>>>>> >>>>>>> For the time being the code is in my local machine. I will
>>>>>> commit to
>>>>>> >>>
>>>>>> >>>>>> repo
>>>>>> >>>
>>>>>> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>>> Sounds reasonable. Is your current code available in a public
>>>>>> >>>
>>>>>> >>>>>> repository?
>>>>>> >>>
>>>>>> >>>>>>>> I would be interested in taking a look if it is.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>>> Kanak
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>>> ________________________________
>>>>>> >>>
>>>>>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>>>>> >>>
>>>>>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>> >>>
>>>>>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>> >>>
>>>>>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>>>> 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<http://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 requiri
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,

I have completed most of the project and I'm commiting to my git repo. I will share the screen shots in a PDF document. All the problems of the project has been already successfully tackled. 
Thanks. 



> On 2014 අගෝ 4, at පෙ.ව. 4.35, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> Hi All,
> 
> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in the Dashboard are updated. Hope the Layout of the dashboard is alright with you. Shall upload the Screenshots soon.
> 
> 
>> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:
>> Hi Kishore,
>> 
>> Thanks for your interest. Any questions or difficulties I 'd be glad to answer.
>> 
>> Thanks
>> 
>> 
>> 
>>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
>>> 
>>> Hi Ayola
>>> 
>>> Thanks for the instructions. I will try out the instructions and give feedback.
>>> 
>>> Thanks
>>> Kishore G
>>> 
>>>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com> wrote:
>>>> Hi All,
>>>> 
>>>> Attached herewith is the Updated User Manual. You can try it with the git repo https://github.com/ayolajayamaha by getting a clone of helix and hawtio. 
>>>> 
>>>> Any questions don't hesitate to ask. 
>>>> 
>>>> Thanks
>>>> 
>>>> 
>>>>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>> Hi All,
>>>>> 
>>>>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>>>> 
>>>>> The solution can be found in my blog post.
>>>>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>>>> 
>>>>> Thanks.
>>>>> 
>>>>> 
>>>>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>>> Hi All,
>>>>>> 
>>>>>> Attached herewith is the User Manual. However there is a small issue with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and also communicating with the hawtio community. By next week this problem will surly be resolved. And I will write on blog the necessary. 
>>>>>> 
>>>>>> 
>>>>>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>>>> Hi Kanak,
>>>>>>> 
>>>>>>> Ok I will send the user manual to you.
>>>>>>> 
>>>>>>> Sent from my iPhone
>>>>>>> 
>>>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>>>> 
>>>>>>> > Hi Ayola,
>>>>>>> >
>>>>>>> > Could you write a "Getting Started" guide with step-by-step instructions on how to build and deploy the dashboard? If you already have that, could you send a link?
>>>>>>> >
>>>>>>> > Thanks,
>>>>>>> > Kanak
>>>>>>> >
>>>>>>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>>>>>> >> Subject: Re: [GSOC] Current Status
>>>>>>> >> From: ayolajayamaha28@gmail.com
>>>>>>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>> >>
>>>>>>> >> Hi All,
>>>>>>> >>
>>>>>>> >> I was able to resolve the Cross Domain Issue in Helix where it arises since
>>>>>>> >> the Rest API domain differs from the dashboard domain (ports). Currently it
>>>>>>> >> is resolved as to allow all requests from the API. I have committed to my
>>>>>>> >> git repo [1] in which Cluster API is resolved. I will clean the code and
>>>>>>> >> remove any duplicates and resolve the other APIs as well.
>>>>>>> >> More information will be found in my blog [2]. Also I'm following
>>>>>>> >> AngularJS, Angular Directives and Angular Services. These will be helpful
>>>>>>> >> to me to write good maintainable code for hawtio dashboard.
>>>>>>> >>
>>>>>>> >> [1]https://github.com/AyolaJayamaha/helix
>>>>>>> >> [2]http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>>>>>> >>
>>>>>>> >>
>>>>>>> >>
>>>>>>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>>>> >>
>>>>>>> >>> In terms of the CORS pattern, I think it's just pattern matching the
>>>>>>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so if you
>>>>>>> >>> can make it configurable, that would be good.
>>>>>>> >>>
>>>>>>> >>> If it simplifies your implementation and resolves the XSS issues, you can
>>>>>>> >>> co-deploy helix-admin-webapp with your dashboard (along with any components
>>>>>>> >>> other than helix controller or helix participant). Other than that, I don't
>>>>>>> >>> have any specific suggestions as I'm not an expert in this.
>>>>>>> >>>
>>>>>>> >>> Kanak
>>>>>>> >>>
>>>>>>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>>>>>> >>> Subject: Re: [GSOC] Current Status
>>>>>>> >>> From: ayolajayamaha28@gmail.com
>>>>>>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>> >>>
>>>>>>> >>> Hi All,
>>>>>>> >>>
>>>>>>> >>> Currently I'm going through Charting with regard to UI components. Also
>>>>>>> >>> I'm looking where to put the headers to enable CORS. I'm writing a simple
>>>>>>> >>> Restlet and removing cross domain issue in that. Any suggestions? I'm going
>>>>>>> >>> through AngularJS and writing some blog posts with regard to charting and
>>>>>>> >>> Restlet.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>>>>>> >>>
>>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>> Hi,
>>>>>>> >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
>>>>>>> >>> attaching.
>>>>>>> >>>
>>>>>>> >>> Clean pom file[4] with setting up properties and dependencies. later we
>>>>>>> >>> can move those parent pom, set the parent pom.This will build as successful
>>>>>>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am using
>>>>>>> >>> tomcat)
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Helix dashboard looks with themes
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Helix dashboard with Helix rest details
>>>>>>> >>>
>>>>>>> >>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]
>>>>>>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> If any thing is not clear please let me know
>>>>>>> >>> Thanks
>>>>>>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>>>>>> >>>
>>>>>>> >>> [2]
>>>>>>> >>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>>>>>> >>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>>>>>> >>>
>>>>>>> >>> [4] https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Hi,
>>>>>>> >>>
>>>>>>> >>> 1. I have updated the Mock UI document as the feedback given by my mentor.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>> Is the portal on the document address the needs mentioned?
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 2. The steps I followed next are the transitions from Mock UI ---> Static
>>>>>>> >>> HTML ----->Angular Module
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>>>>>> >>> The sample UI is not the final version. It would be \ improved graphical
>>>>>>> >>> wise in the final versions. The given UI is the structure of the interface
>>>>>>> >>> showing all the details that will be given to users.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui33.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui11.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui22.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui49.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ui9.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​
>>>>>>> >>> ---> hawtio plugin
>>>>>>> >>> ​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> plugin.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​​
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> js.png
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ​
>>>>>>> >>> As you can see in the screenshots you can find the plugin in github.
>>>>>>> >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> You can get clone and build the dashboard. But some configurations in
>>>>>>> >>> hawtio dashboard has to be done manually. I plan to automate it in the
>>>>>>> >>> future.
>>>>>>> >>>
>>>>>>> >>> Note:
>>>>>>> >>> I used a mock rest service since the Cross Domain Issue. To enable CORS
>>>>>>> >>> we need to add the following headers to the response.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>>>>>> >>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");
>>>>>>> >>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>>>>>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>>>>>>> >>> In building war file, the plugin will be added to .war file. But current
>>>>>>> >>> plugin needs to be installed to hawtio manually.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Hi,
>>>>>>> >>> Thanks for the comments. I will make necessary changes and update the
>>>>>>> >>> document.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Hi Ayola,
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Looks good so far. I have some comments about your mockups:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 1. Enabling/disabling a cluster and enabling/disabling the controller are
>>>>>>> >>> actually the same thing. What is missing is "activateCluster."
>>>>>>> >>> activateCluster is useful when you have a cluster of controllers, and you
>>>>>>> >>> want those controllers to manage other clusters. The controller cluster is
>>>>>>> >>> called the "grand cluster."
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 2. Resources are added to cluster upon creation and cannot be moved or
>>>>>>> >>> added to other clusters afterwards. Thus, the "add to cluster" on existing
>>>>>>> >>> resources doesn't make sense. The resources screen should allow
>>>>>>> >>> enable/disable, read external view, read/write configs and read/write ideal
>>>>>>> >>> state. There should also be an "add resource" button on the clusters page.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 3. Same comment for instances. There should be an "add instance" button on
>>>>>>> >>> the cluster pages, and on the instance page it should allow read current
>>>>>>> >>> state, read messages, read/write configs.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 4. There's a separate page for all configs, but it may make sense to
>>>>>>> >>> integrate them into the configs at each scope (i.e. cluster, resource,
>>>>>>> >>> participant).
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> 5. There should be a button on the clusters page for adding a state model
>>>>>>> >>> definition.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> I think the overall comment is that the clusters page needs to be a portal
>>>>>>> >>> for the rest of the dashboard, so there should be a link to all the cluster
>>>>>>> >>> pages, and within a cluster page, there should be ways to access all the
>>>>>>> >>> resources, instances, configs, and constraints for that cluster.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> Kanak
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> ----------------------------------------
>>>>>>> >>>
>>>>>>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>>>>>> >>>
>>>>>>> >>>> Subject: Re: [GSOC] Current Status
>>>>>>> >>>
>>>>>>> >>>> From: ayolajayamaha28@gmail.com
>>>>>>> >>>
>>>>>>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>> Hi,
>>>>>>> >>>
>>>>>>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created with
>>>>>>> >>> hawtio
>>>>>>> >>>
>>>>>>> >>>> dashboard. A .war file can be used to deploy on any server as a separate
>>>>>>> >>>
>>>>>>> >>>> module. The UIs get data from the REST API. This is just initial one.
>>>>>>> >>> They
>>>>>>> >>>
>>>>>>> >>>> will be developed as Angular plugin. Towards the end I will provide some
>>>>>>> >>>
>>>>>>> >>>> chart as well for cluster management.
>>>>>>> >>>
>>>>>>> >>>> Presently I'm doing the hawtio and helix integration and towards next
>>>>>>> >>> week
>>>>>>> >>>
>>>>>>> >>>> I'm writing some angularjs plugins.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>> Thank you.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> Local deployment is fine.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> Here is the git repo that I will be using, later I will share Git
>>>>>>> >>>
>>>>>>> >>>>>> location (Angular plugin) that can be used in dashboard of hawtio. I
>>>>>>> >>> will
>>>>>>> >>>
>>>>>>> >>>>>> blog on those as well.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> The main thing we would like you to deliver is the package so that it
>>>>>>> >>> is
>>>>>>> >>>
>>>>>>> >>>>>> available for anyone to deploy within their own cluster.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> Sure,
>>>>>>> >>>
>>>>>>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war' with
>>>>>>> >>> helix
>>>>>>> >>>
>>>>>>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by anyone
>>>>>>> >>> with
>>>>>>> >>>
>>>>>>> >>>>> helix rest web app (own cluster).
>>>>>>> >>>
>>>>>>> >>>>> I just found[1] function 'start()' line 43. I too can follow that model
>>>>>>> >>>
>>>>>>> >>>>> even.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> Therefore finally you will have web app as 'helix-admin-webapp' that can
>>>>>>> >>>
>>>>>>> >>>>> be deployed within their own cluster.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> [1]
>>>>>>> >>>
>>>>>>> >>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>> [2] https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> Kanak
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>> ----------------------------------------
>>>>>>> >>>
>>>>>>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>>>>>> >>>
>>>>>>> >>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>> >>>
>>>>>>> >>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>> >>>
>>>>>>> >>>>>>> To: kanak.b@hotmail.com
>>>>>>> >>>
>>>>>>> >>>>>>> CC: dev@helix.apache.org
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>> Hi,
>>>>>>> >>>
>>>>>>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration as
>>>>>>> >>>
>>>>>>> >>>>>> module
>>>>>>> >>>
>>>>>>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>>>>>>> >>>
>>>>>>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and hawtio
>>>>>>> >>>
>>>>>>> >>>>>>> integration where should I create the headers to cater for the cross
>>>>>>> >>>
>>>>>>> >>>>>> domain
>>>>>>> >>>
>>>>>>> >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
>>>>>>> >>>
>>>>>>> >>>>>>> For the time being the code is in my local machine. I will commit to
>>>>>>> >>>
>>>>>>> >>>>>> repo
>>>>>>> >>>
>>>>>>> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>>> Sounds reasonable. Is your current code available in a public
>>>>>>> >>>
>>>>>>> >>>>>> repository?
>>>>>>> >>>
>>>>>>> >>>>>>>> I would be interested in taking a look if it is.
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>>> Kanak
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>>> ________________________________
>>>>>>> >>>
>>>>>>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>>>>>> >>>
>>>>>>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>>> >>>
>>>>>>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>>> >>>
>>>>>>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>
>>>>>>> >>>>>>>>> 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<http://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 requiri
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> -- 
>>>>>> 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

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi Kanak,

When we enable/disable a cluster do we have to give the Controller Cluster
as an input parameter? How do we find the Controller Cluster?
Is it from cluster -> simple fields -> Leader? Is there a rest call to get
the Controller Cluster directly?
Thanks.


On 7 August 2014 06:41, Ayola Jayamaha <ay...@gmail.com> wrote:

> Hi All,
>
> The corrected version of the Dashboard you can find
> https://github.com/AyolaJayamaha/helix .
> Thanks.
>
>
> On 6 August 2014 02:59, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>
>>
>> General comments:
>> - Rename "Cluster Manager" and "Resource Manager" to "Clusters" and
>> "Resources"- Rename "Simple Details," "List Details," and "Map Details"
>> back to "Simple Fields," "List Fields," and "Map Fields"- It looks like
>> resource info only shows ideal state. It should also show all
>> resource-level configs and the external view- Can you display those fields
>> within a table instead of as a bulleted list, and can you use a monospaced
>> font?
>> Date: Tue, 5 Aug 2014 16:58:26 +0530
>> Subject: Re: [GSOC] Current Status
>> From: ayolajayamaha28@gmail.com
>> To: g.kishore@gmail.com
>> CC: dev@helix.apache.org; kanak.b@hotmail.com
>>
>> Hi All,
>>
>> Attached herewith you shall find the Screenshots of the User Interfaces
>> upto now. (Cluster Manager and Resource Manager)
>> Thanks.
>>
>>
>>
>> On 4 August 2014 04:35, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>> Hi All,
>>
>> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in
>> the Dashboard are updated. Hope the Layout of the dashboard is alright with
>> you. Shall upload the Screenshots soon.
>>
>>
>>
>>
>> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>>
>> Hi Kishore,
>> Thanks for your interest. Any questions or difficulties I 'd be glad to
>> answer.
>>
>>
>> Thanks
>>
>>
>>
>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
>>
>>
>>
>> Hi Ayola
>> Thanks for the instructions. I will try out the instructions and give
>> feedback.
>> Thanks
>>
>> Kishore G
>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
>> wrote:
>>
>>
>>
>> Hi All,
>>
>> Attached herewith is the Updated User Manual. You can try it with the git
>> repo https://github.com/ayolajayamaha by getting a clone of helix and
>> hawtio.
>>
>>
>>
>>
>>
>> Any questions don't hesitate to ask.
>>
>> Thanks
>>
>>
>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>>
>>
>>
>> Hi All,
>>
>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>
>>
>>
>>
>>
>> The solution can be found in my blog post.
>>
>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>
>>
>>
>>
>>
>>
>> Thanks.
>>
>>
>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>>
>>
>>
>>
>> Hi All,
>>
>> Attached herewith is the User Manual. However there is a small issue with
>> deploying the plugin(.war file). I'm trying with tomcat, fabric8 and also
>> communicating with the hawtio community. By next week this problem will
>> surly be resolved. And I will write on blog the necessary.
>>
>>
>>
>>
>>
>>
>>
>>
>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>>
>>
>>
>>
>>
>> Hi Kanak,
>>
>>
>>
>> Ok I will send the user manual to you.
>>
>>
>>
>> Sent from my iPhone
>>
>>
>>
>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com>
>> wrote:
>>
>>
>>
>> > Hi Ayola,
>>
>> >
>>
>> > Could you write a "Getting Started" guide with step-by-step
>> instructions on how to build and deploy the dashboard? If you already have
>> that, could you send a link?
>>
>> >
>>
>> > Thanks,
>>
>> > Kanak
>>
>> >
>>
>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>
>> >> Subject: Re: [GSOC] Current Status
>>
>> >> From: ayolajayamaha28@gmail.com
>>
>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>>
>> >>
>>
>> >> Hi All,
>>
>> >>
>>
>> >> I was able to resolve the Cross Domain Issue in Helix where it arises
>> since
>>
>> >> the Rest API domain differs from the dashboard domain (ports).
>> Currently it
>>
>> >> is resolved as to allow all requests from the API. I have committed to
>> my
>>
>> >> git repo [1] in which Cluster API is resolved. I will clean the code
>> and
>>
>> >> remove any duplicates and resolve the other APIs as well.
>>
>> >> More information will be found in my blog [2]. Also I'm following
>>
>> >> AngularJS, Angular Directives and Angular Services. These will be
>> helpful
>>
>> >> to me to write good maintainable code for hawtio dashboard.
>>
>> >>
>>
>> >> [1]https://github.com/AyolaJayamaha/helix
>>
>> >> [2]
>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>
>> >>
>>
>> >>
>>
>> >>
>>
>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>
>> >>
>>
>> >>> In terms of the CORS pattern, I think it's just pattern matching the
>>
>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so if
>> you
>>
>> >>> can make it configurable, that would be good.
>>
>> >>>
>>
>> >>> If it simplifies your implementation and resolves the XSS issues, you
>> can
>>
>> >>> co-deploy helix-admin-webapp with your dashboard (along with any
>> components
>>
>> >>> other than helix controller or helix participant). Other than that, I
>> don't
>>
>> >>> have any specific suggestions as I'm not an expert in this.
>>
>> >>>
>>
>> >>> Kanak
>>
>> >>>
>>
>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>
>> >>> Subject: Re: [GSOC] Current Status
>>
>> >>> From: ayolajayamaha28@gmail.com
>>
>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>
>> >>>
>>
>> >>> Hi All,
>>
>> >>>
>>
>> >>> Currently I'm going through Charting with regard to UI components.
>> Also
>>
>> >>> I'm looking where to put the headers to enable CORS. I'm writing a
>> simple
>>
>> >>> Restlet and removing cross domain issue in that. Any suggestions? I'm
>> going
>>
>> >>> through AngularJS and writing some blog posts with regard to charting
>> and
>>
>> >>> Restlet.
>>
>> >>>
>>
>> >>>
>>
>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>
>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>
>> >>>
>>
>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>
>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>>
>> >>>
>>
>> >>> Hi,
>>
>> >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
>>
>> >>> attaching.
>>
>> >>>
>>
>> >>> Clean pom file[4] with setting up properties and dependencies. later
>> we
>>
>> >>> can move those parent pom, set the parent pom.This will build as
>> successful
>>
>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am
>> using
>>
>> >>> tomcat)
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> Helix dashboard looks with themes
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> Helix dashboard with Helix rest details
>>
>> >>>
>>
>> >>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]
>>
>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>
>> >>>
>>
>> >>>
>>
>> >>> If any thing is not clear please let me know
>>
>> >>> Thanks
>>
>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>
>> >>>
>>
>> >>> [2]
>>
>> >>>
>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>
>> >>>
>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>
>> >>>
>>
>> >>> [4]
>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> Hi,
>>
>> >>>
>>
>> >>> 1. I have updated the Mock UI document as the feedback given by my
>> mentor.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>
>>
>>
>>
>>
>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>> Is the portal on the document address the needs mentioned?
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> 2. The steps I followed next are the transitions from Mock UI --->
>> Static
>>
>> >>> HTML ----->Angular Module
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>>
>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>
>> >>> The sample UI is not the final version. It would be \ improved
>> graphical
>>
>> >>> wise in the final versions. The given UI is the structure of the
>> interface
>>
>> >>> showing all the details that will be given to users.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ​
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ui33.png
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ​​
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ui11.png
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ​​
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ui22.png
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ​​
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ui49.png
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ​​
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ui9.png
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ​
>>
>> >>> ---> hawtio plugin
>>
>> >>> ​
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> plugin.png
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ​​
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> js.png
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ​
>>
>> >>> As you can see in the screenshots you can find the plugin in github.
>>
>> >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> You can get clone and build the dashboard. But some configurations in
>>
>> >>> hawtio dashboard has to be done manually. I plan to automate it in the
>>
>> >>> future.
>>
>> >>>
>>
>> >>> Note:
>>
>> >>> I used a mock rest service since the Cross Domain Issue. To enable
>> CORS
>>
>> >>> we need to add the following headers to the response.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>
>> >>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");
>>
>> >>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>
>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>>
>> >>> In building war file, the plugin will be added to .war file. But
>> current
>>
>> >>> plugin needs to be installed to hawtio manually.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> Hi,
>>
>> >>> Thanks for the comments. I will make necessary changes and update the
>>
>> >>> document.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> Hi Ayola,
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> Looks good so far. I have some comments about your mockups:
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> 1. Enabling/disabling a cluster and enabling/disabling the controller
>> are
>>
>> >>> actually the same thing. What is missing is "activateCluster."
>>
>> >>> activateCluster is useful when you have a cluster of controllers, and
>> you
>>
>> >>> want those controllers to manage other clusters. The controller
>> cluster is
>>
>> >>> called the "grand cluster."
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> 2. Resources are added to cluster upon creation and cannot be moved or
>>
>> >>> added to other clusters afterwards. Thus, the "add to cluster" on
>> existing
>>
>> >>> resources doesn't make sense. The resources screen should allow
>>
>> >>> enable/disable, read external view, read/write configs and read/write
>> ideal
>>
>> >>> state. There should also be an "add resource" button on the clusters
>> page.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> 3. Same comment for instances. There should be an "add instance"
>> button on
>>
>> >>> the cluster pages, and on the instance page it should allow read
>> current
>>
>> >>> state, read messages, read/write configs.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> 4. There's a separate page for all configs, but it may make sense to
>>
>> >>> integrate them into the configs at each scope (i.e. cluster, resource,
>>
>> >>> participant).
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> 5. There should be a button on the clusters page for adding a state
>> model
>>
>> >>> definition.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> I think the overall comment is that the clusters page needs to be a
>> portal
>>
>> >>> for the rest of the dashboard, so there should be a link to all the
>> cluster
>>
>> >>> pages, and within a cluster page, there should be ways to access all
>> the
>>
>> >>> resources, instances, configs, and constraints for that cluster.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> Kanak
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>> ----------------------------------------
>>
>> >>>
>>
>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>
>> >>>
>>
>> >>>> Subject: Re: [GSOC] Current Status
>>
>> >>>
>>
>> >>>> From: ayolajayamaha28@gmail.com
>>
>> >>>
>>
>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>
>> >>>
>>
>> >>>
>>
>> >>>> Hi,
>>
>> >>>
>>
>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created with
>>
>> >>> hawtio
>>
>> >>>
>>
>> >>>> dashboard. A .war file can be used to deploy on any server as a
>> separate
>>
>> >>>
>>
>> >>>> module. The UIs get data from the REST API. This is just initial one.
>>
>> >>> They
>>
>> >>>
>>
>> >>>> will be developed as Angular plugin. Towards the end I will provide
>> some
>>
>> >>>
>>
>> >>>> chart as well for cluster management.
>>
>> >>>
>>
>> >>>> Presently I'm doing the hawtio and helix integration and towards next
>>
>> >>> week
>>
>> >>>
>>
>> >>>> I'm writing some angularjs plugins.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>
>>
>>
>>
>>
>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>> Thank you.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com>
>> wrote:
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
>> wrote:
>>
>> >>>
>>
>> >>>
>>
>> >>>>>> Local deployment is fine.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>>>> Here is the git repo that I will be using, later I will share Git
>>
>> >>>
>>
>> >>>>>> location (Angular plugin) that can be used in dashboard of hawtio.
>> I
>>
>> >>> will
>>
>> >>>
>>
>> >>>>>> blog on those as well.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>>>> The main thing we would like you to deliver is the package so that
>> it
>>
>> >>> is
>>
>> >>>
>>
>> >>>>>> available for anyone to deploy within their own cluster.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>>> Sure,
>>
>> >>>
>>
>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war' with
>>
>> >>> helix
>>
>> >>>
>>
>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by anyone
>>
>> >>> with
>>
>> >>>
>>
>> >>>>> helix rest web app (own cluster).
>>
>> >>>
>>
>> >>>>> I just found[1] function 'start()' line 43. I too can follow that
>> model
>>
>> >>>
>>
>> >>>>> even.
>>
>> >>>
>>
>> >>>
>>
>> >>>>> Therefore finally you will have web app as 'helix-admin-webapp'
>> that can
>>
>> >>>
>>
>> >>>>> be deployed within their own cluster.
>>
>> >>>
>>
>> >>>
>>
>> >>>>> [1]
>>
>> >>>
>>
>> >>>
>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>
>>
>>
>>
>>
>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>>> [2]
>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>>>> Kanak
>>
>> >>>
>>
>> >>>
>>
>> >>>>>> ----------------------------------------
>>
>> >>>
>>
>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>
>> >>>
>>
>> >>>>>>> Subject: Re: [GSOC] Current Status
>>
>> >>>
>>
>> >>>>>>> From: ayolajayamaha28@gmail.com
>>
>> >>>
>>
>> >>>>>>> To: kanak.b@hotmail.com
>>
>> >>>
>>
>> >>>>>>> CC: dev@helix.apache.org
>>
>> >>>
>>
>> >>>
>>
>> >>>>>>> Hi,
>>
>> >>>
>>
>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration as
>>
>> >>>
>>
>> >>>>>> module
>>
>> >>>
>>
>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>>
>> >>>
>>
>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and hawtio
>>
>> >>>
>>
>> >>>>>>> integration where should I create the headers to cater for the
>> cross
>>
>> >>>
>>
>> >>>>>> domain
>>
>> >>>
>>
>> >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
>>
>> >>>
>>
>> >>>>>>> For the time being the code is in my local machine. I will commit
>> to
>>
>> >>>
>>
>> >>>>>> repo
>>
>> >>>
>>
>> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com>
>> wrote:
>>
>> >>>
>>
>> >>>
>>
>> >>>>>>>> Sounds reasonable. Is your current code available in a public
>>
>> >>>
>>
>> >>>>>> repository?
>>
>> >>>
>>
>> >>>>>>>> I would be interested in taking a look if it is.
>>
>> >>>
>>
>> >>>
>>
>> >>>>>>>> Kanak
>>
>> >>>
>>
>> >>>
>>
>> >>>>>>>> ________________________________
>>
>> >>>
>>
>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>
>> >>>
>>
>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>>
>> >>>
>>
>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>>
>> >>>
>>
>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>
>> >>>
>>
>> >>>
>>
>> >>>
>>
>> >>>>>>>>> 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<http://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 requiri
>>
>>
>>
>> --
>> 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

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,

Thank you for trying out and the comments. I'll rectify those and commit to
the repo soon.
Thanks.


On 6 August 2014 03:02, Kanak Biscuitwala <ka...@hotmail.com> wrote:

> Fixing formatting...
>
> General comments:
>
> - Rename "Cluster Manager" and "Resource Manager" to "Clusters" and
> "Resources"
> - Rename "Simple Details," "List Details," and "Map Details" back to
> "Simple Fields," "List Fields," and "Map Fields"
> - It looks like resource info only shows ideal state. It should also show
> all resource-level configs and the external view
> - Can you display those fields within a table instead of as a bulleted
> list, and can you use a monospaced font?
>
> > From: kanak.b@hotmail.com
> > To: dev@helix.apache.org; g.kishore@gmail.com
> > Subject: RE: [GSOC] Current Status
> > Date: Tue, 5 Aug 2014 14:29:43 -0700
> >
> >
> > General comments:
> > - Rename "Cluster Manager" and "Resource Manager" to "Clusters" and
> "Resources"- Rename "Simple Details," "List Details," and "Map Details"
> back to "Simple Fields," "List Fields," and "Map Fields"- It looks like
> resource info only shows ideal state. It should also show all
> resource-level configs and the external view- Can you display those fields
> within a table instead of as a bulleted list, and can you use a monospaced
> font?
> > Date: Tue, 5 Aug 2014 16:58:26 +0530
> > Subject: Re: [GSOC] Current Status
> > From: ayolajayamaha28@gmail.com
> > To: g.kishore@gmail.com
> > CC: dev@helix.apache.org; kanak.b@hotmail.com
> >
> > Hi All,
> >
> > Attached herewith you shall find the Screenshots of the User Interfaces
> upto now. (Cluster Manager and Resource Manager)
> > Thanks.
> >
> >
> >
> > On 4 August 2014 04:35, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >
> > Hi All,
> >
> > Helix Cluster Manager, Resources Manager and Instances Manager Tabs in
> the Dashboard are updated. Hope the Layout of the dashboard is alright with
> you. Shall upload the Screenshots soon.
> >
> >
> >
> >
> > On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >
> >
> > Hi Kishore,
> > Thanks for your interest. Any questions or difficulties I 'd be glad to
> answer.
> >
> >
> > Thanks
> >
> >
> >
> > On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
> >
> >
> >
> > Hi Ayola
> > Thanks for the instructions. I will try out the instructions and give
> feedback.
> > Thanks
> >
> > Kishore G
> > On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
> wrote:
> >
> >
> >
> > Hi All,
> >
> > Attached herewith is the Updated User Manual. You can try it with the
> git repo https://github.com/ayolajayamaha by getting a clone of helix and
> hawtio.
> >
> >
> >
> >
> >
> > Any questions don't hesitate to ask.
> >
> > Thanks
> >
> >
> > On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >
> >
> >
> >
> > Hi All,
> >
> > I was able to resolve the issue with deploying a plugin with Tomcat.
> >
> >
> >
> >
> >
> > The solution can be found in my blog post.
> >
> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
> >
> >
> >
> >
> >
> >
> > Thanks.
> >
> >
> > On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:
> >
> >
> >
> >
> >
> > Hi All,
> >
> > Attached herewith is the User Manual. However there is a small issue
> with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and
> also communicating with the hawtio community. By next week this problem
> will surly be resolved. And I will write on blog the necessary.
> >
> >
> >
> >
> >
> >
> >
> >
> > On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:
> >
> >
> >
> >
> >
> >
> > Hi Kanak,
> >
> >
> >
> > Ok I will send the user manual to you.
> >
> >
> >
> > Sent from my iPhone
> >
> >
> >
> > On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com>
> wrote:
> >
> >
> >
> > > Hi Ayola,
> >
> > >
> >
> > > Could you write a "Getting Started" guide with step-by-step
> instructions on how to build and deploy the dashboard? If you already have
> that, could you send a link?
> >
> > >
> >
> > > Thanks,
> >
> > > Kanak
> >
> > >
> >
> > >> Date: Thu, 24 Jul 2014 22:49:32 +0530
> >
> > >> Subject: Re: [GSOC] Current Status
> >
> > >> From: ayolajayamaha28@gmail.com
> >
> > >> To: dev@helix.apache.org; kanak.b@hotmail.com
> >
> > >>
> >
> > >> Hi All,
> >
> > >>
> >
> > >> I was able to resolve the Cross Domain Issue in Helix where it arises
> since
> >
> > >> the Rest API domain differs from the dashboard domain (ports).
> Currently it
> >
> > >> is resolved as to allow all requests from the API. I have committed
> to my
> >
> > >> git repo [1] in which Cluster API is resolved. I will clean the code
> and
> >
> > >> remove any duplicates and resolve the other APIs as well.
> >
> > >> More information will be found in my blog [2]. Also I'm following
> >
> > >> AngularJS, Angular Directives and Angular Services. These will be
> helpful
> >
> > >> to me to write good maintainable code for hawtio dashboard.
> >
> > >>
> >
> > >> [1]https://github.com/AyolaJayamaha/helix
> >
> > >> [2]
> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
> >
> > >>
> >
> > >>
> >
> > >>
> >
> > >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com> wrote:
> >
> > >>
> >
> > >>> In terms of the CORS pattern, I think it's just pattern matching the
> >
> > >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so if
> you
> >
> > >>> can make it configurable, that would be good.
> >
> > >>>
> >
> > >>> If it simplifies your implementation and resolves the XSS issues,
> you can
> >
> > >>> co-deploy helix-admin-webapp with your dashboard (along with any
> components
> >
> > >>> other than helix controller or helix participant). Other than that,
> I don't
> >
> > >>> have any specific suggestions as I'm not an expert in this.
> >
> > >>>
> >
> > >>> Kanak
> >
> > >>>
> >
> > >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
> >
> > >>> Subject: Re: [GSOC] Current Status
> >
> > >>> From: ayolajayamaha28@gmail.com
> >
> > >>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >
> > >>>
> >
> > >>> Hi All,
> >
> > >>>
> >
> > >>> Currently I'm going through Charting with regard to UI components.
> Also
> >
> > >>> I'm looking where to put the headers to enable CORS. I'm writing a
> simple
> >
> > >>> Restlet and removing cross domain issue in that. Any suggestions?
> I'm going
> >
> > >>> through AngularJS and writing some blog posts with regard to
> charting and
> >
> > >>> Restlet.
> >
> > >>>
> >
> > >>>
> >
> > >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
> >
> > >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
> >
> > >>>
> >
> > >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
> >
> > >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >
> > >>>
> >
> > >>> Hi,
> >
> > >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
> >
> > >>> attaching.
> >
> > >>>
> >
> > >>> Clean pom file[4] with setting up properties and dependencies. later
> we
> >
> > >>> can move those parent pom, set the parent pom.This will build as
> successful
> >
> > >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am
> using
> >
> > >>> tomcat)
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> Helix dashboard looks with themes
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> Helix dashboard with Helix rest details
> >
> > >>>
> >
> > >>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]
> >
> > >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
> >
> > >>>
> >
> > >>>
> >
> > >>> If any thing is not clear please let me know
> >
> > >>> Thanks
> >
> > >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
> >
> > >>>
> >
> > >>> [2]
> >
> > >>>
> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
> >
> > >>>
> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
> >
> > >>>
> >
> > >>> [4]
> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> Hi,
> >
> > >>>
> >
> > >>> 1. I have updated the Mock UI document as the feedback given by my
> mentor.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
> >
> >
> >
> >
> >
> >
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>> Is the portal on the document address the needs mentioned?
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> 2. The steps I followed next are the transitions from Mock UI --->
> Static
> >
> > >>> HTML ----->Angular Module
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>>
> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
> >
> > >>> The sample UI is not the final version. It would be \ improved
> graphical
> >
> > >>> wise in the final versions. The given UI is the structure of the
> interface
> >
> > >>> showing all the details that will be given to users.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ​
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ui33.png
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ​​
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ui11.png
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ​​
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ui22.png
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ​​
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ui49.png
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ​​
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ui9.png
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ​
> >
> > >>> ---> hawtio plugin
> >
> > >>> ​
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> plugin.png
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ​​
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> js.png
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ​
> >
> > >>> As you can see in the screenshots you can find the plugin in github.
> >
> > >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> You can get clone and build the dashboard. But some configurations in
> >
> > >>> hawtio dashboard has to be done manually. I plan to automate it in
> the
> >
> > >>> future.
> >
> > >>>
> >
> > >>> Note:
> >
> > >>> I used a mock rest service since the Cross Domain Issue. To enable
> CORS
> >
> > >>> we need to add the following headers to the response.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
> >
> > >>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");
> >
> > >>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
> >
> > >>> responseHeaders.add("Access-Control-Max-Age", "60");
> >
> > >>> In building war file, the plugin will be added to .war file. But
> current
> >
> > >>> plugin needs to be installed to hawtio manually.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> Hi,
> >
> > >>> Thanks for the comments. I will make necessary changes and update the
> >
> > >>> document.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
> wrote:
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> Hi Ayola,
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> Looks good so far. I have some comments about your mockups:
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> 1. Enabling/disabling a cluster and enabling/disabling the
> controller are
> >
> > >>> actually the same thing. What is missing is "activateCluster."
> >
> > >>> activateCluster is useful when you have a cluster of controllers,
> and you
> >
> > >>> want those controllers to manage other clusters. The controller
> cluster is
> >
> > >>> called the "grand cluster."
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> 2. Resources are added to cluster upon creation and cannot be moved
> or
> >
> > >>> added to other clusters afterwards. Thus, the "add to cluster" on
> existing
> >
> > >>> resources doesn't make sense. The resources screen should allow
> >
> > >>> enable/disable, read external view, read/write configs and
> read/write ideal
> >
> > >>> state. There should also be an "add resource" button on the clusters
> page.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> 3. Same comment for instances. There should be an "add instance"
> button on
> >
> > >>> the cluster pages, and on the instance page it should allow read
> current
> >
> > >>> state, read messages, read/write configs.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> 4. There's a separate page for all configs, but it may make sense to
> >
> > >>> integrate them into the configs at each scope (i.e. cluster,
> resource,
> >
> > >>> participant).
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> 5. There should be a button on the clusters page for adding a state
> model
> >
> > >>> definition.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> I think the overall comment is that the clusters page needs to be a
> portal
> >
> > >>> for the rest of the dashboard, so there should be a link to all the
> cluster
> >
> > >>> pages, and within a cluster page, there should be ways to access all
> the
> >
> > >>> resources, instances, configs, and constraints for that cluster.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> Kanak
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>> ----------------------------------------
> >
> > >>>
> >
> > >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
> >
> > >>>
> >
> > >>>> Subject: Re: [GSOC] Current Status
> >
> > >>>
> >
> > >>>> From: ayolajayamaha28@gmail.com
> >
> > >>>
> >
> > >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >
> > >>>
> >
> > >>>
> >
> > >>>> Hi,
> >
> > >>>
> >
> > >>>> Below is the Mock UIs for Apache Helix. The UIs will be created with
> >
> > >>> hawtio
> >
> > >>>
> >
> > >>>> dashboard. A .war file can be used to deploy on any server as a
> separate
> >
> > >>>
> >
> > >>>> module. The UIs get data from the REST API. This is just initial
> one.
> >
> > >>> They
> >
> > >>>
> >
> > >>>> will be developed as Angular plugin. Towards the end I will provide
> some
> >
> > >>>
> >
> > >>>> chart as well for cluster management.
> >
> > >>>
> >
> > >>>> Presently I'm doing the hawtio and helix integration and towards
> next
> >
> > >>> week
> >
> > >>>
> >
> > >>>> I'm writing some angularjs plugins.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
> >
> >
> >
> >
> >
> >
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>> Thank you.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com>
> wrote:
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
> wrote:
> >
> > >>>
> >
> > >>>
> >
> > >>>>>> Local deployment is fine.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>>>> Here is the git repo that I will be using, later I will share Git
> >
> > >>>
> >
> > >>>>>> location (Angular plugin) that can be used in dashboard of
> hawtio. I
> >
> > >>> will
> >
> > >>>
> >
> > >>>>>> blog on those as well.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>>>> The main thing we would like you to deliver is the package so
> that it
> >
> > >>> is
> >
> > >>>
> >
> > >>>>>> available for anyone to deploy within their own cluster.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>>> Sure,
> >
> > >>>
> >
> > >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war' with
> >
> > >>> helix
> >
> > >>>
> >
> > >>>>> dashboard. This war can be host any server (tomcat etc.. ) by
> anyone
> >
> > >>> with
> >
> > >>>
> >
> > >>>>> helix rest web app (own cluster).
> >
> > >>>
> >
> > >>>>> I just found[1] function 'start()' line 43. I too can follow that
> model
> >
> > >>>
> >
> > >>>>> even.
> >
> > >>>
> >
> > >>>
> >
> > >>>>> Therefore finally you will have web app as 'helix-admin-webapp'
> that can
> >
> > >>>
> >
> > >>>>> be deployed within their own cluster.
> >
> > >>>
> >
> > >>>
> >
> > >>>>> [1]
> >
> > >>>
> >
> > >>>
> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
> >
> >
> >
> >
> >
> >
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>>> [2]
> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>>>> Kanak
> >
> > >>>
> >
> > >>>
> >
> > >>>>>> ----------------------------------------
> >
> > >>>
> >
> > >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
> >
> > >>>
> >
> > >>>>>>> Subject: Re: [GSOC] Current Status
> >
> > >>>
> >
> > >>>>>>> From: ayolajayamaha28@gmail.com
> >
> > >>>
> >
> > >>>>>>> To: kanak.b@hotmail.com
> >
> > >>>
> >
> > >>>>>>> CC: dev@helix.apache.org
> >
> > >>>
> >
> > >>>
> >
> > >>>>>>> Hi,
> >
> > >>>
> >
> > >>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration
> as
> >
> > >>>
> >
> > >>>>>> module
> >
> > >>>
> >
> > >>>>>>> and plugins with angularjs in hawtio dashboard.
> >
> > >>>
> >
> > >>>>>>> Upto now I'm almost created the mock UIs. And in helix and hawtio
> >
> > >>>
> >
> > >>>>>>> integration where should I create the headers to cater for the
> cross
> >
> > >>>
> >
> > >>>>>> domain
> >
> > >>>
> >
> > >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
> >
> > >>>
> >
> > >>>>>>> For the time being the code is in my local machine. I will
> commit to
> >
> > >>>
> >
> > >>>>>> repo
> >
> > >>>
> >
> > >>>>>>> tomorrow and share with you. But it is still in initial phase.
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com>
> wrote:
> >
> > >>>
> >
> > >>>
> >
> > >>>>>>>> Sounds reasonable. Is your current code available in a public
> >
> > >>>
> >
> > >>>>>> repository?
> >
> > >>>
> >
> > >>>>>>>> I would be interested in taking a look if it is.
> >
> > >>>
> >
> > >>>
> >
> > >>>>>>>> Kanak
> >
> > >>>
> >
> > >>>
> >
> > >>>>>>>> ________________________________
> >
> > >>>
> >
> > >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
> >
> > >>>
> >
> > >>>>>>>>> Subject: Re: [GSOC] Current Status
> >
> > >>>
> >
> > >>>>>>>>> From: ayolajayamaha28@gmail.com
> >
> > >>>
> >
> > >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> >
> > >>>
> >
> > >>>
> >
> > >>>
> >
> > >>>>>>>>> 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<http://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 requiri
> >
> >
> >
> > --
> > 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

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,

The corrected version of the Dashboard you can find
https://github.com/AyolaJayamaha/helix .
Thanks.


On 6 August 2014 02:59, Kanak Biscuitwala <ka...@hotmail.com> wrote:

>
> General comments:
> - Rename "Cluster Manager" and "Resource Manager" to "Clusters" and
> "Resources"- Rename "Simple Details," "List Details," and "Map Details"
> back to "Simple Fields," "List Fields," and "Map Fields"- It looks like
> resource info only shows ideal state. It should also show all
> resource-level configs and the external view- Can you display those fields
> within a table instead of as a bulleted list, and can you use a monospaced
> font?
> Date: Tue, 5 Aug 2014 16:58:26 +0530
> Subject: Re: [GSOC] Current Status
> From: ayolajayamaha28@gmail.com
> To: g.kishore@gmail.com
> CC: dev@helix.apache.org; kanak.b@hotmail.com
>
> Hi All,
>
> Attached herewith you shall find the Screenshots of the User Interfaces
> upto now. (Cluster Manager and Resource Manager)
> Thanks.
>
>
>
> On 4 August 2014 04:35, Ayola Jayamaha <ay...@gmail.com> wrote:
>
> Hi All,
>
> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in the
> Dashboard are updated. Hope the Layout of the dashboard is alright with
> you. Shall upload the Screenshots soon.
>
>
>
>
> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>
> Hi Kishore,
> Thanks for your interest. Any questions or difficulties I 'd be glad to
> answer.
>
>
> Thanks
>
>
>
> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
>
>
>
> Hi Ayola
> Thanks for the instructions. I will try out the instructions and give
> feedback.
> Thanks
>
> Kishore G
> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
> wrote:
>
>
>
> Hi All,
>
> Attached herewith is the Updated User Manual. You can try it with the git
> repo https://github.com/ayolajayamaha by getting a clone of helix and
> hawtio.
>
>
>
>
>
> Any questions don't hesitate to ask.
>
> Thanks
>
>
> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>
>
>
> Hi All,
>
> I was able to resolve the issue with deploying a plugin with Tomcat.
>
>
>
>
>
> The solution can be found in my blog post.
>
> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>
>
>
>
>
>
> Thanks.
>
>
> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>
>
>
>
> Hi All,
>
> Attached herewith is the User Manual. However there is a small issue with
> deploying the plugin(.war file). I'm trying with tomcat, fabric8 and also
> communicating with the hawtio community. By next week this problem will
> surly be resolved. And I will write on blog the necessary.
>
>
>
>
>
>
>
>
> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>
>
>
>
>
> Hi Kanak,
>
>
>
> Ok I will send the user manual to you.
>
>
>
> Sent from my iPhone
>
>
>
> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com>
> wrote:
>
>
>
> > Hi Ayola,
>
> >
>
> > Could you write a "Getting Started" guide with step-by-step instructions
> on how to build and deploy the dashboard? If you already have that, could
> you send a link?
>
> >
>
> > Thanks,
>
> > Kanak
>
> >
>
> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>
> >> Subject: Re: [GSOC] Current Status
>
> >> From: ayolajayamaha28@gmail.com
>
> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>
> >>
>
> >> Hi All,
>
> >>
>
> >> I was able to resolve the Cross Domain Issue in Helix where it arises
> since
>
> >> the Rest API domain differs from the dashboard domain (ports).
> Currently it
>
> >> is resolved as to allow all requests from the API. I have committed to
> my
>
> >> git repo [1] in which Cluster API is resolved. I will clean the code and
>
> >> remove any duplicates and resolve the other APIs as well.
>
> >> More information will be found in my blog [2]. Also I'm following
>
> >> AngularJS, Angular Directives and Angular Services. These will be
> helpful
>
> >> to me to write good maintainable code for hawtio dashboard.
>
> >>
>
> >> [1]https://github.com/AyolaJayamaha/helix
>
> >> [2]
> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>
> >>
>
> >>
>
> >>
>
> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>
> >>
>
> >>> In terms of the CORS pattern, I think it's just pattern matching the
>
> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so if
> you
>
> >>> can make it configurable, that would be good.
>
> >>>
>
> >>> If it simplifies your implementation and resolves the XSS issues, you
> can
>
> >>> co-deploy helix-admin-webapp with your dashboard (along with any
> components
>
> >>> other than helix controller or helix participant). Other than that, I
> don't
>
> >>> have any specific suggestions as I'm not an expert in this.
>
> >>>
>
> >>> Kanak
>
> >>>
>
> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>
> >>> Subject: Re: [GSOC] Current Status
>
> >>> From: ayolajayamaha28@gmail.com
>
> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>
> >>>
>
> >>> Hi All,
>
> >>>
>
> >>> Currently I'm going through Charting with regard to UI components. Also
>
> >>> I'm looking where to put the headers to enable CORS. I'm writing a
> simple
>
> >>> Restlet and removing cross domain issue in that. Any suggestions? I'm
> going
>
> >>> through AngularJS and writing some blog posts with regard to charting
> and
>
> >>> Restlet.
>
> >>>
>
> >>>
>
> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>
> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>
> >>>
>
> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>
> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>
> >>>
>
> >>>
>
> >>>
>
> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
> wrote:
>
> >>>
>
> >>> Hi,
>
> >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
>
> >>> attaching.
>
> >>>
>
> >>> Clean pom file[4] with setting up properties and dependencies. later we
>
> >>> can move those parent pom, set the parent pom.This will build as
> successful
>
> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am
> using
>
> >>> tomcat)
>
> >>>
>
> >>>
>
> >>>
>
> >>> Helix dashboard looks with themes
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> Helix dashboard with Helix rest details
>
> >>>
>
> >>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]
>
> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>
> >>>
>
> >>>
>
> >>> If any thing is not clear please let me know
>
> >>> Thanks
>
> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>
> >>>
>
> >>> [2]
>
> >>>
> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>
> >>>
> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>
> >>>
>
> >>> [4] https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>
> >>>
>
> >>>
>
> >>>
>
> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
> wrote:
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
> wrote:
>
> >>>
>
> >>>
>
> >>>
>
> >>> Hi,
>
> >>>
>
> >>> 1. I have updated the Mock UI document as the feedback given by my
> mentor.
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>
>
>
>
>
>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>> Is the portal on the document address the needs mentioned?
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> 2. The steps I followed next are the transitions from Mock UI --->
> Static
>
> >>> HTML ----->Angular Module
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>>
> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>
> >>> The sample UI is not the final version. It would be \ improved
> graphical
>
> >>> wise in the final versions. The given UI is the structure of the
> interface
>
> >>> showing all the details that will be given to users.
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> ​
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> ui33.png
>
> >>>
>
> >>>
>
> >>>
>
> >>> ​​
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> ui11.png
>
> >>>
>
> >>>
>
> >>>
>
> >>> ​​
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> ui22.png
>
> >>>
>
> >>>
>
> >>>
>
> >>> ​​
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> ui49.png
>
> >>>
>
> >>>
>
> >>>
>
> >>> ​​
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> ui9.png
>
> >>>
>
> >>>
>
> >>>
>
> >>> ​
>
> >>> ---> hawtio plugin
>
> >>> ​
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> plugin.png
>
> >>>
>
> >>>
>
> >>>
>
> >>> ​​
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> js.png
>
> >>>
>
> >>>
>
> >>>
>
> >>> ​
>
> >>> As you can see in the screenshots you can find the plugin in github.
>
> >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> You can get clone and build the dashboard. But some configurations in
>
> >>> hawtio dashboard has to be done manually. I plan to automate it in the
>
> >>> future.
>
> >>>
>
> >>> Note:
>
> >>> I used a mock rest service since the Cross Domain Issue. To enable CORS
>
> >>> we need to add the following headers to the response.
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>
> >>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");
>
> >>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>
> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>
> >>> In building war file, the plugin will be added to .war file. But
> current
>
> >>> plugin needs to be installed to hawtio manually.
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
> wrote:
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> Hi,
>
> >>> Thanks for the comments. I will make necessary changes and update the
>
> >>> document.
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> Hi Ayola,
>
> >>>
>
> >>>
>
> >>>
>
> >>> Looks good so far. I have some comments about your mockups:
>
> >>>
>
> >>>
>
> >>>
>
> >>> 1. Enabling/disabling a cluster and enabling/disabling the controller
> are
>
> >>> actually the same thing. What is missing is "activateCluster."
>
> >>> activateCluster is useful when you have a cluster of controllers, and
> you
>
> >>> want those controllers to manage other clusters. The controller
> cluster is
>
> >>> called the "grand cluster."
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> 2. Resources are added to cluster upon creation and cannot be moved or
>
> >>> added to other clusters afterwards. Thus, the "add to cluster" on
> existing
>
> >>> resources doesn't make sense. The resources screen should allow
>
> >>> enable/disable, read external view, read/write configs and read/write
> ideal
>
> >>> state. There should also be an "add resource" button on the clusters
> page.
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> 3. Same comment for instances. There should be an "add instance"
> button on
>
> >>> the cluster pages, and on the instance page it should allow read
> current
>
> >>> state, read messages, read/write configs.
>
> >>>
>
> >>>
>
> >>>
>
> >>> 4. There's a separate page for all configs, but it may make sense to
>
> >>> integrate them into the configs at each scope (i.e. cluster, resource,
>
> >>> participant).
>
> >>>
>
> >>>
>
> >>>
>
> >>> 5. There should be a button on the clusters page for adding a state
> model
>
> >>> definition.
>
> >>>
>
> >>>
>
> >>>
>
> >>> I think the overall comment is that the clusters page needs to be a
> portal
>
> >>> for the rest of the dashboard, so there should be a link to all the
> cluster
>
> >>> pages, and within a cluster page, there should be ways to access all
> the
>
> >>> resources, instances, configs, and constraints for that cluster.
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>> Kanak
>
> >>>
>
> >>>
>
> >>>
>
> >>> ----------------------------------------
>
> >>>
>
> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>
> >>>
>
> >>>> Subject: Re: [GSOC] Current Status
>
> >>>
>
> >>>> From: ayolajayamaha28@gmail.com
>
> >>>
>
> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>
> >>>
>
> >>>
>
> >>>> Hi,
>
> >>>
>
> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created with
>
> >>> hawtio
>
> >>>
>
> >>>> dashboard. A .war file can be used to deploy on any server as a
> separate
>
> >>>
>
> >>>> module. The UIs get data from the REST API. This is just initial one.
>
> >>> They
>
> >>>
>
> >>>> will be developed as Angular plugin. Towards the end I will provide
> some
>
> >>>
>
> >>>> chart as well for cluster management.
>
> >>>
>
> >>>> Presently I'm doing the hawtio and helix integration and towards next
>
> >>> week
>
> >>>
>
> >>>> I'm writing some angularjs plugins.
>
> >>>
>
> >>>
>
> >>>
> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>
>
>
>
>
>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>> Thank you.
>
> >>>
>
> >>>
>
> >>>
>
> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com>
> wrote:
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
> wrote:
>
> >>>
>
> >>>
>
> >>>>>> Local deployment is fine.
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>>>> Here is the git repo that I will be using, later I will share Git
>
> >>>
>
> >>>>>> location (Angular plugin) that can be used in dashboard of hawtio. I
>
> >>> will
>
> >>>
>
> >>>>>> blog on those as well.
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>>>> The main thing we would like you to deliver is the package so that
> it
>
> >>> is
>
> >>>
>
> >>>>>> available for anyone to deploy within their own cluster.
>
> >>>
>
> >>>
>
> >>>
>
> >>>>> Sure,
>
> >>>
>
> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war' with
>
> >>> helix
>
> >>>
>
> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by anyone
>
> >>> with
>
> >>>
>
> >>>>> helix rest web app (own cluster).
>
> >>>
>
> >>>>> I just found[1] function 'start()' line 43. I too can follow that
> model
>
> >>>
>
> >>>>> even.
>
> >>>
>
> >>>
>
> >>>>> Therefore finally you will have web app as 'helix-admin-webapp' that
> can
>
> >>>
>
> >>>>> be deployed within their own cluster.
>
> >>>
>
> >>>
>
> >>>>> [1]
>
> >>>
>
> >>>
> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>
>
>
>
>
>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>>> [2]
> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>
> >>>
>
> >>>
>
> >>>
>
> >>>
>
> >>>>>> Kanak
>
> >>>
>
> >>>
>
> >>>>>> ----------------------------------------
>
> >>>
>
> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>
> >>>
>
> >>>>>>> Subject: Re: [GSOC] Current Status
>
> >>>
>
> >>>>>>> From: ayolajayamaha28@gmail.com
>
> >>>
>
> >>>>>>> To: kanak.b@hotmail.com
>
> >>>
>
> >>>>>>> CC: dev@helix.apache.org
>
> >>>
>
> >>>
>
> >>>>>>> Hi,
>
> >>>
>
> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration as
>
> >>>
>
> >>>>>> module
>
> >>>
>
> >>>>>>> and plugins with angularjs in hawtio dashboard.
>
> >>>
>
> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and hawtio
>
> >>>
>
> >>>>>>> integration where should I create the headers to cater for the
> cross
>
> >>>
>
> >>>>>> domain
>
> >>>
>
> >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
>
> >>>
>
> >>>>>>> For the time being the code is in my local machine. I will commit
> to
>
> >>>
>
> >>>>>> repo
>
> >>>
>
> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>
> >>>
>
> >>>
>
> >>>
>
> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com>
> wrote:
>
> >>>
>
> >>>
>
> >>>>>>>> Sounds reasonable. Is your current code available in a public
>
> >>>
>
> >>>>>> repository?
>
> >>>
>
> >>>>>>>> I would be interested in taking a look if it is.
>
> >>>
>
> >>>
>
> >>>>>>>> Kanak
>
> >>>
>
> >>>
>
> >>>>>>>> ________________________________
>
> >>>
>
> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>
> >>>
>
> >>>>>>>>> Subject: Re: [GSOC] Current Status
>
> >>>
>
> >>>>>>>>> From: ayolajayamaha28@gmail.com
>
> >>>
>
> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>
> >>>
>
> >>>
>
> >>>
>
> >>>>>>>>> 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<http://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 requiri
>
>
>
> --
> 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

RE: [GSOC] Current Status

Posted by Kanak Biscuitwala <ka...@hotmail.com>.
Fixing formatting...

General comments:

- Rename "Cluster Manager" and "Resource Manager" to "Clusters" and "Resources"
- Rename "Simple Details," "List Details," and "Map Details" back to "Simple Fields," "List Fields," and "Map Fields"
- It looks like resource info only shows ideal state. It should also show all resource-level configs and the external view
- Can you display those fields within a table instead of as a bulleted list, and can you use a monospaced font?

> From: kanak.b@hotmail.com
> To: dev@helix.apache.org; g.kishore@gmail.com
> Subject: RE: [GSOC] Current Status
> Date: Tue, 5 Aug 2014 14:29:43 -0700
> 
> 
> General comments:
> - Rename "Cluster Manager" and "Resource Manager" to "Clusters" and "Resources"- Rename "Simple Details," "List Details," and "Map Details" back to "Simple Fields," "List Fields," and "Map Fields"- It looks like resource info only shows ideal state. It should also show all resource-level configs and the external view- Can you display those fields within a table instead of as a bulleted list, and can you use a monospaced font?
> Date: Tue, 5 Aug 2014 16:58:26 +0530
> Subject: Re: [GSOC] Current Status
> From: ayolajayamaha28@gmail.com
> To: g.kishore@gmail.com
> CC: dev@helix.apache.org; kanak.b@hotmail.com
> 
> Hi All,
> 
> Attached herewith you shall find the Screenshots of the User Interfaces upto now. (Cluster Manager and Resource Manager)
> Thanks.
> 
> 
> 
> On 4 August 2014 04:35, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> Hi All,
> 
> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in the Dashboard are updated. Hope the Layout of the dashboard is alright with you. Shall upload the Screenshots soon.
> 
> 
> 
> 
> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> 
> Hi Kishore,
> Thanks for your interest. Any questions or difficulties I 'd be glad to answer.
> 
> 
> Thanks
> 
> 
> 
> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
> 
> 
> 
> Hi Ayola
> Thanks for the instructions. I will try out the instructions and give feedback.
> Thanks
> 
> Kishore G
> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com> wrote:
> 
> 
> 
> Hi All,
> 
> Attached herewith is the Updated User Manual. You can try it with the git repo https://github.com/ayolajayamaha by getting a clone of helix and hawtio. 
> 
> 
> 
> 
> 
> Any questions don't hesitate to ask. 
> 
> Thanks
> 
> 
> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> 
> 
> 
> Hi All,
> 
> I was able to resolve the issue with deploying a plugin with Tomcat.
> 
> 
> 
> 
> 
> The solution can be found in my blog post.
> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
> 
> 
> 
> 
> 
> 
> Thanks.
> 
> 
> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> 
> 
> 
> 
> Hi All,
> 
> Attached herewith is the User Manual. However there is a small issue with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and also communicating with the hawtio community. By next week this problem will surly be resolved. And I will write on blog the necessary. 
> 
> 
> 
> 
> 
> 
> 
> 
> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> 
> 
> 
> 
> 
> Hi Kanak,
> 
> 
> 
> Ok I will send the user manual to you.
> 
> 
> 
> Sent from my iPhone
> 
> 
> 
> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com> wrote:
> 
> 
> 
> > Hi Ayola,
> 
> >
> 
> > Could you write a "Getting Started" guide with step-by-step instructions on how to build and deploy the dashboard? If you already have that, could you send a link?
> 
> >
> 
> > Thanks,
> 
> > Kanak
> 
> >
> 
> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
> 
> >> Subject: Re: [GSOC] Current Status
> 
> >> From: ayolajayamaha28@gmail.com
> 
> >> To: dev@helix.apache.org; kanak.b@hotmail.com
> 
> >>
> 
> >> Hi All,
> 
> >>
> 
> >> I was able to resolve the Cross Domain Issue in Helix where it arises since
> 
> >> the Rest API domain differs from the dashboard domain (ports). Currently it
> 
> >> is resolved as to allow all requests from the API. I have committed to my
> 
> >> git repo [1] in which Cluster API is resolved. I will clean the code and
> 
> >> remove any duplicates and resolve the other APIs as well.
> 
> >> More information will be found in my blog [2]. Also I'm following
> 
> >> AngularJS, Angular Directives and Angular Services. These will be helpful
> 
> >> to me to write good maintainable code for hawtio dashboard.
> 
> >>
> 
> >> [1]https://github.com/AyolaJayamaha/helix
> 
> >> [2]http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
> 
> >>
> 
> >>
> 
> >>
> 
> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com> wrote:
> 
> >>
> 
> >>> In terms of the CORS pattern, I think it's just pattern matching the
> 
> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so if you
> 
> >>> can make it configurable, that would be good.
> 
> >>>
> 
> >>> If it simplifies your implementation and resolves the XSS issues, you can
> 
> >>> co-deploy helix-admin-webapp with your dashboard (along with any components
> 
> >>> other than helix controller or helix participant). Other than that, I don't
> 
> >>> have any specific suggestions as I'm not an expert in this.
> 
> >>>
> 
> >>> Kanak
> 
> >>>
> 
> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
> 
> >>> Subject: Re: [GSOC] Current Status
> 
> >>> From: ayolajayamaha28@gmail.com
> 
> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
> 
> >>>
> 
> >>> Hi All,
> 
> >>>
> 
> >>> Currently I'm going through Charting with regard to UI components. Also
> 
> >>> I'm looking where to put the headers to enable CORS. I'm writing a simple
> 
> >>> Restlet and removing cross domain issue in that. Any suggestions? I'm going
> 
> >>> through AngularJS and writing some blog posts with regard to charting and
> 
> >>> Restlet.
> 
> >>>
> 
> >>>
> 
> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
> 
> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
> 
> >>>
> 
> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
> 
> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> >>>
> 
> >>> Hi,
> 
> >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
> 
> >>> attaching.
> 
> >>>
> 
> >>> Clean pom file[4] with setting up properties and dependencies. later we
> 
> >>> can move those parent pom, set the parent pom.This will build as successful
> 
> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am using
> 
> >>> tomcat)
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> Helix dashboard looks with themes
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> Helix dashboard with Helix rest details
> 
> >>>
> 
> >>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]
> 
> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
> 
> >>>
> 
> >>>
> 
> >>> If any thing is not clear please let me know
> 
> >>> Thanks
> 
> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
> 
> >>>
> 
> >>> [2]
> 
> >>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
> 
> >>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
> 
> >>>
> 
> >>> [4] https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> Hi,
> 
> >>>
> 
> >>> 1. I have updated the Mock UI document as the feedback given by my mentor.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
> 
> 
> 
> 
> 
> 
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>> Is the portal on the document address the needs mentioned?
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> 2. The steps I followed next are the transitions from Mock UI ---> Static
> 
> >>> HTML ----->Angular Module
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
> 
> >>> The sample UI is not the final version. It would be \ improved graphical
> 
> >>> wise in the final versions. The given UI is the structure of the interface
> 
> >>> showing all the details that will be given to users.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ​
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ui33.png
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ​​
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ui11.png
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ​​
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ui22.png
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ​​
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ui49.png
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ​​
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ui9.png
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ​
> 
> >>> ---> hawtio plugin
> 
> >>> ​
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> plugin.png
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ​​
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> js.png
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ​
> 
> >>> As you can see in the screenshots you can find the plugin in github.
> 
> >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> You can get clone and build the dashboard. But some configurations in
> 
> >>> hawtio dashboard has to be done manually. I plan to automate it in the
> 
> >>> future.
> 
> >>>
> 
> >>> Note:
> 
> >>> I used a mock rest service since the Cross Domain Issue. To enable CORS
> 
> >>> we need to add the following headers to the response.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
> 
> >>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");
> 
> >>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
> 
> >>> responseHeaders.add("Access-Control-Max-Age", "60");
> 
> >>> In building war file, the plugin will be added to .war file. But current
> 
> >>> plugin needs to be installed to hawtio manually.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> Hi,
> 
> >>> Thanks for the comments. I will make necessary changes and update the
> 
> >>> document.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com> wrote:
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> Hi Ayola,
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> Looks good so far. I have some comments about your mockups:
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> 1. Enabling/disabling a cluster and enabling/disabling the controller are
> 
> >>> actually the same thing. What is missing is "activateCluster."
> 
> >>> activateCluster is useful when you have a cluster of controllers, and you
> 
> >>> want those controllers to manage other clusters. The controller cluster is
> 
> >>> called the "grand cluster."
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> 2. Resources are added to cluster upon creation and cannot be moved or
> 
> >>> added to other clusters afterwards. Thus, the "add to cluster" on existing
> 
> >>> resources doesn't make sense. The resources screen should allow
> 
> >>> enable/disable, read external view, read/write configs and read/write ideal
> 
> >>> state. There should also be an "add resource" button on the clusters page.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> 3. Same comment for instances. There should be an "add instance" button on
> 
> >>> the cluster pages, and on the instance page it should allow read current
> 
> >>> state, read messages, read/write configs.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> 4. There's a separate page for all configs, but it may make sense to
> 
> >>> integrate them into the configs at each scope (i.e. cluster, resource,
> 
> >>> participant).
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> 5. There should be a button on the clusters page for adding a state model
> 
> >>> definition.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> I think the overall comment is that the clusters page needs to be a portal
> 
> >>> for the rest of the dashboard, so there should be a link to all the cluster
> 
> >>> pages, and within a cluster page, there should be ways to access all the
> 
> >>> resources, instances, configs, and constraints for that cluster.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> Kanak
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>> ----------------------------------------
> 
> >>>
> 
> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
> 
> >>>
> 
> >>>> Subject: Re: [GSOC] Current Status
> 
> >>>
> 
> >>>> From: ayolajayamaha28@gmail.com
> 
> >>>
> 
> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> 
> >>>
> 
> >>>
> 
> >>>> Hi,
> 
> >>>
> 
> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created with
> 
> >>> hawtio
> 
> >>>
> 
> >>>> dashboard. A .war file can be used to deploy on any server as a separate
> 
> >>>
> 
> >>>> module. The UIs get data from the REST API. This is just initial one.
> 
> >>> They
> 
> >>>
> 
> >>>> will be developed as Angular plugin. Towards the end I will provide some
> 
> >>>
> 
> >>>> chart as well for cluster management.
> 
> >>>
> 
> >>>> Presently I'm doing the hawtio and helix integration and towards next
> 
> >>> week
> 
> >>>
> 
> >>>> I'm writing some angularjs plugins.
> 
> >>>
> 
> >>>
> 
> >>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
> 
> 
> 
> 
> 
> 
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>> Thank you.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com> wrote:
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com> wrote:
> 
> >>>
> 
> >>>
> 
> >>>>>> Local deployment is fine.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>>>> Here is the git repo that I will be using, later I will share Git
> 
> >>>
> 
> >>>>>> location (Angular plugin) that can be used in dashboard of hawtio. I
> 
> >>> will
> 
> >>>
> 
> >>>>>> blog on those as well.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>>>> The main thing we would like you to deliver is the package so that it
> 
> >>> is
> 
> >>>
> 
> >>>>>> available for anyone to deploy within their own cluster.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>>> Sure,
> 
> >>>
> 
> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war' with
> 
> >>> helix
> 
> >>>
> 
> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by anyone
> 
> >>> with
> 
> >>>
> 
> >>>>> helix rest web app (own cluster).
> 
> >>>
> 
> >>>>> I just found[1] function 'start()' line 43. I too can follow that model
> 
> >>>
> 
> >>>>> even.
> 
> >>>
> 
> >>>
> 
> >>>>> Therefore finally you will have web app as 'helix-admin-webapp' that can
> 
> >>>
> 
> >>>>> be deployed within their own cluster.
> 
> >>>
> 
> >>>
> 
> >>>>> [1]
> 
> >>>
> 
> >>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
> 
> 
> 
> 
> 
> 
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>>> [2] https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>>>> Kanak
> 
> >>>
> 
> >>>
> 
> >>>>>> ----------------------------------------
> 
> >>>
> 
> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
> 
> >>>
> 
> >>>>>>> Subject: Re: [GSOC] Current Status
> 
> >>>
> 
> >>>>>>> From: ayolajayamaha28@gmail.com
> 
> >>>
> 
> >>>>>>> To: kanak.b@hotmail.com
> 
> >>>
> 
> >>>>>>> CC: dev@helix.apache.org
> 
> >>>
> 
> >>>
> 
> >>>>>>> Hi,
> 
> >>>
> 
> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration as
> 
> >>>
> 
> >>>>>> module
> 
> >>>
> 
> >>>>>>> and plugins with angularjs in hawtio dashboard.
> 
> >>>
> 
> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and hawtio
> 
> >>>
> 
> >>>>>>> integration where should I create the headers to cater for the cross
> 
> >>>
> 
> >>>>>> domain
> 
> >>>
> 
> >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
> 
> >>>
> 
> >>>>>>> For the time being the code is in my local machine. I will commit to
> 
> >>>
> 
> >>>>>> repo
> 
> >>>
> 
> >>>>>>> tomorrow and share with you. But it is still in initial phase.
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com> wrote:
> 
> >>>
> 
> >>>
> 
> >>>>>>>> Sounds reasonable. Is your current code available in a public
> 
> >>>
> 
> >>>>>> repository?
> 
> >>>
> 
> >>>>>>>> I would be interested in taking a look if it is.
> 
> >>>
> 
> >>>
> 
> >>>>>>>> Kanak
> 
> >>>
> 
> >>>
> 
> >>>>>>>> ________________________________
> 
> >>>
> 
> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
> 
> >>>
> 
> >>>>>>>>> Subject: Re: [GSOC] Current Status
> 
> >>>
> 
> >>>>>>>>> From: ayolajayamaha28@gmail.com
> 
> >>>
> 
> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
> 
> >>>
> 
> >>>
> 
> >>>
> 
> >>>>>>>>> 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<http://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 requiri
> 
> 
> 
> -- 
> 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
> 
> 
>  		 	   		  
 		 	   		  

RE: [GSOC] Current Status

Posted by Kanak Biscuitwala <ka...@hotmail.com>.
General comments:
- Rename "Cluster Manager" and "Resource Manager" to "Clusters" and "Resources"- Rename "Simple Details," "List Details," and "Map Details" back to "Simple Fields," "List Fields," and "Map Fields"- It looks like resource info only shows ideal state. It should also show all resource-level configs and the external view- Can you display those fields within a table instead of as a bulleted list, and can you use a monospaced font?
Date: Tue, 5 Aug 2014 16:58:26 +0530
Subject: Re: [GSOC] Current Status
From: ayolajayamaha28@gmail.com
To: g.kishore@gmail.com
CC: dev@helix.apache.org; kanak.b@hotmail.com

Hi All,

Attached herewith you shall find the Screenshots of the User Interfaces upto now. (Cluster Manager and Resource Manager)
Thanks.



On 4 August 2014 04:35, Ayola Jayamaha <ay...@gmail.com> wrote:

Hi All,

Helix Cluster Manager, Resources Manager and Instances Manager Tabs in the Dashboard are updated. Hope the Layout of the dashboard is alright with you. Shall upload the Screenshots soon.




On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:


Hi Kishore,
Thanks for your interest. Any questions or difficulties I 'd be glad to answer.


Thanks



On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:



Hi Ayola
Thanks for the instructions. I will try out the instructions and give feedback.
Thanks

Kishore G
On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com> wrote:



Hi All,

Attached herewith is the Updated User Manual. You can try it with the git repo https://github.com/ayolajayamaha by getting a clone of helix and hawtio. 





Any questions don't hesitate to ask. 

Thanks


On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com> wrote:




Hi All,

I was able to resolve the issue with deploying a plugin with Tomcat.





The solution can be found in my blog post.
http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html






Thanks.


On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:





Hi All,

Attached herewith is the User Manual. However there is a small issue with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and also communicating with the hawtio community. By next week this problem will surly be resolved. And I will write on blog the necessary. 








On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:






Hi Kanak,



Ok I will send the user manual to you.



Sent from my iPhone



On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com> wrote:



> Hi Ayola,

>

> Could you write a "Getting Started" guide with step-by-step instructions on how to build and deploy the dashboard? If you already have that, could you send a link?

>

> Thanks,

> Kanak

>

>> Date: Thu, 24 Jul 2014 22:49:32 +0530

>> Subject: Re: [GSOC] Current Status

>> From: ayolajayamaha28@gmail.com

>> To: dev@helix.apache.org; kanak.b@hotmail.com

>>

>> Hi All,

>>

>> I was able to resolve the Cross Domain Issue in Helix where it arises since

>> the Rest API domain differs from the dashboard domain (ports). Currently it

>> is resolved as to allow all requests from the API. I have committed to my

>> git repo [1] in which Cluster API is resolved. I will clean the code and

>> remove any duplicates and resolve the other APIs as well.

>> More information will be found in my blog [2]. Also I'm following

>> AngularJS, Angular Directives and Angular Services. These will be helpful

>> to me to write good maintainable code for hawtio dashboard.

>>

>> [1]https://github.com/AyolaJayamaha/helix

>> [2]http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html

>>

>>

>>

>> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com> wrote:

>>

>>> In terms of the CORS pattern, I think it's just pattern matching the

>>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so if you

>>> can make it configurable, that would be good.

>>>

>>> If it simplifies your implementation and resolves the XSS issues, you can

>>> co-deploy helix-admin-webapp with your dashboard (along with any components

>>> other than helix controller or helix participant). Other than that, I don't

>>> have any specific suggestions as I'm not an expert in this.

>>>

>>> Kanak

>>>

>>> Date: Tue, 22 Jul 2014 08:26:31 +0530

>>> Subject: Re: [GSOC] Current Status

>>> From: ayolajayamaha28@gmail.com

>>> To: dev@helix.apache.org; kanak.b@hotmail.com

>>>

>>> Hi All,

>>>

>>> Currently I'm going through Charting with regard to UI components. Also

>>> I'm looking where to put the headers to enable CORS. I'm writing a simple

>>> Restlet and removing cross domain issue in that. Any suggestions? I'm going

>>> through AngularJS and writing some blog posts with regard to charting and

>>> Restlet.

>>>

>>>

>>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html

>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html

>>>

>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html

>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html

>>>

>>>

>>>

>>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com> wrote:

>>>

>>> Hi,

>>> I have added theme (css) for plugin screen shoot[2] with data[3] is

>>> attaching.

>>>

>>> Clean pom file[4] with setting up properties and dependencies. later we

>>> can move those parent pom, set the parent pom.This will build as successful

>>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am using

>>> tomcat)

>>>

>>>

>>>

>>> Helix dashboard looks with themes

>>>

>>>

>>>

>>>

>>> Helix dashboard with Helix rest details

>>>

>>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]

>>> (dashboard json).Now we have initial hawtio plugin for Helix[4].

>>>

>>>

>>> If any thing is not clear please let me know

>>> Thanks

>>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7

>>>

>>> [2]

>>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]

>>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing

>>>

>>> [4] https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard

>>>

>>>

>>>

>>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com> wrote:

>>>

>>>

>>>

>>>

>>>

>>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com> wrote:

>>>

>>>

>>>

>>> Hi,

>>>

>>> 1. I have updated the Mock UI document as the feedback given by my mentor.

>>>

>>>

>>>

>>>

>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing







>>>

>>>

>>>

>>>

>>>

>>>> Is the portal on the document address the needs mentioned?

>>>

>>>

>>>

>>>

>>> 2. The steps I followed next are the transitions from Mock UI ---> Static

>>> HTML ----->Angular Module

>>>

>>>

>>>

>>>

>>>

>>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html

>>> The sample UI is not the final version. It would be \ improved graphical

>>> wise in the final versions. The given UI is the structure of the interface

>>> showing all the details that will be given to users.

>>>

>>>

>>>

>>>

>>> ​

>>>

>>>

>>>

>>>

>>> ui33.png

>>>

>>>

>>>

>>> ​​

>>>

>>>

>>>

>>>

>>> ui11.png

>>>

>>>

>>>

>>> ​​

>>>

>>>

>>>

>>>

>>> ui22.png

>>>

>>>

>>>

>>> ​​

>>>

>>>

>>>

>>>

>>> ui49.png

>>>

>>>

>>>

>>> ​​

>>>

>>>

>>>

>>>

>>> ui9.png

>>>

>>>

>>>

>>> ​

>>> ---> hawtio plugin

>>> ​

>>>

>>>

>>>

>>>

>>> plugin.png

>>>

>>>

>>>

>>> ​​

>>>

>>>

>>>

>>>

>>> js.png

>>>

>>>

>>>

>>> ​

>>> As you can see in the screenshots you can find the plugin in github.

>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard

>>>

>>>

>>>

>>>

>>>

>>> You can get clone and build the dashboard. But some configurations in

>>> hawtio dashboard has to be done manually. I plan to automate it in the

>>> future.

>>>

>>> Note:

>>> I used a mock rest service since the Cross Domain Issue. To enable CORS

>>> we need to add the following headers to the response.

>>>

>>>

>>>

>>>

>>>

>>> responseHeaders.add("Access-Control-Allow-Origin", "*");

>>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");

>>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");

>>>

>>>

>>>

>>>

>>> responseHeaders.add("Access-Control-Allow-Credentials", "false");

>>> responseHeaders.add("Access-Control-Max-Age", "60");

>>> In building war file, the plugin will be added to .war file. But current

>>> plugin needs to be installed to hawtio manually.

>>>

>>>

>>>

>>>

>>>

>>>

>>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com> wrote:

>>>

>>>

>>>

>>>

>>> Hi,

>>> Thanks for the comments. I will make necessary changes and update the

>>> document.

>>>

>>>

>>>

>>>

>>>

>>>

>>>

>>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com> wrote:

>>>

>>>

>>>

>>>

>>>

>>> Hi Ayola,

>>>

>>>

>>>

>>> Looks good so far. I have some comments about your mockups:

>>>

>>>

>>>

>>> 1. Enabling/disabling a cluster and enabling/disabling the controller are

>>> actually the same thing. What is missing is "activateCluster."

>>> activateCluster is useful when you have a cluster of controllers, and you

>>> want those controllers to manage other clusters. The controller cluster is

>>> called the "grand cluster."

>>>

>>>

>>>

>>>

>>>

>>>

>>>

>>>

>>> 2. Resources are added to cluster upon creation and cannot be moved or

>>> added to other clusters afterwards. Thus, the "add to cluster" on existing

>>> resources doesn't make sense. The resources screen should allow

>>> enable/disable, read external view, read/write configs and read/write ideal

>>> state. There should also be an "add resource" button on the clusters page.

>>>

>>>

>>>

>>>

>>>

>>>

>>>

>>>

>>> 3. Same comment for instances. There should be an "add instance" button on

>>> the cluster pages, and on the instance page it should allow read current

>>> state, read messages, read/write configs.

>>>

>>>

>>>

>>> 4. There's a separate page for all configs, but it may make sense to

>>> integrate them into the configs at each scope (i.e. cluster, resource,

>>> participant).

>>>

>>>

>>>

>>> 5. There should be a button on the clusters page for adding a state model

>>> definition.

>>>

>>>

>>>

>>> I think the overall comment is that the clusters page needs to be a portal

>>> for the rest of the dashboard, so there should be a link to all the cluster

>>> pages, and within a cluster page, there should be ways to access all the

>>> resources, instances, configs, and constraints for that cluster.

>>>

>>>

>>>

>>>

>>>

>>>

>>>

>>>

>>> Kanak

>>>

>>>

>>>

>>> ----------------------------------------

>>>

>>>> Date: Thu, 19 Jun 2014 22:23:01 +0530

>>>

>>>> Subject: Re: [GSOC] Current Status

>>>

>>>> From: ayolajayamaha28@gmail.com

>>>

>>>> To: dev@helix.apache.org; kanak.b@hotmail.com

>>>

>>>

>>>> Hi,

>>>

>>>> Below is the Mock UIs for Apache Helix. The UIs will be created with

>>> hawtio

>>>

>>>> dashboard. A .war file can be used to deploy on any server as a separate

>>>

>>>> module. The UIs get data from the REST API. This is just initial one.

>>> They

>>>

>>>> will be developed as Angular plugin. Towards the end I will provide some

>>>

>>>> chart as well for cluster management.

>>>

>>>> Presently I'm doing the hawtio and helix integration and towards next

>>> week

>>>

>>>> I'm writing some angularjs plugins.

>>>

>>>

>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing







>>>

>>>

>>>

>>>

>>>

>>>

>>>> Thank you.

>>>

>>>

>>>

>>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com> wrote:

>>>

>>>

>>>

>>>

>>>

>>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com> wrote:

>>>

>>>

>>>>>> Local deployment is fine.

>>>

>>>

>>>

>>>

>>>>>> Here is the git repo that I will be using, later I will share Git

>>>

>>>>>> location (Angular plugin) that can be used in dashboard of hawtio. I

>>> will

>>>

>>>>>> blog on those as well.

>>>

>>>

>>>

>>>

>>>

>>>>>> The main thing we would like you to deliver is the package so that it

>>> is

>>>

>>>>>> available for anyone to deploy within their own cluster.

>>>

>>>

>>>

>>>>> Sure,

>>>

>>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war' with

>>> helix

>>>

>>>>> dashboard. This war can be host any server (tomcat etc.. ) by anyone

>>> with

>>>

>>>>> helix rest web app (own cluster).

>>>

>>>>> I just found[1] function 'start()' line 43. I too can follow that model

>>>

>>>>> even.

>>>

>>>

>>>>> Therefore finally you will have web app as 'helix-admin-webapp' that can

>>>

>>>>> be deployed within their own cluster.

>>>

>>>

>>>>> [1]

>>>

>>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java







>>>

>>>

>>>

>>>

>>>

>>>

>>>>> [2] https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard

>>>

>>>

>>>

>>>

>>>>>> Kanak

>>>

>>>

>>>>>> ----------------------------------------

>>>

>>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530

>>>

>>>>>>> Subject: Re: [GSOC] Current Status

>>>

>>>>>>> From: ayolajayamaha28@gmail.com

>>>

>>>>>>> To: kanak.b@hotmail.com

>>>

>>>>>>> CC: dev@helix.apache.org

>>>

>>>

>>>>>>> Hi,

>>>

>>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration as

>>>

>>>>>> module

>>>

>>>>>>> and plugins with angularjs in hawtio dashboard.

>>>

>>>>>>> Upto now I'm almost created the mock UIs. And in helix and hawtio

>>>

>>>>>>> integration where should I create the headers to cater for the cross

>>>

>>>>>> domain

>>>

>>>>>>> issue and if I'm deploying the .war file where can I deploy it?

>>>

>>>>>>> For the time being the code is in my local machine. I will commit to

>>>

>>>>>> repo

>>>

>>>>>>> tomorrow and share with you. But it is still in initial phase.

>>>

>>>

>>>

>>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com> wrote:

>>>

>>>

>>>>>>>> Sounds reasonable. Is your current code available in a public

>>>

>>>>>> repository?

>>>

>>>>>>>> I would be interested in taking a look if it is.

>>>

>>>

>>>>>>>> Kanak

>>>

>>>

>>>>>>>> ________________________________

>>>

>>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530

>>>

>>>>>>>>> Subject: Re: [GSOC] Current Status

>>>

>>>>>>>>> From: ayolajayamaha28@gmail.com

>>>

>>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com

>>>

>>>

>>>

>>>>>>>>> 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<http://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 requiri



-- 
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


 		 	   		  

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,

Attached herewith you shall find the Screenshots of the User Interfaces
upto now. (Cluster Manager and Resource Manager)
Thanks.


On 4 August 2014 04:35, Ayola Jayamaha <ay...@gmail.com> wrote:

> Hi All,
>
> Helix Cluster Manager, Resources Manager and Instances Manager Tabs in the
> Dashboard are updated. Hope the Layout of the dashboard is alright with
> you. Shall upload the Screenshots soon.
>
>
> On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>> Hi Kishore,
>>
>> Thanks for your interest. Any questions or difficulties I 'd be glad to
>> answer.
>>
>> Thanks
>>
>>
>>
>> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
>>
>> Hi Ayola
>>
>> Thanks for the instructions. I will try out the instructions and give
>> feedback.
>>
>> Thanks
>> Kishore G
>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> Attached herewith is the Updated User Manual. You can try it with the
>>> git repo https://github.com/ayolajayamaha by getting a clone of helix
>>> and hawtio.
>>>
>>> Any questions don't hesitate to ask.
>>>
>>> Thanks
>>>
>>>
>>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>>>
>>>> The solution can be found in my blog post.
>>>>
>>>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> Attached herewith is the User Manual. However there is a small issue
>>>>> with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and
>>>>> also communicating with the hawtio community. By next week this problem
>>>>> will surly be resolved. And I will write on blog the necessary.
>>>>>
>>>>>
>>>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Kanak,
>>>>>>
>>>>>> Ok I will send the user manual to you.
>>>>>>
>>>>>> Sent from my iPhone
>>>>>>
>>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <
>>>>>> kanak.b@hotmail.com> wrote:
>>>>>>
>>>>>> > Hi Ayola,
>>>>>> >
>>>>>> > Could you write a "Getting Started" guide with step-by-step
>>>>>> instructions on how to build and deploy the dashboard? If you already have
>>>>>> that, could you send a link?
>>>>>> >
>>>>>> > Thanks,
>>>>>> > Kanak
>>>>>> >
>>>>>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>>>>> >> Subject: Re: [GSOC] Current Status
>>>>>> >> From: ayolajayamaha28@gmail.com
>>>>>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>> >>
>>>>>> >> Hi All,
>>>>>> >>
>>>>>> >> I was able to resolve the Cross Domain Issue in Helix where it
>>>>>> arises since
>>>>>> >> the Rest API domain differs from the dashboard domain (ports).
>>>>>> Currently it
>>>>>> >> is resolved as to allow all requests from the API. I have
>>>>>> committed to my
>>>>>> >> git repo [1] in which Cluster API is resolved. I will clean the
>>>>>> code and
>>>>>> >> remove any duplicates and resolve the other APIs as well.
>>>>>> >> More information will be found in my blog [2]. Also I'm following
>>>>>> >> AngularJS, Angular Directives and Angular Services. These will be
>>>>>> helpful
>>>>>> >> to me to write good maintainable code for hawtio dashboard.
>>>>>> >>
>>>>>> >> [1]https://github.com/AyolaJayamaha/helix
>>>>>> >> [2]
>>>>>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>>>>> >>
>>>>>> >>
>>>>>> >>
>>>>>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>> wrote:
>>>>>> >>
>>>>>> >>> In terms of the CORS pattern, I think it's just pattern matching
>>>>>> the
>>>>>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so
>>>>>> if you
>>>>>> >>> can make it configurable, that would be good.
>>>>>> >>>
>>>>>> >>> If it simplifies your implementation and resolves the XSS issues,
>>>>>> you can
>>>>>> >>> co-deploy helix-admin-webapp with your dashboard (along with any
>>>>>> components
>>>>>> >>> other than helix controller or helix participant). Other than
>>>>>> that, I don't
>>>>>> >>> have any specific suggestions as I'm not an expert in this.
>>>>>> >>>
>>>>>> >>> Kanak
>>>>>> >>>
>>>>>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>>>>> >>> Subject: Re: [GSOC] Current Status
>>>>>> >>> From: ayolajayamaha28@gmail.com
>>>>>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>> >>>
>>>>>> >>> Hi All,
>>>>>> >>>
>>>>>> >>> Currently I'm going through Charting with regard to UI
>>>>>> components. Also
>>>>>> >>> I'm looking where to put the headers to enable CORS. I'm writing
>>>>>> a simple
>>>>>> >>> Restlet and removing cross domain issue in that. Any suggestions?
>>>>>> I'm going
>>>>>> >>> through AngularJS and writing some blog posts with regard to
>>>>>> charting and
>>>>>> >>> Restlet.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>>>>> >>>
>>>>>> >>>
>>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>>>>> >>>
>>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>> Hi,
>>>>>> >>> I have added theme (css) for plugin screen shoot[2] with data[3]
>>>>>> is
>>>>>> >>> attaching.
>>>>>> >>>
>>>>>> >>> Clean pom file[4] with setting up properties and dependencies.
>>>>>> later we
>>>>>> >>> can move those parent pom, set the parent pom.This will build as
>>>>>> successful
>>>>>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I
>>>>>> am using
>>>>>> >>> tomcat)
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Helix dashboard looks with themes
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Helix dashboard with Helix rest details
>>>>>> >>>
>>>>>> >>> Here I am sharing 'gist' that I used for hawtio dashboard
>>>>>> install[1]
>>>>>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> If any thing is not clear please let me know
>>>>>> >>> Thanks
>>>>>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>>>>> >>>
>>>>>> >>> [2]
>>>>>> >>>
>>>>>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>>>>> >>>
>>>>>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>>>>> >>>
>>>>>> >>> [4]
>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Hi,
>>>>>> >>>
>>>>>> >>> 1. I have updated the Mock UI document as the feedback given by
>>>>>> my mentor.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>> Is the portal on the document address the needs mentioned?
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 2. The steps I followed next are the transitions from Mock UI
>>>>>> ---> Static
>>>>>> >>> HTML ----->Angular Module
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>
>>>>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>>>>> >>> The sample UI is not the final version. It would be \ improved
>>>>>> graphical
>>>>>> >>> wise in the final versions. The given UI is the structure of the
>>>>>> interface
>>>>>> >>> showing all the details that will be given to users.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui33.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui11.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui22.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui49.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ui9.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​
>>>>>> >>> ---> hawtio plugin
>>>>>> >>> ​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> plugin.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​​
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> js.png
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ​
>>>>>> >>> As you can see in the screenshots you can find the plugin in
>>>>>> github.
>>>>>> >>>
>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> You can get clone and build the dashboard. But some
>>>>>> configurations in
>>>>>> >>> hawtio dashboard has to be done manually. I plan to automate it
>>>>>> in the
>>>>>> >>> future.
>>>>>> >>>
>>>>>> >>> Note:
>>>>>> >>> I used a mock rest service since the Cross Domain Issue. To
>>>>>> enable CORS
>>>>>> >>> we need to add the following headers to the response.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>>>>> >>> responseHeaders.add("Access-Control-Allow-Methods",
>>>>>> "POST,OPTIONS");
>>>>>> >>> responseHeaders.add("Access-Control-Allow-Headers",
>>>>>> "Content-Type");
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>>>>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>>>>>> >>> In building war file, the plugin will be added to .war file. But
>>>>>> current
>>>>>> >>> plugin needs to be installed to hawtio manually.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Hi,
>>>>>> >>> Thanks for the comments. I will make necessary changes and update
>>>>>> the
>>>>>> >>> document.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Hi Ayola,
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Looks good so far. I have some comments about your mockups:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 1. Enabling/disabling a cluster and enabling/disabling the
>>>>>> controller are
>>>>>> >>> actually the same thing. What is missing is "activateCluster."
>>>>>> >>> activateCluster is useful when you have a cluster of controllers,
>>>>>> and you
>>>>>> >>> want those controllers to manage other clusters. The controller
>>>>>> cluster is
>>>>>> >>> called the "grand cluster."
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 2. Resources are added to cluster upon creation and cannot be
>>>>>> moved or
>>>>>> >>> added to other clusters afterwards. Thus, the "add to cluster" on
>>>>>> existing
>>>>>> >>> resources doesn't make sense. The resources screen should allow
>>>>>> >>> enable/disable, read external view, read/write configs and
>>>>>> read/write ideal
>>>>>> >>> state. There should also be an "add resource" button on the
>>>>>> clusters page.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 3. Same comment for instances. There should be an "add instance"
>>>>>> button on
>>>>>> >>> the cluster pages, and on the instance page it should allow read
>>>>>> current
>>>>>> >>> state, read messages, read/write configs.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 4. There's a separate page for all configs, but it may make sense
>>>>>> to
>>>>>> >>> integrate them into the configs at each scope (i.e. cluster,
>>>>>> resource,
>>>>>> >>> participant).
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> 5. There should be a button on the clusters page for adding a
>>>>>> state model
>>>>>> >>> definition.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> I think the overall comment is that the clusters page needs to be
>>>>>> a portal
>>>>>> >>> for the rest of the dashboard, so there should be a link to all
>>>>>> the cluster
>>>>>> >>> pages, and within a cluster page, there should be ways to access
>>>>>> all the
>>>>>> >>> resources, instances, configs, and constraints for that cluster.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> Kanak
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>> ----------------------------------------
>>>>>> >>>
>>>>>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>>>>> >>>
>>>>>> >>>> Subject: Re: [GSOC] Current Status
>>>>>> >>>
>>>>>> >>>> From: ayolajayamaha28@gmail.com
>>>>>> >>>
>>>>>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>> Hi,
>>>>>> >>>
>>>>>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created
>>>>>> with
>>>>>> >>> hawtio
>>>>>> >>>
>>>>>> >>>> dashboard. A .war file can be used to deploy on any server as a
>>>>>> separate
>>>>>> >>>
>>>>>> >>>> module. The UIs get data from the REST API. This is just initial
>>>>>> one.
>>>>>> >>> They
>>>>>> >>>
>>>>>> >>>> will be developed as Angular plugin. Towards the end I will
>>>>>> provide some
>>>>>> >>>
>>>>>> >>>> chart as well for cluster management.
>>>>>> >>>
>>>>>> >>>> Presently I'm doing the hawtio and helix integration and towards
>>>>>> next
>>>>>> >>> week
>>>>>> >>>
>>>>>> >>>> I'm writing some angularjs plugins.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>> Thank you.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> Local deployment is fine.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> Here is the git repo that I will be using, later I will share
>>>>>> Git
>>>>>> >>>
>>>>>> >>>>>> location (Angular plugin) that can be used in dashboard of
>>>>>> hawtio. I
>>>>>> >>> will
>>>>>> >>>
>>>>>> >>>>>> blog on those as well.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> The main thing we would like you to deliver is the package so
>>>>>> that it
>>>>>> >>> is
>>>>>> >>>
>>>>>> >>>>>> available for anyone to deploy within their own cluster.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> Sure,
>>>>>> >>>
>>>>>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war'
>>>>>> with
>>>>>> >>> helix
>>>>>> >>>
>>>>>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by
>>>>>> anyone
>>>>>> >>> with
>>>>>> >>>
>>>>>> >>>>> helix rest web app (own cluster).
>>>>>> >>>
>>>>>> >>>>> I just found[1] function 'start()' line 43. I too can follow
>>>>>> that model
>>>>>> >>>
>>>>>> >>>>> even.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> Therefore finally you will have web app as 'helix-admin-webapp'
>>>>>> that can
>>>>>> >>>
>>>>>> >>>>> be deployed within their own cluster.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> [1]
>>>>>> >>>
>>>>>> >>>
>>>>>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>> [2]
>>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> Kanak
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>> ----------------------------------------
>>>>>> >>>
>>>>>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>>>>> >>>
>>>>>> >>>>>>> Subject: Re: [GSOC] Current Status
>>>>>> >>>
>>>>>> >>>>>>> From: ayolajayamaha28@gmail.com
>>>>>> >>>
>>>>>> >>>>>>> To: kanak.b@hotmail.com
>>>>>> >>>
>>>>>> >>>>>>> CC: dev@helix.apache.org
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>> Hi,
>>>>>> >>>
>>>>>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io
>>>>>> integration as
>>>>>> >>>
>>>>>> >>>>>> module
>>>>>> >>>
>>>>>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>>>>>> >>>
>>>>>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and
>>>>>> hawtio
>>>>>> >>>
>>>>>> >>>>>>> integration where should I create the headers to cater for
>>>>>> the cross
>>>>>> >>>
>>>>>> >>>>>> domain
>>>>>> >>>
>>>>>> >>>>>>> issue and if I'm deploying the .war file where can I deploy
>>>>>> it?
>>>>>> >>>
>>>>>> >>>>>>> For the time being the code is in my local machine. I will
>>>>>> commit to
>>>>>> >>>
>>>>>> >>>>>> repo
>>>>>> >>>
>>>>>> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com>
>>>>>> wrote:
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>>> Sounds reasonable. Is your current code available in a public
>>>>>> >>>
>>>>>> >>>>>> repository?
>>>>>> >>>
>>>>>> >>>>>>>> I would be interested in taking a look if it is.
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>>> Kanak
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>>> ________________________________
>>>>>> >>>
>>>>>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>>>>> >>>
>>>>>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>>> >>>
>>>>>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>>> >>>
>>>>>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>
>>>>>> >>>>>>>>> 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<http://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 requiri
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,

Helix Cluster Manager, Resources Manager and Instances Manager Tabs in the
Dashboard are updated. Hope the Layout of the dashboard is alright with
you. Shall upload the Screenshots soon.


On 3 August 2014 06:38, Ayola Jayamaha <ay...@gmail.com> wrote:

> Hi Kishore,
>
> Thanks for your interest. Any questions or difficulties I 'd be glad to
> answer.
>
> Thanks
>
>
>
> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
>
> Hi Ayola
>
> Thanks for the instructions. I will try out the instructions and give
> feedback.
>
> Thanks
> Kishore G
> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com>
> wrote:
>
>> Hi All,
>>
>> Attached herewith is the Updated User Manual. You can try it with the git
>> repo https://github.com/ayolajayamaha by getting a clone of helix and
>> hawtio.
>>
>> Any questions don't hesitate to ask.
>>
>> Thanks
>>
>>
>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>>
>>> The solution can be found in my blog post.
>>>
>>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>>
>>> Thanks.
>>>
>>>
>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>
>>>> Hi All,
>>>>
>>>> Attached herewith is the User Manual. However there is a small issue
>>>> with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and
>>>> also communicating with the hawtio community. By next week this problem
>>>> will surly be resolved. And I will write on blog the necessary.
>>>>
>>>>
>>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi Kanak,
>>>>>
>>>>> Ok I will send the user manual to you.
>>>>>
>>>>> Sent from my iPhone
>>>>>
>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <
>>>>> kanak.b@hotmail.com> wrote:
>>>>>
>>>>> > Hi Ayola,
>>>>> >
>>>>> > Could you write a "Getting Started" guide with step-by-step
>>>>> instructions on how to build and deploy the dashboard? If you already have
>>>>> that, could you send a link?
>>>>> >
>>>>> > Thanks,
>>>>> > Kanak
>>>>> >
>>>>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>>>> >> Subject: Re: [GSOC] Current Status
>>>>> >> From: ayolajayamaha28@gmail.com
>>>>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>> >>
>>>>> >> Hi All,
>>>>> >>
>>>>> >> I was able to resolve the Cross Domain Issue in Helix where it
>>>>> arises since
>>>>> >> the Rest API domain differs from the dashboard domain (ports).
>>>>> Currently it
>>>>> >> is resolved as to allow all requests from the API. I have committed
>>>>> to my
>>>>> >> git repo [1] in which Cluster API is resolved. I will clean the
>>>>> code and
>>>>> >> remove any duplicates and resolve the other APIs as well.
>>>>> >> More information will be found in my blog [2]. Also I'm following
>>>>> >> AngularJS, Angular Directives and Angular Services. These will be
>>>>> helpful
>>>>> >> to me to write good maintainable code for hawtio dashboard.
>>>>> >>
>>>>> >> [1]https://github.com/AyolaJayamaha/helix
>>>>> >> [2]
>>>>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com>
>>>>> wrote:
>>>>> >>
>>>>> >>> In terms of the CORS pattern, I think it's just pattern matching
>>>>> the
>>>>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so
>>>>> if you
>>>>> >>> can make it configurable, that would be good.
>>>>> >>>
>>>>> >>> If it simplifies your implementation and resolves the XSS issues,
>>>>> you can
>>>>> >>> co-deploy helix-admin-webapp with your dashboard (along with any
>>>>> components
>>>>> >>> other than helix controller or helix participant). Other than
>>>>> that, I don't
>>>>> >>> have any specific suggestions as I'm not an expert in this.
>>>>> >>>
>>>>> >>> Kanak
>>>>> >>>
>>>>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>>>> >>> Subject: Re: [GSOC] Current Status
>>>>> >>> From: ayolajayamaha28@gmail.com
>>>>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>> >>>
>>>>> >>> Hi All,
>>>>> >>>
>>>>> >>> Currently I'm going through Charting with regard to UI components.
>>>>> Also
>>>>> >>> I'm looking where to put the headers to enable CORS. I'm writing a
>>>>> simple
>>>>> >>> Restlet and removing cross domain issue in that. Any suggestions?
>>>>> I'm going
>>>>> >>> through AngularJS and writing some blog posts with regard to
>>>>> charting and
>>>>> >>> Restlet.
>>>>> >>>
>>>>> >>>
>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>>>> >>>
>>>>> >>>
>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>>>> >>>
>>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>> Hi,
>>>>> >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
>>>>> >>> attaching.
>>>>> >>>
>>>>> >>> Clean pom file[4] with setting up properties and dependencies.
>>>>> later we
>>>>> >>> can move those parent pom, set the parent pom.This will build as
>>>>> successful
>>>>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am
>>>>> using
>>>>> >>> tomcat)
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Helix dashboard looks with themes
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Helix dashboard with Helix rest details
>>>>> >>>
>>>>> >>> Here I am sharing 'gist' that I used for hawtio dashboard
>>>>> install[1]
>>>>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>>>> >>>
>>>>> >>>
>>>>> >>> If any thing is not clear please let me know
>>>>> >>> Thanks
>>>>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>>>> >>>
>>>>> >>> [2]
>>>>> >>>
>>>>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>>>> >>>
>>>>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>>>> >>>
>>>>> >>> [4]
>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Hi,
>>>>> >>>
>>>>> >>> 1. I have updated the Mock UI document as the feedback given by my
>>>>> mentor.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>> Is the portal on the document address the needs mentioned?
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 2. The steps I followed next are the transitions from Mock UI --->
>>>>> Static
>>>>> >>> HTML ----->Angular Module
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>
>>>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>>>> >>> The sample UI is not the final version. It would be \ improved
>>>>> graphical
>>>>> >>> wise in the final versions. The given UI is the structure of the
>>>>> interface
>>>>> >>> showing all the details that will be given to users.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui33.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui11.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui22.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui49.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui9.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​
>>>>> >>> ---> hawtio plugin
>>>>> >>> ​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> plugin.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> js.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​
>>>>> >>> As you can see in the screenshots you can find the plugin in
>>>>> github.
>>>>> >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> You can get clone and build the dashboard. But some configurations
>>>>> in
>>>>> >>> hawtio dashboard has to be done manually. I plan to automate it in
>>>>> the
>>>>> >>> future.
>>>>> >>>
>>>>> >>> Note:
>>>>> >>> I used a mock rest service since the Cross Domain Issue. To enable
>>>>> CORS
>>>>> >>> we need to add the following headers to the response.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>>>> >>> responseHeaders.add("Access-Control-Allow-Methods",
>>>>> "POST,OPTIONS");
>>>>> >>> responseHeaders.add("Access-Control-Allow-Headers",
>>>>> "Content-Type");
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>>>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>>>>> >>> In building war file, the plugin will be added to .war file. But
>>>>> current
>>>>> >>> plugin needs to be installed to hawtio manually.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Hi,
>>>>> >>> Thanks for the comments. I will make necessary changes and update
>>>>> the
>>>>> >>> document.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Hi Ayola,
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Looks good so far. I have some comments about your mockups:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 1. Enabling/disabling a cluster and enabling/disabling the
>>>>> controller are
>>>>> >>> actually the same thing. What is missing is "activateCluster."
>>>>> >>> activateCluster is useful when you have a cluster of controllers,
>>>>> and you
>>>>> >>> want those controllers to manage other clusters. The controller
>>>>> cluster is
>>>>> >>> called the "grand cluster."
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 2. Resources are added to cluster upon creation and cannot be
>>>>> moved or
>>>>> >>> added to other clusters afterwards. Thus, the "add to cluster" on
>>>>> existing
>>>>> >>> resources doesn't make sense. The resources screen should allow
>>>>> >>> enable/disable, read external view, read/write configs and
>>>>> read/write ideal
>>>>> >>> state. There should also be an "add resource" button on the
>>>>> clusters page.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 3. Same comment for instances. There should be an "add instance"
>>>>> button on
>>>>> >>> the cluster pages, and on the instance page it should allow read
>>>>> current
>>>>> >>> state, read messages, read/write configs.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 4. There's a separate page for all configs, but it may make sense
>>>>> to
>>>>> >>> integrate them into the configs at each scope (i.e. cluster,
>>>>> resource,
>>>>> >>> participant).
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 5. There should be a button on the clusters page for adding a
>>>>> state model
>>>>> >>> definition.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> I think the overall comment is that the clusters page needs to be
>>>>> a portal
>>>>> >>> for the rest of the dashboard, so there should be a link to all
>>>>> the cluster
>>>>> >>> pages, and within a cluster page, there should be ways to access
>>>>> all the
>>>>> >>> resources, instances, configs, and constraints for that cluster.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Kanak
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ----------------------------------------
>>>>> >>>
>>>>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>>>> >>>
>>>>> >>>> Subject: Re: [GSOC] Current Status
>>>>> >>>
>>>>> >>>> From: ayolajayamaha28@gmail.com
>>>>> >>>
>>>>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>> >>>
>>>>> >>>
>>>>> >>>> Hi,
>>>>> >>>
>>>>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created
>>>>> with
>>>>> >>> hawtio
>>>>> >>>
>>>>> >>>> dashboard. A .war file can be used to deploy on any server as a
>>>>> separate
>>>>> >>>
>>>>> >>>> module. The UIs get data from the REST API. This is just initial
>>>>> one.
>>>>> >>> They
>>>>> >>>
>>>>> >>>> will be developed as Angular plugin. Towards the end I will
>>>>> provide some
>>>>> >>>
>>>>> >>>> chart as well for cluster management.
>>>>> >>>
>>>>> >>>> Presently I'm doing the hawtio and helix integration and towards
>>>>> next
>>>>> >>> week
>>>>> >>>
>>>>> >>>> I'm writing some angularjs plugins.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>> Thank you.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> Local deployment is fine.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> Here is the git repo that I will be using, later I will share
>>>>> Git
>>>>> >>>
>>>>> >>>>>> location (Angular plugin) that can be used in dashboard of
>>>>> hawtio. I
>>>>> >>> will
>>>>> >>>
>>>>> >>>>>> blog on those as well.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> The main thing we would like you to deliver is the package so
>>>>> that it
>>>>> >>> is
>>>>> >>>
>>>>> >>>>>> available for anyone to deploy within their own cluster.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>> Sure,
>>>>> >>>
>>>>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war'
>>>>> with
>>>>> >>> helix
>>>>> >>>
>>>>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by
>>>>> anyone
>>>>> >>> with
>>>>> >>>
>>>>> >>>>> helix rest web app (own cluster).
>>>>> >>>
>>>>> >>>>> I just found[1] function 'start()' line 43. I too can follow
>>>>> that model
>>>>> >>>
>>>>> >>>>> even.
>>>>> >>>
>>>>> >>>
>>>>> >>>>> Therefore finally you will have web app as 'helix-admin-webapp'
>>>>> that can
>>>>> >>>
>>>>> >>>>> be deployed within their own cluster.
>>>>> >>>
>>>>> >>>
>>>>> >>>>> [1]
>>>>> >>>
>>>>> >>>
>>>>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>> [2]
>>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> Kanak
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> ----------------------------------------
>>>>> >>>
>>>>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>>>> >>>
>>>>> >>>>>>> Subject: Re: [GSOC] Current Status
>>>>> >>>
>>>>> >>>>>>> From: ayolajayamaha28@gmail.com
>>>>> >>>
>>>>> >>>>>>> To: kanak.b@hotmail.com
>>>>> >>>
>>>>> >>>>>>> CC: dev@helix.apache.org
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>> Hi,
>>>>> >>>
>>>>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io
>>>>> integration as
>>>>> >>>
>>>>> >>>>>> module
>>>>> >>>
>>>>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>>>>> >>>
>>>>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and
>>>>> hawtio
>>>>> >>>
>>>>> >>>>>>> integration where should I create the headers to cater for the
>>>>> cross
>>>>> >>>
>>>>> >>>>>> domain
>>>>> >>>
>>>>> >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
>>>>> >>>
>>>>> >>>>>>> For the time being the code is in my local machine. I will
>>>>> commit to
>>>>> >>>
>>>>> >>>>>> repo
>>>>> >>>
>>>>> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com>
>>>>> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>>> Sounds reasonable. Is your current code available in a public
>>>>> >>>
>>>>> >>>>>> repository?
>>>>> >>>
>>>>> >>>>>>>> I would be interested in taking a look if it is.
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>>> Kanak
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>>> ________________________________
>>>>> >>>
>>>>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>>>> >>>
>>>>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>> >>>
>>>>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>> >>>
>>>>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>>>> 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<http://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 requiri
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi Kishore,

Thanks for your interest. Any questions or difficulties I 'd be glad to answer.

Thanks



> On 2014 අගෝ 2, at ප.ව. 10.24, kishore g <g....@gmail.com> wrote:
> 
> Hi Ayola
> 
> Thanks for the instructions. I will try out the instructions and give feedback.
> 
> Thanks
> Kishore G
> 
>> On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com> wrote:
>> Hi All,
>> 
>> Attached herewith is the Updated User Manual. You can try it with the git repo https://github.com/ayolajayamaha by getting a clone of helix and hawtio. 
>> 
>> Any questions don't hesitate to ask. 
>> 
>> Thanks
>> 
>> 
>>> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com> wrote:
>>> Hi All,
>>> 
>>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>> 
>>> The solution can be found in my blog post.
>>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>> 
>>> Thanks.
>>> 
>>> 
>>>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>> Hi All,
>>>> 
>>>> Attached herewith is the User Manual. However there is a small issue with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and also communicating with the hawtio community. By next week this problem will surly be resolved. And I will write on blog the necessary. 
>>>> 
>>>> 
>>>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>> Hi Kanak,
>>>>> 
>>>>> Ok I will send the user manual to you.
>>>>> 
>>>>> Sent from my iPhone
>>>>> 
>>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>> 
>>>>> > Hi Ayola,
>>>>> >
>>>>> > Could you write a "Getting Started" guide with step-by-step instructions on how to build and deploy the dashboard? If you already have that, could you send a link?
>>>>> >
>>>>> > Thanks,
>>>>> > Kanak
>>>>> >
>>>>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>>>> >> Subject: Re: [GSOC] Current Status
>>>>> >> From: ayolajayamaha28@gmail.com
>>>>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>> >>
>>>>> >> Hi All,
>>>>> >>
>>>>> >> I was able to resolve the Cross Domain Issue in Helix where it arises since
>>>>> >> the Rest API domain differs from the dashboard domain (ports). Currently it
>>>>> >> is resolved as to allow all requests from the API. I have committed to my
>>>>> >> git repo [1] in which Cluster API is resolved. I will clean the code and
>>>>> >> remove any duplicates and resolve the other APIs as well.
>>>>> >> More information will be found in my blog [2]. Also I'm following
>>>>> >> AngularJS, Angular Directives and Angular Services. These will be helpful
>>>>> >> to me to write good maintainable code for hawtio dashboard.
>>>>> >>
>>>>> >> [1]https://github.com/AyolaJayamaha/helix
>>>>> >> [2]http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>>>> >>
>>>>> >>
>>>>> >>
>>>>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>> >>
>>>>> >>> In terms of the CORS pattern, I think it's just pattern matching the
>>>>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so if you
>>>>> >>> can make it configurable, that would be good.
>>>>> >>>
>>>>> >>> If it simplifies your implementation and resolves the XSS issues, you can
>>>>> >>> co-deploy helix-admin-webapp with your dashboard (along with any components
>>>>> >>> other than helix controller or helix participant). Other than that, I don't
>>>>> >>> have any specific suggestions as I'm not an expert in this.
>>>>> >>>
>>>>> >>> Kanak
>>>>> >>>
>>>>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>>>> >>> Subject: Re: [GSOC] Current Status
>>>>> >>> From: ayolajayamaha28@gmail.com
>>>>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>> >>>
>>>>> >>> Hi All,
>>>>> >>>
>>>>> >>> Currently I'm going through Charting with regard to UI components. Also
>>>>> >>> I'm looking where to put the headers to enable CORS. I'm writing a simple
>>>>> >>> Restlet and removing cross domain issue in that. Any suggestions? I'm going
>>>>> >>> through AngularJS and writing some blog posts with regard to charting and
>>>>> >>> Restlet.
>>>>> >>>
>>>>> >>>
>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>>>> >>>
>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>> >>>
>>>>> >>> Hi,
>>>>> >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
>>>>> >>> attaching.
>>>>> >>>
>>>>> >>> Clean pom file[4] with setting up properties and dependencies. later we
>>>>> >>> can move those parent pom, set the parent pom.This will build as successful
>>>>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am using
>>>>> >>> tomcat)
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Helix dashboard looks with themes
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Helix dashboard with Helix rest details
>>>>> >>>
>>>>> >>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]
>>>>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>>>> >>>
>>>>> >>>
>>>>> >>> If any thing is not clear please let me know
>>>>> >>> Thanks
>>>>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>>>> >>>
>>>>> >>> [2]
>>>>> >>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>>>> >>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>>>> >>>
>>>>> >>> [4] https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Hi,
>>>>> >>>
>>>>> >>> 1. I have updated the Mock UI document as the feedback given by my mentor.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>> Is the portal on the document address the needs mentioned?
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 2. The steps I followed next are the transitions from Mock UI ---> Static
>>>>> >>> HTML ----->Angular Module
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>>>> >>> The sample UI is not the final version. It would be \ improved graphical
>>>>> >>> wise in the final versions. The given UI is the structure of the interface
>>>>> >>> showing all the details that will be given to users.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui33.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui11.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui22.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui49.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ui9.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​
>>>>> >>> ---> hawtio plugin
>>>>> >>> ​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> plugin.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​​
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> js.png
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ​
>>>>> >>> As you can see in the screenshots you can find the plugin in github.
>>>>> >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> You can get clone and build the dashboard. But some configurations in
>>>>> >>> hawtio dashboard has to be done manually. I plan to automate it in the
>>>>> >>> future.
>>>>> >>>
>>>>> >>> Note:
>>>>> >>> I used a mock rest service since the Cross Domain Issue. To enable CORS
>>>>> >>> we need to add the following headers to the response.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>>>> >>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");
>>>>> >>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>>>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>>>>> >>> In building war file, the plugin will be added to .war file. But current
>>>>> >>> plugin needs to be installed to hawtio manually.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Hi,
>>>>> >>> Thanks for the comments. I will make necessary changes and update the
>>>>> >>> document.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Hi Ayola,
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Looks good so far. I have some comments about your mockups:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 1. Enabling/disabling a cluster and enabling/disabling the controller are
>>>>> >>> actually the same thing. What is missing is "activateCluster."
>>>>> >>> activateCluster is useful when you have a cluster of controllers, and you
>>>>> >>> want those controllers to manage other clusters. The controller cluster is
>>>>> >>> called the "grand cluster."
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 2. Resources are added to cluster upon creation and cannot be moved or
>>>>> >>> added to other clusters afterwards. Thus, the "add to cluster" on existing
>>>>> >>> resources doesn't make sense. The resources screen should allow
>>>>> >>> enable/disable, read external view, read/write configs and read/write ideal
>>>>> >>> state. There should also be an "add resource" button on the clusters page.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 3. Same comment for instances. There should be an "add instance" button on
>>>>> >>> the cluster pages, and on the instance page it should allow read current
>>>>> >>> state, read messages, read/write configs.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 4. There's a separate page for all configs, but it may make sense to
>>>>> >>> integrate them into the configs at each scope (i.e. cluster, resource,
>>>>> >>> participant).
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> 5. There should be a button on the clusters page for adding a state model
>>>>> >>> definition.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> I think the overall comment is that the clusters page needs to be a portal
>>>>> >>> for the rest of the dashboard, so there should be a link to all the cluster
>>>>> >>> pages, and within a cluster page, there should be ways to access all the
>>>>> >>> resources, instances, configs, and constraints for that cluster.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> Kanak
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>> ----------------------------------------
>>>>> >>>
>>>>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>>>> >>>
>>>>> >>>> Subject: Re: [GSOC] Current Status
>>>>> >>>
>>>>> >>>> From: ayolajayamaha28@gmail.com
>>>>> >>>
>>>>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>> >>>
>>>>> >>>
>>>>> >>>> Hi,
>>>>> >>>
>>>>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created with
>>>>> >>> hawtio
>>>>> >>>
>>>>> >>>> dashboard. A .war file can be used to deploy on any server as a separate
>>>>> >>>
>>>>> >>>> module. The UIs get data from the REST API. This is just initial one.
>>>>> >>> They
>>>>> >>>
>>>>> >>>> will be developed as Angular plugin. Towards the end I will provide some
>>>>> >>>
>>>>> >>>> chart as well for cluster management.
>>>>> >>>
>>>>> >>>> Presently I'm doing the hawtio and helix integration and towards next
>>>>> >>> week
>>>>> >>>
>>>>> >>>> I'm writing some angularjs plugins.
>>>>> >>>
>>>>> >>>
>>>>> >>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>> Thank you.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> Local deployment is fine.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> Here is the git repo that I will be using, later I will share Git
>>>>> >>>
>>>>> >>>>>> location (Angular plugin) that can be used in dashboard of hawtio. I
>>>>> >>> will
>>>>> >>>
>>>>> >>>>>> blog on those as well.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> The main thing we would like you to deliver is the package so that it
>>>>> >>> is
>>>>> >>>
>>>>> >>>>>> available for anyone to deploy within their own cluster.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>> Sure,
>>>>> >>>
>>>>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war' with
>>>>> >>> helix
>>>>> >>>
>>>>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by anyone
>>>>> >>> with
>>>>> >>>
>>>>> >>>>> helix rest web app (own cluster).
>>>>> >>>
>>>>> >>>>> I just found[1] function 'start()' line 43. I too can follow that model
>>>>> >>>
>>>>> >>>>> even.
>>>>> >>>
>>>>> >>>
>>>>> >>>>> Therefore finally you will have web app as 'helix-admin-webapp' that can
>>>>> >>>
>>>>> >>>>> be deployed within their own cluster.
>>>>> >>>
>>>>> >>>
>>>>> >>>>> [1]
>>>>> >>>
>>>>> >>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>> [2] https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> Kanak
>>>>> >>>
>>>>> >>>
>>>>> >>>>>> ----------------------------------------
>>>>> >>>
>>>>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>>>> >>>
>>>>> >>>>>>> Subject: Re: [GSOC] Current Status
>>>>> >>>
>>>>> >>>>>>> From: ayolajayamaha28@gmail.com
>>>>> >>>
>>>>> >>>>>>> To: kanak.b@hotmail.com
>>>>> >>>
>>>>> >>>>>>> CC: dev@helix.apache.org
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>> Hi,
>>>>> >>>
>>>>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration as
>>>>> >>>
>>>>> >>>>>> module
>>>>> >>>
>>>>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>>>>> >>>
>>>>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and hawtio
>>>>> >>>
>>>>> >>>>>>> integration where should I create the headers to cater for the cross
>>>>> >>>
>>>>> >>>>>> domain
>>>>> >>>
>>>>> >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
>>>>> >>>
>>>>> >>>>>>> For the time being the code is in my local machine. I will commit to
>>>>> >>>
>>>>> >>>>>> repo
>>>>> >>>
>>>>> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>>> Sounds reasonable. Is your current code available in a public
>>>>> >>>
>>>>> >>>>>> repository?
>>>>> >>>
>>>>> >>>>>>>> I would be interested in taking a look if it is.
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>>> Kanak
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>>> ________________________________
>>>>> >>>
>>>>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>>>> >>>
>>>>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>>>>> >>>
>>>>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>>>>> >>>
>>>>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>>> >>>
>>>>> >>>
>>>>> >>>
>>>>> >>>>>>>>> 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<http://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 requiri
>>>> 
>>>> 
>>>> 
>>>> -- 
>>>> Best Regards,
>>>> Ayola Jayamaha
>>>> 
>>>> http://ayolajayamaha.blogspot.com
>>> 
>>> 
>>> 
>>> -- 
>>> Best Regards,
>>> Ayola Jayamaha
>>> 
>>> http://ayolajayamaha.blogspot.com
>> 
>> 
>> 
>> -- 
>> Best Regards,
>> Ayola Jayamaha
>> 
>> http://ayolajayamaha.blogspot.com

Re: [GSOC] Current Status

Posted by kishore g <g....@gmail.com>.
Hi Ayola

Thanks for the instructions. I will try out the instructions and give
feedback.

Thanks
Kishore G
On Aug 2, 2014 9:01 AM, "Ayola Jayamaha" <ay...@gmail.com> wrote:

> Hi All,
>
> Attached herewith is the Updated User Manual. You can try it with the git
> repo https://github.com/ayolajayamaha by getting a clone of helix and
> hawtio.
>
> Any questions don't hesitate to ask.
>
> Thanks
>
>
> On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>> Hi All,
>>
>> I was able to resolve the issue with deploying a plugin with Tomcat.
>>
>> The solution can be found in my blog post.
>>
>> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>>
>> Thanks.
>>
>>
>> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>>> Hi All,
>>>
>>> Attached herewith is the User Manual. However there is a small issue
>>> with deploying the plugin(.war file). I'm trying with tomcat, fabric8 and
>>> also communicating with the hawtio community. By next week this problem
>>> will surly be resolved. And I will write on blog the necessary.
>>>
>>>
>>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:
>>>
>>>> Hi Kanak,
>>>>
>>>> Ok I will send the user manual to you.
>>>>
>>>> Sent from my iPhone
>>>>
>>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com>
>>>> wrote:
>>>>
>>>> > Hi Ayola,
>>>> >
>>>> > Could you write a "Getting Started" guide with step-by-step
>>>> instructions on how to build and deploy the dashboard? If you already have
>>>> that, could you send a link?
>>>> >
>>>> > Thanks,
>>>> > Kanak
>>>> >
>>>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>>> >> Subject: Re: [GSOC] Current Status
>>>> >> From: ayolajayamaha28@gmail.com
>>>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>> >>
>>>> >> Hi All,
>>>> >>
>>>> >> I was able to resolve the Cross Domain Issue in Helix where it
>>>> arises since
>>>> >> the Rest API domain differs from the dashboard domain (ports).
>>>> Currently it
>>>> >> is resolved as to allow all requests from the API. I have committed
>>>> to my
>>>> >> git repo [1] in which Cluster API is resolved. I will clean the code
>>>> and
>>>> >> remove any duplicates and resolve the other APIs as well.
>>>> >> More information will be found in my blog [2]. Also I'm following
>>>> >> AngularJS, Angular Directives and Angular Services. These will be
>>>> helpful
>>>> >> to me to write good maintainable code for hawtio dashboard.
>>>> >>
>>>> >> [1]https://github.com/AyolaJayamaha/helix
>>>> >> [2]
>>>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>>> >>
>>>> >>
>>>> >>
>>>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com>
>>>> wrote:
>>>> >>
>>>> >>> In terms of the CORS pattern, I think it's just pattern matching the
>>>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so
>>>> if you
>>>> >>> can make it configurable, that would be good.
>>>> >>>
>>>> >>> If it simplifies your implementation and resolves the XSS issues,
>>>> you can
>>>> >>> co-deploy helix-admin-webapp with your dashboard (along with any
>>>> components
>>>> >>> other than helix controller or helix participant). Other than that,
>>>> I don't
>>>> >>> have any specific suggestions as I'm not an expert in this.
>>>> >>>
>>>> >>> Kanak
>>>> >>>
>>>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>>> >>> Subject: Re: [GSOC] Current Status
>>>> >>> From: ayolajayamaha28@gmail.com
>>>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>> >>>
>>>> >>> Hi All,
>>>> >>>
>>>> >>> Currently I'm going through Charting with regard to UI components.
>>>> Also
>>>> >>> I'm looking where to put the headers to enable CORS. I'm writing a
>>>> simple
>>>> >>> Restlet and removing cross domain issue in that. Any suggestions?
>>>> I'm going
>>>> >>> through AngularJS and writing some blog posts with regard to
>>>> charting and
>>>> >>> Restlet.
>>>> >>>
>>>> >>>
>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>>> >>>
>>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>>> >>>
>>>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
>>>> wrote:
>>>> >>>
>>>> >>> Hi,
>>>> >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
>>>> >>> attaching.
>>>> >>>
>>>> >>> Clean pom file[4] with setting up properties and dependencies.
>>>> later we
>>>> >>> can move those parent pom, set the parent pom.This will build as
>>>> successful
>>>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am
>>>> using
>>>> >>> tomcat)
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Helix dashboard looks with themes
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Helix dashboard with Helix rest details
>>>> >>>
>>>> >>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]
>>>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>>> >>>
>>>> >>>
>>>> >>> If any thing is not clear please let me know
>>>> >>> Thanks
>>>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>>> >>>
>>>> >>> [2]
>>>> >>>
>>>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>>> >>>
>>>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>>> >>>
>>>> >>> [4]
>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
>>>> wrote:
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
>>>> wrote:
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Hi,
>>>> >>>
>>>> >>> 1. I have updated the Mock UI document as the feedback given by my
>>>> mentor.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>> Is the portal on the document address the needs mentioned?
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> 2. The steps I followed next are the transitions from Mock UI --->
>>>> Static
>>>> >>> HTML ----->Angular Module
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>>
>>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>>> >>> The sample UI is not the final version. It would be \ improved
>>>> graphical
>>>> >>> wise in the final versions. The given UI is the structure of the
>>>> interface
>>>> >>> showing all the details that will be given to users.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ​
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ui33.png
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ​​
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ui11.png
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ​​
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ui22.png
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ​​
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ui49.png
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ​​
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ui9.png
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ​
>>>> >>> ---> hawtio plugin
>>>> >>> ​
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> plugin.png
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ​​
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> js.png
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ​
>>>> >>> As you can see in the screenshots you can find the plugin in github.
>>>> >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> You can get clone and build the dashboard. But some configurations
>>>> in
>>>> >>> hawtio dashboard has to be done manually. I plan to automate it in
>>>> the
>>>> >>> future.
>>>> >>>
>>>> >>> Note:
>>>> >>> I used a mock rest service since the Cross Domain Issue. To enable
>>>> CORS
>>>> >>> we need to add the following headers to the response.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>>> >>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");
>>>> >>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>>>> >>> In building war file, the plugin will be added to .war file. But
>>>> current
>>>> >>> plugin needs to be installed to hawtio manually.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
>>>> wrote:
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Hi,
>>>> >>> Thanks for the comments. I will make necessary changes and update
>>>> the
>>>> >>> document.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
>>>> wrote:
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Hi Ayola,
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Looks good so far. I have some comments about your mockups:
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> 1. Enabling/disabling a cluster and enabling/disabling the
>>>> controller are
>>>> >>> actually the same thing. What is missing is "activateCluster."
>>>> >>> activateCluster is useful when you have a cluster of controllers,
>>>> and you
>>>> >>> want those controllers to manage other clusters. The controller
>>>> cluster is
>>>> >>> called the "grand cluster."
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> 2. Resources are added to cluster upon creation and cannot be moved
>>>> or
>>>> >>> added to other clusters afterwards. Thus, the "add to cluster" on
>>>> existing
>>>> >>> resources doesn't make sense. The resources screen should allow
>>>> >>> enable/disable, read external view, read/write configs and
>>>> read/write ideal
>>>> >>> state. There should also be an "add resource" button on the
>>>> clusters page.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> 3. Same comment for instances. There should be an "add instance"
>>>> button on
>>>> >>> the cluster pages, and on the instance page it should allow read
>>>> current
>>>> >>> state, read messages, read/write configs.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> 4. There's a separate page for all configs, but it may make sense to
>>>> >>> integrate them into the configs at each scope (i.e. cluster,
>>>> resource,
>>>> >>> participant).
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> 5. There should be a button on the clusters page for adding a state
>>>> model
>>>> >>> definition.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> I think the overall comment is that the clusters page needs to be a
>>>> portal
>>>> >>> for the rest of the dashboard, so there should be a link to all the
>>>> cluster
>>>> >>> pages, and within a cluster page, there should be ways to access
>>>> all the
>>>> >>> resources, instances, configs, and constraints for that cluster.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> Kanak
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>> ----------------------------------------
>>>> >>>
>>>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>>> >>>
>>>> >>>> Subject: Re: [GSOC] Current Status
>>>> >>>
>>>> >>>> From: ayolajayamaha28@gmail.com
>>>> >>>
>>>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>> >>>
>>>> >>>
>>>> >>>> Hi,
>>>> >>>
>>>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created
>>>> with
>>>> >>> hawtio
>>>> >>>
>>>> >>>> dashboard. A .war file can be used to deploy on any server as a
>>>> separate
>>>> >>>
>>>> >>>> module. The UIs get data from the REST API. This is just initial
>>>> one.
>>>> >>> They
>>>> >>>
>>>> >>>> will be developed as Angular plugin. Towards the end I will
>>>> provide some
>>>> >>>
>>>> >>>> chart as well for cluster management.
>>>> >>>
>>>> >>>> Presently I'm doing the hawtio and helix integration and towards
>>>> next
>>>> >>> week
>>>> >>>
>>>> >>>> I'm writing some angularjs plugins.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>> Thank you.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com>
>>>> wrote:
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
>>>> wrote:
>>>> >>>
>>>> >>>
>>>> >>>>>> Local deployment is fine.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>>>> Here is the git repo that I will be using, later I will share Git
>>>> >>>
>>>> >>>>>> location (Angular plugin) that can be used in dashboard of
>>>> hawtio. I
>>>> >>> will
>>>> >>>
>>>> >>>>>> blog on those as well.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>>>> The main thing we would like you to deliver is the package so
>>>> that it
>>>> >>> is
>>>> >>>
>>>> >>>>>> available for anyone to deploy within their own cluster.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>>> Sure,
>>>> >>>
>>>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war'
>>>> with
>>>> >>> helix
>>>> >>>
>>>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by
>>>> anyone
>>>> >>> with
>>>> >>>
>>>> >>>>> helix rest web app (own cluster).
>>>> >>>
>>>> >>>>> I just found[1] function 'start()' line 43. I too can follow that
>>>> model
>>>> >>>
>>>> >>>>> even.
>>>> >>>
>>>> >>>
>>>> >>>>> Therefore finally you will have web app as 'helix-admin-webapp'
>>>> that can
>>>> >>>
>>>> >>>>> be deployed within their own cluster.
>>>> >>>
>>>> >>>
>>>> >>>>> [1]
>>>> >>>
>>>> >>>
>>>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>>> [2]
>>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>>>> Kanak
>>>> >>>
>>>> >>>
>>>> >>>>>> ----------------------------------------
>>>> >>>
>>>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>>> >>>
>>>> >>>>>>> Subject: Re: [GSOC] Current Status
>>>> >>>
>>>> >>>>>>> From: ayolajayamaha28@gmail.com
>>>> >>>
>>>> >>>>>>> To: kanak.b@hotmail.com
>>>> >>>
>>>> >>>>>>> CC: dev@helix.apache.org
>>>> >>>
>>>> >>>
>>>> >>>>>>> Hi,
>>>> >>>
>>>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration
>>>> as
>>>> >>>
>>>> >>>>>> module
>>>> >>>
>>>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>>>> >>>
>>>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and
>>>> hawtio
>>>> >>>
>>>> >>>>>>> integration where should I create the headers to cater for the
>>>> cross
>>>> >>>
>>>> >>>>>> domain
>>>> >>>
>>>> >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
>>>> >>>
>>>> >>>>>>> For the time being the code is in my local machine. I will
>>>> commit to
>>>> >>>
>>>> >>>>>> repo
>>>> >>>
>>>> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com>
>>>> wrote:
>>>> >>>
>>>> >>>
>>>> >>>>>>>> Sounds reasonable. Is your current code available in a public
>>>> >>>
>>>> >>>>>> repository?
>>>> >>>
>>>> >>>>>>>> I would be interested in taking a look if it is.
>>>> >>>
>>>> >>>
>>>> >>>>>>>> Kanak
>>>> >>>
>>>> >>>
>>>> >>>>>>>> ________________________________
>>>> >>>
>>>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>>> >>>
>>>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>>>> >>>
>>>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>>>> >>>
>>>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>>> >>>
>>>> >>>
>>>> >>>
>>>> >>>>>>>>> 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<http://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 requiri
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Ayola Jayamaha
>>>
>>> http://ayolajayamaha.blogspot.com
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Ayola Jayamaha
>>
>> http://ayolajayamaha.blogspot.com
>>
>
>
>
> --
> Best Regards,
> Ayola Jayamaha
>
> http://ayolajayamaha.blogspot.com
>

Re: [GSOC] Current Status

Posted by Ayola Jayamaha <ay...@gmail.com>.
Hi All,

Attached herewith is the Updated User Manual. You can try it with the git
repo https://github.com/ayolajayamaha by getting a clone of helix and
hawtio.

Any questions don't hesitate to ask.

Thanks


On 1 August 2014 12:19, Ayola Jayamaha <ay...@gmail.com> wrote:

> Hi All,
>
> I was able to resolve the issue with deploying a plugin with Tomcat.
>
> The solution can be found in my blog post.
>
> http://ayolajayamaha.blogspot.com/2014/08/deploying-hawtio-plugin-in-apache-tomcat.html
>
> Thanks.
>
>
> On 31 July 2014 22:30, Ayola Jayamaha <ay...@gmail.com> wrote:
>
>> Hi All,
>>
>> Attached herewith is the User Manual. However there is a small issue with
>> deploying the plugin(.war file). I'm trying with tomcat, fabric8 and also
>> communicating with the hawtio community. By next week this problem will
>> surly be resolved. And I will write on blog the necessary.
>>
>>
>> On 27 July 2014 07:03, Ayola Jayamaha <ay...@gmail.com> wrote:
>>
>>> Hi Kanak,
>>>
>>> Ok I will send the user manual to you.
>>>
>>> Sent from my iPhone
>>>
>>> On 2014 ජූලි 26, at පෙ.ව. 11.57, Kanak Biscuitwala <ka...@hotmail.com>
>>> wrote:
>>>
>>> > Hi Ayola,
>>> >
>>> > Could you write a "Getting Started" guide with step-by-step
>>> instructions on how to build and deploy the dashboard? If you already have
>>> that, could you send a link?
>>> >
>>> > Thanks,
>>> > Kanak
>>> >
>>> >> Date: Thu, 24 Jul 2014 22:49:32 +0530
>>> >> Subject: Re: [GSOC] Current Status
>>> >> From: ayolajayamaha28@gmail.com
>>> >> To: dev@helix.apache.org; kanak.b@hotmail.com
>>> >>
>>> >> Hi All,
>>> >>
>>> >> I was able to resolve the Cross Domain Issue in Helix where it arises
>>> since
>>> >> the Rest API domain differs from the dashboard domain (ports).
>>> Currently it
>>> >> is resolved as to allow all requests from the API. I have committed
>>> to my
>>> >> git repo [1] in which Cluster API is resolved. I will clean the code
>>> and
>>> >> remove any duplicates and resolve the other APIs as well.
>>> >> More information will be found in my blog [2]. Also I'm following
>>> >> AngularJS, Angular Directives and Angular Services. These will be
>>> helpful
>>> >> to me to write good maintainable code for hawtio dashboard.
>>> >>
>>> >> [1]https://github.com/AyolaJayamaha/helix
>>> >> [2]
>>> http://ayolajayamaha.blogspot.com/2014/07/enable-cors-in-restlet-21.html
>>> >>
>>> >>
>>> >>
>>> >> On 23 July 2014 03:25, Kanak Biscuitwala <ka...@hotmail.com> wrote:
>>> >>
>>> >>> In terms of the CORS pattern, I think it's just pattern matching the
>>> >>> origin headers (i.e. Origin with Access-Control-Allow-Origin), so if
>>> you
>>> >>> can make it configurable, that would be good.
>>> >>>
>>> >>> If it simplifies your implementation and resolves the XSS issues,
>>> you can
>>> >>> co-deploy helix-admin-webapp with your dashboard (along with any
>>> components
>>> >>> other than helix controller or helix participant). Other than that,
>>> I don't
>>> >>> have any specific suggestions as I'm not an expert in this.
>>> >>>
>>> >>> Kanak
>>> >>>
>>> >>> Date: Tue, 22 Jul 2014 08:26:31 +0530
>>> >>> Subject: Re: [GSOC] Current Status
>>> >>> From: ayolajayamaha28@gmail.com
>>> >>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>> >>>
>>> >>> Hi All,
>>> >>>
>>> >>> Currently I'm going through Charting with regard to UI components.
>>> Also
>>> >>> I'm looking where to put the headers to enable CORS. I'm writing a
>>> simple
>>> >>> Restlet and removing cross domain issue in that. Any suggestions?
>>> I'm going
>>> >>> through AngularJS and writing some blog posts with regard to
>>> charting and
>>> >>> Restlet.
>>> >>>
>>> >>>
>>> >>> http://ayolajayamaha.blogspot.com/2014/07/restlet.html
>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-charts.html
>>> >>>
>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-pie-charts.html
>>> >>> http://ayolajayamaha.blogspot.com/2014/07/angularjs-line-charts.html
>>> >>>
>>> >>>
>>> >>>
>>> >>> On 27 June 2014 18:00, Ayola Jayamaha <ay...@gmail.com>
>>> wrote:
>>> >>>
>>> >>> Hi,
>>> >>> I have added theme (css) for plugin screen shoot[2] with data[3] is
>>> >>> attaching.
>>> >>>
>>> >>> Clean pom file[4] with setting up properties and dependencies. later
>>> we
>>> >>> can move those parent pom, set the parent pom.This will build as
>>> successful
>>> >>> and sample-1.5-SNAPSHOT.war file can be host any web server. (I am
>>> using
>>> >>> tomcat)
>>> >>>
>>> >>>
>>> >>>
>>> >>> Helix dashboard looks with themes
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> Helix dashboard with Helix rest details
>>> >>>
>>> >>> Here I am sharing 'gist' that I used for hawtio dashboard install[1]
>>> >>> (dashboard json).Now we have initial hawtio plugin for Helix[4].
>>> >>>
>>> >>>
>>> >>> If any thing is not clear please let me know
>>> >>> Thanks
>>> >>> [1] https://gist.github.com/AyolaJayamaha/f54d3178516e8c4875b7
>>> >>>
>>> >>> [2]
>>> >>>
>>> https://docs.google.com/file/d/0ByWGexlJqMwbTVNBSC1nM09ON1U/edit?pli=1[3]
>>> >>>
>>> https://drive.google.com/file/d/0ByWGexlJqMwbWGZDRENXaV9obm8/edit?usp=sharing
>>> >>>
>>> >>> [4]
>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>> >>>
>>> >>>
>>> >>>
>>> >>> On 26 June 2014 17:02, Ayola Jayamaha <ay...@gmail.com>
>>> wrote:
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> On 26 June 2014 10:07, Ayola Jayamaha <ay...@gmail.com>
>>> wrote:
>>> >>>
>>> >>>
>>> >>>
>>> >>> Hi,
>>> >>>
>>> >>> 1. I have updated the Mock UI document as the feedback given by my
>>> mentor.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>> Is the portal on the document address the needs mentioned?
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> 2. The steps I followed next are the transitions from Mock UI --->
>>> Static
>>> >>> HTML ----->Angular Module
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>>
>>> http://ayolajayamaha.blogspot.com/2014/06/simple-ui-with-angularjs.html
>>> >>> The sample UI is not the final version. It would be \ improved
>>> graphical
>>> >>> wise in the final versions. The given UI is the structure of the
>>> interface
>>> >>> showing all the details that will be given to users.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> ​
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> ui33.png
>>> >>>
>>> >>>
>>> >>>
>>> >>> ​​
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> ui11.png
>>> >>>
>>> >>>
>>> >>>
>>> >>> ​​
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> ui22.png
>>> >>>
>>> >>>
>>> >>>
>>> >>> ​​
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> ui49.png
>>> >>>
>>> >>>
>>> >>>
>>> >>> ​​
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> ui9.png
>>> >>>
>>> >>>
>>> >>>
>>> >>> ​
>>> >>> ---> hawtio plugin
>>> >>> ​
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> plugin.png
>>> >>>
>>> >>>
>>> >>>
>>> >>> ​​
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> js.png
>>> >>>
>>> >>>
>>> >>>
>>> >>> ​
>>> >>> As you can see in the screenshots you can find the plugin in github.
>>> >>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> You can get clone and build the dashboard. But some configurations in
>>> >>> hawtio dashboard has to be done manually. I plan to automate it in
>>> the
>>> >>> future.
>>> >>>
>>> >>> Note:
>>> >>> I used a mock rest service since the Cross Domain Issue. To enable
>>> CORS
>>> >>> we need to add the following headers to the response.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> responseHeaders.add("Access-Control-Allow-Origin", "*");
>>> >>> responseHeaders.add("Access-Control-Allow-Methods", "POST,OPTIONS");
>>> >>> responseHeaders.add("Access-Control-Allow-Headers", "Content-Type");
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> responseHeaders.add("Access-Control-Allow-Credentials", "false");
>>> >>> responseHeaders.add("Access-Control-Max-Age", "60");
>>> >>> In building war file, the plugin will be added to .war file. But
>>> current
>>> >>> plugin needs to be installed to hawtio manually.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> On 20 June 2014 21:31, Ayola Jayamaha <ay...@gmail.com>
>>> wrote:
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> Hi,
>>> >>> Thanks for the comments. I will make necessary changes and update the
>>> >>> document.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> On 20 June 2014 02:41, Kanak Biscuitwala <ka...@hotmail.com>
>>> wrote:
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> Hi Ayola,
>>> >>>
>>> >>>
>>> >>>
>>> >>> Looks good so far. I have some comments about your mockups:
>>> >>>
>>> >>>
>>> >>>
>>> >>> 1. Enabling/disabling a cluster and enabling/disabling the
>>> controller are
>>> >>> actually the same thing. What is missing is "activateCluster."
>>> >>> activateCluster is useful when you have a cluster of controllers,
>>> and you
>>> >>> want those controllers to manage other clusters. The controller
>>> cluster is
>>> >>> called the "grand cluster."
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> 2. Resources are added to cluster upon creation and cannot be moved
>>> or
>>> >>> added to other clusters afterwards. Thus, the "add to cluster" on
>>> existing
>>> >>> resources doesn't make sense. The resources screen should allow
>>> >>> enable/disable, read external view, read/write configs and
>>> read/write ideal
>>> >>> state. There should also be an "add resource" button on the clusters
>>> page.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> 3. Same comment for instances. There should be an "add instance"
>>> button on
>>> >>> the cluster pages, and on the instance page it should allow read
>>> current
>>> >>> state, read messages, read/write configs.
>>> >>>
>>> >>>
>>> >>>
>>> >>> 4. There's a separate page for all configs, but it may make sense to
>>> >>> integrate them into the configs at each scope (i.e. cluster,
>>> resource,
>>> >>> participant).
>>> >>>
>>> >>>
>>> >>>
>>> >>> 5. There should be a button on the clusters page for adding a state
>>> model
>>> >>> definition.
>>> >>>
>>> >>>
>>> >>>
>>> >>> I think the overall comment is that the clusters page needs to be a
>>> portal
>>> >>> for the rest of the dashboard, so there should be a link to all the
>>> cluster
>>> >>> pages, and within a cluster page, there should be ways to access all
>>> the
>>> >>> resources, instances, configs, and constraints for that cluster.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>> Kanak
>>> >>>
>>> >>>
>>> >>>
>>> >>> ----------------------------------------
>>> >>>
>>> >>>> Date: Thu, 19 Jun 2014 22:23:01 +0530
>>> >>>
>>> >>>> Subject: Re: [GSOC] Current Status
>>> >>>
>>> >>>> From: ayolajayamaha28@gmail.com
>>> >>>
>>> >>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>> >>>
>>> >>>
>>> >>>> Hi,
>>> >>>
>>> >>>> Below is the Mock UIs for Apache Helix. The UIs will be created with
>>> >>> hawtio
>>> >>>
>>> >>>> dashboard. A .war file can be used to deploy on any server as a
>>> separate
>>> >>>
>>> >>>> module. The UIs get data from the REST API. This is just initial
>>> one.
>>> >>> They
>>> >>>
>>> >>>> will be developed as Angular plugin. Towards the end I will provide
>>> some
>>> >>>
>>> >>>> chart as well for cluster management.
>>> >>>
>>> >>>> Presently I'm doing the hawtio and helix integration and towards
>>> next
>>> >>> week
>>> >>>
>>> >>>> I'm writing some angularjs plugins.
>>> >>>
>>> >>>
>>> >>>
>>> https://docs.google.com/document/d/177-drFSIBOh_aln25v-gpka9TNW8TFmJifLRdVptxz8/edit?usp=sharing
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>> Thank you.
>>> >>>
>>> >>>
>>> >>>
>>> >>>> On 19 June 2014 13:14, Ayola Jayamaha <ay...@gmail.com>
>>> wrote:
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>>> On 19 June 2014 01:38, Kanak Biscuitwala <ka...@hotmail.com>
>>> wrote:
>>> >>>
>>> >>>
>>> >>>>>> Local deployment is fine.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>>>> Here is the git repo that I will be using, later I will share Git
>>> >>>
>>> >>>>>> location (Angular plugin) that can be used in dashboard of
>>> hawtio. I
>>> >>> will
>>> >>>
>>> >>>>>> blog on those as well.
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>>>> The main thing we would like you to deliver is the package so
>>> that it
>>> >>> is
>>> >>>
>>> >>>>>> available for anyone to deploy within their own cluster.
>>> >>>
>>> >>>
>>> >>>
>>> >>>>> Sure,
>>> >>>
>>> >>>>> helix-dashboard[2] module will build 'sample-1.5-SNAPSHOT.war' with
>>> >>> helix
>>> >>>
>>> >>>>> dashboard. This war can be host any server (tomcat etc.. ) by
>>> anyone
>>> >>> with
>>> >>>
>>> >>>>> helix rest web app (own cluster).
>>> >>>
>>> >>>>> I just found[1] function 'start()' line 43. I too can follow that
>>> model
>>> >>>
>>> >>>>> even.
>>> >>>
>>> >>>
>>> >>>>> Therefore finally you will have web app as 'helix-admin-webapp'
>>> that can
>>> >>>
>>> >>>>> be deployed within their own cluster.
>>> >>>
>>> >>>
>>> >>>>> [1]
>>> >>>
>>> >>>
>>> https://github.com/AyolaJayamaha/helix/blob/master/helix-admin-webapp/src/main/java/org/apache/helix/webapp/HelixAdminWebApp.java
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>>> [2]
>>> https://github.com/AyolaJayamaha/helix/tree/master/helix-dashboard
>>> >>>
>>> >>>
>>> >>>
>>> >>>
>>> >>>>>> Kanak
>>> >>>
>>> >>>
>>> >>>>>> ----------------------------------------
>>> >>>
>>> >>>>>>> Date: Wed, 18 Jun 2014 22:30:43 +0530
>>> >>>
>>> >>>>>>> Subject: Re: [GSOC] Current Status
>>> >>>
>>> >>>>>>> From: ayolajayamaha28@gmail.com
>>> >>>
>>> >>>>>>> To: kanak.b@hotmail.com
>>> >>>
>>> >>>>>>> CC: dev@helix.apache.org
>>> >>>
>>> >>>
>>> >>>>>>> Hi,
>>> >>>
>>> >>>>>>> Currently I'm creating mock UIs, helix and hawt.io integration
>>> as
>>> >>>
>>> >>>>>> module
>>> >>>
>>> >>>>>>> and plugins with angularjs in hawtio dashboard.
>>> >>>
>>> >>>>>>> Upto now I'm almost created the mock UIs. And in helix and hawtio
>>> >>>
>>> >>>>>>> integration where should I create the headers to cater for the
>>> cross
>>> >>>
>>> >>>>>> domain
>>> >>>
>>> >>>>>>> issue and if I'm deploying the .war file where can I deploy it?
>>> >>>
>>> >>>>>>> For the time being the code is in my local machine. I will
>>> commit to
>>> >>>
>>> >>>>>> repo
>>> >>>
>>> >>>>>>> tomorrow and share with you. But it is still in initial phase.
>>> >>>
>>> >>>
>>> >>>
>>> >>>>>>> On 18 June 2014 09:53, Kanak Biscuitwala <ka...@hotmail.com>
>>> wrote:
>>> >>>
>>> >>>
>>> >>>>>>>> Sounds reasonable. Is your current code available in a public
>>> >>>
>>> >>>>>> repository?
>>> >>>
>>> >>>>>>>> I would be interested in taking a look if it is.
>>> >>>
>>> >>>
>>> >>>>>>>> Kanak
>>> >>>
>>> >>>
>>> >>>>>>>> ________________________________
>>> >>>
>>> >>>>>>>>> Date: Wed, 18 Jun 2014 09:31:40 +0530
>>> >>>
>>> >>>>>>>>> Subject: Re: [GSOC] Current Status
>>> >>>
>>> >>>>>>>>> From: ayolajayamaha28@gmail.com
>>> >>>
>>> >>>>>>>>> To: dev@helix.apache.org; kanak.b@hotmail.com
>>> >>>
>>> >>>
>>> >>>
>>> >>>>>>>>> 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<http://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 requiri
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Ayola Jayamaha
>>
>> http://ayolajayamaha.blogspot.com
>>
>
>
>
> --
> Best Regards,
> Ayola Jayamaha
>
> http://ayolajayamaha.blogspot.com
>



-- 
Best Regards,
Ayola Jayamaha

http://ayolajayamaha.blogspot.com