Re: [Dev] Obtain objects from a list returned by java method, using a jaggery app

2016-04-28 Thread Pirinthapan Mahendran
Hi Sabra,

You can find the similar use case in [1].

1.
https://github.com/wso2/app-cloud/blob/master/modules/jaggeryapps/appmgt/src/modules/application/application.jag#L868

Thanks.



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

On Thu, Apr 28, 2016 at 1:52 PM, Sabra Ossen  wrote:

> Hi All,
>
> How do I obtain the objects from a list, returned by a java method, using
> a jaggery app. Following "getAllVersionsOfApplication()" is the static java
> method that returns the version objects list and a version object contains
> the fields versionName and status.
>
> var versionList = 
> ApplicationManager.getAllVersionsOfApplication(applicationKey);
>
> I have added the jar containing the Application Manager class to
> AS_HOME/repository/components/dropins. Now from the jaggery app deployed in
> WSO2 AS I need to obtain the values for variables of each of the version
> object. Can someone help me on how to start with this issue.
>
> Thanks and Regards.
>
> --
> *Sabra Ossen*
> *Software Engineer*
> Email: sa...@wso2.com
> Mobile: +94 767 837356
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [DAS] Arbitrary data is not visible in data explorer

2016-04-04 Thread Pirinthapan Mahendran
Hi Kalpa,

Yes, earlier when we were testing MSF4J publisher also we faced this issue.
Then we tested this arbitrary data publishing part with DAS-3.0.2-SNAPSHOT.
According to the DAS team, the fix is bit complicated and back-porting is
difficult. So we are waiting for the release of DAS-3.0.2.

So if we have the necessary changes in AS and MSF4J, then we can directly
use DAS-3.0.2 once it released.

Thanks & Regards,
Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.

On Tue, Apr 5, 2016 at 10:20 AM, Kalpa Welivitigoda  wrote:

> [+ Pirinthapan]
>
> Hi Lasantha,
>
> I wanted to test the arbitrary data publishing because App Cloud wants
> that functionality with AS 6.0.0 [1]. I verified with
> wso2das-3.0.2-SNAPSHOT from jenkins, I could see the arbitrary data being
> published.
>
> Pirinthapan, we may need this fix in App Cloud setup with DAS.
>
> [1] "[AppCloud] Publishing AppCloud specific data from MSF4J and AS HTTP
> Monitoring Data Publishers" in architecture@
>
> On Tue, Apr 5, 2016 at 5:32 AM, Lasantha Fernando 
> wrote:
>
>> Hi Kalpa,
>>
>> These fixes were merged around 19/Jan and got released with CEP 4.1.0
>> release [1]. So I think these fixes won't be available for DAS 3.0.1.
>>
>> You might be able to create a patch from the current master branch and
>> apply it to get it working for DAS 3.0.1.
>>
>> If you need it from the DAS product itself, am afraid you would have to
>> wait for the next release.
>>
>> [1] https://wso2.org/jira/browse/CEP-1450
>>
>> Thanks,
>> Lasantha
>>
>> On 3 April 2016 at 00:16, Kalpa Welivitigoda  wrote:
>>
>>> Hi all,
>>>
>>> I have added an arbitrary values Map  when constructing
>>> the Event to be published to DAS 3.0.1. But when I publish and search the
>>> table in Data Explorer in DAS, I don't see the arbitrary data in "Arbitrary
>>> Fields / Extended fields" section of any record.
>>>
>>> Would this be related to [1] or am I missing something here?
>>>
>>> [1] https://wso2.org/jira/browse/DAS-255
>>>
>>> --
>>> Best Regards,
>>>
>>> Kalpa Welivitigoda
>>> Software Engineer, WSO2 Inc. http://wso2.com
>>> Email: kal...@wso2.com
>>> Mobile: +94776509215
>>>
>>
>>
>>
>> --
>> *Lasantha Fernando*
>> Senior Software Engineer - Data Technologies Team
>> WSO2 Inc. http://wso2.com
>>
>> email: lasan...@wso2.com
>> mobile: (+94) 71 5247551
>>
>
>
>
> --
> Best Regards,
>
> Kalpa Welivitigoda
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: kal...@wso2.com
> Mobile: +94776509215
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AppCloud] Freezing master branch of app-cloud repo

2016-03-14 Thread Pirinthapan Mahendran
Hi all,

I have committed the merged changes.

Thanks,
Pirinthapan.



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

On Mon, Mar 14, 2016 at 4:35 PM, Pirinthapan Mahendran  wrote:

> Hi AF Team,
>
> Since we are in the process of merging some drastic changes done after
> restructuring the database, we are freezing the master branch of app-cloud
> repo. So don't commit any further changes to the master branch until
> further notification.
>
> Thanks & Regards,
> Mahendran Pirinthapan
> Software Engineer | WSO2 Inc.
> Mobile +94772378732.
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AppCloud] Freezing master branch of app-cloud repo

2016-03-14 Thread Pirinthapan Mahendran
Hi AF Team,

Since we are in the process of merging some drastic changes done after
restructuring the database, we are freezing the master branch of app-cloud
repo. So don't commit any further changes to the master branch until
further notification.

Thanks & Regards,
Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 AppFactory 2.2.0 Milestone 1 Released

2015-06-10 Thread Pirinthapan Mahendran
*WSO2 AppFactory 2.2.0 Milestone 1 Released!*

WSO2 AppFactory team is pleased to announce the release of version 2.2.0 M1
of the WSO2 App Factory.

WSO2 App Factory is a multi-tenant, elastic and self-service enterprise
platform that enables multiple project teams to collaboratively create, run
and manage enterprise applications. Combining complete application
lifecycle management and Platform-as-a-Service (PaaS) capabilities, WSO2
App Factory makes it possible to develop, test, deploy to production and
retire applications with a single click. It also provides an easy way to
discover and consume apps and APIs through a user-friendly storefront.

*New Features & Improvements*

   - Jenkins as an under-lying service
   - Improved the performance of application home

*All resolved Issues*

   - WSO2 App Factory resolved issues
   



The distribution is available to download at [1].

Source repository for App Factory can be found at [2]

Puppet manifests for App Factory can be found at [3].

We encourage you to report issues, documentation faults and feature
requests regarding WSO2 AppFactory through the public WSO2 AppFactory JIRA
.


1.
https://svn.wso2.org/repos/wso2/scratch/appfactorycc_tags/2.2.0-M1/packs/wso2appfactory-2.2.0-SNAPSHOT.zip
2. https://github.com/wso2/product-af/tree/wso2appfactory-2.2.0-M1
3. 
*https://github.com/wso2/product-af/tree/wso2appfactory-2.2.0-M1/modules/puppet-manifests
*

*-- The WSO2 App Factory Team --*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Database user creation fails with the same user name in different applications.

2015-06-03 Thread Pirinthapan Mahendran
Hi Amalka,

The issue is not only during the database creation time. I am considering
the following scenario :
After a user created the databases with different names under different
apps, he cant create the user (by clicking the button "Add New User") with
the same name under these databases.

Thanks.



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

On Wed, Jun 3, 2015 at 1:19 PM, Amalka Subasinghe  wrote:

> Without creating user with database name, can't we generate 7 character
> user name randomly?
>
> There's another scenario: if we try create a new database with a name
> which was deleted earlier, that does not allow to create the user again
> with the same name. (user is exist although we remove the database) in that
> case, when we create the database, we have appended randomly generated 2
> letters at the end of the "user defined user name" to make the user name
> unique.
> So if we generate the full 7 character user name randomly each time we
> will not require to append 2 letter at the end.
>
> Further, because of the above UI allows to enter 5 letters for database
> name, we can remove that validation also if we can give a randomly
> generated user name
>
>
>
> On Wed, Jun 3, 2015 at 12:17 PM, Danushka Fernando 
> wrote:
>
>> Hi Pirinthapan
>> I guess what we need to do is create the final user name as following
>>
>> _> domain>
>>
>> So this won't support by OOTB in SS.
>>
>> @Dimuthu : Is it OK if we add another service to RSSAdmin service to
>> create a application specific database user? WDYT?
>>
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Wed, Jun 3, 2015 at 12:05 PM, Rajeevan Vimalanathan <
>> rajeev...@wso2.com> wrote:
>>
>>> Hi Pirinthapan,
>>>
>>> Since the user name is not unique at the tenant domain (but it should be
>>> unique at application domain), can't we simply use the following pattern to
>>> the verification of user name?
>>>
>>> _
>>>
>>> I hope this should resolve your issue.
>>>
>>> Thanks,
>>> Rajeevan
>>>
>>> On Wed, Jun 3, 2015 at 11:52 AM, Pirinthapan Mahendran <
>>> pirintha...@wso2.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> In App Factory, the database users are application local. That means if
>>>> we create a database user under one application its not visible to another
>>>> application even within the same tenant. So if we try to create a user with
>>>> the same name in different applications within same tenant, we are getting
>>>> 'user already exists exception'.
>>>>
>>>> This is because the RSSAdmin service only allows to create the user
>>>> with the same name in different tenants. Not within same tenant.
>>>>
>>>> To overcome this issue I tried to append the base64 encoding of the
>>>> application key to the user name in template layer level. This also failing
>>>> because of the following reason.
>>>>
>>>> By default mysql user name length is limited to 16 characters. In the
>>>> current implementation of App Factory, we have allocated these 16
>>>> characters in the following pattern.
>>>>
>>>> _
>>>>
>>>> 1. First 7 characters for the user name, provided by the user. (Limited
>>>> this to 7 characters in UI level)
>>>> 2. 8th character is for the connector '_'.
>>>> 3. last 8 characters for the base64 encoding of the hash code of tenant
>>>> domain (this is created by 'carbon-storage-management' component).
>>>>
>>>> I kindly expect your thoughts to overcome this issue.
>>>>
>>>> Thanks & Regards.
>>>> Mahendran Pirinthapan
>>>> Software Engineer | WSO2 Inc.
>>>> Mobile +94772378732.
>>>>
>>>> ___
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> Vimalanathan Rajeevan
>>> Software Engineer
>>> WSO2 Inc.:http://wso2.com
>>> lean.enterprise.middleware
>>>
>>>
>>> Mobile : +94 773090875
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Amalka Subasinghe
> Senior Software Engineer
> WSO2 Inc.
> Mobile: +94 77 9401267
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] Database user creation fails with the same user name in different applications.

2015-06-02 Thread Pirinthapan Mahendran
Hi Rajeevan,

The application key is not globally unique. Its unique only within each
tenant. So we can't use application key to uniquely identify a user name.

Thanks.



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

On Wed, Jun 3, 2015 at 12:05 PM, Rajeevan Vimalanathan 
wrote:

> Hi Pirinthapan,
>
> Since the user name is not unique at the tenant domain (but it should be
> unique at application domain), can't we simply use the following pattern to
> the verification of user name?
>
> _
>
> I hope this should resolve your issue.
>
> Thanks,
> Rajeevan
>
> On Wed, Jun 3, 2015 at 11:52 AM, Pirinthapan Mahendran <
> pirintha...@wso2.com> wrote:
>
>> Hi all,
>>
>> In App Factory, the database users are application local. That means if
>> we create a database user under one application its not visible to another
>> application even within the same tenant. So if we try to create a user with
>> the same name in different applications within same tenant, we are getting
>> 'user already exists exception'.
>>
>> This is because the RSSAdmin service only allows to create the user with
>> the same name in different tenants. Not within same tenant.
>>
>> To overcome this issue I tried to append the base64 encoding of the
>> application key to the user name in template layer level. This also failing
>> because of the following reason.
>>
>> By default mysql user name length is limited to 16 characters. In the
>> current implementation of App Factory, we have allocated these 16
>> characters in the following pattern.
>>
>> _
>>
>> 1. First 7 characters for the user name, provided by the user. (Limited
>> this to 7 characters in UI level)
>> 2. 8th character is for the connector '_'.
>> 3. last 8 characters for the base64 encoding of the hash code of tenant
>> domain (this is created by 'carbon-storage-management' component).
>>
>> I kindly expect your thoughts to overcome this issue.
>>
>> Thanks & Regards.
>> Mahendran Pirinthapan
>> Software Engineer | WSO2 Inc.
>> Mobile +94772378732.
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Vimalanathan Rajeevan
> Software Engineer
> WSO2 Inc.:http://wso2.com
> lean.enterprise.middleware
>
>
> Mobile : +94 773090875
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AF] Database user creation fails with the same user name in different applications.

2015-06-02 Thread Pirinthapan Mahendran
Hi all,

In App Factory, the database users are application local. That means if we
create a database user under one application its not visible to another
application even within the same tenant. So if we try to create a user with
the same name in different applications within same tenant, we are getting
'user already exists exception'.

This is because the RSSAdmin service only allows to create the user with
the same name in different tenants. Not within same tenant.

To overcome this issue I tried to append the base64 encoding of the
application key to the user name in template layer level. This also failing
because of the following reason.

By default mysql user name length is limited to 16 characters. In the
current implementation of App Factory, we have allocated these 16
characters in the following pattern.

_

1. First 7 characters for the user name, provided by the user. (Limited
this to 7 characters in UI level)
2. 8th character is for the connector '_'.
3. last 8 characters for the base64 encoding of the hash code of tenant
domain (this is created by 'carbon-storage-management' component).

I kindly expect your thoughts to overcome this issue.

Thanks & Regards.
Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Cannot identify EPR of data service deployed in cloud

2015-05-18 Thread Pirinthapan Mahendran
Hi Sabra,

The endpoints are listed in the wsdl under the element "wsdl:service". You
can use one one of these endpoints.
i.e:
https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT.SecureHTTPEndpoint
.

or You can just remove the "?wsdl" part from your wsdl url and use it as
endpoint.
i.e:
https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT

Thanks.



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

On Tue, May 19, 2015 at 10:50 AM, Dimuthu Leelarathne 
wrote:

> Hi Sabra,
>
> Is this secured?
>
> thanks,
> dimuthu
>
>
> On Mon, May 18, 2015 at 5:26 PM, Sabra Ossen  wrote:
>
>> Hi All,
>>
>> I have deployed a data service in cloud and I am trying to push data to a
>> database in cloud through the data service. I am having a hard time
>> figuring out the end point where I have to push data to. I tested the data
>> service using soap ui and it successfully pushes data.
>>
>> The wsdl for the data service can be seen in [1].
>>
>> The code to push data is as follows(I have created the client stub using
>> the wsdl mentioned above).
>>
>> *String epr =
>> "https://appserver.dev.cloud.wso2.com/services/t/sabra8339/Dataservice1DefaultSNAPSHOT
>> ";*
>>
>> System.setProperty("javax.net.ssl.trustStore", (new
>> File(TRUST_STORE_PATH)).getAbsolutePath());
>> System.setProperty("javax.net.ssl.trustStorePassword",
>> TRUST_STORE_PASSWORD);
>>
>> ConfigurationContext ctx =
>> ConfigurationContextFactory.createConfigurationContextFromFileSystem("/home/sabra/repository",
>> null);
>>
>> Dataservice1DefaultSNAPSHOTStub stub = new
>> Dataservice1DefaultSNAPSHOTStub(ctx,epr);
>> ServiceClient client = stub._getServiceClient();
>> Options options = client.getOptions();
>> client.engageModule("rampart");
>> options.setUserName("admin");
>> options.setPassword("admin");
>>
>> options.setProperty(RampartMessageData.KEY_RAMPART_POLICY,
>> loadPolicy(POLICY_FILE_PATH));
>>
>> Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek request = new
>> Dataservice1DefaultSNAPSHOTStub.InsertRawLeadsPerWeek();
>>
>> request.setStart_date("2092-04-09");
>> request.setEnd_date("2092-04-8");
>> request.setTotal_users();
>> request.setEu_users();
>> request.setNa_users();
>> request.setRow_users();
>> request.setUnclassified_users();
>>
>> stub.insertRawLeadsPerWeek(request);
>>
>> I have no clue as to what is missing. Any help on this issue is highly
>> appreciated. If any further clarification is needed please let me know.
>>
>> [1]
>> https://appserver.dev.cloud.wso2.com/services/t/sabra8339/dataservice1-default-SNAPSHOT?wsdl
>>
>> Regards.
>> --
>> Sabra Ossen 
>> Undergraduate | Department of Computer Science and Engineering
>> University of Moratuwa
>> Sri Lanka
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Dimuthu Leelarathne
> Architect & Product Lead of App Factory
>
> WSO2, Inc. (http://wso2.com)
> email: dimut...@wso2.com
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Getting SSLException when sending request using httpclient-4.1.1

2015-05-18 Thread Pirinthapan Mahendran
Hi all,

I am working on upgrading commons-httpclient_3.1.0.wso2v2 to
httpclient_4.1.1.wso2v1 in App Factory.
When I send the request using httpclient_4.1.1.wso2v1 to the Jenkins
server, which is deployed in WSO2AS-5.2.1, from AppFactory I am getting the
following error.

javax.net.ssl.SSLException: hostname in certificate didn't match: <
jenkins.appfactory.private.wso2.com> != 

Anyone encounter this issue before? Kindly appreciate your input on this
issue.

Thanks.

Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Pirinthapan Mahendran
Congrats Mahesh !!




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

On Tue, Apr 28, 2015 at 4:32 PM, Sajith Abeywardhana 
wrote:

> Congratulations !!!
>
> *Sajith Abeywardhana* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka.
> Mobile: +94772260485
> Email: saji...@wso2.com  | Web: www.wso2.com
>
> On Tue, Apr 28, 2015 at 4:22 PM, Malithi Edirisinghe 
> wrote:
>
>> Congrats ... :)
>>
>> On Tue, Apr 28, 2015 at 1:59 PM, Dinithi De Silva 
>> wrote:
>>
>>> Congratulations Mahesh.!!!
>>>
>>> On Tue, Apr 28, 2015 at 1:19 PM, Sajith Abeywardhana 
>>> wrote:
>>>
 Congratulations !!!

 *Sajith Abeywardhana* | Software Engineer
 WSO2, Inc | lean. enterprise. middleware.
 #20, Palm Grove, Colombo 03, Sri Lanka.
 Mobile: +94772260485
 Email: saji...@wso2.com  | Web: www.wso2.com

 On Tue, Apr 28, 2015 at 12:49 PM, Damith Wickramasinghe <
 dami...@wso2.com> wrote:

> Congrats Mahesh... 
>
> On Tue, Apr 28, 2015 at 12:34 PM, Milan Perera  wrote:
>
>> Congratz Mahesh..!!!
>>
>> On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla <
>> prasa...@wso2.com> wrote:
>>
>>> Congratulations Mahesh..
>>>
>>> On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara <
>>> chathu...@wso2.com> wrote:
>>>
 Congratulations Mahesh !!!

 On Tue, Apr 28, 2015 at 11:17 AM, Thusitha Thilina Dayaratne <
 thusit...@wso2.com> wrote:

> Congratulations..!!
>
> On Tue, Apr 28, 2015 at 11:15 AM, Chamalee De Silva <
> chama...@wso2.com> wrote:
>
>> Congratulations Mahesh !
>>
>> On Tue, Apr 28, 2015 at 11:13 AM, Dilan Udara Ariyaratne <
>> dil...@wso2.com> wrote:
>>
>>> Congratz, Mahesh!!!
>>>
>>>
>>> *Dilan U. Ariyaratne*
>>> Software Engineer
>>> WSO2 Inc. 
>>> Mobile: +94775149066
>>> lean . enterprise . middleware
>>>
>>> On Tue, Apr 28, 2015 at 10:40 AM, Samith Dassanayake <
>>> sam...@wso2.com> wrote:
>>>
 Congratz Mahesh!

 On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda <
 kal...@wso2.com> wrote:

> Congratulations Mahesh !
>
> On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka <
> tha...@wso2.com> wrote:
>
>> Congratulations Mahesh.
>>
>> On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne <
>> dimut...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> It is with great pleasure that WSO2 welcomes Mahesh
>>> Chinthaka as WSO2 committer!
>>>
>>> Thank you for your hard work. Congratulation!
>>>
>>> thanks,
>>> dimuthu
>>>
>>> --
>>> Dimuthu Leelarathne
>>> Architect & Product Lead of App Factory
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: dimut...@wso2.com
>>> Mobile : 0773661935
>>>
>>> Lean . Enterprise . Middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Tharik Kanaka* | Associate Software Engineer
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: tha...@wso2.com | Web: www.wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards,
>
> Kalpa Welivitigoda
> Software Engineer, WSO2 Inc. http://wso2.com
> Email: kal...@wso2.com
> Mobile: +94776509215
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Best Regards

 Samith Dassanayake
 Software Engineer | Cloud TG
 WSO2, Inc. | http://wso2.com
 lean. enterprise. middleware

 Mobile : +947 76207351

 ___
 Dev mailing list
 Dev@wso2.org
>

[Dev] AppFactory's openstack is flooded with some unknown instances.

2015-03-31 Thread Pirinthapan Mahendran
Hi all,

AppFactory's internal openstack setup is flooded with some unknown
instances with the prefix 'afgas'. Whoever own this prefix please look in
to that.

Thanks.

Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Amila Godwin Shrimal

2015-03-28 Thread Pirinthapan Mahendran
Congrats Godwin !!



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

On Sat, Mar 28, 2015 at 3:16 PM, Indunil Upeksha Rathnayake <
indu...@wso2.com> wrote:

> Congratz Godwin!
>
> Regards
> --
> Indunil Upeksha Rathnayake
> Software Engineer | WSO2 Inc
> Emailindu...@wso2.com
> Mobile  +94713695179
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Irham Iqbal

2015-03-10 Thread Pirinthapan Mahendran
Congratulation Irham.



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

On Tue, Mar 10, 2015 at 1:35 PM, Jagath Sisirakumara Ariyarathne <
jaga...@wso2.com> wrote:

> Congratulations Irham
>
> On Tue, Mar 10, 2015 at 1:29 PM, Dimuthu De Lanerolle 
> wrote:
>
>> Congratz Irham !!!
>>
>> On Tue, Mar 10, 2015 at 1:27 PM, Saneth Dharmakeerthi 
>> wrote:
>>
>>> Congratulations Irham...
>>>
>>> Thanks and Best Regards,
>>>
>>> Saneth Dharmakeerthi
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> Mobile: +94772325511
>>>
>>> On Tue, Mar 10, 2015 at 1:23 PM, Malintha Adikari 
>>> wrote:
>>>
 Congratulations Irham!

 On Tue, Mar 10, 2015 at 7:51 AM, Krishantha Samaraweera <
 krishan...@wso2.com> wrote:

> Hi all,
>
> It's my pleasure to welcome Irham Iqbal as a WSO2 Committer.
>
> Irham, welcome aboard and keep up the good work!
>
> Thanks,
> Krishantha.
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Malintha Adikari*
  Software Engineer
 WSO2 Inc.; http://wso2.com
 lean.enterprise.middleware

 Mobile: +94 71 2312958
 Blog:http://malinthas.blogspot.com
 Page:   http://about.me/malintha

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Dimuthu De Lanerolle
>> Software Engineer
>> WSO2 Inc.
>> lean . enterprise . middlewear.
>> http://wso2.com/
>> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Jagath Ariyarathne
> Technical Lead
> WSO2 Inc.  http://wso2.com/
> Email: jaga...@wso2.com
> Mob  : +94 77 386 7048
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [AF] There are two different versions of httpclient jars available in App Factory plugins directory

2015-03-08 Thread Pirinthapan Mahendran
Hi Punnadi,

Yes, these are coming with different features. I found the following
features are using these.
org.wso2.carbon.identity.sso.saml.ui_4.2.1 uses httpclient_4.1.1.wso2v1.jar.
org.wso2.carbon.databridge.agent.thrift.server_4.2.2 uses
httpclient_4.2.5.wso2v1.jar.

Thanks.




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

On Fri, Mar 6, 2015 at 8:01 PM, Danushka Fernando 
wrote:

> Was this the verdict of the issue? I guess these are coming with some
> features. May be we are using wrong versions.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Fri, Mar 6, 2015 at 6:16 PM, Punnadi Gunarathna 
> wrote:
>
>>
>> Hi Pirin,
>>
>> There are two httpclient_.jar files in App Factory plugins
>> directory. Please keep appropriate one and remove the other.
>> httpclient_4.1.1.wso2v1.jar
>> httpclient_4.2.5.wso2v1.jar
>>
>>
>> --
>> Thanks and Regards,
>>
>> Punnadi Gunarathna
>> Senior Software Engineer,
>> WSO2, Inc.; http://wso2.com 
>> Blog: http://hi-my-world.blogspot.com/
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>>
>>
>>
>>  
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Aiyadurai Rajeevn

2015-02-26 Thread Pirinthapan Mahendran
Congrats Rajeevan !!

Thanks.



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

On Thu, Feb 26, 2015 at 2:26 PM, Sam Sivayogam  wrote:

> Congrats Rajeevan !!!
>
> On Thu, Feb 26, 2015 at 11:12 AM, Kalpa Welivitigoda 
> wrote:
>
>> Congratulations Rajeevan !
>>
>> On Thu, Feb 26, 2015 at 10:23 AM, Ashan Dhananjaya 
>> wrote:
>>
>>> Congratulations :-)
>>>
>>> On Thu, Feb 26, 2015 at 10:21 AM, Manisha Gayathri 
>>> wrote:
>>>
 Congrats Rajeevan!!!

 On Thu, Feb 26, 2015 at 10:19 AM, Inshaf Mahath 
 wrote:

> Congrats Rajeevan 
>
> On Thu, Feb 26, 2015 at 10:08 AM, Rajeevan Vimalanathan <
> rajeev...@wso2.com> wrote:
>
>> Congrats Rajeevan...!!!
>>
>> On Thu, Feb 26, 2015 at 10:05 AM, Lahiru Cooray 
>> wrote:
>>
>>> Congratz Rajeevan!!!
>>>
>>> On Thu, Feb 26, 2015 at 10:00 AM, Dimuthu Leelarathne <
>>> dimut...@wso2.com> wrote:
>>>

 Hi all,

 It is with great pleasure that WSO2 welcomes Aiyadurai Rajeevn as
 WSO2 committer!

 Congratulations!

 thanks,
 Dimuthu
 --
 Dimuthu Leelarathne
 Architect & Product Lead of App Factory

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> *Lahiru Cooray*
>>> Software Engineer
>>> WSO2, Inc.;http://wso2.com/
>>> lean.enterprise.middleware
>>>
>>> Mobile: +94 715 654154
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards,
>> V.Rajeevan
>> Software Engineer,
>> WSO2 Inc. :http://wso2.com
>>
>> Mobile : +94 773090875
>> Email : rajeev...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Inshaf Mahath
> Associate Software Engineer
> Mobile: +94775907181
> WSO2 Inc.
> Lean . Enterprise . Middleware
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 ~Regards
 *Manisha Eleperuma*
 Software Engineer
 WSO2, Inc.: http://wso2.com
 lean.enterprise.middleware

 *blog:  http://manisha-eleperuma.blogspot.com/
 *
 *mobile:  +94 71 8279777 <%2B94%2071%208279777>*


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Ashan Dhananjaya Kumara
>>> Trainee Software Engineer, WSO2 Inc.
>>> Inc: *WSO2 Inc. *
>>> Phone : +94715547461
>>> Blog : http://ashandhananjaya.blogspot.com/
>>> Twitter  : https://twitter.com/Dhananjaya92
>>> Say ello :https://ello.co/ashandk
>>>
>>>
>>>
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Best Regards,
>>
>> Kalpa Welivitigoda
>> Software Engineer, WSO2 Inc. http://wso2.com
>> Email: kal...@wso2.com
>> Mobile: +94776509215
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Sam Sivayogam*
>
> Software Engineer
> Mobile  : +94 772 906 439
> Office   : +94 112 145 345
> *WSO2, Inc. :** wso2.com *
> lean.enterprise.middleware.
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Encrypting datasource configuration in ESB-4.0.3

2015-01-23 Thread Pirinthapan Mahendran
Hi all,

Are there any way to encrypt the datasource configurations, when we
creating the datasources through the management console in ESB-4.0.3 ?

Thanks.

Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ES] Errors while running server - latest build

2015-01-16 Thread Pirinthapan Mahendran
Hi Ayesha,

If there is no error in the start up, then the lifecycle aspects,
configured in the configuration file, should be loaded to the registry.
Could you please check through the management console whether the required
lifecycles are loaded?

Thanks.



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

On Fri, Jan 16, 2015 at 10:08 PM, Ayesha Dissanayaka 
wrote:

> Hi,
>
> According to the comment at
> https://github.com/wso2-dev/carbon-governance/pull/23, I noticed that
> relevant file at *[ES_HOME]/repository/resources/lifecycles location *is
> still configuration.xml. So I've changed it to ServiceLifeCycle.xml.
>
> Then the earlier mentioned server startup error is not present.(shown
> below)
> ERROR {org.wso2.carbon.governance.lcm.util.CommonUtil} -  Configuration
> file name configurations not matched with aspect name ServiceLifeCycle
>
> But the issue in attaching lifecycles with assets still
> persist.(Lifecycles are not get attached to the artifacts)
>
> Can app-factory team give us some light on this considering above
> discussion, and the changes made to lifecycle management in above pull
> requests.
>
> Thanks!
> -Ayesha
>
>
> On Fri, Jan 16, 2015 at 8:58 PM, Shazni Nazeer  wrote:
>
>> Hi Ayesha,
>>
>> This could be due to the following [1]. Could you check on with the app
>> factory team on their change on life cycle management which affects the
>> adding lifecycle to G-Reg? What I understood was this has caused issues in
>> adding lifecycle to G-Reg at start up. So that's why when trying to attach
>> the lifecycle it complains saying there's no lifecycle.
>>
>> [1] https://github.com/wso2-dev/carbon-governance/pull/28/
>> [2] https://github.com/wso2-dev/carbon-governance/pull/23
>> [3] https://github.com/wso2-dev/product-greg/pull/55
>>
>> regards
>>
>> Shazni Nazeer
>>
>> Senior Software Engineer
>>
>> Mob : +94 37331
>> LinkedIn : http://lk.linkedin.com/in/shazninazeer
>> Blog : http://shazninazeer.blogspot.com
>>
>> On Fri, Jan 16, 2015 at 2:58 AM, Ayesha Dissanayaka 
>> wrote:
>>
>>> Hi,
>>>
>>> I am getting below error at the server startup.
>>>
>>> ERROR {org.wso2.carbon.governance.lcm.util.CommonUtil} -  Configuration
>>> file name configurations not matched with aspect name ServiceLifeCycle
>>>
>>> Further, life-cycles are not attached to the default assets. (with the
>>> changes in carbon-governance
>>> https://github.com/wso2/carbon-governance/commit/bf13572edc127faa7a54dd9636568d3c6f7ad014
>>> )
>>>
>>> ERROR {JAGGERY.config.app:js} -
>>> org.mozilla.javascript.WrappedException: Wrapped
>>> org.wso2.carbon.governance.api.exception.GovernanceException: No lifecycle
>>> associated with the artifact path /gadgets/admin/WSO2 Jira/1.0.0
>>> (/scripts/registry/artifacts.js#285)
>>> at
>>> org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java:1754)
>>> at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:148)
>>> at
>>> org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:225)
>>> at
>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>> at
>>> org.jaggeryjs.rhino..scripts.registry.c0._c_anonymous_21(/scripts/registry/artifacts.js:285)
>>> at
>>> org.jaggeryjs.rhino..scripts.registry.c0.call(/scripts/registry/artifacts.js)
>>> at
>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>> at
>>> org.jaggeryjs.rhino.publisher..config.defaults.c0._c_onAttachLifecycle_13(/publisher//config/defaults/install.js:273)
>>> at
>>> org.jaggeryjs.rhino.publisher..config.defaults.c0.call(/publisher//config/defaults/install.js)
>>> at
>>> org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2430)
>>> at
>>> org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:269)
>>> at
>>> org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:97)
>>> at
>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.c7._c_anonymous_16(/publisher/modules/asset.deployment.js:428)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.c7.call(/publisher/modules/asset.deployment.js)
>>> at
>>> org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:42)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.c7._c_anonymous_5(/publisher/modules/asset.deployment.js:166)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.c7.call(/publisher/modules/asset.deployment.js)
>>> at
>>> org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:52)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.c7._c_anonymous_9(/publisher/modules/asset.deployment.js:297)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.c7.call(/publisher/modules/asset.deployment.js)
>>> at
>>> org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:32)
>>> at
>>> org.jaggeryjs.rhino.publisher.modules.c8._c_anonymous_13(/publisher/modules/bundler.js:168)
>>> 

[Dev] Same package name in two WS client stubs in same project

2015-01-12 Thread Pirinthapan Mahendran
Hi all,

In a project the carbon services UserIdentityManagementAdminService and
UserInformationRecoveryService are used. When creating the client stub for
these services using wsimport tool, both stub having packages with same
name (org.wso2.carbon.identity.mgt.services). So when using these two stubs
in the project, only one of these package is getting effect and the classes
in other package are not available at the run time.

Since we have to stick with wsimport tool, we should consider the following
two ways to overcome this issue.

1. Generating the client subs for both services at the same step within a
single stub module.
2. Changing the package name of one of the client stub when generating.

But I could not find any resources to implement the first option. But there
is a way to use the second option as follows.

wsimport -p  

Please advice me whether changing the package name is correct?

Thanks.

Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Empty Response from Server when using Payload Factory Mediator

2015-01-12 Thread Pirinthapan Mahendran
Answered in
http://stackoverflow.com/questions/27790590/modifying-server-response-payload-json

Thanks.



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

On Tue, Jan 6, 2015 at 10:33 AM, Shiva Balachandran  wrote:

> Hi Maz,
>
> Are you sure the value of the expression in
>
>  
>
>   
>  
>
> is correct? I think it should be " expression="$.ipAddress" ". Also try
> initially using "ipAddress" instead of "IP Address" in the above given
> context.
>
> Thank you.
>
> Regards
> Shiva Balachandran
>
> On Tue, Jan 6, 2015 at 7:09 AM, Maz Lakadia  wrote:
>
>> I'm modifying a response sent by a server. To do this I've set up a test
>> API that is meant to just send back the IP, in a format like this:
>>
>> {
>>   "origin": "202.37.75.130"
>> }
>>
>> My unmodified code gives me back what I want.
>>
>> What I wish to do as a test is to change the name of "origin" to "IP
>> Address", hopefully getting a response like this:
>>
>> {
>>   "IP Address": "202.37.75.130"
>> }
>>
>> To do this I've modified my outSequence section of the code, to be this
>> (all I've added is the PayloadFactoryMediator section, the filter was there
>> before):
>>
>>
>> 
>>   
>> {
>>   "IP Address" : {
>>   "$1"
>>   }
>>   }
>> 
>> 
>>   
>> 
>>   
>>   
>> 
>>   > expression="get-property('CORS_ORIGIN')" scope="transport"/>
>>   > value="Assertion,X-Jwt-Assertion,X-User-Name,X-User-Domain" 
>> scope="transport"/>
>> 
>>   
>>   
>> 
>>
>> However, when I curl to the API as before I get a response:
>>
>> curl: (52) Empty reply from server
>>
>> Can anybody tell me what I may have done wrong?
>>
>>
>> Thanks,
>> Maz
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Sameera Jayaratna

2015-01-12 Thread Pirinthapan Mahendran
Congratulations Sameera !!



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

On Mon, Jan 12, 2015 at 5:37 PM, Vijitha Ekanayake 
wrote:

> Congratulations Sameera !!!
>
> On Mon, Jan 12, 2015 at 5:29 PM, Gayashan Amarasinghe 
> wrote:
>
>> Congratulations Sameera!!!
>>
>> On Mon, Jan 5, 2015 at 1:14 PM, Ruchira Wageesha 
>> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to welcome Sameera Jayaratna as a WSO2 Committer.
>>> Sameera is a member of WSO2 UES/ES team and has done a great contribution
>>> to WSO2 ES product showing a great enthusiasm in her work. In recognition
>>> of her contribution, she has been voted as a WSO2 Committer.
>>>
>>> Sameera, welcome aboard and keep up the good work..
>>>
>>> /Ruchira
>>>
>>> --
>>>
>>> *Ruchira Wageesha**Associate Technical Lead*
>>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>> *
>>>
>>> *email: ruch...@wso2.com ,   blog:
>>> ruchirawageesha.blogspot.com ,
>>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Gayashan Amarasinghe*
>> Software Engineer | Platform TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94718314517
>> Blog : gayashan-a.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vijitha Ekanayake
> Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Commiters += Ayesha Dissanayaka

2015-01-12 Thread Pirinthapan Mahendran
Congratulations Ayesha !!



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

On Mon, Jan 12, 2015 at 5:38 PM, Vijitha Ekanayake 
wrote:

> Congratulations Ayesha !!!
>
> On Mon, Jan 12, 2015 at 5:29 PM, Gayashan Amarasinghe 
> wrote:
>
>> Congratulations Ayesha!!!
>>
>> On Mon, Jan 5, 2015 at 1:13 PM, Ruchira Wageesha 
>> wrote:
>>
>>> Hi All,
>>>
>>> It's my pleasure to welcome Ayesha Dissanayaka as a WSO2 Committer.
>>> Ayesha is a member of WSO2 UES/ES team and has done a great contribution to
>>> WSO2 ES product showing a great enthusiasm in her work. In recognition of
>>> her contribution, she has been voted as a WSO2 Committer.
>>>
>>> Ayesha, welcome aboard and keep up the good work..
>>>
>>> /Ruchira
>>>
>>> --
>>>
>>> *Ruchira Wageesha**Associate Technical Lead*
>>> *WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>> *
>>>
>>> *email: ruch...@wso2.com ,   blog:
>>> ruchirawageesha.blogspot.com ,
>>> mobile: +94 77 5493444 <%2B94%2077%205493444>*
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Gayashan Amarasinghe*
>> Software Engineer | Platform TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94718314517
>> Blog : gayashan-a.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Vijitha Ekanayake
> Software Engineer*, *WSO2, Inc.; http://wso2.com/
> Mobile : +94 777 24 73 39 | +94 718 74 44 08
> lean.enterprise.middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Kasun De Silva

2014-12-27 Thread Pirinthapan Mahendran
Congratulations Kasun..!!



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

On Sat, Dec 27, 2014 at 10:21 PM, Dimuthu Leelarathne 
wrote:

> Hi all,
>
> Thanks all for helping Kasun to become a committer.
>
> dimuthu
>
>
> On Sat, Dec 27, 2014 at 10:20 PM, Dimuthu Leelarathne 
> wrote:
>
>>
>> -- Forwarded message --
>> From: Dimuthu Leelarathne 
>> Date: Sat, Dec 27, 2014 at 10:18 PM
>> Subject: [Dev] WSO2 Committers += Kasun De Silva
>> To: WSO2 Developers' List 
>> Cc: Kasun De Silva 
>>
>>
>> Hi all,
>>
>> WSO2 welcomes Kasun De Silva as WSO2 committer!
>>
>> Congratulations!
>>
>> thanks,
>> dimuthu
>>
>> --
>> Dimuthu Leelarathne
>> Architect & Product Lead of App Factory
>>
>> WSO2, Inc. (http://wso2.com)
>> email: dimut...@wso2.com
>> Mobile : 0773661935
>>
>> Lean . Enterprise . Middleware
>>
>>
>>
>> --
>> Dimuthu Leelarathne
>> Architect & Product Lead of App Factory
>>
>> WSO2, Inc. (http://wso2.com)
>> email: dimut...@wso2.com
>> Mobile : 0773661935
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> Dimuthu Leelarathne
> Architect & Product Lead of App Factory
>
> WSO2, Inc. (http://wso2.com)
> email: dimut...@wso2.com
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Gimantha Bandara

2014-12-22 Thread Pirinthapan Mahendran
Congrats Gimantha..!!



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

On Tue, Dec 23, 2014 at 8:21 AM, Harsha Kumara  wrote:

> Congratulations Gimantha!
>
> On Tue, Dec 23, 2014 at 7:31 AM, Kasun De Silva  wrote:
>
>> Congratz Gimantha !!!
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kas...@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> On Tue, Dec 23, 2014 at 7:24 AM, Niranda Perera  wrote:
>>
>>> Congrats Gimantha! :-)
>>>
>>> On Tue, Dec 23, 2014 at 2:56 AM, Anjana Fernando 
>>> wrote:
>>>
 Hi,

 It is with great pleasure that I welcome Gimantha as a WSO2 committer,
 Congratulations and keep up with the good work! ..

 Cheers,
 Anjana.
 --
 *Anjana Fernando*
 Senior Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> *Niranda Perera*
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94-71-554-8430
>>> Twitter: @n1r44 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Harsha Kumara
> Software Engineer, WSO2 Inc.
> Mobile: +94775505618
> Blog:harshcreationz.blogspot.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Couldn't reproduce some reported issues.

2014-12-01 Thread Pirinthapan Mahendran
Hi Dmitry,

I tried with changing the domain as you mentioned above. But no help. I'll
check the old logs with Cloud team.

Thanks.



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

On Tue, Dec 2, 2014 at 1:37 AM, Dmitry Sotnikov  wrote:

> Hi,
>
> The tickets have video recording of me experiencing the issues.
>
> If that helps, I was making the changes just changing the case of the
> domain (uppercase to lowercase, back to uppercase, back to lowercase)
> because this was a part of me fighting the bug with uppercase custom URLs
> not working in AF.
>
> If there are logs that can help you troubleshoot - Cloud team might be
> able to find these old logs.
>
> Dmitry
>
> On Mon, Dec 1, 2014 at 2:13 AM, Pirinthapan Mahendran <
> pirintha...@wso2.com> wrote:
>
>> Hi Dmitry,
>>
>> I tried to reproduce the issues reported in [1] and [2]. I tried these in
>> both my local setup and cloud. But I could not reproduce these issues. Were
>> you able to reproduce these issues continuously?
>> If so could you please give some additional information regarding that?
>>
>> 1. https://wso2.org/jira/browse/APPFAC-2648
>> 2. https://wso2.org/jira/browse/APPFAC-2649
>>
>> Thanks.
>>
>>
>> Mahendran Pirinthapan
>> Software Engineer | WSO2 Inc.
>> Mobile +94772378732.
>>
>
>
>
> --
> Dmitry Sotnikov
> VP of Cloud; WSO2, Inc.;  http://wso2.com/
> email: dmi...@wso2.com; cell: +1.949.303.9653; Skype: DSotnikov
> Lean . Enterprise . Middleware
>
> <http://wso2.com/events/>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Couldn't reproduce some reported issues.

2014-12-01 Thread Pirinthapan Mahendran
Hi Dmitry,

I tried to reproduce the issues reported in [1] and [2]. I tried these in
both my local setup and cloud. But I could not reproduce these issues. Were
you able to reproduce these issues continuously?
If so could you please give some additional information regarding that?

1. https://wso2.org/jira/browse/APPFAC-2648
2. https://wso2.org/jira/browse/APPFAC-2649

Thanks.


Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asitha Nanayakkara

2014-11-23 Thread Pirinthapan Mahendran
Congrats Asitha..!!



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

On Mon, Nov 24, 2014 at 10:31 AM, Hasintha Indrajee 
wrote:

> Congratulations Asitha.. !!
>
> On Mon, Nov 24, 2014 at 10:30 AM, Nipuni Perera  wrote:
>
>> Congratz Asitha!
>>
>>
>> On Mon, Nov 24, 2014 at 10:28 AM, Hasitha Amal De Silva <
>> hasit...@wso2.com> wrote:
>>
>>> Congrats Asitha ! :)
>>>
>>> On Mon, Nov 24, 2014 at 10:25 AM, Suhan Dharmasuriya 
>>> wrote:
>>>
 Congrats Asitha!!!

 On Mon, Nov 24, 2014 at 10:21 AM, Vinuri Perera 
 wrote:

> Congrats !!!
>
> On Mon, Nov 24, 2014 at 10:17 AM, Inshaf Mahath 
> wrote:
>
>> Congrats Asitha!!!
>>
>> On Mon, Nov 24, 2014 at 10:16 AM, Sajini De Silva 
>> wrote:
>>
>>> Congratulations Asitha!!!
>>>
>>> On Mon, Nov 24, 2014 at 10:14 AM, Shashika Karunatilaka <
>>> shashi...@wso2.com> wrote:
>>>
 Congrats Asitha

 On Mon, Nov 24, 2014 at 10:09 AM, Rajeevan Vimalanathan <
 rajeev...@wso2.com> wrote:

> Congratz Asitha...!!!
>
> On Mon, Nov 24, 2014 at 10:07 AM, Gayashan Amarasinghe <
> gayas...@wso2.com> wrote:
>
>> Congratulations Nanayakkara!!! =)
>>
>> On Mon, Nov 24, 2014 at 10:01 AM, Roshan Wijesena <
>> ros...@wso2.com> wrote:
>>
>>> Congratulations!!
>>>
>>> On Mon, Nov 24, 2014 at 9:50 AM, Ramith Jayasinghe <
>>> ram...@wso2.com> wrote:
>>>
 Hi Asitha,
 Congratulations!
 It is with great pleasure that we welcome you as a WSO2
 committer. Keep up the good work!

 thanks and best regards

 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com

 --
 Ramith Jayasinghe
 Technical Lead
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 E: ram...@wso2.com
 P: +94 777542851


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Roshan Wijesena.
>>> Senior Software Engineer-WSO2 Inc.
>>> Mobile: *+94752126789*
>>> Email: ros...@wso2.com
>>> *WSO2, Inc. :** wso2.com *
>>> lean.enterprise.middleware.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Gayashan Amarasinghe*
>> Software Engineer | Platform TG
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94718314517
>> Blog : gayashan-a.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards,
> V.Rajeevan
> Software Engineer,
> WSO2 Inc. :http://wso2.com
>
> Mobile : +94 773090875
> Email : rajeev...@wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Shashika Prabath Karunatilaka,
 Software Engineer,
 WSO2, Inc: http://wso2.com/
 mobile : +94 77 7487792

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Sajini De SIlva
>>> Software Engineer; WSO2 Inc.; http://wso2.com ,
>>> Email: saj...@wso2.com
>>> Blog: http://sajinid.blogspot.com/
>>> Git hub profile: https://github.com/sajinidesilva
>>>
>>> Phone: +94 712797729
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Inshaf Mahath
>> Associate Software Engineer
>> Mobile: +94775907181
>> WSO2 Inc.
>> Lean . Enterprise . Middleware
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>

[Dev] [AF] Datasource and Database creation issues in AF

2014-11-19 Thread Pirinthapan Mahendran
Hi,

Today I setup AF with the latest build pack. In this setup I found the
following issues.

1. The datasources and databases, created for one application, are
available for all the applications within the tenant.
2. When we trying to create databases in all three environment by ticking
the checkbox "Create Database and Datasources in all environments", it
doesn't getting created properly. The database is created only for
development environment.


Thanks.


Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [AF] Registry configuration

2014-11-17 Thread Pirinthapan Mahendran
Hi all,

In AppFactory's registry.xml file I found the following configurations to
mount the registry with a remote instance. Could anyone please explain what
is the remote instance pointed by [1].

1. https://registryernance.cloud-test.wso2.com



jdbc/AFRegDB




https://registryernance.cloud-test.wso2.com";>

governance

governance

false

/

true

root@jdbc:mysql://localhost:3306/afregistry




   

governance

/_system/governance



Thanks.

Mahendran Pirinthapan
Software Engineer | WSO2 Inc.
Mobile +94772378732.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Getting error in puppet integration to Mac OS X during tools installation using 'brew'

2014-11-12 Thread Pirinthapan Mahendran
Hi Mahesh,

When I setting up AF, I had to install unzip.

Thanks.



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

On Wed, Nov 12, 2014 at 10:51 PM, Mahesh Chinthaka  wrote:

> Hi,
>  why do you want to install unzip via brew ?? AFAIK unzip comes with mac
> OS by default.
>
> On Wed, Nov 12, 2014 at 6:22 PM, Danushka Fernando 
> wrote:
>
>> I think unzip is coming with zip package. Just install zip and check
>> whether unzip command works.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Wed, Nov 12, 2014 at 6:20 PM, Aiyadurai Rajeevan 
>> wrote:
>>
>>> Hi All,
>>>
>>> We are in the process of integrating puppet scripts to Mac OS X, Where
>>> we have implementation to install list of tools to be installed by puppet
>>> script when executed, The puppet code looks like below.
>>>
>>> *$packages = ['lsof','unzip','sysstat','telnet', 'git', 'less', 'tree',
>>> 'zip']*
>>>
>>> * package { $packages:*
>>>
>>>  *ensure => installed,*
>>>
>>> *provider  => 'brew',*
>>>
>>> *}*
>>>
>>>
>>> Here, *$Packages* has the tools to be installed using the *brew*.
>>>
>>> When i execute this, it gives error as below,
>>>
>>> *Error: Failed to apply catalog: Parameter provider failed on
>>> Package[lsof]: Invalid package provider 'brew' at
>>> /home/rajeevan/appfactory/modules/wso2base/manifests/packages.pp:9*
>>>
>>> *Wrapped exception:*
>>>
>>> *Invalid package provider 'brew'*
>>>
>>> *Wrapped exception:*
>>>
>>> *Invalid package provider 'brew'*
>>>
>>>
>>> Then we executed the command - *brew install unzip* - just to ensure
>>> the unzip tool is getting installed, but it doesn't.
>>>
>>> google it and found a solution [1]
>>>
>>> *$ brew tap homebrew/dupes *
>>>
>>> *$ brew install unzip*
>>>
>>> This works nicely,
>>>
>>> But, As far as puppet concerned, How to do this in my above puppet
>>> script?
>>>
>>> Appreciate your view on this please.
>>>
>>> [1]
>>> http://apple.stackexchange.com/questions/149080/how-can-i-update-my-version-of-unzip-to-version-6-00-or-higher
>>> Thanks & Regards,
>>> S.A.Rajeevan
>>> Software Engineer WSO2 Inc
>>> Lean . Enterprise . Middleware
>>> E-Mail: rajeev...@wso2.com | Mobile : +94776411636
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Mahesh Chinthaka Vidanagama* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
> Email: mahe...@wso2.com | Web: www.wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Asanka Abeyweera

2014-11-08 Thread Pirinthapan Mahendran
Congratulations Asanka !!



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

On Sat, Nov 8, 2014 at 12:03 PM, Asanka Vithanage  wrote:

> Congratulations  !!!
>
> On Fri, Nov 7, 2014 at 8:29 AM, Manula Chathurika Thantriwatte <
> manu...@wso2.com> wrote:
>
>> Congratulations !!!
>>
>> On Fri, Nov 7, 2014 at 4:43 PM, Dushan Abeyruwan  wrote:
>>
>>> Congrats!! Keep up your good work
>>>
>>> On Fri, Nov 7, 2014 at 11:56 AM, Priyadarssini Kishokumar <
>>> priyadarss...@wso2.com> wrote:
>>>
 Congratulations Asanka ... !!

 On Fri, Nov 7, 2014 at 11:42 AM, Milinda Perera 
 wrote:

> Congratulations Asanka :)
>
> On Fri, Nov 7, 2014 at 11:18 AM, Shashika Karunatilaka <
> shashi...@wso2.com> wrote:
>
>> Congrats Asanka..
>>
>> On Fri, Nov 7, 2014 at 10:06 AM, Isuru Ranawaka 
>> wrote:
>>
>>> Congratulations Asanka
>>>
>>> On Fri, Nov 7, 2014 at 9:58 AM, Anuruddha Premalal <
>>> anurud...@wso2.com> wrote:
>>>
 Congratulations Asanka!!

 On Fri, Nov 7, 2014 at 9:32 AM, Niranjan Karunanandham <
 niran...@wso2.com> wrote:

> Congrats Asanka!!
>
> On Fri, Nov 7, 2014 at 9:24 AM, Godwin Amila Shrimal <
> god...@wso2.com> wrote:
>
>> Congratulations Asanka...!
>>
>> On Fri, Nov 7, 2014 at 9:20 AM, Kalpa Welivitigoda <
>> kal...@wso2.com> wrote:
>>
>>> Congratulations Asanka !
>>>
>>> On Fri, Nov 7, 2014 at 9:18 AM, Roshan Deniyage <
>>> rosh...@wso2.com> wrote:
>>>
 Congrats asanka!

 Roshan Deniyage
 Associate Technical Lead
 WSO2, Inc: http://wso2.com

 Mobile:  +94 777636406
 Twitter:  *https://twitter.com/roshku
 *
 LinkedIn :  https://www.linkedin.com/in/roshandeniyage


 On Thu, Nov 6, 2014 at 6:10 AM, Dilan Udara Ariyaratne <
 dil...@wso2.com> wrote:

> Congratulations, Asanka...!!!
>
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>
> On Wed, Nov 5, 2014 at 11:55 PM, Hasitha Hiranya <
> hasit...@wso2.com> wrote:
>
>> Congratulations, Asanka...!!!
>>
>> On Wed, Nov 5, 2014 at 11:29 PM, Harsha Kumara <
>> hars...@wso2.com> wrote:
>>
>>> Congratulations Asanka!
>>>
>>> On Wed, Nov 5, 2014 at 11:27 PM, Rajith Vitharana <
>>> raji...@wso2.com> wrote:
>>>
 Congratulations Asanka ... !!

 On Wed, Nov 5, 2014 at 8:37 AM, Ramith Jayasinghe <
 ram...@wso2.com> wrote:

> Hi Asanka,
>  Congratulations!
> It is with great pleasure that we welcome you as a WSO2
> committer. Keep up the good work!
> thanks and best regards,
>
> --
> Ramith Jayasinghe
> Technical Lead
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> E: ram...@wso2.com
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Rajith Vitharana

 Software Engineer,
 WSO2 Inc. : wso2.com
 Mobile : +94715883223
 Blog : http://lankavitharana.blogspot.com/

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Harsha Kumara
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94775505618
>>> Blog:harshcreationz.blogspot.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Hasitha Abeykoon*
>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>> *cell:*

Re: [Dev] WSO2 Committers += Harsha Kumara

2014-11-08 Thread Pirinthapan Mahendran
Congratulations Harsha !!



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

On Sat, Nov 8, 2014 at 12:04 PM, Asanka Vithanage  wrote:

> Congratulations  !!!
>
> On Fri, Nov 7, 2014 at 6:29 PM, Tharindu Edirisinghe 
> wrote:
>
>> Congratulations Harsha !!
>>
>> On Sat, Nov 8, 2014 at 6:44 AM, Dakshika Jayathilaka 
>> wrote:
>>
>>> Congratz Harsha...!
>>>
>>> *Dakshika Jayathilaka*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>> 0771100911
>>>
>>> On Sat, Nov 8, 2014 at 1:40 AM, Hasintha Indrajee 
>>> wrote:
>>>
 Congratulations Harsha ...!!!

 On Fri, Nov 7, 2014 at 9:57 PM, Manula Chathurika Thantriwatte <
 manu...@wso2.com> wrote:

> Congratulations !!!
>
> On Fri, Nov 7, 2014 at 9:45 PM, Dilan Udara Ariyaratne <
> dil...@wso2.com> wrote:
>
>> Congratulations Harsha!!!
>>
>>
>> *Dilan U. Ariyaratne*
>> Software Engineer
>> WSO2 Inc. 
>> Mobile: +94775149066
>> lean . enterprise . middleware
>>
>> On Fri, Nov 7, 2014 at 9:21 PM, Dhanuka Ranasinghe 
>> wrote:
>>
>>> Congratz Harsha, keep it up :)
>>>
>>> *Dhanuka Ranasinghe*
>>>
>>> Senior Software Engineer
>>> WSO2 Inc. ; http://wso2.com
>>> lean . enterprise . middleware
>>>
>>> phone : +94 715381915
>>>
>>> On Fri, Nov 7, 2014 at 2:06 AM, Vinuri Perera 
>>> wrote:
>>>
 Congratz  :)

 On Fri, Nov 7, 2014 at 12:18 PM, Denuwanthi De Silva <
 denuwan...@wso2.com> wrote:

> Congratulations Harsha!!
>
> On Fri, Nov 7, 2014 at 12:05 PM, Damith Wickramasinghe <
> dami...@wso2.com> wrote:
>
>> Congratzz Harsha...!
>>
>> On Fri, Nov 7, 2014 at 12:00 PM, Abimaran Kugathasan <
>> abima...@wso2.com> wrote:
>>
>>> Congrats!
>>>
>>> On Fri, Nov 7, 2014 at 11:48 AM, Milinda Perera <
>>> milin...@wso2.com> wrote:
>>>
 Congratulations harsha :)

 On Fri, Nov 7, 2014 at 11:38 AM, Malintha Adikari <
 malin...@wso2.com> wrote:

> Congratulations Harsha !
>
> On Fri, Nov 7, 2014 at 5:35 AM, Thilini Anoratna <
> thili...@wso2.com> wrote:
>
>> Congratz Harsha!!  :)
>>
>> On Fri, Nov 7, 2014 at 10:53 AM, Buddhima Wijeweera <
>> buddh...@wso2.com> wrote:
>>
>>> Congratulations Harsha !!!
>>>
>>> On Fri, Nov 7, 2014 at 10:47 AM, Roshan Wijesena <
>>> ros...@wso2.com> wrote:
>>>
 Congratulations..!!

 On Fri, Nov 7, 2014 at 10:41 AM, Rajeevan Vimalanathan <
 rajeev...@wso2.com> wrote:

> Congratz Harsha...!!!
>
> On Fri, Nov 7, 2014 at 10:33 AM, Kalpa Welivitigoda <
> kal...@wso2.com> wrote:
>
>> Congratulations Harsha !
>>
>> On Fri, Nov 7, 2014 at 10:26 AM, Mahesh Chinthaka <
>> mahe...@wso2.com> wrote:
>>
>>> Congratulations Harsha
>>>
>>> On Fri, Nov 7, 2014 at 10:17 AM, Prabath Abeysekera <
>>> praba...@wso2.com> wrote:
>>>
 Hi Everyone,

 It's my pleasure to welcome Harsha Kumara as a WSO2
 Committer. Harsha has always been a key member of the
 Storage Server team contributing immensely to SS related 
 developments ever
 since he joined us a few months back. In recognition of 
 his contributions,
 ownership shown towards the tasks/responsibilities 
 assigned to him, and
 commitment, he's been voted as a WSO2 committer.

 Harsha, Welcome aboard and keep up the awesome work!


 Cheers,
 Prabath
 --
 Prabath Abeysekara
 Associate Technical Lead, Data TG.
 WSO2 Inc.
 Email: praba...@wso2.com
 Mobile: +94774171471

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> *Mahesh Chinthaka Vidanagama* | Software E

Re: [Dev] Openstack instances are not functioning (appfactory setup)

2014-11-07 Thread Pirinthapan Mahendran
Hi Mahesh,

It's trying to access your local apache server. Check your apache
configurations. Since you have upgraded your OS the old configuration might
be lost.

Thanks.



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

On Fri, Nov 7, 2014 at 11:07 PM, Udara Liyanage  wrote:

> Hi,
>
> Seems you are trying to download some files from
> http://10.100.5.156:8080/dev/wso2as-5.2.1.zip
> Please make sure the location is accessible within the instance.
>
>
>
> Touched, not typed. Erroneous words are a feature, not a typo.
> On Nov 7, 2014 10:58 PM, "Sajith Kariyawasam"  wrote:
>
>> From where you download  appserver and cartridge agent packs? It seems
>> the web server IP or port is not correct, or may be the path is wrong.
>> Or may be the IP of your local machine has been changed (Its not
>> 10.100.5.156)
>>
>> --2014-11-07 16:57:39--  http://10.100.5.156:8080/dev/wso2as-5.2.1.zip
>> Connecting to 10.100.5.156:8080... failed: Connection refused.
>>
>>
>>
>>
>> On Fri, Nov 7, 2014 at 10:40 PM, Mahesh Chinthaka 
>> wrote:
>>
>>> Hi all,
>>>
>>> I set appfactory up in my local machine.
>>> created openstack instances by running *curl-multi-tenant.sh* script.
>>>
>>> Openstack instances are created , but those are not working. Simply i
>>> cannot deploy any apps.
>>> Here is the log of dev instance in openstack.
>>>
>>>
>>>  2014-11-07 16:57:39 (48.7 MB/s) - '/tmp/payload/launch-params' saved 
>>> [570/570]
>>>
>>> --2014-11-07 16:57:39--  http://10.100.5.156:8080/dev/wso2as-5.2.1.zip
>>> Connecting to 10.100.5.156:8080... failed: Connection refused.
>>> unzip:  cannot find or open wso2as-5.2.1.zip, wso2as-5.2.1.zip.zip or 
>>> wso2as-5.2.1.zip.ZIP.
>>> --2014-11-07 16:57:40--  
>>> http://10.100.5.156:8080/apache-stratos-cartridge-agent-4.0.0-wso2v1-bin.zip
>>> Connecting to 10.100.5.156:8080... failed: Connection refused.
>>> chmod: cannot access '/mnt/wso2as-5.2.1/bin/wso2server.sh': No such file or 
>>> directory
>>> /root/bin/ec2_init.sh: line 112: /mnt/wso2as-5.2.1/bin/wso2server.sh: No 
>>> such file or directory
>>> unzip:  cannot find or open 
>>> apache-stratos-cartridge-agent-4.0.0-wso2v1-bin.zip, 
>>> apache-stratos-cartridge-agent-4.0.0-wso2v1-bin.zip.zip or 
>>> apache-stratos-cartridge-agent-4.0.0-wso2v1-bin.zip.ZIP.
>>> Generating locales...
>>>   en_US.UTF-8... up-to-date
>>> Generation complete.
>>> Cloud-init v. 0.7.2 running 'modules:final' at Fri, 07 Nov 2014 16:57:49 
>>> +. Up 82.79 seconds.
>>> ci-info: ++Authorized keys from /home/ubuntu/.ssh/authorized_keys 
>>> for user ubuntu+++
>>> ci-info: 
>>> +-+-+-+---+
>>> ci-info: | Keytype |Fingerprint (md5)| 
>>> Options |  Comment  |
>>> ci-info: 
>>> +-+-+-+---+
>>> ci-info: | ssh-rsa | 9c:4c:4a:a9:8f:31:2f:40:86:c3:43:a4:1b:66:42:5b |- 
>>>| Generated by Nova |
>>> ci-info: | ssh-rsa | 36:48:7b:1c:63:ef:64:ba:ad:44:f5:16:73:50:06:25 |- 
>>>| Generated by Nova |
>>> ci-info: 
>>> +-+-+-+---+
>>> ec2:
>>> ec2: #
>>> ec2: -BEGIN SSH HOST KEY FINGERPRINTS-
>>> ec2: 1024 0f:0a:5c:4d:6f:30:e3:55:94:2a:4d:de:6a:bb:7e:85  
>>> root@setupmcdev-9d1 (DSA)
>>> ec2: 256 a1:dc:c0:72:7c:55:77:4d:4c:e7:ef:3a:02:9f:fd:48  
>>> root@setupmcdev-9d1 (ECDSA)
>>> ec2: 2048 83:a7:77:46:8a:4b:7d:5c:8a:f3:f5:1e:4e:88:c6:37  
>>> root@setupmcdev-9d1 (RSA)
>>> ec2: -END SSH HOST KEY FINGERPRINTS-
>>> ec2: #
>>> -BEGIN SSH HOST KEY KEYS-
>>> ecdsa-sha2-nistp256 
>>> E2VjZHNhLXNoYTItbmlzdHAyNTYIbmlzdHAyNTYAAABBBFbPHaxOkr259kay6LoDwZ+t4J0/AOiY9AE/0W+Jqf1LTgpengHZxYGBXaLT9ESQA+XMvMwpqzvXwnhXhpBKTVo=
>>>  root@setupmcdev-9d1
>>> ssh-rsa 
>>> B3NzaC1yc2EDAQABAAABAQDqPX2S6e3kJl2HrhHz/oMjlDzsMAgE4ExaL+1yiLXBa0qgYgoNhfmFDkIuVEv3vtlWeBCnbEPVmuvzNPwvKrVH5A9ldK276eGG7OL+t4k4P4+Vh0dIZSzL1CS2Wq4xfq1hEB2uRRcrZW8PtsqsWDLejz1cB6N7zH/ElQYsZRoV7CUF2SVPu3n29M4LsziS34ShsUzMV/xTOEhwV74EVOZcPdO/1c+ch7Em8HzyS/sqCte+O7EW9KBsev7ql1GuDWO4x/AHQ2rF2Rpr7SihFrfH9LZE7T3XEqAZif9t0F0vIOx0lGzEkPZLeMUMeRESb5A3gcfWuDeHiY/IdZCLRnMP
>>>  root@setupmcdev-9d1
>>> -END SSH HOST KEY KEYS-
>>> Cloud-init v. 0.7.2 finished at Fri, 07 Nov 2014 16:57:50 +. Datasource 
>>> DataSourceEc2.  Up 83.74 seconds
>>>
>>>
>>>
>>> Can somebody tell me how to get these three instances working ?
>>>
>>> --
>>> *Mahesh Chinthaka Vidanagama* | Software Engineer
>>> WSO2, Inc | lean. enterprise. middleware.
>>> #20, Palm Grove, Colombo 03, Sri Lanka
>>> Mobile: +94 71 63 63 083 | Work: +94 112 145 345
>>> Email: mahe...@wso2.com | Web: www.wso2.com
>>>
>>> ___
>>> Dev mailing lis

Re: [Dev] WSO2 Committers += Sameera Kannangara

2014-10-12 Thread Pirinthapan Mahendran
Congratulations Sameera !!



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

On Sat, Oct 11, 2014 at 11:09 PM, Buddhima Wijeweera 
wrote:

> Congratulations Sameera !!!
>
> On Sat, Oct 11, 2014 at 10:58 PM, Rajith Vitharana 
> wrote:
>
>> Congratulations Sameera  :)
>>
>> On Thu, Oct 9, 2014 at 9:08 PM, Subash Chaturanga 
>> wrote:
>>
>>> Hi all,
>>> It's our pleasure to welcome Sameera Kannangara as a WSO2 Committer.
>>> Sameera has contributed immensely to WSO2 Governance Registry and platform
>>> and shown great commitment. In recognition of his contribution, he has been
>>> voted as a WSO2 Commiter.
>>>
>>> Welcome aboard and keep up the good work.
>>>
>>> --
>>> Thanks
>>> /subash
>>>
>>> *Subash Chaturanga*
>>> Senior Software Engineer
>>> Platform TG; WSO2 Inc. http://wso2.com
>>> Contact:
>>> email: sub...@wso2.com
>>> blog:  http://subashsdm.blogspot.com/
>>> twitter: @subash89
>>> phone: +9477 2225922
>>> Lean . Enterprise . Middleware
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Rajith Vitharana
>>
>> Software Engineer,
>> WSO2 Inc. : wso2.com
>> Mobile : +94715883223
>> Blog : http://lankavitharana.blogspot.com/
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Buddhima Wijeweera
> Software Engineer; WSO2 Inc.; http://wso2.com ,
>
> Email: buddh...@wso2.com
> Blog:   https://buddhimawijeweera.wordpress.com
> GitHub Profile: https://github.com/Buddhima
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [App Factory Training Project] Build a development statistics Dashboard for Apps in App Factory

2014-09-17 Thread Pirinthapan Mahendran
Hi Gayan and Dimuthu,

I have solved the issue.
In the above script I mistakenly defined all the columns as  primary keys
in the table "commit_test1". That was the issue. Now I've corrected it and
its working as I expected.

Thanks.



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

On Tue, Sep 16, 2014 at 10:55 PM, Gayan Dhanushka  wrote:

> Hi Pirinthapan,
>
> I can see that you have tried to group by the relavant fields which is
> correct. I am not sure whether you have tried to group by later on after
> running the hive script at least once. Otherwise it is just basic sql and
> it should work.
>
> You can try dropping the hive intermediate hive table by running "drop
> table AppCommits" as a query in BAM. Run the aforesaid hive script again
> and see the result.
>
> Regards
> Gayan
>
> On Tue, Sep 16, 2014 at 6:52 PM, Pirinthapan Mahendran <
> pirintha...@wso2.com> wrote:
>
>> Hi Gayan,
>>
>> I have written the following hive script to collect the data from
>> Cassandra.
>>
>> CREATE EXTERNAL TABLE IF NOT EXISTS AppCommit(row_id STRING,
>> applicationKey STRING, tenantDomain STRING, user STRING, revision
>> STRING, timeSt BIGINT)
>> STORED BY 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler'  with
>> SERDEPROPERTIES("wso2.carbon.datasource.name" =
>> "WSO2BAM_CASSANDRA_DATASOURCE",
>> "cassandra.cf.name" = "org_wso2_carbon_appfactory_appCommit" ,
>> "cassandra.columns.mapping" = ":key, payload_appKey,
>> payload_tenantDomain, payload_user, payload_revision, Timestamp");
>>
>>
>> CREATE EXTERNAL TABLE IF NOT EXISTS commit_test1 (TENANT_DOMAIN STRING,
>> APPLICATION_KEY STRING, DAY STRING, COMMITS BIGINT) STORED BY
>> 'org.wso2.carbon.hadoop.hive.jdbc.storage.JDBCStorageHandler' TBLPROPERTIES
>> ( 'mapred.jdbc.driver.class' = 'com.mysql.jdbc.Driver' , '
>> wso2.carbon.datasource.name'='WSO2_AF_STAT_DB','hive.jdbc.update.on.duplicate'
>> = 'true', 'hive.jdbc.primary.key.fields' =
>> 'TENANT_DOMAIN,APPLICATION_KEY,DAY,COMMITS', 'hive.jdbc.table.create.query'
>> = 'CREATE TABLE commit_test1(APPLICATION_KEY VARCHAR(100), TENANT_DOMAIN
>> VARCHAR(100), DAY VARCHAR(100), COMMITS BIGINT)');
>>
>>
>> INSERT OVERWRITE TABLE commit_test1
>> SELECT rslt.tenantDomain, rslt.applicationKey, rslt.day,
>> count(rslt.applicationKey) as COMMITS FROM(SELECT tenantDomain,
>> applicationKey, day(from_unixtime(cast(timest/1000 as BIGINT),'-MM-dd
>> HH:mm:ss.SSS' )) day FROM AppCommit WHERE (UNIX_TIMESTAMP() -
>> cast(timest/1000 as BIGINT)) < 1209600) rslt GROUP BY rslt.tenantDomain,
>> rslt.applicationKey, rslt.day;
>>
>>
>> when I execute this script it insert the following data to mysql
>> database.
>>
>>
>> ​
>> In the above table when the commit number increases, the new data is
>> appended to the table as in the last four rows. But my requirement is to
>> have only one entry for each combination of APPLICATION_KEY, TENANT_DOMAIN
>> and DAY.
>>
>> So could you please tell me whether there are any methods to do this
>> using Hive?
>>
>> Thanks.
>>
>>
>>
>> Mahendran Pirinthapan
>> Software Engineer | WSO2 Inc.
>> Mobile +94772378732.
>>
>> On Mon, Sep 15, 2014 at 10:05 PM, Pirinthapan Mahendran <
>> pirintha...@wso2.com> wrote:
>>
>>> Thanks Gayan. Now its working.
>>>
>>>
>>>
>>> Mahendran Pirinthapan
>>> Software Engineer | WSO2 Inc.
>>> Mobile +94772378732.
>>>
>>> On Mon, Sep 15, 2014 at 9:40 PM, Gayan Dhanushka 
>>> wrote:
>>>
>>>> Hi Pirinthapan,
>>>>
>>>> What you have done is correct. But in order to publish commit details
>>>> to BAM from the gitblit server you need to enable data publishing in the
>>>> gitblit server.
>>>>
>>>> Please locate and open the gitblit.properties file resides within
>>>> /data folder. There is a property at the bottom called
>>>> "publishToBAM". You need to assign true to this property and restart the
>>>> server.
>>>>
>>>> This should solve your problem.
>>>>
>>>> Thanks
>>>> Gayan
>>>>
>>>>
>>>> On Mon, Sep 15, 2014 at 9:25 PM, Pirinthapan Mahendran <
>>>> pirintha...@wso2.com&g

Re: [Dev] [App Factory Training Project] Build a development statistics Dashboard for Apps in App Factory

2014-09-16 Thread Pirinthapan Mahendran
Hi Gayan,

I have written the following hive script to collect the data from
Cassandra.

CREATE EXTERNAL TABLE IF NOT EXISTS AppCommit(row_id STRING, applicationKey
STRING, tenantDomain STRING, user STRING, revision STRING, timeSt BIGINT)
STORED BY 'org.apache.hadoop.hive.cassandra.CassandraStorageHandler'  with
SERDEPROPERTIES("wso2.carbon.datasource.name" =
"WSO2BAM_CASSANDRA_DATASOURCE",
"cassandra.cf.name" = "org_wso2_carbon_appfactory_appCommit" ,
"cassandra.columns.mapping" = ":key, payload_appKey, payload_tenantDomain,
payload_user, payload_revision, Timestamp");


CREATE EXTERNAL TABLE IF NOT EXISTS commit_test1 (TENANT_DOMAIN STRING,
APPLICATION_KEY STRING, DAY STRING, COMMITS BIGINT) STORED BY
'org.wso2.carbon.hadoop.hive.jdbc.storage.JDBCStorageHandler' TBLPROPERTIES
( 'mapred.jdbc.driver.class' = 'com.mysql.jdbc.Driver' , '
wso2.carbon.datasource.name'='WSO2_AF_STAT_DB','hive.jdbc.update.on.duplicate'
= 'true', 'hive.jdbc.primary.key.fields' =
'TENANT_DOMAIN,APPLICATION_KEY,DAY,COMMITS', 'hive.jdbc.table.create.query'
= 'CREATE TABLE commit_test1(APPLICATION_KEY VARCHAR(100), TENANT_DOMAIN
VARCHAR(100), DAY VARCHAR(100), COMMITS BIGINT)');


INSERT OVERWRITE TABLE commit_test1
SELECT rslt.tenantDomain, rslt.applicationKey, rslt.day,
count(rslt.applicationKey) as COMMITS FROM(SELECT tenantDomain,
applicationKey, day(from_unixtime(cast(timest/1000 as BIGINT),'-MM-dd
HH:mm:ss.SSS' )) day FROM AppCommit WHERE (UNIX_TIMESTAMP() -
cast(timest/1000 as BIGINT)) < 1209600) rslt GROUP BY rslt.tenantDomain,
rslt.applicationKey, rslt.day;


when I execute this script it insert the following data to mysql database.


​
In the above table when the commit number increases, the new data is
appended to the table as in the last four rows. But my requirement is to
have only one entry for each combination of APPLICATION_KEY, TENANT_DOMAIN
and DAY.

So could you please tell me whether there are any methods to do this using
Hive?

Thanks.



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

On Mon, Sep 15, 2014 at 10:05 PM, Pirinthapan Mahendran <
pirintha...@wso2.com> wrote:

> Thanks Gayan. Now its working.
>
>
>
> Mahendran Pirinthapan
> Software Engineer | WSO2 Inc.
> Mobile +94772378732.
>
> On Mon, Sep 15, 2014 at 9:40 PM, Gayan Dhanushka  wrote:
>
>> Hi Pirinthapan,
>>
>> What you have done is correct. But in order to publish commit details to
>> BAM from the gitblit server you need to enable data publishing in the
>> gitblit server.
>>
>> Please locate and open the gitblit.properties file resides within
>> /data folder. There is a property at the bottom called
>> "publishToBAM". You need to assign true to this property and restart the
>> server.
>>
>> This should solve your problem.
>>
>> Thanks
>> Gayan
>>
>>
>> On Mon, Sep 15, 2014 at 9:25 PM, Pirinthapan Mahendran <
>> pirintha...@wso2.com> wrote:
>>
>>> Hi Gayan,
>>>
>>> Now I'm writing Hive script to collect the necessary commit data from
>>> Cassandra to MYSQL.  Before I started to write this I tested the existing
>>> hive script  with the name "AppCommits" in BAM server. For this I did
>>> the following steps:
>>>
>>> 1. I created an application in App Factory.
>>> 2. Cloned the application to my PC.
>>> 3. Made some changes and did some commits.
>>> 4. Then I accessed the GitBlit server in the browser. It shows all the
>>> commit details.
>>> 5. Then I executed the hive script "AppCommits" from BAM management
>>> console.
>>> 6. Then I checked the mysql database. The table "APP_COMMITS" is there.
>>> 7. But when I did some queries from that table, it returns empty set.
>>>
>>> According to my understanding whenever a commit happens the commit data
>>> will be published to the BAM server by the script [1].
>>>
>>> Could you please make me clear about whether my understandings and the
>>> procedures, I did, are correct. If those are correct could you please help
>>> me to find out, why the data is not in mysql.
>>>
>>> 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
>>>
>>> Thanks.
>>>
>>>
>>>
>>> Mahendran Pirinthapan
>>> Software Engineer | WSO2 Inc.
>>> Mobile +94772378732.
>>>
>>> On Thu, Sep 11, 2014 a

Re: [Dev] [App Factory Training Project] Build a development statistics Dashboard for Apps in App Factory

2014-09-15 Thread Pirinthapan Mahendran
Thanks Gayan. Now its working.



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

On Mon, Sep 15, 2014 at 9:40 PM, Gayan Dhanushka  wrote:

> Hi Pirinthapan,
>
> What you have done is correct. But in order to publish commit details to
> BAM from the gitblit server you need to enable data publishing in the
> gitblit server.
>
> Please locate and open the gitblit.properties file resides within
> /data folder. There is a property at the bottom called
> "publishToBAM". You need to assign true to this property and restart the
> server.
>
> This should solve your problem.
>
> Thanks
> Gayan
>
>
> On Mon, Sep 15, 2014 at 9:25 PM, Pirinthapan Mahendran <
> pirintha...@wso2.com> wrote:
>
>> Hi Gayan,
>>
>> Now I'm writing Hive script to collect the necessary commit data from
>> Cassandra to MYSQL.  Before I started to write this I tested the existing
>> hive script  with the name "AppCommits" in BAM server. For this I did
>> the following steps:
>>
>> 1. I created an application in App Factory.
>> 2. Cloned the application to my PC.
>> 3. Made some changes and did some commits.
>> 4. Then I accessed the GitBlit server in the browser. It shows all the
>> commit details.
>> 5. Then I executed the hive script "AppCommits" from BAM management
>> console.
>> 6. Then I checked the mysql database. The table "APP_COMMITS" is there.
>> 7. But when I did some queries from that table, it returns empty set.
>>
>> According to my understanding whenever a commit happens the commit data
>> will be published to the BAM server by the script [1].
>>
>> Could you please make me clear about whether my understandings and the
>> procedures, I did, are correct. If those are correct could you please help
>> me to find out, why the data is not in mysql.
>>
>> 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
>>
>> Thanks.
>>
>>
>>
>> Mahendran Pirinthapan
>> Software Engineer | WSO2 Inc.
>> Mobile +94772378732.
>>
>> On Thu, Sep 11, 2014 at 1:21 PM, Iqbal Irham  wrote:
>>
>>> Hi,
>>>
>>> Update on the project below.
>>>
>>> We have showed the hardcoded diagrams(bar chart for commit logs and pie
>>> chat for build statistics) to Dimuthu and Ajanthan and got their feedback.
>>>
>>> According to that,
>>>
>>>1. Application dashboard will have commit logs bar chart with last 2
>>>week data.
>>>2. Detail page will have a detail bar chart for commit logs and a
>>>pie chart for build statistics.
>>>3. Both graphs will have options to choose the time period of the
>>>graph.
>>>4. Detail page bar chart will have zooming option to get the
>>>accurate value of the column.
>>>
>>>
>>> Thanks,
>>>
>>> On Tue, Sep 9, 2014 at 6:05 PM, Vimalanathan Rajeevan <
>>> rajeev...@wso2.com> wrote:
>>>
>>>> Hi Pirinthapan,
>>>>
>>>> I would like to give some feedbacks on your design,
>>>> [1] Giving boarders for each graphs and tables
>>>> [2] You can increase the font size for headings (ex. "Build
>>>> Statistics", "Weekly commit logs")
>>>> [3] Bring the contents of browser to central position without align it
>>>> to left [1]
>>>> [4] Give some spaces at top before starting contents
>>>> [4] You can use more attractive 3D graph designing tools
>>>>
>>>> Best Regards,
>>>> V.Rajeevan
>>>> Software Engineer,
>>>> WSO2 Inc. :http://wso2.com
>>>>
>>>> Mobile : +94 773090875
>>>> Email : rajeev...@wso2.com
>>>>
>>>> On Sat, Sep 6, 2014 at 1:04 PM, Pirinthapan Mahendran <
>>>> pirintha...@wso2.com> wrote:
>>>>
>>>>> 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.
>&

Re: [Dev] [App Factory Training Project] Build a development statistics Dashboard for Apps in App Factory

2014-09-15 Thread Pirinthapan Mahendran
Hi Gayan,

Now I'm writing Hive script to collect the necessary commit data from
Cassandra to MYSQL.  Before I started to write this I tested the existing
hive script  with the name "AppCommits" in BAM server. For this I did the
following steps:

1. I created an application in App Factory.
2. Cloned the application to my PC.
3. Made some changes and did some commits.
4. Then I accessed the GitBlit server in the browser. It shows all the
commit details.
5. Then I executed the hive script "AppCommits" from BAM management console.
6. Then I checked the mysql database. The table "APP_COMMITS" is there.
7. But when I did some queries from that table, it returns empty set.

According to my understanding whenever a commit happens the commit data
will be published to the BAM server by the script [1].

Could you please make me clear about whether my understandings and the
procedures, I did, are correct. If those are correct could you please help
me to find out, why the data is not in mysql.

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

Thanks.



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

On Thu, Sep 11, 2014 at 1:21 PM, Iqbal Irham  wrote:

> Hi,
>
> Update on the project below.
>
> We have showed the hardcoded diagrams(bar chart for commit logs and pie
> chat for build statistics) to Dimuthu and Ajanthan and got their feedback.
>
> According to that,
>
>1. Application dashboard will have commit logs bar chart with last 2
>week data.
>2. Detail page will have a detail bar chart for commit logs and a pie
>chart for build statistics.
>3. Both graphs will have options to choose the time period of the
>graph.
>4. Detail page bar chart will have zooming option to get the accurate
>value of the column.
>
>
> Thanks,
>
> On Tue, Sep 9, 2014 at 6:05 PM, Vimalanathan Rajeevan 
> wrote:
>
>> Hi Pirinthapan,
>>
>> I would like to give some feedbacks on your design,
>> [1] Giving boarders for each graphs and tables
>> [2] You can increase the font size for headings (ex. "Build Statistics",
>> "Weekly commit logs")
>> [3] Bring the contents of browser to central position without align it to
>> left [1]
>> [4] Give some spaces at top before starting contents
>> [4] You can use more attractive 3D graph designing tools
>>
>> Best Regards,
>> V.Rajeevan
>> Software Engineer,
>> WSO2 Inc. :http://wso2.com
>>
>> Mobile : +94 773090875
>> Email : rajeev...@wso2.com
>>
>> On Sat, Sep 6, 2014 at 1:04 PM, Pirinthapan Mahendran <
>> pirintha...@wso2.com> wrote:
>>
>>> 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  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  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.
>

Re: [Dev] [App Factory Training Project] Build a development statistics Dashboard for Apps in App Factory

2014-09-06 Thread Pirinthapan Mahendran
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  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  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  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