Re: [Architecture] [Dev] [C5] Must Inject CarbonServerInfo when writing OSGi Test Cases

2016-04-11 Thread Aruna Karunarathna
hanks, > Nilmini > > On Fri, Apr 8, 2016 at 12:13 AM, Imesh Gunaratne <im...@wso2.com> wrote: > >> Hi Aruna, >> >> On Thu, Apr 7, 2016 at 6:21 PM, Aruna Karunarathna <ar...@wso2.com> >> wrote: >> >>> Hi Devs, >>> >>> Wh

Re: [Architecture] [C5] Must Inject CarbonServerInfo when writing OSGi Test Cases

2016-04-07 Thread Aruna Karunarathna
On Fri, Apr 8, 2016 at 7:07 AM, Sameera Jayasoma <same...@wso2.com> wrote: > > > On Fri, Apr 8, 2016 at 12:13 AM, Imesh Gunaratne <im...@wso2.com> wrote: > >> Hi Aruna, >> >> On Thu, Apr 7, 2016 at 6:21 PM, Aruna Karunarathna <ar...@wso2.com> >

[Architecture] [C5] Must Inject CarbonServerInfo when writing OSGi Test Cases

2016-04-07 Thread Aruna Karunarathna
Hi Devs, When writing OSGi Test Cases, Please Inject the CarbonServerInfo service [1]. Otherwise the container wont start properly and the test cases will fail. After injecting the service it will guarantee that the server will fully start, before running the test cases. e.g. [2] [1].

Re: [Architecture] What's "id" in carbon.yml, which is in Carbon 5 conf directory

2016-03-25 Thread Aruna Karunarathna
s information. [1]. https://github.com/wso2/carbon-kernel/blob/master/core/src/main/java/org/wso2/carbon/kernel/CarbonRuntime.java#L40 > > On Thu, Mar 24, 2016 at 6:30 PM, Aruna Karunarathna <ar...@wso2.com> > wrote: > >> >> >> On Thu, Mar 24, 2016 at 6:23 PM,

Re: [Architecture] Maven project naming convention

2016-03-25 Thread Aruna Karunarathna
On Fri, Mar 25, 2016 at 11:11 AM, Manuranga Perera wrote: > Yes, this is an option but I don't see any big differences from this to >> the approach we currently use. > > I agree there is no functional advantage, but it will make the pom looks > nicer with less redundancy,

Re: [Architecture] [C5] Artifact deployment coordination support for C5

2016-03-24 Thread Aruna Karunarathna
On Wed, Mar 23, 2016 at 10:45 AM, KasunG Gajasinghe wrote: > Hi, > > Given several issues we discovered with automatic artifact synchronization > with DepSync in C4, we have discussed how to approach this problem in C5. > > We are thinking of not doing the automated artifact

Re: [Architecture] What's "id" in carbon.yml, which is in Carbon 5 conf directory

2016-03-24 Thread Aruna Karunarathna
On Thu, Mar 24, 2016 at 6:23 PM, Isuru Perera wrote: > Hi, > > $subject? > > What are the reasons for adding it? Can I use that to identify a carbon > server uniquely? > > For example, in Carbon Metrics, I want to use some value to identify a > server (The source of metrics).

Re: [Architecture] [C5] Lifecycle listeners to listen on Artifact deployment events

2016-03-22 Thread Aruna Karunarathna
On Tue, Mar 22, 2016 at 9:44 PM, KasunG Gajasinghe wrote: > Hi, > > To provide extensibility to the C5 deployment engine, we need to add the > lifecycle listener support to it. The immediate need is to provide the > deployment coordination feature. > > Hi Kasun, Better if you

[Architecture] WSO2 Carbon Caching - 1.0.0-M1 Released

2016-03-21 Thread Aruna Karunarathna
Hi all, Please note $subject. You may install carbon-caching feature to your product with: org.wso2.carbon.caching org.wso2.carbon.caching.feature 1.0.0-m1 Please refer [1] for instructions on using carbon-caching. [1]. https://github.com/wso2/carbon-caching/tree/v1.0.0-m1 Regards, Aruna --

Re: [Architecture] Circuit Breaker Pattern for MSF4J

2016-03-12 Thread Aruna Karunarathna
tern, which stops the client from waiting needlessly for >>>>> an unresponsive service. If the error rate for a service exceeds a >>>>> specified threshold, Hystrix trips the circuit breaker and all requests >>>>> will fail immediately for a specified p

[Architecture] Circuit Breaker Pattern for MSF4J

2016-03-11 Thread Aruna Karunarathna
Hi Devs, *Scenario* The deployed services in a MSF4J may fail to serve the requests due to various factors. e.g, 1. Less resources in the server. 2. High Load in the server 3, Some services take more time to respond etc. In this kind of a situation, if the server is getting requests though

Re: [Architecture] [MSF4j] Creating an archetype for a microservice

2016-02-03 Thread Aruna Karunarathna
Hi Imesh, See my inline comments. On Wed, Feb 3, 2016 at 8:34 PM, Imesh Gunaratne wrote: > Hi Manuri, > > Would you mind explaining the purpose of this feature? > - What is an archetype? > Archetype is kind of a prototype/template of a project. So that you don't have to worry

Re: [Architecture] [C5] Using annotations for declarative services compoenets

2016-01-12 Thread Aruna Karunarathna
Hi Kishanthan, Have we added this to the documentation?. AFAIK we haven't. Shall we add this to documentation, since now people will write scr components for C5 features and it's better we can make awareness of this new annotation model. And found your blog post which contain more information

[Architecture] WSO2 Carbon Kernel 5.0.0 Released !!!

2015-12-21 Thread Aruna Karunarathna
*WSO2 Carbon Kernel 5.0.0 - Released !!!* We are pleased to announce the release of WSO2 Carbon Kernel 5.0.0. It is now available to download from here . The source and tag location for this release are available

Re: [Architecture] PAX exam based OSGi testing seems inefficient & suboptimal

2015-12-16 Thread Aruna Karunarathna
pproach >> which needs to be followed in Carbon 5 based products as well. >> >> 4. PAX exam along with mock bundles & mock OSGi services for testing OSGi >> bundles >> I think PAX exam will be useful for unit testing individual bundles >> >> Thanks >

Re: [Architecture] PAX exam based OSGi testing seems inefficient & suboptimal

2015-12-16 Thread Aruna Karunarathna
On Wed, Dec 16, 2015 at 8:22 PM, Afkham Azeez wrote: > I have been trying to develop PAX exam based tests for MSS and it seems > very hard to use because there is little help for troubleshooting. MSS has > just one feature and it has been a struggle to get the test setup. With >

Re: [Architecture] We no longer need $CARBON_HOME/repository/deployment/server

2015-12-09 Thread Aruna Karunarathna
On Thu, Dec 10, 2015 at 11:57 AM, Sameera Jayasoma wrote: > +1. We need to do this change in C5 :) > Noted. Created a jira to track this [1] [1]. https://wso2.org/jira/browse/CARBON-15723 > > Thanks, > Sameera > > On Thu, Dec 10, 2015 at 11:37 AM, Afkham Azeez

Re: [Architecture] [MSS] Return javax.ws.rs.core.Response while running OSGi mode

2015-12-02 Thread Aruna Karunarathna
On Mon, Nov 30, 2015 at 12:50 PM, Aruna Karunarathna <ar...@wso2.com> wrote: > > > On Mon, Nov 30, 2015 at 11:59 AM, Sameera Jayasoma <same...@wso2.com> > wrote: > >> I guess this a bug. You can fix this and contribute back to Aries. >> > > Actuall

Re: [Architecture] [MSS] Return javax.ws.rs.core.Response while running OSGi mode

2015-11-29 Thread Aruna Karunarathna
/jira/browse/ARIES-1461 > > On Thu, Nov 26, 2015 at 12:11 PM, Aruna Karunarathna <ar...@wso2.com> > wrote: > >> >> >> On Tue, Nov 24, 2015 at 10:02 PM, Sagara Gunathunga <sag...@wso2.com> >> wrote: >> >>> >>>

Re: [Architecture] [MSS] Return javax.ws.rs.core.Response while running OSGi mode

2015-11-25 Thread Aruna Karunarathna
On Tue, Nov 24, 2015 at 10:02 PM, Sagara Gunathunga <sag...@wso2.com> wrote: > > > On Mon, Nov 23, 2015 at 2:15 PM, Aruna Karunarathna <ar...@wso2.com> > wrote: > >> >> >> On Mon, Nov 16, 2015 at 12:39 PM, Samiyuru Senarathne <samiy...@wso2.com

Re: [Architecture] [MSS] Return javax.ws.rs.core.Response while running OSGi mode

2015-11-23 Thread Aruna Karunarathna
On Mon, Nov 16, 2015 at 12:39 PM, Samiyuru Senarathne wrote: > Hi Sagara, > > This issue is about loading our implementation > of javax.ws.rs.core.Response [1] in OSGi mode using > java java.util.ServiceLoader [2] by the relevant bundle. This issue is yet > to be fixed and

[Architecture] WSO2 Carbon Kernel 5.0.0 - Alpha Released !

2015-10-28 Thread Aruna Karunarathna
WSO2 Carbon Kernel 5.0.0 - *Alpha* Released ! We are pleased to announce the alpha release of WSO2 Carbon Kernel 5.0.0. It is now available to download from here . The source and tag location

[Architecture] WSO2 Carbon Kernel 5.0.0 - Milestone 07 Released !

2015-10-27 Thread Aruna Karunarathna
WSO2 Carbon Kernel 5.0.0 - Milestone 07 Released ! We are pleased to announce that the seventh milestone release of Carbon Kernel 5.0.0 is now available to download from here . The Source and Tag

[Architecture] WSO2 Carbon Kernel 5.0.0 - Milestone 05 Released!

2015-10-16 Thread Aruna Karunarathna
WSO2 Carbon Kernel 5.0.0 - Milestone 05 Released! We are pleased to inform you the 5th milestone release of Carbon Kernel 5.0.0 is now available to download from here . Source and Tag Location for this release

Re: [Architecture] Enforcing checkstyles from Carbon 5 onwards

2015-08-23 Thread Aruna Karunarathna
On Mon, Aug 24, 2015 at 10:57 AM, Afkham Azeez az...@wso2.com wrote: I am planning on enforcing checkstyles from C5 onwards. Initially we will enable it for the kernel and then the rest of the platform. Coding style convention violations will then show up as build failures. IDE integration

[Architecture] WSO2 Carbon Kernel 5.0.0 - Milestone 04 Released!

2015-08-14 Thread Aruna Karunarathna
WSO2 Carbon Kernel 5.0.0 - Milestone 04 Released! We are pleased to inform you the 4th milestone release of Carbon Kernel 5.0.0 is now available to download from here

Re: [Architecture] Building WSO2 Carbon4-Kernel in Java 7 and Java 8

2015-02-16 Thread Aruna Karunarathna
On Fri, Feb 13, 2015 at 4:57 PM, Chanaka Cooray chana...@wso2.com wrote: Hi all, We are trying to build Carbon4-Kernel to be compatible with Java 7,8. We've managed to fix all the test failures and compilation failures in wso2-axiom, wso2-axis2 and wso2-wss4j in Java 7 and Java 8. For the

Re: [Architecture] OSG level security

2015-02-15 Thread Aruna Karunarathna
On Fri, Feb 13, 2015 at 9:39 PM, Godwin Amila Shrimal god...@wso2.com wrote: Hi, Since most of the hacking/fraud happens from the internally this topic just came to my mind, Our carbon products don't have OSGI level security, As an example, If someone internally in the company knows OSGI

Re: [Architecture] Building WSO2 Products in Java 7 and Java 8

2014-09-23 Thread Aruna Karunarathna
PM, Sameera Jayasoma same...@wso2.com wrote: Hi Aruna, On Fri, Sep 19, 2014 at 1:54 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi all, In the first phase, I will focus on stabilizing the build on Java 7, then as the phase two move into the java 8. If the build stabilizing on Java 8

Re: [Architecture] Building WSO2 Products in Java 7 and Java 8

2014-09-23 Thread Aruna Karunarathna
will also look into the integration test failures. Regards, Aruna On Tue, Sep 23, 2014 at 1:51 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi all, Finally I was able to make carbon 4.3.0 to be able to compile with Java 7. However I have to upgrade some Equinox dependencies in order to make

Re: [Architecture] Building WSO2 Products in Java 7 and Java 8

2014-09-22 Thread Aruna Karunarathna
updated. Thanks, Sameera. On Sun, Sep 21, 2014 at 10:57 AM, Aruna Karunarathna ar...@wso2.com wrote: Hi Sameera, Update of the $subject. I've manged fix wso2-axis2 to build in java 7, with one test failure in the integration module. Once done with that we can successfully build wso2-axis2

Re: [Architecture] Building WSO2 Products in Java 7 and Java 8

2014-09-22 Thread Aruna Karunarathna
the generics information. However javac 1.7 does not and sees the classes only a raw view. You either need to keep using javac 1.6 or get updated jar files which are not compiled with -target jsr14.* Regards, Aruna On Mon, Sep 22, 2014 at 5:08 PM, Aruna Karunarathna ar...@wso2.com wrote: Hi Sameera

Re: [Architecture] Building WSO2 Products in Java 7 and Java 8

2014-09-20 Thread Aruna Karunarathna
the above mail) 3. wso2-wss4j - Fixed to build in java 7 successfully. 4. carbon4-kernel - Compilation errors in 3 modules. Regards, Aruna On Fri, Sep 19, 2014 at 2:24 PM, Sameera Jayasoma same...@wso2.com wrote: Hi Aruna, On Fri, Sep 19, 2014 at 1:54 PM, Aruna Karunarathna ar...@wso2.com wrote

[Architecture] Building WSO2 Products in Java 7 and Java 8

2014-09-19 Thread Aruna Karunarathna
Hi all, In the first phase, I will focus on stabilizing the build on Java 7, then as the phase two move into the java 8. If the build stabilizing on Java 8 is not possible, we will try to provide the capability of running the products in Java 8 environments. As the first step I am trying to

Re: [Architecture] A mechanism to communicate server shutdown to the bundles, just before actual server shutdown

2014-09-11 Thread Aruna Karunarathna
Hi Jayanga, Please see my inline comments. On Fri, Sep 12, 2014 at 9:17 AM, Jayanga Dissanayake jaya...@wso2.com wrote: Hi, There was a requirement to detect the server shutdown from some bundles before the OSGi framework begin to shutdown. Because there were situations where some bundle

Re: [Architecture] G-Reg 5.0.0 new feature : Adding lifecycle state aware dashboards for services

2014-08-03 Thread Aruna Karunarathna
Hi Denuwanthi, As Senaka has mentioned we did some Gadgets for C5 Dev Governance project.You can get the idea about the Dashboards we did for the C5 Dev Governance Project by referencing this doc. [1] Source Repos for the Data Collectors and Dashboards are available at [2], [3]. If you need

Re: [Architecture] WSO2 Operation Center – M1 Completed

2014-04-30 Thread Aruna Karunarathna
Hi Jayanga, I hope you are planning to show the health of a particular node in a cluster. (ii. view status of the servers) How about providing a functionality to view the tail of the server log. Not too long maybe last 20 lines. Regards, On Wed, Apr 30, 2014 at 8:45 AM, Jayanga Dissanayake

[Architecture] [C5] Solution for Patching C5 Servers

2014-04-25 Thread Aruna Karunarathna
Hi all, In the proposed Patching mechanism for Carbon C5 based Servers, we are hoping to overcome some of the limitations in the Carbon 4 based patching model. Some limitations in the carbon 4 based patching mechanism 1. Can only patch OSGi bundles 2. Server always has to be

Re: [Architecture] [Dev] Developer Studio 3.6.0 RC 1 Released!

2014-03-06 Thread Aruna Karunarathna
Hi all, I've also experienced the same when using eclipse eclipse-jee-kepler-SR2-linux-gtk-x86_64 in Ubuntu 13.10. I think this is something to do with unity. As Jasintha suggested using GNOME solved the problem. Regards, On Fri, Mar 7, 2014 at 10:09 AM, Jasintha Dasanayake