Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-03 Thread Sanjeewa Malalgoda
When we provide OOB security handlers ideally they should build authentication context and pass that information throughout execution flow. Please have a look at on this[1]. [1] http://docs.spring.io/spring-security/site/docs/current/apidocs/org/springframework/security/core/context/SecurityContex

[Dev] [DEV][MSF4J] Is it possible to expose a method to get introspect endpoint response in OAuthSecurityInterceptor

2016-11-03 Thread Ishara Cooray
For API Manager Rest API scope validation we need to get the scops from the introspect endpoint response. Current implementation of OAuthSecurityInterceptor does token validation and only return the status of the access token. In order to do the scope validation we are planning to extend this OAu

Re: [Dev] Shall we change the convention for placement of DB Query String in Java Code.

2016-11-03 Thread Lahiru Cooray
On Thu, Nov 3, 2016 at 10:57 AM, Maduranga Siriwardena wrote: > Hi Ruwan, > > Having the SQL query in the method itself improves the readability. > > However in C4 usercore and C5 user store connector current implementation, > we have the SQL queries in a central place and load it to a map at the

Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-03 Thread Thusitha Thilina Dayaratne
Hi Sanjeewa, I didn't get the exact point that you mentioned. Could you please elaborate what we need to do from MSF4J side to cater the requirement? Thanks Thusitha On Thu, Nov 3, 2016 at 5:46 PM, Sanjeewa Malalgoda wrote: > Hi Azeez, Thusitha, > Shouldn't we build a authentication context o

Re: [Dev] [Analytics-APIM]TemplateManager AdminService failures during tests integration

2016-11-03 Thread Fazlan Nazeem
Hi Dilini, Thanks for the solution. That worked. On Thu, Nov 3, 2016 at 10:00 PM, Dilini Muthumala wrote: > Hi Fazlan, > > In earlier versions of TemplateManagerAdminService >

[Dev] uuf-maven archetypes updated with project structure changes

2016-11-03 Thread Kishanthan Thangarajah
We have updated the uuf archetypes (app, component and theme) to reflect and generate the projects directory structure changes. You can use the m6/SNAPSHOT release to get the latest changes of these archetypes. mvn archetype:generate -DarchetypeVersion=1.0.0-SNAPSHOT -DarchetypeGroupId=org.wso2.ca

Re: [Dev] [Analytics-APIM]TemplateManager AdminService failures during tests integration

2016-11-03 Thread Dilini Muthumala
Hi Fazlan, In earlier versions of TemplateManagerAdminService , saveConfiguration operation served the purposes of creating a

Re: [Dev] [UUF] How to do i18n with UUF?

2016-11-03 Thread Udara Rathnayake
On Thu, Nov 3, 2016 at 7:14 PM, Thusitha Kalugamage wrote: > Hi Ruwan, > > I think it is decided by the Browser locale, > Not sure about it's implementation. > @Udara? > ​You are correct Thusitha. We are using the HTTP Accept-Language header​ ​and the maximum quality value to determine the local

[Dev] WSO2 Identity Server 5.3.0 Alpha Released !!

2016-11-03 Thread Pulasthi Mahawithana
The WSO2 Identity Server team is pleased to announce the release of WSO2 Identity Server 5.3.0 Alpha. You can download this distribution from following locations. Runtime : https://github.com/wso2/product-is/releases/tag/v5.3.0-alpha Analytics : https://github.com/wso2/analytics-is/releases/tag/v

[Dev] [Analytics-APIM]TemplateManager AdminService failures during tests integration

2016-11-03 Thread Fazlan Nazeem
Hi all, We are seeing the following exception during integration tests for analytics-apim when upgraded to carbon-analytics-common 5.1.3. I see there has been a change in the TemplateManagerAdminServceStub wsdl[1] which relates to this. Any idea on how we could solve this? ERROR [org.wso2.analyt

Re: [Dev] [UUF] How to do i18n with UUF?

2016-11-03 Thread Thusitha Kalugamage
Hi Ruwan, I think it is decided by the Browser locale, Not sure about it's implementation. @Udara? Regards, On Thu, Nov 3, 2016 at 6:55 PM, Ruwan Abeykoon wrote: > Hi Thusitha, > Thank you. It works! > > What triggers change of the language bundle? is it a system property or > the browser loca

Re: [Dev] [UUF] How to do i18n with UUF?

2016-11-03 Thread Ruwan Abeykoon
Hi Thusitha, Thank you. It works! What triggers change of the language bundle? is it a system property or the browser locale? Cheers, Ruwan On Thu, Nov 3, 2016 at 6:20 PM, Thusitha Kalugamage wrote: > Hi Ruwan, > > You can refer the sample that is with carbon-uuf [1] > Inside [2] you'll find

Re: [Dev] [UUF] How to do i18n with UUF?

2016-11-03 Thread Thusitha Kalugamage
Hi Ruwan, You can refer the sample that is with carbon-uuf [1] Inside [2] you'll find file called en_US.properties. This is the property file which you can use to store keys and values of keywords or messages which written in English. You can put key values pairs as below. : *Ex:- pets-store.all

Re: [Dev] [UUF] How to do i18n with UUF?

2016-11-03 Thread Lasantha Samarakoon
+ Udara *Lasantha Samarakoon* | Software Engineer WSO2, Inc. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 (71) 214 1576 Email: lasant...@wso2.com Web:www.wso2.com lean . enterprise . middleware On Thu, Nov 3, 2016 at 5:47 PM, Ruwan Abeykoon wrote: > Hi Devs, > What is the recommende

[Dev] [UUF] How to do i18n with UUF?

2016-11-03 Thread Ruwan Abeykoon
Hi Devs, What is the recommended way for $subject Cheers, Ruwan ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-03 Thread Sanjeewa Malalgoda
Hi Azeez, Thusitha, Shouldn't we build a authentication context once request pass through authentication interceptor? Usually web services frameworks do that. And most of the time they let users to build authentication context and users context so they can access some of those in application implem

Re: [Dev] Dependencies get missed from the msf4j

2016-11-03 Thread Afkham Azeez
Yes we removed Swagger because it increases the dependency size by about 5MB (double the size). So take a look at the stockquote sample and add the relevant swagger deps to the pom. On Thu, Nov 3, 2016 at 5:24 PM, Tharindu Dharmarathna wrote: > Hi All, > > In APIM C5 we are going to update the m

[Dev] Dependencies get missed from the msf4j

2016-11-03 Thread Tharindu Dharmarathna
Hi All, In APIM C5 we are going to update the msf4j version into 2.1.0 when we going to build it using that version we got following dependencies which used in 2.0.0 get missed in 2.1.0. Is there any error we had done ?. *Dependency tree while using 2.0.0.* +- org.wso2.msf4j:msf4j-core:jar:2.0.

Re: [Dev] Fwd: [DEV][C5] How to access the REST API Request properties

2016-11-03 Thread Ishara Cooray
Thanks Thusitha. FI following info could be found as request properties. ​ ​ Also the token info could be found in Token introspection response Thanks & Regards, Ishara Cooray Senior Software Engineer Mo

Re: [Dev] [VOTE] Release WSO2 MSF4J 2.1.0 RC3

2016-11-03 Thread Thusitha Thilina Dayaratne
Hi Devs, Thank you for testing the MSF4J 2.1.0 RC3. This vote is passed with 3 +1s and 0 -1s. Therefore we will proceed with the MSF4J 2.1.0 release. Best Regards Thusitha On Thu, Nov 3, 2016 at 2:17 PM, Nisala Nanayakkara wrote: > Hi Thusitha, > > I have tested following samples. > >- Hel

Re: [Dev] Token generation through user details retriveal from DB or REST API

2016-11-03 Thread Hanen Ben Rhouma
Thanks Gayan, I followed the blog entry but now I'm receiving another kind of error related to domain name: [2016-11-03 09:50:15,556] ERROR {org.wso2.carbon.identity.user.store.configuration.UserStoreConfigAdminService} - Error occurred during the transformation process of C:\Users\rhoumah\DOCU

Re: [Dev] [VOTE] Release WSO2 MSF4J 2.1.0 RC3

2016-11-03 Thread Thanuja Uruththirakodeeswaran
[x] Stable - go ahead and release Verified below samples: 1. Helloworld 2. Metrics 3. Petstore with docker compose Thanks. On Tue, Nov 1, 2016 at 11:53 AM, SajithAR Ariyarathna wrote: > Hi All, > > I have tested > >- Dynamically registering microservices > > It works fine for above case. >

Re: [Dev] Issue while mapping the element from the salesforce query response using datamapper mediator on dev-tooling

2016-11-03 Thread Hariprasath Thanarajah
Hi All, When I debug the code I have found something as below, If there is no prefix for the namespace then from the below code[1] it manually puts axis2ns1 as the prefix in the created schema. That's the reason I got the above error. But when I remove the part[1] from the tooling and generate th