[Dev] G-Reg Test failure : Capp deployment.

2013-07-24 Thread Ajith Vitharana
Hi All,

I'm deploying a *mix_1.0.0.car [1]* file and it is deploying fine.
applicationAdmin.listAllApplications() retuns the name as *mix_1.0.0*.
But the application list  view it display  as *mix . *
*
*
in artifact.xml has following entry:
*artifact name=mix version=1.0.0 type=carbon/application
*
*
*
What it the actual name should assert ? Or  it is a bug ?

[1]
https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/resources/car/mix_1.0.0.car

Thanks
Ajith.

-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
attachment: app-list.png___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] G-Reg Test failure : Capp deployment.

2013-07-24 Thread Harshana Martin
Hi Ajith,


On Wed, Jul 24, 2013 at 7:27 AM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 I'm deploying a *mix_1.0.0.car [1]* file and it is deploying fine.
 applicationAdmin.listAllApplications() retuns the name as *mix_1.0.0*.
 But the application list  view it display  as *mix . *
 *
 *
 in artifact.xml has following entry:
 *artifact name=mix version=1.0.0 type=carbon/application
 *
 *
 *
 What it the actual name should assert ? Or  it is a bug ?


C-App name is mix and the version is 1.0.0.

List All Applications API might be returning the Name+_+Version which is
wrong.

If we look up the name, it has to return just mix and the version should
separately provided as 1.0.0.

Thanks and Regards,
Harshana


 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/resources/car/mix_1.0.0.car

 Thanks
 Ajith.

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




-- 

Harshana Martin
Associate Technical Lead
WSO2 Inc. : http://wso2.com

Mobile: +94 775 998 115
Profile: https://www.google.com/profiles/harshana05
Blog: http://harshana05.blogspot.com
Twitter: http://twitter.com/harshana05
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] G-Reg Test failure : Capp deployment.

2013-07-24 Thread Ajith Vitharana
On Wed, Jul 24, 2013 at 9:15 PM, Harshana Martin harsh...@wso2.com wrote:

 Hi Ajith,


 On Wed, Jul 24, 2013 at 7:27 AM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 I'm deploying a *mix_1.0.0.car [1]* file and it is deploying fine.
 applicationAdmin.listAllApplications() retuns the name as *mix_1.0.0*.
 But the application list  view it display  as *mix . *
 *
 *
 in artifact.xml has following entry:
 *artifact name=mix version=1.0.0 type=carbon/application
 *
 *
 *
 What it the actual name should assert ? Or  it is a bug ?


 C-App name is mix and the version is 1.0.0.

 List All Applications API might be returning the Name+_+Version which is
 wrong.


Ok. If so this is a bug. I found  some AS test failures has fixed just
changing the asset value.
r177579 - KasunG.

 [1]https://wso2.org/jira/browse/WSAS-1283

Thanks
Ajith.


 If we look up the name, it has to return just mix and the version 
 shouldseparately
 provided as 1.0.0.

 Thanks and Regards,
 Harshana


 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/resources/car/mix_1.0.0.car

 Thanks
 Ajith.

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




 --

 Harshana Martin
 Associate Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05




-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] G-Reg Test failure : Capp deployment.

2013-07-24 Thread Ajith Vitharana
Hi Harshana,

I found that this change has made to fix the issue [1]. We have to change
the tests according to that fix.

[1]https://wso2.org/jira/browse/CARBON-13911

Thanks
Ajith.




On Wed, Jul 24, 2013 at 7:57 PM, Ajith Vitharana aji...@wso2.com wrote:

 Hi All,

 I'm deploying a *mix_1.0.0.car [1]* file and it is deploying fine.
 applicationAdmin.listAllApplications() retuns the name as *mix_1.0.0*.
 But the application list  view it display  as *mix . *
 *
 *
 in artifact.xml has following entry:
 *artifact name=mix version=1.0.0 type=carbon/application
 *
 *
 *
 What it the actual name should assert ? Or  it is a bug ?

 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/resources/car/mix_1.0.0.car

 Thanks
 Ajith.

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




-- 
Ajith Vitharana.
WSO2 Inc. - http://wso2.org
Email  :  aji...@wso2.com
Mobile : +94772217350
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] G-Reg Test failure : Capp deployment.

2013-07-24 Thread Kasun Gajasinghe
Hi Ajith,

ApplicationAdmin has been changed to support two CARs with same name but
different versions. [1] So, in the patch provided in the JIRA, they have
used application id to be the car name + version. Therefore, we have
changed our integration tests accordingly.

[1] https://wso2.org/jira/browse/CARBON-13911





On Wed, Jul 24, 2013 at 10:14 PM, Ajith Vitharana aji...@wso2.com wrote:




 On Wed, Jul 24, 2013 at 9:15 PM, Harshana Martin harsh...@wso2.comwrote:

 Hi Ajith,


  On Wed, Jul 24, 2013 at 7:27 AM, Ajith Vitharana aji...@wso2.comwrote:

 Hi All,

 I'm deploying a *mix_1.0.0.car [1]* file and it is deploying fine.
 applicationAdmin.listAllApplications() retuns the name as *mix_1.0.0*.
 But the application list  view it display  as *mix . *
 *
 *
 in artifact.xml has following entry:
 *artifact name=mix version=1.0.0 type=carbon/application
 *
 *
 *
 What it the actual name should assert ? Or  it is a bug ?


 C-App name is mix and the version is 1.0.0.

 List All Applications API might be returning the Name+_+Version which
 is wrong.


 Ok. If so this is a bug. I found  some AS test failures has fixed just
 changing the asset value.
 r177579 - KasunG.

  [1]https://wso2.org/jira/browse/WSAS-1283

 Thanks
 Ajith.


 If we look up the name, it has to return just mix and the version 
 shouldseparately
 provided as 1.0.0.

 Thanks and Regards,
 Harshana


 [1]
 https://svn.wso2.org/repos/wso2/carbon/platform/trunk/products/greg/modules/integration/registry/tests/src/test/java/resources/car/mix_1.0.0.car

 Thanks
 Ajith.

 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




 --

 Harshana Martin
 Associate Technical Lead
 WSO2 Inc. : http://wso2.com

 Mobile: +94 775 998 115
 Profile: https://www.google.com/profiles/harshana05
 Blog: http://harshana05.blogspot.com
 Twitter: http://twitter.com/harshana05




 --
 Ajith Vitharana.
 WSO2 Inc. - http://wso2.org
 Email  :  aji...@wso2.com
 Mobile : +94772217350




-- 
*Kasun Gajasinghe*
Software Engineer;
Development Technologies Team, WSO2 Inc.; http://wso2.com


 ,
*email: **kasung AT spamfree wso2.com


** cell: **+94 (77) 678-0813*
*linked-in: *http://lk.linkedin.com/in/gajasinghe


*
*
*blog: **http://kasunbg.org* http://kasunbg.org


*
twitter: **http://twitter.com/kasunbg* http://twitter.com/kasunbg


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