Re: [Dev] Puppet error when building API-M Docker image

2016-02-25 Thread Imesh Gunaratne
Thanks Isuru, I just fixed it: https://github.com/wso2/puppet-modules/commit/c9e2cd529a338f86285eb2eb4184beb3a50cfe75 Thanks On Fri, Feb 26, 2016 at 12:31 PM, Isuru Haththotuwa wrote: > Hi Imesh, > > Yes, seems we have mistakenly pointed user mgt datasource to wso2user_db >

[Dev] Creating Gadgets for Web Application Statistics Monitoring Dashboard - Application Server 6.0.0

2016-02-25 Thread Lochana Ranaweera
Hi all, This is regarding the HTTP Monitoring Dashboard for AS 6.0.0. It is to be deployed as a collection of user preferred set of gadgets in the Dashboard Server. As of now, I have ported the* basic* HTTP monitoring functionality as separate gadgets for DS. A typical HTTP monitoring gadget has

Re: [Dev] Puppet error when building API-M Docker image

2016-02-25 Thread Isuru Haththotuwa
Hi Imesh, Yes, seems we have mistakenly pointed user mgt datasource to wso2user_db [1] in default profile of APIM 1.9.1. This should be pointed to the default H2 DB [2]. [1]. wso2::usermgt_datasource: wso2user_db [2]. wso2::usermgt_datasource: wso2_carbon_db On Fri, Feb 26, 2016 at 10:03 AM,

Re: [Dev] How to enable SMS based OTPs in Identity Server

2016-02-25 Thread Elilmatha Sivanesan
Hi Thilini, You can find the source code at [1], and download the authenticator from store [2]. [1] https://github.com/wso2-extensions/identity-outbound-auth-sms-otp [2] https://store.wso2.com/store/assets/isconnector/bfbe6b6a-c694-4890-b6b4-5a3098bf98f4 Thanks. On Fri, Feb 26, 2016 at 12:05

Re: [Dev] Null pointer exception when trying to restart the server - Test Automation

2016-02-25 Thread Menaka Jayawardena
Thanks a lot Thusitha... It worked perfectly. :-) Menaka On Fri, Feb 26, 2016 at 12:00 PM, Menaka Jayawardena wrote: > Thank you very much Thusitha for the quick reply. > I'll try it. > > On Fri, Feb 26, 2016 at 11:57 AM, Thusitha Thilina Dayaratne < > thusit...@wso2.com>

Re: [Dev] [Architecture] Solution requires to remove/reallocate resources assigned to deleted user

2016-02-25 Thread Sumedha Rubasinghe
If we introduce a state to user (like what we have done for access tokens) this problem can be easily solved at the first level. Then it's just a matter of deciding what to do with removed users and their data later on as a clean up task by infra. On Feb 26, 2016 11:30 AM, "Rasika Perera"

Re: [Dev] How to enable SMS based OTPs in Identity Server

2016-02-25 Thread Lakshani Gamage
Hi Thilini, [2] will be a help. [2] *https://docs.wso2.com/display/ISCONNECTORS/Configuring+SMSOTP+Authenticator * Thanks, Lakshani. On Fri, Feb 26, 2016 at 11:01 AM, Thilini Cooray wrote: > Hi,

[Dev] Kubernetes Volume for sharing artifacts in manager and worker nodes

2016-02-25 Thread Vishanth Balasubramaniam
Hi, I am currently researching on using Kubernetes PaaS feature volume to share APIs among gateway manager and worker nodes. In Kubernetes Artifacts, we are separating the worker and the manager nodes in 2 different pods, for which each uses separate replication controller. Due to nodes being in

Re: [Dev] Null pointer exception when trying to restart the server - Test Automation

2016-02-25 Thread Menaka Jayawardena
Thank you very much Thusitha for the quick reply. I'll try it. On Fri, Feb 26, 2016 at 11:57 AM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Menaka, > > According to the debug info that you attached, AFAIU this caused because > inputStreamHandler > is null and

Re: [Dev] Null pointer exception when trying to restart the server - Test Automation

2016-02-25 Thread Thusitha Thilina Dayaratne
Hi Menaka, According to the debug info that you attached, AFAIU this caused because inputStreamHandler is null and inputStreamHandler.getOutput() throws NPE. I think you can use ServerConfigurationManager instead of CarbonServerManager to do the restart. e.g. ServerConfigurationManager

[Dev] Null pointer exception when trying to restart the server - Test Automation

2016-02-25 Thread Menaka Jayawardena
Hello, I tried to restart the server using Automation Framework but it throws the following exception. java.lang.NullPointerException at org.wso2.carbon.automation.extensions.servers.carbonserver.CarbonServerManager.restartGracefully(CarbonServerManager.java:306) at

Re: [Dev] [DAS] Compressed Event Analytics Relation Provider

2016-02-25 Thread Anjana Fernando
Please schedule a code review for this. Cheers, Anjana. On Fri, Feb 26, 2016 at 11:03 AM, Supun Sethunga wrote: > Hi, > > Please find the PR [1] for adding string compression to the event > analytics relational provider. > > [1]

Re: [Dev] [Architecture] Solution requires to remove/reallocate resources assigned to deleted user

2016-02-25 Thread Rasika Perera
Hi All, My suggestion is that we need to facilitate *both* approaches(soft delete and hard delete). Glad that at least we have some sort of agreed norms for creating, reading and updating users. *But*; W*hat does "delete" mean in the context of this system/application? *this is a sort of a

Re: [Dev] [DAS] Compressed Event Analytics Relation Provider

2016-02-25 Thread Supun Sethunga
Hi, Please find the PR [1] for adding string compression to the event analytics relational provider. [1] https://github.com/wso2/carbon-analytics/pull/159 Regards, Supun On Wed, Feb 24, 2016 at 3:35 PM, Supun Sethunga wrote: > Thanks! > > Regards, > Supun > > On Wed, Feb 24,

[Dev] How to enable SMS based OTPs in Identity Server

2016-02-25 Thread Thilini Cooray
Hi, I want to use SMS based OTPs for user registration in WSO2 Identity Server. My identity server version is 5.0.0 with SP1. [1] has mentioned that we can achieve this via extending IdentityMgtEvenListener or writing custom listener. Can you please point me to any available resources which I

[Dev] JMS distributed XA transactions with ActiveMQ

2016-02-25 Thread Vijitha Ekanayake
Hi all, I’m trying to achieve following scenario using JMS distributed transactions with ActiveMQ. Scenario. There's are multiple queues and a message needs to be sent to each of these queue. If at least one of the queues is not reachable, none of the queues should commit the message. I found

Re: [Dev] create tenant via rest api

2016-02-25 Thread Udara Liyanage
On Fri, Feb 26, 2016 at 3:35 AM, John Q wrote: > Hello everyone, > > I am wondering if there is a rest api for carbon to create tenants? > > I saw that private paas have a rest api for creating tenant, but i only > have installed , wso2is, wso2am and wso2esb and don't use

Re: [Dev] [Architecture] create tenant via rest api

2016-02-25 Thread Godwin Shrimal
Hi John, You can find the relevant service in [1]. [1] https://github.com/wso2/carbon-multitenancy/blob/master/components/tenant-mgt/org.wso2.carbon.tenant.mgt/src/main/java/org/wso2/carbon/tenant/mgt/services/TenantMgtAdminService.java Thanks Godwin On Fri, Feb 26, 2016 at 10:10 AM,

Re: [Dev] [Architecture] create tenant via rest api

2016-02-25 Thread Rukshan Premathunga
Hi John, You can find the code to create tenant at here[1]. But it use the soap admin service. [1] https://github.com/ruks/wso2.apim.sample/blob/master/com.rukspot.apimgt.stat/src/main/java/com/rukspot/apimgt/stat/TenantMgt.java Thanks and Regards. On Fri, Feb 26, 2016 at 9:49 AM, Danushka

[Dev] Puppet error when building API-M Docker image

2016-02-25 Thread Imesh Gunaratne
Hi Devs, I see the following error while trying to build $subject: Notice: Scope(Wso2base::Deploy[/mnt/wso2am-1.9.1]): Deploying artifacts for WSO2 product [name] wso2am, [version] 1.9.1, [CARBON_HOME] /mnt/wso2am-1.9.1 Error: Failed to parse template

Re: [Dev] [Architecture] create tenant via rest api

2016-02-25 Thread Danushka Fernando
There is a soap api. You can use TenantMgtService. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Feb 26, 2016 at 3:35 AM, John Q wrote: > Hello everyone, > > I am wondering if there is a rest api for

[Dev] Tool to bulk export API's from WSO2 API Manager

2016-02-25 Thread Nadeesha Gamage
Hi All, I have written a tool to bulk export API's from WSO2 API Manager. Source can be found in the following Git repo[1] , hope it would be useful. [1] https://github.com/nadeesha5814/APIBulkExport Thank you, -- Nadeesha Gamage Associate Technical Lead - Solutions Engineering T : +94 77

Re: [Dev] [VOTE] Release WSO2 Dashboard Server 2.0.0 RC2

2016-02-25 Thread Udara Rathnayake
tested dashboard creation/view flow in IE11 on win7 and Firefox/Chromium on Linux (super tenant/tenant). ran zap tool pointing portal app. [+] Stable - go ahead and release. On Wed, Feb 24, 2016 at 11:31 AM, Tanya Madurapperuma wrote: > Hi Devs, > > This is the RC2 release

[Dev] create tenant via rest api

2016-02-25 Thread John Q
Hello everyone, I am wondering if there is a rest api for carbon to create tenants? I saw that private paas have a rest api for creating tenant, but i only have installed , wso2is, wso2am and wso2esb and don't use the private paas. If there is such api please where can i find it? Thanks, John

Re: [Dev] WSO2 Committers += Hasunie Adhikari

2016-02-25 Thread Manoj Gunawardena
Congratulations Hasuni...!!! On Thu, Feb 25, 2016 at 8:05 AM, Geesara Prathap wrote: > Congratulations Hasunie !!! > > On Wed, Feb 24, 2016 at 12:05 PM, Menaka Jayawardena > wrote: > >> Congratulations Hasuni...!!! >> >> On Wed, Feb 24, 2016 at 11:46 AM,

[Dev] Support provided to modify the tree nodes while generating the avro schema

2016-02-25 Thread Sohani Weerasinghe
Hi All, With the current level of implementation when a user adds a new element to the tree view in generating the avro schema, user is facilitated to specify the name, schemaType and other optional attributes. If user wants to change the name he is provided with a renaming option as shown below

Re: [Dev] [VOTE] Release WSO2 Complex Event Processor 4.1.0 RC2

2016-02-25 Thread Damith Wickramasinghe
Hi Isabelle, Please find the performance numbers of CEP-4.1.0 and comparative analysis with CEP-4.0.0[1]. Do you think we can share this information in our docs as well ? [1] https://docs.google.com/a/wso2.com/spreadsheets/d/1tIM6qguHDjPPOb2_HFOfs9swHNG2stCWcV9PIhSEL84/edit?usp=sharing Regards,

Re: [Dev] [VOTE] Release WSO2 Dashboard Server 2.0.0 RC2

2016-02-25 Thread Tanya Madurapperuma
Hi, I have tested features related to anonymous view of dashboard and gadget maximization in different modes. Also did a smoke test on Samsung. [+] Stable - Go ahead and release Thanks, Tanya On Thu, Feb 25, 2016 at 4:54 PM, Lasantha Samarakoon wrote: > HI, > > I have

Re: [Dev] [VOTE] Release WSO2 Dashboard Server 2.0.0 RC2

2016-02-25 Thread Nipuna Chandradasa
Hi, Tested the following test scenarios related to "Per User Dashboard Customization" - Verify a viewer can personalize a dashboard - Verify the original dashboard is not changed after personalizing a dashboard - Verify a viewer can reset the personalized dashboard - Verify a

Re: [Dev] [VOTE] Release WSO2 Dashboard Server 2.0.0 RC2

2016-02-25 Thread Sinthuja Ragendran
Hi, Did testing on following. - Verify user is directed to the dashboard creation page when there are no dashboards (super tenant, tenant) - Verify user is directed to the dashboard when there are is exactly one dashboard (super tenant, tenant) - Verify user is directed to the

Re: [Dev] Solution requires to remove/reallocate resources assigned to deleted user

2016-02-25 Thread Prabath Abeysekera
To my understanding, the most commonly practised use-case in many organizations is that, user management is handled outside third party products. For instance, in a typical EMM deployment, which utilizes IS as a key manager, it is highly unlikely that user provisioning/de-provisioning is done via

Re: [Dev] [VOTE] Release WSO2 Dashboard Server 2.0.0 RC2

2016-02-25 Thread Lalanke Athauda
Hi, I have tested the following features related to "Per user dashboard theming - Banners" - Verify the banner image can be cropped appropriately - Verify a user can remove the banner once uploaded - Verify an editor can view the uploaded banner - Verify an uploaded banner is loaded

Re: [Dev] [VOTE] Release WSO2 Dashboard Server 2.0.0 RC2

2016-02-25 Thread Lasantha Samarakoon
HI, I have tested the following scenarios. - Supporting multiple dashboard pages within the dashboard app. - Tested with Nokia Lumia [+] Stable - Go ahead and release Thanks, *Lasantha Samarakoon* | Software Engineer WSO2, Inc. #20, Palm Grove, Colombo 03, Sri Lanka Mobile: +94 (71)

[Dev] Solution requires to remove/reallocate resources assigned to deleted user

2016-02-25 Thread Charitha Goonetilleke
Hi All, In IoTServer and EMM, we noticed that resources owned by a user will become orphaned once particular user is deleted from the system. If someone created a user with same username again, above orphaned resources will get assigned to newly created user, since both users have same user

[Dev] ERROR - KeyStoreManager Error when retrieving the system governance registry

2016-02-25 Thread Sravan Nethi
Hi all Getting below error while call api by passing access token ERROR - KeyStoreManager Error when retrieving the system governance registry org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: -1. at