Re: [Dev] carbon.enable.saas not working in AS 5.2.1?

2015-01-22 Thread Afkham Azeez
Supun was the last person to make changes to that code. Supun, can you look
into this?

On Thu, Jan 22, 2015 at 9:35 PM, Shvechkov, Alexey <
alexey.shvech...@arcserve.com> wrote:

>  Hi All
>
>
>
> Is carbon carbon.enable.saas parameter still supported by AS 5.2.1?
>
>
>
> Spent quite some time trying to make it working with no success ...   I’m
> trying to share web app deployed in super user domain with other tenants.
>
> The app uses forms authentication .
>
>
>
> I tried adding carbon.enable.saas and carbon.saas.tenants   parameters
> into web.xml but tenants other than super user still cannot authenticate …
>
> This is an error that I typically get:
>
>
>
> [2015-01-22 11:59:10,175]  WARN
> {org.wso2.carbon.tomcat.ext.realms.CarbonTomcatRealm} -  Illegal access
> attempt by ad...@tenant2.com to secured resource hosted by tenant
> carbon.super
>
>
>
> From inside my app I can print out context parameters and I see that both
> carbon.enable.saas and carbon.saas.tenants are set ….
>
>
>
> Any thoughts on what else should we look at?
>
>
>
> Here is my web.xml  :
> http://stackoverflow.com/questions/27959210/cannot-enable-saas-mode-for-app-in-wso2as-5-2-1
>
>
>
>
>
> Here is a how I run the server (yep, Windows 8.1 + JDK 1.7) :
>
>
>
> C:\\wso2as-5.2.1\bin>wso2server.bat
>
> JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.7.0_71
>
> CARBON_HOME environment variable is set to
> C:\DEVELO~1\arcserve\WSO2AS~1.1\WSO2AS~1.1\bin\..
>
> [2015-01-22 11:56:15,123]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
> Carbon...
>
> [2015-01-22 11:56:15,126]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
> Windows 8.1 6.3, amd64
>
> [2015-01-22 11:56:15,126]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home:
> C:\Program Files\Java\jdk1.7.0_71\jre
>
> [2015-01-22 11:56:15,126]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version :
> 1.7.0_71
>
> [2015-01-22 11:56:15,126]  INFO
> {org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM  :
> Java HotSpot(TM) 64-Bit Server VM 24.71-b01,Oracle Corporation
>
>
>
>
>
> Thank you in advance,
>
> Alexey
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919blog: **http://blog.afkham.org*

*twitter: **http://twitter.com/afkham_azeez*

*linked-in: **http://lk.linkedin.com/in/afkhamazeez
*

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


[Dev] Please merge the AS Integration test commit#37

2015-01-22 Thread Nuwan Wimalasekara
Hi AS Team,

Please merge the pull request https://github.com/wso2/product-as/pull/37
into wso2 repo.

Thanks,
Nuwanw

-- 
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] SS 1.5.0 pack for QA

2015-01-22 Thread Bhathiya Jayasekara
Hi all,

New pack is here.

https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/23_01_2014/wso2ss-1.5.0-SNAPSHOT.zip

Thanks,
Bhathiya

On Wed, Jan 21, 2015 at 3:26 PM, Bhathiya Jayasekara 
wrote:

> Hi all,
>
> Here is the latest pack.
>
>
> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/21_01_2014/wso2ss-1.5.0-SNAPSHOT.zip
>
> Thanks,
> Bhathiya
>
> On Mon, Jan 19, 2015 at 11:17 AM, Bhathiya Jayasekara 
> wrote:
>
>> Hi all,
>>
>> Here is today's pack for QA.
>>
>>
>> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/19_01_2014/wso2ss-1.5.0-SNAPSHOT.zip
>>
>> Thanks,
>> Bhathiya
>>
>> On Fri, Jan 16, 2015 at 6:03 PM, Prabath Abeysekera 
>> wrote:
>>
>>> Hi Asanka, Nuwan,
>>>
>>> Please report L1s for any usability/UI/doc issues.
>>>
>>> Cheers,
>>> Prabath
>>>
>>> On Fri, Jan 16, 2015 at 4:32 PM, Bhathiya Jayasekara 
>>> wrote:
>>>
 HI all,

 Here is the new pack.


 https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/16_01_2014/wso2ss-1.5.0-SNAPSHOT.zip

 Thanks,
 Bhathiya

 On Tue, Jan 13, 2015 at 4:51 PM, Bhathiya Jayasekara >>> > wrote:

> Hi all,
>
> Here is the latest pack.
>
>
> https://svn.wso2.org/repos/wso2/scratch/ss-dev/ss-150/wso2ss-1.5.0-SNAPSHOT.zip
>
> @Prabath: I built this from wso2-dev, as wso2-dev and wso2 repos are
> not synced yet. Can you please sync them?
>
> Thanks,
> --
> *Bhathiya Jayasekara*
> *Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax
> *
> *Blog: http://movingaheadblog.blogspot.com
> *
>



 --
 *Bhathiya Jayasekara*
 *Software Engineer,*
 *WSO2 inc., http://wso2.com *

 *Phone: +94715478185 <%2B94715478185>*
 *LinkedIn: http://www.linkedin.com/in/bhathiyaj
 *
 *Twitter: https://twitter.com/bhathiyax *
 *Blog: http://movingaheadblog.blogspot.com
 *

>>>
>>>
>>>
>>> --
>>> Prabath Abeysekara
>>> Associate Technical Lead, Data TG.
>>> WSO2 Inc.
>>> Email: praba...@wso2.com
>>> Mobile: +94774171471
>>>
>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>>
>>
>> --
>> *Bhathiya Jayasekara*
>> *Software Engineer,*
>> *WSO2 inc., http://wso2.com *
>>
>> *Phone: +94715478185 <%2B94715478185>*
>> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
>> *
>> *Twitter: https://twitter.com/bhathiyax *
>> *Blog: http://movingaheadblog.blogspot.com
>> *
>>
>
>
>
> --
> *Bhathiya Jayasekara*
> *Software Engineer,*
> *WSO2 inc., http://wso2.com *
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> *
> *Twitter: https://twitter.com/bhathiyax *
> *Blog: http://movingaheadblog.blogspot.com
> *
>



-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to send out an email notification from WSO2 product?

2015-01-22 Thread Lasitha Wattaladeniya
Hi Hasintha,

Noted. Thanks

On Fri, Jan 23, 2015 at 12:21 PM, Hasintha Indrajee 
wrote:

> Hi Lasitha,
>
> Now the feature is available in carbon-identity org repo. This feature is
> packed with IS 5.1.0. You can build IS from wso2-dev product-is repo and
> get the product with this feature.
>
> On Fri, Jan 23, 2015 at 12:18 PM, Lasitha Wattaladeniya  > wrote:
>
>> Hi hasintha,
>>
>> I'm also in need of a notification/email feature. if the component is
>> ready please provide the location/details to use it
>>
>>
>> Thanks.
>>
>> On Thu, Jan 22, 2015 at 3:24 PM, Johann Nallathamby 
>> wrote:
>>
>>> Hi Supun,
>>>
>>> +1 for looking into the Notification Management feature and evaluating
>>> if it supports your requirements. If it does not as it is, you may be able
>>> to discuss your requirement and improve on it.
>>>
>>> On Thu, Jan 22, 2015 at 11:29 AM, Hasintha Indrajee 
>>> wrote:
>>>
 Hi Supun,

 We have Notification Management feature which we have newly
 implemented. It is light weight, simple and does not coupled to products.
 You may use it as per your requirements. Still we have not added this
 component to our repo and sooner we will be adding this (within few days).

 On Wed, Jan 21, 2015 at 6:16 PM, Supun Sethunga 
 wrote:

> Hi,
>
> As per the offline discussion with Lasantha, In case of using CEP's
> email-adaptor, to send an email, we have to configure sevent-treams,
> event-formatters, create an event, and fire it. These seems to be some
> additional configurations as ML doesn't work with events. I checked the
> code for email-adapters in both ESB and IS as well, and both are tightly
> coupled with their respective products, thus cannot be used in ML.
>
> I tried writing a generic email adapter component for ML (which is
> reusable in any other product), and it is much more simpler and cleaner as
> well. Is there any concerns regarding this, or can we go ahead with this
> fresh email-adapter for ML?
>
> Thanks,
> Supun
>
> On Mon, Jan 5, 2015 at 12:46 PM, Mohanadarshan Vivekanandalingam <
> mo...@wso2.com> wrote:
>
>> Hi Supun,
>>
>> CEP contains an email output adaptor component which you can use for
>> this purpose..
>>
>> @Lasantha, Is there anything you have written specifically for ML
>> team ?
>>
>> On Mon, Jan 5, 2015 at 12:21 PM, Supun Sethunga 
>> wrote:
>>
>>> Hi,
>>>
>>> In the Product ML, we have a requirement of sending an email
>>> notification upon the completion of ML model creation process. Whats the
>>> preferred way of implementing this? Is there any component which has a
>>> similar functionality that is already in-use any of the products, that 
>>> we
>>> can reuse?
>>>
>>> Regards,
>>> Supun
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *V. Mohanadarshan*
>> *Software Engineer,*
>> *Data Technologies Team,*
>> *WSO2, Inc. http://wso2.com  *
>> *lean.enterprise.middleware.*
>>
>> email: mo...@wso2.com
>> phone:(+94) 771117673
>>
>
>
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> lean | enterprise | middleware
> Mobile : +94 716546324
>
> ___
> 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


>>>
>>>
>>> --
>>> Thanks & Regards,
>>>
>>> *Johann Dilantha Nallathamby*
>>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>>> Integration Technologies Team
>>> WSO2, Inc.
>>> lean.enterprise.middleware
>>>
>>> Mobile - *+9476950*
>>> Blog - *http://nallaa.wordpress.com *
>>>
>>> ___
>>> 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
>>
>
>


-- 
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] Disable chunking of data - AS

2015-01-22 Thread Asok Perera
Hi,

I have a JAX WS web service hosted in WSO2 AS which sends a large amount of
data within the response, hence the content get chunked.
But the client side expects a response without being chunked.

Is there a way to do this, maybe changing AS configuration ?

BR

*Asok Aravinda Perera*
Software Engineer
WSO2, Inc.;http://wso2.com/

lean.enterprise.middleware

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


Re: [Dev] How to send out an email notification from WSO2 product?

2015-01-22 Thread Hasintha Indrajee
Hi Lasitha,

Now the feature is available in carbon-identity org repo. This feature is
packed with IS 5.1.0. You can build IS from wso2-dev product-is repo and
get the product with this feature.

On Fri, Jan 23, 2015 at 12:18 PM, Lasitha Wattaladeniya 
wrote:

> Hi hasintha,
>
> I'm also in need of a notification/email feature. if the component is
> ready please provide the location/details to use it
>
>
> Thanks.
>
> On Thu, Jan 22, 2015 at 3:24 PM, Johann Nallathamby 
> wrote:
>
>> Hi Supun,
>>
>> +1 for looking into the Notification Management feature and evaluating if
>> it supports your requirements. If it does not as it is, you may be able to
>> discuss your requirement and improve on it.
>>
>> On Thu, Jan 22, 2015 at 11:29 AM, Hasintha Indrajee 
>> wrote:
>>
>>> Hi Supun,
>>>
>>> We have Notification Management feature which we have newly implemented.
>>> It is light weight, simple and does not coupled to products. You may use it
>>> as per your requirements. Still we have not added this component to our
>>> repo and sooner we will be adding this (within few days).
>>>
>>> On Wed, Jan 21, 2015 at 6:16 PM, Supun Sethunga  wrote:
>>>
 Hi,

 As per the offline discussion with Lasantha, In case of using CEP's
 email-adaptor, to send an email, we have to configure sevent-treams,
 event-formatters, create an event, and fire it. These seems to be some
 additional configurations as ML doesn't work with events. I checked the
 code for email-adapters in both ESB and IS as well, and both are tightly
 coupled with their respective products, thus cannot be used in ML.

 I tried writing a generic email adapter component for ML (which is
 reusable in any other product), and it is much more simpler and cleaner as
 well. Is there any concerns regarding this, or can we go ahead with this
 fresh email-adapter for ML?

 Thanks,
 Supun

 On Mon, Jan 5, 2015 at 12:46 PM, Mohanadarshan Vivekanandalingam <
 mo...@wso2.com> wrote:

> Hi Supun,
>
> CEP contains an email output adaptor component which you can use for
> this purpose..
>
> @Lasantha, Is there anything you have written specifically for ML team
> ?
>
> On Mon, Jan 5, 2015 at 12:21 PM, Supun Sethunga 
> wrote:
>
>> Hi,
>>
>> In the Product ML, we have a requirement of sending an email
>> notification upon the completion of ML model creation process. Whats the
>> preferred way of implementing this? Is there any component which has a
>> similar functionality that is already in-use any of the products, that we
>> can reuse?
>>
>> Regards,
>> Supun
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *V. Mohanadarshan*
> *Software Engineer,*
> *Data Technologies Team,*
> *WSO2, Inc. http://wso2.com  *
> *lean.enterprise.middleware.*
>
> email: mo...@wso2.com
> phone:(+94) 771117673
>



 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

 ___
 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
>>>
>>>
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Johann Dilantha Nallathamby*
>> Associate Technical Lead & Product Lead of WSO2 Identity Server
>> Integration Technologies Team
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - *+9476950*
>> Blog - *http://nallaa.wordpress.com *
>>
>> ___
>> 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] How to send out an email notification from WSO2 product?

2015-01-22 Thread Lasitha Wattaladeniya
Hi hasintha,

I'm also in need of a notification/email feature. if the component is ready
please provide the location/details to use it


Thanks.

On Thu, Jan 22, 2015 at 3:24 PM, Johann Nallathamby  wrote:

> Hi Supun,
>
> +1 for looking into the Notification Management feature and evaluating if
> it supports your requirements. If it does not as it is, you may be able to
> discuss your requirement and improve on it.
>
> On Thu, Jan 22, 2015 at 11:29 AM, Hasintha Indrajee 
> wrote:
>
>> Hi Supun,
>>
>> We have Notification Management feature which we have newly implemented.
>> It is light weight, simple and does not coupled to products. You may use it
>> as per your requirements. Still we have not added this component to our
>> repo and sooner we will be adding this (within few days).
>>
>> On Wed, Jan 21, 2015 at 6:16 PM, Supun Sethunga  wrote:
>>
>>> Hi,
>>>
>>> As per the offline discussion with Lasantha, In case of using CEP's
>>> email-adaptor, to send an email, we have to configure sevent-treams,
>>> event-formatters, create an event, and fire it. These seems to be some
>>> additional configurations as ML doesn't work with events. I checked the
>>> code for email-adapters in both ESB and IS as well, and both are tightly
>>> coupled with their respective products, thus cannot be used in ML.
>>>
>>> I tried writing a generic email adapter component for ML (which is
>>> reusable in any other product), and it is much more simpler and cleaner as
>>> well. Is there any concerns regarding this, or can we go ahead with this
>>> fresh email-adapter for ML?
>>>
>>> Thanks,
>>> Supun
>>>
>>> On Mon, Jan 5, 2015 at 12:46 PM, Mohanadarshan Vivekanandalingam <
>>> mo...@wso2.com> wrote:
>>>
 Hi Supun,

 CEP contains an email output adaptor component which you can use for
 this purpose..

 @Lasantha, Is there anything you have written specifically for ML team ?

 On Mon, Jan 5, 2015 at 12:21 PM, Supun Sethunga 
 wrote:

> Hi,
>
> In the Product ML, we have a requirement of sending an email
> notification upon the completion of ML model creation process. Whats the
> preferred way of implementing this? Is there any component which has a
> similar functionality that is already in-use any of the products, that we
> can reuse?
>
> Regards,
> Supun
>
> --
> *Supun Sethunga*
> Software Engineer
> WSO2, Inc.
> lean | enterprise | middleware
> Mobile : +94 716546324
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *V. Mohanadarshan*
 *Software Engineer,*
 *Data Technologies Team,*
 *WSO2, Inc. http://wso2.com  *
 *lean.enterprise.middleware.*

 email: mo...@wso2.com
 phone:(+94) 771117673

>>>
>>>
>>>
>>> --
>>> *Supun Sethunga*
>>> Software Engineer
>>> WSO2, Inc.
>>> lean | enterprise | middleware
>>> Mobile : +94 716546324
>>>
>>> ___
>>> 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
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Associate Technical Lead & Product Lead of WSO2 Identity Server
> Integration Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+9476950*
> Blog - *http://nallaa.wordpress.com *
>
> ___
> 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] Reverted back from Map to List

2015-01-22 Thread Dulitha Wijewantha
Hi guys,
As I mentioned earlier - I moved the properties from a List to a Map. But
CFX doesn't seem to support Map conversion properly. Due to the time being
- I reverted the changes back to a List implementation. I will create a
Util method to obtain the Device List as a Map where needed.

PR -
https://github.com/wso2/product-cdm/pull/3
https://github.com/wso2/product-mdm/pull/5
Cheers~

-- 
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] [APIM] Please review and Commit patches

2015-01-22 Thread Sanjeewa Malalgoda
Committed revisions 211106, 211107.


Thanks,
sanjeewa.

On Thu, Jan 22, 2015 at 8:17 PM, Abimaran Kugathasan 
wrote:

> This is not committed yet. Please commit.
>
> On Tue, Jan 20, 2015 at 5:49 PM, Abimaran Kugathasan 
> wrote:
>
>> Hi Nuwan
>>
>> Please commit the patches for following JIRAs
>>
>> 1. https://wso2.org/jira/browse/APIMANAGER-3257
>> 2. https://wso2.org/jira/browse/APIMANAGER-3265
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>>
>> Software Engineer | WSO2 Inc
>> Data & APIs Technologies Team
>> Mobile : +94 773922820
>>
>> 
>> 
>>   
>> 
>>
>>
>
>
> --
> Thanks
> Abimaran Kugathasan
>
> Software Engineer | WSO2 Inc
> Data & APIs Technologies Team
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>


-- 

*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +94713068779

 blog
:http://sanjeewamalalgoda.blogspot.com/

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


Re: [Dev] [APIM] Please review and commit patch

2015-01-22 Thread Sanjeewa Malalgoda
Committed revision 211105.

Thanks,
sanjeewa.

On Thu, Jan 22, 2015 at 8:17 PM, Abimaran Kugathasan 
wrote:

> Hi Nuwan,
>
> Please commit the attached patch for following JIRA
>
> 1. https://wso2.org/jira/browse/APIMANAGER-2037
>
> --
> Thanks
> Abimaran Kugathasan
>
> Software Engineer | WSO2 Inc
> Data & APIs Technologies Team
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>


-- 

*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +94713068779

 blog
:http://sanjeewamalalgoda.blogspot.com/

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


Re: [Dev] [AF] Why are we using a separate runtime for jenkins

2015-01-22 Thread Harsha Thirimanna
Refer this : [Dev] [AF] [Urgent] Update copy jars for the undeployer changes


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* *
*email: **hars...@wso2.com* * cell: +94 71 5186770  , +94 *
*774617784twitter: **http://twitter.com/ *
*harshathirimannlinked-in: **http:
**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
*

*Lean . Enterprise . Middleware*


On Thu, Jan 22, 2015 at 9:00 PM, Anuruddha Premalal 
wrote:

> Hi,
>
> We have defined a separate runtime("lib/rnutime/jenkins") and put all
> jenkins related libs including appfactory dependencies. Is there any
> performance gain in having them there?
>
> Regards,
> --
> *Anuruddha Premalal*
> Software Eng. | WSO2 Inc.
> Mobile : +94710461070
> Web site : www.regilandvalley.com
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Generating code coverage report for AF integration tests

2015-01-22 Thread Amalka Subasinghe
On Fri, Jan 16, 2015 at 1:48 PM, Amalka Subasinghe  wrote:

> *Steps to generate the code coverage report for AF*
> [NOTE: did all the steps using afpuppet user]
>
> 1. Create a folder [eg: emma]
>
> 2. Copy the following files to the emma folder
> - emma.jar
> - jarlist file (create a file which contains the appfactory jars we want
> to use in code coverage) see the attachment
>
> 3. Stop the appfactory
>
> 4. Execute the following command to instrument the jars, it will create
> coverage.em file in the emma folder
> java -cp emma.jar emma instr -m overwrite -cp @jarlist
>
> 5. Copy emma.jar file to the /repository/component/lib
>
> 6. Start the appfactory and run the tests
>
> 7. Stop the appfactory (now you can see the coverage.ec file in the emma
> folder)
>
> 8. Generate the report executing following command
> java -cp emma.jar emma report -r html -in coverage.em -in coverage.ec
>
> Now you can find the coverage at emma/coverage/index.html
>
> Thanks
> Amalka
>
>
>
>
>
> On Wed, Jan 14, 2015 at 12:17 PM, Amalka Subasinghe 
> wrote:
>
>> Hi all,
>>
>> Currently I'm trying to $subject. Since AF integration tests runs in
>> platform mode, we can't generate code coverage report via our existing test
>> framework.
>>
>> I found a blog we can use for this. [1]
>> as specified in the blog when I execute the xargs -n 1
>> $JAVA_HOME/jre/bin/java -cp emma.jar emma instr -m overwrite -cp <
>> jarlist.txt.
>> It changes file permissions on appfactory jars, because of that I can't
>> up the appfactory setup to run the tests.
>>
>> Does anyone have ideas on how to do this?
>>
>> [1]
>> http://charithaka.blogspot.com/2009/05/run-time-code-coverage-using-emma.html
>>
>> Thanks
>> Amalka
>>
>>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [APPFAC] Running "Selenium-Tests" on your own machine

2015-01-22 Thread Kasun De Silva
Hi All,

Please get a SVN UP on [1] which has the latest selenium scripts.

Create a Tenant in one of the setup. 18.2, 16.2 or local

Go
to 
/turing/products/appfactory/2.1.0/selinium-tests/Scenario_1/src/main/resources/data
and edit DataTables.xml according to your tenant.

For example if Tenant user ad...@lee2.com and Pw is admin123 it should be
as following,












admin
admin123
lee2
admin123

https://apps.appfactory.private.wso2.com:9443/appmgt/
admin123



Please run *mvn test* (If does'nt work *mvn clean install*)in
/turing/products/appfactory/2.1.0/selinium-tests/Scenario_1/

Please get back to this thread whether scripts are running or not, Its fine
at least you manage to get to the login page.

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/appfactory/2.1.0/selinium-tests


PS: This is to make sure that our selenium scripts are compatible with your
machine.

Thanks,
Kasun

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

email   : kas...@wso2.com
mobile : +94 77 794 4260
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Service Provides are listed for pearticular users, not for tenanat in WSO2 Identity server

2015-01-22 Thread Nuwan Wimalasekara
Thanks Pushpalanka. It works. Once the internal role is assigned , We can
see the service provider.

Thanks,
Nuwanw

On Thu, Jan 22, 2015 at 6:29 PM, Pushpalanka Jayawardhana 
wrote:

> Hi Nuwan,
>
> There is an internal role created for each service provider we register.
> In order see this service provider in  the list, user should be allocated
> to this role.
>
> Thanks,
> Pushpalanka
>



-- 
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] Fwd: Pull request to include tenant deletion support

2015-01-22 Thread Shashika Karunatilaka
adding Suho

On Fri, Jan 16, 2015 at 11:13 PM, KasunG Gajasinghe  wrote:

> Hi,
>
> This feature will be merged into Kernel 4.4.0-SNAPSHOT. The downstream
> projects should depend on kernel 4.3.0. So, there won't be any build breaks.
>
> Further, repo is currently depending carbon-multitenancy kernel 4.3.0. So,
> we might have to wait until a release happens from that repo. Otherwise, we
> will have to create a parallel branch.
>
>
> On Fri, Jan 16, 2015 at 12:28 PM, Lakshman Udayakantha  > wrote:
>
>> Hi All,
>>
>> when I delete tenant in wso2as-6.0.0-SNAPSHOT, got the following exception
>>
>> Error executing query DELETE FROM UM_CLAIM_BEHAVIOR WHERE UM_TENANT_ID =
>> ? for tenant: 1
>>
>> org.h2.jdbc.JdbcSQLException: Table "UM_CLAIM_BEHAVIOR" not found; SQL
>> statement:
>>
>> DELETE FROM UM_CLAIM_BEHAVIOR WHERE UM_TENANT_ID = ? [42102-140]
>>
>> at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
>>
>> at org.h2.message.DbException.get(DbException.java:167)
>>
>>
>> seems like UM_CLAIM_BEHAVIOR  table is not in database. How should I
>> proceed in this case?
>>
>> On Thu, Jan 15, 2015 at 8:45 PM, Johann Nallathamby 
>> wrote:
>>
>>> Was this code reviewed ? The new method in the listener does not follow
>>> the same convention as others. It says "onPreDelete", but other methods
>>> don't follow "pre/post" convention and you don't have hooks for all pre
>>> process actions.
>>>
>>> Can you please add pre process hooks for all the methods in that case ?
>>> Because if we miss to add it this time we won't be able to add it until
>>> next major release of this repo. So please use the opportunity to fix it.
>>>
>>> Also the comment on the interface is not correct. It says something
>>> specific to your implementation.
>>>
>>> On Wed, Jan 14, 2015 at 3:10 PM, Aruna Karunarathna 
>>> wrote:
>>>
 I believe we need to merge all these PR's related to tenant deletion at
 onetime coordinated manner. Otherwise there will be build breaks.


 Regards,
 Aruna

 On Wed, Jan 14, 2015 at 3:06 PM, Shashika Karunatilaka <
 shashi...@wso2.com> wrote:

> Hi all,
>
> I have created PRs for the respective repositories(I have added a
> comment in each PR). Please merge the Tenant deletion PRs and merge the
> following PRs.
>
> *carbon-multitenancy*
>
> JIRA : https://wso2.org/jira/browse/WSAS-1882
> PR : https://github.com/wso2-dev/carbon-multitenancy/pull/16
>
> *carbon-storage-management*
>
> JIRA :  https://wso2.org/jira/browse/SS-454
> 
> PR : https://github.com/wso2-dev/carbon-storage-management/pull/97
>
> *carbon-event-processing*
>
> JIRA : https://wso2.org/jira/browse/CEP-1000
> 
> PR : https://github.com/wso2-dev/carbon-event-processing/pull/45
>
> *carbon-identity*
>
> JIRA : https://wso2.org/jira/browse/IDENTITY-2984
> 
> PR : https://github.com/wso2-dev/carbon-identity/pull/63
>
>
> Thank You
>
> On Mon, Jan 12, 2015 at 10:48 AM, Shashika Karunatilaka <
> shashi...@wso2.com> wrote:
>
>> HI all,
>>
>> Below are my findings for the wso2 repos that uses the above
>> listener class, please correct me if i missed any.
>>
>>
>> Repo
>>
>> Componenent
>>
>> class
>>
>> carbon-multitenancy
>>
>> (org.wso2.carbon.theme.mgt.util)
>>
>> ThemeLoadingListener.java
>>
>> (org.wso2.carbon.keystore.mgt)
>>
>> KeystoreTenantMgtListener.java
>>
>> carbon-storage-management
>>
>> (org.wso2.carbon.cassandra.server)
>>
>> TenantCreationListener.java
>>
>> (org.wso2.carbon.hdfs.mgt)
>>
>> HDFSTenantCreationListener.java
>>
>> carbon-event-processing
>>
>> (org.wso2.carbon.event.stream.manager.core.internal.util.helper)
>>
>> TenantMgtListenerImpl.java
>>
>> carbon-identity
>>
>> (org.wso2.carbon.idp.mgt.internal )
>>
>> TenantManagementListener.java
>>
>> (org.wso2.carbon.identity.application.authentication.framework.listener)
>>
>>
>> AuthenticationEndpointTenantActivityListener.java
>>
>> product-af
>>
>> (org.wso2.carbon.appfactory.listners.tenant)
>>
>> AppFactoryTenantMgtListener.java
>>
>> (org.wso2.carbon.appfactory.s2.listeners)
>>
>> CloudEnvironmentPermissionListener.java
>>
>> (org.wso2.carbon.appfactory.stratos.listeners)
>>
>> CloudEnvironmentPermissionListener.java
>>
>> (org.wso2.carbon.appfactory.listners.tenant)
>>
>> DefaultRolesCreatorForTenant.java
>>
>> (org.wso2.carbon.appfactory.stratos.listeners)
>>
>> AppFactoryTenantKeyStoreMgtListener

Re: [Dev] [GitHub] How to handle kernel patches in GitHub

2015-01-22 Thread Punnadi Gunarathna
hi Danushka,


We cannot use those patches in GitHub. As a temporary solution, we have
pointed Carbon 4.3.0 version for respective kernel components to get rid of
compiler errors.

On Wed, Jan 21, 2015 at 10:52 PM, Danushka Fernando 
wrote:

> That's why its recommended to not to do API changes in kernel patches.
> Since we have already done it we have to live with it. So needs to build
> kernel patches.
>
> Thanks & Regards
> Danushka Fernando
> Software Engineer
> WSO2 inc. http://wso2.com/
> Mobile : +94716332729
>
> On Wed, Jan 21, 2015 at 12:29 AM, Punnadi Gunarathna 
> wrote:
>
>> Hi All,
>>
>> AF is currently on carbon 4.2.0
>>
>> On Wed, Jan 21, 2015 at 1:46 PM, Roshan Deniyage 
>> wrote:
>>
>>> Hi all,
>>>   We are in the process of moving AppFactory to GitHub. Some of the
>>> components in appfactory has carbon kernel dependencies which actual has
>>> been ship as carbon kernel patches.
>>>
>>> AFAIK, after moving products to GitHub, we are not suppose to build any
>>> dependent code locally, but get from the nexus repository as dependencies.
>>> But, the nexus repo doesn't have those patches as jars.
>>>
>>> So, does anyone know how to handle carbon kernel patches with GitHub
>>> repositories?
>>>
>>>
>>> Thanks,
>>> Roshan Deniyage
>>> Associate Technical Lead
>>> WSO2, Inc: http://wso2.com
>>>
>>> Mobile:  +94 777636406
>>> Twitter:  *https://twitter.com/roshku *
>>> LinkedIn :  https://www.linkedin.com/in/roshandeniyage
>>>
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>


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


Re: [Dev] API Manager New integration module structure for framework version 4.3.1.

2015-01-22 Thread Dharshana Warusavitharana
Ye Nuwan we already discussed this too. We will break submodules when we
are moving with scenarios. This is initial phase.

Thank You,
Dharshana

On Fri, Jan 23, 2015 at 6:32 AM, Nuwan Wimalasekara  wrote:

> Hi Dharshana,
> It would be grate if we can create a sub modules under tests-integration
> and test-ui-integration rather than putting the test classes inside the
> root module(tests-integration) from this moment, There might be an
> requirement having multi test module inside tests-integration. In ESB, we
> have multi test module. In future , It will required for API manager too.
>
>
> Thanks,
> Nuwanw
>
> On Thu, Jan 22, 2015 at 4:45 AM, Dharshana Warusavitharana <
> dharsha...@wso2.com> wrote:
>
>> Hi All,
>>
>> Test framework 4.3.1 has being introduced to the APIM integration test
>> module under following structure.
>>
>> Moving forward automation team would implement tests based on the test
>> structure 4.3.1.
>>
>> integration
>> ├
>> ├── pom.xml
>> ├── tests-common
>> │   ├── admin-clients
>> │   ├── integration-test-utils
>> │   └── ui-pages
>> ├── tests-integration
>> │   ├── pom.xml
>> │   └── src
>> │   └── test
>> │   ├── java
>> │   │   └── org
>> │   │   └── wso2
>> │   │   └── am
>> │   │   └── integration
>> │   │   └── tests
>> │   │   ├── server
>> │   │   │   └── mgt
>> │   │   │   ├──
>> ApiMgtServerStartupTestCase.java
>> │   │   │   └──
>> OSGIServerBundleStatusTestCase.java
>> │   │   └── workflow
>> │   └── resources
>> ├── tests-platform
>> │   ├── pom.xml
>> │   └── resources
>> ├── tests-ui-integration
>> │   ├── pom.xml
>>
>> Please note the APIM will move to 1.9.0 release with the SVN so we need o
>> stick to the repository noted in [1].
>>
>>
>> [1].
>> http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.9.0/
>>
>> --
>>
>> Dharshana Warusavitharana
>> Senior Software Engineer , Test Automation
>> WSO2 Inc. http://wso2.com
>> email : dharsha...@wso2.com 
>> Tel  : +94 11 214 5345
>> Fax :+94 11 2145300
>> cell : +94770342233
>> blog : http://dharshanaw.blogspot.com
>>
>> lean . enterprise . middleware
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Nuwan Wimalasekara
> Senior Software Engineer - Test Automation
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> phone: +94 71 668 4620
>
>
>
>


-- 

Dharshana Warusavitharana
Senior Software Engineer , Test Automation
WSO2 Inc. http://wso2.com
email : dharsha...@wso2.com 
Tel  : +94 11 214 5345
Fax :+94 11 2145300
cell : +94770342233
blog : http://dharshanaw.blogspot.com

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


Re: [Dev] Please review and merge the pull request : MQTT Connector

2015-01-22 Thread Eranda Rajapakshe
Thanks for the response! I will add test cases too.
And what you mean by reviewing the headers of the xml files? Is it adding
more description on XML tags?

On Thu, Jan 22, 2015 at 8:40 PM, Vanjikumaran Sivajothy 
wrote:

> Hi Earanda,
>
> Did not you write any test cases for the connector ?
> can you please review the headers for the xml files too?
>
> On Thu, Jan 22, 2015 at 3:40 PM, Eranda Rajapakshe 
> wrote:
>
>> Hi,
>>
>> Please merge the pull request [1] for MQTT connector.
>>
>> [1] https://github.com/wso2-dev/esb-connectors/pull/164
>>
>> Thanks!
>> --
>> *Eranda Rajapakshe*
>> Software Engineering intern
>> WSO2 Inc. www.wso2.com
>> Tel : +94784822608
>> Email : eran...@wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Sivajothy Vanjikumaran
> *Senior Software Engineer*
> *Integration Technologies Team*
> *WSO2 Inc. http://wso2.com *
> *Mobile:(+94)777219209*
> [image: Facebook]  [image: Twitter]
>  [image: LinkedIn]
>  [image:
> Blogger]  [image: SlideShare]
> 
>
> This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may
> have received this communication in error, please reply to the
> sender indicating that fact and delete the copy you received and in
> addition, you should not print, copy, re-transmit, disseminate, or
> otherwise use the information contained in this communication.
> Internet communications cannot be guaranteed to be timely, secure, error
> or virus-free. The sender does not accept liability for any errors
> or omissions
>



-- 
*Eranda Rajapakshe*
Software Engineering intern
WSO2 Inc. www.wso2.com

*B. Sc. Eng. (Hons) Undergraduate*
*Dept. of Computer Science and Engineering*
*University of Moratuwa, Sri Lanka*
Tel : +94784822608
Email : eran...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Service Provides are listed for pearticular users, not for tenanat in WSO2 Identity server

2015-01-22 Thread Pushpalanka Jayawardhana
Hi Nuwan,

There is an internal role created for each service provider we register. In
order see this service provider in  the list, user should be allocated to
this role.

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


[Dev] Service Provides are listed for pearticular users, not for tenanat in WSO2 Identity server

2015-01-22 Thread Nuwan Wimalasekara
Hi
In WSO2 Identity server, once user create a service provider or identity
provider , It will show under service provider or identity provider list in
that user login. But we create a another user in same tenant domain and log
in to the IS, Those service providers created by first user(under same
domain) will not listed under service provider list. So other users can not
be seen the service providers which are created by another user. But they
can consume those service providers. Is it a expected behaviour ?

I thinks those service providers should be seen by other users as well.
Shouldn't it be listed by particular tenant instead of particular user. In
the table SP_APP, We can see the tenant id as well. Any intentional reason
for doing this.

Thanks,
Nuwanw


-- 
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] Kernel commits required to patch0010

2015-01-22 Thread Chandana Napagoda
HI Sameera/Azeez,

Can you please share your thought on this? We want to sort out this ASAP.

Regards,
Chandana

On Wed, Jan 21, 2015 at 3:29 PM, Dimuthu Leelarathne 
wrote:

> Hi Manoj,
>
> The Mount bean is not an API. Mount bean is meant be used within registry
> itself. Nowhere else.
>
> thanks,
> dimuthu
>
> On Wed, Jan 21, 2015 at 3:08 PM, Chandana Napagoda 
> wrote:
>
>> Hi Manoj,
>>
>> Yes, We have introduced a public getter method and a setter for Mount
>> beans. It was not possible to use protected or private variables/methods to
>> perform this operation, since RegistryConfigurationProcessor and
>> RegistryUtils classes are in two different packages. Therefore we
>> introduced these methods since newly added getter and setter methods are
>> referred inside the same bundle only. So there will not be any impact on
>> the existing code base.
>>
>> Regards,
>> Chandana
>>
>> On Wed, Jan 21, 2015 at 12:59 PM, Manoj Kumara  wrote:
>>
>>> Hi Chandana,
>>>
>>> Attached diff contain some public getter and setter additions. We don't
>>> allow API changes during kernel patches.
>>>
>>> Thanks,
>>> Manoj
>>>
>>>
>>> *Manoj Kumara*
>>> Software Engineer
>>> WSO2 Inc. http://wso2.com/
>>> *lean.enterprise.middleware*
>>> Mobile: +94713448188
>>>
>>> On Wed, Jan 21, 2015 at 10:25 AM, Chandana Napagoda 
>>> wrote:
>>>
 Hi Manoj,

 Please apply the patch attached to below JIRA [1].

 [1] https://wso2.org/jira/browse/REGISTRY-2391

 Regards,
 Chandana

 --
 *Chandana Napagoda*
 Senior Software Engineer
 WSO2 Inc. - http://wso2.org

 *Email  :  chand...@wso2.com **Mobile :
 +94718169299 <%2B94718169299>*

 *Blog  :http://cnapagoda.blogspot.com
 *


>>>
>>
>>
>> --
>> *Chandana Napagoda*
>> Senior Software Engineer
>> WSO2 Inc. - http://wso2.org
>>
>> *Email  :  chand...@wso2.com **Mobile : +94718169299
>> <%2B94718169299>*
>>
>> *Blog  :http://cnapagoda.blogspot.com *
>>
>>
>
>
> --
> Dimuthu Leelarathne
> Architect & Product Lead of App Factory
>
> WSO2, Inc. (http://wso2.com)
> email: dimut...@wso2.com
> Mobile : 0773661935
>
> Lean . Enterprise . Middleware
>



-- 
*Chandana Napagoda*
Senior Software Engineer
WSO2 Inc. - http://wso2.org

*Email  :  chand...@wso2.com **Mobile : +94718169299*

*Blog  :http://cnapagoda.blogspot.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [SS] No LoginModules configured error when login is called using JAAS

2015-01-22 Thread Shani Ranasinghe
Hi,

Any help?

On Wed, Jan 21, 2015 at 3:30 PM, Shani Ranasinghe  wrote:

>
> Hi,
>
> I am working on generating kerberos tickets automatically for a user when
> using the Storage Server. Currently this is done by running  kinit from the
> code. I am working on changing this to use JAAS and authenticate and
> generate a kerberos ticket.
>
> I created a LoginContext object and passed a name, and with that entry I
> created a .conf file. I set the system property
> "java.security.auth.login.config" in the code, with relative/absolute paths
> to the conf file.  When the code is executed, I get the following error.
>
> javax.security.auth.login.LoginException: No LoginModules configured for
> Sample.
>
> any clue why  the config is not getting picked up? Am I missing something?
>
> Any help is appreciated.
>
>
> *Code for the above*
>
> System.setProperty("java.security.auth.login.config","sampleConfig.conf");
> loginContext = new LoginContext("Sample", new CustomCallbackHandler());
> loginContext.login();
>
>
> *sampleConfig.conf*
> Sample {
> com.sun.security.auth.module.Krb5LoginModule required;
> };
>
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>



-- 
Thanks and Regards
*,Shani Ranasinghe*
Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unique value to match Request and Response in ESB

2015-01-22 Thread Niranjan Karunanandham
Thanks Malaka.

I was able to identify the request and response by generating a random
number (using script mediator) and logging it in the inSequence and
outSequence.

Regards,
Nira

On Thu, Jan 22, 2015 at 4:11 PM, Malaka Silva  wrote:

> Hi Niranjan,
>
> I'm afraid there is no straight forward way to do that. However you can
> identify it by analyzing the logs. But it's bit difficult if there are
> quite alot concurrent connections.
>
> On Fri, Jan 23, 2015 at 3:56 AM, Niranjan Karunanandham  > wrote:
>
>> Hi all,
>>
>> In ESB, is there a unique field that we can use to find out (in the log
>> when wire logs are enabled) the response for a request?
>>
>> Regards,
>> Nira
>>
>> --
>>
>> *Niranjan Karunanandham*
>> WSO2 Inc.: http://www.wso2.com
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> 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.
>



-- 

*Niranjan Karunanandham*
Senior Software Engineer - WSO2 Inc.
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] API Manager New integration module structure for framework version 4.3.1.

2015-01-22 Thread Nuwan Wimalasekara
Hi Dharshana,
It would be grate if we can create a sub modules under tests-integration
and test-ui-integration rather than putting the test classes inside the
root module(tests-integration) from this moment, There might be an
requirement having multi test module inside tests-integration. In ESB, we
have multi test module. In future , It will required for API manager too.


Thanks,
Nuwanw

On Thu, Jan 22, 2015 at 4:45 AM, Dharshana Warusavitharana <
dharsha...@wso2.com> wrote:

> Hi All,
>
> Test framework 4.3.1 has being introduced to the APIM integration test
> module under following structure.
>
> Moving forward automation team would implement tests based on the test
> structure 4.3.1.
>
> integration
> ├
> ├── pom.xml
> ├── tests-common
> │   ├── admin-clients
> │   ├── integration-test-utils
> │   └── ui-pages
> ├── tests-integration
> │   ├── pom.xml
> │   └── src
> │   └── test
> │   ├── java
> │   │   └── org
> │   │   └── wso2
> │   │   └── am
> │   │   └── integration
> │   │   └── tests
> │   │   ├── server
> │   │   │   └── mgt
> │   │   │   ├──
> ApiMgtServerStartupTestCase.java
> │   │   │   └──
> OSGIServerBundleStatusTestCase.java
> │   │   └── workflow
> │   └── resources
> ├── tests-platform
> │   ├── pom.xml
> │   └── resources
> ├── tests-ui-integration
> │   ├── pom.xml
>
> Please note the APIM will move to 1.9.0 release with the SVN so we need o
> stick to the repository noted in [1].
>
>
> [1].
> http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.9.0/
>
> --
>
> Dharshana Warusavitharana
> Senior Software Engineer , Test Automation
> WSO2 Inc. http://wso2.com
> email : dharsha...@wso2.com 
> Tel  : +94 11 214 5345
> Fax :+94 11 2145300
> cell : +94770342233
> blog : http://dharshanaw.blogspot.com
>
> lean . enterprise . middleware
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


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


[Dev] Importing users with attribute values into JDBC user store using Bulk Import Users feature in WSO2 identity server

2015-01-22 Thread Nuwan Wimalasekara
Hi IS Team,

I want to import users which are in csv file into JDBC user store in IS.
However in sample csv file I found only has two fields(username, password).
But users have more attributes value with themselves. So any one aware of
the csv file format with user attribute values and it is possible to import
users with attribute values by the feature Bulk Import Users.


Thanks,
Nuwanw

-- 
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] Unique value to match Request and Response in ESB

2015-01-22 Thread Malaka Silva
Hi Niranjan,

I'm afraid there is no straight forward way to do that. However you can
identify it by analyzing the logs. But it's bit difficult if there are
quite alot concurrent connections.

On Fri, Jan 23, 2015 at 3:56 AM, Niranjan Karunanandham 
wrote:

> Hi all,
>
> In ESB, is there a unique field that we can use to find out (in the log
> when wire logs are enabled) the response for a request?
>
> Regards,
> Nira
>
> --
>
> *Niranjan Karunanandham*
> WSO2 Inc.: http://www.wso2.com
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

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


[Dev] Unique value to match Request and Response in ESB

2015-01-22 Thread Niranjan Karunanandham
Hi all,

In ESB, is there a unique field that we can use to find out (in the log
when wire logs are enabled) the response for a request?

Regards,
Nira

-- 

*Niranjan Karunanandham*
WSO2 Inc.: http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] carbon4-kernel tests migration - to be compatible with TAF 4.3.1

2015-01-22 Thread Kishanthan Thangarajah
Great. Thanks Dimuthu and Krishantha. So we just have to remove the old
framework from code base right? Also can we get the updated PR on this
migration sent to master branch, if not already done?

On Wed, Jan 21, 2015 at 11:57 PM, Krishantha Samaraweera <
krishan...@wso2.com> wrote:

> Hi Dimuthu,
>
> Thanks for attending to this.
>
> We need to remove the old test framework in kernel and test suite.
>
> Thanks,
> Krishantha.
>
> On Wed, Jan 21, 2015 at 8:24 PM, Dimuthu De Lanerolle 
> wrote:
>
>> This is completed.  Please find the test result for carbon-kernel4
>> tests-integration module.
>>
>> Test results
>> SuitePassedFailedSkippedtestng.xml*Total**24**0**0* carbon-server-startup
>> 2400Link
>> 
>>
>>
>> Regards
>>
>>
>> On Tue, Jan 20, 2015 at 3:07 PM, Dimuthu De Lanerolle 
>> wrote:
>>
>>> I have started migrating carbon4-kernel tests inside [1] "tests" module
>>> to "tests-integration" module which is going to be compatible with new TAF
>>> 4.3.1 framework. Will update progress soon.
>>>
>>> [1]
>>> https://github.com/buddhics/carbon4-kernel/tree/master/distribution/integration
>>>
>>>
>>> Regards
>>>
>>> --
>>> Dimuthu De Lanerolle
>>> Software Engineer
>>> WSO2 Inc.
>>> lean . enterprise . middlewear.
>>> http://wso2.com/
>>> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>>>
>>>
>>
>>
>> --
>> Dimuthu De Lanerolle
>> Software Engineer
>> WSO2 Inc.
>> lean . enterprise . middlewear.
>> http://wso2.com/
>> Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
>>
>>
>
>
> --
> Krishantha Samaraweera
> Senior Technical Lead - Test Automation
> Mobile: +94 77 7759918
> WSO2, Inc.; http://wso2.com/
> lean . enterprise . middlewear.
>



-- 
*Kishanthan Thangarajah*
Senior Software Engineer,
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


[Dev] carbon.enable.saas not working in AS 5.2.1?

2015-01-22 Thread Shvechkov, Alexey
Hi All

Is carbon carbon.enable.saas parameter still supported by AS 5.2.1?

Spent quite some time trying to make it working with no success ...   I'm 
trying to share web app deployed in super user domain with other tenants.
The app uses forms authentication .

I tried adding carbon.enable.saas and carbon.saas.tenants   parameters into 
web.xml but tenants other than super user still cannot authenticate ...
This is an error that I typically get:

[2015-01-22 11:59:10,175]  WARN 
{org.wso2.carbon.tomcat.ext.realms.CarbonTomcatRealm} -  Illegal access attempt 
by ad...@tenant2.com to secured resource hosted by tenant carbon.super

>From inside my app I can print out context parameters and I see that both 
>carbon.enable.saas and carbon.saas.tenants are set 

Any thoughts on what else should we look at?

Here is my web.xml  :
http://stackoverflow.com/questions/27959210/cannot-enable-saas-mode-for-app-in-wso2as-5-2-1


Here is a how I run the server (yep, Windows 8.1 + JDK 1.7) :

C:\\wso2as-5.2.1\bin>wso2server.bat
JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.7.0_71
CARBON_HOME environment variable is set to 
C:\DEVELO~1\arcserve\WSO2AS~1.1\WSO2AS~1.1\bin\..
[2015-01-22 11:56:15,123]  INFO 
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2 Carbon...
[2015-01-22 11:56:15,126]  INFO 
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System : 
Windows 8.1 6.3, amd64
[2015-01-22 11:56:15,126]  INFO 
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home: 
C:\Program Files\Java\jdk1.7.0_71\jre
[2015-01-22 11:56:15,126]  INFO 
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version : 
1.7.0_71
[2015-01-22 11:56:15,126]  INFO 
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM  : Java 
HotSpot(TM) 64-Bit Server VM 24.71-b01,Oracle Corporation


Thank you in advance,
Alexey
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [APIM] Please review and Commit patches

2015-01-22 Thread Abimaran Kugathasan
This is not committed yet. Please commit.

On Tue, Jan 20, 2015 at 5:49 PM, Abimaran Kugathasan 
wrote:

> Hi Nuwan
>
> Please commit the patches for following JIRAs
>
> 1. https://wso2.org/jira/browse/APIMANAGER-3257
> 2. https://wso2.org/jira/browse/APIMANAGER-3265
>
> --
> Thanks
> Abimaran Kugathasan
>
> Software Engineer | WSO2 Inc
> Data & APIs Technologies Team
> Mobile : +94 773922820
>
> 
> 
>   
> 
>
>


-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data & APIs Technologies Team
Mobile : +94 773922820


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


[Dev] [APIM] Please review and commit patch

2015-01-22 Thread Abimaran Kugathasan
Hi Nuwan,

Please commit the attached patch for following JIRA

1. https://wso2.org/jira/browse/APIMANAGER-2037

-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data & APIs Technologies Team
Mobile : +94 773922820


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


[Dev] Please review and merge the pull request : MQTT Connector

2015-01-22 Thread Eranda Rajapakshe
Hi,

Please merge the pull request [1] for MQTT connector.

[1] https://github.com/wso2-dev/esb-connectors/pull/164

Thanks!
-- 
*Eranda Rajapakshe*
Software Engineering intern
WSO2 Inc. www.wso2.com
Tel : +94784822608
Email : eran...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Urgent] [Greg] - Greg 5.0.0 server start up delays for several minutes

2015-01-22 Thread Sagara Gunathunga
On Sat, Jan 17, 2015 at 9:12 PM, Ruwan Yatawara  wrote:

> Hi All,
>
> Merged the PR.
>

Have you guys test this fix  ?

I can see this commit[1] and up to date bundles in Nexus [2], but still
facing same issue during the server start up, can you please look into this
and treat it as an urgent matter.

161 INSTALLED   org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT
165 INSTALLED   org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT

osgi> diag 161
reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
[161]
  Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl;
version="0.0.0"
  Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl.utils;
version="0.0.0"
  Direct constraints which are unresolved:
Missing optionally imported package org.wso2.carbon.apimgt.core_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.core.authenticate_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.core.gateway_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.core.internal_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.core.throttle_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.core.usage_0.0.0.
Missing optionally imported package
org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.


osgi> diag 165
reference:file:../plugins/org.wso2.carbon.apimgt.interceptor_4.3.0.SNAPSHOT.jar
[165]
  Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl.dao;
version="0.0.0"
  Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl.dto;
version="0.0.0"
  Package uses conflict: Import-Package: org.wso2.carbon.apimgt.impl.utils;
version="0.0.0"
  Direct constraints which are unresolved:
Missing optionally imported package org.wso2.carbon.apimgt.core_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.core.authenticate_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.core.gateway_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.core.throttle_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.core.usage_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.interceptor_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.interceptor.handler_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.interceptor.utils_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.interceptor.valve_0.0.0.
Missing optionally imported package
org.wso2.carbon.apimgt.usage.publisher.internal_0.0.0.
Missing optionally imported package
org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.
  Leaf constraints in the dependency chain which are unresolved:

reference:file:../plugins/org.wso2.carbon.apimgt.core_4.3.0.SNAPSHOT.jar
[161]
  Missing optionally imported package
org.wso2.carbon.throttle.core_4.3.0.SNAPSHOT.



[1] -
https://github.com/wso2/carbon-apimgt/commit/57cc690a07231cde42e8398aae5b36d404183744

[2] -
http://maven.wso2.org/nexus/content/repositories/snapshots/org/wso2/carbon/apimgt/4.3.0-SNAPSHOT/maven-metadata.xml


Thanks !

>
> Thanks and Regards,
>
> Ruwan Yatawara
>
> Senior Software Engineer,
> WSO2 Inc.
>
> email : ruw...@wso2.com
> mobile : +94 77 9110413
> blog : http://thoughts.ruwan-ace.com/
> www: :http://wso2.com
>
>
> On Sat, Jan 17, 2015 at 4:03 PM, Ruwan Yatawara  wrote:
>
>> Sure. Will merge. Don't have access to a computer atm. Give me a couple
>> of hours.
>>
>> Regards,
>> Ruwan
>> On 17 Jan 2015 11:46, "Nuwan Dias"  wrote:
>>
>>> @Ruwan, can you have a quick look and merge?
>>>
>>> On Sat, Jan 17, 2015 at 8:47 AM, Roshan Wijesena 
>>> wrote:
>>>
 Hi NuwanD,

 Please review and merge
 https://github.com/wso2-dev/carbon-apimgt/pull/16  pull request to
 wso2-dev carbon-apimgt.

 Regards
 Roshan.

 On Sat, Jan 17, 2015 at 12:28 AM, Pulasthi Supun 
 wrote:

> Hi Roshan,
>
> Could you get someone from the API manager team to review it and merge
> it as soon as possible. the governance lcm stub structure should be
> accurate.
>
> Best Regards,
> Pulasthi
>
> On Fri, Jan 16, 2015 at 10:03 PM, Roshan Wijesena 
> wrote:
>
>> Hi Pulasthi,
>>
>> I have made a pull request for above concern [1] Please have a review
>> on it.
>>
>> But I am not clear about one thing which is , "*The package
>> structure does not have "stub*"" could you please clarify  more on
>> the same?. Furthermore if below given pull request is wrong would it be
>> possible to share a correct service stub repo for us to follow the same
>> structure?. However I already  followed [2] repo structure to create my
>>  pull request.
>>
>> [1] https://github.com/wso2-dev/carbon-apimgt/pull/16
>> [2]
>> https://github.com/wso2-dev/carbon-governance/tree/master/service-stubs/governance/org.wso2.carbon.governance.lcm.s

Re: [Dev] Issue when starting wso2server

2015-01-22 Thread Chathura Priyankara
Thanks Udara.

On Thu, Jan 22, 2015 at 6:12 PM, Udara Liyanage  wrote:

> Hi,
>
> This message says current setup uses default key stores packed with the
> product. Using default keystore for testing purposes is OK, however for
> production environment it is less secured since everyone has the default
> keystore. So it is recommended to configure with a unique keystore.
>
> Since you are not using the product in a production environment, the
> warning message can be ignored.
>
>
> On Thu, Jan 22, 2015 at 6:04 PM, Chathura Priyankara 
> wrote:
>
>> Hi,
>>
>> I'm trying to run WSO2 ESB for the first time. When I'm executing
>> wso2server.sh getting the following warning and getting  "Your connection
>> is not private" error when accessing https://localhost:9443/carbon/
>>  from chrome.
>>
>> WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is
>> currently being used. To maximize security when deploying to a production
>> environment, configure a new keystore with a unique password in the
>> production server profile.
>>
>> How can I fix this issue ?
>>
>> Thanks!
>> --
>> 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
>>
>>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
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] API Manager New integration module structure for framework version 4.3.1.

2015-01-22 Thread Dharshana Warusavitharana
Hi All,

Test framework 4.3.1 has being introduced to the APIM integration test
module under following structure.

Moving forward automation team would implement tests based on the test
structure 4.3.1.

integration
├
├── pom.xml
├── tests-common
│   ├── admin-clients
│   ├── integration-test-utils
│   └── ui-pages
├── tests-integration
│   ├── pom.xml
│   └── src
│   └── test
│   ├── java
│   │   └── org
│   │   └── wso2
│   │   └── am
│   │   └── integration
│   │   └── tests
│   │   ├── server
│   │   │   └── mgt
│   │   │   ├──
ApiMgtServerStartupTestCase.java
│   │   │   └──
OSGIServerBundleStatusTestCase.java
│   │   └── workflow
│   └── resources
├── tests-platform
│   ├── pom.xml
│   └── resources
├── tests-ui-integration
│   ├── pom.xml

Please note the APIM will move to 1.9.0 release with the SVN so we need o
stick to the repository noted in [1].


[1].
http://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/products/apimgt/1.9.0/

-- 

Dharshana Warusavitharana
Senior Software Engineer , Test Automation
WSO2 Inc. http://wso2.com
email : dharsha...@wso2.com 
Tel  : +94 11 214 5345
Fax :+94 11 2145300
cell : +94770342233
blog : http://dharshanaw.blogspot.com

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


Re: [Dev] Issue when starting wso2server

2015-01-22 Thread Udara Liyanage
Hi,

This message says current setup uses default key stores packed with the
product. Using default keystore for testing purposes is OK, however for
production environment it is less secured since everyone has the default
keystore. So it is recommended to configure with a unique keystore.

Since you are not using the product in a production environment, the
warning message can be ignored.


On Thu, Jan 22, 2015 at 6:04 PM, Chathura Priyankara 
wrote:

> Hi,
>
> I'm trying to run WSO2 ESB for the first time. When I'm executing
> wso2server.sh getting the following warning and getting  "Your connection
> is not private" error when accessing https://localhost:9443/carbon/
>  from chrome.
>
> WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is
> currently being used. To maximize security when deploying to a production
> environment, configure a new keystore with a unique password in the
> production server profile.
>
> How can I fix this issue ?
>
> Thanks!
> --
> 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
>
>


-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Issue when starting wso2server

2015-01-22 Thread Chathura Priyankara
Hi,

I'm trying to run WSO2 ESB for the first time. When I'm executing
wso2server.sh getting the following warning and getting  "Your connection
is not private" error when accessing https://localhost:9443/carbon/
 from chrome.

WARN - ValidationResultPrinter The default keystore (wso2carbon.jks) is
currently being used. To maximize security when deploying to a production
environment, configure a new keystore with a unique password in the
production server profile.

How can I fix this issue ?

Thanks!
-- 
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] Please review and merge the pull request

2015-01-22 Thread Priyadarssini Kishokumar
Please review and merge the pull request [1] for issue [2]

This issue occurs when we have a topic subscription without a subtopic.
This fix gives solution for subscribing any topic and any child topics not
crashing the registry UI.

[1] https://github.com/wso2-dev/carbon-registry/pull/45

[2] https://wso2.org/jira/browse/ESBJAVA-3445

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


Re: [Dev] How to query Through A JSON Array in a Json Object?

2015-01-22 Thread Firzhan Naqash
Hi Shiva,

You can access the json array by using following method.

JSONArray dataArray = jsonResponseObject.get("data");

for( int i = 0; i < dataArray.length; i++){
JSONObject data = dataArray.getJSONObject(i);
String deploymentID = dataArray.getString("deploymentId");
}



Regards,
Firzhan

On Thu, Jan 22, 2015 at 5:06 PM, Shiva Balachandran  wrote:

> Hi,
>
> Im really confused on what would be the method to query a JSON Object
> inside a JSON Object. I have the following JSON String, what i did was use
> the JSONObject Class present in org.json package.
>
> The JSON structure to be queried is as follows,
>
> {
>   "data": [
> {
>
>   "deploymentId": "233",
>   "deploymentUrl": 
> "http:\/\/localhost:8080\/activiti-rest\/service\/repository\/deployments\/2220"
> },
> {
>
>   "deploymentId": "123",
>   "deploymentUrl": 
> "http:\/\/localhost:8080\/activiti-rest\/service\/repository\/deployments\/2110"
> },
> {
>
>   "deploymentId": "202,
>   "deploymentUrl": 
> "http:\/\/localhost:8080\/activiti-rest\/service\/repository\/deployments\/2440",
>
> }
>   ],
>   "total": 8,
>   "start": 0,
>   "sort": "name",
>   "order": "asc",
>   "size": 8
> }
>
>
> So i wrote this code to query this JSON string,
>
> JSONObject jsonResponseObject = new JSONObject(responseData);
> JSONArray data = new JSONArray(jsonResponseObject.get("data"));
>
> int responseObjectSize =
> Integer.parseInt(jsonResponseObject.getString("total"));
>
> for(int j=0; j < responseObjectSize; j++){
> if (data.getJSONObject(j).getString("deploymentId").equals(deploymentID)){
>   System.out.println("Success");
>   definitionId = data.getJSONObject(j).getString("id");
> }
> }
>
> This code is not working, am i not accessing the data part correctly?
>
> --
> Shiva Balachandran
> Software Engineer
> WSO2 Inc.
>
> Mobile - +94 774445788
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] How to query Through A JSON Array in a Json Object?

2015-01-22 Thread Shiva Balachandran
Hi,

Im really confused on what would be the method to query a JSON Object
inside a JSON Object. I have the following JSON String, what i did was use
the JSONObject Class present in org.json package.

The JSON structure to be queried is as follows,

{
  "data": [
{

  "deploymentId": "233",
  "deploymentUrl":
"http:\/\/localhost:8080\/activiti-rest\/service\/repository\/deployments\/2220"
},
{

  "deploymentId": "123",
  "deploymentUrl":
"http:\/\/localhost:8080\/activiti-rest\/service\/repository\/deployments\/2110"
},
{

  "deploymentId": "202,
  "deploymentUrl":
"http:\/\/localhost:8080\/activiti-rest\/service\/repository\/deployments\/2440",

}
  ],
  "total": 8,
  "start": 0,
  "sort": "name",
  "order": "asc",
  "size": 8
}


So i wrote this code to query this JSON string,

JSONObject jsonResponseObject = new JSONObject(responseData);
JSONArray data = new JSONArray(jsonResponseObject.get("data"));

int responseObjectSize =
Integer.parseInt(jsonResponseObject.getString("total"));

for(int j=0; j < responseObjectSize; j++){
if (data.getJSONObject(j).getString("deploymentId").equals(deploymentID)){
  System.out.println("Success");
  definitionId = data.getJSONObject(j).getString("id");
}
}

This code is not working, am i not accessing the data part correctly?

-- 
Shiva Balachandran
Software Engineer
WSO2 Inc.

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


[Dev] [Webseal authenticator] UI authenticator includes log-out filter

2015-01-22 Thread Waruna Perera
Hi,

In webseal authenticator ui feature, Authenticator.java includes log-out
filter. I could not find the reason for it. Can some one explain whats the
purpose of it?

Thanks,
-- 
Waruna Perera
Senior Software Engineer - Test Automation
Mobile: +94 77 3867037
WSO2, Inc.; http://wso2.com/
lean . enterprise . middlewear.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Checking if User Account Recovery is enabled for UserInformationRecovery service

2015-01-22 Thread Sameera Jayaratna
Hi,

As per the offline discussion with Prasad, currently there is no such
method. Therefore I will use a workaround using another property until this
method is available.
I have created a JIRA to track this
https://wso2.org/jira/browse/IDENTITY-3000

Thank you,
Sameera

On Thu, Jan 22, 2015 at 10:22 AM, Sameera Jayaratna 
wrote:

> Hi,
>
> In ES we use UserInformationRecovery service provided by IS to enable
> Password Recovery.
>
> In the identity-mgt.properties file, default configurations has to be
> modified as in [1] to enable password recovery. For ES also we plan to keep
> the default configurations as it is and enable it when configurations are
> changed. In order to support that we need to hide/show UI elements
> according to the configurations. (i.e. Forgot Password link)
>
> Is there a method which I can use to check if the Password recovery is
> enabled through configurations?
>
> AFAIU, I need to check whether UserAccount.Recovery.Enable=false is set to
> true.
> In [2] I can see several methods to get values of other properties in the
> same file, but not for the above property.
>
> Thank you,
> Sameera
>
> [1] https://docs.wso2.com/display/IS500/Recover+with+Notification
> [2]
> https://github.com/wso2/carbon-identity/blob/master/components/identity/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/IdentityMgtConfig.java
>
> --
>
>
>
> *Thanks & Regards,Sameera Jayaratna Software Engineer; **WSO2 Inc. *
>
> *lean . enterprise . middleware |  http://wso2.com  *
>



-- 



*Thanks & Regards,Sameera Jayaratna Software Engineer; **WSO2 Inc. *

*lean . enterprise . middleware |  http://wso2.com  *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Please merge MDM PR

2015-01-22 Thread Dulitha Wijewantha
Please wait on the PR merging. I need to get the sso jaggery module on
nexus first.

On Thu, Jan 22, 2015 at 10:47 AM, Dulitha Wijewantha 
wrote:

> Hi Geeth,
> Please merge PR [1]
>
> [1] - https://github.com/wso2/product-mdm/pull/2
> 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 *
>



-- 
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] Merge PR on CDM

2015-01-22 Thread Dulitha Wijewantha
Please wait on the PR merging. I need to get the sso jaggery module on
nexus first.

On Thu, Jan 22, 2015 at 9:51 AM, Dulitha Wijewantha 
wrote:

> Hi Geeth,
> I tested the build. Can you merge this PR [1]? This is merge of wso2/cdm
> and your cdm repo.
>
> [1] - https://github.com/wso2/product-cdm/pull/1
> 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 *
>



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


[Dev] Please merge PR for jaggery-extensions

2015-01-22 Thread Dulitha Wijewantha
Hi Ayesha,
Please merge PR [1]. It has the SSO module. Then I can submit PR to jaggery
bumping the child module.

[1] - https://github.com/wso2/jaggery-extensions/pull/13
Cheers~

-- 
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] [IS] Tomcat valve to get service providers and auth types

2015-01-22 Thread Chamin Nalinda
Hi Lasitha,

the offline chat with you helped me  lot. Thanks for the reply and the help
given.

Regards !!!

On Thu, Jan 22, 2015 at 1:59 PM, Lasitha Wattaladeniya 
wrote:

> Hi Chamin,
>
> I think you can access the authentication type via request parameters,
> request.getParameter("type") this will return the relevant authentication
> type.
>
>
>
> On Wed, Jan 21, 2015 at 4:31 PM, Chamin Nalinda  wrote:
>
>> Hi all,
>>
>> I'm developing a tomcat valve to get service providers and obtain
>> relevant authentication types. Please do refer [Architecture] IS statistics
>> dashboard in architecture mailing  for more details.
>>
>> I tried using "httpServletRequest.getAuthType();" to get corresponding
>> authentication type for travelocity.  It returned null value. I would be
>> glad if you could guide me on this.
>>
>> Regards !!!
>>
>> --
>> *Chamin Nalinda*
>>
>> Intern - Engineering
>> WSO2 Inc. http://www.wso2.com
>> lean.enterprise.middleware
>>
>> Mobile: (+94) 77 241 66 04
>> Linkedin: https://www.linkedin.com/in/chaminnalinda
>> Web: http://www.ckreativity.com
>> Blog: http://techspiro.blogspot.com/
>>
>>
>> ___
>> 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
>



-- 
*Chamin Nalinda*

Intern - Engineering
WSO2 Inc. http://www.wso2.com
lean.enterprise.middleware

Mobile: (+94) 77 241 66 04
Linkedin: https://www.linkedin.com/in/chaminnalinda
Web: http://www.ckreativity.com
Blog: http://techspiro.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [EMM] Policy Management Approach Used by Version 1.1.0

2015-01-22 Thread Dilshan Edirisuriya
Hi Dilan,

Ideally if there are policies in all the assign resources such as users,
roles and platforms intersection or union needs to be calculated based on
the policy. Lets say for an example admin might have blocked camera for a
role but specifically enable it for a certain set of users. In that case
the most appropriate would be the user level policy and hence it needs more
weight in that scenario. When it comes to other operations like VPN, LDAP,
APN settings we could consider the union hence it represent the entire
operation stack that the user needs to focus.

Hence conceptually I would say that the current functionality to have
multiple policies based on the assign resources could be present in normal
usecases but the way we need to handle the compliance/monitoring needs to
be defined based on the corresponding operation/policy.

Regards,

Dilshan

On Thu, Jan 22, 2015 at 12:05 PM, Dilan Udara Ariyaratne 
wrote:

> Hi All,
>
> While going through the following documentation
> https://docs.wso2.com/display/EMM110/Working+with+Policies
> on managing policies, I came across the idea that a policy can be defined
> on various levels.
>
> Namely user level (L1), platform level (L2) and role level (L3). L3
> policies have the lowest priority. L2 policies override L3 policies, while
> L1 policies override both L2 and L3 policies.
>
> Although it is not clearly defined, I guess that
> [1] a user level policy is a policy to have only a set of users attached,
> [2] a role level policy is a policy to have only a set of roles attached
> and
> [3] a platform level policy is a policy to have only a set of platforms
> attached.
>
> However the question is that if we look into the EMM Web Console Admin UI
> web page
> on assigning resources, (i.e. users/roles/platforms) to a policy (see the
> image attached), it is possible to
> assign more than one resource type in a mix for a policy which is totally
> against the documented way of defining policies.
>
> Is this a problem in the UI or have I misunderstood this concept totally?
>
> Appreciate your feedback on this.
>
> Thanks.
>
> *Dilan U. Ariyaratne*
> Software Engineer
> WSO2 Inc. 
> Mobile: +94775149066
> lean . enterprise . middleware
>



-- 
Dilshan Edirisuriya
Senior Software Engineer - WSO2
Mob: + 94 777878905
http://wso2.com/
https://www.linkedin.com/profile/view?id=50486426
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to send out an email notification from WSO2 product?

2015-01-22 Thread Johann Nallathamby
Hi Supun,

+1 for looking into the Notification Management feature and evaluating if
it supports your requirements. If it does not as it is, you may be able to
discuss your requirement and improve on it.

On Thu, Jan 22, 2015 at 11:29 AM, Hasintha Indrajee 
wrote:

> Hi Supun,
>
> We have Notification Management feature which we have newly implemented.
> It is light weight, simple and does not coupled to products. You may use it
> as per your requirements. Still we have not added this component to our
> repo and sooner we will be adding this (within few days).
>
> On Wed, Jan 21, 2015 at 6:16 PM, Supun Sethunga  wrote:
>
>> Hi,
>>
>> As per the offline discussion with Lasantha, In case of using CEP's
>> email-adaptor, to send an email, we have to configure sevent-treams,
>> event-formatters, create an event, and fire it. These seems to be some
>> additional configurations as ML doesn't work with events. I checked the
>> code for email-adapters in both ESB and IS as well, and both are tightly
>> coupled with their respective products, thus cannot be used in ML.
>>
>> I tried writing a generic email adapter component for ML (which is
>> reusable in any other product), and it is much more simpler and cleaner as
>> well. Is there any concerns regarding this, or can we go ahead with this
>> fresh email-adapter for ML?
>>
>> Thanks,
>> Supun
>>
>> On Mon, Jan 5, 2015 at 12:46 PM, Mohanadarshan Vivekanandalingam <
>> mo...@wso2.com> wrote:
>>
>>> Hi Supun,
>>>
>>> CEP contains an email output adaptor component which you can use for
>>> this purpose..
>>>
>>> @Lasantha, Is there anything you have written specifically for ML team ?
>>>
>>> On Mon, Jan 5, 2015 at 12:21 PM, Supun Sethunga  wrote:
>>>
 Hi,

 In the Product ML, we have a requirement of sending an email
 notification upon the completion of ML model creation process. Whats the
 preferred way of implementing this? Is there any component which has a
 similar functionality that is already in-use any of the products, that we
 can reuse?

 Regards,
 Supun

 --
 *Supun Sethunga*
 Software Engineer
 WSO2, Inc.
 lean | enterprise | middleware
 Mobile : +94 716546324

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


>>>
>>>
>>> --
>>> *V. Mohanadarshan*
>>> *Software Engineer,*
>>> *Data Technologies Team,*
>>> *WSO2, Inc. http://wso2.com  *
>>> *lean.enterprise.middleware.*
>>>
>>> email: mo...@wso2.com
>>> phone:(+94) 771117673
>>>
>>
>>
>>
>> --
>> *Supun Sethunga*
>> Software Engineer
>> WSO2, Inc.
>> lean | enterprise | middleware
>> Mobile : +94 716546324
>>
>> ___
>> 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
>
>


-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead & Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+9476950*
Blog - *http://nallaa.wordpress.com *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Invitation: Discussion on Building a Generic Configurable UI Gadget f... @ Wed Jan 21, 2015 3pm - 3:30pm (Damith Wickramasinghe)

2015-01-22 Thread Srinath Perera
Thanks Chanaka!

On Thu, Jan 22, 2015 at 11:05 AM, Chanaka Jayasena  wrote:

> Following are the mockups for the generic gadget that we talked about
> during the meeting. It starts with a static image and go through the
> configuration process to define the chart for the gadget.
>
> thanks,
> Chanaka
>
> On Wed, Jan 21, 2015 at 5:52 PM, Damith Wickramasinghe 
> wrote:
>
>> hi,
>>
>> Following are the meeting notes..
>>
>> - Decided to implement a generic gadget which can be used with UES 1.0.0
>> - Gadget will be implemented using html and javascript and save it in
>> registry. It will be added to UES dashboard using its format
>> - Every gadget will have following flow
>>Add data source --> select chart type ---> preview (which user can
>> create the selected chart type) ---> save --> user can edit the gadget
>> (more UX aspects to be discussed and added )
>>
>> Regards,
>> Damith.
>>
>>
>>
>> On Wed, Jan 21, 2015 at 11:04 AM, Damith Wickramasinghe > > wrote:
>>
>>> more details »
>>> 
>>> Discussion on Building a Generic Configurable UI Gadget for Analytics
>>> *When*
>>> Wed Jan 21, 2015 3pm – 3:30pm Colombo
>>> *Where*
>>> LK Trace Mezzanine Floor Bay 10 Board Room - Shire (map
>>> 
>>> )
>>> *Video call*
>>> https://plus.google.com/hangouts/_/wso2.com/discussion-on
>>> 
>>> *Calendar*
>>> Damith Wickramasinghe
>>> *Who*
>>> •
>>> Damith Wickramasinghe - organizer
>>> •
>>> Srinath Perera
>>> •
>>> Chanaka Jayasena
>>> •
>>> Dunith Dhanushka
>>> •
>>> dev@wso2.org
>>> •
>>> Sriskandarajah Suhothayan
>>>
>>> Going?   *Yes
>>> 
>>> - Maybe
>>> 
>>> - No
>>> *
>>> more options »
>>> 
>>>
>>> Invitation from Google Calendar 
>>>
>>> You are receiving this courtesy email at the account dev@wso2.org
>>> because you are an attendee of this event.
>>>
>>> To stop receiving future updates for this event, decline this event.
>>> Alternatively you can sign up for a Google account at
>>> https://www.google.com/calendar/ and control your notification settings
>>> for your entire calendar.
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Software Engineer
>> WSO2 Inc.; http://wso2.com
>> 
>> lean.enterprise.middleware
>>
>> mobile: *+94728671315 <%2B94728671315>*
>>
>>
>
>
> --
> Chanaka Jayasena
> Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
> email: chan...@wso2.com; cell: +94 77 785 5565
> blog: http://chanaka3d.blogspot.com
>



-- 

Blog: http://srinathsview.blogspot.com twitter:@srinath_perera
Site: http://people.apache.org/~hemapani/
Photos: http://www.flickr.com/photos/hemapani/
Phone: 0772360902
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [P2-Profile] Build error in P2-Profile-Gen

2015-01-22 Thread Roshan Deniyage
Hi Devs,
When I'm building appfactory's p2-profile-gen I get the following error.


Status ERROR: org.eclipse.equinox.p2.artifact.repository code=0 For input
string: "${imp" java.lang.NumberFormatException: For input string: "${imp"

Product publishing ended with the following exception:
java.lang.NumberFormatException: For input string: "${imp"


and

[ERROR] Failed to execute goal
org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on
project wso2appfactory-p2-profile: P2 publisher return code was 1 -> [Help
1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen
(2-p2-repo-generation) on project wso2appfactory-p2-profile: P2 publisher
return code was 1


Any idea, what's going wrong??


Thanks,
Roshan Deniyage
WSO2, Inc: http://wso2.com

Mobile:  +94 777636406
Twitter:  *https://twitter.com/roshku *
LinkedIn :  https://www.linkedin.com/in/roshandeniyage
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Fixed version dependencies & feature installation

2015-01-22 Thread Afkham Azeez
One more thing; now that we will no longer have the concept of a platform
version, how would we maintain the P2 repo?

On Thu, Jan 22, 2015 at 10:41 AM, Afkham Azeez  wrote:

> Sameera, Kishanthan et al
> Without a proper solution to this, fixed versions will not work when it
> comes to feature installation. We need to come up with a solution for this
> soon, and may be even do a kernel release to support this.
>
> On Fri, Jan 16, 2015 at 2:11 PM, Afkham Azeez  wrote:
>
>> We are all in agreement that it would be best to go with fixed version
>> dependencies when it comes to components & orbit bundles, rather than
>> depending on snapshots. This means, that two features living within the
>> same product, may depend on two versions of the same bundle. We have to
>> ensure that this works in order for our fixed dependency strategy to work.
>>
>> In the OSGi world, it is perfectly OK to have two different versions of
>> the same bundle. However, when it comes to Carbon, we have to solve the
>> following additional problems.
>>
>> 1. We need to be able to properly choose from which bundle and OSGi
>> service is linked when there are multiple versions of the same bundle which
>> expose the same OSGi service
>>
>> 2. Port binding - we have bundles that open ports. So, when there are two
>> bundles that try to open the same server socket, there will be issues. We
>> need to ensure that only one bundle opens the socket. Also, we need to
>> ensure that data from these sockets gets dispatched to the correct code.
>>
>> 3. Connecting & reading/writing to DBs - if there are multiple versions
>> of the same bundle, both may try to write conflicting entries to the DBs.
>> Need a strategy to ensure that only one bundle connects & reads/writes.
>>
>> Thoughts welcome.
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * *
>> *email: **az...@wso2.com* 
>> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
>> *http://blog.afkham.org* 
>> *twitter: **http://twitter.com/afkham_azeez*
>> 
>> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
>> *
>>
>> *Lean . Enterprise . Middleware*
>>
>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * *
> *email: **az...@wso2.com* 
> * cell: +94 77 3320919 <%2B94%2077%203320919>blog: *
> *http://blog.afkham.org* 
> *twitter: **http://twitter.com/afkham_azeez*
> 
> *linked-in: **http://lk.linkedin.com/in/afkhamazeez
> *
>
> *Lean . Enterprise . Middleware*
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* *
*email: **az...@wso2.com* 
* cell: +94 77 3320919blog: **http://blog.afkham.org*

*twitter: **http://twitter.com/afkham_azeez*

*linked-in: **http://lk.linkedin.com/in/afkhamazeez
*

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


[Dev] NPE thrown when login in with admin user with incorrect password

2015-01-22 Thread Bhathiya Jayasekara
Hi Carbon team,

We experienced $subject while SS 1.5.0 QA testings. I moved jira[1] to
carbon.

[1] https://wso2.org/jira/browse/CARBON-15140

Thanks,

-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com *

*Phone: +94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
*
*Twitter: https://twitter.com/bhathiyax *
*Blog: http://movingaheadblog.blogspot.com
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] SS 1.5.0 test plan

2015-01-22 Thread Nuwan Silva
Hi All,

We are currently testing SS 150 with [1]. Can you go through this plan and
comment on the areas that need to improve.

[1]
https://docs.google.com/a/wso2.com/spreadsheet/ccc?key=0Alq-9_6u4dFydDRQeEhRazF5R0FKTnYxd24zbm1vMEE#gid=1

Regards,
NuwanS.
-- 


*Nuwan Silva*
*Senior Software Engineer - QA*
Mobile: +9477 980 4543

WSO2 Inc.
lean . enterprise . middlewear.
http://www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [IS] Tomcat valve to get service providers and auth types

2015-01-22 Thread Lasitha Wattaladeniya
Hi Chamin,

I think you can access the authentication type via request parameters,
request.getParameter("type") this will return the relevant authentication
type.



On Wed, Jan 21, 2015 at 4:31 PM, Chamin Nalinda  wrote:

> Hi all,
>
> I'm developing a tomcat valve to get service providers and obtain relevant
> authentication types. Please do refer [Architecture] IS statistics
> dashboard in architecture mailing  for more details.
>
> I tried using "httpServletRequest.getAuthType();" to get corresponding
> authentication type for travelocity.  It returned null value. I would be
> glad if you could guide me on this.
>
> Regards !!!
>
> --
> *Chamin Nalinda*
>
> Intern - Engineering
> WSO2 Inc. http://www.wso2.com
> lean.enterprise.middleware
>
> Mobile: (+94) 77 241 66 04
> Linkedin: https://www.linkedin.com/in/chaminnalinda
> Web: http://www.ckreativity.com
> Blog: http://techspiro.blogspot.com/
>
>
> ___
> 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] Reducing Server startup logs printed from ES

2015-01-22 Thread Sameera Jayaratna
Hi,

Changes done to the start up logs are completed and pushed in to wso2 repo.

Regards,
Sameera

On Tue, Jan 20, 2015 at 11:19 AM, Sameera Jayaratna 
wrote:

> Hi,
>
> Will do. I will go through them and move into appropriate log levels.
>
> Regards,
> Sameera
>
>
>
> On Tue, Jan 20, 2015 at 11:14 AM, Ruchira Wageesha 
> wrote:
>
>> Hi SameeraJ,
>>
>> Can you please fix these logs?
>>
>> /Ruchira
>>
>> On Tue, Jan 20, 2015 at 8:23 AM, Sagara Gunathunga 
>> wrote:
>>
>>>
>>> HTH
>>> http://www.javacodegeeks.com/2011/01/10-tips-proper-application-logging.html
>>>
>>> Thanks !
>>>
>>>
>>> On Tue, Jan 20, 2015 at 8:18 AM, Sagara Gunathunga 
>>> wrote:
>>>

 Hi ES team,

 Please review this log with Ruchira and properly separate INFO/DEBUG
 logs, I have in-lined commented some of the places which we need to use
 DEBUG.

 On Mon, Jan 19, 2015 at 2:54 PM, Pulasthi Supun 
 wrote:

> Hi All,
>
> During Greg server startup we are observing a large amount of store
> and jaggery related logs. I think most of them can be moved to be DEBUG.
> There are also a lot of WARN messages, is it possible to reduce them as
> well.
>
>
>
>
> [greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/webapps/resource.war]
> [2015-01-19 14:35:07,388]  INFO
> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
> webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-bam].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-bam]
> [2015-01-19 14:35:07,437]  INFO
> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
> webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/greg-impact].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/greg-impact]
> [2015-01-19 14:35:07,482]  INFO
> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
> webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapipublisher].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapipublisher]
> [2015-01-19 14:35:07,526]  INFO
> {org.jaggeryjs.jaggery.app.mgt.TomcatJaggeryWebappsDeployer} -  Deployed
> webapp:
> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/productapistore].File[/home/pulasthi/wso2/gitsource/gregwso2/product-greg/modules/distribution/target/wso2greg-5.0.0-SNAPSHOT/repository/deployment/server/jaggeryapps/productapistore]
>

 IMO following section should go to DEBUG level.

 [2015-01-19 14:35:08,199]  INFO {JAGGERY.config.app:js} -  Emitting
> event : tenantLoad
> [2015-01-19 14:35:08,204]  INFO {JAGGERY.config.app:js} -  Emitting
> event : tenantCreate
> [2015-01-19 14:35:08,398]  INFO {rxt.core} -  RXT paths:
> ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/ebook.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/endpoint.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/gadget.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/policy.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/provider.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/proxy.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/schema.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/sequence.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/service.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/servicex.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/site.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/uri.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/wadl.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/wsdl.rxt"]
> [2015-01-19 14:35:08,686]  INFO {rxt.core} -  RXT paths:
> ["/_system/governance/repository/components/org.wso2.carbon.governance/types/api.rxt",
> "/_system/governance/repository/components/org.wso2.carbon.governance/types/documentation.rxt",
> "/_system/govern