Use of payload parameters inside a container

2014-10-08 Thread Chamila De Alwis
Hi, When using Kubernetes + Docker setup to spawn instances how are the payload parameters defined in the properties list of the subscription definition JSON, passed in to the created container environment? What is the container equivalent of the meta-data service in IaaS layer? Regards, Chamil

Re: DependencyBuilder / StartupOrder clarification

2014-10-08 Thread Reka Thirunavukkarasu
Thanks Martin for the changes... On Thu, Oct 9, 2014 at 6:27 AM, Martin Eppel (meppel) wrote: > Hi Reka, > > > > I adjusted the remaining code to the new scheme and also modified the code > in the DependencyBuilder (and checked it in) but I am not sure if it is > correct, again, since I am not

[GitHub] stratos pull request: Re-factoring of the meta data service

2014-10-08 Thread swgkg
GitHub user swgkg opened a pull request: https://github.com/apache/stratos/pull/83 Re-factoring of the meta data service Add comments related to java doc generation Please review and merge You can merge this pull request into a Git repository by running: $ git pull htt

Re: DependencyBuilder / StartupOrder clarification

2014-10-08 Thread Reka Thirunavukkarasu
Hi Martin, On Thu, Oct 9, 2014 at 12:44 AM, Martin Eppel (meppel) wrote: > Hi Reka, > > > > I need some clarification on how the DependencyBuilder is supposed to work > (while I am trying to replace the code with the new scheme to represent the > startup order). > > > > In the class StartupOrd

RE: DependencyBuilder / StartupOrder clarification

2014-10-08 Thread Martin Eppel (meppel)
Hi Reka, I adjusted the remaining code to the new scheme and also modified the code in the DependencyBuilder (and checked it in) but I am not sure if it is correct, again, since I am not clear on the use of “private List startList;” , please take a look and let me know how it is supposed to w

DependencyBuilder / StartupOrder clarification

2014-10-08 Thread Martin Eppel (meppel)
Hi Reka, I need some clarification on how the DependencyBuilder is supposed to work (while I am trying to replace the code with the new scheme to represent the startup order). In the class StartupOrder.java we maintain a structure “private List startList;” which is being used later in the “Dep

Re: [Wiki] Code Analysis with SonarQube Eclipse plugin

2014-10-08 Thread Imesh Gunaratne
I tried this several times with IntelliJ Idea 13.1 Ultimate & Sonar Community Plugin 1.4.1, but couldn't get it working. On Wed, Oct 8, 2014 at 11:59 PM, Lahiru Sandaruwan wrote: > Hi, > > Since there are common content for both IDEs, i'll create a parent page > and move common stuff there. > >

Re: [Wiki] Code Analysis with SonarQube Eclipse plugin

2014-10-08 Thread Lahiru Sandaruwan
Hi, Since there are common content for both IDEs, i'll create a parent page and move common stuff there. Thanks. On Wed, Oct 8, 2014 at 11:06 PM, Lahiru Sandaruwan wrote: > Great!, I'll create a wiki page for IntelliJ. > > Thankjs. > > On Wed, Oct 8, 2014 at 10:57 PM, Nirmal Fernando > wrote

Re: Getting following Exception

2014-10-08 Thread Nirmal Fernando
Hi Vinod, This is the way we implement user-data passing in Vclouds case, from very first implementation itself. On Wed, Oct 8, 2014 at 11:30 PM, Vinod Kamble (vinokamb) wrote: > Can you share the commit which implements this change? > > Thanks, > Vinod. > > From: Imesh Gunaratne > Date: S

Re: Getting following Exception

2014-10-08 Thread Vinod Kamble (vinokamb)
Can you share the commit which implements this change? Thanks, Vinod. From: Imesh Gunaratne mailto:im...@apache.org>> Date: Sunday, 5 October 2014 12:11 am To: dev mailto:dev@stratos.apache.org>> Cc: Isuru Perera mailto:isu...@wso2.com>>, Vinod Kamble mailto:vinok...@cisco.com>> Subject: Re: Get

Re: Maintaining Code formatters / templates

2014-10-08 Thread Sajith Kariyawasam
Thanks guys, +1 for the tools folder. I added sonar quality profile into stratos/tools/code-quality/Apache-Stratos-Sonar-Quality-Profile.xml location. Will add the other templates and formatters also there On Wed, Oct 8, 2014 at 11:04 PM, Lahiru Sandaruwan wrote: > > > > On Wed, Oct 8, 2014 at 1

Re: [Wiki] Code Analysis with SonarQube Eclipse plugin

2014-10-08 Thread Lahiru Sandaruwan
Great!, I'll create a wiki page for IntelliJ. Thankjs. On Wed, Oct 8, 2014 at 10:57 PM, Nirmal Fernando wrote: > Great work Sajith! Thanks! I integrated Sonar using your steps on remote > server. > > On Wed, Oct 8, 2014 at 7:16 PM, Sajith Kariyawasam > wrote: > >> Hi all, >> >> I have created

Re: Maintaining Code formatters / templates

2014-10-08 Thread Lahiru Sandaruwan
On Wed, Oct 8, 2014 at 11:01 PM, Imesh Gunaratne wrote: > May be we can place them in the tools folder in git. > Yah. May be in a directory called "code-quality" in tools. > > On Wed, Oct 8, 2014 at 9:22 PM, Chamila De Alwis > wrote: > >> IMO since code formatters don't have anything that woul

Re: [Wiki] Code Analysis with SonarQube Eclipse plugin

2014-10-08 Thread Nirmal Fernando
Great work Sajith! Thanks! I integrated Sonar using your steps on remote server. On Wed, Oct 8, 2014 at 7:16 PM, Sajith Kariyawasam wrote: > Hi all, > > I have created a wiki [1] explaining $subject. Good if someone familiar > with IntelliJ come up with a guide for intelliJ. :) > > [1] > https:/

Re: Maintaining Code formatters / templates

2014-10-08 Thread Imesh Gunaratne
May be we can place them in the tools folder in git. On Wed, Oct 8, 2014 at 9:22 PM, Chamila De Alwis wrote: > IMO since code formatters don't have anything that would behave different > in different environments, the best choice would be to simply add it to > version control. > > > Regards, > C

Re: git commit: Fixing sonar finding storing arrays directly

2014-10-08 Thread Nirmal Fernando
Reason for asking is, I've fixed the same sonar issue in some of the places using ArrayUtils.clone. If it has any issues, we need to fix other places too. But as I read, it was the recommended approach. On Wed, Oct 8, 2014 at 9:15 PM, Nirmal Fernando wrote: > > > On Wed, Oct 8, 2014 at 9:14 PM,

Re: [Grouping][Part-2] Composite Application Dependency Tree building based in Autoscaler

2014-10-08 Thread Reka Thirunavukkarasu
Hi Martin, On Wed, Oct 8, 2014 at 3:56 AM, Martin Eppel (meppel) wrote: > Hi Reka, > > > > Just wanted to clarify, the changes suggested below should completely > replace the previous structure (StartupOrder with before, after), not only > in the json definition but also in all subsequent obje

Re: New committer and PMC member: Rajkumar Rajaratnam

2014-10-08 Thread Chamila De Alwis
Congrats Raj! Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Wed, Oct 8, 2014 at 8:27 AM, Prasanna Dangalla wrote: > Congratulations... > > On Wed, Oct 8, 2014 at 8:24 AM, Waruna De Silva wrote: > >> Congrats Raj !! >> >> On Wed, Oct 8, 20

Re: New committer and PMC member: Lasindu Charith

2014-10-08 Thread Chamila De Alwis
Congrats Lasindu! Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Wed, Oct 8, 2014 at 8:27 AM, Prasanna Dangalla wrote: > Congratulations Lasindu.. > > On Wed, Oct 8, 2014 at 8:23 AM, Waruna De Silva wrote: > >> Congrats Lasindu !! >> >> On

Re: Maintaining Code formatters / templates

2014-10-08 Thread Chamila De Alwis
IMO since code formatters don't have anything that would behave different in different environments, the best choice would be to simply add it to version control. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Wed, Oct 8, 2014 at 12:46 PM, Sa

Re: [Grouping][Part-2] Composite Application Dependency Tree building based in Autoscaler

2014-10-08 Thread Reka Thirunavukkarasu
Hi Martin, On Wed, Oct 8, 2014 at 4:21 AM, Martin Eppel (meppel) wrote: > Hi Reka, > > > > In terms of the “Question: in case when we get more than one > dependencies to be killed, can we kill all of them in parallel or do we > have to wait until it's dependent cluster/group got killed? “ : >

Re: git commit: Fixing sonar finding storing arrays directly

2014-10-08 Thread Nirmal Fernando
On Wed, Oct 8, 2014 at 9:14 PM, Nirmal Fernando wrote: > Hi Imesh, > > On Wed, Oct 8, 2014 at 8:32 PM, wrote: > >> Repository: stratos >> Updated Branches: >> refs/heads/master 40c0b3cd1 -> f01902e23 >> >> >> Fixing sonar finding storing arrays directly >> >> >> Project: http://git-wip-us.apac

Re: git commit: Fixing sonar finding storing arrays directly

2014-10-08 Thread Nirmal Fernando
Hi Imesh, On Wed, Oct 8, 2014 at 8:32 PM, wrote: > Repository: stratos > Updated Branches: > refs/heads/master 40c0b3cd1 -> f01902e23 > > > Fixing sonar finding storing arrays directly > > > Project: http://git-wip-us.apache.org/repos/asf/stratos/repo > Commit: http://git-wip-us.apache.org/rep

[jira] [Commented] (STRATOS-875) Abstracting out the Application and Group in the Topology

2014-10-08 Thread Isuru Haththotuwa (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14163629#comment-14163629 ] Isuru Haththotuwa commented on STRATOS-875: --- Fixed in commit d100cd0ee6ff6cdbd8

[jira] [Resolved] (STRATOS-875) Abstracting out the Application and Group in the Topology

2014-10-08 Thread Isuru Haththotuwa (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Isuru Haththotuwa resolved STRATOS-875. --- Resolution: Fixed > Abstracting out the Application and Group in the Topology > -

[jira] [Updated] (STRATOS-873) [Sonar Findings] [Critical] Array is Stored Directly

2014-10-08 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-873: Description: This is to fix critical Sonar finding "Array is stored directly" http://stack

[Wiki] Code Analysis with SonarQube Eclipse plugin

2014-10-08 Thread Sajith Kariyawasam
Hi all, I have created a wiki [1] explaining $subject. Good if someone familiar with IntelliJ come up with a guide for intelliJ. :) [1] https://cwiki.apache.org/confluence/display/STRATOS/Code+Analysis+with+SonarQube+Eclipse+Plugin Thanks, Sajith -- *Sajith Kariyawasam* *Committer and PMC me

[jira] [Resolved] (STRATOS-865) ClientConnectionPoolManager for rest client

2014-10-08 Thread Udara Liyanage (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Udara Liyanage resolved STRATOS-865. Resolution: Fixed Fixed in c3105c89c619ff8a85e339c64442974f4d062e5d > ClientConnectionPool

[jira] [Commented] (STRATOS-859) Unknown host name exception when accessing VM instances via LB

2014-10-08 Thread Rajkumar Rajaratnam (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14163263#comment-14163263 ] Rajkumar Rajaratnam commented on STRATOS-859: - Any update on this? This is a

Maintaining Code formatters / templates

2014-10-08 Thread Sajith Kariyawasam
Hi Devs, With the introduction of Code quality standards and guidelines, we need to maintain set of code templates / formatters which to be used by the Developers. Where can we maintain those files? In code repository or any other place? Thanks, Sajith -- *Sajith Kariyawasam* *Committer and

Re: [Discuss] Coding Standards & Best Practices Guidelines

2014-10-08 Thread Sajith Kariyawasam
ExcessiveClassLength rule is already there in PMD [1] , but its not activated. I'm not sure whether we can activate [1] https://analysis.apache.org/rules_configuration/index/49?commit=Search&rule_activation=INACTIVE&searchtext=ExcessiveClassLength&sort_by=SORT_BY_RULE_NAME On Mon, Oct 6, 2014 at