Hi All,

We have come up with a mockup design for showing the 'commit logs
statistics' [1] and 'build statistics' [2] in App Factory. We would like to
have your feed backs on these designs.

1.
https://www.justinmind.com/usernote/tests/12597285/12597288/12597302/index.html#/screens/d12245cc-1680-458d-89dd-4f0d7fb22724

2.
https://www.justinmind.com/usernote/tests/12597285/12597288/12597486/index.html#/screens/d12245cc-1680-458d-89dd-4f0d7fb22724

Thanks.



Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.


On Fri, Sep 5, 2014 at 9:38 AM, Gayan Dhanushka <gay...@wso2.com> wrote:

> Hi Iqbal,
>
> Currently we have START, SUCCESS and FAIL status. If you closely have a
> look you can see that *appBuildStream *is a private variable which
> defines a data stream, not a method. For each of these data stream
> definitions, there are publish methods in the BamDataPublisher.java class.
>
> Thanks
> Gayan
>
>
> On Thu, Sep 4, 2014 at 2:22 PM, Iqbal Irham <iq...@wso2.com> wrote:
>
>> Hi Gayan,
>>
>> Thank you very much for the reply.
>> We are in the process of identifying the Build statuses which we are
>> going to get from BAM.
>> In the java code(BamDataPublisher.java) i found a method
>> *appBuildStream.*
>> As i highlighted below there is a String for Status.
>> Please help us to find out what are the status values(i.e
>> success,fail,Pending,Aborted) it's publishing.
>>
>> 'payloadData':["+
>>             "    {'name':'applicationName','type':'string'},"+
>>             "    {'name':'applicationKey','type':'string'},"+
>>             "    {'name':'applicationVersion','type':'string'},"+
>>             "    {'name':'timeStamp','type':'double'},"+
>>             "    {'name':'tenantId', 'type':'string'},"+
>>             "    *{'name':'status', 'type':'string'}*,"+
>>             "    {'name':'buildId', 'type':'string'},"+
>>             "    {'name':'revision', 'type':'string'},"+
>>             "    {'name':'user',  'type':'string' }"+
>>             "    ];
>>
>> Thanks
>>
>>
>>
>> On Thu, Sep 4, 2014 at 1:57 PM, Gayan Dhanushka <gay...@wso2.com> wrote:
>>
>>> Hi Pirinthapan,
>>>
>>> I believe you want to visualize the number of builds and commits in the
>>> per each day inside an application in App Factory. For this we already
>>> collect the build and commit data. We collect the build data through App
>>> Factory and commits data through a git post commit hook [1]. Please note
>>> that we have multiple activity points in App Factory from where the events
>>> are published to BAM. So the data that you are looking for is already being
>>> published.
>>>
>>> [1]
>>> https://svn.wso2.org/repos/wso2/scratch/appfactory_2.0.0/products/appfactory/2.0.1/vmware/appfactory_deployment_s4/resources/configs/jenkins.groovy
>>>
>>> Regards
>>> Gayan
>>>
>>>
>>> On Thu, Sep 4, 2014 at 11:11 AM, Pirinthapan Mahendran <
>>> pirintha...@wso2.com> wrote:
>>>
>>>> Hi Gayan,
>>>>
>>>> We went through the 'BamDataPublisher' class [1]. In this class the
>>>> publish events are available for App creation, App version, Tenant user,
>>>> App user, App issue and App build. But we need the data for 'Commit logs'
>>>> as well. So do we need to create an event to publish these commit logs?
>>>>
>>>> 1.
>>>> https://svn.wso2.org/repos/wso2/scratch/appfactory_2.0.0/components/appfac/org.wso2.carbon.appfactory.bam.integration/2.0.1/src/main/java/org/wso2/carbon/appfactory/bam/integration/BamDataPublisher.java
>>>>
>>>> Thanks.
>>>>
>>>> Mahendran Pirinthapan
>>>> Software Engineer | WSO2 Inc.
>>>> Mobile +94772378732.
>>>>
>>>
>>>
>>>
>>> --
>>> Gayan Dhanuska
>>> Software Engineer
>>> http://wso2.com/
>>> Lean Enterprise Middleware
>>>
>>> Mobile
>>> 071 666 2327
>>>
>>> Office
>>> Tel   : 94 11 214 5345
>>> Fax  : 94 11 214 5300
>>>
>>> Twitter : https://twitter.com/gayanlggd
>>>
>>
>>
>>
>> --
>> Irham Iqbal
>> Software Engineer - Test Automation
>>  WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>> phone: +94 777888452
>>
>
>
>
> --
> Gayan Dhanuska
> Software Engineer
> http://wso2.com/
> Lean Enterprise Middleware
>
> Mobile
> 071 666 2327
>
> Office
> Tel   : 94 11 214 5345
> Fax  : 94 11 214 5300
>
> Twitter : https://twitter.com/gayanlggd
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to