[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Products 4.0.6 > #32 was SUCCESSFUL (with 18 tests). Change made by hasithah and dushan.

2013-01-09 Thread Bamboo
--- WSO2 Carbon 4.0.x > Products 4.0.6 > #32 was successful. --- Code has been updated by hasithah, dushan. 18 tests in total. http://wso2.org/bamboo/browse/WCB0

Re: [Dev] Carbon Kernal build error any idea?

2013-01-09 Thread Malaka Silva
Hi Chamara, I had this problem earlier. But it was solved after taking an update from SVN and building the patch releases 4.0.6 of Orbit, Kernel and Platform Best Regards, Malaka On Thu, Jan 10, 2013 at 11:11 AM, Chamara Ariyarathne wrote: > This occurred to me too.. > > On Thu, Jan 3, 2013 a

Re: [Dev] Implementation of the REST API on G-Reg

2013-01-09 Thread Senaka Fernando
Hi Ragu, OAuth is not strictly a part of IS according to my understanding. It is a reusable component in our platform, and we should be able to make use of it without much of a hassle. Thanks, Senaka. On Thu, Jan 10, 2013 at 11:16 AM, Sriragu Arudsothy wrote: > Hai Senaka, > >

Re: [Dev] Implementation of the REST API on G-Reg

2013-01-09 Thread Sriragu Arudsothy
Hai Senaka, OAuth not yet implemented. I will do that first. I think OAuth is mainly implemented in IS. I think I have to implement the integration part of the OAuth to the rest api. Please tell me your ideas how can I approach this situation? What else I need to be considered wh

Re: [Dev] Carbon Kernal build error any idea?

2013-01-09 Thread Chamara Ariyarathne
This occurred to me too.. On Thu, Jan 3, 2013 at 4:42 PM, Malaka Silva wrote: > [DEBUG] Looking up lifecyle mappings for packaging jar from > ClassRealm[project>org.wso2.carbon:carbon:4.0.0, parent: > ClassRealm[maven.api, parent: null]] > [ERROR] The build could not read 1 project -> [Help 1] >

Re: [Dev] Implementation of the REST API on G-Reg

2013-01-09 Thread Senaka Fernando
Hi Ragu, Is OAuth based security implemented for this? If not, lets do that first. Once done, lets have a review of the design and the code. Next step would be to document the entire API and provide some sample(s) explaining how this can be used. Thanks, Senaka. On Thu, Jan 10, 2013 at 10:13 AM,

Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'

2013-01-09 Thread Dulanja Liyanage
Thanks Azeez and Shariq for the inputs :) On Thu, Jan 10, 2013 at 10:25 AM, Afkham Azeez wrote: > > > On Thu, Jan 10, 2013 at 10:14 AM, Muhammed Shariq wrote: > >> On Thu, Jan 10, 2013 at 10:01 AM, Afkham Azeez wrote: >> >>> However, in cases where you are sure that the ThreadLocal CC is >>> a

Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'

2013-01-09 Thread Afkham Azeez
On Thu, Jan 10, 2013 at 10:14 AM, Muhammed Shariq wrote: > On Thu, Jan 10, 2013 at 10:01 AM, Afkham Azeez wrote: > >> However, in cases where you are sure that the ThreadLocal CC is >> available, you must use getThreadLocalCarbonContext because that method is >> much more efficient than getCarbo

Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'

2013-01-09 Thread Muhammed Shariq
On Thu, Jan 10, 2013 at 10:01 AM, Afkham Azeez wrote: > However, in cases where you are sure that the ThreadLocal CC is available, > you must use getThreadLocalCarbonContext because that method is much more > efficient than getCarbonContext. What I feel is, we should ensure that > every thread co

[Dev] Implementation of the REST API on G-Reg

2013-01-09 Thread Sriragu Arudsothy
Hai All, The REST API currently implemented as a web - application. The web application get an remote registry instance to access the registry components. The current implementation does the necessary resource related operations using the instance of the remote registry. eg( adding com

Re: [Dev] P2 Category re-factoring by introducing sub-categories

2013-01-09 Thread Subash Chaturanga
On Mon, Jan 7, 2013 at 9:42 PM, Dileepa Jayakody wrote: > Hi All, > > Continuing the previous discussions we had on re-factoring P2-feature > categories to achieve fine-grained sub-level groupings of features under > products, we decided to introduce new composite-features corresponding to > sub-

Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'

2013-01-09 Thread Afkham Azeez
However, in cases where you are sure that the ThreadLocal CC is available, you must use getThreadLocalCarbonContext because that method is much more efficient than getCarbonContext. What I feel is, we should ensure that every thread contains the ThreadLocal CC, which means we will no longer need th

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Platform 4.0.6 > #31 was SUCCESSFUL (with 888 tests). Change made by suho.

2013-01-09 Thread Bamboo
--- WSO2 Carbon 4.0.x > Platform 4.0.6 > #31 was successful. --- Code has been updated by suho. 888 tests in total. http://wso2.org/bamboo/browse/WCB001-PLA006-3

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Products 4.0.6 > #31 was SUCCESSFUL (with 18 tests). Change made by suho.

2013-01-09 Thread Bamboo
--- WSO2 Carbon 4.0.x > Products 4.0.6 > #31 was successful. --- Code has been updated by suho. 18 tests in total. http://wso2.org/bamboo/browse/WCB001-PRO006-31

Re: [Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Platform 4.0.6 > #30 has FAILED (1 tests failed, no failures were new). Change made by hasithah and dushan.

2013-01-09 Thread Sriskandarajah Suhothayan
On Wed, Jan 9, 2013 at 9:38 PM, Amila Maha Arachchi wrote: > Hi Suho, > > multipleDefnConversionFromJSON test is failing. Please have a look. > > Thanks, I have fixed it. Suho > On Wed, Jan 9, 2013 at 9:22 PM, Bamboo wrote: > >> [image: Failed] WSO2 Carbon >> 4.0.x

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Products 4.0.6 > #30 was SUCCESSFUL (with 18 tests). Change made by hasithah and dushan.

2013-01-09 Thread Bamboo
--- WSO2 Carbon 4.0.x > Products 4.0.6 > #30 was successful. --- Code has been updated by hasithah, dushan. 18 tests in total. http://wso2.org/bamboo/browse/WCB0

Re: [Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Platform 4.0.6 > #30 has FAILED (1 tests failed, no failures were new). Change made by hasithah and dushan.

2013-01-09 Thread Amila Maha Arachchi
Hi Suho, multipleDefnConversionFromJSON test is failing. Please have a look. On Wed, Jan 9, 2013 at 9:22 PM, Bamboo wrote: > [image: Failed] WSO2 Carbon > 4.0.x› Platform > 4.0.6 › > #30

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Platform 4.0.6 > #30 has FAILED (1 tests failed, no failures were new). Change made by hasithah and dushan.

2013-01-09 Thread Bamboo
--- WSO2 Carbon 4.0.x > Platform 4.0.6 > #30 failed. --- Code has been updated by hasithah, dushan. 1/888 tests failed, no failures were new. http://wso2.org/bam

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Products 4.0.6 > #29 was SUCCESSFUL (with 18 tests). Change made by hasithah, reka and thilini.

2013-01-09 Thread Bamboo
--- WSO2 Carbon 4.0.x > Products 4.0.6 > #29 was successful. --- Code has been updated by hasithah, reka, thilini. 18 tests in total. http://wso2.org/bamboo/brow

[Dev] [Bamboo-Build] WSO2 Carbon 4.0.x > Platform 4.0.6 > #29 has FAILED (1 tests failed, no failures were new). Change made by hasithah, reka and thilini.

2013-01-09 Thread Bamboo
--- WSO2 Carbon 4.0.x > Platform 4.0.6 > #29 failed. --- Code has been updated by hasithah, reka, thilini. 1/888 tests failed, no failures were new. http://wso2.

Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'

2013-01-09 Thread Muhammed Shariq
On Wed, Jan 9, 2013 at 4:19 PM, Dimuthu Leelarathne wrote: > Hi Dulanja, > > It is correct to use CurrentCarbonContext instead of > ThreadLocalCarbonContext. You can read the mail titled "UserRegistry sends > null to JDBCAuthorizationManager" from archives. Basically this is the > code that finds

Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'

2013-01-09 Thread Dulanja Liyanage
Hi Dimuthu, Thanks a lot for the explanation and pointing to the mail thread. Regards, Dulanja On Wed, Jan 9, 2013 at 4:19 PM, Dimuthu Leelarathne wrote: > Hi Dulanja, > > It is correct to use CurrentCarbonContext instead of > ThreadLocalCarbonContext. You can read the mail titled "UserRegistry

Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'

2013-01-09 Thread Dimuthu Leelarathne
Hi Dulanja, It is correct to use CurrentCarbonContext instead of ThreadLocalCarbonContext. You can read the mail titled "UserRegistry sends null to JDBCAuthorizationManager" from archives. Basically this is the code that finds you the correct CurrentCarbonContext. So correct thing is to first ge

Re: [Dev] PrivilegedCarbonContext.getThreadLocalCarbonContext().getUsername() returns 'null'

2013-01-09 Thread Dulanja Liyanage
Hi, Appreciate if you can guide me whether it's safe/appropriate to use the CurrentContext rather than the ThreadLocalCarbonContext, to get the username and tenant domain. I'm not much knowledgeable about the design, but I feel using it will be "plastering" the root cause. Thanks, Dulanja On We