Re: [Dev] Making Listner Extension class to work with the parameters defined in automation.xml

2014-08-20 Thread Krishantha Samaraweera
Thanks Nuwan!! Seems like we need to add new configuration to all automation.xml files in products integration tests modules. Product teams please note on this. We are in the process of updating all automation.xml and *automationXMLSchema.xsd *files. You might find build failures at integration

[Dev] Unit test Implementation for the WSO2 Automation Framework.

2014-08-20 Thread Dharshana Warusavitharana
Hi All, We have initiated an effort to implement Unit tests to coverup critical areas of the automation test Framework Engine. Automation Framework Engine is the lightweight core of any automation solution which drives whole automation execution on top of TestNG framework. Our main goal is to

Re: [Dev] APIM 171 issues for Internet Explorer 8 and 9

2014-08-20 Thread Udara Rathnayake
Hi Nuwan, I haven't committed changes related to this JIRA[1] in to the public SVN/Git yet. Let me know where I should commit this. Anyway I have attached relevant diff file in the public jira. [1] https://wso2.org/jira/browse/APIMANAGER-2722 Regards, UdaraR On Tue, Aug 19, 2014 at 6:21 PM,

Re: [Dev] Jaggery OAuth not supporting oauth_callback

2014-08-20 Thread Buddhima Wijeweera
This issue can be fixed with this PR : https://github.com/wso2/jaggery-extensions/pull/9 On Tue, Aug 19, 2014 at 3:01 PM, Buddhima Wijeweera buddh...@wso2.com wrote: Hi, Currently I'm developing a Jaggary app which connects with Twitter API. During the OAuth authentication process I want to

[Dev] Can we creating service providers for tenants using super tenant credentials ?

2014-08-20 Thread Dinusha Senanayaka
Hi , In AppManager, we have automated the service provider registering functionality by calling to Admin services underneath. But in the configuration file we keep only the super tenant credentials. The requirement is, if tenant user logs into the publisher UI and publish an application the

[Dev] BPMN dynamic form generation for start process instance

2014-08-20 Thread Amal Gunatilake
Hi Chathura, I have added the dynamic form generation for process start as well. Following is the url for updates. https://github.com/amalhub/carbon-business-process/commit/5eb4d0f8135d66bedb2483cb5f3cf1160b076200 Currently the updates are in my local branch. I will complete the rest of the

Re: [Dev] Can we creating service providers for tenants using super tenant credentials ?

2014-08-20 Thread Manjula Rathnayake
Hi Dinusha, I think this service should be a admin service and you have to authenticate as the tenant user and invoke it. So if the problem is invoking the admin service as a logged in user, you can use saml token of logged in user(I think you have enabled SSO for AppManager) and invoke admin

[Dev] [App Cloud] Tenant Creation/Deletion process

2014-08-20 Thread Godwin Shrimal
Hi, We are working on Training project (*[Cloud] Tenant deletion code/script for cloud* - https://redmine.wso2.com/issues/3121) , there for studying the process of create tenant in App Cloud. We studied the *CreateTenant.bpel *(under appfactory/1.1.0/modules/bpels/CreateTenant) which is use to

Re: [Dev] [App Cloud] Tenant Creation/Deletion process

2014-08-20 Thread Lakshman Udayakantha
Hi, Another thing we have to know is, Apart from the creation of tenant, Tenant may bind to other resources during it's lifetime. We have to delete those resource as well, if those resources has not dependencies. It would be great ,if someone can point us in right direction in that case? Thanks

[Dev] WSO2 BPS 3.5.0 M4 Released!

2014-08-20 Thread Waruna Jayaweera
Hi all, WSO2 Business Process Server 3.5.0 M4 Release is available for download at [1] . This release includes following bug fixes and tasks. Bugs - [BPS-523 https://wso2.org/jira/browse/BPS-523] - breadcrumb missing in bpmn ui component - [BPS-529 https://wso2.org/jira/browse/BPS-529]

Re: [Dev] [App Cloud] Tenant Creation/Deletion process

2014-08-20 Thread Amila Maha Arachchi
On Wed, Aug 20, 2014 at 5:10 PM, Godwin Shrimal god...@wso2.com wrote: Hi, We are working on Training project (*[Cloud] Tenant deletion code/script for cloud* - https://redmine.wso2.com/issues/3121) , there for studying the process of create tenant in App Cloud. We studied the

[Dev] [AF] [Private PAAS] Private pass cartrige agent still triggering the subscription-* scripts.

2014-08-20 Thread Danushka Fernando
Hi We had a requirement of adding a custom url for an application in appfactory. The first implementation of this handled by AS side using url mapping. But later it was decided to move these to the Private PAAS / LB side. So AFAIK this was implemented in Private PAAS. But still the packs we are

Re: [Dev] [App Cloud] Tenant Creation/Deletion process

2014-08-20 Thread Danushka Fernando
Apart from that you need to do 2, 3, 4 before 1 as we discussed. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Wed, Aug 20, 2014 at 6:03 PM, Amila Maha Arachchi ami...@wso2.com wrote: On Wed, Aug 20, 2014 at 5:10 PM, Godwin Shrimal

[Dev] Role is not assigned even a role is selected at the time of user creation

2014-08-20 Thread Rajeeva Uthayasangar
Hi, The issue reported in [1], caused by kernel patch0009. Can some one from Kernel team look into the issue? [1]. https://wso2.org/jira/browse/APPM-108 Thanks, Rajeeva. -- *Rajeeva Uthayasangar* Software Engineer WSO2, Inc.:http://wso2.com Mobile: +94777298873

Re: [Dev] [App Cloud] Tenant Creation/Deletion process

2014-08-20 Thread Godwin Shrimal
Hi Amila, Thanks for the information. I'll update the process. On Wed, Aug 20, 2014 at 6:03 PM, Amila Maha Arachchi ami...@wso2.com wrote: On Wed, Aug 20, 2014 at 5:10 PM, Godwin Shrimal god...@wso2.com wrote: Hi, We are working on Training project (*[Cloud] Tenant deletion code/script

Re: [Dev] [App Cloud] Tenant Creation/Deletion process

2014-08-20 Thread Godwin Shrimal
Hi Danushka, Yes. noted with thanks. we'll update the order respectively. On Wed, Aug 20, 2014 at 6:30 PM, Danushka Fernando danush...@wso2.com wrote: Apart from that you need to do 2, 3, 4 before 1 as we discussed. Thanks Regards Danushka Fernando Software Engineer WSO2 inc.

[Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Godwin Amila Shrimal
Hi, How can we check the already created application for a specific tenant and delete them in App Factory. Is there any admin service to perform this ? Thanks Godwin -- *Godwin Amila Shrimal* Senior Software Engineer WSO2 Inc.; http://wso2.com lean.enterprise.middleware mobile:

[Dev] Build failure on wso2-dev/product-apim git repo

2014-08-20 Thread Amalka Subasinghe
Hi, I'm getting the following error when trying to build the product-apim, any idea of what is missing? An error occurred while configuring the installed items session context was:(profile=default, phase=org.eclipse.equinox.internal.p2.engine.phases.Configure, operand=null --

[Dev] FileUploadConfig in component.xml

2014-08-20 Thread Gayan Gunawardana
Hi, There are two UI bundles named org.wso2.carbon.identity.tools.xacml.validator.ui, org.wso2.carbon.identity.entitlement.ui. Both bundle register FileUploadExecutors as mentioned below *org.wso2.carbon.identity.entitlement.ui* FileUploadConfig Mapping Actions

Re: [Dev] encounter java.io.UTFDataFormatException: encoded string too long in BAM

2014-08-20 Thread Ajanthan Balachandran
Hi, This is one of the bug in h2 database[0]. This is Fixed in version 1.3.164.We may need to upgrade h2 database version. thanks [0]http://code.google.com/p/h2database/issues/detail?id=374 On Wed, May 21, 2014 at 9:33 PM, Shazni Nazeer sha...@wso2.com wrote: Hi, I too am getting this

Re: [Dev] [AF] [Private PAAS] Private pass cartrige agent still triggering the subscription-* scripts.

2014-08-20 Thread Udara Liyanage
Hi, I guess subscription-domain-added cartridge extension is called when a subscription domain is added. This is the default behavior right? When a subscription domain is added, LB too get a notification so that it start load balancing request to that domain. Additionally

Re: [Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Udara Liyanage
Hi, You can call AppFac REST API for this. Please refer to [1] [1] https://docs.wso2.com/plugins/servlet/mobile#RESTAPIs-getApplicationsOfUser Touched, not typed. Erroneous words are a feature, not a typo. On Aug 20, 2014 7:40 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi, How can we

Re: [Dev] Optimize file read operation in Jaggery

2014-08-20 Thread Udara Liyanage
Hi, If the file content is stored in memory, memory consumption would grow if it reads a big file or several files. How about using a cache of a fix size? What kind of files it would read multiple times, if they are configuration files only the important data could be stored in the memory. Could

Re: [Dev] [AF] [Private PAAS] Private pass cartrige agent still triggering the subscription-* scripts.

2014-08-20 Thread Danushka Fernando
Udara AFAIR the decision took at the discussion is to remove these extension points. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Aug 21, 2014 at 1:13 AM, Udara Liyanage ud...@wso2.com wrote: Hi, I guess

Re: [Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Danushka Fernando
Hi Godwin You can check the AF list appplications code and delete application code. I can help with that. Thanks Regards Danushka Fernando Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Thu, Aug 21, 2014 at 1:06 AM, Udara Liyanage ud...@wso2.com wrote: Hi, You can

Re: [Dev] Build failure on wso2-dev/product-apim git repo

2014-08-20 Thread Amalka Subasinghe
Hi Dhanushka, it's jdk 1.6_x and maven 3.0.x. On Thu, Aug 21, 2014 at 6:07 AM, Danushka Fernando danush...@wso2.com wrote: Hi Amalka Please check java and maven versions. They should be jdk 1.6_x and maven 3.0.x. Thanks Regards Danushka Fernando Software Engineer WSO2 inc.

Re: [Dev] How to get the current Location path in Puppet

2014-08-20 Thread Rajith Vitharana
Hi Yasassri, Will [1] help? [1] - http://serverfault.com/questions/420749/puppet-get-users-home-directory Thanks, On Thu, Aug 21, 2014 at 8:37 AM, Yasassri Ratnayake yasas...@wso2.com wrote: Hi, Is there a way to do the $subject? For example if I'm running a puppet.pp script from

[Dev] Can't build product-as

2014-08-20 Thread Sagara Gunathunga
Hi Shameera/Gayashan, Any idea ? ERROR [org.wso2.carbon.integration.common.extensions.utils.InputStreamHandler] - log4j:ERROR Could not instantiate class [org.wso2.carbon.logging.appenders.CarbonConsoleAppender]. ERROR [org.wso2.carbon.integration.common.extensions.utils.InputStreamHandler] -

Re: [Dev] Can't build product-as

2014-08-20 Thread Gayashan Amarasinghe
Hi Sagara, Looks like the logging appender package changes on the carbon-utils are not there. Is this a local build or jenkins build? Can you build the kernel and carbon-utils and try again? Thanks. /Gayashan On Thu, Aug 21, 2014 at 8:46 AM, Sagara Gunathunga sag...@wso2.com wrote: Hi

Re: [Dev] How to get the current Location path in Puppet

2014-08-20 Thread Yasassri Ratnayake
Hi Rajith, Thanks for the prompt answer, the above answer is specific to finding users home directory, my requirement is to get the current file location (The location may not be the home directory). Thanks to Chamila I have found a way to do this [1]. [1] -

Re: [Dev] Can't build product-as

2014-08-20 Thread Gayashan Amarasinghe
And carbon-deployment as well. Thanks. /Gayashan On Thu, Aug 21, 2014 at 9:05 AM, Gayashan Amarasinghe gayas...@wso2.com wrote: Hi Sagara, Looks like the logging appender package changes on the carbon-utils are not there. Is this a local build or jenkins build? Can you build the kernel

Re: [Dev] How to get the current Location path in Puppet

2014-08-20 Thread Yasassri Ratnayake
The manifest code will look like following, $var1 = inline_template(%= Dir.pwd %) notice (This Current Location : ${dummy}) With Regards, On Thu, Aug 21, 2014 at 9:17 AM, Yasassri Ratnayake yasas...@wso2.com wrote: Hi Rajith, Thanks for the prompt answer, the above answer is specific to

[Dev] [ESB] [DOC] 'FORCE_ERROR_ON_SOAP_FAULT' Property not mentioned in 'Properties Reference' page

2014-08-20 Thread Ishara Premadasa
Hi all, The property 'FORCE_ERROR_ON_SOAP_FAULT' is a useful entry when it comes to re-direct a SOAPFault thrown by a back end service into a Fault sequence. [1] If this is not set the SOAPFault will be received by the OutSequence as a usual response message. property

Re: [Dev] How to get the current Location path in Puppet

2014-08-20 Thread Chamila De Alwis
Cool! I didn't know about the inline_template function. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Thu, Aug 21, 2014 at 9:32 AM, Yasassri Ratnayake yasas...@wso2.com wrote: The manifest code will look like following, $var1 =

Re: [Dev] Build failure on wso2-dev/product-apim git repo

2014-08-20 Thread Amalka Subasinghe
Hi, I could build the product-apim after doing the following 1. build carbon-apim 2. copy encoder-1.1.jar httpmime-4.2.5.jar jars to the module/distribution/product/src/main/resources location then when I run the tests, again build failed saying can't resolve the dependency

Re: [Dev] [AF] [Private PAAS] Private pass cartrige agent still triggering the subscription-* scripts.

2014-08-20 Thread Udara Liyanage
Hi Danushka, From Stratos side extension is there to trigger when an subscription domain is added. You can change the extension script according to your needs. There is no global cartridge agent concept, Cartrdige agent should be edited/extended according to your cartridge. On Thu, Aug 21, 2014

Re: [Dev] Optimize file read operation in Jaggery

2014-08-20 Thread Waruna Perera
Hi, What about population your file data to temp db and access it and update/delete when needed? Thanks On Thu, Aug 21, 2014 at 1:23 AM, Udara Liyanage ud...@wso2.com wrote: Hi, If the file content is stored in memory, memory consumption would grow if it reads a big file or several

Re: [Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Godwin Amila Shrimal
Hi Danushka, Thanks. we'll contact you. On Thu, Aug 21, 2014 at 6:03 AM, Danushka Fernando danush...@wso2.com wrote: Hi Godwin You can check the AF list appplications code and delete application code. I can help with that. Thanks Regards Danushka Fernando Software Engineer WSO2 inc.

Re: [Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Godwin Amila Shrimal
Hi Udara, Thanks, as you pointed, there is a REST API to the the applications ( getApplicationsOfUser https://docs.wso2.com/plugins/servlet/mobile#RESTAPIs-getApplicationsOfUser), But I did't see any delete application operation there. How can we delete them ? On Thu, Aug 21, 2014 at 1:06 AM,

Re: [Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Udara Liyanage
Hi Godwin, May be DELETE method is not yet implemented. @Danuska can you confirm. On Thu, Aug 21, 2014 at 10:19 AM, Godwin Amila Shrimal god...@wso2.com wrote: Hi Udara, Thanks, as you pointed, there is a REST API to the the applications ( getApplicationsOfUser

Re: [Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Manisha Gayathri
Hi Godwin, Delete Application too is already implemented. *ApplicationManagementService.deleteApplication *is available. On Thu, Aug 21, 2014 at 10:24 AM, Udara Liyanage ud...@wso2.com wrote: Hi Godwin, May be DELETE method is not yet implemented. @Danuska can you confirm. On Thu, Aug

Re: [Dev] [ESB] [DOC] 'FORCE_ERROR_ON_SOAP_FAULT' Property not mentioned in 'Properties Reference' page

2014-08-20 Thread Rukshani Weerasinha
Hi, Thank you for mentioning this. Now the jira issue [3] is created to monitor the progress of this documentation task. [3] https://wso2.org/jira/browse/DOCUMENTATION-1074 Best Regards, Rukshani. On Thu, Aug 21, 2014 at 9:39 AM, Ishara Premadasa ish...@wso2.com wrote: Hi all, The

[Dev] [GREG 4.6.0] Server startup hangs - user core bundle wont start

2014-08-20 Thread Hasitha Amal De Silva
Hi, I was working with a GREG 4.6.0 pack for the last couple of days, applying carbon kernel patches to it. The server was starting up without any issues. But now, even a fresh GREG 4.6.0 pack does not start on my machine. (other products work fine.) When i refer to the osgiConsole, the

Re: [Dev] Build failure on wso2-dev/product-apim git repo

2014-08-20 Thread Roshan Wijesena
Hi Amalka, This issue is persist for while now, it has been discussed here also OSGI bundle conflict when starting up APIM GIT latest. ATM we are looking in to a fix for this. Regards Roshan. On Wed, Aug 20, 2014 at 8:46 PM, Amalka Subasinghe ama...@wso2.com wrote: Hi, I'm getting the

Re: [Dev] [GREG 4.6.0] Server startup hangs - user core bundle wont start

2014-08-20 Thread Isuru Haththotuwa
Hi Amal, Can you start the user-core bundle manually and see if you get any errors? On Thu, Aug 21, 2014 at 11:03 AM, Hasitha Amal De Silva hasit...@wso2.com wrote: Hi, I was working with a GREG 4.6.0 pack for the last couple of days, applying carbon kernel patches to it. The server was

Re: [Dev] [GREG 4.6.0] Server startup hangs - user core bundle wont start

2014-08-20 Thread Hasitha Amal De Silva
Hi Isuru, Thanks for checking. I tried to start the bundle from the console and got : gogo: BundleException: State change in progress for bundle reference:file:../plugins/org.wso2.carbon.user.core_4.2.0.jar by thread Start Level Event Dispatcher. On Thu, Aug 21, 2014 at 11:06 AM, Isuru

[Dev] Deny to add same app context for Web Apps in EAM

2014-08-20 Thread Kasun Dissanayake
Hi All, I'm working on jira issue [1] and try to resolve that using following manner. 1) Go through other application's' context using GReg 2) If found send true to front end. 3) Trigger the method on 'focus out' of Contect field and save button click event when in the add web app page 4)

Re: [Dev] [App Factory] - Delete application created in a tenant

2014-08-20 Thread Godwin Amila Shrimal
Hi Manisha, Thanks, I checked in the wso2.docs in earlier. This solve our problem. On Thu, Aug 21, 2014 at 10:42 AM, Manisha Gayathri mani...@wso2.com wrote: Hi Godwin, Delete Application too is already implemented. *ApplicationManagementService.deleteApplication *is available. On