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