Re: GSoC 2015

2015-05-21 Thread Pranavan Theivendiram
Hi All, As per my schedule I have shared the documentation on different possibilities to improve the auto scaler algorithm[1]. Please share your thoughts and suggestions on it. Currently I am in the process of familiarizing with R integration of CEP(Complex Event Processor). Sorry for the late up

Re: [Discuss] Extending Integration Tests to Support Complex Unit Tests

2015-05-21 Thread Isuru Haththotuwa
Hi Devs, Did the initial changes and tested locally. This provides the ability to easily write tests for scenarios which are hard to cover by unit tests, due to distributed nature, etc. The initial abstracted API is shown below, which is overriden for artifact specific implementation. However, I

[GitHub] stratos pull request: Correcting the log in scaling.drl

2015-05-21 Thread Vishanth
GitHub user Vishanth opened a pull request: https://github.com/apache/stratos/pull/360 Correcting the log in scaling.drl Changing MC to LA in the log You can merge this pull request into a Git repository by running: $ git pull https://github.com/Vishanth/stratos scaling-drool

[jira] [Resolved] (STRATOS-1426) Document how to deploy an application

2015-05-21 Thread Shavindri Dissanayake (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shavindri Dissanayake resolved STRATOS-1426. Resolution: Fixed Documented in [1]. [1] https://cwiki.apache.org/conflu

[jira] [Resolved] (STRATOS-1425) Document the artifact correlation

2015-05-21 Thread Shavindri Dissanayake (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shavindri Dissanayake resolved STRATOS-1425. Resolution: Fixed Documented in [1]. [1] https://cwiki.apache.org/confl

Re: [Docs] Verifying the artifact correlation content

2015-05-21 Thread Shavindri Dissanayake
Hi Imesh, Thank you! I added 'IaaS Provider' as a section and included Kubernetes Cluster under it [1]. [1] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Artifact+Correlation Thanks & Regards Shavindri Dissanayake Technical Writer LinkedIn Profile

Re: GSoC 2015

2015-05-21 Thread Lahiru Sandaruwan
Hi Pranvan, Could you please update the progress of the project for the knowledge of community? Thanks. On Fri, May 1, 2015 at 9:25 AM, Lahiru Sandaruwan wrote: > Hi Pranavan, > > Please find the answers inline, > > On Fri, May 1, 2015 at 12:49 AM, Pranavan Theivendiram < > pranavan...@cse.mrt

Re: Testing stratos 4.1: group scaling

2015-05-21 Thread Reka Thirunavukkarasu
Hi Martin, Let me explain how group scaling works in a high level manner. Say, it a group(G1) has two independent clusters(no dependent scaling) C1 and C2. G1 - min 1 max5 C1 - min 1 max2 (applies per cluster instance) C2 - min 2 max 3 (applies per cluster instance) Where C1 and C2 are children

Re: [Discuss] Apache Stratos 4.1.0 GA Release Preparation

2015-05-21 Thread Udara Liyanage
Hi Lahiru, IsuruH, Let's replace non pom file's version to the new version and try find . ! -name 'pom.xml' | doSed On Fri, May 22, 2015 at 10:18 AM, Lahiru Sandaruwan wrote: > > > On Fri, May 22, 2015 at 10:06 AM, Isuru Haththotuwa > wrote: > >> Hi Lahiru, >> >> On Fri, May 22, 2015 at 8:00

Re: [Discuss] Apache Stratos 4.1.0 GA Release Preparation

2015-05-21 Thread Lahiru Sandaruwan
On Fri, May 22, 2015 at 10:06 AM, Isuru Haththotuwa wrote: > Hi Lahiru, > > On Fri, May 22, 2015 at 8:00 AM, Lahiru Sandaruwan > wrote: > >> Hi all, >> >> It seems we have to incorporate a manual change before running release >> prepare command. Following class refer the hard coded >> version(4.

Re: [Q] Cartridge for RHEL or Centos

2015-05-21 Thread Rajkumar Rajaratnam
Thanks Isuru for pointing this out! Stratos ships init.sh for Centos as well. It is there at https://github.com/apache/stratos/tree/master/tools/init-scripts/centos. Thanks. On Fri, May 22, 2015 at 10:10 AM, Isuru Haththotuwa wrote: > > > On Fri, May 22, 2015 at 10:08 AM, Rajkumar Rajaratnam

Re: [Q] Cartridge for RHEL or Centos

2015-05-21 Thread Isuru Haththotuwa
On Fri, May 22, 2015 at 10:08 AM, Rajkumar Rajaratnam wrote: > Hi David, > > Setup scripts (config.sh and init.sh) are OS specific. Stratos ships > config.sh for Debian/Ubuntu operating systems. DevOps will have to write > their own script for any other operating system. > > Please refer [1] for

Re: [Q] Cartridge for RHEL or Centos

2015-05-21 Thread Rajkumar Rajaratnam
Hi David, Setup scripts (config.sh and init.sh) are OS specific. Stratos ships config.sh for Debian/Ubuntu operating systems. DevOps will have to write their own script for any other operating system. Please refer [1] for more details. @Mari, [1] is from 4.0.0. Where do we have these information

Re: [Discuss] Apache Stratos 4.1.0 GA Release Preparation

2015-05-21 Thread Isuru Haththotuwa
Hi Lahiru, On Fri, May 22, 2015 at 8:00 AM, Lahiru Sandaruwan wrote: > Hi all, > > It seems we have to incorporate a manual change before running release > prepare command. Following class refer the hard coded > version(4.1.0-SNAPSHOT) to get the Stratos server zip location. It is not > possible

RE: Mock IaaS is enabled by default

2015-05-21 Thread Martin Eppel (meppel)
Thanks for the clarification Regards Martin From: Udara Liyanage [mailto:ud...@wso2.com] Sent: Thursday, May 21, 2015 7:08 PM To: dev Cc: Mariangela Hills; Shavindri Dissanayake Subject: RE: Mock IaaS is enabled by default Hi, You can have defined several iaas s in cloud-controller.xml. Howev

Re: [Discuss] Displaying Access URLs for Kubernetes Services in the UI

2015-05-21 Thread Lakmal Warusawithana
Hi Imesh, If kubernetes cluster has more than one minions, does it show all possible access url's? thanks On Thu, May 21, 2015 at 7:36 PM, Imesh Gunaratne wrote: > Hi Devs, > > I have now added logic for $subject, this will allow users to find the > URLs of Kubernetes services in the topology

Re: [Discuss] Apache Stratos 4.1.0 GA Release Preparation

2015-05-21 Thread Lahiru Sandaruwan
Hi all, It seems we have to incorporate a manual change before running release prepare command. Following class refer the hard coded version(4.1.0-SNAPSHOT) to get the Stratos server zip location. It is not possible to change Java classes with maven release prepare command. private final static S

RE: Mock IaaS is enabled by default

2015-05-21 Thread Udara Liyanage
Hi, You can have defined several iaas s in cloud-controller.xml. However you define what iaas(s) you need by network partition/partition. So instances will be spawned in the partitions defined for application regardless of what other iaas s available. So having Mock IaasS enabled by default will n

RE: Mock IaaS is enabled by default

2015-05-21 Thread Martin Eppel (meppel)
Hi Udara, If the Mock IaaS is enabled by default, what is the expected behavior ? I installed a system with OpenStack as IaaS and left the configuration (inadvertently) in the default mode with Mock IaaS enabled – however, when I deployed an application all VMs are spun up by Open stack (whic

Testing stratos 4.1: group scaling

2015-05-21 Thread Martin Eppel (meppel)
Hi, I am setting up a test application to test group scaling (following the example from the 4.1 Wiki - https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Group+Scaling+Application+on+OpenStack). I was wondering if you have any suggestion how to actually force / simulate the conditions

[Q] Cartridge for RHEL or Centos

2015-05-21 Thread david hbase
Try deploy tomcat cartridge with RHEL 6.5, the init script from: https://github.com/apache/stratos/tree/master/tools/init-scripts Run ./config.sh andgot the following errors: Error: Could not find command 'apt-get' Error: /Stage[main]/Stratos_base/Exec[base-update-apt]/returns: change from notrun

Re: [Discuss] Apache Stratos 4.1.0 GA Release Preparation

2015-05-21 Thread Lahiru Sandaruwan
It seems above issues solved when using 'project.' in front of the version name 'jclouds.stratos.version'. Continues with that fix. Thanks. On Fri, May 22, 2015 at 12:43 AM, Lahiru Sandaruwan wrote: > Hi, > [update] > > Release fails with following error. Looking into it. > > [INFO] >

Re: [Discuss] Apache Stratos 4.1.0 GA Release Preparation

2015-05-21 Thread Lahiru Sandaruwan
Hi, [update] Release fails with following error. Looking into it. [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 3.865 s [INFO] Finished at: 201

Re: [Discuss] Apache Stratos 4.1.0 GA Release Preparation

2015-05-21 Thread Lahiru Sandaruwan
Hi all, I have found that "org.apache.stratos.common.stub" is used in few places. Also there are some places that we use 4.0.0-SNAPSHOT as the version. I will clean these up and commit now. Thanks. On Thu, May 21, 2015 at 9:13 PM, Lahiru Sandaruwan wrote: > Hi all, > > I'm going to kick off

Re: [Discuss] Apache Stratos 4.1.0 GA Release Preparation

2015-05-21 Thread Lahiru Sandaruwan
Hi all, I'm going to kick off a release build now with following commit. Please avoid committing any thing. I will inform if i found any issues. commit 9282761abb2186d9a85819e181d77b020f668da1 Thanks. On Thu, May 21, 2015 at 1:33 PM, Lahiru Sandaruwan wrote: > Thanks Shavindri! > > On Thu, Ma

[GitHub] stratos pull request: Changing describe-cartridge to JSON format

2015-05-21 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/357 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

[GitHub] stratos pull request: Removing commons stub

2015-05-21 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/358 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

[GitHub] stratos pull request: UI changes

2015-05-21 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/359 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

[Discuss] Assignment of Load Balancer IP Type in Cloud Controller

2015-05-21 Thread Imesh Gunaratne
Hi Devs, I found an issue related to $subject and fixed in following commit, the problem was that in cartridge and member context this property was always set to private: https://github.com/apache/stratos/commit/b8e5a7c272ce17814a97c7d9078b4154a86748ff Thanks -- Imesh Gunaratne Senior Technica

Re: [Discuss] Displaying Access URLs for Kubernetes Services in the UI

2015-05-21 Thread Vishanth Balasubramaniam
+1 On Thu, May 21, 2015 at 7:36 PM, Imesh Gunaratne wrote: > Hi Devs, > > I have now added logic for $subject, this will allow users to find the > URLs of Kubernetes services in the topology view under clusters: > > > Thanks > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer

[Discuss] Displaying Access URLs for Kubernetes Services in the UI

2015-05-21 Thread Imesh Gunaratne
Hi Devs, I have now added logic for $subject, this will allow users to find the URLs of Kubernetes services in the topology view under clusters: Thanks -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos

[GitHub] stratos pull request: UI changes

2015-05-21 Thread Vishanth
GitHub user Vishanth opened a pull request: https://github.com/apache/stratos/pull/359 UI changes * Removed the word 'definition' following the entity name in the UI * Removed the word 'new' from the button name * Minor corrections in the UI You can merge this pull request i

[Discuss] Login Page is throwing an error if login permission is not granted

2015-05-21 Thread Imesh Gunaratne
Hi Devs, I just fixed $subject, the problem was that the login.jag was not properly handling this scenario and sending a proper error message to the login page: https://github.com/apache/stratos/commit/1387b2855e3cf0a28d2b060b6f9bff604e7c Thanks -- Imesh Gunaratne Senior Technical Lead, W

Re: Documentation change for config.sh and init.sh while configuring cartridge on EC2

2015-05-21 Thread Swapnil Patil
Okay. This is the first time I am making some change. Could you please let me know the procedure to do so? Do we need to raise any issue to be used for a commit? Also could you please tell me where does the source code for documentation reside? Thanks and Regards, Swapnil On Thu, May 21, 2015 a

Re: Documentation change for config.sh and init.sh while configuring cartridge on EC2

2015-05-21 Thread Lahiru Sandaruwan
On Thu, May 21, 2015 at 4:47 PM, Swapnil Patil wrote: > Hi Devs, > > I was going through Cartridge Agent creation documentation for EC2 [1]. > Under the point Quick Guide in step 2, I observed that paths to download > config.sh and init.sh are pointing to tool/puppet3-agent folder. But these > s

Re: [Doc] Install Stratos with Openstack/Ec2 in a Testing Environment

2015-05-21 Thread Shavindri Dissanayake
Hi Udara, The information on the port offset is now removed from [1], [2] & [3]. Further [2] is updated with the pointers suggested by you. [1] https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Install+Stratos+with+EC2+in+a+Testing+Environment [2] https://cwiki.apache.org/confluence/displ

Documentation change for config.sh and init.sh while configuring cartridge on EC2

2015-05-21 Thread Swapnil Patil
Hi Devs, I was going through Cartridge Agent creation documentation for EC2 [1]. Under the point Quick Guide in step 2, I observed that paths to download config.sh and init.sh are pointing to tool/puppet3-agent folder. But these scripts have been moved to tools/init-scripts folder as per commits

[jira] [Updated] (STRATOS-1426) Document how to deploy an application

2015-05-21 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1426: -- Assignee: Shavindri Dissanayake > Document how to deploy an application >

[jira] [Updated] (STRATOS-1425) Document the artifact correlation

2015-05-21 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1425: -- Assignee: Shavindri Dissanayake > Document the artifact correlation >

[GitHub] stratos pull request: Removing commons stub

2015-05-21 Thread dinithis
GitHub user dinithis opened a pull request: https://github.com/apache/stratos/pull/358 Removing commons stub Removing commons stub You can merge this pull request into a Git repository by running: $ git pull https://github.com/dinithis/stratos master Alternatively you can revi

[jira] [Created] (STRATOS-1426) Document how to deploy an application

2015-05-21 Thread Shavindri Dissanayake (JIRA)
Shavindri Dissanayake created STRATOS-1426: -- Summary: Document how to deploy an application Key: STRATOS-1426 URL: https://issues.apache.org/jira/browse/STRATOS-1426 Project: Stratos

[GitHub] stratos pull request: Removing un-supported algorithm from UI

2015-05-21 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/356 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

[jira] [Created] (STRATOS-1425) Document the artifact correlation

2015-05-21 Thread Shavindri Dissanayake (JIRA)
Shavindri Dissanayake created STRATOS-1425: -- Summary: Document the artifact correlation Key: STRATOS-1425 URL: https://issues.apache.org/jira/browse/STRATOS-1425 Project: Stratos Iss

Re: [Discuss] Apache Stratos 4.1.0 GA Release Preparation

2015-05-21 Thread Lahiru Sandaruwan
Thanks Shavindri! On Thu, May 21, 2015 at 12:20 PM, Shavindri Dissanayake wrote: > Hi Lahiru, > > This was updated but I failed to send in a response on the thread . > Apologies. > > In the guide for the examples provided, the version is left as 4.0.0 (as > we are merely giving a example to the

Re: Describe cartridges in CLI

2015-05-21 Thread Gayan Gunarathne
On Wed, May 20, 2015 at 9:10 PM, Imesh Gunaratne wrote: > May be in a later release we can add functionality to specify the output > format. We need to find a way to print a JSON in a tabular format. > +1. As an example in aws we can specify the output format.We can look into that in a later rel