[Dev] default parameters in axis.xml in products

2013-05-29 Thread Supun Malinga
Hi guys,

There are several product cluster specific paramaters we have defined in
axis2.xml. Since we use seperate axis2.xml s in each product I see an
improvement we can do to have these params by default customised to
individual product.

For eg:
domain name
localMemberPort

Each time we do a clustered deployment we need to change these values to be
unique for each product cluster/instance. So it helps to set a default
unique value for these.

thanks,
-- 
Supun Malinga,

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


[Dev] Warning when building Test Automation Framework on 4.1.3 branch

2013-05-29 Thread Senaka Fernando
FYI,

[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!

Thanks,
Senaka.

-- 
*Senaka Fernando*
Member - Integration Technologies Management Committee;
Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

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


Re: [Dev] Warning when building Test Automation Framework on 4.1.3 branch

2013-05-29 Thread Dharshana Warusavitharana
Hi Senaka,

All encoding added to UTF-8 this is fixed thank you for pointing out.

thank You,
Dharshana


On Wed, May 29, 2013 at 11:40 AM, Senaka Fernando sen...@wso2.com wrote:

 FYI,

 [WARNING] Using platform encoding (Cp1252 actually) to copy filtered
 resources, i.e. build is platform dependent!

 Thanks,
 Senaka.

 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware




-- 

Dharshana Warusavitharana
Senior Software Engineer , Test Automation
WSO2 Inc. http://wso2.com
email : dharsha...@wso2.com dharsha...@wso2.com
cell : +94772202595
blog : http://dharshanaw.blogspot.com

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


Re: [Dev] Build fails at branch 4.1.3

2013-05-29 Thread Pulasthi Supun
Hi Lahiru

You need to build the kernel with patch releases. Pagination Context
related changes are in kernel patch0001

Regards


On Tue, May 28, 2013 at 9:46 PM, Lahiru Sandaruwan lahi...@wso2.com wrote:

 $subject, Any thing missed?

 Error,

 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 5:35.403s
 [INFO] Finished at: Tue May 28 21:41:50 IST 2013
 [INFO] Final Memory: 534M/953M
 [INFO]
 
 [ERROR] Failed to execute goal
 org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile
 (default-compile) on project org.wso2.carbon.registry.indexing: Compilation
 failure: Compilation failure:
 [ERROR]
 /home/lahiru/work/carbonSource/branch4/platform/4.1.0/components/registry/org.wso2.carbon.registry.indexing/4.1.3/src/main/java/org/wso2/carbon/registry/indexing/service/ContentBasedSearchService.java:[118,41]
 cannot find symbol
 [ERROR] symbol  : method getLimit()
 [ERROR] location: class
 org.wso2.carbon.registry.core.utils.PaginationContext
 [ERROR]
 /home/lahiru/work/carbonSource/branch4/platform/4.1.0/components/registry/org.wso2.carbon.registry.indexing/4.1.3/src/main/java/org/wso2/carbon/registry/indexing/service/ContentBasedSearchService.java:[118,106]
 cannot find symbol
 [ERROR] symbol  : method getLimit()
 [ERROR] location: class
 org.wso2.carbon.registry.core.utils.PaginationContext
 [ERROR] - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.wso2.carbon.registry.indexing


 Thanks.

 --
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146


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




-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: pulas...@wso2.com
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Policy Editor changes are not saved in the registry and does not picked by the proxy service once it is redeployed.

2013-05-29 Thread Supun Malinga
Hi,

This is related to meta-data persistence. Meta-file for the proxy service
should go into repository/deployment/server/servicemetafiles.
There in the meta-file policy should be updated. And upon restart it it
should apply the policy back to the service (proxy).

Proxy update scenario can be dependent the way its updated. If you delete
the existing proxy and recreate it, then upon deletion meta-file will be
deleted. But if the proxy is updated (via the ui), it should keep the
existing policies.

To investigate this you can look into the meta-file writing and update code
usage in policy editor component and also the meta-file core api and
implementations in core/org.wso2.carbon.core persistence package.

thanks,

thanks,


On Wed, May 29, 2013 at 1:52 PM, Chanaka Fernando chana...@wso2.com wrote:

 Hi,

 This is related to the following jira ticket.

 https://wso2.org/jira/browse/ESBJAVA-1485

 Here what happens is that the policies we are changing from the policy
 editor are not saved in the registry. When the proxy is redeployed, it
 picks the policy from the registry and hence the saved values cannot be
 restored from the proxy service.

 This can be easily reproducible and we need to fix this since this is a
 valid requirement. Appreciate the help from anyone who is familiar with the
 PolicyEditor code.


 Thanks,

 --
 Chanaka Fernando
 Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://chanakaudaya.wordpress.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
http://wso2.org
email - sup...@wso2.com sup...@wso2.com
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Image Store Read in registry using new jaggery functions

2013-05-29 Thread Harsha Thirimanna
Hi,

For the AppFactory we need to give a facility to upload an application icon
to the application creator. We suggested to store this application icon
in registry as a resource.
First we thought to do this just writing custom host object. But as ruchira
said we have new function with new jaggery version.

To update
var carbon = require('carbon');
var registry = new carbon.registry.Registry(serverUrl, {
   username: getProperty(ADMIN_USERNAME),
   password: getProperty(ADMIN_PASSWORD)
});
var path = APPLICATIONS+appicon/icon_+ applicationKey ;
registry.put(path, {
   mediaType: 'image/jpg',
   content: file.getStream()
});


To read
var carbon = require('carbon');
   var registry = new carbon.registry.Registry(serverUrl, {
  username: getProperty(ADMIN_USERNAME),
  password: getProperty(ADMIN_PASSWORD)
   });
   var path = APPLICATIONS+appicon/icon_+ applicationKey ;
   var res = registry.get(path);
print(res)

Then redirecting one of url to this jag call , we can get the resource.

-- 

*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* http://www.apache.org/**
email: **hars...@wso2.com* az...@wso2.com* cell: +94 71 5186770
blog: *http://www.mind4web.org/ http://www.apache.org/*
twitter: **http://twitter.com/ http://twitter.com/afkham_azeez**
harshathirimann
linked-in: **http: http://lk.linkedin.com/in/afkhamazeez**//
www.linkedin.com/pub/harsha-thirimanna/10/ab8/122*
*
*
*Lean . Enterprise . Middleware*
*
*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Policy Editor changes are not saved in the registry and does not picked by the proxy service once it is redeployed.

2013-05-29 Thread Kasun Gajasinghe
Hi Chanaka,

Starting from Carbon 4.0.0, the service meta-data like policies, transports
etc. are stored in the file system at
repository/deployment/server/servicemetafiles/. But proxy services is a
special case where we persist the service policies to registry in addition
to the file system. During a server restart, synapse reads registry to load
the policies not the file system. We do a service type check, and if it's a
proxy service, we persist the policies to registry. May be policy-editor is
missing the code.

Thanks,
KasunG




On Wed, May 29, 2013 at 4:46 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 This is related to meta-data persistence. Meta-file for the proxy service
 should go into repository/deployment/server/servicemetafiles.
 There in the meta-file policy should be updated. And upon restart it it
 should apply the policy back to the service (proxy).

 Proxy update scenario can be dependent the way its updated. If you delete
 the existing proxy and recreate it, then upon deletion meta-file will be
 deleted. But if the proxy is updated (via the ui), it should keep the
 existing policies.

 To investigate this you can look into the meta-file writing and update
 code usage in policy editor component and also the meta-file core api and
 implementations in core/org.wso2.carbon.core persistence package.

 thanks,

 thanks,


 On Wed, May 29, 2013 at 1:52 PM, Chanaka Fernando chana...@wso2.comwrote:

 Hi,

 This is related to the following jira ticket.

 https://wso2.org/jira/browse/ESBJAVA-1485

 Here what happens is that the policies we are changing from the policy
 editor are not saved in the registry. When the proxy is redeployed, it
 picks the policy from the registry and hence the saved values cannot be
 restored from the proxy service.

 This can be easily reproducible and we need to fix this since this is a
 valid requirement. Appreciate the help from anyone who is familiar with the
 PolicyEditor code.


 Thanks,

 --
 Chanaka Fernando
 Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://chanakaudaya.wordpress.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
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




-- 
*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


Re: [Dev] Policy Editor changes are not saved in the registry and does not picked by the proxy service once it is redeployed.

2013-05-29 Thread Supun Malinga
Hi Kasun,

I thought we got rid of registry dependency. If this is true we still have
registry bottleneck for policy updates?!.

thanks,


On Wed, May 29, 2013 at 2:54 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Chanaka,

 Starting from Carbon 4.0.0, the service meta-data like policies,
 transports etc. are stored in the file system at
 repository/deployment/server/servicemetafiles/. But proxy services is a
 special case where we persist the service policies to registry in addition
 to the file system. During a server restart, synapse reads registry to load
 the policies not the file system. We do a service type check, and if it's a
 proxy service, we persist the policies to registry. May be policy-editor is
 missing the code.

 Thanks,
 KasunG




 On Wed, May 29, 2013 at 4:46 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 This is related to meta-data persistence. Meta-file for the proxy service
 should go into repository/deployment/server/servicemetafiles.
 There in the meta-file policy should be updated. And upon restart it it
 should apply the policy back to the service (proxy).

 Proxy update scenario can be dependent the way its updated. If you delete
 the existing proxy and recreate it, then upon deletion meta-file will be
 deleted. But if the proxy is updated (via the ui), it should keep the
 existing policies.

 To investigate this you can look into the meta-file writing and update
 code usage in policy editor component and also the meta-file core api and
 implementations in core/org.wso2.carbon.core persistence package.

 thanks,

 thanks,


 On Wed, May 29, 2013 at 1:52 PM, Chanaka Fernando chana...@wso2.comwrote:

 Hi,

 This is related to the following jira ticket.

 https://wso2.org/jira/browse/ESBJAVA-1485

 Here what happens is that the policies we are changing from the policy
 editor are not saved in the registry. When the proxy is redeployed, it
 picks the policy from the registry and hence the saved values cannot be
 restored from the proxy service.

 This can be easily reproducible and we need to fix this since this is a
 valid requirement. Appreciate the help from anyone who is familiar with the
 PolicyEditor code.


 Thanks,

 --
 Chanaka Fernando
 Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://chanakaudaya.wordpress.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
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *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

 *
 *




-- 
Supun Malinga,

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


Re: [Dev] Policy Editor changes are not saved in the registry and does not picked by the proxy service once it is redeployed.

2013-05-29 Thread Kasun Gajasinghe
Hi Supun,

On Wed, May 29, 2013 at 5:28 AM, Supun Malinga sup...@wso2.com wrote:

 Hi Kasun,

 I thought we got rid of registry dependency. If this is true we still have
 registry bottleneck for policy updates?!.


Registry is not a bottleneck! The issue was high number of reads and writes
to the registry which could lead to perf and registry locking issues etc.
on service metadata persisting. Persisting a policy to registry doesn't add
any comparable overhead.

Regards,
KasunG

thanks,


 On Wed, May 29, 2013 at 2:54 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Chanaka,

 Starting from Carbon 4.0.0, the service meta-data like policies,
 transports etc. are stored in the file system at
 repository/deployment/server/servicemetafiles/. But proxy services is a
 special case where we persist the service policies to registry in addition
 to the file system. During a server restart, synapse reads registry to load
 the policies not the file system. We do a service type check, and if it's a
 proxy service, we persist the policies to registry. May be policy-editor is
 missing the code.

 Thanks,
 KasunG




 On Wed, May 29, 2013 at 4:46 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 This is related to meta-data persistence. Meta-file for the proxy
 service should go into repository/deployment/server/servicemetafiles.
 There in the meta-file policy should be updated. And upon restart it it
 should apply the policy back to the service (proxy).

 Proxy update scenario can be dependent the way its updated. If you
 delete the existing proxy and recreate it, then upon deletion meta-file
 will be deleted. But if the proxy is updated (via the ui), it should keep
 the existing policies.

 To investigate this you can look into the meta-file writing and update
 code usage in policy editor component and also the meta-file core api and
 implementations in core/org.wso2.carbon.core persistence package.

 thanks,

 thanks,


 On Wed, May 29, 2013 at 1:52 PM, Chanaka Fernando chana...@wso2.comwrote:

 Hi,

 This is related to the following jira ticket.

 https://wso2.org/jira/browse/ESBJAVA-1485

 Here what happens is that the policies we are changing from the policy
 editor are not saved in the registry. When the proxy is redeployed, it
 picks the policy from the registry and hence the saved values cannot be
 restored from the proxy service.

 This can be easily reproducible and we need to fix this since this is a
 valid requirement. Appreciate the help from anyone who is familiar with the
 PolicyEditor code.


 Thanks,

 --
 Chanaka Fernando
 Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://chanakaudaya.wordpress.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
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *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

 *
 *




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




-- 
*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


Re: [Dev] Policy Editor changes are not saved in the registry and does not picked by the proxy service once it is redeployed.

2013-05-29 Thread Supun Malinga
It is a bottleneck when there is registry mounting, hence db calls, etc.
:). Well anyways at-least in comparison to file-based persistence.

On Wed, May 29, 2013 at 3:05 PM, Kasun Gajasinghe kas...@wso2.com wrote:

 Hi Supun,

 On Wed, May 29, 2013 at 5:28 AM, Supun Malinga sup...@wso2.com wrote:

 Hi Kasun,

 I thought we got rid of registry dependency. If this is true we still
 have registry bottleneck for policy updates?!.


 Registry is not a bottleneck! The issue was high number of reads and
 writes to the registry which could lead to perf and registry locking issues
 etc. on service metadata persisting. Persisting a policy to registry
 doesn't add any comparable overhead.

 Regards,
 KasunG

 thanks,


 On Wed, May 29, 2013 at 2:54 PM, Kasun Gajasinghe kas...@wso2.comwrote:

 Hi Chanaka,

 Starting from Carbon 4.0.0, the service meta-data like policies,
 transports etc. are stored in the file system at
 repository/deployment/server/servicemetafiles/. But proxy services is a
 special case where we persist the service policies to registry in addition
 to the file system. During a server restart, synapse reads registry to load
 the policies not the file system. We do a service type check, and if it's a
 proxy service, we persist the policies to registry. May be policy-editor is
 missing the code.

 Thanks,
 KasunG




 On Wed, May 29, 2013 at 4:46 AM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 This is related to meta-data persistence. Meta-file for the proxy
 service should go into repository/deployment/server/servicemetafiles.
 There in the meta-file policy should be updated. And upon restart it it
 should apply the policy back to the service (proxy).

 Proxy update scenario can be dependent the way its updated. If you
 delete the existing proxy and recreate it, then upon deletion meta-file
 will be deleted. But if the proxy is updated (via the ui), it should keep
 the existing policies.

 To investigate this you can look into the meta-file writing and update
 code usage in policy editor component and also the meta-file core api and
 implementations in core/org.wso2.carbon.core persistence package.

 thanks,

 thanks,


 On Wed, May 29, 2013 at 1:52 PM, Chanaka Fernando chana...@wso2.comwrote:

 Hi,

 This is related to the following jira ticket.

 https://wso2.org/jira/browse/ESBJAVA-1485

 Here what happens is that the policies we are changing from the policy
 editor are not saved in the registry. When the proxy is redeployed, it
 picks the policy from the registry and hence the saved values cannot be
 restored from the proxy service.

 This can be easily reproducible and we need to fix this since this is
 a valid requirement. Appreciate the help from anyone who is familiar with
 the PolicyEditor code.


 Thanks,

 --
 Chanaka Fernando
 Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 mobile: +94 773337238
 Blog : http://chanakaudaya.wordpress.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
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *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

 *
 *




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *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

 *
 *




-- 
Supun Malinga,

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


[Dev] Invitation: Code Review - Stratos 2 CLI Tool @ Mon Jun 10, 2013 10am - 11am (isu...@wso2.com)

2013-05-29 Thread Isuru Perera
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20130610T043000Z
DTEND:20130610T053000Z
DTSTAMP:20130529T092939Z
ORGANIZER;CN=isu...@wso2.com:mailto:isu...@wso2.com
UID:m7tja1dk89arbpftip19hjl...@google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Shameera Rathnayaka;X-NUM-GUESTS=0:mailto:shame...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Amila Maha Arachchi;X-NUM-GUESTS=0:mailto:ami...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Shariq Muhammed;X-NUM-GUESTS=0:mailto:sha...@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=Nirmal Fernando;X-NUM-GUESTS=0:mailto:nir...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Pradeep Fernando;X-NUM-GUESTS=0:mailto:prad...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Amani Soysa;X-NUM-GUESTS=0:mailto:am...@wso2.com
ATTENDEE;CUTYPE=RESOURCE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TR
 UE;CN=LK #59 Lobby Area;X-NUM-GUESTS=0:mailto:wso2.com_34313638353434322d34
 3...@resource.calendar.google.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sameera Jayasoma;X-NUM-GUESTS=0:mailto:same...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sanjaya Ratnaweera;X-NUM-GUESTS=0:mailto:sanj...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Isuru Haththotuwa;X-NUM-GUESTS=0:mailto:isu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Udara Liyanage;X-NUM-GUESTS=0:mailto:ud...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Reka Thirunavukkarasu;X-NUM-GUESTS=0:mailto:r...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Kishanthan Thangarajah;X-NUM-GUESTS=0:mailto:kishant...@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=Lahiru Sandaruwan;X-NUM-GUESTS=0:mailto:lahi...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Amila Suriarachchi;X-NUM-GUESTS=0:mailto:am...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sajith Kariyawasam;X-NUM-GUESTS=0:mailto:saj...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Damitha Kumarage;X-NUM-GUESTS=0:mailto:dami...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
 ;CN=Isuru Perera;X-NUM-GUESTS=0:mailto:isu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Lakmal Warusawithana;X-NUM-GUESTS=0:mailto:lak...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Isuru Wimalasundera;X-NUM-GUESTS=0:mailto:isu...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Chamith Kumarage;X-NUM-GUESTS=0:mailto:cham...@wso2.com
ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
 TRUE;CN=Sumedha Kodithuwakku;X-NUM-GUESTS=0:mailto:sumed...@wso2.com
CREATED:20130529T092939Z
DESCRIPTION:Crucible Project: http://wso2.org/crucible/cru/WCP098-1\n\nCLI 
 Tool was completely redesigned for Stratos 2 Beta 3 and it is implemented a
 t [1].\nI have developed it using jline2 and Apache Commons CLI.\n\n[1] htt
 ps://svn.wso2.org/repos/wso2/carbon/platform/branches/4.1.0/components/stra
 tos/artifact-deployment-coordinator/org.wso2.carbon.adc.mgt.cli/2.1.3\nView
  your event at http://www.google.com/calendar/event?action=VIEWeid=bTd0amE
 xZGs4OWFyYnBmdGlwMTloamwzdm8gZGV2QHdzbzIub3Jntok=MTUjaXN1cnVwQHdzbzIuY29tZ
 jliYjZiYzM3ZDNlMjFkYWNkOWI0NDQ2NDc0ZjRjNmM3YmNhOGE4MActz=Asia/Colombohl=e
 n.
LAST-MODIFIED:20130529T092939Z
LOCATION:LK #59 Lobby Area
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:Code Review - Stratos 2 CLI Tool
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR


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


[Dev] Build Error - Platform 4.1.3 - AF depdendecy - jaggery

2013-05-29 Thread Kasun Indrasiri
Please have a look.


[INFO] WSO2 AppFacotry - Distribution Parent . SKIPPED
[INFO] WSO2 AppFacotry - Distribution  SKIPPED
[INFO] WSO2 Carbon - Patch releases - products - Aggregator Module  SKIPPED
[INFO] WSO2 Carbon - Patch releases - Platform Automated Test Suite  SKIPPED
[INFO]

[INFO] BUILD FAILURE
[INFO]

[INFO] Total time: 3:21.985s
[INFO] Finished at: Wed May 29 15:25:38 IST 2013
[INFO] Final Memory: 243M/1241M
[INFO]

[ERROR] Failed to execute goal on project org.jaggeryjs.scriptengine: Could
not resolve dependencies for project
org.jaggeryjs:org.jaggeryjs.scriptengine:bundle:0.9.0.ALPHA3-wso2v6: Could
not find artifact rhino.wso2:js:jar:1.7.0.R4-wso2v1 in
wso2-maven2-repository (http://dist.wso2.org/maven2/) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn goals -rf :org.jaggeryjs.scriptengine


-- 
Kasun Indrasiri
Associate Technical Lead
WSO2, Inc.; http://wso2.com
lean.enterprise.middleware

cell: +94 71 536 4128
Blog : http://kasunpanorama.blogspot.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Error - Platform 4.1.3 - AF depdendecy - jaggery

2013-05-29 Thread Nuwan Bandara
Rhino is coming from orbit. you need to build [1]

[1]
https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.1.0/js/1.7.0.R4-wso2v1/


On Wed, May 29, 2013 at 3:33 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Please have a look.


 [INFO] WSO2 AppFacotry - Distribution Parent . SKIPPED
 [INFO] WSO2 AppFacotry - Distribution  SKIPPED
 [INFO] WSO2 Carbon - Patch releases - products - Aggregator Module  SKIPPED
 [INFO] WSO2 Carbon - Patch releases - Platform Automated Test Suite
  SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:21.985s
 [INFO] Finished at: Wed May 29 15:25:38 IST 2013
 [INFO] Final Memory: 243M/1241M
 [INFO]
 
 [ERROR] Failed to execute goal on project org.jaggeryjs.scriptengine:
 Could not resolve dependencies for project
 org.jaggeryjs:org.jaggeryjs.scriptengine:bundle:0.9.0.ALPHA3-wso2v6: Could
 not find artifact rhino.wso2:js:jar:1.7.0.R4-wso2v1 in
 wso2-maven2-repository (http://dist.wso2.org/maven2/) - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.jaggeryjs.scriptengine


 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/

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




-- 
*Thanks  Regards,

Nuwan Bandara
Technical Lead  Member, MC, Development Technologies
WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763 9629
*
http://www.nuwanbando.com/
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Build Error - Platform 4.1.3 - AF depdendecy - jaggery

2013-05-29 Thread Supun Malinga
Hi,

Specifically you need to build
https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.1.0/patch-releases/4.1.2/pom.xml

thanks,


On Wed, May 29, 2013 at 4:17 PM, Nuwan Bandara nu...@wso2.com wrote:

 Rhino is coming from orbit. you need to build [1]

 [1]
 https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.1.0/js/1.7.0.R4-wso2v1/


 On Wed, May 29, 2013 at 3:33 PM, Kasun Indrasiri ka...@wso2.com wrote:

 Please have a look.


 [INFO] WSO2 AppFacotry - Distribution Parent . SKIPPED
 [INFO] WSO2 AppFacotry - Distribution  SKIPPED
 [INFO] WSO2 Carbon - Patch releases - products - Aggregator Module
  SKIPPED
 [INFO] WSO2 Carbon - Patch releases - Platform Automated Test Suite
  SKIPPED
 [INFO]
 
 [INFO] BUILD FAILURE
 [INFO]
 
 [INFO] Total time: 3:21.985s
 [INFO] Finished at: Wed May 29 15:25:38 IST 2013
 [INFO] Final Memory: 243M/1241M
 [INFO]
 
 [ERROR] Failed to execute goal on project org.jaggeryjs.scriptengine:
 Could not resolve dependencies for project
 org.jaggeryjs:org.jaggeryjs.scriptengine:bundle:0.9.0.ALPHA3-wso2v6: Could
 not find artifact rhino.wso2:js:jar:1.7.0.R4-wso2v1 in
 wso2-maven2-repository (http://dist.wso2.org/maven2/) - [Help 1]
 [ERROR]
 [ERROR] To see the full stack trace of the errors, re-run Maven with the
 -e switch.
 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
 [ERROR]
 [ERROR] For more information about the errors and possible solutions,
 please read the following articles:
 [ERROR] [Help 1]
 http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
 [ERROR]
 [ERROR] After correcting the problems, you can resume the build with the
 command
 [ERROR]   mvn goals -rf :org.jaggeryjs.scriptengine


 --
 Kasun Indrasiri
 Associate Technical Lead
 WSO2, Inc.; http://wso2.com
 lean.enterprise.middleware

 cell: +94 71 536 4128
 Blog : http://kasunpanorama.blogspot.com/

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




 --
 *Thanks  Regards,

 Nuwan Bandara
 Technical Lead  Member, MC, Development Technologies
 WSO2 Inc. - lean . enterprise . middleware |  http://wso2.com
 blog : http://nuwanbando.com; email: nu...@wso2.com; phone: +94 11 763
 9629
 *
 http://www.nuwanbando.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
http://wso2.org
email - sup...@wso2.com sup...@wso2.com
mobile - 071 56 91 321
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Can we have a single string for the domain name of the tenant

2013-05-29 Thread Supun Malinga
Hi,

Currently we need to give the domain as example.com, foo.org, etc and its
enforced to be mandatory within code.
What I'm inquiring is that if we can provide a single string (without the
dot) for the domain. What are the changes we need to do?.

Also would like to know the logic behind the enforcement of having a dot. I
understand that when you say its a domain name it needs a dot. But other
than that logically what are the reasons behind this.

thanks,
-- 
Supun Malinga,

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


Re: [Dev] Can we have a single string for the domain name of the tenant

2013-05-29 Thread Afkham Azeez
On Wed, May 29, 2013 at 5:28 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Currently we need to give the domain as example.com, foo.org, etc and its
 enforced to be mandatory within code.
  What I'm inquiring is that if we can provide a single string (without the
 dot) for the domain. What are the changes we need to do?.

 Also would like to know the logic behind the enforcement of having a dot.
 I understand that when you say its a domain name it needs a dot. But other
 than that logically what are the reasons behind this.


There is no need. This is an artificial restriction. In a private PaaS, the
tenants could be named as; EngDept, MktingDpt, SalesDept etc.


 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we have a single string for the domain name of the tenant

2013-05-29 Thread Supun Malinga
Hi,

On Wed, May 29, 2013 at 5:36 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 29, 2013 at 5:28 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Currently we need to give the domain as example.com, foo.org, etc and
 its enforced to be mandatory within code.
  What I'm inquiring is that if we can provide a single string (without
 the dot) for the domain. What are the changes we need to do?.

 Also would like to know the logic behind the enforcement of having a dot.
 I understand that when you say its a domain name it needs a dot. But other
 than that logically what are the reasons behind this.


 There is no need. This is an artificial restriction. In a private PaaS,
 the tenants could be named as; EngDept, MktingDpt, SalesDept etc.


Cool.. So who knows to remove the code level restrictions to do this? :)

thanks,



 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
Supun Malinga,

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


Re: [Dev] Can we have a single string for the domain name of the tenant

2013-05-29 Thread Afkham Azeez
On Wed, May 29, 2013 at 5:39 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 On Wed, May 29, 2013 at 5:36 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 29, 2013 at 5:28 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Currently we need to give the domain as example.com, foo.org, etc and
 its enforced to be mandatory within code.
  What I'm inquiring is that if we can provide a single string (without
 the dot) for the domain. What are the changes we need to do?.

 Also would like to know the logic behind the enforcement of having a
 dot. I understand that when you say its a domain name it needs a dot. But
 other than that logically what are the reasons behind this.


 There is no need. This is an artificial restriction. In a private PaaS,
 the tenants could be named as; EngDept, MktingDpt, SalesDept etc.


 Cool.. So who knows to remove the code level restrictions to do this? :)


Take a look at the tenant registration/creation component. That should be
the only place which imposes this restriction.


 thanks,



 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we have a single string for the domain name of the tenant

2013-05-29 Thread Supun Malinga
On Wed, May 29, 2013 at 5:41 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 29, 2013 at 5:39 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 On Wed, May 29, 2013 at 5:36 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 29, 2013 at 5:28 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Currently we need to give the domain as example.com, foo.org, etc and
 its enforced to be mandatory within code.
  What I'm inquiring is that if we can provide a single string (without
 the dot) for the domain. What are the changes we need to do?.

 Also would like to know the logic behind the enforcement of having a
 dot. I understand that when you say its a domain name it needs a dot. But
 other than that logically what are the reasons behind this.


 There is no need. This is an artificial restriction. In a private PaaS,
 the tenants could be named as; EngDept, MktingDpt, SalesDept etc.


 Cool.. So who knows to remove the code level restrictions to do this? :)


 Take a look at the tenant registration/creation component. That should be
 the only place which imposes this restriction.


thanks Azeez! will do.


 thanks,



 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




-- 
Supun Malinga,

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


[Dev] BAM 2.3.0 RC pack for testing

2013-05-29 Thread Malith Dhanushka
Hi QA Team,

Please find the BAM 2.3.0 RC pack for QA testing at [1].

These were built with a clean repo with test enabled from the revision
173434.

[1] http://173.164.178.33/builds/BAM-2.3.0/29-May-2013/

Thanks,
Malith

-- 
Malith Dhanushka

Engineer - Data Technologies
*WSO2, Inc. : wso2.com*
lean.enterprise.middleware.

*Blog* :  mmalithh.blogspot.com
*Linked-i*n  :   http://lk.linkedin.com/in/malithd
*Twitter* :   https://twitter.com/MalithWD

*Mobile*  : +94 716 506 693
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Build Failure in trunk (platform): 'components/appfac/pom.xml' refers to non-existing child modules

2013-05-29 Thread Dulanja Liyanage
Hi,

I'm encountering the following error while trying to build trunk/components.

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project - [Help 1]
[ERROR]
[ERROR]   The project org.wso2.carbon:appfactory:1.0.0
(/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/pom.xml)
has 7 errors
[ERROR] Child module
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/org.wso2.carbon.hostobjects.sysprop
of
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/pom.xml
does not exist
[ERROR] Child module
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/org.wso2.carbon.appfactory.svn.repository.mgt.service
of
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/pom.xml
does not exist
[ERROR] Child module
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/org.wso2.carbon.appfactory.hostobjects.configuration
of
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/pom.xml
does not exist
[ERROR] Child module
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/org.wso2.carbon.appfactory.config.reader.xpath.ext
of
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/pom.xml
does not exist
[ERROR] Child module
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/org.wso2.carbon.appfactory.maven.build
of
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/pom.xml
does not exist
[ERROR] Child module
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/org.wso2.carbon.hostobjects.svnclient
of
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/pom.xml
does not exist
[ERROR] Child module
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/org.wso2.carbon.appfactory.governance
of
/home/dulanja/work/repos/svn/carbon/platform/trunk/components/appfac/pom.xml
does not exist

Thanks,
Dulanja
-- 
Dulanja Liyanage
Senior Software Engineer - WSO2 Inc.
M: +94776764717
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Is Carbon kernel optimization mode code committed to the trunk?

2013-05-29 Thread Afkham Azeez
Pradeep/Sameera,
Has this code been committed to the trunk?

-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* http://www.apache.org/**
email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
blog: **http://blog.afkham.org* http://blog.afkham.org*
twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Order of the Handler invocation in Registry

2013-05-29 Thread Ajanthan Balachandran
Hi
Are User defined Handlers invoked after MountHandler always or Other way?
Thanks

-- 
ajanthan
-- 
Ajanthan Balachandiran
Senior Software Engineer;
Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
blog: http://bkayts.blogspot.com/

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


[Dev] MB support for the JMS Message Types and Message header properties

2013-05-29 Thread Asanka Vithanage
Hi All,

I have cover up the test on MB compatibility on JMS Message Types with
queue and Topic scenarios.According to that observed MB can support the all
JMS message types but with empty payload message observed
https://wso2.org/jira/browse/MB-262 issue.
Further found https://wso2.org/jira/browse/MB-271 issue while trying to
browse the queue with ObectMessages.


According to the JMS API following Message header properties should be
settable at message level,

JMSCorrelationID
JMSCorrelationIDAsBytes
JMSDeliveryMode
JMSDestination
JMSExpiration
JMSMessageID
JMSPriority
JMSRedelivered
JMSReplyTo
JMSTimestamp
JMSType

But when we set the following properties at message level,It seems MB
overwrites the property values
JMSDeliveryMode  https://wso2.org/jira/browse/MB-264
JMSExpirationhttps://wso2.org/jira/browse/MB-267
JMSMessageID  https://wso2.org/jira/browse/MB-273
JMSPriorityMB currently not providing message priority
feature,so we can skip this for now
JMSRedelivered https://wso2.org/jira/browse/MB-268
JMSTimestamp  https://wso2.org/jira/browse/MB-274


Further observed when we set the following properties at the
MessageProducer level, they won't get overwrites by the MB and delivered as
set.

JMSDeliveryMode
queueSender.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
JMSPriority  queueSender.setPriority(1);
JMSExpiration  queueSender.setTimeToLive(9);


So are we intentionally overwriting these properties at MB level or are we
yet to implement these features?
Can we update the documentation on these, so users can understand what we
support exactly and what are the possible workarounds? (
https://wso2.org/jira/browse/MB-272)





-- 
Asanka Vithanage
Senior Software Engineer -QA
Mobile: +94 0716286708
Email: asan...@wso2.com
WSO2 Inc. www.wso2.com
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] WIP User Stories and Wire-frames for AppFactory : Update

2013-05-29 Thread Senaka Fernando
Hi Shiroshica,

Any reason for using red coloured buttons in build/governance UIs? IMHO,
that sounds like something went wrong and some immediate action is needed.
Seeing a lot of red coloured buttons in the build UI gives the feeling that
a lot of things has gone wrong in the past.

Can this be fixed if it was not done on purpose?

Thanks,
Senaka.


On Wed, May 29, 2013 at 6:44 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi All,

 Attached are the latest User Stories and Wireframe designs for AppFactory.

 The UI designs have been frozen except for ;

 1. User Log-in and Profile creation
 2. Resource Management
 3. Dashboards

 Thank you,
 Shiro


 On Mon, May 27, 2013 at 8:10 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Update to User Stories


 On Mon, May 27, 2013 at 3:31 PM, Shiroshica Kulatilake sh...@wso2.comwrote:


 Update on the wire frames

 On Mon, May 27, 2013 at 1:14 PM, Shiroshica Kulatilake 
 sh...@wso2.comwrote:

 Attached !


 On Mon, May 27, 2013 at 1:06 PM, Nirmal Fernando nir...@wso2.comwrote:

 Hi,

 Is it possible to upload PDFs instead of ODPs, so that we can view,
 without downloading ? :)


 On Mon, May 27, 2013 at 12:40 PM, Shiroshica Kulatilake 
 sh...@wso2.com wrote:


 Hi,

 Attached are the working progress artifacts for the UI changes within
 AppFactory.
 - User stories
 - Wire frames

 Any updates to the above will be posted to the same thread.

 Thank you,
 Shiro

 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

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




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

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




-- 
*Senaka Fernando*
Member - Integration Technologies Management Committee;
Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

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


Re: [Dev] Can we have a single string for the domain name of the tenant

2013-05-29 Thread Shariq Muhammed
On Wed, May 29, 2013 at 5:13 AM, Supun Malinga sup...@wso2.com wrote:




 On Wed, May 29, 2013 at 5:41 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 29, 2013 at 5:39 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 On Wed, May 29, 2013 at 5:36 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 29, 2013 at 5:28 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Currently we need to give the domain as example.com, foo.org, etc and
 its enforced to be mandatory within code.
  What I'm inquiring is that if we can provide a single string (without
 the dot) for the domain. What are the changes we need to do?.

 Also would like to know the logic behind the enforcement of having a
 dot. I understand that when you say its a domain name it needs a dot. But
 other than that logically what are the reasons behind this.


 There is no need. This is an artificial restriction. In a private PaaS,
 the tenants could be named as; EngDept, MktingDpt, SalesDept etc.


 Cool.. So who knows to remove the code level restrictions to do this? :)


 Take a look at the tenant registration/creation component. That should be
 the only place which imposes this restriction.


 thanks Azeez! will do.


Can we make the domain validation reg-ex configurable ?!



 thanks,



 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: 
 **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321

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




-- 
Thanks,
Shariq.
Phone: +94 777 202 225
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Order of the Handler invocation in Registry

2013-05-29 Thread Subash Chaturanga
On Wed, May 29, 2013 at 7:04 PM, Ajanthan Balachandran ajant...@wso2.comwrote:

 Hi
 Are User defined Handlers invoked after MountHandler always or Other way?

Hi Ajanthan,

In registry operations, always handler LC manager will execute user phase
handlers after executing tenant phase handlers.

So user defined handlers are registered in user phase. If the mount
handler registered for the tenant on the current registry session
(forAllTenants =false) it will registered in tenant phase. In this case
mount handler hits first, then user handler.

Hi Senaka,
In any jdbc mount configuration, does the mount handler registered in
tenant phase ?


 Thanks

 --
 ajanthan
 --
 Ajanthan Balachandiran
 Senior Software Engineer;
 Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

 email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
 blog: http://bkayts.blogspot.com/

 Lean . Enterprise . Middleware

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




-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com

email: sub...@wso2.com
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] MB support for the JMS Message Types and Message header properties

2013-05-29 Thread Ishara Premadasa
Hi Asanka,

Addressing the JMSDeliveryMode , in MB all the messages are PERSISTENT as
we write the messages to Cassandra storage before they are getting
delivered.  Therefore IIRC if you make the Delivery Mode into
Non-Persistent in message level it will be handled as Persistent by Qpid
level.

I will go through these JIRAs and verify. Will be updating the
documentation according to the results found.

@Shammi/Hasitha,

In case that some of these message attributes are not configurable, how
about removing the corresponding columns from the queue browser view?
i.e. The Delivery Mode is always set into '2' (which is persistent mode)
even if a publisher client set it to '1' and sent to the queue. In that
case the user might feel doubtful of the results he sees in the browser
view. If not as Asanka has suggested we should be explaining these info in
the doc.

Thanks!
Ishara


On Wed, May 29, 2013 at 7:47 PM, Asanka Vithanage asan...@wso2.com wrote:

 Hi All,

 I have cover up the test on MB compatibility on JMS Message Types with
 queue and Topic scenarios.According to that observed MB can support the all
 JMS message types but with empty payload message observed
 https://wso2.org/jira/browse/MB-262 issue.
 Further found https://wso2.org/jira/browse/MB-271 issue while trying to
 browse the queue with ObectMessages.


 According to the JMS API following Message header properties should be
 settable at message level,

 JMSCorrelationID
 JMSCorrelationIDAsBytes
 JMSDeliveryMode
 JMSDestination
 JMSExpiration
 JMSMessageID
 JMSPriority
 JMSRedelivered
 JMSReplyTo
 JMSTimestamp
 JMSType

 But when we set the following properties at message level,It seems MB
 overwrites the property values
 JMSDeliveryMode  https://wso2.org/jira/browse/MB-264
 JMSExpirationhttps://wso2.org/jira/browse/MB-267
 JMSMessageID  https://wso2.org/jira/browse/MB-273
 JMSPriorityMB currently not providing message priority
 feature,so we can skip this for now
 JMSRedelivered https://wso2.org/jira/browse/MB-268
 JMSTimestamp  https://wso2.org/jira/browse/MB-274


 Further observed when we set the following properties at the
 MessageProducer level, they won't get overwrites by the MB and delivered as
 set.

 JMSDeliveryMode
 queueSender.setDeliveryMode(DeliveryMode.NON_PERSISTENT);
 JMSPriority  queueSender.setPriority(1);
 JMSExpiration  queueSender.setTimeToLive(9);


 So are we intentionally overwriting these properties at MB level or are we
 yet to implement these features?
 Can we update the documentation on these, so users can understand what we
 support exactly and what are the possible workarounds? (
 https://wso2.org/jira/browse/MB-272)





 --
 Asanka Vithanage
 Senior Software Engineer -QA
 Mobile: +94 0716286708
 Email: asan...@wso2.com
 WSO2 Inc. www.wso2.com




-- 
Ishara Premasada
Software Engineer, Integrations TG
WSO2 Inc. http://wso2.com/
*Blog   :  http://isharapremadasa.blogspot.com/
Twitter   :  https://twitter.com/ishadil
Mobile   : +94 714445832*
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we have a single string for the domain name of the tenant

2013-05-29 Thread Selvaratnam Uthaiyashankar
I think, when we change StratosPublicCloudSetup parameter in stratos.xml
to false, it will not mandate the dot. You can give tenant names as
EngDept, etc. However, we have to test and see.

StratosPublicCloudSetupfalse/StratosPublicCloudSetup



On Wed, May 29, 2013 at 5:36 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 29, 2013 at 5:28 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Currently we need to give the domain as example.com, foo.org, etc and
 its enforced to be mandatory within code.
  What I'm inquiring is that if we can provide a single string (without
 the dot) for the domain. What are the changes we need to do?.

 Also would like to know the logic behind the enforcement of having a dot.
 I understand that when you say its a domain name it needs a dot. But other
 than that logically what are the reasons behind this.


 There is no need. This is an artificial restriction. In a private PaaS,
 the tenants could be named as; EngDept, MktingDpt, SalesDept etc.


 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




-- 
S.Uthaiyashankar
Director, Cloud Solutions
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware

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


Re: [Dev] WIP User Stories and Wire-frames for AppFactory : Update

2013-05-29 Thread Dimuthu Leelarathne
Hi Senaka,


On Wed, May 29, 2013 at 10:25 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Shiroshica,

 Any reason for using red coloured buttons in build/governance UIs? IMHO,
 that sounds like something went wrong and some immediate action is needed.
 Seeing a lot of red coloured buttons in the build UI gives the feeling that
 a lot of things has gone wrong in the past.


This is only the build page. But realistically, we will be hiding all Build
and Deploy buttons for Apps that are not in development. So will not see
many buttons in the end.

This shade of read doesn't give the something went wrong, at least to me.

thanks,
dimuthu



 Can this be fixed if it was not done on purpose?

 Thanks,
 Senaka.


 On Wed, May 29, 2013 at 6:44 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi All,

 Attached are the latest User Stories and Wireframe designs for AppFactory.

 The UI designs have been frozen except for ;

 1. User Log-in and Profile creation
 2. Resource Management
 3. Dashboards

 Thank you,
 Shiro


 On Mon, May 27, 2013 at 8:10 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Update to User Stories


 On Mon, May 27, 2013 at 3:31 PM, Shiroshica Kulatilake 
 sh...@wso2.comwrote:


 Update on the wire frames

 On Mon, May 27, 2013 at 1:14 PM, Shiroshica Kulatilake 
 sh...@wso2.comwrote:

 Attached !


 On Mon, May 27, 2013 at 1:06 PM, Nirmal Fernando nir...@wso2.comwrote:

 Hi,

 Is it possible to upload PDFs instead of ODPs, so that we can view,
 without downloading ? :)


 On Mon, May 27, 2013 at 12:40 PM, Shiroshica Kulatilake 
 sh...@wso2.com wrote:


 Hi,

 Attached are the working progress artifacts for the UI changes
 within AppFactory.
 - User stories
 - Wire frames

 Any updates to the above will be posted to the same thread.

 Thank you,
 Shiro

 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

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




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

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




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware

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




-- 
Dimuthu Leelarathne
Architect  Chair of Solution Management Committee

WSO2, Inc. (http://wso2.com)
email: dimut...@wso2.com
Mobile : 0773661935

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


Re: [Dev] Order of the Handler invocation in Registry

2013-05-29 Thread Ajanthan Balachandran
On Thu, May 30, 2013 at 8:12 AM, Subash Chaturanga sub...@wso2.com wrote:



 On Wed, May 29, 2013 at 7:04 PM, Ajanthan Balachandran 
 ajant...@wso2.comwrote:

 Hi
 Are User defined Handlers invoked after MountHandler always or Other way?

 Hi Ajanthan,

 In registry operations, always handler LC manager will execute user
 phase handlers after executing tenant phase handlers.

 So user defined handlers are registered in user phase. If the mount
 handler registered for the tenant on the current registry session
 (forAllTenants =false) it will registered in tenant phase. In this case
 mount handler hits first, then user handler.

Thanks Subash.


 Hi Senaka,
 In any jdbc mount configuration, does the mount handler registered in
 tenant phase ?


 Thanks

 --
 ajanthan
 --
 Ajanthan Balachandiran
 Senior Software Engineer;
 Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

 email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
 blog: http://bkayts.blogspot.com/

 Lean . Enterprise . Middleware

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




 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com

 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware




-- 
ajanthan
-- 
Ajanthan Balachandiran
Senior Software Engineer;
Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
blog: http://bkayts.blogspot.com/

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


Re: [Dev] WIP User Stories and Wire-frames for AppFactory : Update

2013-05-29 Thread Shiroshica Kulatilake
Hi,

I had forgotten about the buttons being disabled / enabled based on
permissions - so we will not see all these buttons at once.

Given that we were adviced to keep the red in other areas to indicate
primary buttons and that we are in critical path to get the pages ASAP
there will be no change.

Thank you,
Shiro


On Thu, May 30, 2013 at 9:27 AM, Dimuthu Leelarathne dimut...@wso2.comwrote:

 Hi Senaka,


 On Wed, May 29, 2013 at 10:25 PM, Senaka Fernando sen...@wso2.com wrote:

 Hi Shiroshica,

 Any reason for using red coloured buttons in build/governance UIs? IMHO,
 that sounds like something went wrong and some immediate action is needed.
 Seeing a lot of red coloured buttons in the build UI gives the feeling that
 a lot of things has gone wrong in the past.


 This is only the build page. But realistically, we will be hiding all
 Build and Deploy buttons for Apps that are not in development. So will not
 see many buttons in the end.

 This shade of read doesn't give the something went wrong, at least to me.

 thanks,
 dimuthu



 Can this be fixed if it was not done on purpose?

 Thanks,
 Senaka.


 On Wed, May 29, 2013 at 6:44 PM, Shiroshica Kulatilake sh...@wso2.comwrote:

 Hi All,

 Attached are the latest User Stories and Wireframe designs for
 AppFactory.

 The UI designs have been frozen except for ;

 1. User Log-in and Profile creation
 2. Resource Management
 3. Dashboards

 Thank you,
 Shiro


 On Mon, May 27, 2013 at 8:10 PM, Shiroshica Kulatilake 
 sh...@wso2.comwrote:

 Update to User Stories


 On Mon, May 27, 2013 at 3:31 PM, Shiroshica Kulatilake 
 sh...@wso2.comwrote:


 Update on the wire frames

 On Mon, May 27, 2013 at 1:14 PM, Shiroshica Kulatilake sh...@wso2.com
  wrote:

 Attached !


 On Mon, May 27, 2013 at 1:06 PM, Nirmal Fernando nir...@wso2.comwrote:

 Hi,

 Is it possible to upload PDFs instead of ODPs, so that we can view,
 without downloading ? :)


 On Mon, May 27, 2013 at 12:40 PM, Shiroshica Kulatilake 
 sh...@wso2.com wrote:


 Hi,

 Attached are the working progress artifacts for the UI changes
 within AppFactory.
 - User stories
 - Wire frames

 Any updates to the above will be posted to the same thread.

 Thank you,
 Shiro

 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

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




 --

 Thanks  regards,
 Nirmal

 Senior Software Engineer- Platform Technologies Team, WSO2 Inc.
 Mobile: +94715779733
 Blog: http://nirmalfdo.blogspot.com/




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867




 --
 Shiroshica Kulatilake

 Architect,
 WSO2, Inc. http://wso2.com/
 Phone: +94 776523867

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




 --
 *Senaka Fernando*
 Member - Integration Technologies Management Committee;
 Technical Lead; WSO2 Inc.; http://wso2.com*
 Member; Apache Software Foundation; http://apache.org

 E-mail: senaka AT wso2.com
 **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
 Linked-In: http://linkedin.com/in/senakafernando

 *Lean . Enterprise . Middleware

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




 --
 Dimuthu Leelarathne
 Architect  Chair of Solution Management Committee

 WSO2, Inc. (http://wso2.com)
 email: dimut...@wso2.com
 Mobile : 0773661935

 Lean . Enterprise . Middleware




-- 
Shiroshica Kulatilake

Architect,
WSO2, Inc. http://wso2.com/
Phone: +94 776523867
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] API Manager 1.4.0 Build 29-05-2013

2013-05-29 Thread Nuwan Dias
Hi,

Please find the API Manager nightly build on 29-05-2013 from [1]. This was
built on kernel patch revision 173481 and platform revision 173484. Pack
was built with all tests enabled.

[1] - http://builder3.us1.wso2.org/builds/30-May-2013/

Thanks,
NuwanD.

-- 
Nuwan Dias

Senior Software Engineer - WSO2, Inc. http://wso2.com
email : nuw...@wso2.com
Phone : +94 777 775 729
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we have a single string for the domain name of the tenant

2013-05-29 Thread Supun Malinga
Hi Shankar,

On Thu, May 30, 2013 at 9:24 AM, Selvaratnam Uthaiyashankar 
shan...@wso2.com wrote:

 I think, when we change StratosPublicCloudSetup parameter in stratos.xml
 to false, it will not mandate the dot. You can give tenant names as
 EngDept, etc. However, we have to test and see.

 StratosPublicCloudSetupfalse/StratosPublicCloudSetup


Yeah it works!.

The next question is what else it will disable..?

thanks,




 On Wed, May 29, 2013 at 5:36 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 29, 2013 at 5:28 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Currently we need to give the domain as example.com, foo.org, etc and
 its enforced to be mandatory within code.
  What I'm inquiring is that if we can provide a single string (without
 the dot) for the domain. What are the changes we need to do?.

 Also would like to know the logic behind the enforcement of having a
 dot. I understand that when you say its a domain name it needs a dot. But
 other than that logically what are the reasons behind this.


 There is no need. This is an artificial restriction. In a private PaaS,
 the tenants could be named as; EngDept, MktingDpt, SalesDept etc.


 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




 --
 S.Uthaiyashankar
 Director, Cloud Solutions
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware

 Phone: +94 714897591




-- 
Supun Malinga,

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


Re: [Dev] Order of the Handler invocation in Registry

2013-05-29 Thread Subash Chaturanga
On Thu, May 30, 2013 at 9:36 AM, Ajanthan Balachandran ajant...@wso2.comwrote:




 On Thu, May 30, 2013 at 8:12 AM, Subash Chaturanga sub...@wso2.comwrote:



 On Wed, May 29, 2013 at 7:04 PM, Ajanthan Balachandran ajant...@wso2.com
  wrote:

 Hi
 Are User defined Handlers invoked after MountHandler always or Other way?

 Hi Ajanthan,

 In registry operations, always handler LC manager will execute user
 phase handlers after executing tenant phase handlers.

 So user defined handlers are registered in user phase. If the mount
 handler registered for the tenant on the current registry session
 (forAllTenants =false) it will registered in tenant phase. In this case
 mount handler hits first, then user handler.

 Thanks Subash.


FYI, If u add a handler through registry xml, which will goes in to user
defined system handler phase (system) which is also executed after tenant
phase. In registry, generally such user defined handlers added in a phase
where those will not get hit prior to handlers like MountHandler,
CacheHandler etc.

But still if you want your handler to get hit before mount handler, you
have to register your handler in default system handler phase. That you
have to register your handler programatically in your bundle startup. You
can obtain handler manager via registry service to register a handler.



 Hi Senaka,
 In any jdbc mount configuration, does the mount handler registered in
 tenant phase ?


  Thanks

 --
 ajanthan
 --
 Ajanthan Balachandiran
 Senior Software Engineer;
 Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

 email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
 blog: http://bkayts.blogspot.com/

 Lean . Enterprise . Middleware

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




 --
 Thanks
 /subash

 *Subash Chaturanga*
 Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com

 email: sub...@wso2.com
 blog:  http://subashsdm.blogspot.com/
 twitter: @subash89
 phone: +9477 2225922
 Lean . Enterprise . Middleware




 --
 ajanthan
 --
 Ajanthan Balachandiran
 Senior Software Engineer;
 Solutions Technologies Team ;WSO2, Inc.;  http://wso2.com/

 email: ajanthan http://goog_595075977@wso2.com; cell: +94775581497
 blog: http://bkayts.blogspot.com/

 Lean . Enterprise . Middleware




-- 
Thanks
/subash

*Subash Chaturanga*
Senior Software Engineer :Integration TG; WSO2 Inc. http://wso2.com

email: sub...@wso2.com
blog:  http://subashsdm.blogspot.com/
twitter: @subash89
phone: +9477 2225922
Lean . Enterprise . Middleware
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Can we have a single string for the domain name of the tenant

2013-05-29 Thread Selvaratnam Uthaiyashankar
On Thu, May 30, 2013 at 10:35 AM, Supun Malinga sup...@wso2.com wrote:

 Hi Shankar,

 On Thu, May 30, 2013 at 9:24 AM, Selvaratnam Uthaiyashankar 
 shan...@wso2.com wrote:

 I think, when we change StratosPublicCloudSetup parameter in
 stratos.xml to false, it will not mandate the dot. You can give tenant
 names as EngDept, etc. However, we have to test and see.

 StratosPublicCloudSetupfalse/StratosPublicCloudSetup


 Yeah it works!.

 The next question is what else it will disable..?


I have no idea :). We have to go through the code and see. This flag was
introduced by Pradeepan. Not sure who else knows the code. Sameera might
know.

Shankar




 thanks,




 On Wed, May 29, 2013 at 5:36 PM, Afkham Azeez az...@wso2.com wrote:



 On Wed, May 29, 2013 at 5:28 PM, Supun Malinga sup...@wso2.com wrote:

 Hi,

 Currently we need to give the domain as example.com, foo.org, etc and
 its enforced to be mandatory within code.
  What I'm inquiring is that if we can provide a single string (without
 the dot) for the domain. What are the changes we need to do?.

 Also would like to know the logic behind the enforcement of having a
 dot. I understand that when you say its a domain name it needs a dot. But
 other than that logically what are the reasons behind this.


 There is no need. This is an artificial restriction. In a private PaaS,
 the tenants could be named as; EngDept, MktingDpt, SalesDept etc.


 thanks,
 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




 --
 *Afkham Azeez*
 Director of Architecture; WSO2, Inc.; http://wso2.com
 Member; Apache Software Foundation; http://www.apache.org/
 * http://www.apache.org/**
 email: **az...@wso2.com* az...@wso2.com* cell: +94 77 3320919
 blog: **http://blog.afkham.org* http://blog.afkham.org*
 twitter: **http://twitter.com/afkham_azeez*http://twitter.com/afkham_azeez
 *
 linked-in: **http://lk.linkedin.com/in/afkhamazeez*
 *
 *
 *Lean . Enterprise . Middleware*

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




 --
 S.Uthaiyashankar
 Director, Cloud Solutions
 WSO2 Inc.
 http://wso2.com/ - lean . enterprise . middleware

 Phone: +94 714897591




 --
 Supun Malinga,

 Senior Software Engineer,
 WSO2 Inc.
 http://wso2.com
 http://wso2.org
 email - sup...@wso2.com sup...@wso2.com
 mobile - 071 56 91 321




-- 
S.Uthaiyashankar
Director, Cloud Solutions
WSO2 Inc.
http://wso2.com/ - lean . enterprise . middleware

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