Re: [Architecture] [Dev] 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" wrote:

[Architecture] [APIM Analytics] Stakeholders for alerts

2016-02-25 Thread Nirmal Fernando
Hi All, We need to come up with a list of stakeholders for APIM alerts. Please help on completing it. Alert Type Description admin creator publisher subscriber 1. Abnormal response time/ backend time If an API response time or the backend time lies outside the Xth percentile (we have to ask the p

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

Re: [Architecture] [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 the private paas. > Hi

Re: [Architecture] [Dev] 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, Rukshan

Re: [Architecture] [datamapper] Generating XSD from XML

2016-02-25 Thread Awanthika Senarath
Hi all, Is there any particular reason as to why we are sticking into avro schema for the datamapper implementation? AFAIS the only tool (open/non-open source) that exist for XSD to avro conversion, is the same that has been used by the team when we attempted the data mapper first 2 years back.

Re: [Architecture] [Dev] 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 Fer

Re: [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 carbon to create tenants

Re: [Architecture] [AppM] Improvement - Multiple versions support for Mobile Apps

2016-02-25 Thread Ruwan Abeykoon
Hi All, What I feel is the linear versioning scheme (i.e. v 1.0, v 1.1, v1.2) is an artificial thing. Real app(Web, mobile, site, desktop, IoT, etc) versioning is something more than that. That has N dimensions. Lets consider mobile app case for example, however applies to all application types IM

[Architecture] Fwd: Defining UX Pasona for the Platform

2016-02-25 Thread Dakshika Jayathilaka
Sure, We'll try to come up with main personas that we can use. IMHO there may be key personas + sub levels. I'll schedule a meeting once we complete first draft. Thank you, Regards, *Dakshika Jayathilaka* PMC Member & Committer of Apache Stratos Senior Software Engineer WSO2, Inc. lean.enterpri

Re: [Architecture] Defining UX Pasona for the Platform

2016-02-25 Thread Srinath Perera
Oops s/pasona/persona On 25 Feb 2016 20:54, "Srinath Perera" wrote: > Hi Dakshika, > > As per our chat, most of the time, we will use a common set of Pasona's > for UX user stories (e.g. developer, DevOps Person, Business User etc). IMO > defining them before will save lot of time. Then for most

[Architecture] 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: [Architecture] [AppM] Improvement - Multiple versions support for Mobile Apps

2016-02-25 Thread Chathura Dilan
Hi Lahiru, Can we have a meeting for this. Since mobile apps are in binary files we do not need to show multiple versions on the store and it make it more complex scenario for users. It is developer's task to support backward compatibility of the mobile app as much as possible. Otherwise he will

[Architecture] Defining UX Pasona for the Platform

2016-02-25 Thread Srinath Perera
Hi Dakshika, As per our chat, most of the time, we will use a common set of Pasona's for UX user stories (e.g. developer, DevOps Person, Business User etc). IMO defining them before will save lot of time. Then for most use cases, we can pick one from the list. Could UX team define Pasona's? When

Re: [Architecture] ESB Analytics Mediation Event Publishing Mechanism

2016-02-25 Thread Sanjiva Weerawarana
IMO this is the wrong approach :-). I'd prefer to put energy into developing an excellent API to do selective tracing ... and let DAS do its job. Now you need ot run a job to re-distribute the data before you can do anything either. On Wed, Feb 24, 2016 at 7:35 PM, Supun Sethunga wrote: > Hi Sa

Re: [Architecture] Manage ESB Endpoint configs dynamically

2016-02-25 Thread Malaka Silva
Hi Gayan, There are currently limitation from esb side to support this from connectors. So firstly this improvement needs to go to next esb version and will implement this afterwards. Currently only option is to manually update the connector. [1] [Dev] [PET] Couldn't retrieve the endpoint templa

Re: [Architecture] Supporting audit logs in App Manager

2016-02-25 Thread Jenananthan Yogendran
Hi , We have multiple tenant stores support , So we should log the tenant Id of store where user perform actions. i.e {Time, SequenceId, UserId, tenantId of user, tenant Id of Store, Action, Subject, optional(OldSubject), optional(NewSubject)} Thanks On Thu, Feb 25, 2016 at 4:09 PM, Sajith Ariy

Re: [Architecture] [datamapper] Generating XSD from XML

2016-02-25 Thread Sohani Weerasinghe
Hi Awanthika, We have tried this tool sometime back and as I remember it has some issues with namespaces and also it generates separate files for each complex datatypes (which I think you are merging and creating a single object) .If we are to use this it seems we need to improve this and fix the

Re: [Architecture] 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 I

Re: [Architecture] [datamapper] Generating XSD from XML

2016-02-25 Thread Awanthika Senarath
Hi Susinda, I was able to generate a nested avro schema from a nested xsd schema using the tool by doing some changes to the API, as it by default generated the nested schema Json objects as separate root level Json objects being mapped to the parent Json via namespaces. But it has an issue as it

[Architecture] 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 name[1

Re: [Architecture] Supporting audit logs in App Manager

2016-02-25 Thread Sajith Ariyarathna
Hi All, What we need to log as audit log is, > {Time, SequenceId, UserId, Action, Subject, optional(OldSubject), > optional(NewSubject)} > IMO username is not enough for a audit log; including both username & tenant ID is a better approach. Thanks. On Thu, Feb 25, 2016 at 12:22 PM, Ruwan Abeykoo

Re: [Architecture] Manage ESB Endpoint configs dynamically

2016-02-25 Thread Gayan Gunarathne
Did we update the ESB Salesforce connector new version with this endpoint configs? Is that available in cartridge store? Thanks, Gayan On Fri, Feb 5, 2016 at 5:48 PM, Vivekananthan Sivanayagam < vivekanant...@wso2.com> wrote: > Hi , > > I have created end point template manually and called it in