[Architecture] WSO2 Carbon Kernel 5.2.0 Released !!!

2017-09-27 Thread Thusitha Thilina Dayaratne
*WSO2 Carbon Kernel 5.2.0 - Released !!!* We are pleased to announce the release of WSO2 Carbon Kernel 5.2.0. The source and tag location for this release are available here . WSO2 Carbon Kernel 5.2.0 is the core of the next-generation W

Re: [Architecture] [C5] Collect config-docs in all featues when packaging product distribution

2017-09-12 Thread Thusitha Thilina Dayaratne
Hi Imesh, ​+1 Wouldn't we need to ship these files?​ Are we planning to add them to > the documentation? AFAIK the idea is to product team check all the relevant configs for a product and create a deployment.yaml manually and ship that with the product. Doc team is working on a project to docume

Re: [Architecture] Multiple runtime support for C5 based products

2017-09-07 Thread Thusitha Thilina Dayaratne
Hi Sajith, Yes, First we deploy the artifacts in server deployment directory and then deploy the runtime specific artifacts. Thanks Thusitha On Fri, Sep 8, 2017 at 11:14 AM, SajithAR Ariyarathna wrote: > Hi Thusitha, > > On Mon, Aug 14, 2017 at 12:08 PM, Thusitha Thilina Dayaratne &

Re: [Architecture] Multiple runtime support for C5 based products

2017-08-13 Thread Thusitha Thilina Dayaratne
so2.com > mobile: +94772207259 <+94%2077%20220%207259> > <http://wso2.com/signature> > > On Mon, Aug 14, 2017 at 10:53 AM, Niranjan Karunanandham < > niran...@wso2.com> wrote: > >> Hi, >> >> On Fri, Aug 11, 2017 at 11:24 AM, Thusitha Thilina Dayarat

Re: [Architecture] Multiple runtime support for C5 based products

2017-08-10 Thread Thusitha Thilina Dayaratne
Hi All, In c5 carbon-deployment we have a method to manually deploy artifacts where we only provide artifact's path and artifact type. This was no issue until 5.2.0-m3 since we only had a single deployment directory. public void deploy(String artifactPath, ArtifactType artifactType)[1] But since

Re: [Architecture] [DEV] Can we bind custom interceptors in msf4j2.3.0-m2

2017-06-05 Thread Thusitha Thilina Dayaratne
Hi Ishara, IMHO this is a valid requirement. But as Vidura mentioned ATM we don;t support dynamic binding from MSF4J. So we need to implement this from MSF4J level. Then we can provide the ability to add/remove interceptors at the runtime. @Azeez, Kishanthan WDYT? Thanks Thusitha On Mon, Jun 5

Re: [Architecture] Multiple runtime support for C5 based products

2017-04-17 Thread Thusitha Thilina Dayaratne
__ Runtime2 > | |___ bin > | | |_ carbon.sh > | |___ deployment > | > |___ lib (this will contains common jars) > > > We are cur

Re: [Architecture] [Dev] [C5] MSF4J Interceptors need to be configurable.

2017-04-03 Thread Thusitha Thilina Dayaratne
gards, > Ishara Cooray > Senior Software Engineer > Mobile : +9477 262 9512 <+94%2077%20262%209512> > WSO2, Inc. | http://wso2.com/ > Lean . Enterprise . Middleware > > On Mon, Jan 16, 2017 at 1:13 PM, Thusitha Thilina Dayaratne < > thusit...@wso2.com> wrote: > >

Re: [Architecture] Multiple runtime support for C5 based products

2017-03-30 Thread Thusitha Thilina Dayaratne
wrote: >>> >>>> Hi Danesh, >>>> >>>> By runtime, do you mean profile of the same product? In C4 based APIM, >>>> we had multiple profiles (Store, Publisher, Key Manager, Gateway, Traffic >>>> manager) but with C5, there will be multiple

Re: [Architecture] Multiple runtime support for C5 based products

2017-03-30 Thread Thusitha Thilina Dayaratne
Since there will be multiple runtimes in a single product we need to get the information such as current runtime name/path etc.. According to the EI structure, the startup script for each runtime resides in the <*ServerHome>/wso2/{runtime}/bin *directory. And there is a corresponding script at <*S

Re: [Architecture] [APIM] [MSF4J] Reason for creating separate micro service for each path defined swagger

2017-03-19 Thread Thusitha Thilina Dayaratne
> > In the beginning, the Application class was used for fatjar mode. I'm not > sure if we can do the same in osgi mode. As Bathiya mentioned, MicroserviceRunner is only for the standalone mode(fatjar mode). In OSGi mode, all the Microservices must implement Microservice interface in order to get

Re: [Architecture] [C5] Moving Carbon Configuration and Carbon Sec-Vault to 2 Separate Repositories (Removing from Kernel)

2017-03-02 Thread Thusitha Thilina Dayaratne
Rather than having a separate repo for utils I'll look into the possibility of moving that to a separate component (same level as core) without having cyclic dependencies. If that is possible then we can pack that as a new feature or core feature itself. Otherwise lets move that to a separate repo.

Re: [Architecture] Carbon C5 - Server Configuration Model

2017-02-01 Thread Thusitha Thilina Dayaratne
Hi All, Since MSF4J supports non-OSGi mode, IMHO it would be great if we move this out from the carbon.core and create a separate top level component which will support both OSGi and standalone mode. Then we can use this to configure the executor pool, according to the new carbon transport archite

Re: [Architecture] [Dev] [C5] MSF4J Interceptors need to be configurable.

2017-01-15 Thread Thusitha Thilina Dayaratne
t;>>>> [4] - https://jax-rs-spec.java.net/nonav/2.0-SNAPSHOT/apidocs/in >>>>>>> dex.html?javax/ws/rs/NameBinding.html >>>>>>> [5] - https://jax-rs-spec.java.net/nonav/2.0-SNAPSHOT/apidocs/in >>>>>>> dex.html?javax/ws/rs/container/PreMatching.html >

Re: [Architecture] [MSF4J] MSF4J Filter Configuration

2017-01-05 Thread Thusitha Thilina Dayaratne
Hi Bathiya, Yes. Our plan is to do the filtering implementation based on the JAX-RS spec. So you would be able to pass the data between filters using the RequestContext objects Thanks Thusitha On Fri, Jan 6, 2017 at 12:35 PM, Bhathiya Jayasekara wrote: > Hi Vidura, > > Can we use ContainerRequ

Re: [Architecture] WebSocket support for MSF4J

2016-12-07 Thread Thusitha Thilina Dayaratne
Hi Irunika, +1 for the idea. As you mentioned we need to have a separate registry for websockets. We need support this for both OSGi and fat jar mode. Thanks On Wed, Dec 7, 2016 at 3:31 PM, Irunika Weeraratne wrote: > Hi, > I'm currently working on the implementation of WebSocket support for M

Re: [Architecture] [Dev] [C5] MSF4J Interceptors need to be configurable.

2016-12-06 Thread Thusitha Thilina Dayaratne
Hi Ishara, As you have mentioned, with the current architecture we can't set the specific interceptor for a particular service but rather to all services in the registry. And also if there are multiple interceptors and one interceptor returns false from its' preCaall then the invocation chain will

[Architecture] [Dev] WSO2 Microservices Framework for Java (WSO2 MSF4J) 2.1.0 Released

2016-11-05 Thread Thusitha Thilina Dayaratne
WSO2 Microservices Framework for Java (WSO2 MSF4J) 2.1.0 Released! We are pleased to announce the release of WSO2 Microservices Framework for Java (WSO2 MSF4J ) 2.1.0. The distribution, source and tag location for this release is available here

[Architecture] [Dev] WSO2 Carbon Kernel 4.4.10 Released

2016-11-01 Thread Thusitha Thilina Dayaratne
*WSO2 Carbon Kernel 4.4.10 Released !!* The Platform team is pleased to announce the release of Carbon Kernel 4.4 .10. *Fixed Bugs* *https://wso2.org/jira/issues/?filter=13580 * *Known Issues* *https://wso2.org/jira/issues/?filter=13581

[Architecture] WSO2 Carbon Feature Plugin 1.5.8 Released

2016-10-05 Thread Thusitha Thilina Dayaratne
*WSO2 Carbon Feature Plugin 1.5.8 Released* The Platform team is pleased to announce the release of Carbon Feature Plugin 1.5.8. It is now available to download from here . *How to Contribute* - WSO2 Carbon Feature Plugin code

Re: [Architecture] Include Ninja Framework for MSF4J performance benchmark tests

2016-09-28 Thread Thusitha Thilina Dayaratne
Hi Sagara, I've added the ninja framework sample[1] to the perf test. We will use that too in the next msf4j release perf test. [1] - https://github.com/wso2/msf4j/pull/281 Thanks Thusitha On Fri, Jul 15, 2016 at 10:53 AM, Sagara Gunathunga wrote: > What about ${Subject} [1] > > > [1] - http

[Architecture] [Dev] WSO2 Carbon Kernel 4.4.9 Released

2016-08-31 Thread Thusitha Thilina Dayaratne
*WSO2 Carbon Kernel 4.4.9 Released !!* The Carbon team is pleased to announce the release of Carbon Kernel 4.4.9. *Fixed Bugs* *https://wso2.org/jira/issues/?filter=13289 * *Known Issues* *https://wso2.org/jira/issues/?filter=13290

[Architecture] [Dev] WSO2 Carbon Kernel 4.4.8 Released

2016-08-17 Thread Thusitha Thilina Dayaratne
*WSO2 Carbon Kernel 4.4.8 Released !!* The Carbon team is pleased to announce the release of Carbon Kernel 4.4.8. *Fixed Bug* https://wso2.org/jira/browse/CARBON-16021 *Known Issues* *https://wso2.org/jira/issues/?filter=13288 * *How to Contribute*

Re: [Architecture] Initialize Carbon Metrics at startup in MSF4J

2016-08-07 Thread Thusitha Thilina Dayaratne
Hi Isuru, IMHO, if the carbon metrics initializing time do not change the existing startup time by a quite margin, that would be ok. At the moment it is about 200 - 300ms for a simple service. Do we know that additional overhead that will bring the startup? Thanks Thusitha On Mon, Aug 8, 2016 at

[Architecture] WSO2 Microservices Framework for Java (WSO2 MSF4J) 2.0.0 Released!

2016-07-22 Thread Thusitha Thilina Dayaratne
WSO2 Microservices Framework for Java (WSO2 MSF4J) 2.0.0 Released! We are pleased to announce the release of WSO2 Microservices Framework for Java (WSO2 MSF4J ) 2.0.0. The distribution, source and tag location for this release is available here

Re: [Architecture] MSF4J Helloworld sample size > 20 MB ?

2016-06-17 Thread Thusitha Thilina Dayaratne
Hi Sagara, In the latest pack the helloworld sample is 12.2 MB. AFAIR Azeeze has removed most of the unwanted OSGi stuffs that get bundled. Will check on this further. Thanks Thusitha On Fri, Jun 17, 2016 at 1:43 PM, Sagara Gunathunga wrote: > > In MSF4J 1.1.0-SNAPSHOT version helloworld sampl

[Architecture] Do we need a House Keeping Task for C5 Based Products

2016-06-07 Thread Thusitha Thilina Dayaratne
Hi All, I'm trying to implement file upload support for msf4j with FormParam. In the none streaming mode, we need to create temp files in some location and clean them after a particular time period. For that purpose at the moment I'm using apache commons-io provided FileCleaningTracker[1, 2]. The

Re: [Architecture] Evaluating a Yaml parser for C5

2015-11-22 Thread Thusitha Thilina Dayaratne
Hi Dinusha, It seems that SankeYAML documentation[1] is also more comprehensive than the YamlBeans. [1] - https://code.google.com/p/snakeyaml/wiki/Documentation Thanks On Mon, Nov 23, 2015 at 12:44 PM, Godwin Shrimal wrote: > Hi Botheju, > > It looks SnakeYaml has an active community accordin

[Architecture] WSO2 Carbon Kernel 4.4.1 Released

2015-08-05 Thread Thusitha Thilina Dayaratne
*WSO2 Carbon Kernel 4.4.1 Released* Carbon team is pleased to announce the release of the Carbon kernel 4.4.1 . Following are the bug fixes and improvements included in this release. *Improvements* - [CARBON-15248 ] Make resource cache timeout co

Re: [Architecture] [AS] TomEE 1.7.2 Upgrade Progress

2015-05-23 Thread Thusitha Thilina Dayaratne
7;ll be available. You can use the staging > repo mentioned in the vote mail to build the TomEE 1.7.2 bundle for testing > purposes. You do not have to build on snapshot version. > > Regards, > KasunG > > On Thu, May 21, 2015 at 10:56 AM, Thusitha Thilina Dayaratne < > t

Re: [Architecture] [AS] TomEE 1.7.2 Upgrade Progress

2015-05-21 Thread Thusitha Thilina Dayaratne
ajasinghe > wrote: > >> The tomee-ejb-example can be found here in product-as master - >> modules/samples/product/JavaEE-TomEE/javaee-examples/ >> >> On Thu, May 21, 2015 at 7:15 AM, Thusitha Thilina Dayaratne < >> thusit...@wso2.com> wrote: >> >>&

[Architecture] [AS] TomEE 1.7.2 Upgrade Progress

2015-05-21 Thread Thusitha Thilina Dayaratne
Hi, This is to inform the current progress of WSO2-AS upgrade for TomEE 1.7.2 Since TomEE 1.7.2 still not released yet we are using 1.7.2-SNAPSHOT at the moment. I updated the TomEE bundle and created the TomEE resource bundle. Now WSO2-AS is getting build and server can be start without any issue

[Architecture] WebSocket Implementations which are based on Tomcat 7.x needs to change according to JSR-356 websocket spec to support in Tomcat 8.x

2015-05-07 Thread Thusitha Thilina Dayaratne
Hi All, I'm working on introducing Tomcat 8.x support to the Carbon kernel and the WSO2-AS. With the Tomcat 8.x, it no longer supports the tomcat specific WebSocket implementation which was there in Tomcat 7.x. Tomcat 8.x implements Java WebSocket 1.1 API defined by JSR-356 [1,2]. Therefore all th