Re: [Dev] [Chunk-14] Event-stream Feature error

2014-12-03 Thread Sinthuja Ragendran
Hi ratha, The relavant missing component is there in [1] and also it's mentioned in the chunk-14 components pom.xml as well. Please take svn up and see. [1]

[Dev] Regex or If Else

2014-12-03 Thread Akalanka Pagoda Arachchi
Hi all, I am implementing wildcard support for MQTT in WSO2 MB. The MQTT 3.1 Specification [1] provides details about how the wildcards should behave. According to this, to implement this match making I can either use java.lang.String functions and if else conditions or use a regular

Re: [Dev] Error while adding value to XML element added using enrich mediator

2014-12-03 Thread Malintha Adikari
Hi Jerad, Thank you for the answer. On Wed, Dec 3, 2014 at 9:32 AM, Jerad Rutnam je...@wso2.com wrote: Hi Malintha, I'm not sure if this will help, did you try adding a type to target tag. enrich source type=property clone=true property=message1/source target

[Dev] Please commit to patch0009

2014-12-03 Thread Isura Karunaratne
Hi, Please commit following https://wso2.org/jira/browse/IDENTITY-2911 https://www.google.com/url?q=https%3A%2F%2Fwso2.org%2Fjira%2Fbrowse%2FIDENTITY-2911sa=Dsntz=1usg=AFQjCNFiO7c6GSsKvjnyd9xXAK566y_XEA Thanks Isura. -- Isura Dilhara Karunaratne Software Engineer Mob +94 772 254 810

Re: [Dev] [Chunk-14] Event-stream Feature error

2014-12-03 Thread Vijayaratha Vijayasingam
Yes..after taking up that fixes the issue.. Thanks. On 3 December 2014 at 14:36, Sinthuja Ragendran sinth...@wso2.com wrote: Hi ratha, The relavant missing component is there in [1] and also it's mentioned in the chunk-14 components pom.xml as well. Please take svn up and see. [1]

Re: [Dev] ESB JSON related scenarios - Writing of Automation Test cases

2014-12-03 Thread Jerad Rutnam
Hi Dimuthu, Here is the Test Scenarios doc we prepared when adding JSON support for Iterate/Aggregate/Clone/Enrich mediators [1]. Just see if this will be useful for anything. [1] https://docs.google.com/a/wso2.com/spreadsheets/d/1Unh0iJI7LaXcTg_ure5FPveJ0KmDU10NZ1GmP_ov3Eg Thanks, Jerad On

[Dev] [AM 1.8.0] [Blocker] Cannot save API in Manage state for users with create permission

2014-12-03 Thread Nirodha Pramod
Hi, Users in 'API Provider' role (login and create permissions only) cannot save APIs in the Manage state. Hence the API providers cannot give tier level, subscription availability setting etc when creating the API. [1] https://wso2.org/jira/browse/APIMANAGER-3158 Thanks, Nirodha --

[Dev] Configure PHP web application to use SSO with IS

2014-12-03 Thread Waruna Perera
Hi, I am trying to configure a PHP web app[1] with IS as the IDP. Can some one please guide me to any doc that is availbale to do that? Above app is installed on Apache. [1]http://testlink.org/ Thanks, -- Waruna Perera Senior Software Engineer - Test Automation Mobile: +94 77 3867037 WSO2,

Re: [Dev] Please commit to patch0009

2014-12-03 Thread Sameera Jayasoma
Hi Isura, Can you send PR to the master branch of kernel git repository? Thanks, Sameera. On Wed, Dec 3, 2014 at 3:54 PM, Isura Karunaratne is...@wso2.com wrote: Hi, Please commit following https://wso2.org/jira/browse/IDENTITY-2911

Re: [Dev] Fwd: Service Pack for Carbon Kernel 4.2.0

2014-12-03 Thread Sameera Jayasoma
Hi Thilini, There are issues with service pack model. We need to sort them out before releasing kernel service packs. These kernel service packs can conflict with product service packs/patches. Thanks, Sameera. On Wed, Dec 3, 2014 at 9:44 AM, Thilini Ishaka thil...@wso2.com wrote: Hi Sameera

Re: [Dev] Configure PHP web application to use SSO with IS

2014-12-03 Thread Waruna Perera
Hi, Following is the SSO config available in web app side. $tlCfg-authentication['SSO_enabled'] = true; $tlCfg-authentication['SSO_method'] = 'CLIENT_CERTIFICATE'; $tlCfg-authentication['SSO_uid_field'] = 'SSL_CLIENT_S_DN_Email'; Thanks, On Wed, Dec 3, 2014 at 4:44 PM, Waruna Perera

[Dev] [wso2bps] webServices filter on Tenant forget filter on the parameter.

2014-12-03 Thread Kévin Séjourné
Hello dear community, I think I found something strange in https://svn.wso2.org/repos/wso2/branches/carbon/3.2.0/components/business-processes/bpel/org.wso2.carbon.bpel/3.2.0/src/main/java/org/wso2/carbon/bpel/ode/integration/mgt/services/ProcessManagementServiceSkeleton.java public

Re: [Dev] ESB JSON related scenarios - Writing of Automation Test cases

2014-12-03 Thread Dimuthu De Lanerolle
Hi Jerad, Thanks for the response. Will consider this aswell. Regards On Wednesday, 3 December 2014, Jerad Rutnam je...@wso2.com wrote: Hi Dimuthu, Here is the Test Scenarios doc we prepared when adding JSON support for Iterate/Aggregate/Clone/Enrich mediators [1]. Just see if this will be

[Dev] ES 2.0.0. Snapshot : Fresh Pack : Errors shown in log

2014-12-03 Thread Shiva Balachandran
Hi, I just unzipped a fresh pack of ES 2.0.0 Snapshot, and i was browsing through the default pages and i noticed my log was filled with the following error messages and warning, [2014-12-03 17:14:22,088] WARN {rxt.asset} - Unable to obtain user space as there is no logged in user.Cannot

Re: [Dev] Configure PHP web application to use SSO with IS

2014-12-03 Thread Danushka Fernando
Check how this is done for jaggery in jaggery apps like APIM store/publisher, AF appmgt. You might need to write that sso hostobject code in PHP. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Dec 3, 2014 at 4:53 PM, Waruna Perera

[Dev] [AF] Shall we remove the products/appfatory/2.1.0/vmware folder from svn?

2014-12-03 Thread Danushka Fernando
Hi All Shall we consider $subject? AFAIU we shouldn't be using this after we moved to puppet. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 ___ Dev mailing list Dev@wso2.org

Re: [Dev] [AF] Shall we remove the products/appfatory/2.1.0/vmware folder from svn?

2014-12-03 Thread Mahesh Chinthaka
Hi, It has appfactory.xml file right ? If removed then which location we should refer for appfactory.xml file ? On Wed, Dec 3, 2014 at 5:56 PM, Danushka Fernando danush...@wso2.com wrote: Hi All Shall we consider $subject? AFAIU we shouldn't be using this after we moved to puppet. Thanks

Re: [Dev] [AF] Shall we remove the products/appfatory/2.1.0/vmware folder from svn?

2014-12-03 Thread Anuruddha Premalal
Hi Danushka, +1 for removing products/appfatory/2.1.0/vmware folder from svn. @Mahesh appfactory.xml has been moved to puppet templates. (wso2base/templates/appfactory/appfactory.xml). On Wed, Dec 3, 2014 at 6:00 PM, Mahesh Chinthaka mahe...@wso2.com wrote: Hi, It has appfactory.xml file

[Dev] SVN GUI Client or command line tool

2014-12-03 Thread Sajith Abeywardhana
Hi All, I am from new batch which was recruit on 1st of December. So I looking some help form you. Since I'm using MacBook I need some advice regarding SVN client for a Mac OS. I found this [1] tool called Xcode. Are you guys using this tool or a separate SVN client than this? Witch one should

Re: [Dev] [AF] Shall we remove the products/appfatory/2.1.0/vmware folder from svn?

2014-12-03 Thread Dimuthu Leelarathne
+1 thanks, dimuthu On Wed, Dec 3, 2014 at 6:10 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi Danushka, +1 for removing products/appfatory/2.1.0/vmware folder from svn. @Mahesh appfactory.xml has been moved to puppet templates. (wso2base/templates/appfactory/appfactory.xml). On

Re: [Dev] ES 2.0.0. Snapshot : Fresh Pack : Errors shown in log

2014-12-03 Thread Sameera Medagammaddegedara
Hi Shiva, Those error and warning logs need to be converted to debug logs as not locating subscription space does not impede the rendering of the page (in fact it is not possible to locate a subscription space when there is no logged in user).I have created a JIRA to enact the change [1], [1]

Re: [Dev] [AF] Shall we remove the products/appfatory/2.1.0/vmware folder from svn?

2014-12-03 Thread Harsha Thirimanna
Yes +1 for that now harshat@mobile On Dec 3, 2014 9:16 AM, Dimuthu Leelarathne dimut...@wso2.com wrote: +1 thanks, dimuthu On Wed, Dec 3, 2014 at 6:10 PM, Anuruddha Premalal anurud...@wso2.com wrote: Hi Danushka, +1 for removing products/appfatory/2.1.0/vmware folder from svn.

Re: [Dev] SVN GUI Client or command line tool

2014-12-03 Thread Mahesh Chinthaka
Hi Sajith, You can use Terminal for all svn related operations. I think its better to get used to svn commands in terminal. You can follow some common svn commands in [1] and [2] . And there's a lot more in the internet :) [1] - http://wiki.greenstone.org/wiki/index.php/Useful_SVN_Commands [2] -

Re: [Dev] SVN GUI Client or command line tool

2014-12-03 Thread Chamila De Alwis
Hi Sajith, As far as I know, Xcode is an IDE for Apple related development in Objective C. For windows, TortoiseSVN is an excellent client, which integrates in to the Explorer really well. I'm not sure if an equivalent client is there for Mac. There's a list of tools here[1] too, but if you want

[Dev] [IS] - Email account confirmation when creating accounts via UserInformationRecoveryService

2014-12-03 Thread Chamila De Alwis
Hi, I'm trying to implement the above scenario using the Identity Server and a simple Java client. I've enabled the following in the identity-mgt.properties. Identity.Listener.Enable=true Notification.Sending.Enable=true Notification.Expire.Time=7200 Notification.Sending.Internally.Managed=true

Re: [Dev] Regex or If Else

2014-12-03 Thread Chamila De Alwis
Hi Akalanka, Even though for the multi-level wildcard using if else might be simpler, since the single-level wildcard can appear in several places of the topic name wouldn't it be better to follow the regex approach? Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog:

Re: [Dev] Invoke a python script through java

2014-12-03 Thread Chamila De Alwis
On Wed, Dec 3, 2014 at 7:31 AM, Imesh Gunaratne im...@wso2.com wrote: IMO it is better to use Apache jclouds for this: https://jclouds.apache.org/guides/openstack/ If we do, we could simply switch to any other IaaS without a much of a problem. +1 Furthermore, using the standardized API is

Re: [Dev] SVN GUI Client or command line tool

2014-12-03 Thread Prabath Ariyarathna
HI Sajith. You can refer this [1] article to get an idea how to install svn client on your MacBook. In this article, Xcode command line tool is highly recommended. You can use the installation window which is popup once you enter the svn command on your terminal to install this client. [1] -

Re: [Dev] [IS] - Email account confirmation when creating accounts via UserInformationRecoveryService

2014-12-03 Thread Danushka Fernando
Hi Chamila This is an admin service. So you need some admin permissions to call this service. Check the services.xml of the component. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Dec 4, 2014 at 12:21 AM, Chamila De Alwis

[Dev] Can we define more than one ServerRole in the artifact.xml file of a CAR?

2014-12-03 Thread Chanaka Fernando
Hi, Is it possible to do $subject? Requirement is to deploy the same artifact in 2 different servers with the same CAR file. As an example, when we have a JMS listener proxy in our CAR file and we have a worker/manager separated cluster with dep-sync enabled, once we deploy this CAR file in the

Re: [Dev] [IS] - Email account confirmation when creating accounts via UserInformationRecoveryService

2014-12-03 Thread Chamila De Alwis
Thanks Punnadi! I will go through this. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Thu, Dec 4, 2014 at 6:02 AM, Punnadi Gunarathna punn...@wso2.com wrote: Hi Chamila, The content provided in [1] might help you to find the issue.

Re: [Dev] Regex or If Else

2014-12-03 Thread Akalanka Pagoda Arachchi
Hi Pamod/Chamila, As Pamod mentioned the implementation is already there to resolve matching topics in Moquette. Since Moquette was integrated inside MB I was able to use the same implementation to resolve matching topics. Chamila, the Moquette implementation is using if else with String

Re: [Dev] Regex or If Else

2014-12-03 Thread Hasitha Amal De Silva
Hi Akalanka, I went on the same path and used the moquette logic to create a simple string hiearachy processor : http://devnutshell.tumblr.com/post/96378477451/hierarchical-token-matcher-for-strings It's almost the same logic as moquette (but the tree only contains strings, not subscription

Re: [Dev] Can we define more than one ServerRole in the artifact.xml file of a CAR?

2014-12-03 Thread Imesh Gunaratne
Hi Chanaka, This looks like a valid requirement. May be we could achieve this by defining two different server roles in manager and worker nodes (in carbon.xml file): In management nodes: ServerRoles RoleEnterpriseServiceBusManager/Role /ServerRoles In worker nodes:

Re: [Dev] Regex or If Else

2014-12-03 Thread Akalanka Pagoda Arachchi
Hi Hasitha, Yes that looks good in performance. Will try to integrate this into Moquette, maybe we can share this with Moquette team so they can include this in their next release. Thanks, Akalanka On Thu, Dec 4, 2014 at 10:31 AM, Hasitha Amal De Silva hasit...@wso2.com wrote: Hi Akalanka,

Re: [Dev] How to resolve SVN errors of worker nodes at server startup

2014-12-03 Thread Samuel Gnaniah
Updated the note for API-M [1] and ESB [2] to include instructions to restart the server once again. [1] - https://docs.wso2.com/display/CLUSTER420/Clustering+the+Gateway [2] - https://docs.wso2.com/display/CLUSTER420/Clustering+ESB *Samuel Gnaniah* Senior Technical Writer WSO2 (pvt.) Ltd.

Re: [Dev] Can we define more than one ServerRole in the artifact.xml file of a CAR?

2014-12-03 Thread Isuru Udana
Hi Chanaka, I think we may able to achieve your this particular requirement using the pinned server concept. IMO we should not make differences to artifact deployment in worker nodes vs manager node. If we do that, we won't be able to clearly see what is actually deployed in workers by looking

Re: [Dev] Can we define more than one ServerRole in the artifact.xml file of a CAR?

2014-12-03 Thread Chanaka Fernando
Hi Isuru, I agree with what you are saying. We need to have the same artifacts deployed in both worker and manager nodes. This is a requirement which came with the JMS listener proxy use case. I think the best solution for this kind of scenario would be to use the management node as both

Re: [Dev] Can we define more than one ServerRole in the artifact.xml file of a CAR?

2014-12-03 Thread Kasun Indrasiri
The ServerRole is not designed for distinguish workers/manager, rather distinguish product behaviors (ESB, GReg etc.). And architecturally pinned servers is also not a suitable approach too(but that's the workaround that we have at the moment). Each artifacts needs to have the intelligence to

Re: [Dev] Integration tests for ML Product

2014-12-03 Thread Krishantha Samaraweera
Hi Supun, As we discussed offline best way to automate is using UI tests (Selenium) You can refer document at [1] to understand how to add UI modules to your products. Tests at [2] can be refer as samples. You can follow any UI automation strategy convenient to you. Thanks, Krishantha. [1]

Re: [Dev] Can we define more than one ServerRole in the artifact.xml file of a CAR?

2014-12-03 Thread Isuru Udana
On Thu, Dec 4, 2014 at 11:41 AM, Chanaka Fernando chana...@wso2.com wrote: Hi Isuru, I agree with what you are saying. We need to have the same artifacts deployed in both worker and manager nodes. This is a requirement which came with the JMS listener proxy use case. I think the best

Re: [Dev] [IS] - Email account confirmation when creating accounts via UserInformationRecoveryService

2014-12-03 Thread Chamila De Alwis
Hi, I forgot to mention that when the exception is thrown, the user is already added to the userstore. The user is listed in the users list in the Carbon console. But the email is not sent. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On

Re: [Dev] Can we define more than one ServerRole in the artifact.xml file of a CAR?

2014-12-03 Thread Chanaka Fernando
Hi Isuru, If we take the JMS listener proxy scenario with a worker/manager concept, user need to view whether this artifact is deployed in the worker node by looking at the manager node. In the meantime, he needs that JMS listener proxy only runs on the worker node but not it the management node.

[Dev] APIM _RC1 pack

2014-12-03 Thread Vijayaratha Vijayasingam
Hi; Please find the pack here https://svn.wso2.org/repos/wso2/scratch/chunk13-release/APIM-180_RC1/ Thanks. -- -Ratha ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev

Re: [Dev] [IS] - Email account confirmation when creating accounts via UserInformationRecoveryService

2014-12-03 Thread Chamila De Alwis
To add to the earlier email, passwordTimestamp claim already has a value mapped, to nickName. I tried mapping givenName as the attribute, but I'm still getting the above error from the user store. The wrapping error message is as follows. *org.wso2.carbon.identity.base.IdentityException: Error

Re: [Dev] Can we define more than one ServerRole in the artifact.xml file of a CAR?

2014-12-03 Thread Dilan Udara Ariyaratne
+1 for Chanaka's suggestion if that possibility is there to have one node with both worker/manager roles. Regards, Dilan. *Dilan U. Ariyaratne* Software Engineer WSO2 Inc. http://wso2.com/ Mobile: +94775149066 lean . enterprise . middleware On Thu, Dec 4, 2014 at 12:05 PM, Chanaka Fernando

Re: [Dev] Integration tests for ML Product

2014-12-03 Thread Supun Sethunga
Hi Krishantha, Thanks, I will follow the two links. Regards, Supun On Thu, Dec 4, 2014 at 11:47 AM, Krishantha Samaraweera krishan...@wso2.com wrote: Hi Supun, As we discussed offline best way to automate is using UI tests (Selenium) You can refer document at [1] to understand how to add