Re: [Dev] [Appfactory] Upgrade the jaggary version used in AF

2013-05-19 Thread Ramith Jayasinghe
Hi Manu, it seems https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/dependencies/jaggery/0.9.0.ALPHA2-wso2v6 contains pom.xml with a version : 0.9.0.ALPHA3-wso2v6 that seems incorrect. regards Ramith. On Fri, May 17, 2013 at 6:44 PM, Manuranga Perera wrote: > please update to lat

Re: [Dev] How to manage DB vendor specific syntax

2013-05-19 Thread Venura Kahawala
Hi, Thanks for the information. Regards, Venura On Mon, May 20, 2013 at 10:25 AM, Prabath Abeysekera wrote: > Hi Venura, > > IMO, this is a bit tricky question to answer as there can be a lot of > factors we would have to consider when it comes to finding a proper > solution to this problem as

[Dev] Identifying the tenant domain when user tries to login using email in MT mode.

2013-05-19 Thread Vijayaratha Vijayasingam
Hi all; We have feature, which enables user to login using his email. If that user is a tenant and if he tries to login using his email, how we identify the tenant domain? eg: user testUser has an email, testu...@yahoo.com, and he is a tenant with domain, foo.com. If he tries to login the system a

Re: [Dev] Carbon context created while tenant API invocation seems wrong

2013-05-19 Thread Sanjeewa Malalgoda
On Fri, May 17, 2013 at 4:44 PM, Afkham Azeez wrote: > > > On Fri, May 17, 2013 at 12:11 PM, Sanjeewa Malalgoda wrote: > >> >> >> On Fri, May 17, 2013 at 12:09 PM, Afkham Azeez wrote: >> >>> >>> >>> On Fri, May 17, 2013 at 11:59 AM, Afkham Azeez wrote: >>> On Fri, May 17, 2013 at

Re: [Dev] How to manage DB vendor specific syntax

2013-05-19 Thread Prabath Abeysekera
Hi Venura, IMO, this is a bit tricky question to answer as there can be a lot of factors we would have to consider when it comes to finding a proper solution to this problem as even the problem itself can vary depending on the requirements. Because, as we all know, eventhough SQL is a standard, ce

Re: [Dev] REST Call to get the Access token from API manager

2013-05-19 Thread Nuwan Bandara
Hi Ragu, I am not sure everybody is on agreement of whats the right way of providing API Management for {X} WSO2 Product. Lets try to setup a meeting on this and come to an agreement of whats the best way this has to be done. This is not something specific to GREG any WSO2 product will come with a

Re: [Dev] REST Call to get the Access token from API manager

2013-05-19 Thread Nuwan Dias
Hi Ragu, At the time of calling the API do you know the consumer key and consumer secret? If these are known, then you can use the /token API for getting the access token. If these are not known, then you can generate them once per application through the jag endpoint and use it for consequent API

Re: [Dev] How to manage DB vendor specific syntax

2013-05-19 Thread Ajith Vitharana
Hi Venura, You can find such a query handling based on database type in registry core. String dbProductName = conn.getMetaData().getDatabaseProductName(); String sql; // If SQL Server or SQL Server Express. if (dbProductName.contains("Microsoft")) {

Re: [Dev] How to manage DB vendor specific syntax

2013-05-19 Thread Venura Kahawala
Hi Supun, Thanks for the reply, But the script files you mentioned contains the scripts which will be used for table creation. But what I'm referring to is scripts which will be used for database querying such as select statements (within the java code) Appreciate any help. Regards, venura On

Re: [Dev] [Urgent][API Manager] Issue when we deploy API to other server

2013-05-19 Thread Afkham Azeez
On Mon, May 20, 2013 at 8:04 AM, Supun Malinga wrote: > Hi Guys, > > For C5 I think we need to permanently fix the CC related issues. This > includes both the API related issues we have and the user level issues that > pops up time to time like this. Please make sure we achieve that. > This can'

Re: [Dev] [Urgent][API Manager] Issue when we deploy API to other server

2013-05-19 Thread Supun Malinga
Hi Guys, For C5 I think we need to permanently fix the CC related issues. This includes both the API related issues we have and the user level issues that pops up time to time like this. Please make sure we achieve that. thanks, On Tue, May 14, 2013 at 6:14 PM, Sanjeewa Malalgoda wrote: > This

Re: [Dev] User manager in trunk

2013-05-19 Thread Eranda Sooriyabandara
Hi Vijitha, If you merge the branch to the trunk then you have to adopt the changes of user manager, which introduced for multiple user stores. You can change according to that user manager API and avoid these compilation errors. thanks Eranda On Mon, May 20, 2013 at 7:23 AM, Vijitha Kumara wro

Re: [Dev] How to manage DB vendor specific syntax

2013-05-19 Thread Supun Malinga
Hi Venura, AFAIK we don't have a normalized script or syntax. What we do is migrate the changes to each db script manually. [1] https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.1.0/distribution/kernel/4.1.0/carbon-home/dbscripts/ thanks, On Thu, May 16, 2013 at 2:17 PM, Venura Kahawala

Re: [Dev] REST Call to get the Access token from API manager

2013-05-19 Thread Supun Malinga
Hi Ragu, Could you tell the requirement you are trying to achieve here?. The key generation from the store should be a one time thing AFAIU. After that you have /token API to generate access tokens and renew those tokens upon expiery. Generally what users do is access the store from UI and genera

[Dev] User manager in trunk

2013-05-19 Thread Vijitha Kumara
Is $Subject updated to latest from branch? I get below error while merging some components from 4.1.0 branch. Can we fix this soon? [ERROR] /home/vijitha/Src-Repo/carbon/platform/trunk/components/governance/org.wso2.carbon.governance.gadgets.ui/src/main/java/org/wso2/carbon/governance/gadgets/ui

Re: [Dev] REST Call to get the Access token from API manager

2013-05-19 Thread Sriragu Arudsothy
hai All, Sumedha, What am I doing is that I am calling the access token generation REST endpoint from Greg. Here the API manager is running as an another instance, When a user clicks a menu item from Greg management console, it will call the Token generation REST endpoi

Re: [Dev] REST Call to get the Access token from API manager

2013-05-19 Thread Dinusha Senanayaka
On Mon, May 20, 2013 at 12:47 AM, Sriragu Arudsothy wrote: > Hai all, > > I have used the following REST call to generate the access token > from API manager. > > > http://127.0.0.1:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag?action=generateApplicationK

Re: [Dev] REST Call to get the Access token from API manager

2013-05-19 Thread Prabath Siriwardena
Why are you calling store to generate the access token..? i guess you need to use the token endpoint from the API Gateway.. Thanks & regards, -Prabath On Mon, May 20, 2013 at 12:47 AM, Sriragu Arudsothy wrote: > Hai all, > > I have used the following REST call to generate the access t

[Dev] REST Call to get the Access token from API manager

2013-05-19 Thread Sriragu Arudsothy
Hai all, I have used the following REST call to generate the access token from API manager. http://127.0.0.1:9763/store/site/blocks/subscription/subscription-add/ajax/subscription-add.jag?action=generateApplicationKey&keytype=Bearer&callbackUrl=&authorizedDomains=All&application=Registr

Re: [Dev] Data publisher publish method wait forever without publishing.

2013-05-19 Thread Sriskandarajah Suhothayan
On Sun, May 19, 2013 at 11:19 PM, Kasun Weranga wrote: > > > > On Sun, May 19, 2013 at 9:32 PM, Sriskandarajah Suhothayan > wrote: > >> This can occur if you are passing Agent into the data-publisher when >> initializing the data-publisher. Currently we have improved the code in >> such away tha

Re: [Dev] [Build failure in Branch] Human Task Stub fails

2013-05-19 Thread Subash Chaturanga
On Sun, May 19, 2013 at 10:30 PM, Nandika Jayawardana wrote: > Looks like I missed committing the wsdls. Fixed now. > Thanks Nandika, Will take the update. > > Regards > Nandika > > On Sun, May 19, 2013 at 9:59 PM, Subash Chaturanga wrote: > >> Hi >> Seems 4.1.2 bundle does not included with the

Re: [Dev] Data publisher publish method wait forever without publishing.

2013-05-19 Thread Kasun Weranga
On Sun, May 19, 2013 at 9:32 PM, Sriskandarajah Suhothayan wrote: > This can occur if you are passing Agent into the data-publisher when > initializing the data-publisher. Currently we have improved the code in > such away that you don’t need to pass the Agent object at all. If you pass > the agen

Re: [Dev] [Build failure in Branch] Human Task Stub fails

2013-05-19 Thread Nandika Jayawardana
Looks like I missed committing the wsdls. Fixed now. Regards Nandika On Sun, May 19, 2013 at 9:59 PM, Subash Chaturanga wrote: > Hi > Seems 4.1.2 bundle does not included with the WSDL. Please commit the new > WSDL. > > > ] Building WSO2 Carbon - HumanTask Stub 4.1.2 > [INFO] >

[Dev] [Build failure in Branch] Human Task Stub fails

2013-05-19 Thread Subash Chaturanga
Hi Seems 4.1.2 bundle does not included with the WSDL. Please commit the new WSDL. ] Building WSO2 Carbon - HumanTask Stub 4.1.2 [INFO] [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.wso2.carbon.human

Re: [Dev] Data publisher publish method wait forever without publishing.

2013-05-19 Thread Sriskandarajah Suhothayan
This can occur if you are passing Agent into the data-publisher when initializing the data-publisher. Currently we have improved the code in such away that you don’t need to pass the Agent object at all. If you pass the agent then is might lead to an error condition If that is not the case then we

[Dev] [Stratos2] Why a user need to provide an "alias" when he wants to subscribe to a multi-tenant Cartridge?

2013-05-19 Thread Nirmal Fernando
$Subject? -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] WkaBasedMembershipScheme#joinGroup waits infinitely till a wka member responds, without letting the server to start up

2013-05-19 Thread Afkham Azeez
On Sun, May 19, 2013 at 4:43 PM, Nirmal Fernando wrote: > Hi Azeez, > > Well, it's not what I can read from the code :) As I read, what happens is > if WKA members are not reachable nodes will start up successfully, but if > wka members are reachable and if none of them are responding to the Memb

Re: [Dev] WkaBasedMembershipScheme#joinGroup waits infinitely till a wka member responds, without letting the server to start up

2013-05-19 Thread Nirmal Fernando
Hi Azeez, Well, it's not what I can read from the code :) As I read, what happens is if WKA members are not reachable nodes will start up successfully, but if wka members are reachable and if none of them are responding to the Member "JoinGroupCommand" only, it waits for eternity, till wka member

[Dev] Fwd: Data publisher publish method wait forever without publishing.

2013-05-19 Thread Kasun Weranga
Forwarding to dev list. Hi Suho, We faced integration tests hang up issue and the root cause for this issue comes from Semaphore acquire method in publish method and it wait forever for acquiring the Semaphore. This can be easily reproduce in BAM integration tests. Can you please have a look? Th