Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Milan Perera
Congratz Mahesh..!!!

On Tue, Apr 28, 2015 at 11:43 AM, Prasanna Dangalla 
wrote:

> Congratulations Mahesh..
>
> On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara 
> 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 
>>> 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 
> wrote:
>
>> Congratz Mahesh!
>>
>> On Tue, Apr 28, 2015 at 10:28 AM, Kalpa Welivitigoda > > wrote:
>>
>>> Congratulations Mahesh !
>>>
>>> On Tue, Apr 28, 2015 at 10:28 AM, Tharik Kanaka 
>>> 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
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --

 Chamalee De Silva

 Software Engineer | WSO2

 E:chama...@wso2.com 
 M :0711540738| http://wso2.com 

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


>>>
>>>
>>> --
>>> Thusitha Dayaratne
>>> Software Engineer
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>> Mobile  +94712756809
>>> Blog  alokayasoya.blogspot.com
>>> Abouthttp://about.me/thusithathilina
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Chathura Priyankara
>> Software Engineer | WSO2 Inc.
>> Mobile : +94718795340
>> Blog : www.codeoncloud.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Prasanna Dangalla
> Software Engineer, WSO2, Inc.; http://wso2.com/
> lean.enterprise.middleware
>
> cell: +94 777 55 80 30 | +94 718 11 27 51
> twitter: @prasa77
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Milan Harindu Perera
Software Engineer
*WSO2, Inc*
(+94) 77 309 7088
lean . enterprise . middleware

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


[Dev] Please Review and Merge the PR

2015-04-28 Thread Thusitha Thilina Dayaratne
Hi,

Please review and merge the following PR[1] to change the jaggery version
in product-as
[1] - https://github.com/wso2/product-as/pull/58

Thanks
Best Regards
-- 
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog  alokayasoya.blogspot.com
Abouthttp://about.me/thusithathilina
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Differentiating the artifacts deployed with CAR file and persist the changes done through the management console

2015-04-28 Thread Kishanthan Thangarajah
On Mon, Apr 27, 2015 at 11:38 PM, Isuru Udana  wrote:

> Hi Kishanthan,
>
> On Mon, Apr 27, 2015 at 11:05 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>> So for #3, are we going to support mgt console level changes for
>> artifacts that comes from CApp's ? What are the user requirements and do we
>> actually need this?
>>
> I thought we decided to remove the editing functionality for artifacts
>> that comes from CApps in mgt console level.
>>
> We are having lot of issue with users accidentally editing artifacts
> coming from CApps in mgt console.
> As the first thing we can disable the editing option.
> However sometimes users need to do quick changes in artifacts using
> MgtConsole for testing purposes etc.. So if we disable editing
> functionality we won't be able to satisfy that.
> So we decided to see the possibility to persisting modifications back the
> CApp.
>

But if we think from the platform point of view, we do not support the
above for all the artifacts that comes from various products (Eg : DSS,
Registry-Artifacts, etc). Also the above approach also has some
issues/drawbacks. If something goes wrong during saving back to the CApp,
the complete CApp may become faulty and all artifacts from the CApp may get
removed.

IMHO, we should avoid this and allow modification only from Dev-Studio.



>
>> On Mon, Apr 27, 2015 at 7:15 PM, Priyadarssini Kishokumar <
>> priyadarss...@wso2.com> wrote:
>>
>>> Hi All,
>>>
>>> I'm implementing $Subject with related redmine[1]
>>>
>>> The main tasks should be
>>> 1. Identifying the artifacts deployed with CAR
>>> 2. Changes done through the management console for CAR artifacts should
>>> not be saved in default deployment location
>>> 3. Persisting the changes into the CAR file.
>>>
>>> Currently I'm identifying the artifacts coming from CAR and set the
>>> details in the synapse level. By this way requirements 1 & 2 can be solved.
>>> To persisting into CAR file, we need to get the CAPP name in the synapse
>>> level. Currently I'm doing by modify the "DeploymentFileData" in the axis2.
>>> In carbon application deployment "SynapseAppDeployer" class passing the
>>> DeploymentFileData to synapse. This is the only place the deployed file
>>> details are passing to synapse. To avoid axis2 level changes, we need to
>>> come up with  a way to send the CAPP file details to synapse. Please advise
>>> a better way to handle this.
>>>
>>>
>>> [1] https://redmine.wso2.com/issues/3837
>>>
>>> --
>>> Priya Kishok
>>> Software Engineer
>>> WSO2, Inc : http://wso2.com
>>> Mob : +94774457404
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> *Isuru Udana*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> email: isu...@wso2.com cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
>



-- 
*Kishanthan Thangarajah*
Associate Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Damith Wickramasinghe
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 
> wrote:
>
>> Congratulations Mahesh..
>>
>> On Tue, Apr 28, 2015 at 11:42 AM, Chathura Priyankara > > 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 
 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 > > 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 
 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
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Chamalee De Silva
>
> Software Engineer | WSO2
>
> E:chama...@wso2.com 
> M :0711540738| http://wso2.com 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Thusitha Dayaratne
 Software Engineer
 WSO2 Inc. - lean . enterprise . middleware |  wso2.com

 Mobile  +94712756809
 Blog  alokayasoya.blogspot.com
 Abouthttp://about.me/thusithathilina


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


>>>
>>>
>>> --
>>> Chathura Priyankara
>>> Software Engineer | WSO2 Inc.
>>> Mobile : +94718795340
>>> Blog : www.codeoncloud.blogspot.com
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Prasanna Dangalla
>> Software Engineer, WSO2, Inc.; http://wso2.com/
>> lean.enterprise.middleware
>>
>> cell: +94 777 55 80 30 | +94 718 11 27 51
>> twitter: @prasa77
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Milan Harindu Perera
> Software Engineer
> *WSO2, Inc*
> (+94) 77 309 7088
> lean . enterprise . middleware
> 

[Dev] [AppM] Please review and merge PR ( JIRA APPM-676)

2015-04-28 Thread Ruwan Abeykoon
Hi Team,
Please review and merge PR[1] and [2]. This will fix all the issues noted
in JIRA APPM-676 [3]

Please note that I removed the following directories as I think they are
not being used.

carbon-appmgt/features/appmgt/org.wso2.carbon.appmgt.core.
feature/src/main/resources/config/BAM/
product-app-manager/config/BAM

[1] https://github.com/wso2/carbon-appmgt/pull/41
[2] https://github.com/wso2/product-app-manager/pull/212
[3] https://wso2.org/jira/browse/APPM-676


-- 

*Ruwan Abeykoon*
*Architect,*
*WSO2, Inc. http://wso2.com  *
*lean.enterprise.middleware.*

email: ruw...@wso2.com
phone:(+94) 39736
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please Review and Merge the PR

2015-04-28 Thread KasunG Gajasinghe
Merged.

On Tue, Apr 28, 2015 at 12:38 PM, Thusitha Thilina Dayaratne <
thusit...@wso2.com> wrote:

> Hi,
>
> Please review and merge the following PR[1] to change the jaggery version
> in product-as
> [1] - https://github.com/wso2/product-as/pull/58
>
> Thanks
> Best Regards
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>


-- 

*Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
email: kasung AT spamfree wso2.com
linked-in: http://lk.linkedin.com/in/gajasinghe
blog: http://kasunbg.org
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Reading zip file form VFS

2015-04-28 Thread Manuranga Perera
Hi Malaka, Ravi
this is not same as using VFS, since in task approach I have to take into
account what happens when multiple files come in. there will be much more
code i have to write if I am using task.

so why is task better approach?

On Tue, Apr 28, 2015 at 10:26 AM, Shakila Sivagnanarajah 
wrote:

> Hi,
>
> AFIK we can improve file connector with this feature. We have a method in
> file connector to append content into a file. And we can read a file and
> process the content using VFS. As Ravi and Malaka mentioned, we can trigger
> the proxy using polling transport.
>
> On Tue, Apr 28, 2015 at 10:00 AM, Malaka Silva  wrote:
>
>> Hi Manuranga,
>>
>> Anyway in polling transport checks for the files according to the
>> interval given. You can achieve the same using schedule task as Ravi
>> mentioned.
>>
>> Also you can simple change the URL from local file to FTP since you will
>> be using common VFS library.
>>
>> @Connector Team - Can we improve the file connector to support this?
>> Please add this to the list.
>>
>> On Tue, Apr 28, 2015 at 9:50 AM, Manuranga Perera  wrote:
>>
>>> Then I'll have to write the file monitor part manually. I want to switch
>>> to ftp later.
>>> On 28 Apr 2015 09:46, "Ravi Undupitiya"  wrote:
>>>
 Hi Manuranga,

 You can place the file connector inside a scheduled task.

 On Tue, Apr 28, 2015 at 9:42 AM, Manuranga Perera 
 wrote:

> But then how does the proxy get started ?
> On 28 Apr 2015 09:40, "Malaka Silva"  wrote:
>
>> Hi,
>>
>> IMO you can write a connector to the job. It'll be similar to file
>> connector. [1]
>>
>> Anyway message is already build when it's invoking the class mediator.
>>
>> [1]
>> https://storepreview.wso2.com/store/assets/esbconnector/f0550184-88c4-4d5e-b73f-ea51b1b5ab98
>>
>> On Mon, Apr 27, 2015 at 5:58 PM, Manuranga Perera 
>> wrote:
>>
>>> I am reading a zip file from VFS transport. I need to read and merge
>>> all the files in the zip (from a custom mediator).
>>>
>>> I can write the unzip logic in my custom mediator by reading the zip
>>> file as a byte stream. but is there a better way to do this?
>>> --
>>> With regards,
>>> *Manu*ranga Perera.
>>>
>>> phone : 071 7 70 20 50
>>> mail : m...@wso2.com
>>>
>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Tech Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>>
>> Save a tree -Conserve nature & Save the world for your future. Print
>> this email only if it is absolutely necessary.
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Ravi Undupitiya*
 Senior Software Engineer; WSO2 http://wso2.com


 *E-mail: r...@wso2.com **M: **+94 772 930 712
 <%2B94%C2%A0772%20930%20712>*

 Lean . Enterprise . Middleware

>>>
>>
>>
>> --
>>
>> Best Regards,
>>
>> Malaka Silva
>> Senior Tech Lead
>> M: +94 777 219 791
>> Tel : 94 11 214 5345
>> Fax :94 11 2145300
>> Skype : malaka.sampath.silva
>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>> Blog : http://mrmalakasilva.blogspot.com/
>>
>> WSO2, Inc.
>> lean . enterprise . middleware
>> http://www.wso2.com/
>> http://www.wso2.com/about/team/malaka-silva/
>> 
>>
>> Save a tree -Conserve nature & Save the world for your future. Print this
>> email only if it is absolutely necessary.
>>
>
>
>
> --
> Shakila Sivagnanarajah
> Associate Software Engineer
> Mobile :+94 (0) 770 760240
> shak...@wso2.com
>



-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Sajith Abeywardhana
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 
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 
>> 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  > 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 
> 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
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> Chamalee De Silva
>>
>> Software Engineer | WSO2
>>
>> E:chama...@wso2.com 
>> M :0711540738| http://wso2.com 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Thusitha Dayaratne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> Mobile  +94712756809
> Blog  alokayasoya.blogspot.com
> Abouthttp://about.me/thusithathilina
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Chathura Priyankara
 Software Engineer | WSO2 Inc.
 Mobile : +94718795340
 Blog : www.codeoncloud.blogspot.com

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/m

Re: [Dev] Differentiating the artifacts deployed with CAR file and persist the changes done through the management console

2015-04-28 Thread Isuru Udana
Hi Kishanthan/Manoj,

We agree with your points. We'll drop the task of persisting artifacts back
to CApp and will do only the task of disabling editing capability from Mgt
console for artifacts coming from a CApp .

Thanks.

On Tue, Apr 28, 2015 at 12:47 PM, Kishanthan Thangarajah <
kishant...@wso2.com> wrote:

>
>
> On Mon, Apr 27, 2015 at 11:38 PM, Isuru Udana  wrote:
>
>> Hi Kishanthan,
>>
>> On Mon, Apr 27, 2015 at 11:05 PM, Kishanthan Thangarajah <
>> kishant...@wso2.com> wrote:
>>
>>> So for #3, are we going to support mgt console level changes for
>>> artifacts that comes from CApp's ? What are the user requirements and do we
>>> actually need this?
>>>
>> I thought we decided to remove the editing functionality for artifacts
>>> that comes from CApps in mgt console level.
>>>
>> We are having lot of issue with users accidentally editing artifacts
>> coming from CApps in mgt console.
>> As the first thing we can disable the editing option.
>> However sometimes users need to do quick changes in artifacts using
>> MgtConsole for testing purposes etc.. So if we disable editing
>> functionality we won't be able to satisfy that.
>> So we decided to see the possibility to persisting modifications back the
>> CApp.
>>
>
> But if we think from the platform point of view, we do not support the
> above for all the artifacts that comes from various products (Eg : DSS,
> Registry-Artifacts, etc). Also the above approach also has some
> issues/drawbacks. If something goes wrong during saving back to the CApp,
> the complete CApp may become faulty and all artifacts from the CApp may get
> removed.
>
> IMHO, we should avoid this and allow modification only from Dev-Studio.
>
>
>
>>
>>> On Mon, Apr 27, 2015 at 7:15 PM, Priyadarssini Kishokumar <
>>> priyadarss...@wso2.com> wrote:
>>>
 Hi All,

 I'm implementing $Subject with related redmine[1]

 The main tasks should be
 1. Identifying the artifacts deployed with CAR
 2. Changes done through the management console for CAR artifacts should
 not be saved in default deployment location
 3. Persisting the changes into the CAR file.

 Currently I'm identifying the artifacts coming from CAR and set the
 details in the synapse level. By this way requirements 1 & 2 can be solved.
 To persisting into CAR file, we need to get the CAPP name in the synapse
 level. Currently I'm doing by modify the "DeploymentFileData" in the axis2.
 In carbon application deployment "SynapseAppDeployer" class passing the
 DeploymentFileData to synapse. This is the only place the deployed file
 details are passing to synapse. To avoid axis2 level changes, we need to
 come up with  a way to send the CAPP file details to synapse. Please advise
 a better way to handle this.


 [1] https://redmine.wso2.com/issues/3837

 --
 Priya Kishok
 Software Engineer
 WSO2, Inc : http://wso2.com
 Mob : +94774457404

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


>>>
>>>
>>> --
>>> *Kishanthan Thangarajah*
>>> Associate Technical Lead,
>>> Platform Technologies Team,
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - +94773426635
>>> Blog - *http://kishanthan.wordpress.com
>>> *
>>> Twitter - *http://twitter.com/kishanthan
>>> *
>>>
>>
>>
>>
>> --
>> *Isuru Udana*
>> Associate Technical Lead
>> WSO2 Inc.; http://wso2.com
>> email: isu...@wso2.com cell: +94 77 3791887
>> blog: http://mytecheye.blogspot.com/
>>
>
>
>
> --
> *Kishanthan Thangarajah*
> Associate Technical Lead,
> Platform Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com *
> Twitter - *http://twitter.com/kishanthan *
>



-- 
*Isuru Udana*
Associate Technical Lead
WSO2 Inc.; http://wso2.com
email: isu...@wso2.com cell: +94 77 3791887
blog: http://mytecheye.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Reading zip file form VFS

2015-04-28 Thread Manuranga Perera
Had a chat with Isuru, since I don't want to write custom code for handling
multiple files scenario, I'll continue to use VFS with binary relay for the
content type.

If we are recommending file connector over VFS, then we need to have some *file
iterator* functionality too. Otherwise, using file connector instead of VFS
will not work. In the future if this becomes available we can switch.

On Tue, Apr 28, 2015 at 1:02 PM, Manuranga Perera  wrote:

> Hi Malaka, Ravi
> this is not same as using VFS, since in task approach I have to take into
> account what happens when multiple files come in. there will be much more
> code i have to write if I am using task.
>
> so why is task better approach?
>
> On Tue, Apr 28, 2015 at 10:26 AM, Shakila Sivagnanarajah  > wrote:
>
>> Hi,
>>
>> AFIK we can improve file connector with this feature. We have a method in
>> file connector to append content into a file. And we can read a file and
>> process the content using VFS. As Ravi and Malaka mentioned, we can trigger
>> the proxy using polling transport.
>>
>> On Tue, Apr 28, 2015 at 10:00 AM, Malaka Silva  wrote:
>>
>>> Hi Manuranga,
>>>
>>> Anyway in polling transport checks for the files according to the
>>> interval given. You can achieve the same using schedule task as Ravi
>>> mentioned.
>>>
>>> Also you can simple change the URL from local file to FTP since you will
>>> be using common VFS library.
>>>
>>> @Connector Team - Can we improve the file connector to support this?
>>> Please add this to the list.
>>>
>>> On Tue, Apr 28, 2015 at 9:50 AM, Manuranga Perera  wrote:
>>>
 Then I'll have to write the file monitor part manually. I want to
 switch to ftp later.
 On 28 Apr 2015 09:46, "Ravi Undupitiya"  wrote:

> Hi Manuranga,
>
> You can place the file connector inside a scheduled task.
>
> On Tue, Apr 28, 2015 at 9:42 AM, Manuranga Perera 
> wrote:
>
>> But then how does the proxy get started ?
>> On 28 Apr 2015 09:40, "Malaka Silva"  wrote:
>>
>>> Hi,
>>>
>>> IMO you can write a connector to the job. It'll be similar to file
>>> connector. [1]
>>>
>>> Anyway message is already build when it's invoking the class
>>> mediator.
>>>
>>> [1]
>>> https://storepreview.wso2.com/store/assets/esbconnector/f0550184-88c4-4d5e-b73f-ea51b1b5ab98
>>>
>>> On Mon, Apr 27, 2015 at 5:58 PM, Manuranga Perera 
>>> wrote:
>>>
 I am reading a zip file from VFS transport. I need to read and
 merge all the files in the zip (from a custom mediator).

 I can write the unzip logic in my custom mediator by reading the
 zip file as a byte stream. but is there a better way to do this?
 --
 With regards,
 *Manu*ranga Perera.

 phone : 071 7 70 20 50
 mail : m...@wso2.com

>>>
>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Tech Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>> http://www.wso2.com/about/team/malaka-silva/
>>> 
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Ravi Undupitiya*
> Senior Software Engineer; WSO2 http://wso2.com
>
>
> *E-mail: r...@wso2.com **M: **+94 772 930 712
> <%2B94%C2%A0772%20930%20712>*
>
> Lean . Enterprise . Middleware
>

>>>
>>>
>>> --
>>>
>>> Best Regards,
>>>
>>> Malaka Silva
>>> Senior Tech Lead
>>> M: +94 777 219 791
>>> Tel : 94 11 214 5345
>>> Fax :94 11 2145300
>>> Skype : malaka.sampath.silva
>>> LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
>>> Blog : http://mrmalakasilva.blogspot.com/
>>>
>>> WSO2, Inc.
>>> lean . enterprise . middleware
>>> http://www.wso2.com/
>>> http://www.wso2.com/about/team/malaka-silva/
>>> 
>>>
>>> Save a tree -Conserve nature & Save the world for your future. Print
>>> this email only if it is absolutely necessary.
>>>
>>
>>
>>
>> --
>> Shakila Sivagnanarajah
>> Associate Software Engineer
>> Mobile :+94 (0) 770 760240
>> shak...@wso2.com
>>
>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



-- 
With regards,
*Manu*ranga Perera.

phone : 071 7 70 20 50
mail : m...@wso2.com
___
Dev

Re: [Dev] Please review and merge PR for APIMANAGER-3472

2015-04-28 Thread Roshan Wijesena
Done.

Regards
Roshan.

On Tue, Apr 28, 2015 at 11:54 AM, Kasun Gunasekara  wrote:

> Hi,
>
> Please find the fix PR [1] for JIRA APIMANAGER-3472 [2], review and merge.
>
> [1] https://github.com/wso2/carbon-apimgt/pull/248
> [2] https://wso2.org/jira/browse/APIMANAGER-3472
>
> Regards.
>
> Kasun Gunasekara
> Software Engineering Intern - WSO2
> Mobile : +94 77 6986482
> Twitter  | Google+
>  | LinkedIn
> 
>



-- 
Roshan Wijesena.
Senior Software Engineer-WSO2 Inc.
Mobile: *+94719154640*
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


Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Niranda Perera
@Kasun thank you for the clarification

I have made the adjustments. can you please check it?

rgds

On Mon, Apr 27, 2015 at 11:16 AM, KasunG Gajasinghe  wrote:

> Hi Niranda,
>
> The Bundle-Classpath tag is as mentioned above is required to over-ride
> the classes in the original orbit bundle. Since both the orbit bundle, and
> patched bundle have the same classes, we need to instruct to give
> precedence to the patch.jar. Hence, the above tag is required.
>
> The bundles will be resolved fine, but the over-riding may or may not
> happen. So, can you add this tag? Further, there are some pending comments
> in the PR.
>
> Thanks.
>
> On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera  wrote:
>
>> Hi Supun,
>>
>> are you referring to this?
>> 
>> org.apache.spark.*;version="${spark.version}";-split-package:=merge-first
>> 
>>
>> well, AFAIK what export-package does is, it exposes the
>> org.apache.spark.* classes in the OSGI environment. since we are not doing
>> any patching for the original classes, I dont think we have to change the
>> version to 1.3.0.wso2v1
>>
>> @sameera, pls correct me if I'm wrong.
>>
>> rgds
>>
>> On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga  wrote:
>>
>>> Hi Sameera/Niranda,
>>>
>>> With parallel to this, Im in the process of migrating the spark Ml-Lib
>>> and spark streaming versions for product ML. Just wanted to clear myself,
>>> shouldn't the export-package-version of all spark packages be 1.3.0.wso2v1,
>>> rather than 1.3.0?
>>>
>>> Thanks,
>>> Supun
>>>
>>> On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera 
>>> wrote:
>>>
 oh. are you referring to the
 patch.jar,.
 line?
 I did not include it in the orbit bundle.

 but I checked the bundles in a fresh carbon server and it seems like
 the patch gets attached successfully.
 ​
  Screenshot from 2015-04-17 16:20:15.png
 
 ​
 I checked it with BAM pack also.

  tag, is it mandatory to be in the for the orbit
 bundle, for the patch to get attached?

 the patch pom is as follows

 https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml





 On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando 
 wrote:

> Niranda, yeah, we would have to put that part to be able to later
> patch it. A sample can be found here [1].
>
> [1]
> https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml
>
> Cheers,
> Anjana.
>
> On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma 
> wrote:
>
>> I meant to say, do we need to add the patch.jar line to the spark
>> bundle as we've done in Tomcat bundle.
>>
>> Thanks,
>> Sameera.
>>
>> On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera 
>> wrote:
>>
>>> Hi Sameera,
>>>
>>> No its not. The patch is in org.wso2.analytics.spark.patch
>>> component. Its still not committed to carbon - analytics
>>>
>>> Rgds
>>>
>>> On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma 
>>> wrote:
>>>
 Hi Niranda,

 Does this include fragment-bundle/patch modification also?

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera 
 wrote:

> Hi,
>
> Kind reminder on this.
>
> Best regards
>
> Niranda Perera
> Software Engineer, WSO2 Inc.
> Mobile: +94-71-554-8430
> Twitter: @n1r44
> On Apr 14, 2015 19:17, "Niranda Perera"  wrote:
>
>> Hi Sameera,
>>
>> Could you please review this PR [1] for Spark 1.3.0.
>>
>> this upgrades 1.2.1 to 1.3.0. this upgrade is done, because 1.3.0
>> comes with some major API changes and we wanted to include those API
>> changes before the DAS (BAM) 3.0.0 alpha
>>
>> cheers
>>
>> [1] https://github.com/wso2/orbit/pull/83
>>
>> --
>> *Niranda Perera*
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-71-554-8430
>> Twitter: @n1r44 
>>
>


 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
 Mobile: 0094776364456

 Lean . Enterprise . Middleware


>>
>>
>> --
>> Sameera Jayasoma,
>> Software Architect,
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://b

Re: [Dev] Reading zip file form VFS

2015-04-28 Thread Manuranga Perera
In file connector if we can have something like following it will work for
this scenario. I think will be a common requirement whenever there can be
multiple files. Connector team, pleas talk with ESB team and see if this
makes scene.


/home/manu/watch_dir
forEachZipFileSq
 wrote:

> Had a chat with Isuru, since I don't want to write custom code for
> handling multiple files scenario, I'll continue to use VFS with binary
> relay for the content type.
>
> If we are recommending file connector over VFS, then we need to have some 
> *file
> iterator* functionality too. Otherwise, using file connector instead of
> VFS will not work. In the future if this becomes available we can switch.
>
> On Tue, Apr 28, 2015 at 1:02 PM, Manuranga Perera  wrote:
>
>> Hi Malaka, Ravi
>> this is not same as using VFS, since in task approach I have to take into
>> account what happens when multiple files come in. there will be much more
>> code i have to write if I am using task.
>>
>> so why is task better approach?
>>
>> On Tue, Apr 28, 2015 at 10:26 AM, Shakila Sivagnanarajah <
>> shak...@wso2.com> wrote:
>>
>>> Hi,
>>>
>>> AFIK we can improve file connector with this feature. We have a method
>>> in file connector to append content into a file. And we can read a file and
>>> process the content using VFS. As Ravi and Malaka mentioned, we can trigger
>>> the proxy using polling transport.
>>>
>>> On Tue, Apr 28, 2015 at 10:00 AM, Malaka Silva  wrote:
>>>
 Hi Manuranga,

 Anyway in polling transport checks for the files according to the
 interval given. You can achieve the same using schedule task as Ravi
 mentioned.

 Also you can simple change the URL from local file to FTP since you
 will be using common VFS library.

 @Connector Team - Can we improve the file connector to support this?
 Please add this to the list.

 On Tue, Apr 28, 2015 at 9:50 AM, Manuranga Perera 
 wrote:

> Then I'll have to write the file monitor part manually. I want to
> switch to ftp later.
> On 28 Apr 2015 09:46, "Ravi Undupitiya"  wrote:
>
>> Hi Manuranga,
>>
>> You can place the file connector inside a scheduled task.
>>
>> On Tue, Apr 28, 2015 at 9:42 AM, Manuranga Perera 
>> wrote:
>>
>>> But then how does the proxy get started ?
>>> On 28 Apr 2015 09:40, "Malaka Silva"  wrote:
>>>
 Hi,

 IMO you can write a connector to the job. It'll be similar to file
 connector. [1]

 Anyway message is already build when it's invoking the class
 mediator.

 [1]
 https://storepreview.wso2.com/store/assets/esbconnector/f0550184-88c4-4d5e-b73f-ea51b1b5ab98

 On Mon, Apr 27, 2015 at 5:58 PM, Manuranga Perera 
 wrote:

> I am reading a zip file from VFS transport. I need to read and
> merge all the files in the zip (from a custom mediator).
>
> I can write the unzip logic in my custom mediator by reading the
> zip file as a byte stream. but is there a better way to do this?
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : m...@wso2.com
>



 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 

 Save a tree -Conserve nature & Save the world for your future.
 Print this email only if it is absolutely necessary.

>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Ravi Undupitiya*
>> Senior Software Engineer; WSO2 http://wso2.com
>>
>>
>> *E-mail: r...@wso2.com **M: **+94 772 930 712
>> <%2B94%C2%A0772%20930%20712>*
>>
>> Lean . Enterprise . Middleware
>>
>


 --

 Best Regards,

 Malaka Silva
 Senior Tech Lead
 M: +94 777 219 791
 Tel : 94 11 214 5345
 Fax :94 11 2145300
 Skype : malaka.sampath.silva
 LinkedIn : http://www.linkedin.com/pub/malaka-silva/6/33/77
 Blog : http://mrmalakasilva.blogspot.com/

 WSO2, Inc.
 lean . enterprise . middleware
 http://www.wso2.com/
 http://www.wso2.com/about/team/malaka-silva/
 

 Save a tree

Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Dinithi De Silva
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 
> 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 
>>> 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 
>> 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
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>

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


>>>
>>>
>>> --
>>>
>>> Chamalee De Silva
>>>
>>> Software Engineer | WSO2
>>>
>>> E:chama...@wso2.com 
>>> M :0711540738| http://wso2.com 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Thusitha Dayaratne
>> Software Engineer
>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>
>> Mobile  +94712756809
>> Blog  alokayasoya.blogspot.com
>> Abouthttp://about.me/thusithathilina
>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/ma

Re: [Dev] Any available module for jaggery to get oAuth tokens?

2015-04-28 Thread Dulitha Wijewantha
Yeah, that's the service URL to get tokens, but I am looking for an api to
get the tokens. Since there is no such API available, shall I improve the
oAuth module to perform this function?

On Fri, Apr 24, 2015 at 7:33 PM, Madusanka Premaratne 
wrote:

> Hi Dulitha,
> You can call to https://localhost:8243/token to get both refresh_token
> and access_token
> Have a look at the following curl command
> curl -k -d "grant_type=password&username=admin&password=admin" -H
> "Authorization: Basic
> bmU5X015dDNKWGxuTDRNWjhrbnlFdDM3cGRvYTpTSEtCOTZoX0RjeGVlMnQ0eG9JZlhMUERRRHdh,
> Content-Type: application/x-www-form-urlencoded"
> https://localhost:8243/token
>
> Thanks,
> Madusanka
>
> On Fri, Apr 24, 2015 at 5:14 PM, Dulitha Wijewantha 
> wrote:
>
>> Hi guys,
>> Is there are any available module for jaggery (or Java) that can be
>> called to obtain oAuth 2 tokens from API Manager? I looked into the oauth
>> module [1] in jaggery but it doesn't seem to return refresh tokens.
>>
>> My use-case is to obtain access/refresh tokens for Password/SAML Grant
>> Type from a Jaggery app.
>>
>> [1] -
>> https://github.com/wso2/jaggery-extensions/blob/master/oauth/resources/org.jaggeryjs.modules.oauth/src/main/java/org/jaggeryjs/modules/oauth/OAuthHostObject.java
>>
>> Cheers~
>>
>> --
>> Dulitha Wijewantha (Chan)
>> Software Engineer - Mobile Development
>> WSO2 Inc
>> Lean.Enterprise.Middleware
>>  * ~Email   duli...@wso2.com *
>> *  ~Mobile +94712112165 <%2B94712112165>*
>> *  ~Website   dulitha.me *
>> *  ~Twitter @dulitharw *
>>   *~Github @dulichan *
>>   *~SO @chan *
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Madusanka Premaratne* | Associate Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 835 70 73| Work: +94 112 145 345
> Email: madusan...@wso2.com | Web: www.wso2.com
>
> [image: Facebook]  [image: Twitter]
>  [image: Google Plus]
>  [image:
> Linkedin]  [image: Instagram]
>  [image: Skype]
> 
>
>


-- 
Dulitha Wijewantha (Chan)
Software Engineer - Mobile Development
WSO2 Inc
Lean.Enterprise.Middleware
 * ~Email   duli...@wso2.com *
*  ~Mobile +94712112165*
*  ~Website   dulitha.me *
*  ~Twitter @dulitharw *
  *~Github @dulichan *
  *~SO @chan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Differentiating the artifacts deployed with CAR file and persist the changes done through the management console

2015-04-28 Thread Priyadarssini Kishokumar
Hi,

According to the discussion, we'll drop persisting artifacts to CApp.
We are planning ti implement
1. Indicating the artifacts deploy from CApp in UI
2. Enabling editing artifacts, but not saving into the deployment
directory, instead saving into the temp location.
3. Identifying the artifacts being edited through management console &
showing that detail in UI.
4. Avoiding to deploy artifacts into the default location while saving
through main source view.(config admin)

Thanks


On Tue, Apr 28, 2015 at 1:25 PM, Isuru Udana  wrote:

> Hi Kishanthan/Manoj,
>
> We agree with your points. We'll drop the task of persisting artifacts
> back to CApp and will do only the task of disabling editing capability from
> Mgt console for artifacts coming from a CApp .
>
> Thanks.
>
> On Tue, Apr 28, 2015 at 12:47 PM, Kishanthan Thangarajah <
> kishant...@wso2.com> wrote:
>
>>
>>
>> On Mon, Apr 27, 2015 at 11:38 PM, Isuru Udana  wrote:
>>
>>> Hi Kishanthan,
>>>
>>> On Mon, Apr 27, 2015 at 11:05 PM, Kishanthan Thangarajah <
>>> kishant...@wso2.com> wrote:
>>>
 So for #3, are we going to support mgt console level changes for
 artifacts that comes from CApp's ? What are the user requirements and do we
 actually need this?

>>> I thought we decided to remove the editing functionality for artifacts
 that comes from CApps in mgt console level.

>>> We are having lot of issue with users accidentally editing artifacts
>>> coming from CApps in mgt console.
>>> As the first thing we can disable the editing option.
>>> However sometimes users need to do quick changes in artifacts using
>>> MgtConsole for testing purposes etc.. So if we disable editing
>>> functionality we won't be able to satisfy that.
>>> So we decided to see the possibility to persisting modifications back
>>> the CApp.
>>>
>>
>> But if we think from the platform point of view, we do not support the
>> above for all the artifacts that comes from various products (Eg : DSS,
>> Registry-Artifacts, etc). Also the above approach also has some
>> issues/drawbacks. If something goes wrong during saving back to the CApp,
>> the complete CApp may become faulty and all artifacts from the CApp may get
>> removed.
>>
>> IMHO, we should avoid this and allow modification only from Dev-Studio.
>>
>>
>>
>>>
 On Mon, Apr 27, 2015 at 7:15 PM, Priyadarssini Kishokumar <
 priyadarss...@wso2.com> wrote:

> Hi All,
>
> I'm implementing $Subject with related redmine[1]
>
> The main tasks should be
> 1. Identifying the artifacts deployed with CAR
> 2. Changes done through the management console for CAR artifacts
> should not be saved in default deployment location
> 3. Persisting the changes into the CAR file.
>
> Currently I'm identifying the artifacts coming from CAR and set the
> details in the synapse level. By this way requirements 1 & 2 can be 
> solved.
> To persisting into CAR file, we need to get the CAPP name in the synapse
> level. Currently I'm doing by modify the "DeploymentFileData" in the 
> axis2.
> In carbon application deployment "SynapseAppDeployer" class passing the
> DeploymentFileData to synapse. This is the only place the deployed file
> details are passing to synapse. To avoid axis2 level changes, we need to
> come up with  a way to send the CAPP file details to synapse. Please 
> advise
> a better way to handle this.
>
>
> [1] https://redmine.wso2.com/issues/3837
>
> --
> Priya Kishok
> Software Engineer
> WSO2, Inc : http://wso2.com
> Mob : +94774457404
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Kishanthan Thangarajah*
 Associate Technical Lead,
 Platform Technologies Team,
 WSO2, Inc.
 lean.enterprise.middleware

 Mobile - +94773426635
 Blog - *http://kishanthan.wordpress.com
 *
 Twitter - *http://twitter.com/kishanthan
 *

>>>
>>>
>>>
>>> --
>>> *Isuru Udana*
>>> Associate Technical Lead
>>> WSO2 Inc.; http://wso2.com
>>> email: isu...@wso2.com cell: +94 77 3791887
>>> blog: http://mytecheye.blogspot.com/
>>>
>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Associate Technical Lead,
>> Platform Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com
>> *
>> Twitter - *http://twitter.com/kishanthan *
>>
>
>
>
> --
> *Isuru Udana*
> Associate Technical Lead
> WSO2 Inc.; http://wso2.com
> email: isu...@wso2.com cell: +94 77 3791887
> blog: http://mytecheye.blogspot.com/
>



-- 
Priya Kishok
Software Engineer
WSO2, Inc : http://wso2.com
Mob : +94774457404

Re: [Dev] What happens if the client-end connection is closed when an Axis2 service request sends the response back

2015-04-28 Thread Amal Gunatilake
Hi Sagara,

The following concern was identified during a customer query.
Any feedback is much appreciated.

Best regards,
Amal.

On Thu, Apr 23, 2015 at 10:27 AM, Amal Gunatilake  wrote:

> Hi Guys,
>
> Appreciate any thoughts on the above matter. :)
>
> Best regards,
> Amal.
>
> On Tue, Apr 21, 2015 at 4:01 PM, Amal Gunatilake  wrote:
>
>> Hi Sameera and Team,
>>
>> I wrote a simple Axis2 sample with a 10 seconds delay in between the
>> message receive and response. Then I invoke the service using SoapUI and
>> before (in-between 10s delay) sending the response, I terminate the
>> connection. When the server reply back with the response, it's unable to
>> write the message and therefore theoretically it should throw an exception,
>> but there's no error logged in the server end.
>>
>> The requirement is, since Axis2 is HTTP transport there has to be an ACK
>> for each and every receive and response and if something goes wrong with
>> the connection when writing the response there has to be an exception
>> thrown. This is mainly to identify the difference between a response that
>> has been written successfully and a response that was unable to write due
>> to broken pipe.
>>
>> Please advice me whether this is already implemented in the carbon code
>> base and if not how can we achieve this requirement in Axsi2?
>>
>> Kind regards,
>>
>> *Amal Gunatilake*
>>  Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Kind regards,
>
> *Amal Gunatilake*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>



-- 
Kind regards,

*Amal Gunatilake*
 Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] VFS Inbound Testing Scenario

2015-04-28 Thread Shakila Sivagnanarajah
Hi all,

Due to the problem in configuring cluster with Nginx, Now I am trying to
configure cluster using WSO2 ELB.

On Tue, Apr 28, 2015 at 10:03 AM, Shakila Sivagnanarajah 
wrote:

> I am configuring cluster with Nginx ELB. I put svnClientBundle-1.0.0.jar
>  and get the
> warning [1].
>
> [1]
> [2015-04-27 12:04:23,572]  INFO - PermissionUpdater Permission cache
> updated for tenant -1234
> [2015-04-27 12:05:23,581]  WARN - AppDeployerServiceComponent Waiting for
> required OSGi services:
> org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
> [2015-04-27 12:05:23,593]  WARN - StartupFinalizerServiceComponent Waiting
> for required OSGi services:
> org.wso2.carbon.application.deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,
>
>
> After that, I put svn-client-adapter-1.10.5.wso2v1.jar in dropins. Still I
> am getting the same warning [1].
>
>
> On Fri, Apr 24, 2015 at 3:57 PM, Shakila Sivagnanarajah 
> wrote:
>
>> Hi all,
>>
>> I have tested the file transfer with file inbound protocol. For this, I
>> referred Synapse Sample 900. Now I am going to test the use case [1].
>>
>> [1] Pick up a file in a local directory, send an email with data from the
>> file.
>>
>> Thank you
>>
>>
>> On Fri, Apr 24, 2015 at 12:23 PM, Shakila Sivagnanarajah <
>> shak...@wso2.com> wrote:
>>
>>> Hi Malaka,
>>>
>>> I configured 2 worker nodes. And I set one worker as the known worker
>>> for the manager. The artifacts mentioned in [1] were created at the given
>>> SVN location.
>>> [1]
>>>
>>>- axis2modules/
>>>
>>> 
>>>- axis2services/
>>>
>>> 
>>>- synapse-configs/
>>>
>>> 
>>>- webapps/
>>>
>>> 
>>>
>>> Thank you.
>>>
>>> On Fri, Apr 24, 2015 at 12:13 PM, Malaka Silva  wrote:
>>>
 Hi Shakira,

 Further Check [1]

 [1] https://wso2.org/jira/browse/BPS-346

 On Fri, Apr 24, 2015 at 11:44 AM, Malaka Silva  wrote:

> Hi Shakila,
>
> Is seems like a warning given by dep-sync. However do you get the
> artifacts gets deployed to worker nodes?
>
> How many worker nodes did you configure?
>
> On Fri, Apr 24, 2015 at 11:13 AM, Shakila Sivagnanarajah <
> shak...@wso2.com> wrote:
>
>> Hi all,
>>
>> I am doing the ESB task to test the VFS Inbound.
>> I went through some portion of Carbon-Mediation code related to VFS
>> and tested VFS file transfer functionality with Smooks mediator (Synapse
>> Sample 654) so far.
>>
>> From this testing, I got an idea of Smooks mediator and practically
>> tested one of the use cases of VFS inbound.
>>
>> I have set up ESB worker/manager cluster without ELB. For this I
>> referred document [1] and used Ngnix Load Balancer. And I used the ESB 
>> pack
>> got from [2].
>>
>> [1]
>> https://docs.google.com/a/wso2.com/document/d/1x80QfnBW09keGVYOi3MLruckXbIVp45vOj9deyF0l5I/edit?usp=sharing
>>
>> [2]
>> https://svn.wso2.org/repos/wso2/people/ishan/dist/esb/4.9.0/wso2esb-4.9.0-M7.zip
>>
>> *Issues:*
>>
>>- When I start Worker 1, I am getting the exception *Can't find a
>>svn action for svn output line : Updating 
>> 'repository/deployment/server'*
>>see in log [3].
>>
>> [3]
>>
>> [2015-04-24 10:15:56,155]  INFO - MemberUtils Added member: Host:
>> mgt.esb.wso2.com, Remote Host:null, Port: 4100, HTTP:-1, HTTPS:-1,
>> Domain: null, Sub-domain:null, Active:true
>> [2015-04-24 10:16:04,676]  INFO - HazelcastClusteringAgent Hazelcast
>> initialized in 8519ms
>> [2015-04-24 10:16:04,696]  INFO - MemberUtils Added member:
>> Host:10.100.5.171, Remote Host:null, Port: 4100, HTTP:8281, HTTPS:8244,
>> Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
>> [2015-04-24 10:16:04,696]  INFO - HazelcastClusteringAgent Local
>> member: [d795d8a2-f6da-491a-ad5f-fe2cfa82f950] - Host:10.100.5.171, 
>> Remote
>> Host:null, Port: 4200, HTTP:8282, HTTPS:8245, Domain: wso2.esb.domain,
>> Sub-domain:null, Active:true
>> [2015-04-24 10:16:04,704]  INFO - MemberUtils Added member:
>> Host:10.100.5.171, Remote Host:null, Port: 4200, HTTP:8282, HTTPS:8245,
>> Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
>> [2015-04-24 10:16:04,960]  INFO - HazelcastClusteringAgent Cluster
>> initialization completed
>> [2015-04-24 10:16:04,968]  INFO - NioSelectorP

Re: [Dev] [ESB] Building the ESB product from the source

2015-04-28 Thread Supun Malinga
Hi,

To set the p2 plugin version to 1.5.4, if the version not defined in the p2
pom you need to define the version.

org.wso2.maven
carbon-p2-plugin
*${carbon.p2.plugin.version}*



On Tue, Apr 28, 2015 at 11:59 AM, Isuru Ranawaka  wrote:

> Hi all,
>
> After after changing p2-plugin version to 1.5.4 above mentioned error will
> be fixed but there will be still build breaks if builds in clean repo.
> Because current develop branch refers to old jars and those are got
> removed . So we need to update to newer versions and for that we need to
> wait until carbon-governance is released.
>
> thanks
>
> On Tue, Apr 28, 2015 at 11:16 AM, KasunG Gajasinghe 
> wrote:
>
>> Hi,
>>
>>
>> On Tue, Apr 28, 2015 at 11:04 AM, Isuru Ranawaka  wrote:
>>
>>> Hi KasunG,
>>>
>>> After changing  p2-plugin version for 1.5.4  it works
>>>
>>> On Tue, Apr 28, 2015 at 10:51 AM, Kasun Indrasiri 
>>> wrote:
>>>
 Isn't this a bug in latest p2 plugin ?


>> It looks like it. Please stick to the 1.5.4 version for your build. We
>> will fix the issue in 1.5.5, and do a release.
>>
>> @Chanaka/Isuru, can you file a bug in jira?
>>
>> Thanks.
>>
>>
>>> On Tue, Apr 28, 2015 at 10:47 AM, Manoj Kumara  wrote:

> [Adding ESB team]
>
>
> *Manoj Kumara*
> Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94713448188
>
> On Tue, Apr 28, 2015 at 10:43 AM, Thusitha Thilina Dayaratne <
> thusit...@wso2.com> wrote:
>
>> Hi Chanaka,
>>
>> Check the p2-plugin version in the p2-profile module in the ESB.
>> There you can find segment like
>>
>> 
>>
>>org.wso2.maven
>>
>>carbon-p2-plugin
>>
>>${carbon.p2.plugin.version}
>>
>> check the version there
>>
>> Thanks
>>
>> On Tue, Apr 28, 2015 at 10:36 AM, Chanaka Sampath Cooray <
>> chanakasampat...@gmail.com> wrote:
>>
>>> Hi Kasun,
>>>
>>> I tried with maven 3.0.5 and got the same error, how do I change the
>>> version of the p2 plugin?
>>>
>>> Thanks
>>>
>>> On Tue, Apr 28, 2015 at 10:31 AM, Kasun Gajasinghe 
>>> wrote:
>>>

 Can you guys build with maven 3.0.x, and update the status as Manoj
 mentioned?

 This may have occurred due to a latest p2 plugin release. If the
 above doesn't work, set the p2 plugin version as 1.5.4, and build the
 product.

 Thanks.

 On Apr 28, 2015, at 10:26 AM, Firzhan Naqash 
 wrote:

 Hi Chanaka,

 The same error has also been observed in IS. I am not sure whether
 this error occurs due to change in p2 plugin.

 I am adding kasung.

 Regards,
 Firzhan

 On Mon, Apr 27, 2015 at 11:48 PM, Chanaka Sampath Cooray <
 chanakasampat...@gmail.com> wrote:

> Ok I will try maven 3.0.x and let you know the results.
>
> Thanks.
>
> On Tue, Apr 28, 2015 at 10:13 AM, Manoj Kumara 
> wrote:
>
>> Did you tried with maven 3.0.x
>>
>>
>> *Manoj Kumara*
>> Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94713448188
>>
>> On Tue, Apr 28, 2015 at 10:10 AM, Chanaka Sampath Cooray <
>> chanakasampat...@gmail.com> wrote:
>>
>>> Hi Manoj,
>>>
>>> I used the repo [1] and the master branch of that and I also
>>> checked with the M6 and M7 releases as well, None of them did not 
>>> work for
>>> me.
>>>
>>> [1] https://github.com/wso2/product-esb
>>>
>>> Regards,
>>> Chanaka
>>>
>>> On Tue, Apr 28, 2015 at 10:04 AM, Manoj Kumara 
>>> wrote:
>>>
 Hi Chanaka,

 What is the branch you are using. For turing branch you need to
 use Maven 3.0.x to build the source.

 Regards,
 Manoj


 *Manoj Kumara*
 Software Engineer
 WSO2 Inc. http://wso2.com/
 *lean.enterprise.middleware*
 Mobile: +94713448188

 On Tue, Apr 28, 2015 at 8:16 AM, Chanaka Sampath Cooray <
 chanakasampat...@gmail.com> wrote:

> Hi all,
>
> I tried to build the esb product from the source. I got the
> following error when I tried to do that. I built using jdk 1.6 
> and maven
> 3.2.5 and I am using mac osx. Is there anything I have missed?
>
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.5:p2-repo-gen 
>

[Dev] Please review and merge PR for APPM-778

2015-04-28 Thread Sajith Abeywardhana
Hi Dinusha,

Please merge https://github.com/wso2/product-app-manager/pull/214 for
https://wso2.org/jira/browse/APPM-778

*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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ES] [GReg] Please review and merge changes

2015-04-28 Thread Thusitha Kalugamage
Hi Team,

UX changes to ES end has completed

   - Login drop down defect fix
   - WADL/WSDL/Policy/Schema/Soap Service forms styling
   - Accordion icon state change
   - No result, error, success message styles
   - Text box focus colour change defect fix
   - Action buttons styling
   - Space distribution fix for forms and accordion tabs

please find the PR [1]
[1] https://github.com/wso2/carbon-store/pull/23



Thanks!
-- 
Thusitha Kalugamage
*Software Engineer*
Mobile : +94 (0) 774 074370
Tel   : +94 (0) 112 145 345
thusi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Please review and merge PR

2015-04-28 Thread Sachith Herath
Hi,

Please review and merge PR[1], PR[2]

[1] https://github.com/wso2/product-app-manager/pull/215
[2] https://github.com/wso2/carbon-appmgt/pull/43


*Sachith Ushan*
Software Engineering  intern
WSO2 : http://wso2 .com
mobile :- +94 71 8853336
sachi...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Malithi Edirisinghe
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 > > 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 
 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 >> > 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
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --

 Chamalee De Silva

 Software Engineer | WSO2

 E:chama...@wso2.com 
 M :0711540738| http://wso2.com 

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


>>>
>>>
>>> --
>>> Thusitha Dayaratne
>>> Software Engineer
>>> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>>>
>>

Re: [Dev] WSO2 Committers += Vinuri Perera

2015-04-28 Thread Malithi Edirisinghe
Congratz ... :)

On Tue, Apr 28, 2015 at 11:33 AM, Kasun Gunasekara  wrote:

> Congratz Vinuri :)
>
>
> Kasun Gunasekara
> Software Engineering Intern - WSO2
> Mobile : +94 77 6986482
> Twitter  | Google+
>  | LinkedIn
> 
>
> On Mon, Apr 27, 2015 at 2:19 PM, Amila Maha Arachchi 
> wrote:
>
>> Hi all,
>>
>> Its my pleasure to welcome Vinuri Perera as a WSO2 Committer. Vinuri is a
>> member of WSO2 Cloud team and she has done a great contribution to WSO2
>> Cloud and has shown great enthusiasm in her work both in development and
>> other cloud related work. In recognition of her contribution, she has been
>> voted as a WSO2 Committer.
>>
>> Vinuri, welcome aboard and keep up the good work..
>>
>> Regards,
>> Amila.
>>
>> --
>> *Amila Maharachchi*
>> Senior Technical Lead
>> WSO2, Inc.; http://wso2.com
>>
>> Blog: http://maharachchi.blogspot.com
>> Mobile: +94719371446
>>
>>
>> ___
>> 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
>
>


-- 

*Malithi Edirisinghe*
Senior Software Engineer
WSO2 Inc.

Mobile : +94 (0) 718176807
malit...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Sajith Abeywardhana
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  > 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
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Chamalee De Silva
>

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] Please review and Merge the PR

2015-04-28 Thread Chamalee De Silva
Hi,

This is the Fix [1] for the Public JIRA [2].

[1] https://github.com/wso2/carbon-apimgt/pull/257
[2] https://wso2.org/jira/browse/APIMANAGER-3270

 $subject.

-- 

Chamalee De Silva

Software Engineer | WSO2

E:chama...@wso2.com 
M :0711540738| http://wso2.com 
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] VFS Inbound Testing Scenario

2015-04-28 Thread Malaka Silva
Hi Shakila,

You don't need any ELB to check the scenarios for inbound polling
transports. Just create the cluster with ESB nodes and should be able to
proceed.

On Tue, Apr 28, 2015 at 2:45 PM, Shakila Sivagnanarajah 
wrote:

> Hi all,
>
> Due to the problem in configuring cluster with Nginx, Now I am trying to
> configure cluster using WSO2 ELB.
>
> On Tue, Apr 28, 2015 at 10:03 AM, Shakila Sivagnanarajah  > wrote:
>
>> I am configuring cluster with Nginx ELB. I put svnClientBundle-1.0.0.jar
>>  and get the
>> warning [1].
>>
>> [1]
>> [2015-04-27 12:04:23,572]  INFO - PermissionUpdater Permission cache
>> updated for tenant -1234
>> [2015-04-27 12:05:23,581]  WARN - AppDeployerServiceComponent Waiting for
>> required OSGi services:
>> org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
>> [2015-04-27 12:05:23,593]  WARN - StartupFinalizerServiceComponent
>> Waiting for required OSGi services:
>> org.wso2.carbon.application.deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,
>>
>>
>> After that, I put svn-client-adapter-1.10.5.wso2v1.jar in dropins. Still
>> I am getting the same warning [1].
>>
>>
>> On Fri, Apr 24, 2015 at 3:57 PM, Shakila Sivagnanarajah > > wrote:
>>
>>> Hi all,
>>>
>>> I have tested the file transfer with file inbound protocol. For this, I
>>> referred Synapse Sample 900. Now I am going to test the use case [1].
>>>
>>> [1] Pick up a file in a local directory, send an email with data from
>>> the file.
>>>
>>> Thank you
>>>
>>>
>>> On Fri, Apr 24, 2015 at 12:23 PM, Shakila Sivagnanarajah <
>>> shak...@wso2.com> wrote:
>>>
 Hi Malaka,

 I configured 2 worker nodes. And I set one worker as the known worker
 for the manager. The artifacts mentioned in [1] were created at the given
 SVN location.
 [1]

- axis2modules/

 
- axis2services/

 
- synapse-configs/

 
- webapps/

 

 Thank you.

 On Fri, Apr 24, 2015 at 12:13 PM, Malaka Silva  wrote:

> Hi Shakira,
>
> Further Check [1]
>
> [1] https://wso2.org/jira/browse/BPS-346
>
> On Fri, Apr 24, 2015 at 11:44 AM, Malaka Silva 
> wrote:
>
>> Hi Shakila,
>>
>> Is seems like a warning given by dep-sync. However do you get the
>> artifacts gets deployed to worker nodes?
>>
>> How many worker nodes did you configure?
>>
>> On Fri, Apr 24, 2015 at 11:13 AM, Shakila Sivagnanarajah <
>> shak...@wso2.com> wrote:
>>
>>> Hi all,
>>>
>>> I am doing the ESB task to test the VFS Inbound.
>>> I went through some portion of Carbon-Mediation code related to VFS
>>> and tested VFS file transfer functionality with Smooks mediator (Synapse
>>> Sample 654) so far.
>>>
>>> From this testing, I got an idea of Smooks mediator and practically
>>> tested one of the use cases of VFS inbound.
>>>
>>> I have set up ESB worker/manager cluster without ELB. For this I
>>> referred document [1] and used Ngnix Load Balancer. And I used the ESB 
>>> pack
>>> got from [2].
>>>
>>> [1]
>>> https://docs.google.com/a/wso2.com/document/d/1x80QfnBW09keGVYOi3MLruckXbIVp45vOj9deyF0l5I/edit?usp=sharing
>>>
>>> [2]
>>> https://svn.wso2.org/repos/wso2/people/ishan/dist/esb/4.9.0/wso2esb-4.9.0-M7.zip
>>>
>>> *Issues:*
>>>
>>>- When I start Worker 1, I am getting the exception *Can't find
>>>a svn action for svn output line : Updating 
>>> 'repository/deployment/server'*
>>>see in log [3].
>>>
>>> [3]
>>>
>>> [2015-04-24 10:15:56,155]  INFO - MemberUtils Added member: Host:
>>> mgt.esb.wso2.com, Remote Host:null, Port: 4100, HTTP:-1, HTTPS:-1,
>>> Domain: null, Sub-domain:null, Active:true
>>> [2015-04-24 10:16:04,676]  INFO - HazelcastClusteringAgent Hazelcast
>>> initialized in 8519ms
>>> [2015-04-24 10:16:04,696]  INFO - MemberUtils Added member:
>>> Host:10.100.5.171, Remote Host:null, Port: 4100, HTTP:8281, HTTPS:8244,
>>> Domain: wso2.esb.domain, Sub-domain:__$default, Active:true
>>> [2015-04-24 10:16:04,696]  INFO - HazelcastClusteringAgent Local
>>> member: [d795d8a2-f6da-491a-ad5f-fe2cfa82f950] - Host:10.100.5.171, 
>>> Remote
>>> Host:null, Port: 4200, HTTP:8282, HTTPS:8245, Domain: wso2.esb.domain,
>>> Sub-domain:null, Active:true
>

Re: [Dev] VFS Inbound Testing Scenario

2015-04-28 Thread Shakila Sivagnanarajah
Hi Malaka,

Thanks for the response. I will configure the cluster without ELB.

Thank you.

On Tue, Apr 28, 2015 at 4:54 PM, Malaka Silva  wrote:

> Hi Shakila,
>
> You don't need any ELB to check the scenarios for inbound polling
> transports. Just create the cluster with ESB nodes and should be able to
> proceed.
>
> On Tue, Apr 28, 2015 at 2:45 PM, Shakila Sivagnanarajah 
> wrote:
>
>> Hi all,
>>
>> Due to the problem in configuring cluster with Nginx, Now I am trying to
>> configure cluster using WSO2 ELB.
>>
>> On Tue, Apr 28, 2015 at 10:03 AM, Shakila Sivagnanarajah <
>> shak...@wso2.com> wrote:
>>
>>> I am configuring cluster with Nginx ELB. I put svnClientBundle-1.0.0.jar
>>>  and get the
>>> warning [1].
>>>
>>> [1]
>>> [2015-04-27 12:04:23,572]  INFO - PermissionUpdater Permission cache
>>> updated for tenant -1234
>>> [2015-04-27 12:05:23,581]  WARN - AppDeployerServiceComponent Waiting
>>> for required OSGi services:
>>> org.wso2.carbon.application.deployer.synapse.service.SynapseAppDeployerService,org.wso2.carbon.mediation.initializer.services.SynapseEnvironmentService,
>>> [2015-04-27 12:05:23,593]  WARN - StartupFinalizerServiceComponent
>>> Waiting for required OSGi services:
>>> org.wso2.carbon.application.deployer.service.CappDeploymentService,org.wso2.carbon.server.admin.common.IServerAdmin,org.wso2.carbon.throttling.agent.ThrottlingAgent,
>>>
>>>
>>> After that, I put svn-client-adapter-1.10.5.wso2v1.jar in dropins. Still
>>> I am getting the same warning [1].
>>>
>>>
>>> On Fri, Apr 24, 2015 at 3:57 PM, Shakila Sivagnanarajah <
>>> shak...@wso2.com> wrote:
>>>
 Hi all,

 I have tested the file transfer with file inbound protocol. For this, I
 referred Synapse Sample 900. Now I am going to test the use case [1].

 [1] Pick up a file in a local directory, send an email with data from
 the file.

 Thank you


 On Fri, Apr 24, 2015 at 12:23 PM, Shakila Sivagnanarajah <
 shak...@wso2.com> wrote:

> Hi Malaka,
>
> I configured 2 worker nodes. And I set one worker as the known worker
> for the manager. The artifacts mentioned in [1] were created at the given
> SVN location.
> [1]
>
>- axis2modules/
>
> 
>- axis2services/
>
> 
>- synapse-configs/
>
> 
>- webapps/
>
> 
>
> Thank you.
>
> On Fri, Apr 24, 2015 at 12:13 PM, Malaka Silva 
> wrote:
>
>> Hi Shakira,
>>
>> Further Check [1]
>>
>> [1] https://wso2.org/jira/browse/BPS-346
>>
>> On Fri, Apr 24, 2015 at 11:44 AM, Malaka Silva 
>> wrote:
>>
>>> Hi Shakila,
>>>
>>> Is seems like a warning given by dep-sync. However do you get the
>>> artifacts gets deployed to worker nodes?
>>>
>>> How many worker nodes did you configure?
>>>
>>> On Fri, Apr 24, 2015 at 11:13 AM, Shakila Sivagnanarajah <
>>> shak...@wso2.com> wrote:
>>>
 Hi all,

 I am doing the ESB task to test the VFS Inbound.
 I went through some portion of Carbon-Mediation code related to VFS
 and tested VFS file transfer functionality with Smooks mediator 
 (Synapse
 Sample 654) so far.

 From this testing, I got an idea of Smooks mediator and practically
 tested one of the use cases of VFS inbound.

 I have set up ESB worker/manager cluster without ELB. For this I
 referred document [1] and used Ngnix Load Balancer. And I used the ESB 
 pack
 got from [2].

 [1]
 https://docs.google.com/a/wso2.com/document/d/1x80QfnBW09keGVYOi3MLruckXbIVp45vOj9deyF0l5I/edit?usp=sharing

 [2]
 https://svn.wso2.org/repos/wso2/people/ishan/dist/esb/4.9.0/wso2esb-4.9.0-M7.zip

 *Issues:*

- When I start Worker 1, I am getting the exception *Can't find
a svn action for svn output line : Updating 
 'repository/deployment/server'*
see in log [3].

 [3]

 [2015-04-24 10:15:56,155]  INFO - MemberUtils Added member: Host:
 mgt.esb.wso2.com, Remote Host:null, Port: 4100, HTTP:-1, HTTPS:-1,
 Domain: null, Sub-domain:null, Active:true
 [2015-04-24 10:16:04,676]  INFO - HazelcastClusteringAgent
 Hazelcast initialized in 8519ms
 [2015-04-24 10:16:04,696]  INFO - MemberUtils Added member:
 Host:10.100.5.171, Remote Host:null, Port: 4100, HTTP:8281, HTTPS:8244,
 Domai

Re: [Dev] Please review and Merge the PR

2015-04-28 Thread Lakmali Baminiwatta
On 28 April 2015 at 16:52, Chamalee De Silva  wrote:

> Hi,
>
> This is the Fix [1] for the Public JIRA [2].
>
> [1] https://github.com/wso2/carbon-apimgt/pull/257
> [2] https://wso2.org/jira/browse/APIMANAGER-3270
>
> Changes merged. Thanks.

>  $subject.
>
> --
>
> Chamalee De Silva
>
> Software Engineer | WSO2
>
> E:chama...@wso2.com 
> M :0711540738| http://wso2.com 
>



-- 
Lakmali Baminiwatta
 Senior Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 71 2335936
blog : lakmali.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [ESB] JMS Inbound Testing Scenario

2015-04-28 Thread Vanii Thiyagarajah
Hi all,

I have started to test the JMS use cases and I am  trying to fix the issue
in sample 901.

On Tue, Apr 28, 2015 at 10:29 AM, Vanii Thiyagarajah  wrote:

> Hi Vanji,
>
> I have configured  jndi.properties as mentioned in the [1] doc
> [1] http://activemq.apache.org/jndi-support.html
>  I got the same error log.
>
> On Tue, Apr 28, 2015 at 10:15 AM, Vanii Thiyagarajah 
> wrote:
>
>> Hi Malaka,
>>
>> I am trying to connect with ActiveMQ.
>>
>> On Tue, Apr 28, 2015 at 10:13 AM, Malaka Silva  wrote:
>>
>>> Hi vanii,
>>>
>>> Also are you trying to connect to ActiveMQ or WSO2MB here?
>>>
>>> On Tue, Apr 28, 2015 at 10:08 AM, Vanjikumaran Sivajothy >> > wrote:
>>>
 Hi vanii,

 Can you please double check the jndi.properties for your right
 configuration ?

 On Tue, Apr 28, 2015 at 10:05 AM, Vanii Thiyagarajah 
 wrote:

> I am doing Inbound Endpoint JMS Protocol Sample. I got the following
> error. I have done the all configurations as mentioned in the doc [1].
> Could you please give me any suggestions on this?
>
>
>
> https://docs.wso2.com/display/ESB490/Sample+901%3A+Inbound+Endpoint+JMS+Protocol+Sample
>
>  ERROR - JMSConnectionFactoryManager Error setting up connection
> factory : myTopicConnectionFactory
> org.apache.axis2.transport.jms.AxisJMSException: Cannot acquire JNDI
> context, JMS Connection factory : TopicConnectionFactory or default
> destination : null for JMS CF : myTopicConnectionFactory using :
> {java.naming.provider.url=repository/conf/jndi.properties,
> java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory,
> transport.jms.ConnectionFactoryType=topic,
> transport.jms.ConnectionFactoryJNDIName=TopicConnectionFactory}
> at
> org.apache.axis2.transport.jms.JMSConnectionFactory.(JMSConnectionFactory.java:102)
> at
> org.apache.axis2.transport.jms.JMSConnectionFactoryManager.loadConnectionFactoryDefinitions(JMSConnectionFactoryManager.java:58)
> at
> org.apache.axis2.transport.jms.JMSConnectionFactoryManager.(JMSConnectionFactoryManager.java:45)
> at
> org.apache.axis2.transport.jms.JMSListener.doInit(JMSListener.java:65)
> at
> org.apache.axis2.transport.base.AbstractTransportListenerEx.init(AbstractTransportListenerEx.java:62)
> at
> org.apache.axis2.engine.ListenerManager.init(ListenerManager.java:84)
> at
> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:411)
> at
> org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
> at
> org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:88)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
> at
> org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:347)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
> at
> org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
> at
> org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
> at
> org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
> at
> org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
> at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
> at
> org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
> at
> org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
> at
> org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
> at
> org.eclip

Re: [Dev] [ESB] Building the ESB product from the source

2015-04-28 Thread Chanaka Sampath Cooray
Hi,

Adding 1.5.4 as the version solved the problem.

Thanks everyone.

On Tue, Apr 28, 2015 at 2:57 PM, Supun Malinga  wrote:

> Hi,
>
> To set the p2 plugin version to 1.5.4, if the version not defined in the
> p2 pom you need to define the version.
> 
> org.wso2.maven
> carbon-p2-plugin
> *${carbon.p2.plugin.version}*
>
>
>
> On Tue, Apr 28, 2015 at 11:59 AM, Isuru Ranawaka  wrote:
>
>> Hi all,
>>
>> After after changing p2-plugin version to 1.5.4 above mentioned error
>> will be fixed but there will be still build breaks if builds in clean repo.
>> Because current develop branch refers to old jars and those are got
>> removed . So we need to update to newer versions and for that we need to
>> wait until carbon-governance is released.
>>
>> thanks
>>
>> On Tue, Apr 28, 2015 at 11:16 AM, KasunG Gajasinghe 
>> wrote:
>>
>>> Hi,
>>>
>>>
>>> On Tue, Apr 28, 2015 at 11:04 AM, Isuru Ranawaka 
>>> wrote:
>>>
 Hi KasunG,

 After changing  p2-plugin version for 1.5.4  it works

 On Tue, Apr 28, 2015 at 10:51 AM, Kasun Indrasiri 
 wrote:

> Isn't this a bug in latest p2 plugin ?
>
>
>>> It looks like it. Please stick to the 1.5.4 version for your build. We
>>> will fix the issue in 1.5.5, and do a release.
>>>
>>> @Chanaka/Isuru, can you file a bug in jira?
>>>
>>> Thanks.
>>>
>>>
 On Tue, Apr 28, 2015 at 10:47 AM, Manoj Kumara  wrote:
>
>> [Adding ESB team]
>>
>>
>> *Manoj Kumara*
>> Software Engineer
>> WSO2 Inc. http://wso2.com/
>> *lean.enterprise.middleware*
>> Mobile: +94713448188
>>
>> On Tue, Apr 28, 2015 at 10:43 AM, Thusitha Thilina Dayaratne <
>> thusit...@wso2.com> wrote:
>>
>>> Hi Chanaka,
>>>
>>> Check the p2-plugin version in the p2-profile module in the ESB.
>>> There you can find segment like
>>>
>>> 
>>>
>>>org.wso2.maven
>>>
>>>carbon-p2-plugin
>>>
>>>${carbon.p2.plugin.version}
>>>
>>> check the version there
>>>
>>> Thanks
>>>
>>> On Tue, Apr 28, 2015 at 10:36 AM, Chanaka Sampath Cooray <
>>> chanakasampat...@gmail.com> wrote:
>>>
 Hi Kasun,

 I tried with maven 3.0.5 and got the same error, how do I change
 the version of the p2 plugin?

 Thanks

 On Tue, Apr 28, 2015 at 10:31 AM, Kasun Gajasinghe >>> > wrote:

>
> Can you guys build with maven 3.0.x, and update the status as
> Manoj mentioned?
>
> This may have occurred due to a latest p2 plugin release. If the
> above doesn't work, set the p2 plugin version as 1.5.4, and build the
> product.
>
> Thanks.
>
> On Apr 28, 2015, at 10:26 AM, Firzhan Naqash 
> wrote:
>
> Hi Chanaka,
>
> The same error has also been observed in IS. I am not sure whether
> this error occurs due to change in p2 plugin.
>
> I am adding kasung.
>
> Regards,
> Firzhan
>
> On Mon, Apr 27, 2015 at 11:48 PM, Chanaka Sampath Cooray <
> chanakasampat...@gmail.com> wrote:
>
>> Ok I will try maven 3.0.x and let you know the results.
>>
>> Thanks.
>>
>> On Tue, Apr 28, 2015 at 10:13 AM, Manoj Kumara 
>> wrote:
>>
>>> Did you tried with maven 3.0.x
>>>
>>>
>>> *Manoj Kumara*
>>> Software Engineer
>>> WSO2 Inc. http://wso2.com/
>>> *lean.enterprise.middleware*
>>> Mobile: +94713448188
>>>
>>> On Tue, Apr 28, 2015 at 10:10 AM, Chanaka Sampath Cooray <
>>> chanakasampat...@gmail.com> wrote:
>>>
 Hi Manoj,

 I used the repo [1] and the master branch of that and I also
 checked with the M6 and M7 releases as well, None of them did not 
 work for
 me.

 [1] https://github.com/wso2/product-esb

 Regards,
 Chanaka

 On Tue, Apr 28, 2015 at 10:04 AM, Manoj Kumara 
 wrote:

> Hi Chanaka,
>
> What is the branch you are using. For turing branch you need
> to use Maven 3.0.x to build the source.
>
> Regards,
> Manoj
>
>
> *Manoj Kumara*
> Software Engineer
> WSO2 Inc. http://wso2.com/
> *lean.enterprise.middleware*
> Mobile: +94713448188
>
> On Tue, Apr 28, 2015 at 8:16 AM, Chanaka Sampath Cooray <
> chanakasampat...@gmail.com> wrote:
>
>> Hi all,
>>
>> I tried to build the esb product from the source. I go

Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Jerad Rutnam
Congratulations Mahesh! :)

On Tue, Apr 28, 2015 at 4:50 PM, Pirinthapan Mahendran  wrote:

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

Re: [Dev] Error when creating Users and Roles in Management Console.

2015-04-28 Thread Lasantha Fernando
[Reopening thread to discuss whether disabling STRICT_QUOTE_PARSING is the
correct approach]

Hi Hemika, all,

A similar issue has been reported in [1] and we also fixed this by
introducing disabling strict quote parsing for JSP. However, is this the
correct fix or just a temporary workaround? According to [2] this is a
temporary workaround. The correct fix would be to escape quotes within
quote properly (the reasons for tomcat version upgrade is discussed in [3]
and related threads).

I think the better fix would be to correct the JSP compliance issues in the
pages pointed by Hemika above and keep away from allowing our code to
become spec incompliant further. i.e. as soon as we introduce this
parameter, we are allowing developers to write code that is not compliant
with the JSP spec.

Since there doesn't seem to be many places where this issue exists, it will
be easier to fix now. However, if we disable strict quote parsing, more
issues of similar type might be introduced and it will become harder to fix
when we eventually decide to fix this. So wouldn't it be better to fix this
properly now without disabling the compliance checks? WDYT?

[1] https://wso2.org/jira/browse/CEP-1101
[2] https://wso2.org/jira/browse/CARBON-14755
[3] https://wso2.org/jira/browse/WSAS-1687

Thanks,
Lasantha


On 22 December 2014 at 13:59, Nirmal Fernando  wrote:

> [Adding Ramith and Hasitha]
>
> On Mon, Dec 22, 2014 at 1:50 PM, Hemika Kodikara  wrote:
>
>> Was able to fix it using the following env variable.
>>
>> -Dorg.apache.jasper.compiler.Parser.STRICT_QUOTE_ESCAPING=false
>>
>> Regards,
>> Hemika
>>
>> Hemika Kodikara
>> Software Engineer
>> WSO2 Inc.
>> lean . enterprise . middleware
>> http://wso2.com
>>
>> Mobile : +9477762
>>
>> On Fri, Dec 19, 2014 at 6:57 PM, Hemika Kodikara  wrote:
>>>
>>> Hi All,
>>>
>>> Faced the following error when creating a role in MB 3.0.0.
>>>
>>> Steps in Management Console:
>>> Users and Roles->Roles->Add New Role.
>>> Give a name to the role.
>>> Select Next.
>>> Select Necessary permissions.
>>> Select Next.
>>>
>>> Note : This also occurs in the following pages.
>>> carbon/role/add-step3.jsp
>>> carbon/user/add-step2.jsp
>>> carbon/user/edit-user-roles.jsp?username=testUser&disPlayName=testUser
>>> (When assigning roles to an existing user.)
>>>
>>>  The Error 
>>>
>>> Dec 19, 2014 6:53:01 PM org.apache.catalina.core.ApplicationDispatcher
>>> invoke
>>> SEVERE: Servlet.service() for servlet bridgeservlet threw exception
>>> org.apache.jasper.JasperException: /role/add-step3.jsp (line: 248,
>>> column: 49) Attribute value "roleName="+roleName is quoted with " which
>>> must be escaped when used within the value
>>> at
>>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
>>> at
>>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
>>> at
>>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:89)
>>> at org.apache.jasper.compiler.Parser.parseAttributeValue(Parser.java:280)
>>> at org.apache.jasper.compiler.Parser.parseAttribute(Parser.java:229)
>>> at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:162)
>>> at org.apache.jasper.compiler.Parser.parseAttributes(Parser.java:153)
>>> at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1236)
>>> at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1452)
>>> at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1664)
>>> at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1002)
>>> at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1274)
>>> at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1452)
>>> at org.apache.jasper.compiler.Parser.parse(Parser.java:138)
>>> at
>>> org.apache.jasper.compiler.ParserController.doParse(ParserController.java:242)
>>> at
>>> org.apache.jasper.compiler.ParserController.parse(ParserController.java:102)
>>> at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198)
>>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
>>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:353)
>>> at org.apache.jasper.compiler.Compiler.compile(Compiler.java:340)
>>> at
>>> org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
>>> at
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
>>> at
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
>>> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
>>> at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>> at
>>> org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
>>> at
>>> org.eclipse.equinox.http.serv

Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Dan Martin
unsubscribe

On Mon, Apr 27, 2015 at 11:57 PM, Dimuthu Leelarathne 
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
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] What happens if the client-end connection is closed when an Axis2 service request sends the response back

2015-04-28 Thread Kishanthan Thangarajah
This is not a axis2 level concern, rather this is at transport level. Even
though the error is not visible in the console level, it may be at a
different logging level (DEBUG or FINE). We need to check this at tomcat
logging level (may be change the logging level to debug) and see whether we
see the broken pipe error.

On Tue, Apr 28, 2015 at 2:44 PM, Amal Gunatilake  wrote:

> Hi Sagara,
>
> The following concern was identified during a customer query.
> Any feedback is much appreciated.
>
> Best regards,
> Amal.
>
> On Thu, Apr 23, 2015 at 10:27 AM, Amal Gunatilake  wrote:
>
>> Hi Guys,
>>
>> Appreciate any thoughts on the above matter. :)
>>
>> Best regards,
>> Amal.
>>
>> On Tue, Apr 21, 2015 at 4:01 PM, Amal Gunatilake  wrote:
>>
>>> Hi Sameera and Team,
>>>
>>> I wrote a simple Axis2 sample with a 10 seconds delay in between the
>>> message receive and response. Then I invoke the service using SoapUI and
>>> before (in-between 10s delay) sending the response, I terminate the
>>> connection. When the server reply back with the response, it's unable to
>>> write the message and therefore theoretically it should throw an exception,
>>> but there's no error logged in the server end.
>>>
>>> The requirement is, since Axis2 is HTTP transport there has to be an ACK
>>> for each and every receive and response and if something goes wrong with
>>> the connection when writing the response there has to be an exception
>>> thrown. This is mainly to identify the difference between a response that
>>> has been written successfully and a response that was unable to write due
>>> to broken pipe.
>>>
>>> Please advice me whether this is already implemented in the carbon code
>>> base and if not how can we achieve this requirement in Axsi2?
>>>
>>> Kind regards,
>>>
>>> *Amal Gunatilake*
>>>  Software Engineer
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Kind regards,
>>
>> *Amal Gunatilake*
>>  Software Engineer
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>>
>
>
>
> --
> Kind regards,
>
> *Amal Gunatilake*
>  Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>



-- 
*Kishanthan Thangarajah*
Associate Technical Lead,
Platform Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635
Blog - *http://kishanthan.wordpress.com *
Twitter - *http://twitter.com/kishanthan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Harsha Thirimanna - WSO2, Inc.
Congrats Mahesh !!
On Apr 28, 2015 7:30 PM, "Dan Martin"  wrote:

> unsubscribe
>
> On Mon, Apr 27, 2015 at 11:57 PM, Dimuthu Leelarathne 
> 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
>>
>>
>
> ___
> 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] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Kasun Gajasinghe
Hi Niranda,

Can you also fix the import-packages to not have star imports with resolution 
optional?

Thanks. 

> On Apr 28, 2015, at 1:50 PM, Niranda Perera  wrote:
> 
> @Kasun thank you for the clarification 
> 
> I have made the adjustments. can you please check it? 
> 
> rgds
> 
>> On Mon, Apr 27, 2015 at 11:16 AM, KasunG Gajasinghe  wrote:
>> Hi Niranda,
>> 
>> The Bundle-Classpath tag is as mentioned above is required to over-ride the 
>> classes in the original orbit bundle. Since both the orbit bundle, and 
>> patched bundle have the same classes, we need to instruct to give precedence 
>> to the patch.jar. Hence, the above tag is required. 
>> 
>> The bundles will be resolved fine, but the over-riding may or may not 
>> happen. So, can you add this tag? Further, there are some pending comments 
>> in the PR.
>> 
>> Thanks.
>> 
>>> On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera  wrote:
>>> Hi Supun, 
>>> 
>>> are you referring to this?
>>> 
>>> org.apache.spark.*;version="${spark.version}";-split-package:=merge-first
>>> 
>>> 
>>> well, AFAIK what export-package does is, it exposes the org.apache.spark.* 
>>> classes in the OSGI environment. since we are not doing any patching for 
>>> the original classes, I dont think we have to change the version to 
>>> 1.3.0.wso2v1
>>> 
>>> @sameera, pls correct me if I'm wrong. 
>>> 
>>> rgds
>>> 
 On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga  wrote:
 Hi Sameera/Niranda,
 
 With parallel to this, Im in the process of migrating the spark Ml-Lib and 
 spark streaming versions for product ML. Just wanted to clear myself, 
 shouldn't the export-package-version of all spark packages be 
 1.3.0.wso2v1, rather than 1.3.0?
 
 Thanks,
 Supun
 
> On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera  wrote:
> oh. are you referring to the 
> patch.jar,. 
> line?
> I did not include it in the orbit bundle.
> 
> but I checked the bundles in a fresh carbon server and it seems like the 
> patch gets attached successfully.
> ​
>  Screenshot from 2015-04-17 16:20:15.png
> ​
> I checked it with BAM pack also. 
> 
>  tag, is it mandatory to be in the for the orbit 
> bundle, for the patch to get attached?
> 
> the patch pom is as follows 
> https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml
> 
> 
> 
> 
> 
>> On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando  wrote:
>> Niranda, yeah, we would have to put that part to be able to later patch 
>> it. A sample can be found here [1].
>> 
>> [1] 
>> https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml
>> 
>> Cheers,
>> Anjana.
>> 
>>> On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma  
>>> wrote:
>>> I meant to say, do we need to add the patch.jar line to the spark 
>>> bundle as we've done in Tomcat bundle.
>>> 
>>> Thanks,
>>> Sameera.
>>> 
 On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera  
 wrote:
 Hi Sameera,
 
 No its not. The patch is in org.wso2.analytics.spark.patch component. 
 Its still not committed to carbon - analytics
 
 Rgds
 
> On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma  wrote:
> Hi Niranda,
> 
> Does this include fragment-bundle/patch modification also?
> 
> Thanks,
> Sameera.
> 
>> On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera  
>> wrote:
>> Hi,
>> 
>> Kind reminder on this.
>> 
>> Best regards
>> 
>> Niranda Perera
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-71-554-8430
>> Twitter: @n1r44
>> 
>>> On Apr 14, 2015 19:17, "Niranda Perera"  wrote:
>>> Hi Sameera, 
>>> 
>>> Could you please review this PR [1] for Spark 1.3.0. 
>>> 
>>> this upgrades 1.2.1 to 1.3.0. this upgrade is done, because 1.3.0 
>>> comes with some major API changes and we wanted to include those 
>>> API changes before the DAS (BAM) 3.0.0 alpha
>>> 
>>> cheers
>>> 
>>> [1] https://github.com/wso2/orbit/pull/83
>>> 
>>> -- 
>>> Niranda Perera
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94-71-554-8430
>>> Twitter: @n1r44
> 
> 
> 
> -- 
> Sameera Jayasoma,
> Software Architect,
> 
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://blog.sameera.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
> 
> Lean

Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Kasun De Silva
Congrats Mahesh!!

*Kasun de Silva*
Software Engineer | *WSO2 Inc.*; http://wso2.com
lean.enterprise.middleware

email   : kas...@wso2.com
mobile : +94 77 794 4260


On Tue, Apr 28, 2015 at 7:59 AM, Harsha Thirimanna - WSO2, Inc. <
hars...@wso2.com> wrote:

> Congrats Mahesh !!
> On Apr 28, 2015 7:30 PM, "Dan Martin"  wrote:
>
>> unsubscribe
>>
>> On Mon, Apr 27, 2015 at 11:57 PM, Dimuthu Leelarathne 
>> 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
>>>
>>>
>>
>> ___
>> 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 mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Lasitha Wattaladeniya
Congratulations Mahesh !

On Tue, Apr 28, 2015 at 10:18 PM, Kasun De Silva  wrote:

> Congrats Mahesh!!
>
> *Kasun de Silva*
> Software Engineer | *WSO2 Inc.*; http://wso2.com
> lean.enterprise.middleware
>
> email   : kas...@wso2.com
> mobile : +94 77 794 4260
>
>
> On Tue, Apr 28, 2015 at 7:59 AM, Harsha Thirimanna - WSO2, Inc. <
> hars...@wso2.com> wrote:
>
>> Congrats Mahesh !!
>> On Apr 28, 2015 7:30 PM, "Dan Martin"  wrote:
>>
>>> unsubscribe
>>>
>>> On Mon, Apr 27, 2015 at 11:57 PM, Dimuthu Leelarathne >> > 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


>>>
>>> ___
>>> 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 mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Lasitha Wattaladeniya
Software Engineer
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94719397528
Blog : techreadme.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Any available module for jaggery to get oAuth tokens?

2015-04-28 Thread Ruchira Wageesha
On Tue, Apr 28, 2015 at 2:16 PM, Dulitha Wijewantha 
wrote:

> Yeah, that's the service URL to get tokens, but I am looking for an api to
> get the tokens. Since there is no such API available, shall I improve the
> oAuth module to perform this function?
>
+1, but don't couple it into any API Manager specific codes. If you have to
do so, then come up with a new module.

>
> On Fri, Apr 24, 2015 at 7:33 PM, Madusanka Premaratne  > wrote:
>
>> Hi Dulitha,
>> You can call to https://localhost:8243/token to get both refresh_token
>> and access_token
>> Have a look at the following curl command
>> curl -k -d "grant_type=password&username=admin&password=admin" -H
>> "Authorization: Basic
>> bmU5X015dDNKWGxuTDRNWjhrbnlFdDM3cGRvYTpTSEtCOTZoX0RjeGVlMnQ0eG9JZlhMUERRRHdh,
>> Content-Type: application/x-www-form-urlencoded"
>> https://localhost:8243/token
>>
>> Thanks,
>> Madusanka
>>
>> On Fri, Apr 24, 2015 at 5:14 PM, Dulitha Wijewantha 
>> wrote:
>>
>>> Hi guys,
>>> Is there are any available module for jaggery (or Java) that can be
>>> called to obtain oAuth 2 tokens from API Manager? I looked into the oauth
>>> module [1] in jaggery but it doesn't seem to return refresh tokens.
>>>
>>> My use-case is to obtain access/refresh tokens for Password/SAML Grant
>>> Type from a Jaggery app.
>>>
>>> [1] -
>>> https://github.com/wso2/jaggery-extensions/blob/master/oauth/resources/org.jaggeryjs.modules.oauth/src/main/java/org/jaggeryjs/modules/oauth/OAuthHostObject.java
>>>
>>> Cheers~
>>>
>>> --
>>> Dulitha Wijewantha (Chan)
>>> Software Engineer - Mobile Development
>>> WSO2 Inc
>>> Lean.Enterprise.Middleware
>>>  * ~Email   duli...@wso2.com *
>>> *  ~Mobile +94712112165 <%2B94712112165>*
>>> *  ~Website   dulitha.me *
>>> *  ~Twitter @dulitharw *
>>>   *~Github @dulichan *
>>>   *~SO @chan *
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Madusanka Premaratne* | Associate Software Engineer
>> WSO2, Inc | lean. enterprise. middleware.
>> #20, Palm Grove, Colombo 03, Sri Lanka
>> Mobile: +94 71 835 70 73| Work: +94 112 145 345
>> Email: madusan...@wso2.com | Web: www.wso2.com
>>
>> [image: Facebook]  [image: Twitter]
>>  [image: Google Plus]
>>  [image:
>> Linkedin]  [image: Instagram]
>>  [image: Skype]
>> 
>>
>>
>
>
> --
> Dulitha Wijewantha (Chan)
> Software Engineer - Mobile Development
> WSO2 Inc
> Lean.Enterprise.Middleware
>  * ~Email   duli...@wso2.com *
> *  ~Mobile +94712112165 <%2B94712112165>*
> *  ~Website   dulitha.me *
> *  ~Twitter @dulitharw *
>   *~Github @dulichan *
>   *~SO @chan *
>



-- 

*Ruchira Wageesha**Technical Lead*
*WSO2 Inc. - lean . enterprise . middleware |  wso2.com *

*email: ruch...@wso2.com ,   blog:
ruchirawageesha.blogspot.com ,
mobile: +94 77 5493444*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] WSO2 DAS v3.0 M5 Released!

2015-04-28 Thread Gihan Anuruddha
Hi,

The WSO2 DAS team is pleased to announce the fifth milestone release of
WSO2 DAS v3.0. The distribution is available at [1]. The release includes
the following new features, improvements, and tasks.

*Improvement*

   - [BAM-1995 ] - Adding facet
   search for message console
   - [BAM-1999 ] - Expose Analytics
   APIs as JavaScript APIs for External webapps


*New Feature*

   - [BAM-1996 ] - Data Backup and
   Restore Tool
   - [BAM-1969 ] - Feature Rich
   Dashboard Support


*Task*

   - [BAM-1997 ] - Adding analytics
   schema Capp deployer
   - [BAM-1998 ] - Moving
   carbon-analytics and product-das to Carbon kernal 4.4.0


The documentation for DAS v3.0 can be found at [2]. Your feedback is most
welcome, and any issues can be reported to the project at [3].

[1]
https://svn.wso2.org/repos/wso2/people/sinthuja/DAS3.0/M5/wso2das-3.0.0-SNAPSHOT.zip

[2]
https://docs.wso2.com/display/DAS300/WSO2+Data+Analytics+Server+Documentation
[3] https://wso2.org/jira/browse/BAM


- WSO2 DAS Team.

-- 
W.G. Gihan Anuruddha
Senior Software Engineer | WSO2, Inc.
M: +9477227259
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Punnadi Gunarathna
Hi All,

Currently "initWithTenantCreation" method in AppFactoryIntegrationTest
class [1] is being called from all the test cases via their
"setEnvironment" method [2].
initWithTenantCreation method is used to populate tenant, default
application. Is it possible to execute this type of methods once for all
the test cases, rather than calling them for each test case separately.
Please advice.

[1]
https://github.com/wso2/product-af/blob/master/modules/integration/integration-test-utils/src/main/java/org/wso2/appfactory/integration/test/utils/AppFactoryIntegrationTest.java
[2]
https://github.com/wso2/product-af/tree/master/modules/integration/tests-integration/tests-scenarios/src/test/java/org/wso2/appfactory/tests/scenarios
-- 
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] Rest API used by Dev Studio

2015-04-28 Thread Dimuthu Leelarathne
Hi all,

Could we have a list of methods used by the dev studio?

Please note the following methods are proposed to be removed from the code.

checkSystemStatus

newKey

getUniqueAppVersions

initAppVersion

containsApplication

getAppCountInStage

getApplicationsOfUser

getAllAppVersionsInStage

getAppVersionsInStage

getAllAppVersionsInStages

getAppVersionsInStagesWithMetaData

getMetaDataForAppVersion

getRetiredVersions

getLatestBuildSuccessInfo

getBuildableStages


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


Re: [Dev] [ES] [GReg] Please review and merge changes

2015-04-28 Thread Dakshika Jayathilaka
Hi,

Is there any specific reason to use* success-MsgDiv* & *error-MsgDiv*
 classes instead of bootstrap alert classes. ?

Regards,

*Dakshika Jayathilaka*
PMC Member & Committer of Apache Stratos
Senior Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911

On Tue, Apr 28, 2015 at 3:11 PM, Thusitha Kalugamage 
wrote:

> Hi Team,
>
> UX changes to ES end has completed
>
>- Login drop down defect fix
>- WADL/WSDL/Policy/Schema/Soap Service forms styling
>- Accordion icon state change
>- No result, error, success message styles
>- Text box focus colour change defect fix
>- Action buttons styling
>- Space distribution fix for forms and accordion tabs
>
> please find the PR [1]
> [1] https://github.com/wso2/carbon-store/pull/23
> 
>
>
> Thanks!
> --
> Thusitha Kalugamage
> *Software Engineer*
> Mobile : +94 (0) 774 074370
> Tel   : +94 (0) 112 145 345
> thusi...@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 += Mahesh Chinthaka

2015-04-28 Thread Roshan Deniyage
Congrats Mahesh

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

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


On Tue, Apr 28, 2015 at 12:58 PM, Lasitha Wattaladeniya 
wrote:

> Congratulations Mahesh !
>
> On Tue, Apr 28, 2015 at 10:18 PM, Kasun De Silva  wrote:
>
>> Congrats Mahesh!!
>>
>> *Kasun de Silva*
>> Software Engineer | *WSO2 Inc.*; http://wso2.com
>> lean.enterprise.middleware
>>
>> email   : kas...@wso2.com
>> mobile : +94 77 794 4260
>>
>>
>> On Tue, Apr 28, 2015 at 7:59 AM, Harsha Thirimanna - WSO2, Inc. <
>> hars...@wso2.com> wrote:
>>
>>> Congrats Mahesh !!
>>> On Apr 28, 2015 7:30 PM, "Dan Martin"  wrote:
>>>
 unsubscribe

 On Mon, Apr 27, 2015 at 11:57 PM, 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
>
>

 ___
 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 mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lasitha Wattaladeniya
> Software Engineer
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +94719397528
> Blog : techreadme.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] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Saneth Dharmakeerthi
HI Punnadi,

Yes you can, If you need to call initWithTenantCreation() only once for set
of test case. put it in side @BeforeTest method,
Create a separate test case with @BeforeTest method and implement the logic
that you need to call once for set of test cases. You can refer a sample
implementation of @BeforeTest in[1].

After that  group the test cases inside a one test instance in testng.xml





 



If all the test cases are in same package, you can use" "  instead of   .


[1]
https://github.com/wso2/product-apim/blob/master/modules/integration/tests-integration/tests-backend/src/test/java/org/wso2/am/integration/tests/api/lifecycle/APIManagerConfigurationChangeTest.java
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Nuwan Wimalasekara
Hi Punnadi,
You can use @BeforTest annotation to execute a method only one time for a
test package. if you need to execute this method one time for all the test
classes in particular test module, You can write a extension class and
configure it in automation.xml to execute before test execution.

https://docs.wso2.com/display/TA430/TestNG+Listeners

Thanks,
Nuwanw

On Tue, Apr 28, 2015 at 4:47 PM, Punnadi Gunarathna 
wrote:

> Hi All,
>
> Currently "initWithTenantCreation" method in AppFactoryIntegrationTest
> class [1] is being called from all the test cases via their
> "setEnvironment" method [2].
> initWithTenantCreation method is used to populate tenant, default
> application. Is it possible to execute this type of methods once for all
> the test cases, rather than calling them for each test case separately.
> Please advice.
>
> [1]
> https://github.com/wso2/product-af/blob/master/modules/integration/integration-test-utils/src/main/java/org/wso2/appfactory/integration/test/utils/AppFactoryIntegrationTest.java
> [2]
> https://github.com/wso2/product-af/tree/master/modules/integration/tests-integration/tests-scenarios/src/test/java/org/wso2/appfactory/tests/scenarios
> --
> 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
>
>
>
>  
>



-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Samith Dassanayake
Hi Nuwan,

If the requirement is to call those methods once for all the tests, isn't
it better to use @BeforeSuite(Instead of @BeforeTest)  annotation or
an extension using SuiteListenerExtension?

Thanks,
Samith

On Wed, Apr 29, 2015 at 8:09 AM, Nuwan Wimalasekara  wrote:

> Hi Punnadi,
> You can use @BeforTest annotation to execute a method only one time for a
> test package. if you need to execute this method one time for all the test
> classes in particular test module, You can write a extension class and
> configure it in automation.xml to execute before test execution.
>
> https://docs.wso2.com/display/TA430/TestNG+Listeners
>
> Thanks,
> Nuwanw
>
> On Tue, Apr 28, 2015 at 4:47 PM, Punnadi Gunarathna 
> wrote:
>
>> Hi All,
>>
>> Currently "initWithTenantCreation" method in AppFactoryIntegrationTest
>> class [1] is being called from all the test cases via their
>> "setEnvironment" method [2].
>> initWithTenantCreation method is used to populate tenant, default
>> application. Is it possible to execute this type of methods once for all
>> the test cases, rather than calling them for each test case separately.
>> Please advice.
>>
>> [1]
>> https://github.com/wso2/product-af/blob/master/modules/integration/integration-test-utils/src/main/java/org/wso2/appfactory/integration/test/utils/AppFactoryIntegrationTest.java
>> [2]
>> https://github.com/wso2/product-af/tree/master/modules/integration/tests-integration/tests-scenarios/src/test/java/org/wso2/appfactory/tests/scenarios
>> --
>> 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
>>
>>
>>
>>  
>>
>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>
> ___
> 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
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Vinuri Perera

2015-04-28 Thread Samith Dassanayake
Congratz Vinuri

On Tue, Apr 28, 2015 at 4:23 PM, Malithi Edirisinghe 
wrote:

> Congratz ... :)
>
> On Tue, Apr 28, 2015 at 11:33 AM, Kasun Gunasekara 
> wrote:
>
>> Congratz Vinuri :)
>>
>>
>> Kasun Gunasekara
>> Software Engineering Intern - WSO2
>> Mobile : +94 77 6986482
>> Twitter  | Google+
>>  | LinkedIn
>> 
>>
>> On Mon, Apr 27, 2015 at 2:19 PM, Amila Maha Arachchi 
>> wrote:
>>
>>> Hi all,
>>>
>>> Its my pleasure to welcome Vinuri Perera as a WSO2 Committer. Vinuri is
>>> a member of WSO2 Cloud team and she has done a great contribution to WSO2
>>> Cloud and has shown great enthusiasm in her work both in development and
>>> other cloud related work. In recognition of her contribution, she has been
>>> voted as a WSO2 Committer.
>>>
>>> Vinuri, welcome aboard and keep up the good work..
>>>
>>> Regards,
>>> Amila.
>>>
>>> --
>>> *Amila Maharachchi*
>>> Senior Technical Lead
>>> WSO2, Inc.; http://wso2.com
>>>
>>> Blog: http://maharachchi.blogspot.com
>>> Mobile: +94719371446
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
>
> *Malithi Edirisinghe*
> Senior Software Engineer
> WSO2 Inc.
>
> Mobile : +94 (0) 718176807
> malit...@wso2.com
>
> ___
> 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
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build Failure - JiBX Data Binding Sample

2015-04-28 Thread Nadeesha Meegoda
Hi,

I am running these AS samples, currently running the JiBX and the build
fails. Has anyone come across this before?

 [bind] Error running binding compiler
 [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
target 12
 [bind] Exception Details:
 [bind]   Location:
 [bind]
org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
@1: ifnonnull
 [bind]   Reason:
 [bind]Expected stackmap frame at this location.
 [bind] Bytecode:
 [bind] 000: 2ac7 000b bb00 0a59 b700 744b 2ab0
 [bind]
 [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
 [bind] at
java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
 [bind] at java.lang.Class.getDeclaredMethods(Class.java:1860)
 [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
 [bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
 [bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
 [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
Source)
 [bind] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [bind] at java.lang.reflect.Method.invoke(Method.java:606)
 [bind] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
 [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
 [bind] at org.apache.tools.ant.Target.execute(Target.java:435)
 [bind] at org.apache.tools.ant.Target.performTasks(Target.java:456)
 [bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
 [bind] at
org.apache.tools.ant.Project.executeTarget(Project.java:1364)
 [bind] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 [bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1248)
 [bind] at org.apache.tools.ant.Main.runBuild(Main.java:851)
 [bind] at org.apache.tools.ant.Main.startAnt(Main.java:235)
 [bind] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
 [bind] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
 [bind]

BUILD FAILED
/home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
JiBXException in JiBX binding compilation


Any Input regarding this is highly appreciated.

Thanks
-- 
*Nadeesha Meegoda*
Software Engineer - QA
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
email : nadees...@wso2.com
mobile: +94783639540
<%2B94%2077%202273555>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: [Code Review][AppM]Sample Deploy @ Thu Apr 30, 2015 2pm - 3pm (sachi...@wso2.com)

2015-04-28 Thread Sachith Herath
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20150430T083000Z
DTEND:20150430T093000Z
DTSTAMP:20150429T031741Z
ORGANIZER;CN=Sachith Herath:mailto:sachi...@wso2.com
UID:vf8ih78ccpomrkgep0lrec6...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Binali Perera;X-NUM-GUESTS=0:mailto:bin...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Sachith Herath;X-NUM-GUESTS=0:mailto:sachi...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sumedha Rubasinghe;X-NUM-GUESTS=0:mailto:sume...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Lahiru Cooray;X-NUM-GUESTS=0:mailto:lahi...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chathura Dilan;X-NUM-GUESTS=0:mailto:chathu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Ruwan Yatawara;X-NUM-GUESTS=0:mailto:ruw...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dinusha Senanayaka;X-NUM-GUESTS=0:mailto:dinu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
CREATED:20150429T031628Z
DESCRIPTION:View your event at https://www.google.com/calendar/event?action
 =VIEW&eid=dmY4aWg3OGNjcG9tcmtnZXAwbHJlYzZsbTAgZGV2QHdzbzIub3Jn&tok=MTcjc2Fj
 aGl0aHVAd3NvMi5jb20yNzE1NTAxZTY4ZGRmYWI0OTE1MWYzNDljNmFhNDc0YzEwZTkzNTFh&ct
 z=Asia/Colombo&hl=en.
LAST-MODIFIED:20150429T031741Z
LOCATION:LK 3rd Floor Meeting Room - Kernel
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:[Code Review][AppM]Sample Deploy
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


Re: [Dev] [App Factory] How to execute init methods only once in integration tests base class

2015-04-28 Thread Nuwan Wimalasekara
Hi Samith,
Yes. You can use @BeforeSuite as well. But if you have more than one test
suites in a test module, It will execute each and every time before test
suite is running. If you have only one test suite, Both options doing the
same thing.

Thanks,
Nuwanw

On Tue, Apr 28, 2015 at 8:07 PM, Samith Dassanayake  wrote:

> Hi Nuwan,
>
> If the requirement is to call those methods once for all the tests, isn't
> it better to use @BeforeSuite(Instead of @BeforeTest)  annotation or
> an extension using SuiteListenerExtension?
>
> Thanks,
> Samith
>
> On Wed, Apr 29, 2015 at 8:09 AM, Nuwan Wimalasekara 
> wrote:
>
>> Hi Punnadi,
>> You can use @BeforTest annotation to execute a method only one time for a
>> test package. if you need to execute this method one time for all the test
>> classes in particular test module, You can write a extension class and
>> configure it in automation.xml to execute before test execution.
>>
>> https://docs.wso2.com/display/TA430/TestNG+Listeners
>>
>> Thanks,
>> Nuwanw
>>
>> On Tue, Apr 28, 2015 at 4:47 PM, Punnadi Gunarathna 
>> wrote:
>>
>>> Hi All,
>>>
>>> Currently "initWithTenantCreation" method in AppFactoryIntegrationTest
>>> class [1] is being called from all the test cases via their
>>> "setEnvironment" method [2].
>>> initWithTenantCreation method is used to populate tenant, default
>>> application. Is it possible to execute this type of methods once for all
>>> the test cases, rather than calling them for each test case separately.
>>> Please advice.
>>>
>>> [1]
>>> https://github.com/wso2/product-af/blob/master/modules/integration/integration-test-utils/src/main/java/org/wso2/appfactory/integration/test/utils/AppFactoryIntegrationTest.java
>>> [2]
>>> https://github.com/wso2/product-af/tree/master/modules/integration/tests-integration/tests-scenarios/src/test/java/org/wso2/appfactory/tests/scenarios
>>> --
>>> 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
>>>
>>>
>>>
>>>  
>>>
>>
>>
>>
>> --
>> Nuwan Wimalasekara
>> Senior Software Engineer - Test Automation
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> phone: +94 71 668 4620
>>
>>
>>
>>
>> ___
>> 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
>



-- 
Nuwan Wimalasekara
Senior Software Engineer - Test Automation
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

phone: +94 71 668 4620
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Madhuranga Bandara
Congratulations Mahesh... !!!

*Madhuranga Sampath Bandara*
Software Engineer

WSO2, Inc.;http://wso2.com/

lean.enterprise.middleware
Mobile: +94722241065

On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
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
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Enterprise Store - UI test failures

2015-04-28 Thread Ayesha Dissanayaka
Hi all,

I was able to fix one test class[1] in this[2] commit.
Hope this would be helpful in order to fix other test failures.

Best approach would be to debug test classes one at a time to locate the UI
element mismatches.

[1]
https://github.com/wso2/product-es/blob/e6a6a2b2891f0d436294320436caa09ed9ffae23/modules/integration/tests-ui-integration/tests-ui/src/test/java/org/wso2/es/ui/integration/test/publisher/ESPublisherAddEditAssetTestCase.java
[2]
https://github.com/wso2/product-es/commit/e6a6a2b2891f0d436294320436caa09ed9ffae23

Thanks!
-Ayesha

On Tue, Apr 28, 2015 at 12:46 AM, Rajeenthini Satkunam  wrote:

> Hi,
>
> Noted,I will look into this links and I will discuss with team if I need
> further helps on this.
>
> On Tue, Apr 28, 2015 at 7:52 AM, Ayesha Dissanayaka 
> wrote:
>
>> Hi all,
>>
>> I think the reason for this test failures should be the recent UI changes
>> in ES. The mentioned UI tests were written on top of previous ES UIs and I
>> don't think we have re-written them on top of new UI. Hope the team has
>> already started working on this.
>>
>> Almost all the tests are failing due to unavailability of UI elements,
>> which is expected due to the change in UI. So, I think the best way to fix
>> this would be to re-generate the tests using selenium record and playback,
>> rather than someone going through line by line to map previous UI elements
>> to new ones.
>>
>> We already have the templates for ES publisher and Store UI test
>> generation. And the initial idea of having "Selenium UI Test Generation"
>> for ES is exactly to address this kind of scenarios without much of a
>> trouble.
>>
>> @Rajeenthini, since you are working on this, below e-mail threads and
>> links would be helpful for you. Let me know if you need further help on
>> this.
>>
>> [1] [Dev][ES] Selenium UI Integration Test Generation
>> [2] [ES- Integration Test] Custom WebDriver Class for UI test Automation
>> [3]
>> http://techspace-ps.blogspot.com/2015/01/selenium-ide-template-for-testng.html
>> [4]
>> http://asadistechspace.blogspot.com/2014/12/customize-selenium-code-jeneration.html#.VT7oGzlO0c0
>>
>> Thanks!
>> -Ayesha
>>
>> On Tue, Apr 21, 2015 at 6:01 AM, Udara Rathnayake 
>> wrote:
>>
>>> Hi Krishantha,
>>>
>>> We are looking into this.
>>>
>>> Regards,
>>> UdaraR
>>>
>>> On Mon, Apr 20, 2015 at 5:12 PM, Krishantha Samaraweera <
>>> krishan...@wso2.com> wrote:
>>>
 More test failures in tests-ui module.

 Failed tests:
 testESPublishToStore(org.wso2.es.ui.integration.test.common.ESPublishToStore):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherNotificationTestCase)

 testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testAddAsset(org.wso2.es.ui.integration.test.publisher.ESPublisherTenantAddEditAssetTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 setUp(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 setUp(org.wso2.es.ui.integration.test.store.ESStoreAnonCategorySortingTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.linkText: Add gadget(..)

 tearDown(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantNotificationTestCase)

 testAnonHomePage(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 By.selector: div.span3.store-right > div.row > div.span3(..)

 testAnonNavigationLinks(org.wso2.es.ui.integration.test.store.ESStoreAnonHomePageTestCase):
 Recent Gadgets link not working expected [Stacked Line Chart] but found
 [Line Chart]

 testSubscriptionCreation(org.wso2.es.ui.integration.test.notifications.ESPublisherTenantSubscriptionTestCase):
 Timed out after 30 seconds waiting for presence of element located by:
 

[Dev] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Saneth Dharmakeerthi
Hi APIM team,

When we configure a API endpoint as a secure endpoint,Is there any
conditions regarding the password?


Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Madhawa Gunasekara
Congratulations Mahesh

On Wed, Apr 29, 2015 at 8:57 AM, Madhuranga Bandara 
wrote:

> Congratulations Mahesh... !!!
>
> *Madhuranga Sampath Bandara*
> Software Engineer
>
> WSO2, Inc.;http://wso2.com/
> 
> lean.enterprise.middleware
> Mobile: +94722241065
>
> On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
> 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
>>
>>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

mobile: +94 719411002 <+94+719411002>
blog: *http://madhawa-gunasekara.blogspot.com
*
linkedin: *http://lk.linkedin.com/in/mgunasekara
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Rest API used by Dev Studio

2015-04-28 Thread Manisha Gayathri
On Wed, Apr 29, 2015 at 5:24 AM, Dimuthu Leelarathne 
wrote:

> Hi all,
>
> Could we have a list of methods used by the dev studio?
>
> Please note the following methods are proposed to be removed from the code.
>


When I checked the code, found that only below actions are being used in
DevS according to
org.wso2.developerstudio.appfactory.core.jag.api.JagApiProperties class

public static  final String USER_APP_LIST__ACTION = "getApplicationsOfUser";
public static final String App_NIFO_ACTION = "getAppVersionsInStage";
public static final String App_BUILD_NUMBER_ACTION = "buildinfobyappid";
public static final String App_BUILD_URL_ACTIONL = "getBuildLogsUrl";
public static final String App_BUILD_INFO_ACTION ="getbuildandrepodata";
public static final String FORKED_REPO_INFO_ACTION =
"getbuildandrepodataforkedrepo";
public static final String App_BUILD_ACTION ="createArtifact";
public static final String App_USERS_ROLES_ACTION ="getUsersOfApplication";
public static final String App_DB_INFO_ACTION =
"getDbUserTemplateInfoForStages";
public static final String App_DS_INFO_ACTION = "getDatasources";

Only 2 out of the following list in used in DevS.

>
> checkSystemStatus
>
> newKey
>
> getUniqueAppVersions
>
> initAppVersion
>
> containsApplication
>
> getAppCountInStage
>
> getApplicationsOfUser - this is used in devS
>
> getAllAppVersionsInStage
>
> getAppVersionsInStage - this is used in devS
>
> getAllAppVersionsInStages
>
> getAppVersionsInStagesWithMetaData
>
> getMetaDataForAppVersion
>
> getRetiredVersions
>
> getLatestBuildSuccessInfo
>
> getBuildableStages
>
>
> thanks,
>
> dimuthu
>
>
>
> --
> Dimuthu Leelarathne
> Architect & Product Lead of App Factory
>
> WSO2, Inc. (http://wso2.com)
> email: dimut...@wso2.com
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>



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

*blog:  http://manisha-eleperuma.blogspot.com/
*
*mobile:  +94 71 8279777*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Niranda Perera
Hi Kasun,

I did the changes. could you please check it now? thanks

rgds

On Tue, Apr 28, 2015 at 9:49 PM, Kasun Gajasinghe  wrote:

> Hi Niranda,
>
> Can you also fix the import-packages to not have star imports with
> resolution optional?
>
> Thanks.
>
> On Apr 28, 2015, at 1:50 PM, Niranda Perera  wrote:
>
> @Kasun thank you for the clarification
>
> I have made the adjustments. can you please check it?
>
> rgds
>
> On Mon, Apr 27, 2015 at 11:16 AM, KasunG Gajasinghe 
> wrote:
>
>> Hi Niranda,
>>
>> The Bundle-Classpath tag is as mentioned above is required to over-ride
>> the classes in the original orbit bundle. Since both the orbit bundle, and
>> patched bundle have the same classes, we need to instruct to give
>> precedence to the patch.jar. Hence, the above tag is required.
>>
>> The bundles will be resolved fine, but the over-riding may or may not
>> happen. So, can you add this tag? Further, there are some pending comments
>> in the PR.
>>
>> Thanks.
>>
>> On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera 
>> wrote:
>>
>>> Hi Supun,
>>>
>>> are you referring to this?
>>> 
>>> org.apache.spark.*;version="${spark.version}";-split-package:=merge-first
>>> 
>>>
>>> well, AFAIK what export-package does is, it exposes the
>>> org.apache.spark.* classes in the OSGI environment. since we are not doing
>>> any patching for the original classes, I dont think we have to change the
>>> version to 1.3.0.wso2v1
>>>
>>> @sameera, pls correct me if I'm wrong.
>>>
>>> rgds
>>>
>>> On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga  wrote:
>>>
 Hi Sameera/Niranda,

 With parallel to this, Im in the process of migrating the spark Ml-Lib
 and spark streaming versions for product ML. Just wanted to clear myself,
 shouldn't the export-package-version of all spark packages be 1.3.0.wso2v1,
 rather than 1.3.0?

 Thanks,
 Supun

 On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera 
 wrote:

> oh. are you referring to the
> patch.jar,.
> line?
> I did not include it in the orbit bundle.
>
> but I checked the bundles in a fresh carbon server and it seems like
> the patch gets attached successfully.
> ​
>  Screenshot from 2015-04-17 16:20:15.png
> 
> ​
> I checked it with BAM pack also.
>
>  tag, is it mandatory to be in the for the orbit
> bundle, for the patch to get attached?
>
> the patch pom is as follows
>
> https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml
>
>
>
>
>
> On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando 
> wrote:
>
>> Niranda, yeah, we would have to put that part to be able to later
>> patch it. A sample can be found here [1].
>>
>> [1]
>> https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml
>>
>> Cheers,
>> Anjana.
>>
>> On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma 
>> wrote:
>>
>>> I meant to say, do we need to add the patch.jar line to the spark
>>> bundle as we've done in Tomcat bundle.
>>>
>>> Thanks,
>>> Sameera.
>>>
>>> On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera 
>>> wrote:
>>>
 Hi Sameera,

 No its not. The patch is in org.wso2.analytics.spark.patch
 component. Its still not committed to carbon - analytics

 Rgds

 On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma 
 wrote:

> Hi Niranda,
>
> Does this include fragment-bundle/patch modification also?
>
> Thanks,
> Sameera.
>
> On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera 
> wrote:
>
>> Hi,
>>
>> Kind reminder on this.
>>
>> Best regards
>>
>> Niranda Perera
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-71-554-8430
>> Twitter: @n1r44
>> On Apr 14, 2015 19:17, "Niranda Perera"  wrote:
>>
>>> Hi Sameera,
>>>
>>> Could you please review this PR [1] for Spark 1.3.0.
>>>
>>> this upgrades 1.2.1 to 1.3.0. this upgrade is done, because
>>> 1.3.0 comes with some major API changes and we wanted to include 
>>> those API
>>> changes before the DAS (BAM) 3.0.0 alpha
>>>
>>> cheers
>>>
>>> [1] https://github.com/wso2/orbit/pull/83
>>>
>>> --
>>> *Niranda Perera*
>>> Software Engineer, WSO2 Inc.
>>> Mobile: +94-71-554-8430
>>> Twitter: @n1r44 
>>>
>>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2,

Re: [Dev] Build Failure - JiBX Data Binding Sample

2015-04-28 Thread Chathura Priyankara
Hi Nadeesha,

I think similar exception is discussed in [1].
According to that you need to set the JVM option "-XX:-UseSplitVerifier"
before executing the binding compiler.

[1]
https://wso2.org/jira/si/jira.issueviews:issue-html/CARBON-12931/CARBON-12931.html

Thanks!
Best Regards,
Chathura.

On Wed, Apr 29, 2015 at 8:42 AM, Nadeesha Meegoda 
wrote:

> Hi,
>
> I am running these AS samples, currently running the JiBX and the build
> fails. Has anyone come across this before?
>
>  [bind] Error running binding compiler
>  [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
> target 12
>  [bind] Exception Details:
>  [bind]   Location:
>  [bind]
> org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
> @1: ifnonnull
>  [bind]   Reason:
>  [bind]Expected stackmap frame at this location.
>  [bind] Bytecode:
>  [bind] 000: 2ac7 000b bb00 0a59 b700 744b 2ab0
>  [bind]
>  [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
>  [bind] at
> java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
>  [bind] at java.lang.Class.getDeclaredMethods(Class.java:1860)
>  [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
>  [bind] at
> org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
>  [bind] at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>  [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
> Source)
>  [bind] at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  [bind] at java.lang.reflect.Method.invoke(Method.java:606)
>  [bind] at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>  [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
>  [bind] at org.apache.tools.ant.Target.execute(Target.java:435)
>  [bind] at
> org.apache.tools.ant.Target.performTasks(Target.java:456)
>  [bind] at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
>  [bind] at
> org.apache.tools.ant.Project.executeTarget(Project.java:1364)
>  [bind] at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>  [bind] at
> org.apache.tools.ant.Project.executeTargets(Project.java:1248)
>  [bind] at org.apache.tools.ant.Main.runBuild(Main.java:851)
>  [bind] at org.apache.tools.ant.Main.startAnt(Main.java:235)
>  [bind] at
> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>  [bind] at
> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
>  [bind]
>
> BUILD FAILED
> /home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
> JiBXException in JiBX binding compilation
>
>
> Any Input regarding this is highly appreciated.
>
> Thanks
> --
> *Nadeesha Meegoda*
> Software Engineer - QA
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
> email : nadees...@wso2.com
> mobile: +94783639540
> <%2B94%2077%202273555>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chathura Priyankara
Software Engineer | WSO2 Inc.
Mobile : +94718795340
Blog : www.codeoncloud.blogspot.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Rest API used by Dev Studio

2015-04-28 Thread Jasintha Dasanayake
Hi Dimuthu /Manisha

FYI, following is the list of API calls are used by Developer Studio App
Factory tools.

*List of Jag files*

   - /appmgt/site/blocks/application/get/ajax/list.jag
   - /appmgt/site/blocks/user/login/ajax/login.jag
   - /appmgt/site/blocks/build/list/ajax/list.jag
   - /appmgt/site/blocks/build/get/ajax/get.jag
   - /appmgt/site/blocks/buildandrepo/list/ajax/list.jag
   - /appmgt/site/blocks/lifecycle/add/ajax/add.jag
   - /appmgt/site/blocks/application/users/get/ajax/list.jag
   - /appmgt/site/blocks/rssmanager/add/ajax/add.jag
   - /appmgt/site/blocks/resources/datasource/get/ajax/list.jag
   - /appmgt/site/blocks/buildandrepo/list/ajax/list.jag


*List of Actions*

   - getApplicationsOfUser
   - getAppVersionsInStage
   - buildinfobyappid
   - getBuildLogsUrl
   - getbuildandrepodata
   - getbuildandrepodataforkedrepo
   - createArtifact
   - getUsersOfApplication
   - getDbUserTemplateInfoForStages
   - getDataSourceInfoUrl

Thanks and Regards
/Jasintha

On Wed, Apr 29, 2015 at 9:34 AM, Manisha Gayathri  wrote:

>
>
> On Wed, Apr 29, 2015 at 5:24 AM, Dimuthu Leelarathne 
> wrote:
>
>> Hi all,
>>
>> Could we have a list of methods used by the dev studio?
>>
>> Please note the following methods are proposed to be removed from the
>> code.
>>
>
>
> When I checked the code, found that only below actions are being used in
> DevS according to
> org.wso2.developerstudio.appfactory.core.jag.api.JagApiProperties class
>
> public static  final String USER_APP_LIST__ACTION =
> "getApplicationsOfUser";
> public static final String App_NIFO_ACTION = "getAppVersionsInStage";
> public static final String App_BUILD_NUMBER_ACTION = "buildinfobyappid";
> public static final String App_BUILD_URL_ACTIONL = "getBuildLogsUrl";
> public static final String App_BUILD_INFO_ACTION ="getbuildandrepodata";
> public static final String FORKED_REPO_INFO_ACTION =
> "getbuildandrepodataforkedrepo";
> public static final String App_BUILD_ACTION ="createArtifact";
> public static final String App_USERS_ROLES_ACTION ="getUsersOfApplication";
> public static final String App_DB_INFO_ACTION =
> "getDbUserTemplateInfoForStages";
> public static final String App_DS_INFO_ACTION = "getDatasources";
>
> Only 2 out of the following list in used in DevS.
>
>>
>> checkSystemStatus
>>
>> newKey
>>
>> getUniqueAppVersions
>>
>> initAppVersion
>>
>> containsApplication
>>
>> getAppCountInStage
>>
>> getApplicationsOfUser - this is used in devS
>>
>> getAllAppVersionsInStage
>>
>> getAppVersionsInStage - this is used in devS
>>
>> getAllAppVersionsInStages
>>
>> getAppVersionsInStagesWithMetaData
>>
>> getMetaDataForAppVersion
>>
>> getRetiredVersions
>>
>> getLatestBuildSuccessInfo
>>
>> getBuildableStages
>>
>>
>> thanks,
>>
>> dimuthu
>>
>>
>>
>> --
>> Dimuthu Leelarathne
>> Architect & Product Lead of App Factory
>>
>> WSO2, Inc. (http://wso2.com)
>> email: dimut...@wso2.com
>> Mobile : 0773661935
>>
>> Lean . Enterprise . Middleware
>>
>
>
>
> --
> ~Regards
> *Manisha Eleperuma*
> Senior Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
>
> *blog:  http://manisha-eleperuma.blogspot.com/
> *
> *mobile:  +94 71 8279777 <%2B94%2071%208279777>*
>
>


-- 

*Jasintha Dasanayake*

*Senior Software EngineerWSO2 Inc. | http://wso2.com lean
. enterprise . middleware*


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


Re: [Dev] WSO2 App Factory - removing an application

2015-04-28 Thread Manisha Gayathri
You can do a REST call to delete an application as per the doc in [1]

[1].
https://docs.wso2.com/display/AF210/REST+APIs#RESTAPIs-deleteApplication

Thanks
Manisha

On Sun, Apr 26, 2015 at 7:40 PM, Chalitha Kulathunga 
wrote:

> Thanks
>
> On Sun, Apr 26, 2015 at 7:34 PM, Danushka Fernando 
> wrote:
>
>> Will check the code and let you know. However there is a service call you
>> can do "deleteApplication" in one of our services. Will let you know which
>> service it is.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On Apr 26, 2015 6:44 PM, "Chalitha Kulathunga" 
>> wrote:
>>
>>> Hi all,
>>>
>>> I'm looking for existing methods which can completely remove
>>> applications belong to a particular tenant in WSO2 App Factory. Could
>>> someone please recommend me a standard way to delete applications. The
>>> requirement is to delete applications of a specific tenant internally, only
>>> giving the name of the tenant/created user.
>>>
>>>
>>> Thanks & Regards
>>>
>>> --
>>> *Chalitha Sanyuja Kulathunga*
>>> *Software Engineer*
>>> WSO2 Inc.; http://wso2.com
>>> email: chalit...@wso2.com cell: +94 77 5927581 <%2B94%2077%207779495>
>>>
>>
>
>
> --
> *Chalitha Sanyuja Kulathunga*
> *Software Engineer*
> WSO2 Inc.; http://wso2.com
> email: chalit...@wso2.com cell: +94 77 5927581 <%2B94%2077%207779495>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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

*blog:  http://manisha-eleperuma.blogspot.com/
*
*mobile:  +94 71 8279777*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Supun Sethunga
Hi Niranda,

are you referring to this?
> 
> org.apache.spark.*;version="${spark.version}";-split-package:=merge-first
> 


Yes exactly. My concern was, what if multiple versions of the same package
were in the same osgi environment..  I know its very highly unlikely, but
IF such a case happens, then I think spark (or any bundle) will pick up
only one of the versions.

Thanks,
Supun

On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera  wrote:

> Hi Supun,
>
> are you referring to this?
> 
> org.apache.spark.*;version="${spark.version}";-split-package:=merge-first
> 
>
> well, AFAIK what export-package does is, it exposes the org.apache.spark.*
> classes in the OSGI environment. since we are not doing any patching for
> the original classes, I dont think we have to change the version to
> 1.3.0.wso2v1
>
> @sameera, pls correct me if I'm wrong.
>
> rgds
>
> On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga  wrote:
>
>> Hi Sameera/Niranda,
>>
>> With parallel to this, Im in the process of migrating the spark Ml-Lib
>> and spark streaming versions for product ML. Just wanted to clear myself,
>> shouldn't the export-package-version of all spark packages be 1.3.0.wso2v1,
>> rather than 1.3.0?
>>
>> Thanks,
>> Supun
>>
>> On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera  wrote:
>>
>>> oh. are you referring to the
>>> patch.jar,.
>>> line?
>>> I did not include it in the orbit bundle.
>>>
>>> but I checked the bundles in a fresh carbon server and it seems like the
>>> patch gets attached successfully.
>>> ​
>>>  Screenshot from 2015-04-17 16:20:15.png
>>> 
>>> ​
>>> I checked it with BAM pack also.
>>>
>>>  tag, is it mandatory to be in the for the orbit
>>> bundle, for the patch to get attached?
>>>
>>> the patch pom is as follows
>>>
>>> https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml
>>>
>>>
>>>
>>>
>>>
>>> On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando 
>>> wrote:
>>>
 Niranda, yeah, we would have to put that part to be able to later patch
 it. A sample can be found here [1].

 [1]
 https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml

 Cheers,
 Anjana.

 On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma 
 wrote:

> I meant to say, do we need to add the patch.jar line to the spark
> bundle as we've done in Tomcat bundle.
>
> Thanks,
> Sameera.
>
> On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera 
> wrote:
>
>> Hi Sameera,
>>
>> No its not. The patch is in org.wso2.analytics.spark.patch component.
>> Its still not committed to carbon - analytics
>>
>> Rgds
>>
>> On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma 
>> wrote:
>>
>>> Hi Niranda,
>>>
>>> Does this include fragment-bundle/patch modification also?
>>>
>>> Thanks,
>>> Sameera.
>>>
>>> On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera 
>>> wrote:
>>>
 Hi,

 Kind reminder on this.

 Best regards

 Niranda Perera
 Software Engineer, WSO2 Inc.
 Mobile: +94-71-554-8430
 Twitter: @n1r44
 On Apr 14, 2015 19:17, "Niranda Perera"  wrote:

> Hi Sameera,
>
> Could you please review this PR [1] for Spark 1.3.0.
>
> this upgrades 1.2.1 to 1.3.0. this upgrade is done, because 1.3.0
> comes with some major API changes and we wanted to include those API
> changes before the DAS (BAM) 3.0.0 alpha
>
> cheers
>
> [1] https://github.com/wso2/orbit/pull/83
>
> --
> *Niranda Perera*
> Software Engineer, WSO2 Inc.
> Mobile: +94-71-554-8430
> Twitter: @n1r44 
>

>>>
>>>
>>> --
>>> Sameera Jayasoma,
>>> Software Architect,
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: same...@wso2.com
>>> blog: http://blog.sameera.org
>>> twitter: https://twitter.com/sameerajayasoma
>>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>> Mobile: 0094776364456
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>
>
> --
> Sameera Jayasoma,
> Software Architect,
>
> WSO2, Inc. (http://wso2.com)
> email: same...@wso2.com
> blog: http://blog.sameera.org
> twitter: https://twitter.com/sameerajayasoma
> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
> Mobile: 0094776364456
>
> Lean . Enterprise . Middleware
>
>


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

>>>
>>>
>>>
>>> --
>>> *Niranda Perera*
>>> Softwa

Re: [Dev] Rest API used by Dev Studio

2015-04-28 Thread Rajeevan Vimalanathan
Hi All,

To add with Jasintha, In addition to the above, DevStudio is also using
login, logout, and getTenantDisplayNames(It is an Admin service).

Thanks,
Rajeevan

On Wed, Apr 29, 2015 at 10:13 AM, Jasintha Dasanayake 
wrote:

> Hi Dimuthu /Manisha
>
> FYI, following is the list of API calls are used by Developer Studio App
> Factory tools.
>
> *List of Jag files*
>
>- /appmgt/site/blocks/application/get/ajax/list.jag
>- /appmgt/site/blocks/user/login/ajax/login.jag
>- /appmgt/site/blocks/build/list/ajax/list.jag
>- /appmgt/site/blocks/build/get/ajax/get.jag
>- /appmgt/site/blocks/buildandrepo/list/ajax/list.jag
>- /appmgt/site/blocks/lifecycle/add/ajax/add.jag
>- /appmgt/site/blocks/application/users/get/ajax/list.jag
>- /appmgt/site/blocks/rssmanager/add/ajax/add.jag
>- /appmgt/site/blocks/resources/datasource/get/ajax/list.jag
>- /appmgt/site/blocks/buildandrepo/list/ajax/list.jag
>
>
> *List of Actions*
>
>- getApplicationsOfUser
>- getAppVersionsInStage
>- buildinfobyappid
>- getBuildLogsUrl
>- getbuildandrepodata
>- getbuildandrepodataforkedrepo
>- createArtifact
>- getUsersOfApplication
>- getDbUserTemplateInfoForStages
>- getDataSourceInfoUrl
>
> Thanks and Regards
> /Jasintha
>
> On Wed, Apr 29, 2015 at 9:34 AM, Manisha Gayathri 
> wrote:
>
>>
>>
>> On Wed, Apr 29, 2015 at 5:24 AM, Dimuthu Leelarathne 
>> wrote:
>>
>>> Hi all,
>>>
>>> Could we have a list of methods used by the dev studio?
>>>
>>> Please note the following methods are proposed to be removed from the
>>> code.
>>>
>>
>>
>> When I checked the code, found that only below actions are being used in
>> DevS according to
>> org.wso2.developerstudio.appfactory.core.jag.api.JagApiProperties class
>>
>> public static  final String USER_APP_LIST__ACTION =
>> "getApplicationsOfUser";
>> public static final String App_NIFO_ACTION = "getAppVersionsInStage";
>> public static final String App_BUILD_NUMBER_ACTION = "buildinfobyappid";
>> public static final String App_BUILD_URL_ACTIONL = "getBuildLogsUrl";
>> public static final String App_BUILD_INFO_ACTION ="getbuildandrepodata";
>> public static final String FORKED_REPO_INFO_ACTION =
>> "getbuildandrepodataforkedrepo";
>> public static final String App_BUILD_ACTION ="createArtifact";
>> public static final String App_USERS_ROLES_ACTION
>> ="getUsersOfApplication";
>> public static final String App_DB_INFO_ACTION =
>> "getDbUserTemplateInfoForStages";
>> public static final String App_DS_INFO_ACTION = "getDatasources";
>>
>> Only 2 out of the following list in used in DevS.
>>
>>>
>>> checkSystemStatus
>>>
>>> newKey
>>>
>>> getUniqueAppVersions
>>>
>>> initAppVersion
>>>
>>> containsApplication
>>>
>>> getAppCountInStage
>>>
>>> getApplicationsOfUser - this is used in devS
>>>
>>> getAllAppVersionsInStage
>>>
>>> getAppVersionsInStage - this is used in devS
>>>
>>> getAllAppVersionsInStages
>>>
>>> getAppVersionsInStagesWithMetaData
>>>
>>> getMetaDataForAppVersion
>>>
>>> getRetiredVersions
>>>
>>> getLatestBuildSuccessInfo
>>>
>>> getBuildableStages
>>>
>>>
>>> thanks,
>>>
>>> dimuthu
>>>
>>>
>>>
>>> --
>>> Dimuthu Leelarathne
>>> Architect & Product Lead of App Factory
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: dimut...@wso2.com
>>> Mobile : 0773661935
>>>
>>> Lean . Enterprise . Middleware
>>>
>>
>>
>>
>> --
>> ~Regards
>> *Manisha Eleperuma*
>> Senior Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean.enterprise.middleware
>>
>> *blog:  http://manisha-eleperuma.blogspot.com/
>> *
>> *mobile:  +94 71 8279777 <%2B94%2071%208279777>*
>>
>>
>
>
> --
>
> *Jasintha Dasanayake*
>
> *Senior Software EngineerWSO2 Inc. | http://wso2.com
> lean . enterprise . middleware*
>
>
> *mobile :- 0711368118*
>
> ___
> 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] [AppM] Sample Documentation for Outbound Provisioning with Salesfroce

2015-04-28 Thread Sajith Ariyarathna
Hi,
I have created this doc [1] for $subject. Please review and comment.

[1] 
*https://docs.google.com/a/wso2.com/document/d/15t0ihN1ETpUcrJDm5DuYzjJuDLGGpGm3iIde0hOFRFo/edit?usp=sharing
*


Thanks & Regards.
​​

-- 
Sajith Ariyarathna
Software Engineer; WSO2, Inc.;  http://wso2.com/
mobile: +94 77 6602284, +94 71 3951048
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Madusanka Premaratne
Hi Saneth,
What do you mean by condition? You have to provide the basic authentication
username and password to the two text boxes.
When calling to the endpoint you have to use basic auth header by using the
given user name and password.

Thanks,
Madusanka

On Wed, Apr 29, 2015 at 9:03 AM, Saneth Dharmakeerthi 
wrote:

> Hi APIM team,
>
> When we configure a API endpoint as a secure endpoint,Is there any
> conditions regarding the password?
>
>
> Thanks and Best Regards,
>
> Saneth Dharmakeerthi
> Senior Software Engineer
> WSO2, Inc.
> Mobile: +94772325511
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Madusanka Premaratne* | Associate Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 835 70 73| Work: +94 112 145 345
Email: madusan...@wso2.com | Web: www.wso2.com

[image: Facebook]  [image: Twitter]
 [image: Google Plus]
 [image:
Linkedin]  [image: Instagram]
 [image: Skype]

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


Re: [Dev] [Orbit] Please review the PR for Spark 1.3.0

2015-04-28 Thread Niranda Perera
Hi Supun,

let me understand the scenario here.

say there are 2 OSGI bundle in the environment spark v 1.3.0 and spark v
1.2.1 and we have a component org.wso2.analytics.spark.core which imports
org.apache.spark version [1.2.1, 1.4.0).
then AFAIK in the OSGI environment, org.wso2.analytics.spark.core gets
wired to the latest version in the runtime.
@carbon team pls correct me if I'm wrong

but I do not think it has anything to do with the  tag in
the orbit bundle.

rgds

On Wed, Apr 29, 2015 at 10:22 AM, Supun Sethunga  wrote:

> Hi Niranda,
>
> are you referring to this?
>> 
>> org.apache.spark.*;version="${spark.version}";-split-package:=merge-first
>> 
>
>
> Yes exactly. My concern was, what if multiple versions of the same package
> were in the same osgi environment..  I know its very highly unlikely, but
> IF such a case happens, then I think spark (or any bundle) will pick up
> only one of the versions.
>
> Thanks,
> Supun
>
> On Mon, Apr 27, 2015 at 10:55 AM, Niranda Perera  wrote:
>
>> Hi Supun,
>>
>> are you referring to this?
>> 
>> org.apache.spark.*;version="${spark.version}";-split-package:=merge-first
>> 
>>
>> well, AFAIK what export-package does is, it exposes the
>> org.apache.spark.* classes in the OSGI environment. since we are not doing
>> any patching for the original classes, I dont think we have to change the
>> version to 1.3.0.wso2v1
>>
>> @sameera, pls correct me if I'm wrong.
>>
>> rgds
>>
>> On Wed, Apr 22, 2015 at 9:06 AM, Supun Sethunga  wrote:
>>
>>> Hi Sameera/Niranda,
>>>
>>> With parallel to this, Im in the process of migrating the spark Ml-Lib
>>> and spark streaming versions for product ML. Just wanted to clear myself,
>>> shouldn't the export-package-version of all spark packages be 1.3.0.wso2v1,
>>> rather than 1.3.0?
>>>
>>> Thanks,
>>> Supun
>>>
>>> On Fri, Apr 17, 2015 at 4:39 PM, Niranda Perera 
>>> wrote:
>>>
 oh. are you referring to the
 patch.jar,.
 line?
 I did not include it in the orbit bundle.

 but I checked the bundles in a fresh carbon server and it seems like
 the patch gets attached successfully.
 ​
  Screenshot from 2015-04-17 16:20:15.png
 
 ​
 I checked it with BAM pack also.

  tag, is it mandatory to be in the for the orbit
 bundle, for the patch to get attached?

 the patch pom is as follows

 https://github.com/nirandaperera/carbon-analytics/blob/clustering%2B130%2BMT/components/analytics/analytics-processors/org.wso2.carbon.analytics.spark.patch/pom.xml





 On Thu, Apr 16, 2015 at 3:05 PM, Anjana Fernando 
 wrote:

> Niranda, yeah, we would have to put that part to be able to later
> patch it. A sample can be found here [1].
>
> [1]
> https://github.com/wso2/orbit/blob/master/tomcat/7.0.59.wso2v2/pom.xml
>
> Cheers,
> Anjana.
>
> On Thu, Apr 16, 2015 at 3:00 PM, Sameera Jayasoma 
> wrote:
>
>> I meant to say, do we need to add the patch.jar line to the spark
>> bundle as we've done in Tomcat bundle.
>>
>> Thanks,
>> Sameera.
>>
>> On Thu, Apr 16, 2015 at 12:31 PM, Niranda Perera 
>> wrote:
>>
>>> Hi Sameera,
>>>
>>> No its not. The patch is in org.wso2.analytics.spark.patch
>>> component. Its still not committed to carbon - analytics
>>>
>>> Rgds
>>>
>>> On Thu, Apr 16, 2015, 12:17 Sameera Jayasoma 
>>> wrote:
>>>
 Hi Niranda,

 Does this include fragment-bundle/patch modification also?

 Thanks,
 Sameera.

 On Thu, Apr 16, 2015 at 8:03 AM, Niranda Perera 
 wrote:

> Hi,
>
> Kind reminder on this.
>
> Best regards
>
> Niranda Perera
> Software Engineer, WSO2 Inc.
> Mobile: +94-71-554-8430
> Twitter: @n1r44
> On Apr 14, 2015 19:17, "Niranda Perera"  wrote:
>
>> Hi Sameera,
>>
>> Could you please review this PR [1] for Spark 1.3.0.
>>
>> this upgrades 1.2.1 to 1.3.0. this upgrade is done, because 1.3.0
>> comes with some major API changes and we wanted to include those API
>> changes before the DAS (BAM) 3.0.0 alpha
>>
>> cheers
>>
>> [1] https://github.com/wso2/orbit/pull/83
>>
>> --
>> *Niranda Perera*
>> Software Engineer, WSO2 Inc.
>> Mobile: +94-71-554-8430
>> Twitter: @n1r44 
>>
>


 --
 Sameera Jayasoma,
 Software Architect,

 WSO2, Inc. (http://wso2.com)
 email: same...@wso2.com
 blog: http://blog.sameera.org
 twitter: https://twitter.com/sameerajayasoma
 flickr: http://www.flickr.com

Re: [Dev] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Sewmini Jayaweera
Hi Saneth,

As per my knowledge this is used once we have a backend which is secured.

For an example;
say you have hello service hosted in WSO2 application server which is
secured using UsernameToken and your API is pointing to that service. In an
intense like that you need to give user credentials which you used to
secure back end (It will be a user's credentials registered in AS).

When a client is accessing this service through the API, he should be
invoke the API as usual. (Since we have given user credentials of the
secured backend when creating the API )

Cheers!
Sewmini

Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Apr 29, 2015 at 9:03 AM, Saneth Dharmakeerthi 
wrote:

> Hi APIM team,
>
> When we configure a API endpoint as a secure endpoint,Is there any
> conditions regarding the password?
>
>
> Thanks and Best Regards,
>
> Saneth Dharmakeerthi
> Senior Software Engineer
> WSO2, Inc.
> Mobile: +94772325511
>
> ___
> 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] [IS] Account Locking Data Flow Clarifications:

2015-04-28 Thread Damith Senanayake
Hi,

I have been trying to fix a bug [ https://wso2.org/jira/browse/IDENTITY-3235

] and I have noticed that when we try to login from the Primary domain, the
UserStoreManager( a ReadWriteLDAPUserStoreManager ) contains the
'userCache' member which has stored the logged in users from the primary
domain. However, if we have a secondary user store (A jdbc store, say) the
same cannot be found.

I am having trouble understanding how the locked users are stored in this
information flow. For instance, if a user from the primary domain gets
locked with max number of failed attempts, that information is stored in
the userClaimsDo instance pertaining to that user, in the
userIdentityDataMap. And then this user is put into a cache. What I need to
know is, is it intended to be non-persistent (the locked details go away
when we restart the server) or is there a persistent storage mechanism
involved.

Secondly, I am trying to figure out where the userStore domain information
is stored in  one these user instances at the back end. Any idea where to
start looking for that?


Thanks.
-- 
*-Damith Senanayake-*
+94712205272
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [ESB] Rule Mediator - Accessing rule set via Registry Lookup

2015-04-28 Thread Suhan Dharmasuriya
Hi,

Setup ESB 4.8.1 + MB 2.2.0 (3 Queues namely; UC7_QueueListnerProxy,
javaVendor, otherVendor)

During a demonstration we were successfully able to define the rule set
in-line [2] using a Rule Mediator.
But when we try to upload the contents as messageRoutingRules.xml [4] file
into registry and access rule set via Registry Lookup [1]
we are getting a null pointer [3].

Where can we find a sample registry rule set xml file content?

Please note that in ESB documentation [1] sample.xml file content is not
provided.

[1] https://docs.wso2.com/display/ESB481/Rule+Mediator
[2]

  
  
 

http://wso2.org/carbon/rules";>
   soapBody
   $accept
   
  
  
 package SimpleRoutingRules;

rule "Invoke IBM" no-loop true
when
symbol: String() eval( symbol.equals("IBM") )
then

 update(drools.getWorkingMemory().getFactHandle(symbol),"javaVendorEndPoint");
end

rule "Invoke SUN" no-loop true
when
symbol: String() eval( symbol.equals("SUN") )
then

 update(drools.getWorkingMemory().getFactHandle(symbol),"javaVendorEndPoint");
end

rule "Invoke MFST" no-loop true
when
symbol: String() eval( symbol.equals("MFST") )
then

 update(drools.getWorkingMemory().getFactHandle(symbol),"otherVendorEndPoint");
end


   
   http://services.samples";
wrapperElementName="getQuote">
  http://services.samples";
elementName="symbol"
namespace="http://services.samples";
type="java.lang.String"

xpath="//m0:getQuote/m0:request/m0:symbol/child::text()"/>
   
   http://services.samples";
   wrapperElementName="getQuoteRespone">
  
   


   http://services.samples";
 name="*** Message Payload "

 expression="//m0:getQuote/m0:request/m0:symbol/child::text()"/>


   
  
 
  
  
 
  
  
  
 

 
  
   
   
  
 
  
  
 
  
  
  
 

 
  
   


 
  
  
 
contentType
application/xml
 
  
   

[3]
[2015-04-29 10:46:31,861]  INFO - LogMediator To: , WSAction: urn:mediate,
SOAPAction: urn:mediate, MessageID:
ID:13a1befb-c725-3f04-9c92-a05a5d7c5b5d, Direction: request, Envelope:
http://schemas.xmlsoap.org/soap/envelope/";>http://services.samples";>

IBM


[2015-04-29 10:46:31,908]  INFO - LogMediator *** Message Payload
 = IBM
[2015-04-29 10:46:31,912]  WARN - SwitchCase Provided character sequence
for switch case condition is 'null'. Switch case will not be executed.
[2015-04-29 10:46:31,912]  WARN - SwitchCase Provided character sequence
for switch case condition is 'null'. Switch case will not be executed.

[4]  messageRoutingRules.xml file content
package SimpleRoutingRules;

rule "Invoke IBM" no-loop true
when
symbol: String() eval( symbol.equals("IBM") )
then

 update(drools.getWorkingMemory().getFactHandle(symbol),"javaVendorEndPoint");
end

rule "Invoke SUN" no-loop true
when
symbol: String() eval( symbol.equals("SUN") )
then

 update(drools.getWorkingMemory().getFactHandle(symbol),"javaVendorEndPoint");
end

rule "Invoke MFST" no-loop true
when
symbol: String() eval( symbol.equals("MFST") )
then

 update(drools.getWorkingMemory().getFactHandle(symbol),"otherVendorEndPoint");
end

Thanks,
Suhan

-- 
Suhan Dharmasuriya
Software Engineer - Test Automation

*WSO2, Inc. *

lean . enterprise . middleware
Tel: +94 112 145345
Mob: +94 779 869138
Blog: http://suhan-opensource.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://w

Re: [Dev] Rest API used by Dev Studio

2015-04-28 Thread Danushka Fernando
Hi Jasintha and DevS team

all the references from

/appmgt/site/blocks/build/* and /appmgt/site/blocks/buildandrepo/* are
getting moved to

appmgt/site/blocks/reposBuilds/* in next version of AF.

Please update your code accordingly for next version.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Wed, Apr 29, 2015 at 10:29 AM, Rajeevan Vimalanathan 
wrote:

> Hi All,
>
> To add with Jasintha, In addition to the above, DevStudio is also using
> login, logout, and getTenantDisplayNames(It is an Admin service).
>
> Thanks,
> Rajeevan
>
> On Wed, Apr 29, 2015 at 10:13 AM, Jasintha Dasanayake 
> wrote:
>
>> Hi Dimuthu /Manisha
>>
>> FYI, following is the list of API calls are used by Developer Studio App
>> Factory tools.
>>
>> *List of Jag files*
>>
>>- /appmgt/site/blocks/application/get/ajax/list.jag
>>- /appmgt/site/blocks/user/login/ajax/login.jag
>>- /appmgt/site/blocks/build/list/ajax/list.jag
>>- /appmgt/site/blocks/build/get/ajax/get.jag
>>- /appmgt/site/blocks/buildandrepo/list/ajax/list.jag
>>- /appmgt/site/blocks/lifecycle/add/ajax/add.jag
>>- /appmgt/site/blocks/application/users/get/ajax/list.jag
>>- /appmgt/site/blocks/rssmanager/add/ajax/add.jag
>>- /appmgt/site/blocks/resources/datasource/get/ajax/list.jag
>>- /appmgt/site/blocks/buildandrepo/list/ajax/list.jag
>>
>>
>> *List of Actions*
>>
>>- getApplicationsOfUser
>>- getAppVersionsInStage
>>- buildinfobyappid
>>- getBuildLogsUrl
>>- getbuildandrepodata
>>- getbuildandrepodataforkedrepo
>>- createArtifact
>>- getUsersOfApplication
>>- getDbUserTemplateInfoForStages
>>- getDataSourceInfoUrl
>>
>> Thanks and Regards
>> /Jasintha
>>
>> On Wed, Apr 29, 2015 at 9:34 AM, Manisha Gayathri 
>> wrote:
>>
>>>
>>>
>>> On Wed, Apr 29, 2015 at 5:24 AM, Dimuthu Leelarathne 
>>> wrote:
>>>
 Hi all,

 Could we have a list of methods used by the dev studio?

 Please note the following methods are proposed to be removed from the
 code.

>>>
>>>
>>> When I checked the code, found that only below actions are being used in
>>> DevS according to
>>> org.wso2.developerstudio.appfactory.core.jag.api.JagApiProperties class
>>>
>>> public static  final String USER_APP_LIST__ACTION =
>>> "getApplicationsOfUser";
>>> public static final String App_NIFO_ACTION = "getAppVersionsInStage";
>>> public static final String App_BUILD_NUMBER_ACTION = "buildinfobyappid";
>>> public static final String App_BUILD_URL_ACTIONL = "getBuildLogsUrl";
>>> public static final String App_BUILD_INFO_ACTION ="getbuildandrepodata";
>>> public static final String FORKED_REPO_INFO_ACTION =
>>> "getbuildandrepodataforkedrepo";
>>> public static final String App_BUILD_ACTION ="createArtifact";
>>> public static final String App_USERS_ROLES_ACTION
>>> ="getUsersOfApplication";
>>> public static final String App_DB_INFO_ACTION =
>>> "getDbUserTemplateInfoForStages";
>>> public static final String App_DS_INFO_ACTION = "getDatasources";
>>>
>>> Only 2 out of the following list in used in DevS.
>>>

 checkSystemStatus

 newKey

 getUniqueAppVersions

 initAppVersion

 containsApplication

 getAppCountInStage

 getApplicationsOfUser - this is used in devS

 getAllAppVersionsInStage

 getAppVersionsInStage - this is used in devS

 getAllAppVersionsInStages

 getAppVersionsInStagesWithMetaData

 getMetaDataForAppVersion

 getRetiredVersions

 getLatestBuildSuccessInfo

 getBuildableStages


 thanks,

 dimuthu



 --
 Dimuthu Leelarathne
 Architect & Product Lead of App Factory

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

 Lean . Enterprise . Middleware

>>>
>>>
>>>
>>> --
>>> ~Regards
>>> *Manisha Eleperuma*
>>> Senior Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> *blog:  http://manisha-eleperuma.blogspot.com/
>>> *
>>> *mobile:  +94 71 8279777 <%2B94%2071%208279777>*
>>>
>>>
>>
>>
>> --
>>
>> *Jasintha Dasanayake*
>>
>> *Senior Software EngineerWSO2 Inc. | http://wso2.com
>> lean . enterprise . middleware*
>>
>>
>> *mobile :- 0711368118*
>>
>> ___
>> 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


Re: [Dev] Build Failure - JiBX Data Binding Sample

2015-04-28 Thread Sewmini Jayaweera
Hi Nadeesha,

Will you please check whether documentation or READ ME file hasn't
mentioned which Java version to be used. If not please open a doc Jira

Thanks & Regards,
Sewmini



Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Apr 29, 2015 at 9:50 AM, Chathura Priyankara 
wrote:

> Hi Nadeesha,
>
> I think similar exception is discussed in [1].
> According to that you need to set the JVM option "-XX:-UseSplitVerifier"
> before executing the binding compiler.
>
> [1]
> https://wso2.org/jira/si/jira.issueviews:issue-html/CARBON-12931/CARBON-12931.html
>
> Thanks!
> Best Regards,
> Chathura.
>
> On Wed, Apr 29, 2015 at 8:42 AM, Nadeesha Meegoda 
> wrote:
>
>> Hi,
>>
>> I am running these AS samples, currently running the JiBX and the build
>> fails. Has anyone come across this before?
>>
>>  [bind] Error running binding compiler
>>  [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
>> target 12
>>  [bind] Exception Details:
>>  [bind]   Location:
>>  [bind]
>> org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
>> @1: ifnonnull
>>  [bind]   Reason:
>>  [bind]Expected stackmap frame at this location.
>>  [bind] Bytecode:
>>  [bind] 000: 2ac7 000b bb00 0a59 b700 744b 2ab0
>>  [bind]
>>  [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
>>  [bind] at
>> java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
>>  [bind] at java.lang.Class.getDeclaredMethods(Class.java:1860)
>>  [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
>>  [bind] at
>> org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
>>  [bind] at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>>  [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
>> Source)
>>  [bind] at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>  [bind] at java.lang.reflect.Method.invoke(Method.java:606)
>>  [bind] at
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>  [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
>>  [bind] at org.apache.tools.ant.Target.execute(Target.java:435)
>>  [bind] at
>> org.apache.tools.ant.Target.performTasks(Target.java:456)
>>  [bind] at
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
>>  [bind] at
>> org.apache.tools.ant.Project.executeTarget(Project.java:1364)
>>  [bind] at
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>  [bind] at
>> org.apache.tools.ant.Project.executeTargets(Project.java:1248)
>>  [bind] at org.apache.tools.ant.Main.runBuild(Main.java:851)
>>  [bind] at org.apache.tools.ant.Main.startAnt(Main.java:235)
>>  [bind] at
>> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>>  [bind] at
>> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
>>  [bind]
>>
>> BUILD FAILED
>> /home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
>> JiBXException in JiBX binding compilation
>>
>>
>> Any Input regarding this is highly appreciated.
>>
>> Thanks
>> --
>> *Nadeesha Meegoda*
>> Software Engineer - QA
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> email : nadees...@wso2.com
>> mobile: +94783639540
>> <%2B94%2077%202273555>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chathura Priyankara
> Software Engineer | WSO2 Inc.
> Mobile : +94718795340
> Blog : www.codeoncloud.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] [IS] Account Locking Data Flow Clarifications:

2015-04-28 Thread Tharindu Edirisinghe
Hi Damith,

You can refer [1]  for enabling the Account Lock feature in Identity
Server. You have to add the following claims in the wso2.org claim dialect.
(accountLocked claim is already there by default. You need to add the other
two)



   - http://wso2.org/claims/identity/accountLocked

  mapped attribute - initials


   - http://wso2.org/claims/identity/unlockTime

 mapped attribute - unlockTime


   - http://wso2.org/claims/identity/failedLoginAttempts

 mapped attribute - failedLoginAttempts

The values for above are actually persisted. If the user is in LDAP and
when the feature is activated you'll see corresponding values in
'initials', 'unlockTime' and 'failedLoginAttempts' attributes if you browse
the LDAP using ApacheDS.

If you are using a JDBC (database) userstore, you can see those values in
the UM_USER_ATTRIBUTE table.

Note that for accountLocked claim, we give the attribute name as initials
because in WSO2 LDAP schema, there is no attribute defined with the name
accountLocked. Therefore we use an existing attribute such as initials
which will contain true/false to show that the user account is locked or
not.

If you need more help, let me know.

[1] https://docs.wso2.com/pages/viewpage.action?pageId=34612027

Regards,
TharinduE

On Wed, Apr 29, 2015 at 10:54 AM, Damith Senanayake 
wrote:

> Hi,
>
> I have been trying to fix a bug [
> https://wso2.org/jira/browse/IDENTITY-3235
> 
> ] and I have noticed that when we try to login from the Primary domain, the
> UserStoreManager( a ReadWriteLDAPUserStoreManager ) contains the
> 'userCache' member which has stored the logged in users from the primary
> domain. However, if we have a secondary user store (A jdbc store, say) the
> same cannot be found.
>
> I am having trouble understanding how the locked users are stored in this
> information flow. For instance, if a user from the primary domain gets
> locked with max number of failed attempts, that information is stored in
> the userClaimsDo instance pertaining to that user, in the
> userIdentityDataMap. And then this user is put into a cache. What I need to
> know is, is it intended to be non-persistent (the locked details go away
> when we restart the server) or is there a persistent storage mechanism
> involved.
>
> Secondly, I am trying to figure out where the userStore domain information
> is stored in  one these user instances at the back end. Any idea where to
> start looking for that?
>
>
> Thanks.
> --
> *-Damith Senanayake-*
> +94712205272
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Identity Server Team
mobile : +94 775 181586
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Saneth Dharmakeerthi
HI Madusanka/Swmini,

Thanks for your response,

But actually what I want to know is , whether there is any condition
regarding the format of the password like what characters it can have or
what characters it can't?


Thanks and Best Regards,

Saneth Dharmakeerthi
Senior Software Engineer
WSO2, Inc.
Mobile: +94772325511

On Wed, Apr 29, 2015 at 10:49 AM, Sewmini Jayaweera 
wrote:

> Hi Saneth,
>
> As per my knowledge this is used once we have a backend which is secured.
>
> For an example;
> say you have hello service hosted in WSO2 application server which is
> secured using UsernameToken and your API is pointing to that service. In an
> intense like that you need to give user credentials which you used to
> secure back end (It will be a user's credentials registered in AS).
>
> When a client is accessing this service through the API, he should be
> invoke the API as usual. (Since we have given user credentials of the
> secured backend when creating the API )
>
> Cheers!
> Sewmini
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
> On Wed, Apr 29, 2015 at 9:03 AM, Saneth Dharmakeerthi 
> wrote:
>
>> Hi APIM team,
>>
>> When we configure a API endpoint as a secure endpoint,Is there any
>> conditions regarding the password?
>>
>>
>> Thanks and Best Regards,
>>
>> Saneth Dharmakeerthi
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile: +94772325511
>>
>> ___
>> 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] Password conditions of secure endpoints in API Manager

2015-04-28 Thread Madusanka Premaratne
Hi Saneth
There are no such restrictions/conditions.
As I said before the given username and password use only to generate basic
HTTP Authorization header.

Thanks,
Madusanka

On Wed, Apr 29, 2015 at 11:14 AM, Saneth Dharmakeerthi 
wrote:

> HI Madusanka/Swmini,
>
> Thanks for your response,
>
> But actually what I want to know is , whether there is any condition
> regarding the format of the password like what characters it can have or
> what characters it can't?
>
>
> Thanks and Best Regards,
>
> Saneth Dharmakeerthi
> Senior Software Engineer
> WSO2, Inc.
> Mobile: +94772325511
>
> On Wed, Apr 29, 2015 at 10:49 AM, Sewmini Jayaweera 
> wrote:
>
>> Hi Saneth,
>>
>> As per my knowledge this is used once we have a backend which is secured.
>>
>> For an example;
>> say you have hello service hosted in WSO2 application server which is
>> secured using UsernameToken and your API is pointing to that service. In an
>> intense like that you need to give user credentials which you used to
>> secure back end (It will be a user's credentials registered in AS).
>>
>> When a client is accessing this service through the API, he should be
>> invoke the API as usual. (Since we have given user credentials of the
>> secured backend when creating the API )
>>
>> Cheers!
>> Sewmini
>>
>> Sewmini Jayaweera
>> *Software Engineer - QA Team*
>> Mobile: +94 (0) 773 381 250
>> sewm...@wso2.com
>>
>> On Wed, Apr 29, 2015 at 9:03 AM, Saneth Dharmakeerthi 
>> wrote:
>>
>>> Hi APIM team,
>>>
>>> When we configure a API endpoint as a secure endpoint,Is there any
>>> conditions regarding the password?
>>>
>>>
>>> Thanks and Best Regards,
>>>
>>> Saneth Dharmakeerthi
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> Mobile: +94772325511
>>>
>>> ___
>>> 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
>
>


-- 
*Madusanka Premaratne* | Associate Software Engineer
WSO2, Inc | lean. enterprise. middleware.
#20, Palm Grove, Colombo 03, Sri Lanka
Mobile: +94 71 835 70 73| Work: +94 112 145 345
Email: madusan...@wso2.com | Web: www.wso2.com

[image: Facebook]  [image: Twitter]
 [image: Google Plus]
 [image:
Linkedin]  [image: Instagram]
 [image: Skype]

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


Re: [Dev] [AppM] Sample Documentation for Outbound Provisioning with Salesfroce

2015-04-28 Thread Ushani Balasooriya
Hi Sajith,

I have included few suggestions in the document.

Thanks!

On Wed, Apr 29, 2015 at 10:37 AM, Sajith Ariyarathna 
wrote:

> Hi,
> I have created this doc [1] for $subject. Please review and comment.
>
> [1] 
> *https://docs.google.com/a/wso2.com/document/d/15t0ihN1ETpUcrJDm5DuYzjJuDLGGpGm3iIde0hOFRFo/edit?usp=sharing
> *
>
>
> Thanks & Regards.
> ​​
>
> --
> Sajith Ariyarathna
> Software Engineer; WSO2, Inc.;  http://wso2.com/
> mobile: +94 77 6602284, +94 71 3951048
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Ushani Balasooriya*
Senior Software Engineer - QA;
WSO2 Inc; http://www.wso2.com/.
Mobile; +94772636796
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Failure - JiBX Data Binding Sample

2015-04-28 Thread Nadeesha Meegoda
Thanks for the responses. I found it in the READ ME and followed the steps
from the above response from Chathura.


Regards,

On Wed, Apr 29, 2015 at 11:07 AM, Sewmini Jayaweera 
wrote:

> Hi Nadeesha,
>
> Will you please check whether documentation or READ ME file hasn't
> mentioned which Java version to be used. If not please open a doc Jira
>
> Thanks & Regards,
> Sewmini
>
>
>
> Sewmini Jayaweera
> *Software Engineer - QA Team*
> Mobile: +94 (0) 773 381 250
> sewm...@wso2.com
>
> On Wed, Apr 29, 2015 at 9:50 AM, Chathura Priyankara 
> wrote:
>
>> Hi Nadeesha,
>>
>> I think similar exception is discussed in [1].
>> According to that you need to set the JVM option "-XX:-UseSplitVerifier"
>> before executing the binding compiler.
>>
>> [1]
>> https://wso2.org/jira/si/jira.issueviews:issue-html/CARBON-12931/CARBON-12931.html
>>
>> Thanks!
>> Best Regards,
>> Chathura.
>>
>> On Wed, Apr 29, 2015 at 8:42 AM, Nadeesha Meegoda 
>> wrote:
>>
>>> Hi,
>>>
>>> I am running these AS samples, currently running the JiBX and the build
>>> fails. Has anyone come across this before?
>>>
>>>  [bind] Error running binding compiler
>>>  [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
>>> target 12
>>>  [bind] Exception Details:
>>>  [bind]   Location:
>>>  [bind]
>>> org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
>>> @1: ifnonnull
>>>  [bind]   Reason:
>>>  [bind]Expected stackmap frame at this location.
>>>  [bind] Bytecode:
>>>  [bind] 000: 2ac7 000b bb00 0a59 b700 744b 2ab0
>>>  [bind]
>>>  [bind] at java.lang.Class.getDeclaredMethods0(Native Method)
>>>  [bind] at
>>> java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
>>>  [bind] at java.lang.Class.getDeclaredMethods(Class.java:1860)
>>>  [bind] at org.jibx.binding.Compile.compile(Compile.java:278)
>>>  [bind] at
>>> org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
>>>  [bind] at
>>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>>>  [bind] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown
>>> Source)
>>>  [bind] at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>>  [bind] at java.lang.reflect.Method.invoke(Method.java:606)
>>>  [bind] at
>>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>>>  [bind] at org.apache.tools.ant.Task.perform(Task.java:348)
>>>  [bind] at org.apache.tools.ant.Target.execute(Target.java:435)
>>>  [bind] at
>>> org.apache.tools.ant.Target.performTasks(Target.java:456)
>>>  [bind] at
>>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
>>>  [bind] at
>>> org.apache.tools.ant.Project.executeTarget(Project.java:1364)
>>>  [bind] at
>>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>>>  [bind] at
>>> org.apache.tools.ant.Project.executeTargets(Project.java:1248)
>>>  [bind] at org.apache.tools.ant.Main.runBuild(Main.java:851)
>>>  [bind] at org.apache.tools.ant.Main.startAnt(Main.java:235)
>>>  [bind] at
>>> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>>>  [bind] at
>>> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
>>>  [bind]
>>>
>>> BUILD FAILED
>>> /home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
>>> JiBXException in JiBX binding compilation
>>>
>>>
>>> Any Input regarding this is highly appreciated.
>>>
>>> Thanks
>>> --
>>> *Nadeesha Meegoda*
>>> Software Engineer - QA
>>> WSO2 Inc.; http://wso2.com
>>> lean.enterprise.middleware
>>> email : nadees...@wso2.com
>>> mobile: +94783639540
>>> <%2B94%2077%202273555>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Chathura Priyankara
>> Software Engineer | WSO2 Inc.
>> Mobile : +94718795340
>> Blog : www.codeoncloud.blogspot.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Nadeesha Meegoda*
Software Engineer - QA
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware
email : nadees...@wso2.com
mobile: +94783639540
<%2B94%2077%202273555>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Account Locking Data Flow Clarifications:

2015-04-28 Thread Tharindu Edirisinghe
Hi Damith,

You can find corresponding source in [1]. You can see that the claimDO is
stored with respective to the userStoreManager.

public void store(UserIdentityClaimsDO userIdentityDTO,
UserStoreManager userStoreManager) throws IdentityException {

UserIdentityClaimsDO newIdentityClaimDO = new
UserIdentityClaimsDO(userIdentityDTO.getUserName(),
userIdentityDTO.getUserDataMap());
super.store(newIdentityClaimDO, userStoreManager);

If you are using the IS 5.1.0 source, find the corresponding one in github.

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.mgt/4.2.3/src/main/java/org/wso2/carbon/identity/mgt/store/UserStoreBasedIdentityDataStore.java

On Wed, Apr 29, 2015 at 11:12 AM, Tharindu Edirisinghe 
wrote:

> Hi Damith,
>
> You can refer [1]  for enabling the Account Lock feature in Identity
> Server. You have to add the following claims in the wso2.org claim
> dialect. (accountLocked claim is already there by default. You need to add
> the other two)
>
>
>
>- http://wso2.org/claims/identity/accountLocked
>
>   mapped attribute - initials
>
>
>- http://wso2.org/claims/identity/unlockTime
>
>  mapped attribute - unlockTime
>
>
>- http://wso2.org/claims/identity/failedLoginAttempts
>
>  mapped attribute - failedLoginAttempts
>
> The values for above are actually persisted. If the user is in LDAP and
> when the feature is activated you'll see corresponding values in
> 'initials', 'unlockTime' and 'failedLoginAttempts' attributes if you browse
> the LDAP using ApacheDS.
>
> If you are using a JDBC (database) userstore, you can see those values in
> the UM_USER_ATTRIBUTE table.
>
> Note that for accountLocked claim, we give the attribute name as initials
> because in WSO2 LDAP schema, there is no attribute defined with the name
> accountLocked. Therefore we use an existing attribute such as initials
> which will contain true/false to show that the user account is locked or
> not.
>
> If you need more help, let me know.
>
> [1] https://docs.wso2.com/pages/viewpage.action?pageId=34612027
>
> Regards,
> TharinduE
>
> On Wed, Apr 29, 2015 at 10:54 AM, Damith Senanayake 
> wrote:
>
>> Hi,
>>
>> I have been trying to fix a bug [
>> https://wso2.org/jira/browse/IDENTITY-3235
>> 
>> ] and I have noticed that when we try to login from the Primary domain, the
>> UserStoreManager( a ReadWriteLDAPUserStoreManager ) contains the
>> 'userCache' member which has stored the logged in users from the primary
>> domain. However, if we have a secondary user store (A jdbc store, say) the
>> same cannot be found.
>>
>> I am having trouble understanding how the locked users are stored in this
>> information flow. For instance, if a user from the primary domain gets
>> locked with max number of failed attempts, that information is stored in
>> the userClaimsDo instance pertaining to that user, in the
>> userIdentityDataMap. And then this user is put into a cache. What I need to
>> know is, is it intended to be non-persistent (the locked details go away
>> when we restart the server) or is there a persistent storage mechanism
>> involved.
>>
>> Secondly, I am trying to figure out where the userStore domain
>> information is stored in  one these user instances at the back end. Any
>> idea where to start looking for that?
>>
>>
>> Thanks.
>> --
>> *-Damith Senanayake-*
>> +94712205272
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Tharindu Edirisinghe
> Software Engineer | WSO2 Inc
> Identity Server Team
> mobile : +94 775 181586
>



-- 

Tharindu Edirisinghe
Software Engineer | WSO2 Inc
Identity Server Team
mobile : +94 775 181586
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WSO2 Committers += Mahesh Chinthaka

2015-04-28 Thread Vijitha Ekanayake
Congratulations Mahesh ...!!!

On Wed, Apr 29, 2015 at 9:21 AM, Madhawa Gunasekara 
wrote:

> Congratulations Mahesh
>
> On Wed, Apr 29, 2015 at 8:57 AM, Madhuranga Bandara 
> wrote:
>
>> Congratulations Mahesh... !!!
>>
>> *Madhuranga Sampath Bandara*
>> Software Engineer
>>
>> WSO2, Inc.;http://wso2.com/
>> 
>> lean.enterprise.middleware
>> Mobile: +94722241065
>>
>> On Tue, Apr 28, 2015 at 9:27 AM, Dimuthu Leelarathne 
>> 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
>>>
>>>
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Madhawa Gunasekara*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 719411002 <+94+719411002>
> blog: *http://madhawa-gunasekara.blogspot.com
> *
> linkedin: *http://lk.linkedin.com/in/mgunasekara
> *
>
> ___
> 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


Re: [Dev] WSO2 Committers += Vinuri Perera

2015-04-28 Thread Vijitha Ekanayake
Congratulations Vinuri !!!

On Wed, Apr 29, 2015 at 8:40 AM, Samith Dassanayake  wrote:

> Congratz Vinuri
>
> On Tue, Apr 28, 2015 at 4:23 PM, Malithi Edirisinghe 
> wrote:
>
>> Congratz ... :)
>>
>> On Tue, Apr 28, 2015 at 11:33 AM, Kasun Gunasekara 
>> wrote:
>>
>>> Congratz Vinuri :)
>>>
>>>
>>> Kasun Gunasekara
>>> Software Engineering Intern - WSO2
>>> Mobile : +94 77 6986482
>>> Twitter  | Google+
>>>  | LinkedIn
>>> 
>>>
>>> On Mon, Apr 27, 2015 at 2:19 PM, Amila Maha Arachchi 
>>> wrote:
>>>
 Hi all,

 Its my pleasure to welcome Vinuri Perera as a WSO2 Committer. Vinuri is
 a member of WSO2 Cloud team and she has done a great contribution to WSO2
 Cloud and has shown great enthusiasm in her work both in development and
 other cloud related work. In recognition of her contribution, she has been
 voted as a WSO2 Committer.

 Vinuri, welcome aboard and keep up the good work..

 Regards,
 Amila.

 --
 *Amila Maharachchi*
 Senior Technical Lead
 WSO2, Inc.; http://wso2.com

 Blog: http://maharachchi.blogspot.com
 Mobile: +94719371446


 ___
 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
>>>
>>>
>>
>>
>> --
>>
>> *Malithi Edirisinghe*
>> Senior Software Engineer
>> WSO2 Inc.
>>
>> Mobile : +94 (0) 718176807
>> malit...@wso2.com
>>
>> ___
>> 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
> 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] [ESB+MB] JMSSender Did not receive a JMS response

2015-04-28 Thread Suhan Dharmasuriya
Hi,

I'm using MB 2.2.0 with ESB 4.8.1 for a specific use case.

I'm using a proxy for the scenario [1].
After processing payload from several class mediators (included in registry
as sequences)
I'm sending the messages to a MB Queue.

Message is sent and can be seen in Queue as expected but I'm getting this
error printed in ESB console [2].
Please note that this error does not break the mediation flow.

Is this caused by any missing configuration in proxy service?

[1]

  
  
 


 
 


   
  
   

 
  
  
  true
  policyFromRegistry
  conf:/policy/UTOverTransport.xml
  
   

[2]
[2015-04-23 23:25:18,209] DEBUG - wire << "http://schemas.xmlsoap.org/soap/envelope/"; xmlns:esb="http://esb.wso2.org";
xmlns:soap="soap">[\n]"
[2015-04-23 23:25:18,210] DEBUG - wire << "  [\n]"
[2015-04-23 23:25:18,210] DEBUG - wire << "
[\n]"
[2015-04-23 23:25:18,210] DEBUG - wire << "  [\n]"
[2015-04-23 23:25:18,210] DEBUG - wire << "0[\r][\n]"
[2015-04-23 23:25:18,215] DEBUG - wire << "[\r][\n]"
[2015-04-23 23:25:18,215] DEBUG - wire << " [\n]"
[2015-04-23 23:25:18,215] DEBUG - wire << "
 ABCDEF[\n]"
[2015-04-23 23:25:18,215] DEBUG - wire << "
[\r][\n]"
[2015-04-23 23:25:18,215] DEBUG - wire << "0[\r][\n]"
[2015-04-23 23:25:18,215] DEBUG - wire << "[\r][\n]"
[2015-04-23 23:25:18,250] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
[2015-04-23 23:25:18,250] DEBUG - wire >> "Content-Type: text/xml;
charset=UTF-8[\r][\n]"
[2015-04-23 23:25:18,250] DEBUG - wire >> "Date: Thu, 23 Apr 2015 17:55:18
GMT[\r][\n]"
[2015-04-23 23:25:18,250] DEBUG - wire >> "Transfer-Encoding:
chunked[\r][\n]"
[2015-04-23 23:25:18,250] DEBUG - wire >> "Connection: Keep-Alive[\r][\n]"
[2015-04-23 23:25:18,251] DEBUG - wire >> "[\r][\n]"
[2015-04-23 23:25:18,252] DEBUG - wire >> "113[\r][\n]"
[2015-04-23 23:25:18,253] DEBUG - wire >> "http://schemas.xmlsoap.org/soap/envelope/";>http://esb.wso2.org
">PQRXYZ[\r][\n]"
[2015-04-23 23:25:18,254] DEBUG - wire >> "0[\r][\n]"
[2015-04-23 23:25:18,254] DEBUG - wire >> "[\r][\n]"
soapbody007: http://schemas.xmlsoap.org/soap/envelope/";>http://esb.wso2.org
">PQRXYZ
return: PQRXYZ
[2015-04-23 23:25:18,266]  INFO - LogMediator elementA = PQR, elementB = XYZ
[2015-04-23 23:25:48,579] ERROR - *JMSSender Did not receive a JMS response
within 3 ms to destination* :
direct://amq.direct/TempQueuee24f5f02-9531-4e88-ba18-834f179c9933/TempQueuee24f5f02-9531-4e88-ba18-834f179c9933?routingkey='TempQueuee24f5f02-9531-4e88-ba18-834f179c9933'&exclusive='true'&autodelete='true'
with JMS correlation ID : ID:36ba5b5f-ec5c-3040-b5a7-1ca722f2e379
[2015-04-23 23:25:48,611] ERROR - Axis2Sender Unexpected error during
sending message out
org.apache.axis2.AxisFault: Did not receive a JMS response within 3 ms
to destination :
direct://amq.direct/TempQueuee24f5f02-9531-4e88-ba18-834f179c9933/TempQueuee24f5f02-9531-4e88-ba18-834f179c9933?routingkey='TempQueuee24f5f02-9531-4e88-ba18-834f179c9933'&exclusive='true'&autodelete='true'
with JMS correlation ID : ID:36ba5b5f-ec5c-3040-b5a7-1ca722f2e379
at
org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:231)
at
org.apache.axis2.transport.jms.JMSSender.waitForResponseAndProcess(JMSSender.java:312)
at org.apache.axis2.transport.jms.JMSSender.sendOverJMS(JMSSender.java:250)
at org.apache.axis2.transport.jms.JMSSender.sendMessage(JMSSender.java:157)
at
org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:185)
at
org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:167)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:482)
at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:59)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:309)
at
org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:333)
at
org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:59)
at
org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at
org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at
org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:268)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:

[Dev] Python Cartridge Agent fails with gaierror: [Errno -2] Name or service not known

2015-04-28 Thread Anuruddha Liyanarachchi
Hi,

I am trying to run python cartridge agent in openstack with Stratos.
Agent is not able to connect to MB and fails with following error. I have
attached agent.screen.log and agent.conf here. I can telnet to ip address
and port in the agent.conf.

Any idea why this is happening ?

*2015-04-29 06:12:58,251:INFO:Cartridge agent topology receiver thread
started*
*Exception in thread Thread-8:*
*Traceback (most recent call last):*
*  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner*
*self.run()*
*  File
"/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/subscriber/eventsubscriber.py",
line 46, in run*
*self.__mb_client = mqtt.Client()*
*  File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line
410, in __init__*
*self._sockpairR, self._sockpairW = _socketpair_compat()*
*  File "/usr/local/lib/python2.7/dist-packages/paho/mqtt/client.py", line
255, in _socketpair_compat*
*listensock.bind(("localhost", 0))*
*  File "/usr/lib/python2.7/socket.py", line 224, in meth*
*return getattr(self._sock,name)(*args)*
*gaierror: [Errno -2] Name or service not known*

-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel  : +94 112 145 345
a nurudd...@wso2.com


agent.conf
Description: Binary data


agent.screen.log
Description: Binary data
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Implement a WS-Addressing and MTOM validation framework

2015-04-28 Thread Naasheer Ali
Hi,
   I'm trying to develop MTOM validation framework. These are the meeting
notes with Isuru Ranawaka.

Meeting MInues :
1. Try to understand more on WS-Addressing and MTOM.
2. Run the ESB samples on MTOM.
3. Write use cases and test with ESB manually.

Please find the milestone for the test cases :
​
 Milestone for writing use case on MTOM

​
Regards,
-- 

*Naasheer Ali* | Associate Software Engineer

WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka

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