Re: [Dev] How to add business processing logic to WSO2 Data Services Server?

2013-11-18 Thread Anjana Fernando
Hi,

At the moment, you would have to use BPEL with WSO2 BPS if you have any
complex business logic, and call the data services to execute each data
operation. Or else, you can also use WSO2 ESB to do light weight
orchestrations.

Cheers,
Anjana.


On Mon, Nov 18, 2013 at 1:10 PM, stevegyc steve...@163.com wrote:

  Hello:


 As far as I know, WSO2 DSS always use stored process to handle business
 processing logic.

 However, there are several problems with this approach.



1. If the process involves a variety of databases, it would be
difficult to deal with.
2. Even if the process involves only one database, it will will
increase the burden on the database.
3. If you replace the database, you need to re-write the stored
procedure.



 Does anyone know how to add business processing logic to WSO2 DSS without
 stored process?

 --
 stevegyc

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Using same identity.oauth keyValidation method for API Manager

2013-11-18 Thread Dinusha Senanayaka
Hi All,

Currently, in APIM, we are using our own keyValidation method instead of
identity.oauth keyValidation method. I'm checking the possibility of doing
$subject.. But it seems some of the data fields required for APIM, does not
return from the IS keyvalidation method.

Following is the difference between the data availability of two DTOs
return by each method.. (The data fields marked in red colour are missing,
if we used IS keyvalidation method). In the gateway authentication handler
we take this keyValidationInfoDTO object and set it's info into
AuthenticationContext object. Later we use these data, in several places
like; doRoleBasedAccessThrottling, UsageHandler #handleRequest etc..

so, currently we could not use the same keyvalidation method provide by IS
as it is.. And not sure whether we could extend the IS keyvalidation method
to support required for us since they does not contain the data like
subscriber details.

@IS team: could you provide any input on this ?

*APIM*
keyValidationInfoDTO.setAuthorized(true);
keyValidationInfoDTO.setTier(tier);
keyValidationInfoDTO.setType(type);
keyValidationInfoDTO.setSubscriber(subscriberName);
keyValidationInfoDTO.setIssuedTime(issuedTime);
keyValidationInfoDTO.setAuthorizedDomains
(ApiMgtDAO.getAuthorizedDomainList(accessToken));
keyValidationInfoDTO.setValidityPeriod(validityPeriod);
keyValidationInfoDTO.setUserType(userType);
keyValidationInfoDTO.setEndUserName(endUserName);
keyValidationInfoDTO.setApplicationId(applicationId);
keyValidationInfoDTO.setApplicationName(applicationName);
keyValidationInfoDTO.setApplicationTier(applicationTier);
keyValidationInfoDTO.setApiName(apiName);
keyValidationInfoDTO.setConsumerKey(APIUtil.decryptToken(consumerKey));
keyValidationInfoDTO.setApiPublisher(apiPublisher);



*IS*
tokenRespDTO.setValid(true);
tokenRespDTO.setConsumerKey(accessTokenDO.getConsumerKey());
tokenRespDTO.setAuthorizedUser(accessTokenDO.getAuthzUser());
tokenRespDTO.setExpiryTime(validityPeriodInMillis / 1000);
tokenRespDTO.setScope(accessTokenDO.getScope());


Regards,
Dinusha.


-- 
Dinusha Dilrukshi
Senior Software Engineer
WSO2 Inc.: http://wso2.com/
Mobile: +94725255071
Blog: http://dinushasblog.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add business processing logic to WSO2 Data Services Server?

2013-11-18 Thread stevegyc
Hello,Anjana:

Thank you for your tips.
I still want to know whether I can add some java class to DSS in order to 
process some business logic.
Or do you know whether WSO2 will support this function in the future?




stevegyc

From: Anjana Fernando
Date: 2013-11-18 16:29
To: stevegyc
CC: dev
Subject: Re: [Dev] How to add business processing logic to WSO2 Data Services 
Server?
Hi,


At the moment, you would have to use BPEL with WSO2 BPS if you have any complex 
business logic, and call the data services to execute each data operation. Or 
else, you can also use WSO2 ESB to do light weight orchestrations. 


Cheers,
Anjana.



On Mon, Nov 18, 2013 at 1:10 PM, stevegyc steve...@163.com wrote:

Hello:

As far as I know, WSO2 DSS always use stored process to handle business 
processing logic.
However, there are several problems with this approach.

If the process involves a variety of databases, it would be difficult to deal 
with. 
Even if the process involves only one database, it will will increase the 
burden on the database. 
If you replace the database, you need to re-write the stored procedure. 

Does anyone know how to add business processing logic to WSO2 DSS without 
stored process?




stevegyc

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev







-- 

Anjana Fernando
Technical Lead

WSO2 Inc. | http://wso2.com

lean . enterprise . middleware___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Does WSO2 DSS support Memcache and redis?

2013-11-18 Thread stevegyc
Hi:

As far as I know, WSO2 DSS has support some of NoSQL DB, such as Cassandra 
and MongoDB.

I have no idea whether DSS support Memcache and redis?

If DSS does not support them until now, when will it support them? Is there 
a plan to support them?




stevegyc___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Turing][Chunk 04] - Build failure in HDFS Name Node

2013-11-18 Thread Hasitha Aravinda
Hi SS team,

I am getting following build failure in clean repo build. But when I resume
build from HDFS Name Node, it works fine. Could you please take a look into
this.


[INFO] Kerberos 5 Authenticator - UI bundle .. SUCCESS [5.951s]
[INFO] WSO2 Carbon - Hadoop-Carbon Security Extensions ... SUCCESS [29.706s]
[INFO] WSO2 Carbon - HDFS Aggregator Module .. SUCCESS [0.057s]
[INFO] WSO2 Carbon HDFS Name Node  FAILURE [1.422s]
[INFO] WSO2 Carbon HDFS Data Node  SKIPPED
[INFO] WSO2 Carbon - HDFS Data Access  SKIPPED
[INFO] WSO2 Carbon - HDFS Management Server .. SKIPPED

[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 55:17.396s
[INFO] Finished at: Mon Nov 18 14:06:36 IST 2013
[INFO] Final Memory: 2429M/3953M
[INFO]

[ERROR] Failed to execute goal on project org.wso2.carbon.hdfs.namenode:
Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.
hdfs.namenode:bundle:4.2.0: The following artifacts could not be resolved:
org.apache.hadoop.wso2:hadoop-core:jar:0.20.203.1.wso2v4, org.apache.hadoop:
hadoop-core:jar:0.20.203.1-wso2v4: Could not find artifact org.apache.hadoop
.wso2:hadoop-core:jar:0.20.203.1.wso2v4 in central
(http://repo.maven.apache.org/maven2)
- [Help 1]
[ERROR]

Thanks,
Hasitha.



-- 
Hasitha Aravinda,
Software Engineer,
WSO2 Inc.
Email: hasi...@wso2.com
Mobile: +94 71 8 210 200
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] [Test] Test framework for jaggery

2013-11-18 Thread Ruchira Wageesha
Jaggery module testing under application (app/{appName}/module)

 One of the hard part of testing javascript modules is that when we use
 closure base privacy everything gets harder to test. Since those members
 aren’t visible other than the js scope itself we might have to think about
 our total approach to modules itself.

I don't think we need to address it as a part of the test framework itself.
Independent from the programming language, this kind of code smells will be
there in any code and will need a different framework such as findbugs etc.
to detect those things.

[1]
http://sidekicksrc.com/post/closures-for-classmodule-privacy-considered-harmful/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] [Test] Test framework for jaggery

2013-11-18 Thread Ruchira Wageesha
Hi Madhuka,

Have you come up to a conclusion? Are there any existing framework that can
be used without touching their code(probably jasmine)? If it needs we can
write a layer on top of that to make it compatible with Jaggery model.

Or, will you have to start something from scratch?

/Ruchira


On Sun, Nov 17, 2013 at 8:10 PM, Madhuka Udantha madh...@wso2.com wrote:

 Here is requirement list for the $subject,

 *Basic things that will be in $subject ( jaggery test framework)*




- Testing Jaggery (.jag) API with function levels (simple as unit
test) - online
- Jaggery module testing under application (app/{appName}/module)
- Changing to any test case then only the test case file needs to be
updated [Script will remain the same]
- Application-independent. Test resource/spec of test will be inside
the application (app/{appName}/test)
- Easy to expand, maintain, and perpetuate. (Try to follow same JS
frame work structure such as *jasmine[1] *)
- Supportable with automation test framework with some configure
changing/pom/ant
- Should have low cost on maintaining
- Easy to write test (less time)
- REST/JSON report Supporting (Console commanding  not implemented,
As above discussion)
- HTML Test coverage reporting



 *Scopes for Framework*

 Application-oriented Framework, Test resources for application will be
 inside application



 *Test framework type*

 It will be 'Hybrid' as It will be following (Script Modularity Framework,
 Library Architecture Framework and Structured Framework will be used in
 implementation)



 *Responsibilities of $subject*


- Defining the format in which to express expectations
- Running the tests which exercise the public interface (REST
interfaces)
- Result with interface of JSON
- Interact with platform testing and build time with simple interface
(interface for REST client)
- Calling test suites and skipping test suit with changing test spec
(Test case js/jag )
- Executing the tests (Without console commanding)
- Reporting results of the test HTML interface also

 If there I am missing any requirement for $subject, pls add it here,
 Here is some more we will consider before writing $subject[2], Some trying
 out existing JS test framework[3] for $subject for matter for comparison
 and understating design on existing system.



 [1] http://pivotal.github.io/jasmine/

 [2]
 http://madhukaudantha.blogspot.com/2013/11/what-to-be-know-about-test-framework.html

 [3] http://madhukaudantha.blogspot.com/search/label/Test%20Framework

 Thanks


 On Fri, Nov 15, 2013 at 10:57 AM, Madhuka Udantha madh...@wso2.comwrote:

 On Fri, Nov 15, 2013 at 10:30 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Functinalities like Server startup/shutdown, coverage generation and
 result generation already implemented in WSO2 Test Automation framework. So
 we need to reuse those functionalities in here.

 Yap, sure we will be reusing those.


  Having a Rest API to call tests scripts embedded in each jaggery app
 would be nice addition. In that way we could easily integrate it with our
 existing framework and use though out the platform.

 And this framework should support for continuous integration. So
 everything have to be executed without human interactions. So avoiding
 command line test runners etc.. is required.


 We will have json/RESTful API for app developer to run the test rather
 command line, (No command line (cmd/ jaggery console)). Therefore there
 will be html (web interface for app developer to run his/her test in
 easily). We will avoid command line testing and will provide web interface
 testing.

 Thanks


 Thanks,
 Krishantha


 On Thu, Nov 14, 2013 at 11:02 PM, Madhuka Udantha madh...@wso2.comwrote:




 On Thu, Nov 14, 2013 at 5:14 PM, Udara Rathnayake uda...@wso2.comwrote:

 Hi all,

 While designing the test framework, its good if we can keep in mind
 that jaggery2 product also underway.
 Any thoughts?

 Sure, will think.
 Mainly test framework will coming for javascript(jag/js) testing so it
 will be written where can be extended.


 Regards,
 UdaraR


 On Thu, Nov 14, 2013 at 10:15 AM, Madhuka Udantha madh...@wso2.comwrote:

 Hi Krishantha and test automation team,

 I would like to get your opinion on this task regard to

 is there standard methodology on current testing framework where we
 can added such testing framework or better to go on fully independent 
 model?


 My thinking is,

-  As it is application level testing frame work, better to work
with much independent of the current system
- Where application writer (developer) can run test for specific
   application rather running all test for platform or product
   - It will help to maintain both test framework with low cost
   - Each test frame have it's own scope (such as
   platform/product/appilcation). if not, complexity of the code and 
 system
   will be 

Re: [Dev] Does WSO2 DSS support Memcache and redis?

2013-11-18 Thread Anjana Fernando
Hi,

Our developer support system works though StackOverflow, can you please
post the question there.

Cheers,
Anjana.


On Mon, Nov 18, 2013 at 2:08 PM, stevegyc steve...@163.com wrote:

  Hi:

 As far as I know, WSO2 DSS has support some of NoSQL DB, such as
 Cassandra and MongoDB.


 I have no idea whether DSS support Memcache and redis?



 If DSS does not support them until now, when will it support them? Is
 there a plan to support them?

 --
 stevegyc

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] How to add business processing logic to WSO2 Data Services Server?

2013-11-18 Thread Anjana Fernando
Hi,

No, not at the moment, only custom logic we can put in data services is
using validators. And we haven't planned so far to add features to execute
business logic in DSS.

Cheers,
Anjana.


On Mon, Nov 18, 2013 at 2:03 PM, stevegyc steve...@163.com wrote:

  Hello,Anjana:

 Thank you for your tips.
 I still want to know whether I can add some java class to DSS in order
 to process some business logic.
 Or do you know whether WSO2 will support this function in the future?

 --
 stevegyc

  *From:* Anjana Fernando anj...@wso2.com
 *Date:* 2013-11-18 16:29
 *To:* stevegyc steve...@163.com
 *CC:* dev dev@wso2.org
 *Subject:* Re: [Dev] How to add business processing logic to WSO2 Data
 Services Server?
  Hi,

 At the moment, you would have to use BPEL with WSO2 BPS if you have any
 complex business logic, and call the data services to execute each data
 operation. Or else, you can also use WSO2 ESB to do light weight
 orchestrations.

 Cheers,
 Anjana.


 On Mon, Nov 18, 2013 at 1:10 PM, stevegyc steve...@163.com wrote:

  Hello:


 As far as I know, WSO2 DSS always use stored process to handle business
 processing logic.

 However, there are several problems with this approach.



1. If the process involves a variety of databases, it would be
difficult to deal with.
2. Even if the process involves only one database, it will will
increase the burden on the database.
3. If you replace the database, you need to re-write the stored
procedure.



 Does anyone know how to add business processing logic to WSO2 DSS without
 stored process?

 --
  stevegyc

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Architecture] [Jaggery] [Test] Test framework for jaggery

2013-11-18 Thread Dharshana Warusavitharana
Hi Madhuka/ Ruchira,

Currently we are working on a phase 2 of the automation framework which
will come up with the test case side extentions on testng listners.
So you might not want to reinvent the wheel in implementing this.

It would be great if we can have a 5 min discussion on this.


Thank You,
Dharshana.


On Mon, Nov 18, 2013 at 2:47 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 Hi Madhuka,

 Have you come up to a conclusion? Are there any existing framework that
 can be used without touching their code(probably jasmine)? If it needs we
 can write a layer on top of that to make it compatible with Jaggery model.

 Or, will you have to start something from scratch?

 /Ruchira


 On Sun, Nov 17, 2013 at 8:10 PM, Madhuka Udantha madh...@wso2.com wrote:

 Here is requirement list for the $subject,

 *Basic things that will be in $subject ( jaggery test framework)*




- Testing Jaggery (.jag) API with function levels (simple as unit
test) - online
- Jaggery module testing under application (app/{appName}/module)
- Changing to any test case then only the test case file needs to be
updated [Script will remain the same]
- Application-independent. Test resource/spec of test will be inside
the application (app/{appName}/test)
- Easy to expand, maintain, and perpetuate. (Try to follow same JS
frame work structure such as *jasmine[1] *)
- Supportable with automation test framework with some configure
changing/pom/ant
- Should have low cost on maintaining
- Easy to write test (less time)
- REST/JSON report Supporting (Console commanding  not implemented,
As above discussion)
- HTML Test coverage reporting



 *Scopes for Framework*

 Application-oriented Framework, Test resources for application will be
 inside application



 *Test framework type*

 It will be 'Hybrid' as It will be following (Script Modularity Framework,
 Library Architecture Framework and Structured Framework will be used in
 implementation)



 *Responsibilities of $subject*


- Defining the format in which to express expectations
- Running the tests which exercise the public interface (REST
interfaces)
- Result with interface of JSON
- Interact with platform testing and build time with simple interface
(interface for REST client)
- Calling test suites and skipping test suit with changing test spec
(Test case js/jag )
- Executing the tests (Without console commanding)
- Reporting results of the test HTML interface also

 If there I am missing any requirement for $subject, pls add it here,
 Here is some more we will consider before writing $subject[2], Some
 trying out existing JS test framework[3] for $subject for matter for
 comparison and understating design on existing system.



 [1] http://pivotal.github.io/jasmine/

 [2]
 http://madhukaudantha.blogspot.com/2013/11/what-to-be-know-about-test-framework.html

 [3] http://madhukaudantha.blogspot.com/search/label/Test%20Framework

 Thanks


 On Fri, Nov 15, 2013 at 10:57 AM, Madhuka Udantha madh...@wso2.comwrote:

 On Fri, Nov 15, 2013 at 10:30 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Functinalities like Server startup/shutdown, coverage generation and
 result generation already implemented in WSO2 Test Automation framework. So
 we need to reuse those functionalities in here.

 Yap, sure we will be reusing those.


  Having a Rest API to call tests scripts embedded in each jaggery app
 would be nice addition. In that way we could easily integrate it with our
 existing framework and use though out the platform.

 And this framework should support for continuous integration. So
 everything have to be executed without human interactions. So avoiding
 command line test runners etc.. is required.


 We will have json/RESTful API for app developer to run the test rather
 command line, (No command line (cmd/ jaggery console)). Therefore there
 will be html (web interface for app developer to run his/her test in
 easily). We will avoid command line testing and will provide web interface
 testing.

 Thanks


 Thanks,
 Krishantha


 On Thu, Nov 14, 2013 at 11:02 PM, Madhuka Udantha madh...@wso2.comwrote:




 On Thu, Nov 14, 2013 at 5:14 PM, Udara Rathnayake uda...@wso2.comwrote:

 Hi all,

 While designing the test framework, its good if we can keep in mind
 that jaggery2 product also underway.
 Any thoughts?

 Sure, will think.
 Mainly test framework will coming for javascript(jag/js) testing so it
 will be written where can be extended.


 Regards,
 UdaraR


 On Thu, Nov 14, 2013 at 10:15 AM, Madhuka Udantha 
 madh...@wso2.comwrote:

 Hi Krishantha and test automation team,

 I would like to get your opinion on this task regard to

 is there standard methodology on current testing framework where we
 can added such testing framework or better to go on fully independent 
 model?


 My thinking is,

-  As it is application level testing frame work, better to work
with 

Re: [Dev] [Architecture] [Jaggery] [Test] Test framework for jaggery

2013-11-18 Thread Madhuka Udantha
On Mon, Nov 18, 2013 at 2:55 PM, Dharshana Warusavitharana 
dharsha...@wso2.com wrote:

 Hi Madhuka/ Ruchira,

 Currently we are working on a phase 2 of the automation framework which
 will come up with the test case side extentions on testng listners.
 So you might not want to reinvent the wheel in implementing this.

yes, had meeting with krishantha also $subject and it also  updated in this
thread,
If there any new change happen for existing thing, let me know
Basically there is no JS (Server side scripting/jaggery) testing framework
in our platform so far,
But this $subject will have rest full interface for interact with existing
system.


 It would be great if we can have a 5 min discussion on this.

Yap,



 Thank You,
 Dharshana.


 On Mon, Nov 18, 2013 at 2:47 PM, Ruchira Wageesha ruch...@wso2.comwrote:

 Hi Madhuka,

 Have you come up to a conclusion? Are there any existing framework that
 can be used without touching their code(probably jasmine)? If it needs we
 can write a layer on top of that to make it compatible with Jaggery model.

 Or, will you have to start something from scratch?

 /Ruchira


 On Sun, Nov 17, 2013 at 8:10 PM, Madhuka Udantha madh...@wso2.comwrote:

 Here is requirement list for the $subject,

 *Basic things that will be in $subject ( jaggery test framework)*




- Testing Jaggery (.jag) API with function levels (simple as unit
test) - online
- Jaggery module testing under application (app/{appName}/module)
- Changing to any test case then only the test case file needs to be
updated [Script will remain the same]
- Application-independent. Test resource/spec of test will be inside
the application (app/{appName}/test)
- Easy to expand, maintain, and perpetuate. (Try to follow same JS
frame work structure such as *jasmine[1] *)
- Supportable with automation test framework with some configure
changing/pom/ant
- Should have low cost on maintaining
- Easy to write test (less time)
- REST/JSON report Supporting (Console commanding  not implemented,
As above discussion)
- HTML Test coverage reporting



 *Scopes for Framework*

 Application-oriented Framework, Test resources for application will be
 inside application



 *Test framework type*

 It will be 'Hybrid' as It will be following (Script Modularity
 Framework, Library Architecture Framework and Structured Framework will be
 used in implementation)



 *Responsibilities of $subject*


- Defining the format in which to express expectations
- Running the tests which exercise the public interface (REST
interfaces)
- Result with interface of JSON
- Interact with platform testing and build time with simple
interface (interface for REST client)
- Calling test suites and skipping test suit with changing test spec
(Test case js/jag )
- Executing the tests (Without console commanding)
- Reporting results of the test HTML interface also

 If there I am missing any requirement for $subject, pls add it here,
 Here is some more we will consider before writing $subject[2], Some
 trying out existing JS test framework[3] for $subject for matter for
 comparison and understating design on existing system.



 [1] http://pivotal.github.io/jasmine/

 [2]
 http://madhukaudantha.blogspot.com/2013/11/what-to-be-know-about-test-framework.html

 [3] http://madhukaudantha.blogspot.com/search/label/Test%20Framework

 Thanks


 On Fri, Nov 15, 2013 at 10:57 AM, Madhuka Udantha madh...@wso2.comwrote:

 On Fri, Nov 15, 2013 at 10:30 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Functinalities like Server startup/shutdown, coverage generation and
 result generation already implemented in WSO2 Test Automation framework. 
 So
 we need to reuse those functionalities in here.

 Yap, sure we will be reusing those.


  Having a Rest API to call tests scripts embedded in each jaggery app
 would be nice addition. In that way we could easily integrate it with our
 existing framework and use though out the platform.

 And this framework should support for continuous integration. So
 everything have to be executed without human interactions. So avoiding
 command line test runners etc.. is required.


 We will have json/RESTful API for app developer to run the test rather
 command line, (No command line (cmd/ jaggery console)). Therefore there
 will be html (web interface for app developer to run his/her test in
 easily). We will avoid command line testing and will provide web interface
 testing.

 Thanks


 Thanks,
 Krishantha


 On Thu, Nov 14, 2013 at 11:02 PM, Madhuka Udantha madh...@wso2.comwrote:




 On Thu, Nov 14, 2013 at 5:14 PM, Udara Rathnayake uda...@wso2.comwrote:

 Hi all,

 While designing the test framework, its good if we can keep in mind
 that jaggery2 product also underway.
 Any thoughts?

 Sure, will think.
 Mainly test framework will coming for javascript(jag/js) testing so
 it will be written where can be extended.


 Regards,
 

Re: [Dev] How to add business processing logic to WSO2 Data Services Server?

2013-11-18 Thread stevegyc
Hi, Anjana:

Thank you very much for your answer.




stevegyc

From: Anjana Fernando
Date: 2013-11-18 17:52
To: stevegyc
CC: dev
Subject: Re: Re: [Dev] How to add business processing logic to WSO2 Data 
Services Server?
Hi,


No, not at the moment, only custom logic we can put in data services is using 
validators. And we haven't planned so far to add features to execute business 
logic in DSS.


Cheers,
Anjana.



On Mon, Nov 18, 2013 at 2:03 PM, stevegyc steve...@163.com wrote:

Hello,Anjana:

Thank you for your tips.
I still want to know whether I can add some java class to DSS in order to 
process some business logic.
Or do you know whether WSO2 will support this function in the future?




stevegyc

From: Anjana Fernando
Date: 2013-11-18 16:29
To: stevegyc
CC: dev
Subject: Re: [Dev] How to add business processing logic to WSO2 Data Services 
Server?
Hi, 


At the moment, you would have to use BPEL with WSO2 BPS if you have any complex 
business logic, and call the data services to execute each data operation. Or 
else, you can also use WSO2 ESB to do light weight orchestrations. 


Cheers,
Anjana.



On Mon, Nov 18, 2013 at 1:10 PM, stevegyc steve...@163.com wrote:

Hello:

As far as I know, WSO2 DSS always use stored process to handle business 
processing logic.
However, there are several problems with this approach.

If the process involves a variety of databases, it would be difficult to deal 
with. 
Even if the process involves only one database, it will will increase the 
burden on the database. 
If you replace the database, you need to re-write the stored procedure. 

Does anyone know how to add business processing logic to WSO2 DSS without 
stored process?




stevegyc

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev







-- 

Anjana Fernando
Technical Lead

WSO2 Inc. | http://wso2.com

lean . enterprise . middleware





-- 

Anjana Fernando
Technical Lead

WSO2 Inc. | http://wso2.com

lean . enterprise . middleware___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Does WSO2 DSS support Memcache and redis?

2013-11-18 Thread Anjana Fernando
Hi,

I just replied to it.

Cheers,
Anjana.


On Mon, Nov 18, 2013 at 3:02 PM, stevegyc steve...@163.com wrote:

  Hi,Anjana:

 I had posted this question on StackOverflow last Friday.

 --
 stevegyc

  *From:* Anjana Fernando anj...@wso2.com
 *Date:* 2013-11-18 17:51
 *To:* stevegyc steve...@163.com
 *CC:* dev dev@wso2.org
 *Subject:* Re: [Dev] Does WSO2 DSS support Memcache and redis?
  Hi,

 Our developer support system works though StackOverflow, can you please
 post the question there.

 Cheers,
 Anjana.


 On Mon, Nov 18, 2013 at 2:08 PM, stevegyc steve...@163.com wrote:

  Hi:

 As far as I know, WSO2 DSS has support some of NoSQL DB, such as
 Cassandra and MongoDB.


 I have no idea whether DSS support Memcache and redis?



 If DSS does not support them until now, when will it support them? Is
 there a plan to support them?

 --
  stevegyc

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] [Test] Test framework for jaggery

2013-11-18 Thread Madhuka Udantha
On Mon, Nov 18, 2013 at 2:40 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 Jaggery module testing under application (app/{appName}/module)

 One of the hard part of testing javascript modules is that when we use
 closure base privacy everything gets harder to test. Since those members
 aren’t visible other than the js scope itself we might have to think about
 our total approach to modules itself.

 I don't think we need to address it as a part of the test framework
 itself. Independent from the programming language, this kind of code smells
 will be there in any code and will need a different framework such as
 findbugs etc. to detect those things.


Yap, agreed to Ruchira comment


 [1]
 http://sidekicksrc.com/post/closures-for-classmodule-privacy-considered-harmful/




-- 
*Madhuka* Udantha
Senior Software Engineer
Development Technologies
WSO2 Inc. : http://wso2.com

*Mobile*: +94774066336
*Blog*: http://madhukaudantha.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Jaggery] [Test] Test framework for jaggery

2013-11-18 Thread Madhuka Udantha
On Mon, Nov 18, 2013 at 2:47 PM, Ruchira Wageesha ruch...@wso2.com wrote:

 Hi Madhuka,

 Have you come up to a conclusion? Are there any existing framework that
 can be used without touching their code(probably jasmine)?

Yap, most of time (95%) It will be jasmine.
I will be using existing framework (Jasmine 1.3.1 revision). While Jasmine
is going with MIT license It wan't be matter using in here. Any matter with
license?
will do some wrapping and upgrade which matching to our requirement.

[1] http://pivotal.github.io/jasmine/
[2] https://github.com/pivotal/jasmine

If it needs we can write a layer on top of that to make it compatible with
 Jaggery model.

yap.


 Or, will you have to start something from scratch?

No, As there are some existing JS test framework and people are familiarly
with all of them, and their syntax.
Therefore I think it is much better to go with existing one with upgrading
and wrapping it where it will cover all over requirements

/Ruchira


 On Sun, Nov 17, 2013 at 8:10 PM, Madhuka Udantha madh...@wso2.com wrote:

 Here is requirement list for the $subject,

 *Basic things that will be in $subject ( jaggery test framework)*




- Testing Jaggery (.jag) API with function levels (simple as unit
test) - online
- Jaggery module testing under application (app/{appName}/module)
- Changing to any test case then only the test case file needs to be
updated [Script will remain the same]
- Application-independent. Test resource/spec of test will be inside
the application (app/{appName}/test)
- Easy to expand, maintain, and perpetuate. (Try to follow same JS
frame work structure such as *jasmine[1] *)
- Supportable with automation test framework with some configure
changing/pom/ant
- Should have low cost on maintaining
- Easy to write test (less time)
- REST/JSON report Supporting (Console commanding  not implemented,
As above discussion)
- HTML Test coverage reporting



 *Scopes for Framework*

 Application-oriented Framework, Test resources for application will be
 inside application



 *Test framework type*

 It will be 'Hybrid' as It will be following (Script Modularity Framework,
 Library Architecture Framework and Structured Framework will be used in
 implementation)



 *Responsibilities of $subject*


- Defining the format in which to express expectations
- Running the tests which exercise the public interface (REST
interfaces)
- Result with interface of JSON
- Interact with platform testing and build time with simple interface
(interface for REST client)
- Calling test suites and skipping test suit with changing test spec
(Test case js/jag )
- Executing the tests (Without console commanding)
- Reporting results of the test HTML interface also

 If there I am missing any requirement for $subject, pls add it here,
 Here is some more we will consider before writing $subject[2], Some
 trying out existing JS test framework[3] for $subject for matter for
 comparison and understating design on existing system.



 [1] http://pivotal.github.io/jasmine/

 [2]
 http://madhukaudantha.blogspot.com/2013/11/what-to-be-know-about-test-framework.html

 [3] http://madhukaudantha.blogspot.com/search/label/Test%20Framework

 Thanks


 On Fri, Nov 15, 2013 at 10:57 AM, Madhuka Udantha madh...@wso2.comwrote:

 On Fri, Nov 15, 2013 at 10:30 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Functinalities like Server startup/shutdown, coverage generation and
 result generation already implemented in WSO2 Test Automation framework. So
 we need to reuse those functionalities in here.

 Yap, sure we will be reusing those.


  Having a Rest API to call tests scripts embedded in each jaggery app
 would be nice addition. In that way we could easily integrate it with our
 existing framework and use though out the platform.

 And this framework should support for continuous integration. So
 everything have to be executed without human interactions. So avoiding
 command line test runners etc.. is required.


 We will have json/RESTful API for app developer to run the test rather
 command line, (No command line (cmd/ jaggery console)). Therefore there
 will be html (web interface for app developer to run his/her test in
 easily). We will avoid command line testing and will provide web interface
 testing.

 Thanks


 Thanks,
 Krishantha


 On Thu, Nov 14, 2013 at 11:02 PM, Madhuka Udantha madh...@wso2.comwrote:




 On Thu, Nov 14, 2013 at 5:14 PM, Udara Rathnayake uda...@wso2.comwrote:

 Hi all,

 While designing the test framework, its good if we can keep in mind
 that jaggery2 product also underway.
 Any thoughts?

 Sure, will think.
 Mainly test framework will coming for javascript(jag/js) testing so it
 will be written where can be extended.


 Regards,
 UdaraR


 On Thu, Nov 14, 2013 at 10:15 AM, Madhuka Udantha 
 madh...@wso2.comwrote:

 Hi Krishantha and test automation team,

 I would like to 

[Dev] Developer Studio 3.3.0 Alpha 3 Released!

2013-11-18 Thread Asanka Sanjeewa
Hi All,

We have WSO2 Developer Studio 3.3.0 Alpha 3 version  ready to be downloaded
at [1]. Installed eclipse distributions available at [2].

This release includes following new feature, improvements and bug fixes.

New Feature

   - [TOOLS-1855 https://wso2.org/jira/browse/TOOLS-1855] - Cloud
   connector support

Improvements

   - [TOOLS-1870 https://wso2.org/jira/browse/TOOLS-1870] - Enabling
   Jaggery Editor Auto-Complete even without typing a character
   - [TOOLS-2085 https://wso2.org/jira/browse/TOOLS-2085] - There is no
   way to rename a GReg artifact.
   - [TOOLS-2106 https://wso2.org/jira/browse/TOOLS-2106] - Adding
   perspective login change icon into toolbar
   - [TOOLS-2107 https://wso2.org/jira/browse/TOOLS-2107] - Login window
   should not pop-up when resetting the perspective and should pop-up for new
   perspective Only

Bug Fixes

   - [TOOLS-1337 https://wso2.org/jira/browse/TOOLS-1337] - There is no
   way to add include block inside Script Mediator
   - [TOOLS-1694 https://wso2.org/jira/browse/TOOLS-1694] - AF
   perspective detais view not filling all the feilds
   - [TOOLS-1719 https://wso2.org/jira/browse/TOOLS-1719] - [Dev
   Studio-3.2] - Logging not consistent with WSO2 Standards
   - [TOOLS-1722 https://wso2.org/jira/browse/TOOLS-1722] - Dev Studio
   fails to create Registry resource without file extension
   - [TOOLS-1731 https://wso2.org/jira/browse/TOOLS-1731] - Dev Studio
   fails to rename a resource correctly.
   - [TOOLS-1737 https://wso2.org/jira/browse/TOOLS-1737] - [Dev Studio
   3.2] End Point Connection Issues
   - [TOOLS-1738 https://wso2.org/jira/browse/TOOLS-1738] - [Dev Studio
   3.2] - Null Argument error for Clone Mediator
   - [TOOLS-1743 https://wso2.org/jira/browse/TOOLS-1743] - [Dev Studio
   3.2] - Exceptions Creating EndPoint (JMS)
   - [TOOLS-1746 https://wso2.org/jira/browse/TOOLS-1746] - [Dev
   Studio-3.2] - Argument not valid Exception in Opening with Registry Info
   Editor
   - [TOOLS-1747 https://wso2.org/jira/browse/TOOLS-1747] - [Dev
   Studio-3.2] -Edit and saving resources to registy not possible
   - [TOOLS-1757 https://wso2.org/jira/browse/TOOLS-1757] - Create new
   Axis2 Service Project - wrong directory
   - [TOOLS-1945 https://wso2.org/jira/browse/TOOLS-1945] - NPE when
   trying to run ELB 2.0.2 from Dev Studio
   - [TOOLS-1948 https://wso2.org/jira/browse/TOOLS-1948] - When A/F
   login failed there is no way to re-login wihtout closing it
   - [TOOLS-1951 https://wso2.org/jira/browse/TOOLS-1951] - Trying to get
   versions from A/F application with just a developer role throws an Internal
   Error
   - [TOOLS-1952 https://wso2.org/jira/browse/TOOLS-1952] - Updating an
   app with Data Sources throws an error
   - [TOOLS-1975 https://wso2.org/jira/browse/TOOLS-1975] - Esb graphical
   editor allows to delete proxy service
   - [TOOLS-1976 https://wso2.org/jira/browse/TOOLS-1976] - When pasted
   or moved a artifact between folders the artifact.xml doesn't updated
   corectly
   - [TOOLS-1996 https://wso2.org/jira/browse/TOOLS-1996] - Error occurs
   while trying to open an imported synapse configuration
   - [TOOLS-2027 https://wso2.org/jira/browse/TOOLS-2027] - CApp POM
   editor does not save property changes
   - [TOOLS-2039 https://wso2.org/jira/browse/TOOLS-2039] - Cloud
   connector operation parameters doesn't get displayed in properties view
   properly
   - [TOOLS-2082 https://wso2.org/jira/browse/TOOLS-2082] - ESB project
   is created inside GReg project
   - [TOOLS-2083 https://wso2.org/jira/browse/TOOLS-2083] - Resources
   Editor window can not be opened once closed
   - [TOOLS-2084 https://wso2.org/jira/browse/TOOLS-2084] - Duplicate
   resource files do not trigger error
   - [TOOLS-2088 https://wso2.org/jira/browse/TOOLS-2088] - [Dev
   Studio]When you create custom folders inside synapse config, Dev Studio
   will give errors while importing it in to Dev Studio.
   - [TOOLS-2089 https://wso2.org/jira/browse/TOOLS-2089] - Resource Key
   Editor dialog displays incorrect workspace Registry keys
   - [TOOLS-2092 https://wso2.org/jira/browse/TOOLS-2092] - Error while
   deserializing HTTP endpoint
   - [TOOLS-2093 https://wso2.org/jira/browse/TOOLS-2093] - DevS removes
   the target sequence from the Iterate mediator
   - [TOOLS-2094 https://wso2.org/jira/browse/TOOLS-2094] - Remove Create
   New Synapse Config option in wizard since new editor does not support
   - [TOOLS-2103 https://wso2.org/jira/browse/TOOLS-2103] - AF
   perspective should close if user cancel the login window
   - [TOOLS-2108 https://wso2.org/jira/browse/TOOLS-2108] - Save
   credential option does not functioning properly
   - [TOOLS-2110 https://wso2.org/jira/browse/TOOLS-2110] - Null-Pointer
   Exception while open proxy-services

Task

   - [TOOLS-2081 https://wso2.org/jira/browse/TOOLS-2081] - Rename Carbon
   Applications to Composite Applications

Sub-task

   - [TOOLS-1227 https://wso2.org/jira/browse/TOOLS-1227] - Can not
   

Re: [Dev] [Jaggery] [Test] Test framework for jaggery

2013-11-18 Thread Ruchira Wageesha
On Mon, Nov 18, 2013 at 3:46 PM, Madhuka Udantha madh...@wso2.com wrote:




 On Mon, Nov 18, 2013 at 2:47 PM, Ruchira Wageesha ruch...@wso2.comwrote:

 Hi Madhuka,

 Have you come up to a conclusion? Are there any existing framework that
 can be used without touching their code(probably jasmine)?

 Yap, most of time (95%) It will be jasmine.
 I will be using existing framework (Jasmine 1.3.1 revision). While Jasmine
 is going with MIT license It wan't be matter using in here. Any matter with
 license?
 will do some wrapping and upgrade which matching to our requirement.

 [1] http://pivotal.github.io/jasmine/
 [2] https://github.com/pivotal/jasmine

 If it needs we can write a layer on top of that to make it compatible with
 Jaggery model.

 yap.


 Or, will you have to start something from scratch?

 No, As there are some existing JS test framework and people are familiarly
 with all of them, and their syntax.
 Therefore I think it is much better to go with existing one with upgrading
 and wrapping it where it will cover all over requirements

+1


 /Ruchira


 On Sun, Nov 17, 2013 at 8:10 PM, Madhuka Udantha madh...@wso2.comwrote:

 Here is requirement list for the $subject,

 *Basic things that will be in $subject ( jaggery test framework)*




- Testing Jaggery (.jag) API with function levels (simple as unit
test) - online
- Jaggery module testing under application (app/{appName}/module)
- Changing to any test case then only the test case file needs to be
updated [Script will remain the same]
- Application-independent. Test resource/spec of test will be inside
the application (app/{appName}/test)
- Easy to expand, maintain, and perpetuate. (Try to follow same JS
frame work structure such as *jasmine[1] *)
- Supportable with automation test framework with some configure
changing/pom/ant
- Should have low cost on maintaining
- Easy to write test (less time)
- REST/JSON report Supporting (Console commanding  not implemented,
As above discussion)
- HTML Test coverage reporting



 *Scopes for Framework*

 Application-oriented Framework, Test resources for application will be
 inside application



 *Test framework type*

 It will be 'Hybrid' as It will be following (Script Modularity
 Framework, Library Architecture Framework and Structured Framework will be
 used in implementation)



 *Responsibilities of $subject*


- Defining the format in which to express expectations
- Running the tests which exercise the public interface (REST
interfaces)
- Result with interface of JSON
- Interact with platform testing and build time with simple
interface (interface for REST client)
- Calling test suites and skipping test suit with changing test spec
(Test case js/jag )
- Executing the tests (Without console commanding)
- Reporting results of the test HTML interface also

 If there I am missing any requirement for $subject, pls add it here,
 Here is some more we will consider before writing $subject[2], Some
 trying out existing JS test framework[3] for $subject for matter for
 comparison and understating design on existing system.



 [1] http://pivotal.github.io/jasmine/

 [2]
 http://madhukaudantha.blogspot.com/2013/11/what-to-be-know-about-test-framework.html

 [3] http://madhukaudantha.blogspot.com/search/label/Test%20Framework

 Thanks


 On Fri, Nov 15, 2013 at 10:57 AM, Madhuka Udantha madh...@wso2.comwrote:

 On Fri, Nov 15, 2013 at 10:30 AM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:

 Functinalities like Server startup/shutdown, coverage generation and
 result generation already implemented in WSO2 Test Automation framework. 
 So
 we need to reuse those functionalities in here.

 Yap, sure we will be reusing those.


  Having a Rest API to call tests scripts embedded in each jaggery app
 would be nice addition. In that way we could easily integrate it with our
 existing framework and use though out the platform.

 And this framework should support for continuous integration. So
 everything have to be executed without human interactions. So avoiding
 command line test runners etc.. is required.


 We will have json/RESTful API for app developer to run the test rather
 command line, (No command line (cmd/ jaggery console)). Therefore there
 will be html (web interface for app developer to run his/her test in
 easily). We will avoid command line testing and will provide web interface
 testing.

 Thanks


 Thanks,
 Krishantha


 On Thu, Nov 14, 2013 at 11:02 PM, Madhuka Udantha madh...@wso2.comwrote:




 On Thu, Nov 14, 2013 at 5:14 PM, Udara Rathnayake uda...@wso2.comwrote:

 Hi all,

 While designing the test framework, its good if we can keep in mind
 that jaggery2 product also underway.
 Any thoughts?

 Sure, will think.
 Mainly test framework will coming for javascript(jag/js) testing so
 it will be written where can be extended.


 Regards,
 UdaraR


 On Thu, Nov 14, 2013 at 10:15 AM, 

Re: [Dev] Does WSO2 DSS support Memcache and redis?

2013-11-18 Thread stevegyc
Hi :

Thank you for your reply.




stevegyc

From: Anjana Fernando
Date: 2013-11-18 18:07
To: stevegyc
CC: dev
Subject: Re: Re: [Dev] Does WSO2 DSS support Memcache and redis?
Hi,


I just replied to it.


Cheers,
Anjana.



On Mon, Nov 18, 2013 at 3:02 PM, stevegyc steve...@163.com wrote:

Hi,Anjana:

I had posted this question on StackOverflow last Friday.




stevegyc

From: Anjana Fernando
Date: 2013-11-18 17:51
To: stevegyc
CC: dev
Subject: Re: [Dev] Does WSO2 DSS support Memcache and redis?
Hi, 


Our developer support system works though StackOverflow, can you please post 
the question there.


Cheers,
Anjana.



On Mon, Nov 18, 2013 at 2:08 PM, stevegyc steve...@163.com wrote:

Hi:

As far as I know, WSO2 DSS has support some of NoSQL DB, such as Cassandra 
and MongoDB.

I have no idea whether DSS support Memcache and redis?

If DSS does not support them until now, when will it support them? Is there 
a plan to support them?




stevegyc

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev







-- 

Anjana Fernando
Technical Lead

WSO2 Inc. | http://wso2.com

lean . enterprise . middleware





-- 

Anjana Fernando
Technical Lead

WSO2 Inc. | http://wso2.com

lean . enterprise . middleware___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Identify unsatisfied osgi components in server stratup

2013-11-18 Thread Dimuthu De Lanerolle
We have added  test cases to identify unsatisfied osgi components in server
stratup to following products.

AS, ESB , Apimgt, BAM

Regards
-- 
Dimuthu De Lanerolle
Software Engineer
WSO2 Inc.
lean . enterprise . middlewear.
http://wso2.com/
Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Identify unsatisfied osgi components in server stratup

2013-11-18 Thread Supun Malinga
Hi Dimuthu,

Is it possible to send the results?.

thanks,


On Mon, Nov 18, 2013 at 5:14 PM, Dimuthu De Lanerolle dimut...@wso2.comwrote:


 We have added  test cases to identify unsatisfied osgi components in
 server stratup to following products.

 AS, ESB , Apimgt, BAM

 Regards
 --
 Dimuthu De Lanerolle
 Software Engineer
 WSO2 Inc.
 lean . enterprise . middlewear.
 http://wso2.com/
 Tel. : +94 11 2145345  Fax : +94 11 2145300  email : dimut...@wso2.com


 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com sup...@wso2.com
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Identify unsatisfied osgi components in server stratup

2013-11-18 Thread Dimuthu De Lanerolle
Hi Supun,

Yes. Following are the results for AS 5.2.0.
 1. org.wso2.carbon.registry.indexing
 2 .registry.search.dscomponent


[2013-11-18 18:11:42,613]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.CodeCoverageUtils} -
 Instrumented 44 files.
[2013-11-18 18:11:42,613]  INFO
{org.wso2.carbon.automation.core.utils.serverutils.ServerUtils} -  Starting
server.
[2013-11-18 18:11:43,150]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 JAVA_HOME environment variable is set to /home/dimuthu/software/jdk1.6.0_24
[2013-11-18 18:11:43,150]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 CARBON_HOME environment variable is set to
/home/dimuthu/svn/platform/branches/turing/products/as/5.2.0/modules/integration/tests-new/target/carbontmp1384778472916/wso2as-5.2.0
[2013-11-18 18:11:44,161]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 OSGi console has been enabled with options: -console 2000
[2013-11-18 18:11:54,715]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,715]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Starting WSO2
Carbon...
[2013-11-18 18:11:54,717]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,717]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Operating System :
Linux 3.5.0-41-generic, amd64
[2013-11-18 18:11:54,717]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,717]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Home:
/home/dimuthu/software/jdk1.6.0_24/jre
[2013-11-18 18:11:54,718]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,717]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Version :
1.6.0_24
[2013-11-18 18:11:54,718]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,717]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java VM  :
Java HotSpot(TM) 64-Bit Server VM 19.1-b02,Sun Microsystems Inc.
[2013-11-18 18:11:54,718]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,717]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Carbon Home  :
/home/dimuthu/svn/platform/branches/turing/products/as/5.2.0/modules/integration/tests-new/target/carbontmp1384778472916/wso2as-5.2.0
[2013-11-18 18:11:54,718]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,717]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  Java Temp Dir:
/home/dimuthu/svn/platform/branches/turing/products/as/5.2.0/modules/integration/tests-new/target/carbontmp1384778472916/wso2as-5.2.0/tmp
[2013-11-18 18:11:54,719]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,718]  INFO
{org.wso2.carbon.core.internal.CarbonCoreActivator} -  User :
dimuthu, en-US, Asia/Colombo
[2013-11-18 18:11:54,811]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,811]  WARN
{org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} -  The
default keystore (wso2carbon.jks) is currently being used. To maximize
security when deploying to a production environment, configure a new
keystore with a unique password in the production server profile.
[2013-11-18 18:11:54,820]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,820]  INFO
{org.wso2.carbon.databridge.agent.thrift.AgentHolder} -  Agent created !
[2013-11-18 18:11:54,845]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:11:54,845]  INFO
{org.wso2.carbon.databridge.agent.thrift.internal.AgentDS} -  Successfully
deployed Agent Client
[2013-11-18 18:12:06,990]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:12:06,989]  INFO
{org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} -  Configured
Registry in 276ms
[2013-11-18 18:12:07,632]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:12:07,632]  INFO
{org.wso2.carbon.registry.core.internal.RegistryCoreServiceComponent} -
 Registry Mode: READ-WRITE
[2013-11-18 18:12:09,253]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:12:09,253]  INFO
{org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} -  Carbon
UserStoreMgtDSComponent activated successfully.
[2013-11-18 18:12:27,254]  INFO
{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} -
 [2013-11-18 18:12:27,254]  INFO
{org.apache.catalina.startup.TaglibUriRule} -  TLD skipped. URI:
http://tiles.apache.org/tags-tiles is already defined
[2013-11-18 18:12:30,783]  

Re: [Dev] [Turing][Chunk 04] - Build failure in HDFS Name Node

2013-11-18 Thread Bhathiya Jayasekara
Hi all,

I also faced the same while building in a clean repo. First time it fails
and continues fine when I give *mvn -rf*
Can't understand why it works that way.

As the error says, there are 2 jars. [1] is from *dependancies/* and [2] is
from *dependancies/orbit/ .*

But namenode pom.xml is referring only to [2]. Any thoughts on why this
occurs?

[1]
http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/hadoop/hadoop-core/0.20.203.1-wso2v4/
[2]
http://maven.wso2.org/nexus/content/groups/wso2-public/org/apache/hadoop/wso2/hadoop-core/0.20.203.1.wso2v4/

Thanks,
Bhathiya


On Mon, Nov 18, 2013 at 2:39 PM, Hasitha Aravinda hasi...@wso2.com wrote:

 Hi SS team,

 I am getting following build failure in clean repo build. But when I
 resume build from HDFS Name Node, it works fine. Could you please take a
 look into this.


 [INFO] Kerberos 5 Authenticator - UI bundle .. SUCCESS
 [5.951s]
 [INFO] WSO2 Carbon - Hadoop-Carbon Security Extensions ... SUCCESS
 [29.706s]
 [INFO] WSO2 Carbon - HDFS Aggregator Module .. SUCCESS
 [0.057s]
 [INFO] WSO2 Carbon HDFS Name Node  FAILURE
 [1.422s]
 [INFO] WSO2 Carbon HDFS Data Node  SKIPPED
 [INFO] WSO2 Carbon - HDFS Data Access  SKIPPED
 [INFO] WSO2 Carbon - HDFS Management Server .. SKIPPED

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 55:17.396s
 [INFO] Finished at: Mon Nov 18 14:06:36 IST 2013
 [INFO] Final Memory: 2429M/3953M
 [INFO]
 
 [ERROR] Failed to execute goal on project org.wso2.carbon.hdfs.namenode:
 Could not resolve dependencies for project org.wso2.carbon:org.wso2.carbon.
 hdfs.namenode:bundle:4.2.0: The following artifacts could not be
 resolved: org.apache.hadoop.wso2:hadoop-core:jar:0.20.203.1.wso2v4, org.
 apache.hadoop:hadoop-core:jar:0.20.203.1-wso2v4: Could not find artifact
 org.apache.hadoop.wso2:hadoop-core:jar:0.20.203.1.wso2v4 in central
 (http://repo.maven.apache.org/maven2) - [Help 1]
 [ERROR]

 Thanks,
 Hasitha.



 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200




-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com http://wso2.com*

*Phone: +94715478185 %2B94715478185*
*LinkedIn: http://www.linkedin.com/in/bhathiyaj
http://www.linkedin.com/in/bhathiyaj*
*Twitter: https://twitter.com/bhathiyax https://twitter.com/bhathiyax*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Turing branch] Issues with externals

2013-11-18 Thread Sumedha Rubasinghe
While WSO2Con was going on we have asked each product team to fix their
externals on the branch. If this was not done, how are these products
building now?



On Tue, Nov 5, 2013 at 4:43 PM, Supun Malinga sup...@wso2.com wrote:




 On Tue, Nov 5, 2013 at 3:44 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:




 On Tue, Nov 5, 2013 at 3:34 PM, Vijitha Kumara viji...@wso2.com wrote:

 Hi All,

 I can see below issues while doing svn update. Can the relevant product
 teams fix these please...


 svn: warning: W20: Error handling externals definition for
 'products/is/4.5.1/modules/distribution/conf/claim-config.xml':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/features/claim-management/org.wso2.carbon.claim.mgt.server.feature/4.2.0/resources/conf/claim-config.xml'
 at revision 190224 doesn't exist


 svn: warning: W20: Error handling externals definition for
 'products/as/5.2.0/modules/samples/dataServiceSamples':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/products/dss/3.1.0/modules/samples'
 at revision 190224 doesn't exist

 Fixed.

 BTW in general all these externals broken do to the renaming of
 4.2.0/turing (s/4.2.0/turing/g). Ideally it should have been handled by the
 folks who did the change..

 thanks,



 svn: warning: W20: Error handling externals definition for
 'features/stratos/common/org.wso2.carbon.stratos.common.server.feature/2.2.0/resources/conf/tenant-mgt.xml':
  svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/kernel/branches/turing/core/org.wso2.carbon.user.core/4.2.0/src/main/resources/tenant-mgt.xml'
 at revision 190224 doesn't exist


 svn: warning: W20: Error handling externals definition for
 'products/esb/4.8.0/modules/features/product/etc':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/features/etc' at
 revision 190224 doesn't exist


 svn: warning: W20: Error handling externals definition for
 'products/dss/3.1.0/modules/integration/tests/src/test/resources/artifacts/DSS':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/1.2.0/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/DSS'
 at revision 190224 doesn't exist


 Fixed.













 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
/sumedha
b :  bit.ly/sumedha
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Turing branch] Issues with externals

2013-11-18 Thread Anjana Fernando
BAM/DSS was ok .. is anything broken now? ..

Cheers,
Anjana.


On Tue, Nov 19, 2013 at 7:38 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 While WSO2Con was going on we have asked each product team to fix their
 externals on the branch. If this was not done, how are these products
 building now?



 On Tue, Nov 5, 2013 at 4:43 PM, Supun Malinga sup...@wso2.com wrote:




 On Tue, Nov 5, 2013 at 3:44 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:




 On Tue, Nov 5, 2013 at 3:34 PM, Vijitha Kumara viji...@wso2.com wrote:

 Hi All,

 I can see below issues while doing svn update. Can the relevant product
 teams fix these please...


 svn: warning: W20: Error handling externals definition for
 'products/is/4.5.1/modules/distribution/conf/claim-config.xml':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/features/claim-management/org.wso2.carbon.claim.mgt.server.feature/4.2.0/resources/conf/claim-config.xml'
 at revision 190224 doesn't exist


 svn: warning: W20: Error handling externals definition for
 'products/as/5.2.0/modules/samples/dataServiceSamples':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/products/dss/3.1.0/modules/samples'
 at revision 190224 doesn't exist

 Fixed.

 BTW in general all these externals broken do to the renaming of
 4.2.0/turing (s/4.2.0/turing/g). Ideally it should have been handled by the
 folks who did the change..

 thanks,



 svn: warning: W20: Error handling externals definition for
 'features/stratos/common/org.wso2.carbon.stratos.common.server.feature/2.2.0/resources/conf/tenant-mgt.xml':
  svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/kernel/branches/turing/core/org.wso2.carbon.user.core/4.2.0/src/main/resources/tenant-mgt.xml'
 at revision 190224 doesn't exist


 svn: warning: W20: Error handling externals definition for
 'products/esb/4.8.0/modules/features/product/etc':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/features/etc' at
 revision 190224 doesn't exist


 svn: warning: W20: Error handling externals definition for
 'products/dss/3.1.0/modules/integration/tests/src/test/resources/artifacts/DSS':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/1.2.0/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/DSS'
 at revision 190224 doesn't exist


 Fixed.













 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 /sumedha
 b :  bit.ly/sumedha




-- 
*Anjana Fernando*
Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Turing branch] Issues with externals

2013-11-18 Thread Supun Malinga
Hi,

I checked while doing an svn up in turing and seems to be ok now..

thanks,


On Tue, Nov 19, 2013 at 8:38 AM, Anjana Fernando anj...@wso2.com wrote:

 BAM/DSS was ok .. is anything broken now? ..

 Cheers,
 Anjana.


 On Tue, Nov 19, 2013 at 7:38 AM, Sumedha Rubasinghe sume...@wso2.comwrote:

 While WSO2Con was going on we have asked each product team to fix their
 externals on the branch. If this was not done, how are these products
 building now?



 On Tue, Nov 5, 2013 at 4:43 PM, Supun Malinga sup...@wso2.com wrote:




 On Tue, Nov 5, 2013 at 3:44 PM, Krishantha Samaraweera 
 krishan...@wso2.com wrote:




 On Tue, Nov 5, 2013 at 3:34 PM, Vijitha Kumara viji...@wso2.comwrote:

 Hi All,

 I can see below issues while doing svn update. Can the relevant
 product teams fix these please...


 svn: warning: W20: Error handling externals definition for
 'products/is/4.5.1/modules/distribution/conf/claim-config.xml':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/features/claim-management/org.wso2.carbon.claim.mgt.server.feature/4.2.0/resources/conf/claim-config.xml'
 at revision 190224 doesn't exist


 svn: warning: W20: Error handling externals definition for
 'products/as/5.2.0/modules/samples/dataServiceSamples':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/products/dss/3.1.0/modules/samples'
 at revision 190224 doesn't exist

 Fixed.

 BTW in general all these externals broken do to the renaming of
 4.2.0/turing (s/4.2.0/turing/g). Ideally it should have been handled by the
 folks who did the change..

 thanks,



 svn: warning: W20: Error handling externals definition for
 'features/stratos/common/org.wso2.carbon.stratos.common.server.feature/2.2.0/resources/conf/tenant-mgt.xml':
  svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/kernel/branches/turing/core/org.wso2.carbon.user.core/4.2.0/src/main/resources/tenant-mgt.xml'
 at revision 190224 doesn't exist


 svn: warning: W20: Error handling externals definition for
 'products/esb/4.8.0/modules/features/product/etc':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/kernel/trunk/features/etc' at
 revision 190224 doesn't exist


 svn: warning: W20: Error handling externals definition for
 'products/dss/3.1.0/modules/integration/tests/src/test/resources/artifacts/DSS':
 svn: warning: W17: URL '
 https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.2.0/platform-integration/platform-automated-test-suite/1.2.0/org.wso2.carbon.automation.test.repo/src/main/resources/artifacts/DSS'
 at revision 190224 doesn't exist


 Fixed.













 --
 Vijitha Kumara
 Senior Software Engineer; WSO2, Inc.;  http://wso2.com/
 email: viji...@wso2.com


 Lean . Enterprise . Middleware

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Krishantha Samaraweera
 Senior Technical Lead - Test Automation
 Mobile: +94 77 7759918
 WSO2, Inc.; http://wso2.com/
 lean . enterprise . middlewear.

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 email: sup...@wso2.com sup...@wso2.com
 mobile: +94 (0)71 56 91 321

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 /sumedha
 b :  bit.ly/sumedha




 --
 *Anjana Fernando*
 Technical Lead
 WSO2 Inc. | http://wso2.com
 lean . enterprise . middleware




-- 
Supun Malinga,

Senior Software Engineer,
WSO2 Inc.
http://wso2.com
email: sup...@wso2.com sup...@wso2.com
mobile: +94 (0)71 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Turing][Chunk 04] Build failure in Proxy Services Core Feature 4.2.0

2013-11-18 Thread Shafreen Anfar
Hi Hasitha,

This has been fixed. Sorry It was my mistake. I was under the impression
that these components were already released.


On Wed, Nov 13, 2013 at 3:33 PM, Hasitha Aravinda hasi...@wso2.com wrote:

 Hi,

 Getting following error in clean repo. Please have a look.

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 17.547s
 [INFO] Finished at: Wed Nov 13 15:27:51 IST 2013
 [INFO] Final Memory: 148M/1322M
 [INFO]
 
 [ERROR] Failed to execute goal on project
 org.wso2.carbon.proxyadmin.server.feature: Could not resolve dependencies
 for project
 org.wso2.carbon:org.wso2.carbon.proxyadmin.server.feature:pom:4.2.0: *Could
 not find artifact
 org.wso2.carbon:org.wso2.carbon.proxyadmin.common:jar:4.2.0* in
 wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/) -
 [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.

 Thanks,
 Hasitha.


 --
 Hasitha Aravinda,
 Software Engineer,
 WSO2 Inc.
 Email: hasi...@wso2.com
 Mobile: +94 71 8 210 200



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Regards,
*Shafreen*
Software Engineer
WSO2 Inc
Mobile : 077-556-395-1
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Test plan for DevStudio

2013-11-18 Thread Susinda Perera
Hi DevStudio Team mates

As we all know that we encountered number of  bugs in devs in recent past
(and some bad comments). I hope we could surely reduce many number of these
bugs/complains if we have a proper test plan, but testing of 20+ different
projects we support in DEVS and 40+ mediators within the ESB editor is not
an easy task (we may need some automated testing etc.). But for testing of
basic features like installing, running, import, saving, deploying features
in DevStudio we need to formulate a proper test plan. As an initiative i
propose following matrix, please share your ideas on this.




win32 win64 linux32 linux64 mac32 mac64







 1 Running of DEVS Installed eclipse distributions ✓✓
✓
✓✓✓
 2 Installing zipped distributions on fresh eclipse (juno for nuw) ✓
✓
✓
✓✓✓
 3 Step 1 for a installed devs from zip file ✓
✓
✓
✓✓✓
 4 Import features





 4.1 Importing a esb project


✓


 4.2 Importing a single artifact


✓

 4.3 Importing a synapse.xml and generate artifacts


✓


 4.4 Use of old workspace in a newly released devstudio


✓










 5 ESB graphical editor





 5.1 Navigate back and forth in design and source view


✓


 5.2 Copy paste in source and navigate to design view


✓










 6 Saving





 6.1 Saving projects, artitacts


✓


 6.2 Saving and reopening (to test whether we miss any)


✓










 7 Deploying





 7.1 Deploying a simple car project from eclipse


✓


 7.2 Car file generation and deploying from carbon server mgt console


✓




To have an extended test (covering all projects/mediators) it would be
great if we can get the QA team support (at least before a major release),
And i believe this testing would be easy if some of our team members could
carry out their development on windows machines, where we could identify
the issues while we develop.
@Harshana : How about requesting couple of windows copies for our team? And
requesting for QA?



-- 
*Susinda Perera*
Software Engineer
Mobile:(+94)716049075

WSO2 Inc. http://wso2.com/
Tel : 94 11 214 5345 Fax :94 11 2145300
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [user-mgt.xml] ReadWriteLDAPUserStoreManager config for embedded-apacheds LDAP is obsolete and needs to be removed.

2013-11-18 Thread Pavithra Madurangi
Hi all,

Embedded apacheds LDAP is no longer shipped with products (except with IS).
So can we please remove ReadWriteLDAPUserStoreManager config for
embedded-apacheds LDAP [1] (the first user store manager configuration found
in user-mgt.xml)  from user-mgt.xml.

This config is bit misleading and most of the time people misuse this as
the user store manager configuration for external read/write ldap user
store which leads to many errors including user adding errors. Since embedded
ldap in IS have separate configuration, we can safely remove
this configuration and avoid lot of confusion. This concern is reported in
[2]

[1] !-- Following is the default user store manager. This user store
manager is based on embedded-apacheds LDAP. It reads/writes users and roles
into the  default apacheds LDAP user store. Descriptions about each of
the following properties can be found in user management documentation of
the  respective product. In case if user core cache domain is needed to
identify uniquely set property Property
name=UserCoreCacheIdentifierdomain/Property
 Note: Do not comment within UserStoreManager tags. Cause, specific tag
names are used as tokens when building configurations for products. --
 !--UserStoreManager
class=org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager
Property
name=TenantManagerorg.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager/Property
Property name=ConnectionURLldap://localhost:389/Property
Property
name=ConnectionNamecn=admin,dc=wso2,dc=com/Property
Property name=ConnectionPasswordsecret/Property
Property name=Disabledfalse/Property
Property name=passwordHashMethodSHA/Property
Property
name=UserNameListFilter(objectClass=person)/Property
Property name=UserEntryObjectClasswso2Person/Property
Property
name=UserSearchBaseou=Users,dc=wso2,dc=com/Property
Property
name=UserNameSearchFilter(amp;(objectClass=person)(uid=?))/Property
Property name=UserNameAttributeuid/Property
Property name=PasswordJavaScriptRegEx^[\S]{5,30}$/Property
Property name=UsernameJavaScriptRegEx^[\S]{3,30}$/Property
Property name=UsernameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property
Property name=RolenameJavaScriptRegEx^[\S]{3,30}$/Property
Property
name=RolenameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property
Property name=ReadGroupstrue/Property
Property name=WriteGroupstrue/Property
Property name=EmptyRolesAllowedtrue/Property
Property
name=GroupSearchBaseou=Groups,dc=wso2,dc=com/Property
Property
name=GroupNameListFilter(objectClass=groupOfNames)/Property
Property name=GroupEntryObjectClassgroupOfNames/Property
Property
name=GroupNameSearchFilter(amp;(objectClass=groupOfNames)(cn=?))/Property
Property name=GroupNameAttributecn/Property
Property name=SharedGroupNameAttributecn/Property
Property
name=SharedGroupSearchBaseou=SharedGroups,dc=wso2,dc=com/Property
Property
name=SharedGroupEntryObjectClassgroupOfNames/Property
Property
name=SharedGroupNameListFilter(objectClass=groupOfNames)/Property
Property
name=SharedGroupNameSearchFilter(amp;(objectClass=groupOfNames)(cn=?))/Property
Property
name=SharedTenantNameListFilter(objectClass=organizationalUnit)/Property
Property name=SharedTenantNameAttributeou/Property
Property
name=SharedTenantObjectClassorganizationalUnit/Property
Property name=MembershipAttributemember/Property
Property name=UserRolesCacheEnabledtrue/Property
Property
name=UserDNPatternuid={0},ou=Users,dc=wso2,dc=com/Property
Property name=MaxRoleNameListLength100/Property
Property name=MaxUserNameListLength100/Property
Property name=SCIMEnabledfalse/Property
/UserStoreManager--

[2] https://wso2.org/jira/browse/IDENTITY-1903


Regards,
/Pavithra
-- 
*Pavithra Madurangi*
Senior Software Engineer - QA.
WSO2 Inc.: http://wso2.com/
Mobile: +94777207357
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [user-mgt.xml] ReadWriteLDAPUserStoreManager config for embedded-apacheds LDAP is obsolete and needs to be removed.

2013-11-18 Thread Thayalan
FYI, WSO2 Storage Server product also using Embedded LDAP

~ Thayalan


On Tue, Nov 19, 2013 at 11:57 AM, Pavithra Madurangi pavit...@wso2.comwrote:

 Hi all,

 Embedded apacheds LDAP is no longer shipped with products (except with
 IS). So can we please remove ReadWriteLDAPUserStoreManager config for
 embedded-apacheds LDAP [1] (the first user store manager configuration found
 in user-mgt.xml)  from user-mgt.xml.

 This config is bit misleading and most of the time people misuse this as
 the user store manager configuration for external read/write ldap user
 store which leads to many errors including user adding errors. Since embedded
 ldap in IS have separate configuration, we can safely remove
 this configuration and avoid lot of confusion. This concern is reported
 in [2]

 [1] !-- Following is the default user store manager. This user store
 manager is based on embedded-apacheds LDAP. It reads/writes users and roles
 into the  default apacheds LDAP user store. Descriptions about each
 of the following properties can be found in user management documentation
 of the  respective product. In case if user core cache domain is needed
 to identify uniquely set property Property
 name=UserCoreCacheIdentifierdomain/Property
  Note: Do not comment within UserStoreManager tags. Cause, specific
 tag names are used as tokens when building configurations for products. --
  !--UserStoreManager
 class=org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager
 Property
 name=TenantManagerorg.wso2.carbon.user.core.tenant.CommonHybridLDAPTenantManager/Property
  Property
 name=ConnectionURLldap://localhost:389/Property
 Property
 name=ConnectionNamecn=admin,dc=wso2,dc=com/Property
 Property name=ConnectionPasswordsecret/Property
 Property name=Disabledfalse/Property
 Property name=passwordHashMethodSHA/Property
 Property
 name=UserNameListFilter(objectClass=person)/Property
 Property name=UserEntryObjectClasswso2Person/Property
 Property
 name=UserSearchBaseou=Users,dc=wso2,dc=com/Property
 Property
 name=UserNameSearchFilter(amp;(objectClass=person)(uid=?))/Property
 Property name=UserNameAttributeuid/Property
 Property
 name=PasswordJavaScriptRegEx^[\S]{5,30}$/Property
 Property
 name=UsernameJavaScriptRegEx^[\S]{3,30}$/Property
 Property name=UsernameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property
 Property
 name=RolenameJavaScriptRegEx^[\S]{3,30}$/Property
 Property
 name=RolenameJavaRegEx[a-zA-Z0-9._-|//]{3,30}$/Property
 Property name=ReadGroupstrue/Property
 Property name=WriteGroupstrue/Property
 Property name=EmptyRolesAllowedtrue/Property
 Property
 name=GroupSearchBaseou=Groups,dc=wso2,dc=com/Property
 Property
 name=GroupNameListFilter(objectClass=groupOfNames)/Property
 Property name=GroupEntryObjectClassgroupOfNames/Property
 Property
 name=GroupNameSearchFilter(amp;(objectClass=groupOfNames)(cn=?))/Property
 Property name=GroupNameAttributecn/Property
 Property name=SharedGroupNameAttributecn/Property
 Property
 name=SharedGroupSearchBaseou=SharedGroups,dc=wso2,dc=com/Property
 Property
 name=SharedGroupEntryObjectClassgroupOfNames/Property
 Property
 name=SharedGroupNameListFilter(objectClass=groupOfNames)/Property
 Property
 name=SharedGroupNameSearchFilter(amp;(objectClass=groupOfNames)(cn=?))/Property
 Property
 name=SharedTenantNameListFilter(objectClass=organizationalUnit)/Property
 Property name=SharedTenantNameAttributeou/Property
 Property
 name=SharedTenantObjectClassorganizationalUnit/Property
 Property name=MembershipAttributemember/Property
 Property name=UserRolesCacheEnabledtrue/Property
 Property
 name=UserDNPatternuid={0},ou=Users,dc=wso2,dc=com/Property
 Property name=MaxRoleNameListLength100/Property
 Property name=MaxUserNameListLength100/Property
 Property name=SCIMEnabledfalse/Property
 /UserStoreManager--

 [2] https://wso2.org/jira/browse/IDENTITY-1903


 Regards,
 /Pavithra
 --
 *Pavithra Madurangi*
 Senior Software Engineer - QA.
 WSO2 Inc.: http://wso2.com/
 Mobile: +94777207357

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Regards,
Thayalan Sivapaleswararajah
Associate Technical Lead - QA
Mob: +94(0)777872485
Tel : +94(0)(11)2145345
Fax : +94(0)(11)2145300
Email: thaya...@wso2.com

*Disclaimer*: *This communication may contain privileged or other
confidential information and is intended exclusively for the addressee/s.
If you are not the intended recipient/s, or believe that you may have
received this communication in error, please reply to the sender indicating
that fact and 

[Dev] Distributed Transactions of DSS can not roll back for different types of database

2013-11-18 Thread stevegyc
Hi

I am following the guide 
http://docs.wso2.org/display/DSS310/Distributed+Transactions+Sample; to test 
distributed transactions of DSS.
It is OK. The addAccountToBank1 service call rolled back because of the 
error in addAccountToBank2 operation. In this test, the two operations are both 
involve H2 DB.

Then I do another test.
In this test, I replace one of the H2 DB to MySQL DB. following is my steps:
Run the begin_boxcar operation.
Insert some data to MySQL DB.
Run the addToAccountBalanceInBank2 operation and give the values 1 for 
accountId field and h200 for the value field.
Run the end_boxcar operation.
Run the getAccountBalanceFromBank2 operation.(The Balance does not change)
query the data in MySQL DB.(It has been changed by insert operation)

I do not know why roll back do not happen for MySQL DB? And what conditions 
are needed for the roll back of distributed transactions of DSS?




stevegyc___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Invitation: Code Review - Test Automation Framework @ Wed Nov 20, 2013 2pm - 3pm (malin...@wso2.com)

2013-11-18 Thread malin...@wso2.com
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20131120T083000Z
DTEND:20131120T093000Z
DTSTAMP:20131119T065101Z
ORGANIZER;CN=malin...@wso2.com:mailto:malin...@wso2.com
UID:363nnhq2i1flpeik8sj8qdf...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Srinath Perera;X-NUM-GUESTS=0:mailto:srin...@wso2.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE;CN=LK 3rd Floor Meeting Room - Kernel;X-NUM-GUESTS=0:mailto:wso2.com_323
 4323338383134353...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dharshana Warusavitharana;X-NUM-GUESTS=0:mailto:dharsha...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Afkham Azeez;X-NUM-GUESTS=0:mailto:az...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=dev@wso2.org;X-NUM-GUESTS=0:mailto:dev@wso2.org
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Nuwan Wimalasekara;X-NUM-GUESTS=0:mailto:nuw...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Krishantha Samaraweera;X-NUM-GUESTS=0:mailto:krishan...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Dimuthu De Lanerolle;X-NUM-GUESTS=0:mailto:dimut...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Malintha Adikari;X-NUM-GUESTS=0:mailto:malin...@wso2.com
CREATED:20131119T065100Z
DESCRIPTION:Code Review - Refactored Test Automation Framework.\nView your 
 event at http://www.google.com/calendar/event?action=VIEWeid=MzYzbm5ocTJpM
 WZscGVpazhzajhxZGZsbjggZGV2QHdzbzIub3Jntok=MTcjbWFsaW50aGFAd3NvMi5jb204ZGI
 xNjIzYWE0NDVkNzVhYjIzNzg4MjhhNmEwN2Y5NGU5MmU3MDc5ctz=Asia/Colombohl=en.
LAST-MODIFIED:20131119T065100Z
LOCATION:LK 3rd Floor Meeting Room - Kernel
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review - Test Automation Framework 
TRANSP:OPAQUE
ATTACH:https%3A%2F%2Fdocs.google.com%2Fa%2Fwso2.com%2Fdocument%2Fd%2F13q_Un
 9z5iWu4-sRISwpS6nz_WIdHHAPRK27PFh-9ogc%2Fedit%3Fusp%3Ddrive_web
ATTACH:https%3A%2F%2Fdocs.google.com%2Fa%2Fwso2.com%2Fdrawings%2Fd%2F1ZSene
 yDKE2PSeT4HGoQWTRtXN0wZTo7EemZlHLoHDuQ%2Fedit%3Fusp%3Ddrive_web
END:VEVENT
END:VCALENDAR


invite.ics
Description: application/ics
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] When the source of DSS v.3.1.0 will be released?

2013-11-18 Thread stevegyc
Hi:

Does Anyone know when the source of DSS v.3.1.0 will be released?




stevegyc___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Distributed Transactions of DSS can not roll back for different types of database

2013-11-18 Thread Chanika Geeganage
Hi,

Can you please raise this question on StackOverflow, as we are
providing developer
support through that.

Thanks


On Tue, Nov 19, 2013 at 12:16 PM, stevegyc steve...@163.com wrote:

  Hi

 I am following the guide 
 http://docs.wso2.org/display/DSS310/Distributed+Transactions+Sample; to
 test distributed transactions of DSS.

 It is OK. The addAccountToBank1 service call rolled back because of
 the error in addAccountToBank2 operation. In this test, the two operations
 are both involve H2 DB.



 Then I do another test.

 In this test, I replace one of the H2 DB to MySQL DB. following is my
 steps:

1.

Run the begin_boxcar operation.
2.

Insert some data to MySQL DB.
3.

Run the addToAccountBalanceInBank2 operation and give the values 1
for accountId field and h200 for the value field.
4.

Run the end_boxcar operation.
5.

Run the getAccountBalanceFromBank2 operation.(The Balance does not
change)
6.

query the data in MySQL DB.(It has been changed by insert operation)



 I do not know why roll back do not happen for MySQL DB? And what
 conditions are needed for the roll back of distributed transactions of DSS?

 --
 stevegyc

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards..

Chanika Geeganage
Software Engineer
WSO2, Inc.; http://wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev