Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Srinath Perera
Shall we have a test metric defined in a google doc and keep track of what to be done etc through that test matrix? --Srinath On Fri, Jan 20, 2012 at 1:00 PM, Charitha Kankanamge wrote: > > On Fri, Jan 20, 2012 at 11:44 AM, Krishantha Samaraweera > wrote: >> >> Hi Srinath, >> >> On Fri, Jan 20,

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Charitha Kankanamge
On Fri, Jan 20, 2012 at 11:44 AM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > Hi Srinath, > > On Fri, Jan 20, 2012 at 5:28 AM, Srinath Perera wrote: > >> Thanks Krishantha!! >> >> How good are we with test coverage (including introps and perf)? Can >> you send the current status and pl

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
On Fri, Jan 20, 2012 at 9:51 AM, Muhammed Shariq wrote: > Hi Krishantha et al, > > If I am not mistaken we are running these test for products only right, at > the moment? How about the possibility of running these test on the stratos > services too ? I had a chat with Dhrashana and we most of th

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Charitha Kankanamge
On Fri, Jan 20, 2012 at 9:51 AM, Muhammed Shariq wrote: > Hi Krishantha et al, > > If I am not mistaken we are running these test for products only right, at > the moment? How about the possibility of running these test on the stratos > services too ? I had a chat with Dhrashana and we most of th

[Carbon-dev] Cannot invoke a service when it manually deployed as an aar in GReg.

2012-01-19 Thread Subash Chaturanga
Hi all, I came across with this issue when running the GReg testng SecurityVetification test case as it invokes the org.wso2.carbon.integration.secverifier.SecurityVerifierService. There was a NPE as axis2 MessageContext gets null. This can be reproduced when you manually drop a service aar to G

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Afkham Azeez
Excellent thoughts Shariq. Integration tests for Stratos are essential. I guess what we should do is, do a full build, run the Stratos setup script, create tenants, run some tenant management tests, run some tenant specific tests, platform sample test etc. Please consult your MC on working with th

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
Hi Srinath, On Fri, Jan 20, 2012 at 5:28 AM, Srinath Perera wrote: > Thanks Krishantha!! > > How good are we with test coverage (including introps and perf)? Can > you send the current status and plan to cover other products? > As I mentioned in the earlier mail, there were few issue with Ravan

Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Nuwan Bandara
Hi On Fri, Jan 20, 2012 at 11:35 AM, Maninda Edirisooriya wrote: > Hi, > > In Mashup server existing test cases are migrated to TestNG. New test > cases are added to host objects and completed. All patches applied to Jira > are [1], [2], [3] and [4]. > > [1] https://wso2.org/jira/browse/CARBON-12

Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Afkham Azeez
Please talk to the respective people & make sure that the patches get committed ASAP. Thanks Azeez On Fri, Jan 20, 2012 at 6:34 AM, Afkham Azeez wrote: > Folks, how is this progressing? I didn't see many updates during the past > couple of weeks. Some products are still being built without inte

Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Maninda Edirisooriya
Hi, In Mashup server existing test cases are migrated to TestNG. New test cases are added to host objects and completed. All patches applied to Jira are [1], [2], [3] and [4]. [1] https://wso2.org/jira/browse/CARBON-12218 [2] https://wso2.org/jira/browse/CARBON-12229 [3] https://wso2.org/jira/bro

Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Shelan Perera
Hi All the tests in DSS has been committed to the trunk. Thanks On Fri, Jan 20, 2012 at 11:21 AM, Achala Aponso wrote: > Hi, > > All the GS Tests are completed and committed to the trunk. (User > management, gadget repository, Theme, Dashboard). > > On Fri, Jan 20, 2012 at 6:34 AM, Afkham Azee

Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Sinthuja Ragendran
Hi, For BAM, there are some important fixes that should go to trunk. Applied the patch in JIRA [1], [2], [3]. All failing tests are fixed and i checked locally in my machine. The updated patch for the TestNG migration is attached on [4]. [1] https://wso2.org/jira/browse/CARBON-12184 [2] https:

Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Isuru Suriarachchi
On Fri, Jan 20, 2012 at 10:51 AM, KasunG Gajasinghe wrote: > > > On Fri, Jan 20, 2012 at 7:40 AM, Isuru Suriarachchi wrote: > >> From AS, KasunG has completed tests for all security scenarios and those >> are already committed into trunk. Now he's working on RM, Secure RM >> scenarios. > > Excell

Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Achala Aponso
Hi, All the GS Tests are completed and committed to the trunk. (User management, gadget repository, Theme, Dashboard). On Fri, Jan 20, 2012 at 6:34 AM, Afkham Azeez wrote: > Folks, how is this progressing? I didn't see many updates during the past > couple of weeks. Some products are still bein

Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread KasunG Gajasinghe
On Fri, Jan 20, 2012 at 7:40 AM, Isuru Suriarachchi wrote: > From AS, KasunG has completed tests for all security scenarios and those > are already committed into trunk. Now he's working on RM, Secure RM > scenarios. Yes, thanks Isuru for the update. I've added a patch for Reliable Messaging ju

Re: [Carbon-dev] Extracting the API name from the Synapse Message Context

2012-01-19 Thread Thilina Buddhika
Hi Hiranya, In synapse-core/API class, we set the API name to message context after the message is processed by handlers. So at the moment, API name is not available to handlers. But for handlers like BasicAuth and OAuth, it is required to get the API name at the handler level. So shall we set th

[Carbon-dev] Migrating Carbon Studio's registry browser from remote registry API to web service API.

2012-01-19 Thread Melan Nimesh
Hi all, I am working on migrating Carbon Studio's registry browser from Remote Registry API to Web Service API. At the moment, It works fine for most cases such as listing resources, adding collections, setting resources permissions but for adding new resources and getting resource content, it's

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Muhammed Shariq
Hi Krishantha et al, If I am not mistaken we are running these test for products only right, at the moment? How about the possibility of running these test on the stratos services too ? I had a chat with Dhrashana and we most of the tests that covers multitenancy aspect, so its a matter of setting

Re: [Carbon-dev] Query on 'LandingPage' attribute of 'authenticators.xml' file

2012-01-19 Thread Muhammed Shariq
Hi Nirmal, As per your suggestion I have committed this patch to trunk, can you please patch to this jar in you local setup and verify it works fine? On Thu, Jan 19, 2012 at 10:59 PM, Nirmal Fernando wrote: > On Mon, Jan 16, 2012 at 9:57 AM, Muhammed Shariq wrote: > > Hi Nirmal, > > > > The "L

[Carbon-dev] Extracting the API name from the Synapse Message Context

2012-01-19 Thread Thilina Buddhika
Hi Folks, What is the proper way to do this inside a handler ? Thanks, Thilina -- Thilina Buddhika Associate Technical Lead WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 77 44 88 727 blog : http://blog.thilinamb.com ___ Carbo

Re: [Carbon-dev] Progress on integration tests

2012-01-19 Thread Isuru Suriarachchi
>From AS, KasunG has completed tests for all security scenarios and those are already committed into trunk. Now he's working on RM, Secure RM scenarios. Thanks, ~Isuru On Fri, Jan 20, 2012 at 6:34 AM, Afkham Azeez wrote: > Folks, how is this progressing? I didn't see many updates during the pas

[Carbon-dev] Progress on integration tests

2012-01-19 Thread Afkham Azeez
Folks, how is this progressing? I didn't see many updates during the past couple of weeks. Some products are still being built without integration tests. -- Afkham Azeez Sent from my phone ___ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Srinath Perera
Thanks Krishantha!! How good are we with test coverage (including introps and perf)? Can you send the current status and plan to cover other products? Did we start running Bamboo again since this is fixed? Do we run introps and perf tests with this? --Srinath On Fri, Jan 20, 2012 at 12:28 AM,

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
Framework users maven as the builder. Hence, it uses dependencies relevant to carbon version under test. Support for multiple carbon versions will be a good additions to the framework. When consider test architecture, having support for multiple carbon versions, will add extra complexity to the fra

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Tharindu Mathew
Hi Kris, I was wondering whether there is a possibility of testing different carbon versions of products, such as ESB 3.0.1 with BAM 2.0.0? On Fri, Jan 20, 2012 at 12:28 AM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > We need to monitor how this works for few days. > If everything run

Re: [Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
We need to monitor how this works for few days. If everything runs smoothly then we can enable test failure notifications. Thanks, Krishantha. On Fri, Jan 20, 2012 at 12:23 AM, Krishantha Samaraweera < krishan...@wso2.com> wrote: > Hi, > > We have done the $subject on Bamboo machine and it is wo

[Carbon-dev] System Test Framework Integration with Bamboo trunk build.

2012-01-19 Thread Krishantha Samaraweera
Hi, We have done the $subject on Bamboo machine and it is working. You can find the last successful test build at [1]. Test framework has been configured to use packs generated by trunk build. The test setup consists of five products (ESB, G-Reg, AS, BPS and DSS) with registry mounts on top of My

Re: [Carbon-dev] Query on 'LandingPage' attribute of 'authenticators.xml' file

2012-01-19 Thread Nirmal Fernando
On Mon, Jan 16, 2012 at 9:57 AM, Muhammed Shariq wrote: > Hi Nirmal, > > The "LandingPage" attribute is not obsolete, in fact we introduced this in > order to prevent users being redirected to the login page (IS) when a tenant > first access a service. Thanks Shariq for the explanation. It seems

Re: [Carbon-dev] Data Services Mediator for ESB

2012-01-19 Thread Amila Suriarachchi
On Wed, Jan 18, 2012 at 5:03 PM, Dinusha Senanayaka wrote: > Hi All, > > We are going to develop a ESB mediator which can be shipped as a feature > and once this feature is installed within ESB, the DS mediator can be used > to make data services calls in-line, without making actual SOAP requests,

[Carbon-dev] [Carbon Studio] - Adding Eclipse Working sets support into Carbon studio projects

2012-01-19 Thread Jasintha Dasanayake
Hi CS, devs I have added the Working sets support into CS core framework So Now by default working set UI composite appears in the project but you have to call following method within " performFinish() " method in the project creation wizard class projectModel.addToWorkingSet(iproject);

Re: [Carbon-dev] Moving trunk/dependency/ode to ode 1.3.5 public branch

2012-01-19 Thread Waruna Ranasinghe
Hi Denis, We can't just point to the ODE branch. There are some features (i.e. BPEL extensions) added by us which are not in Apache ODE Anyway it is good to have a released version rather than a random revision. Therefore, lets get the latest released version of Apache ODE and try to migrate the

Re: [Carbon-dev] IOException on the MTOM web service client side

2012-01-19 Thread Afkham Azeez
Wherever you are reusing a stub or service client, you should ensure thread safety. So yes, if you are calling stub.getId() from multiple threads, you need to ensure that this call happens within a properly synchronized block. A further design enhancement could include maintaining a pool of stubs,

Re: [Carbon-dev] IOException on the MTOM web service client side

2012-01-19 Thread Güçlü Akkaya
I see. So should i synchronize the initiliazation part which calls a new instance of stub? Also the method call of the stub instance like stub.getId() should also be synchronized? Thanks >Please note that by design, Axis2 clients & stubs are not thread safe. You will have to handle the synch

Re: [Carbon-dev] Compilation error trunk/bam component

2012-01-19 Thread Vijayaratha Vijayasingam
No update in "org.wso2.carbon.service.mgt.stub" module...it is built... -Ratha On 19 January 2012 13:22, Tharindu Mathew wrote: > Hi, > > Could you please go check whether the service mgt stub is built/ changed? > > On Thu, Jan 19, 2012 at 1:18 PM, Vijayaratha Vijayasingam > wrote: > >> Hi, >>