You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by la...@apache.org on 2015/06/12 04:45:16 UTC

stratos git commit: Remove unused network partition deployment from single cartridge app

Repository: stratos
Updated Branches:
  refs/heads/master dfcf9c59b -> 99d80b470


Remove unused network partition deployment from single cartridge app


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/99d80b47
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/99d80b47
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/99d80b47

Branch: refs/heads/master
Commit: 99d80b470d95e1ef245e6b4d3e283fff2bc70793
Parents: dfcf9c5
Author: Lahiru Sandaruwan <la...@apache.org>
Authored: Fri Jun 12 08:15:03 2015 +0530
Committer: Lahiru Sandaruwan <la...@apache.org>
Committed: Fri Jun 12 08:15:03 2015 +0530

----------------------------------------------------------------------
 .../simple/single-cartridge-app/scripts/common/deploy.sh            | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/99d80b47/samples/applications/simple/single-cartridge-app/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/deploy.sh b/samples/applications/simple/single-cartridge-app/scripts/common/deploy.sh
index 8594377..9643d2d 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/common/deploy.sh
+++ b/samples/applications/simple/single-cartridge-app/scripts/common/deploy.sh
@@ -48,7 +48,6 @@ curl -X POST -H "Content-Type: application/json" -d "@${autoscaling_policies_pat
 
 echo "Adding network partitions..."
 curl -X POST -H "Content-Type: application/json" -d "@${network_partitions_path}/network-partition-1.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/networkPartitions
-curl -X POST -H "Content-Type: application/json" -d "@${network_partitions_path}/network-partition-2.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/networkPartitions
 
 echo "Adding deployment policy..."
 curl -X POST -H "Content-Type: application/json" -d "@${deployment_policies_path}/deployment-policy-1.json" -k -v -u admin:admin https://${host_ip}:${host_port}/api/deploymentPolicies