Re: [Architecture] XACML Policy Validator Toolkit for IS

2014-08-12 Thread Dulanja Liyanage
IMHO it should be there under tools and also a button should be given in the policy editor to validate. Then a user can easily validate an external policy using this tool and also a user who's creating a policy can validate without navigating much. On Tue, Aug 12, 2014 at 10:45 AM, Selvaratnam

[Architecture] Supporting multiple environments for Cassandra

2014-08-12 Thread Bhathiya Jayasekara
Hi all, Currently in Storage Server, we can manage (and provision from) only one Cassandra cluster. But in a real system there can be multiple environments like Development, QA, Production etc. It's a bit unlikely for someone to use multiple Storage server instances to manage each environment.

[Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Gayan Dhanushka
Hi all, We have identified that the events in the doc attached herewith are the events which are triggered within each page. While some of them are already published, some of them needs to be published to the social component in order to enhance the user experience and collaboration. While doing

Re: [Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Dmitry Sotnikov
Gayan, A few items seem to be missing: - Issue tracker events, - Lifecycle: production URL assignment, ToDo checkbox selected/cleared. Also, are we adding additional noise-reduction filter so user by default sees more events related to his/her activity and smaller number of events related

Re: [Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Udara Rathnayake
Hi Gayan, See my comment in-line. On Tue, Aug 12, 2014 at 1:54 PM, Gayan Dhanushka gay...@wso2.com wrote: Hi all, We have identified that the events in the doc attached herewith are the events which are triggered within each page. While some of them are already published, some of them

Re: [Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Gayan Dhanushka
Hi Dmitry, Thanks for pointing things out. IMO that would be phase two Dmitry. As soon as I complete publishing all the relevant events I will look to accommodate the noise-reduction filter as well. WDYT of the suggestion made by Udara in the above reply? I think that is a valid comment as well.

Re: [Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Dmitry Sotnikov
Gayan, Indeed, looks like Udara and I are thinking along the same lines. :) This is more than just a build. E.g. when I am creating an application, there are a lot of things that happen (borrowing from your list): 1. application creation started 2. initial git repo creation 3. jenkins

[Architecture] Siddhi CEP snapshot bug?

2014-08-12 Thread Antonio Jesus Navarro
Hi all, Siddhi version 2.1.0-wso2v1 have new service called SnapshotService. I think this service is used to recover the siddhi context from an unexpected shutdown. The service have a method to generate a byte array with snapshot data, and a method to restore this snapshot. Byte array generation

[Architecture] Common component to read passwords via secure vault

2014-08-12 Thread Amila Maha Arachchi
Hi all, At the moment we cannot enable secure vault for all of our config files because all the components do not support reading configs with secure vault. For example, we cannot enable secure vault for dep-sync password in carbon.xml because cep-sync component is not written to support it

Re: [Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Manjula Rathnayake
Hi all, Personalized app-wall can be achieved by the way we publish activities to social component. In current implementation, we publish activities to two contexts called 'foo-user' and 'bar-app' which is rendered in wall as 'foo user wall' and 'bar app wall'. We can introduce another context

[Architecture] Machine Learning Workflow

2014-08-12 Thread Supun Sethunga
Hi Srinath, Attached is a proposed work-flow for the ML design came up by Lochana, Upul and me. Appreciate any comments. Regards, Supun -- *Supun Sethunga* Software Engineer WSO2, Inc. lean | enterprise | middleware Mobile : +94 716546324 ___

Re: [Architecture] Common component to read passwords via secure vault

2014-08-12 Thread Maninda Edirisooriya
+1 for a common component in the kernel. And extending your idea, I was thinking why there is no common single OSGi service to read all the configuration files in the config directory. If that was implemented, there would be many advantages. 1. Coding would be cleaner as no file readers and if

Re: [Architecture] Siddhi CEP snapshot bug?

2014-08-12 Thread Rajeev Sampath
Hi Antonio, On Tue, Aug 12, 2014 at 2:55 PM, Antonio Jesus Navarro ajnava...@stratio.com wrote: Hi all, Siddhi version 2.1.0-wso2v1 have new service called SnapshotService. I think this service is used to recover the siddhi context from an unexpected shutdown. The service have a method to

Re: [Architecture] Siddhi CEP snapshot bug?

2014-08-12 Thread Tishan Dahanayakage
Hi Antonio, To clarify further can you please share your query with us? Thanks, Tishan On Tue, Aug 12, 2014 at 6:47 PM, Rajeev Sampath raje...@wso2.com wrote: Hi Antonio, On Tue, Aug 12, 2014 at 2:55 PM, Antonio Jesus Navarro ajnava...@stratio.com wrote: Hi all, Siddhi version

[Architecture] [AppFactory] BYOAT Progress

2014-08-12 Thread Danushka Fernando
Hi All I am currently working on the Bring Your Own App Type feature. Currently I have implemented a Axis2 Deployer which will deploy Application Types. And with this we can create applications and build and deploy. But for the purpose of deployment we use Jenkins (plugin wrote by us) to push the

Re: [Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Gayan Dhanushka
Hi Manjula, Thanks for the input. I will try to utilize the above mentioned method in the second phase when trying to make the app wall more personalized. Regards GayanD On Tue, Aug 12, 2014 at 5:56 PM, Manjula Rathnayake manju...@wso2.com wrote: Hi all, Personalized app-wall can be

[Architecture] Storage of asset resources in the ES

2014-08-12 Thread Sameera Medagammaddegedara
Hi Everyone, *Current State:* - All the resources of an asset are stored in a database(e.g. images and pdfs) - The embedded H2 database is used as the default data source - CRUD operations are performed using an intermediate layer that abstracts out the complexities of dealing

Re: [Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Dimuthu Leelarathne
Hi, There can be several methods, one being subscription management. However since master branch is shared by all it would be interesting to know whether a build was triggered on it by all. However even in the first phase we must filter out activities happening on the fork repos. I think the

Re: [Architecture] Storage of asset resources in the ES

2014-08-12 Thread Dakshika Jayathilaka
Hi, IMO we need mechanism to store assets on external locations as wel. (ex: dropbox, fileshare ) most of the time users do not want to waste their bandwidth on downloadable stuff. but in this case we need to implement verification mechanism as wel. (SHA or MD5 hash for linked files) WDYT?

Re: [Architecture] Storage of asset resources in the ES

2014-08-12 Thread Chan
I believe - we first thought of implementing a sort of Storage App that would perform this. Registry is used to store Meta-data -not Date by itself. IMO -storing binary data would become a performance bottleneck for the registry. I believe - we need to build a service (JAX-RS perhaps) that handles

Re: [Architecture] Storage of asset resources in the ES

2014-08-12 Thread Udara Rathnayake
Hi Dakshika, On Wed, Aug 13, 2014 at 5:52 AM, Dakshika Jayathilaka daksh...@wso2.com wrote: Hi, IMO we need mechanism to store assets on external locations as wel. (ex: dropbox, fileshare ) most of the time users do not want to waste their bandwidth on downloadable stuff. but in this case

[Architecture] Facility to delete an asset through the UI in ES Publisher

2014-08-12 Thread Sameera Jayaratna
Hi, I am currently working on [1], to facilitate deleting an asset through the UI in Publisher. We plan to provide this based on the lifecycle state of the asset. Therefore a set of states/a single state has to be defined as 'delete' state(s). As per a discussion with SameeraM, there are two

Re: [Architecture] Facility to delete an asset through the UI in ES Publisher

2014-08-12 Thread Udara Rathnayake
Hi Sameera, Is there a way to activate this delete state? Let's take an asset in published life-cycle state, so are we going to allow user to click on delete state and then remove the asset? If yes, how we going to manage current subscribers for that particular asset? Regards, UdaraR On Wed,

Re: [Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Anuruddha Premalal
Hi Gayan, We'll also need to consider about the failure events while tracking the progress. eg. Deployment failure should stop the progress of the deployment event. So we'll have to keep track on start, failure and stop status of a particular event. Other concern is assigning UUID's for

Re: [Architecture] [App Factory] Improvements to application wall

2014-08-12 Thread Gayan Dhanushka
Hi Anuruddha / Dimuthu, The more global this ID is for all the events makes it more consistent. Otherwise we'll have to render these messages according to different parameters which are there in each message. Having said that we need to figure out a common way of doing this. Doing this by looking