Re: [Architecture] Multi tenanting Issue Tracker

2013-07-24 Thread Ajanthan Balachandran
On Wed, Jul 24, 2013 at 12:02 PM, Dimuthu Leelarathne wrote: > Hi, > > I've been looking into the subject. Evaluated 2 projects > > Trac > I believe you mean this[0] project by Trac. > - Very active, 13 contributors (according to ohloh) in python > - One proecess per project. We can associate a r

Re: [Architecture] Role per G-Reg Asset

2013-07-24 Thread Amila Suriarachchi
On Tue, Jul 23, 2013 at 2:17 PM, Senaka Fernando wrote: > Hi all, > > This is WRT, #1725 on Redmine. > > + > The idea is to create a special role that gives READ, WRITE, DELETE and > AUTHORIZE access to a particular asset making it possible for a particular > user or set of us

Re: [Architecture] Role per G-Reg Asset

2013-07-24 Thread Srinath Perera
Hi Senaka, I am bit confused about the requirement. Which one is it? a) Is it not to have ownership with one user, so multiple users own it so if one user left, still document is accessible b) Is it we want to give Read, Write, Delete permissions to users? (We had this long time ago, did we loose

Re: [Architecture] Throttling Support at API Resource Level

2013-07-24 Thread Srinath Perera
Hi All, I am sorry I missed this thread. Did not we planned to do this via Siddhi? that will give a very comprehensive solution IMO. --Srinath On Thu, Jul 18, 2013 at 6:52 PM, Samisa Abeysinghe wrote: > > > On Thu, Jul 18, 2013 at 9:36 AM, Sanjeewa Malalgoda wrote: > >> Hi Samisa, >> >> On Th

[Architecture] Ability to integrate and run TCKs with porducts

2013-07-24 Thread Vijitha Kumara
Hi All, I think it'd be good if we have the $Subject. What need to be done is to have a simple config in pom.xml (or some other config method) which enables a carbon server get started (and shutdown/cleanup) and run some external test cases along with it. As I see we currently depend on TestNG thi

Re: [Architecture] [AF] Feedback channel for app owner / customer

2013-07-24 Thread Samisa Abeysinghe
The UES team who will work on the social stream aspect need to take this into account as a use case. On Wed, Jul 24, 2013 at 11:03 AM, Asanka Dissanayake wrote: > Yes, But same as in FB, once a user post something . others can continue > it . That will help to carryout some discussions in a open

Re: [Architecture] Throttling Support at API Resource Level

2013-07-24 Thread Sriskandarajah Suhothayan
On Wed, Jul 24, 2013 at 3:06 PM, Srinath Perera wrote: > Hi All, > > I am sorry I missed this thread. Did not we planned to do this via Siddhi? > that will give a very comprehensive solution IMO. > > We too had a thread on this "Using CEP to support Throttling". Suho --Srinath > > > On Thu, Jul

Re: [Architecture] [AF] Feedback channel for app owner / customer

2013-07-24 Thread Sanjiva Weerawarana
+1 to doing this properly via the new social framework we're creating and to not special casing this. On Wed, Jul 24, 2013 at 3:22 PM, Samisa Abeysinghe wrote: > The UES team who will work on the social stream aspect need to take this > into account as a use case. > > > On Wed, Jul 24, 2013 at

Re: [Architecture] Throttling Support at API Resource Level

2013-07-24 Thread Sumedha Rubasinghe
On Wed, Jul 24, 2013 at 3:06 PM, Srinath Perera wrote: > Hi All, > > I am sorry I missed this thread. Did not we planned to do this via Siddhi? > that will give a very comprehensive solution IMO. > Srinath, We have only added another level of throttling capability for APIs. This is still utilizi

Re: [Architecture] [ESB] Why do we have a fault sequence in API

2013-07-24 Thread Sanjiva Weerawarana
Sumedha that's not natural from the HTTP point of view .. that's why I believe it was not there originally. (Or was it? I can't remember for sure.) From an HTTP point of view a fault is a 500 response .. so if the back end fails for some reason it should generate a 500 message thru the response pat

Re: [Architecture] [ESB] Why do we have a fault sequence in API

2013-07-24 Thread Sumedha Rubasinghe
On Wed, Jul 24, 2013 at 3:55 PM, Sanjiva Weerawarana wrote: > Sumedha that's not natural from the HTTP point of view .. that's why I > believe it was not there originally. (Or was it? I can't remember for > sure.) > This has been there. >From an HTTP point of view a fault is a 500 response .. so

[Architecture] [Appfactory] Tenant Isolation in Jenkins

2013-07-24 Thread Shamika Ariyawansa
HI, As we discussed so fa,r we tried/trying following approaches for the $subject. 1. Deploying Jenkins web app in AS per tenant. - Solution was not scalable due to the size of the Jenkins Web-app (61MB - without plugins) and its not practicable to deploy this as the tenant count gets increased.

Re: [Architecture] Proper way to secure configuration for Connectors

2013-07-24 Thread Sanjiva Weerawarana
On Wed, Jul 24, 2013 at 4:14 PM, Samisa Abeysinghe wrote: > OK, so, it should be at proxy level. If there are two twitter connectors > for a proxy, they will be defined as twitterYou and twitterMe within the > proxy scope. And we can re-use them in sequences as we wish. > I don't think I underst

Re: [Architecture] [Appfactory] Tenant Isolation in Jenkins

2013-07-24 Thread Ajanthan Balachandran
On Wed, Jul 24, 2013 at 4:34 PM, Shamika Ariyawansa wrote: > HI, > > As we discussed so fa,r we tried/trying following approaches for the > $subject. > > 1. Deploying Jenkins web app in AS per tenant. - Solution was not scalable > due to the size of the Jenkins Web-app (61MB - without plugins) and

Re: [Architecture] Proper way to secure configuration for Connectors

2013-07-24 Thread Kasun Indrasiri
- How about not having twiiter.config element and instead we define that as a local entry as mentioned above. Then we only refer them when invoking an operation. (Virtually all operations have 'conf' as an optional parameter and if not specified it will use the existing values from the context) H

Re: [Architecture] Proper way to secure configuration for Connectors

2013-07-24 Thread Samisa Abeysinghe
On Wed, Jul 24, 2013 at 4:51 PM, Sanjiva Weerawarana wrote: > On Wed, Jul 24, 2013 at 4:14 PM, Samisa Abeysinghe wrote: > >> OK, so, it should be at proxy level. If there are two twitter connectors >> for a proxy, they will be defined as twitterYou and twitterMe within the >> proxy scope. And we c

[Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Isuru Haththotuwa
Hi, In the git based deployment synchronizer, we have a repository per tenant. Therefore we need to create git repositories dynamically for the tenants created. For this we need to communicate with the relevant git server at the runtime through a java api. Came across two commonly used git servers

Re: [Architecture] Proper way to secure configuration for Connectors

2013-07-24 Thread Sanjiva Weerawarana
One of the lessons I learnt from WSDL is not to force users to define and name things unless they need to reuse it. So forcing me to create a named config is annoying IMO. I'm +1 for being able to call once and forget about it for the current MC - it has to work that way. I think that's enough to

Re: [Architecture] Role per G-Reg Asset

2013-07-24 Thread Senaka Fernando
Hi Amila, Srinath, Authorize permission does exactly what you meant by this new permission. However, the issue is we only have role-based permissions and no user-based permissions, which is why we need to create a role and add users to that role in order to grant permissions. We have realized that

Re: [Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Paul Fremantle
We are already shipping gitblit with the S2 demo AMI. Paul On 24 July 2013 15:16, Isuru Haththotuwa wrote: > Hi, > > In the git based deployment synchronizer, we have a repository per tenant. > Therefore we need to create git repositories dynamically for the tenants > created. For this we need

Re: [Architecture] Proper way to secure configuration for Connectors

2013-07-24 Thread Samisa Abeysinghe
On Wed, Jul 24, 2013 at 8:45 PM, Sanjiva Weerawarana wrote: > One of the lessons I learnt from WSDL is not to force users to define and > name things unless they need to reuse it. So forcing me to create a named > config is annoying IMO. I'm +1 for being able to call once > and forget about it fo

Re: [Architecture] Proper way to secure configuration for Connectors

2013-07-24 Thread Samisa Abeysinghe
So, Viraj, we need to take this design into account in the DevS visual tool. Lets come up with the initial mock-up we came up with, and then see how to address the names vs not-named cases. On Thu, Jul 25, 2013 at 7:07 AM, Samisa Abeysinghe wrote: > > > > On Wed, Jul 24, 2013 at 8:45 PM, Sanjiv

Re: [Architecture] Stabilizing ESB Graphical Editor

2013-07-24 Thread Samisa Abeysinghe
Guys, any updated on day 2? Also, we need to plan how to address the issues found out of this today. Can we have a meeting? On Tue, Jul 23, 2013 at 11:37 PM, Kasun Indrasiri wrote: > Hi, > > The hackathon went really well. I think it was extremely useful to have > both DevS and ESB team togeth

Re: [Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Isuru Haththotuwa
On Thu, Jul 25, 2013 at 1:20 AM, Paul Fremantle wrote: > We are already shipping gitblit with the S2 demo AMI. > This is not S2 specific. > > Paul > > > On 24 July 2013 15:16, Isuru Haththotuwa wrote: > >> Hi, >> >> In the git based deployment synchronizer, we have a repository per >> tenant.

Re: [Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Paul Fremantle
I know. I'm simply pointing out we already use Gitblit --- so please use that rather than add another different dependency. Unless of course there is a good reason to use a different git server, in which case we will look at the other one. Paul On 25 July 2013 05:12, Isuru Haththotuwa wrote: >

Re: [Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Isuru Haththotuwa
On Thu, Jul 25, 2013 at 9:53 AM, Paul Fremantle wrote: > I know. I'm simply pointing out we already use Gitblit --- so please use > that rather than add another different dependency. Unless of course there > is a good reason to use a different git server, in which case we will look > at the other

Re: [Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Isuru Perera
Hi, In order to use Git DepSync, do we need one of the mentioned Git Servers? How is this done in SVN DepSync? For SVN, we just need to give the SVN repository URL. With your implementation, can we just give a GitHub repository? I'm just trying to understand the context here. Thanks! On Wed,

Re: [Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Isuru Haththotuwa
On Thu, Jul 25, 2013 at 10:20 AM, Isuru Perera wrote: > Hi, > > In order to use Git DepSync, do we need one of the mentioned Git Servers? > > How is this done in SVN DepSync? For SVN, we just need to give the SVN > repository URL. > > With your implementation, can we just give a GitHub repository

Re: [Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Isuru Perera
On Thu, Jul 25, 2013 at 10:29 AM, Isuru Haththotuwa wrote: > > On Thu, Jul 25, 2013 at 10:20 AM, Isuru Perera wrote: > >> Hi, >> >> In order to use Git DepSync, do we need one of the mentioned Git Servers? >> >> How is this done in SVN DepSync? For SVN, we just need to give the SVN >> repository

Re: [Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Isuru Haththotuwa
On Thu, Jul 25, 2013 at 10:44 AM, Isuru Perera wrote: > > > > On Thu, Jul 25, 2013 at 10:29 AM, Isuru Haththotuwa wrote: > >> >> On Thu, Jul 25, 2013 at 10:20 AM, Isuru Perera wrote: >> >>> Hi, >>> >>> In order to use Git DepSync, do we need one of the mentioned Git Servers? >>> >>> How is this

Re: [Architecture] Role per G-Reg Asset

2013-07-24 Thread Srinath Perera
Hi Senaka, IMHO, we should not define a role per tenant, and this way we will end too many roles (which we tried to avoid by not having user level permissions). Instead, cannot we have few roles (not role per user). For example, we can have a DocAdmin role which we assign as the owner of document

Re: [Architecture] Possible Git Servers for Git Based Deployment Synchronizer

2013-07-24 Thread Isuru Perera
On Thu, Jul 25, 2013 at 10:53 AM, Isuru Haththotuwa wrote: > > On Thu, Jul 25, 2013 at 10:44 AM, Isuru Perera wrote: > >> >> >> >> On Thu, Jul 25, 2013 at 10:29 AM, Isuru Haththotuwa wrote: >> >>> >>> On Thu, Jul 25, 2013 at 10:20 AM, Isuru Perera wrote: >>> Hi, In order to use G

[Architecture] Adding Embedded Proxy service to WSO2 Test Automation Framework

2013-07-24 Thread Dharshana Warusavitharana
Hi All, Currently the Automation framework provides several embedded servers to provide backing support for urging automated testing scenarios. 1. Embedded Tomcat for Jax-RS support. 2. Embedded FTP server (Apache FTP). 3. Embedded ActiveMQ severs. The coming request is embedding a proxy server

Re: [Architecture] Role per G-Reg Asset

2013-07-24 Thread Samisa Abeysinghe
How does that work, if we need to have tenant isolation? On Thu, Jul 25, 2013 at 11:00 AM, Srinath Perera wrote: > Hi Senaka, > > IMHO, we should not define a role per tenant, and this way we will end too > many roles (which we tried to avoid by not having user level permissions). > > Instead,

Re: [Architecture] Role per G-Reg Asset

2013-07-24 Thread Eranda Sooriyabandara
Hi Srinath, On Thu, Jul 25, 2013 at 11:00 AM, Srinath Perera wrote: > Hi Senaka, > > IMHO, we should not define a role per tenant, and this way we will end too > many roles (which we tried to avoid by not having user level permissions). > > Instead, cannot we have few roles (not role per user).

Re: [Architecture] Role per G-Reg Asset

2013-07-24 Thread Srinath Perera
No, what I mean is have few roles per tenant, which we will use to own documents. For example, if u think about WSO2 case, we can have engDocAdmin, FinanceDocAdmin etc .. few not per user. Samisa, I did not understood the Q. I will chat f2f. --Srinath On Thu, Jul 25, 2013 at 11:28 AM, Eranda So

Re: [Architecture] Throttling Support at API Resource Level

2013-07-24 Thread Samisa Abeysinghe
So, on the UI, how can I say 10 for Gold and 5 for Silver? On Thu, Jul 25, 2013 at 11:31 AM, Sanjeewa Malalgoda wrote: > Attaching UI components screen shots. > > Thanks, > Sanjeewa. > > > On Wed, Jul 24, 2013 at 3:54 PM, Sumedha Rubasinghe wrote: > >> >> >> On Wed, Jul 24, 2013 at 3:06 PM, Srin

Re: [Architecture] Throttling Support at API Resource Level

2013-07-24 Thread Nuwan Dias
On Thu, Jul 25, 2013 at 11:44 AM, Samisa Abeysinghe wrote: > So, on the UI, how can I say 10 for Gold and 5 for Silver? > Those are defined in the tiers.xml policy file which is stored in the Registry. It is the admin who would define these. Thanks, NuwanD. > > > On Thu, Jul 25, 2013 at 11:31

Re: [Architecture] Throttling Support at API Resource Level

2013-07-24 Thread Isabelle Mauny
All, With all those throttling limits with the same name, it's getting very confusing to understand what is going to happen in the end. We should introduce a few more default ones , with more significant names - Also, how are we checking that the limits we are setting at different levels make

Re: [Architecture] Throttling Support at API Resource Level

2013-07-24 Thread Srinath Perera
Hi Sumedha, Ah ok, lets get this done for next round. --Srinath On Wed, Jul 24, 2013 at 3:54 PM, Sumedha Rubasinghe wrote: > > > On Wed, Jul 24, 2013 at 3:06 PM, Srinath Perera wrote: > >> Hi All, >> >> I am sorry I missed this thread. Did not we planned to do this via >> Siddhi? that will gi