Python CLI, regarding -u and -p flags in single-command mode

2015-07-30 Thread Milindu Sanoj Kumarage
Hi, While developing the Python CLI for Stratos, I came across a small question. add-user -u -p -r -f -l -e -pr In the above CLI command, -u and -p means the username and password of the user that is to be added to the system with this command, right? But we usually use -u and -p flags

[GitHub] stratos pull request: Python CLI PR1

2015-07-30 Thread chamilad
Github user chamilad commented on a diff in the pull request: https://github.com/apache/stratos/pull/414#discussion_r35942295 --- Diff: components/org.apache.stratos.python.cli/src/main/python/cli/Utils.py --- @@ -0,0 +1,69 @@ +from __future__ import print_function +import

[GitHub] stratos pull request: Python CLI PR1

2015-07-30 Thread chamilad
Github user chamilad commented on a diff in the pull request: https://github.com/apache/stratos/pull/414#discussion_r35941807 --- Diff: components/org.apache.stratos.python.cli/src/main/python/cli/Stratos.py --- @@ -0,0 +1,113 @@ +import requests +import Configs +from c

[GitHub] stratos pull request: Python CLI PR1

2015-07-30 Thread chamilad
Github user chamilad commented on a diff in the pull request: https://github.com/apache/stratos/pull/414#discussion_r35941736 --- Diff: components/org.apache.stratos.python.cli/src/main/python/cli/CLI.py --- @@ -0,0 +1,190 @@ +from cmd2 import * +from Utils import * +fr

[GitHub] stratos pull request: Python CLI PR1

2015-07-30 Thread chamilad
Github user chamilad commented on a diff in the pull request: https://github.com/apache/stratos/pull/414#discussion_r35941633 --- Diff: components/org.apache.stratos.python.cli/src/main/python/cli/Main.py --- @@ -0,0 +1,38 @@ +import sys --- End diff -- License sta

[GitHub] stratos pull request: Python CLI PR1

2015-07-30 Thread chamilad
Github user chamilad commented on a diff in the pull request: https://github.com/apache/stratos/pull/414#discussion_r35941444 --- Diff: components/org.apache.stratos.python.cli/src/main/python/cli/Configs.py --- @@ -0,0 +1,14 @@ +import os + +stratos_prompt = "stratos>

[GitHub] stratos pull request: Python CLI PR1

2015-07-30 Thread chamilad
Github user chamilad commented on a diff in the pull request: https://github.com/apache/stratos/pull/414#discussion_r35941086 --- Diff: components/org.apache.stratos.python.cli/src/main/python/cli/CLI.py --- @@ -0,0 +1,190 @@ +from cmd2 import * +from Utils import * +fr

[GitHub] stratos pull request: Python CLI PR1

2015-07-30 Thread chamilad
Github user chamilad commented on a diff in the pull request: https://github.com/apache/stratos/pull/414#discussion_r35940678 --- Diff: components/org.apache.stratos.python.cli/src/main/python/cli/CLI.py --- @@ -0,0 +1,190 @@ +from cmd2 import * +from Utils import * +fr

RE: DISCUSS: co-location of VMs in stratos (affinity / anti-affinity)

2015-07-30 Thread Martin Eppel (meppel)
Hi Reka, Thanks for your reply. The affinity support you mentioned below will IMHO work only for a small number of cartirdges / instances and only if the cartridges don’t scale. Instead it might be more useful to utilize affinity support of the underlying IAAS. For example, openstack supports a

Re: [Dev] [GSoC-2015] Showing health statistics in GUI

2015-07-30 Thread Ashan Dhananjaya
Hi All, I have implemented formatters and did some changes in the cep event flow to change the RDBMS 3 tables in to one table as we discussed last week. And committed it. And id did few changes to the UI according to the feedback i had last week. I finished writing the REST API documentation and s

[GitHub] stratos pull request: Python CLI PR1

2015-07-30 Thread agentmilindu
GitHub user agentmilindu opened a pull request: https://github.com/apache/stratos/pull/414 Python CLI PR1 Python CLI for Stratos *( Do not merge )* You can merge this pull request into a Git repository by running: $ git pull https://github.com/agentmilindu/stratos pyt

Re: [GSOC] GCE Load Balancing Support for Stratos - weekly update

2015-07-30 Thread Asanka Sanjaya Herath
Code review notes: 1. Without throwing run time exceptions always try to handle the exception 2. Try to throw more specific exceptions without just throwing generic exceptions so that will be easy to troubleshoot 3. Always put generic comments 4. Add debug log messages On Thu, Jul 30, 2015 at 12

[GitHub] stratos pull request: Fixing formatting and minor issues

2015-07-30 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/410 --- 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