Re: [Architecture] Supporting audit logs in App Manager

2016-02-24 Thread Ruwan Abeykoon
Hi All, What we need to log as audit log is, {Time, SequenceId, UserId, Action, Subject, optional(OldSubject), optional(NewSubject)} This will allow one to do audit trace on the question "Who did what on which?" We will not log all the detail on the OldSubject or NewSubject. This needs to be

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

2016-02-24 Thread Awanthika Senarath
Hi Susinda, Currently I am evaluating approaches for generating avro schema from XSD keeping option 1 in mind. [1] seems to be a reliable option, but the generated avro schema is not in the accepted format for us. [1] https://github.com/Nokia/Avro-Schema-Generator Regards Awanthika

[Architecture] [datamapper] Generating XSD from XML

2016-02-24 Thread Susinda Perera
For Datamapper we have to give an option to do data mapping starting from xml payload (that user may already have). For this we need to to create avro schema from xml instance. Possible approaches may be 1. Generate xml schema(XSD) from xml and then create avro schema from XSD. 2. Directly

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

2016-02-24 Thread Lahiru Cooray
Hi, We have implemented multiple versions support to WebApps and Sites in AppM. Here, we allow users to create multiple versions of a WebApp/Site and select a particular version as the default. So users can access the default version of the app with the default URL (eg: host_name/context) and

Re: [Architecture] REST Services for MB 3.5.0 on C5

2016-02-24 Thread Ramith Jayasinghe
adding azeez, Sameera, what are your thoughts on having these REST services version-ed. On Wed, Feb 24, 2016 at 7:03 PM, Asitha Nanayakkara wrote: > Hi Hemika, > > Having a version number (which is separate from the product version number) > would be beneficial in my opinion.

Re: [Architecture] ESB Analytics Mediation Event Publishing Mechanism

2016-02-24 Thread Supun Sethunga
Hi Sanjiva, In the current approach also, we do have mediator level information. Though ESB publishes aggregated info to DAS, using a relational provider implemented in DAS, we split the aggregated info in to mediator-level info while retrieving for analyzes. (basically, when we load the

Re: [Architecture] REST Services for MB 3.5.0 on C5

2016-02-24 Thread Asitha Nanayakkara
Hi Hemika, Having a version number (which is separate from the product version number) would be beneficial in my opinion. If there is an API change between releases, this would prevent clients from calling the new API with a client written for an older API. In addition if we have no API changes

Re: [Architecture] ESB Analytics Mediation Event Publishing Mechanism

2016-02-24 Thread Sanjiva Weerawarana
IMO we're worrying about the wrong thing. No one will ever WANT to trace 1000 TPS unless its tracing for audit purposes. If its for tuning/debugging then what we need is APIs that will let people dynamically turn on traciny VERY selectively. I prefer if we log per mediator because then we can do

[Architecture] REST Services for MB 3.5.0 on C5

2016-02-24 Thread Hemika Kodikara
Hi All, We are planning move all MB admin services which was supported through web services to REST services. The proposed REST services will built on top of org.wso2.msf4j.feature feature along with Jersey. The REST service component will reside alongside with the broker in the andes bundle(the

Re: [Architecture] [Analytics for APIM] Integration Tests to cover Alerting scripts

2016-02-24 Thread Sriskandarajah Suhothayan
+1 looks good, for testing prepuces we can also deploy some related executionplans, stream and publishers to tap intermediate analytics results. Regards Suho On Wed, Feb 24, 2016 at 1:44 PM, Sachith Withana wrote: > Hi all, > > We are going to implement the integration tests

Re: [Architecture] Authorization Model for MB

2016-02-24 Thread Akalanka Pagoda Arachchi
Hi Indika, The jaas authentication will handle the AMQP URL username/password. It will have a custom callback handler to extract the username and password from the URL and create a authentication subject to be authorized from. I planned to keep the create queue/topic permission separately from

Re: [Architecture] ESB Analytics Mediation Event Publishing Mechanism

2016-02-24 Thread Supun Sethunga
Hi Sanjiva, Yes we are indeed using a stream definition and publishing the events using Thrift. But in doing so, there were two approaches we considered: 1. ESB publishing a single event per mediator in a message flow. 2. ESB publishing a single event per message flow (rather than for

Re: [Architecture] Authorization Model for MB

2016-02-24 Thread Hasitha Amal De Silva
Hi Indika, comments inline. On Wed, Feb 24, 2016 at 2:32 PM, Indika Sampath wrote: > Hi Akalanka, > > I have few questions. > > 1. How are we authorize user's who connect to broker via JMS client > program? In that case we only passing username and password in AMQP URL. >

Re: [Architecture] Authorization Model for MB

2016-02-24 Thread Indika Sampath
Hi Akalanka, I have few questions. 1. How are we authorize user's who connect to broker via JMS client program? In that case we only passing username and password in AMQP URL. User may not assigned to any role at the moment other than default role (Internal/everyone). 2. Is subscribe action

[Architecture] [Analytics for APIM] Integration Tests to cover Alerting scripts

2016-02-24 Thread Sachith Withana
Hi all, We are going to implement the integration tests to cover the alerting scripts being implemented in the process of developing Analytics for APIM. The integration test would be run against the DAS distribution for APIM which would contain all the artifacts related to the APIM analytics