Re: [Dev] [UUF] Common "OnGet" method for all requests for a particular app

2017-02-04 Thread Shan Mahanama
Hi Rajith, We can use modules for reusable js codes. Please refer modules sample in the Features app[1]. So in your case, I think we can add the *onGet* function to a module since it is reusable and include that module in all the js files where you want to perform this check. [1]

[Dev] [UUF] Common "OnGet" method for all requests for a particular app

2017-02-04 Thread Rajith Roshan
Hi Devs, I have written a logic to check for a cookie[1] when /publisher context is requested. It will hit the OnGet method of index.js of publisher app. But I need to perform this logic for all requests like /publisher/apis, /publisher/create and etc. I can not copy the same logic to all js

Re: [Dev] SCIM User Add Operation in C5

2017-02-04 Thread Gayan Gunawardana
On Sun, Feb 5, 2017 at 10:27 AM, Johann Nallathamby wrote: > > > On Sun, Feb 5, 2017 at 9:41 AM, Gayan Gunawardana wrote: > >> Hi All, >> >> Conclusion is avoid adding multiple users with same user name from SCIM >> [1]. >> According to *Unique Attribute

Re: [Dev] SCIM User Add Operation in C5

2017-02-04 Thread Chamila Wijayarathna
Hi all, Can someone point me to a resource/mail to get further details about the duplicate username feature? Thank You! On Sun, Feb 5, 2017 at 3:57 PM, Johann Nallathamby wrote: > > > On Sun, Feb 5, 2017 at 9:41 AM, Gayan Gunawardana wrote: > >> Hi All, >> >>

Re: [Dev] [G-Reg][BUG] Can not add a new RXT in the latest greg build

2017-02-04 Thread Thushara Kasun Ranawaka
Hi Devs, I was able to identify the root cause. This issue is introduced by this[1] PR which is also collaborating with this[2]. There was a missing validation check in [1] PR which is causing the issue. Please find the fixed PR[3]. [1] - https://github.com/wso2/carbon-governance/pull/268 [2] -

Re: [Dev] SCIM User Add Operation in C5

2017-02-04 Thread Johann Nallathamby
On Sun, Feb 5, 2017 at 9:41 AM, Gayan Gunawardana wrote: > Hi All, > > Conclusion is avoid adding multiple users with same user name from SCIM > [1]. > According to *Unique Attribute *concept Ishara mentioned even though user > core support, having multiple users with same user

[Dev] [G-Reg][BUG] Can not add a new RXT in the latest greg build

2017-02-04 Thread Thushara Kasun Ranawaka
Hi Devs, Created a jira[1] for the subject. [1] - https://wso2.org/jira/browse/REGISTRY-3910 Thanks, Thushara ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] SCIM User Add Operation in C5

2017-02-04 Thread Gayan Gunawardana
Hi All, Conclusion is avoid adding multiple users with same user name from SCIM [1]. According to *Unique Attribute *concept Ishara mentioned even though user core support, having multiple users with same user name we should not do that. If we duplicate username even in user core level there are