Updated Branches: refs/heads/master 924c56fc1 -> 8b9a803b9
Update CLI README file Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/a97aa584 Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/a97aa584 Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/a97aa584 Branch: refs/heads/master Commit: a97aa584dbbdb3bf19e925f02581433e274b7d3c Parents: f803d82 Author: Manula Thantriwatte <[email protected]> Authored: Wed Dec 18 12:08:53 2013 +0530 Committer: Manula Thantriwatte <[email protected]> Committed: Wed Dec 18 12:08:53 2013 +0530 ---------------------------------------------------------------------- .../stratos/cli/RestCommandLineService.java | 1 + products/stratos-cli/README.txt | 27 ++++++++++---------- 2 files changed, 15 insertions(+), 13 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a97aa584/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java ---------------------------------------------------------------------- diff --git a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java index 6ffb80c..d2089fd 100644 --- a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java +++ b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/RestCommandLineService.java @@ -895,6 +895,7 @@ public class RestCommandLineService { return urlBuilder.toString(); } + // This method gives the HTTP response string private String getHttpResponseString (HttpResponse response) { try { BufferedReader reader = new BufferedReader(new InputStreamReader((response.getEntity().getContent()))); http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/a97aa584/products/stratos-cli/README.txt ---------------------------------------------------------------------- diff --git a/products/stratos-cli/README.txt b/products/stratos-cli/README.txt index 4750af5..a6011fa 100755 --- a/products/stratos-cli/README.txt +++ b/products/stratos-cli/README.txt @@ -32,19 +32,20 @@ usage: stratos [-debug] [-h] [-p <password>] [-trace] [-u <username>] -u,--username <username> Username -Available Commands: -add-domain-mapping Map domain for the subscribed cartridge -help Help for commands -subscribe Subscribe to a cartridge -sync Synchronize GIT repository for the subscribed cartridge -remove-domain-mapping Remove domain mapping for the subscribed cartridge -list List subscribed cartridges with details -unsubscribe Unsubscribe from a subscribed cartridge -policies List available policies -exit Exit from Stratos Client Tool -info Get information about a subscribed cartridge -cartridges List available cartridges - +Available Commands: +create-tenant Add new tenant +list-autoscale-policies List available autoscale policies +subscribe-cartridge Subscribe to a cartridge +exit Exit from Stratos Client Tool +list-available-cartridges List available cartridges +help Help for commands +list-available-partitions List available partitions +deploy-cartridge Add new cartridge deployment +unsubscribe-cartridge Unsubscribe from a subscribed cartridge +list-subscribe-cartridges List subscribed cartridges with details +deploy-partition Add new partition deployment +deploy-autoscaling-policy Add new autoscaling policy deployment +deploy-deployment-policy Add new deployment policy Installation & Running ==================================
