Re: [Architecture] Review DB table audit fields for API Manager C5

2016-10-21 Thread Abimaran Kugathasan
On Fri, Oct 21, 2016 at 12:10 PM, Bhathiya Jayasekara wrote: > > On Wed, Oct 12, 2016 at 12:30 PM, Inosh Goonewardena > wrote: > >> >> >> On Tue, Oct 11, 2016 at 2:40 PM, Uvindra Dias Jayasinha > > wrote: >> >>> Thanks for the feedback, some

Re: [Architecture] [C5] Spark/Lucene Integration in Stream Processor

2016-10-21 Thread Nirmal Fernando
On Fri, Oct 21, 2016 at 2:00 PM, Anjana Fernando wrote: > Hi, > > So we are starting on porting the earlier DAS specific functionality to > C5. And with this, we are planning on not embedding the Spark server > functionality to the primary binary itself, but rather run it

Re: [Architecture] Grouping Identity server configurations.

2016-10-21 Thread Ishara Karunarathna
Hi Prabath, Primary goal is to group the configurations but we can achieve isolations with access control. Let me describe with the diagrams. With the current implementation we have individual SP configurations. And we need to set all the configurations (Claim, authentication chain etc..) in each

Re: [Architecture] [IS] What are the REST APIs in WSO2IS-5.3.0 that need to be secured?

2016-10-21 Thread Prabath Siriwardana
Thanks! Few questions related to the certificate-based handler... 1. Why do we expect username to be passed along with the request and it's a must...? 2. Also, we are not checking whether we have the original certificate - we only rely on the TLS mutual auth validation at the container level -

Re: [Architecture] Rewriting ActiveCollab Connector

2016-10-21 Thread Vivekananthan Sivanayagam
Hi All, The connector is released and published in the store [1]. [1] https://store.wso2.com/store/assets/esbconnector/list?q=%22_default%22%3A%22ActiveCollab%22 [2] https://docs.wso2.com/display/ESBCONNECTORS/ActiveCollab+Connector Vivekananthan Sivanayagam Associate Software Engineer | WSO2

Re: [Architecture] [C5] Spark/Lucene Integration in Stream Processor

2016-10-21 Thread Sriskandarajah Suhothayan
On Fri, Oct 21, 2016 at 2:00 PM, Anjana Fernando wrote: > Hi, > > So we are starting on porting the earlier DAS specific functionality to > C5. And with this, we are planning on not embedding the Spark server > functionality to the primary binary itself, but rather run it

Re: [Architecture] Defining specific custom exceptions for API Manager C5

2016-10-21 Thread Uvindra Dias Jayasinha
If you really want to handle all exceptions being thrown in the same way you can use a multi exception catch block[1](supported from Java 7) to do this. That way the component developer doesn't have to worry about defining exception hierarchies, which is really not the concern of the component

Re: [Architecture] Defining specific custom exceptions for API Manager C5

2016-10-21 Thread Malith Jayasinghe
On Fri, Oct 21, 2016 at 12:08 PM, Harsha Kumara wrote: > > > On Fri, Oct 21, 2016 at 11:14 AM, Malith Jayasinghe > wrote: > >> Hi Harsha, >> >> It makes sense to define specific exceptions. However, I am wondering (in >> most of these cases) whether the

Re: [Architecture] Defining specific custom exceptions for API Manager C5

2016-10-21 Thread Susinda Perera
+1 for having custom exceptions. However, as Malintha mentioned I believe it will help us having exception hierarchy. There may be cases where catching top level exceptions may be sufficient. If we have a hierarchy, programmer can decide which one to use depending on the context. Thanks Susinda

Re: [Architecture] Defining specific custom exceptions for API Manager C5

2016-10-21 Thread Isuru Perera
+1 for having separate exception classes. It's also good if you want to define different hierarchies of exceptions, but we need to think carefully and properly group those exceptions. On Fri, Oct 21, 2016 at 12:08 PM, Harsha Kumara wrote: > > > On Fri, Oct 21, 2016 at 11:14

Re: [Architecture] Review DB table audit fields for API Manager C5

2016-10-21 Thread Bhathiya Jayasekara
On Wed, Oct 12, 2016 at 12:30 PM, Inosh Goonewardena wrote: > > > On Tue, Oct 11, 2016 at 2:40 PM, Uvindra Dias Jayasinha > wrote: > >> Thanks for the feedback, some interesting points were brought up >> >> @Abimaran, the problem with maintaining a rigid

Re: [Architecture] Defining specific custom exceptions for API Manager C5

2016-10-21 Thread Harsha Kumara
On Fri, Oct 21, 2016 at 11:14 AM, Malith Jayasinghe wrote: > Hi Harsha, > > It makes sense to define specific exceptions. However, I am wondering (in > most of these cases) whether the caller can do anything specially to handle > these exception (I guess this will depend on how

Re: [Architecture] Creating several versions of same API on APIM REST APIs

2016-10-21 Thread Kaveesha Perera
Hi all, I recently finished above discussed implementation and procedure underwent several modifications to overcome few erroneous situations arose. Current flow with those modifications are summarized in the following Fig 1.2. Please find the corresponding pr in [1]. ​ * Fig 1.2*[1]

Re: [Architecture] Defining specific custom exceptions for API Manager C5

2016-10-21 Thread Uvindra Dias Jayasinha
On 21 October 2016 at 10:09, Chamila Adhikarinayake wrote: > > > On Thu, Oct 20, 2016 at 2:51 PM, Uvindra Dias Jayasinha > wrote: > >> Hi Malintha, >> >> What do we gain by defining an exception hierarchy? As long as we can >> differentiate between