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

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

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

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

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

[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

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

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

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

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

[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

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

[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.* +-

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

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

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

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

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

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

2016-11-03 Thread Ishara Cooray
Hi, With regard to C5 implementation, i need to get api request properties such as Message.BASE_PATH, Message.PATH_INFO, Message.HTTP_REQUEST_METHOD for scope validation of a rest api call. In Interceptor interface we have precall method which i can use to get above information. public boolean

Re: [Dev] [APIM][CORS] Caching preflight response in API Console

2016-11-03 Thread Joseph Fonseka
+1 to merge the fix to carry this forward better if we can add this to the publisher UI as well. Thanks Jo On Thu, Nov 3, 2016 at 11:28 AM, Abimaran Kugathasan wrote: > Hi Dev, > > CORS specification allows caching the preflight response for a certain > number of seconds

[Dev] [APIM][CORS] Caching preflight response in API Console

2016-11-03 Thread Abimaran Kugathasan
Hi Dev, CORS specification allows caching the preflight response for a certain number of seconds through Access-Control-Max-Age header [1] . Some browsers have this feature by default which overrides this header if the value specified is greater than their value[2] Firefox - 24 hours Chrome -