Repository: stratos
Updated Branches:
  refs/heads/master 3ae231b66 -> 49cac9ba9


http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/artifacts/application.json
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v1/artifacts/application.json 
b/samples/applications/wordpress-extended-v1/artifacts/application.json
deleted file mode 100644
index 9c9d937..0000000
--- a/samples/applications/wordpress-extended-v1/artifacts/application.json
+++ /dev/null
@@ -1,62 +0,0 @@
-{
-    "applicationId": "wordpress-extended",
-    "alias": "wordpress",
-    "components": {
-        "groups": [
-            {
-                "name": "mysql-php-group",
-                "alias": "my-mysql-php-group",
-                "groupMinInstances": 1,
-                "groupMaxInstances": 1,
-               "deploymentPolicy":"deployment-policy-1",
-                "cartridges": [
-                    {
-                        "type": "mysql",
-                        "cartridgeMin": 2,
-                        "cartridgeMax": 5,
-                        "subscribableInfo": {
-                            "alias": "my-mysql",
-                            "autoscalingPolicy": "autoscaling-policy-1"
-                        }
-                    },
-                    {
-                        "type": "php",
-                        "cartridgeMin": 2,
-                        "cartridgeMax": 5,
-                        "subscribableInfo": {
-                            "alias": "my-php",
-                            "autoscalingPolicy": "autoscaling-policy-1",
-                            "artifactRepository":{
-                               "privateRepo":false,
-                               
"repoUrl":"https://github.com/imesh/stratos-php-applications.git";
-                            }
-                        }
-                    }
-                ]
-            }
-        ],
-        "cartridges" : [
-            {
-                "type": "tomcat",
-                "cartridgeMin": 2,
-                "cartridgeMax": 5,
-                "subscribableInfo": {
-                    "alias": "my-tomcat",
-                    "autoscalingPolicy": "autoscaling-policy-1",
-                   "deploymentPolicy":"deployment-policy-1",
-                    "artifactRepository":{
-                        "privateRepo":false,
-                        
"repoUrl":"https://github.com/imesh/stratos-tomcat-applications.git";
-                    }
-                }
-            }
-        ],
-        "dependencies": {
-            "startupOrders": [
-                "group.my-mysql-php-group,cartridge.my-tomcat"
-            ],
-            "terminationBehaviour": "terminate-none"
-        }
-    }
-}
-

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v1/scripts/common/deploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/common/deploy.sh
deleted file mode 100755
index 6e0822a..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/common/deploy.sh
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/bash
-
-iaas=$1
-host_ip="localhost"
-host_port=9443
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-
-artifacts_path=`cd "${script_path}/../../artifacts"; pwd`
-iaas_artifacts_path=`cd "${script_path}/../../artifacts/${iaas}"; pwd`
-cartridges_path=`cd "${script_path}/../../../../cartridges/${iaas}"; pwd`
-cartridges_groups_path=`cd "${script_path}/../../../../cartridges-groups"; pwd`
-autoscaling_policies_path=`cd 
"${script_path}/../../../../autoscaling-policies"; pwd`
-network_partitions_path=`cd 
"${script_path}/../../../../network-partitions/${iaas}"; pwd`
-deployment_policies_path=`cd "${script_path}/../../../../deployment-policies"; 
pwd`
-application_policies_path=`cd 
"${script_path}/../../../../application-policies"; pwd`
-
-set -e
-
-if [[ -z "${iaas}" ]]; then
-    echo "Usage: deploy.sh [iaas]"
-    exit
-fi
-
-echo ${autoscaling_policies_path}/autoscaling-policy-1.json
-echo "Adding autoscale policy..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${autoscaling_policies_path}/autoscaling-policy-1.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/autoscalingPolicies
-
-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
-
-echo "Adding mysql cartridge..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_path}/mysql.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
-
-echo "Adding php cartridge..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_path}/php.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
-
-echo "Adding tomcat cartridge..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_path}/tomcat.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
-
-
-echo "Adding mysql-php-group group..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_groups_path}/mysql-php-group.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridgeGroups
-
-sleep 1
-
-echo "Adding application policy..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${application_policies_path}/application-policy-1.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applicationPolicies
-
-sleep 1
-
-echo "Creating application..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${artifacts_path}/application.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications
-
-sleep 1
-
-echo "Deploying application..."
-curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications/wordpress-extended/deploy/application-policy-1

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v1/scripts/common/undeploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/common/undeploy.sh
deleted file mode 100644
index f2078ce..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/common/undeploy.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-host_ip="localhost"
-host_port=9443
-
-set -e
-
-echo "Undeploying application..."
-curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications/wordpress-extended/undeploy
-
-sleep 10
-
-echo "Deleting application..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications/wordpress-extended
-
-echo "Removing groups..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridgeGroups/mysql-php-group
-
-echo "Removing cartridges..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges/php
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges/mysql
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges/tomcat
-
-echo "Removing autoscale policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-1
-
-echo "Removing deployment policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/deploymentPolicies/deployment-policy-1
-
-echo "Removing network partitions..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/networkPartitions/network-partition-1
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/networkPartitions/network-partition-2
-
-echo "Removing application policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applicationPolicies/application-policy-1
-

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress-extended-v1/scripts/ec2/deploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/ec2/deploy.sh
deleted file mode 100755
index 1370667..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/ec2/deploy.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-iaas="ec2"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress-extended-v1/scripts/ec2/undeploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/ec2/undeploy.sh
deleted file mode 100644
index 17d8c71..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/ec2/undeploy.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v1/scripts/kubernetes/deploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/kubernetes/deploy.sh
deleted file mode 100755
index 0d614cc..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/kubernetes/deploy.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-host_ip="localhost"
-host_port=9443
-iaas="kubernetes"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-iaas_artifacts_path=`cd "${script_path}/../../artifacts/${iaas}"; pwd`
-kubernetes_clusters_path=`cd "${script_path}/../../../../kubernets-clusters"; 
pwd`
-
-echo "Adding kubernetes cluster..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${kubernetes_clusters_path}/kubernetes-cluster-1.json" -k -u admin:admin 
https://${host_ip}:${host_port}/api/kubernetesClusters
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v1/scripts/kubernetes/undeploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/kubernetes/undeploy.sh
deleted file mode 100644
index 0054670..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/kubernetes/undeploy.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-host_ip="localhost"
-host_port=9443
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh
-
-echo "Removing kubernetes cluster..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/kubernetesClusters/kubernetes-cluster-1

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress-extended-v1/scripts/mock/deploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/mock/deploy.sh
deleted file mode 100755
index 93f8517..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/mock/deploy.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-iaas="mock"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v1/scripts/mock/undeploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/mock/undeploy.sh
deleted file mode 100755
index 17d8c71..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/mock/undeploy.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v1/scripts/openstack/deploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/openstack/deploy.sh
deleted file mode 100755
index 4c39959..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/openstack/deploy.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-iaas="openstack"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v1/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v1/scripts/openstack/undeploy.sh 
b/samples/applications/wordpress-extended-v1/scripts/openstack/undeploy.sh
deleted file mode 100644
index 17d8c71..0000000
--- a/samples/applications/wordpress-extended-v1/scripts/openstack/undeploy.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/README.md
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress-extended-v2/README.md 
b/samples/applications/wordpress-extended-v2/README.md
deleted file mode 100644
index af2349a..0000000
--- a/samples/applications/wordpress-extended-v2/README.md
+++ /dev/null
@@ -1,23 +0,0 @@
-Wordpress Extended V2 Application
-=================================
-Wordpress extended v2 application consists of a cartridge group which includes 
a MySQL cartridge and PHP cartridge and
-a Tomcat cartridge at the top level. The cartridge group defines a startup 
dependency to first start MySQL cluster and
-then the PHP cluster once the MySQL cluster is active. Group scaling has been 
enabled in MySQL, PHP group and the
-maximum number of group instances has been set to two. The application has 
defined a startup dependency to first start
-the MySQL, PHP group clusters and then the Tomcat cluster.
-
-
-Application folder structure
-----------------------------
-```
-artifacts/<iaas>/ IaaS specific artifacts
-scripts/common/ Common scripts for all iaases
-scripts/<iaas> IaaS specific scripts
-```
-
-How to run
-----------
-```
-cd scripts/<iaas>/
-./deploy.sh
-```

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/artifacts/application.json
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v2/artifacts/application.json 
b/samples/applications/wordpress-extended-v2/artifacts/application.json
deleted file mode 100644
index e5b1ae7..0000000
--- a/samples/applications/wordpress-extended-v2/artifacts/application.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
-    "applicationId": "wordpress-extended",
-    "alias": "my-wordpress",
-    "components": {
-        "groups": [
-            {
-                "name": "mysql-php-group",
-                "alias": "my-mysql-php-group",
-                "groupMinInstances": 2,
-                "groupMaxInstances": 2,
-                "cartridges": [
-                    {
-                        "type": "mysql",
-                        "cartridgeMin": 2,
-                        "cartridgeMax": 5,
-                        "subscribableInfo": {
-                            "alias": "my-mysql",
-                           "deploymentPolicy":"deployment-policy-1",
-                            "autoscalingPolicy": "autoscaling-policy-1"
-                        }
-                    },
-                    {
-                        "type": "php",
-                        "cartridgeMin": 2,
-                        "cartridgeMax": 5,
-                        "subscribableInfo": {
-                            "alias": "my-php",
-                           "deploymentPolicy":"deployment-policy-1",
-                            "autoscalingPolicy": "autoscaling-policy-1",
-                            "artifactRepository":{
-                               "privateRepo":false,
-                               
"repoUrl":"https://github.com/imesh/stratos-php-applications.git";
-                            }
-                        }
-                    }
-                ]
-            }
-        ],
-        "cartridges" : [
-            {
-                "type": "tomcat",
-                "cartridgeMin": 2,
-                "cartridgeMax": 5,
-                "subscribableInfo": {
-                    "alias": "my-tomcat",
-                   "deploymentPolicy":"deployment-policy-1",
-                    "autoscalingPolicy": "autoscaling-policy-1",
-                    "artifactRepository":{
-                        "privateRepo":false,
-                        
"repoUrl":"https://github.com/imesh/stratos-tomcat-applications.git";
-                    }
-                }
-            }
-        ],
-        "dependencies": {
-            "startupOrders": [
-                "group.my-mysql-php-group,cartridge.my-tomcat"
-            ],
-            "terminationBehaviour": "terminate-none"
-        }
-    }
-}
-

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v2/scripts/common/deploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/common/deploy.sh
deleted file mode 100755
index 6e0822a..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/common/deploy.sh
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/bash
-
-iaas=$1
-host_ip="localhost"
-host_port=9443
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-
-artifacts_path=`cd "${script_path}/../../artifacts"; pwd`
-iaas_artifacts_path=`cd "${script_path}/../../artifacts/${iaas}"; pwd`
-cartridges_path=`cd "${script_path}/../../../../cartridges/${iaas}"; pwd`
-cartridges_groups_path=`cd "${script_path}/../../../../cartridges-groups"; pwd`
-autoscaling_policies_path=`cd 
"${script_path}/../../../../autoscaling-policies"; pwd`
-network_partitions_path=`cd 
"${script_path}/../../../../network-partitions/${iaas}"; pwd`
-deployment_policies_path=`cd "${script_path}/../../../../deployment-policies"; 
pwd`
-application_policies_path=`cd 
"${script_path}/../../../../application-policies"; pwd`
-
-set -e
-
-if [[ -z "${iaas}" ]]; then
-    echo "Usage: deploy.sh [iaas]"
-    exit
-fi
-
-echo ${autoscaling_policies_path}/autoscaling-policy-1.json
-echo "Adding autoscale policy..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${autoscaling_policies_path}/autoscaling-policy-1.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/autoscalingPolicies
-
-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
-
-echo "Adding mysql cartridge..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_path}/mysql.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
-
-echo "Adding php cartridge..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_path}/php.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
-
-echo "Adding tomcat cartridge..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_path}/tomcat.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
-
-
-echo "Adding mysql-php-group group..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_groups_path}/mysql-php-group.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridgeGroups
-
-sleep 1
-
-echo "Adding application policy..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${application_policies_path}/application-policy-1.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applicationPolicies
-
-sleep 1
-
-echo "Creating application..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${artifacts_path}/application.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications
-
-sleep 1
-
-echo "Deploying application..."
-curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications/wordpress-extended/deploy/application-policy-1

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v2/scripts/common/undeploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/common/undeploy.sh
deleted file mode 100644
index f2078ce..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/common/undeploy.sh
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-host_ip="localhost"
-host_port=9443
-
-set -e
-
-echo "Undeploying application..."
-curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications/wordpress-extended/undeploy
-
-sleep 10
-
-echo "Deleting application..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications/wordpress-extended
-
-echo "Removing groups..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridgeGroups/mysql-php-group
-
-echo "Removing cartridges..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges/php
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges/mysql
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges/tomcat
-
-echo "Removing autoscale policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-1
-
-echo "Removing deployment policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/deploymentPolicies/deployment-policy-1
-
-echo "Removing network partitions..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/networkPartitions/network-partition-1
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/networkPartitions/network-partition-2
-
-echo "Removing application policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applicationPolicies/application-policy-1
-

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress-extended-v2/scripts/ec2/deploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/ec2/deploy.sh
deleted file mode 100755
index 1370667..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/ec2/deploy.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-iaas="ec2"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress-extended-v2/scripts/ec2/undeploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/ec2/undeploy.sh
deleted file mode 100644
index 17d8c71..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/ec2/undeploy.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v2/scripts/kubernetes/deploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/kubernetes/deploy.sh
deleted file mode 100755
index 0d614cc..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/kubernetes/deploy.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-host_ip="localhost"
-host_port=9443
-iaas="kubernetes"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-iaas_artifacts_path=`cd "${script_path}/../../artifacts/${iaas}"; pwd`
-kubernetes_clusters_path=`cd "${script_path}/../../../../kubernets-clusters"; 
pwd`
-
-echo "Adding kubernetes cluster..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${kubernetes_clusters_path}/kubernetes-cluster-1.json" -k -u admin:admin 
https://${host_ip}:${host_port}/api/kubernetesClusters
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v2/scripts/kubernetes/undeploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/kubernetes/undeploy.sh
deleted file mode 100644
index 0054670..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/kubernetes/undeploy.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-host_ip="localhost"
-host_port=9443
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh
-
-echo "Removing kubernetes cluster..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/kubernetesClusters/kubernetes-cluster-1

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress-extended-v2/scripts/mock/deploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/mock/deploy.sh
deleted file mode 100755
index 93f8517..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/mock/deploy.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-iaas="mock"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v2/scripts/mock/undeploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/mock/undeploy.sh
deleted file mode 100755
index 17d8c71..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/mock/undeploy.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v2/scripts/openstack/deploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/openstack/deploy.sh
deleted file mode 100755
index 4c39959..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/openstack/deploy.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-iaas="openstack"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress-extended-v2/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git 
a/samples/applications/wordpress-extended-v2/scripts/openstack/undeploy.sh 
b/samples/applications/wordpress-extended-v2/scripts/openstack/undeploy.sh
deleted file mode 100644
index 17d8c71..0000000
--- a/samples/applications/wordpress-extended-v2/scripts/openstack/undeploy.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/README.md
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/README.md 
b/samples/applications/wordpress/README.md
deleted file mode 100644
index 9b61ca1..0000000
--- a/samples/applications/wordpress/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-Wordpress Application
-=====================
-Wordpress application consists of a cartridge group which includes a MySQL 
cartridge and PHP cartridge. The cartridge
-group defines a startup dependency to first start MySQL cluster and then the 
PHP cluster second once the MySQL cluster
-is active. Group scaling has been disabled in MySQL, PHP group.
-
-Application folder structure
-----------------------------
-```
-artifacts/<iaas>/ IaaS specific artifacts
-scripts/common/ Common scripts for all iaases
-scripts/<iaas> IaaS specific scripts
-```
-
-How to run
-----------
-```
-cd scripts/<iaas>/
-./deploy.sh
-```

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/artifacts/application.json
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/artifacts/application.json 
b/samples/applications/wordpress/artifacts/application.json
deleted file mode 100644
index 4220fe2..0000000
--- a/samples/applications/wordpress/artifacts/application.json
+++ /dev/null
@@ -1,41 +0,0 @@
-{
-    "applicationId": "wordpress",
-    "alias": "wordpress",
-    "components": {
-        "groups": [
-            {
-                "name": "mysql-php-group",
-                "alias": "mysql-php-group",
-                "groupMinInstances": 1,
-                "groupMaxInstances": 1,
-                "cartridges": [
-                    {
-                        "type": "mysql",
-                        "cartridgeMin": 2,
-                        "cartridgeMax": 5,
-                        "subscribableInfo": {
-                            "alias": "my-mysql",
-                           "deploymentPolicy":"deployment-policy-2",
-                            "autoscalingPolicy": "autoscaling-policy-1"
-                        }
-                    },
-                    {
-                        "type": "php",
-                        "cartridgeMin": 2,
-                        "cartridgeMax": 5,
-                        "subscribableInfo": {
-                            "alias": "my-php",
-                            "deploymentPolicy":"deployment-policy-2",
-                            "autoscalingPolicy": "autoscaling-policy-1",
-                            "artifactRepository":{
-                               "privateRepo":false,
-                               
"repoUrl":"https://github.com/imesh/stratos-php-applications.git";
-                            }
-                        }
-                    }
-                ]
-            }
-        ]
-    }
-}
-

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/common/deploy.sh 
b/samples/applications/wordpress/scripts/common/deploy.sh
deleted file mode 100755
index 731273f..0000000
--- a/samples/applications/wordpress/scripts/common/deploy.sh
+++ /dev/null
@@ -1,60 +0,0 @@
-#!/bin/bash
-
-iaas=$1
-host_ip="localhost"
-host_port=9443
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-
-artifacts_path=`cd "${script_path}/../../artifacts"; pwd`
-iaas_artifacts_path=`cd "${script_path}/../../artifacts/${iaas}"; pwd`
-cartridges_path=`cd "${script_path}/../../../../cartridges/${iaas}"; pwd`
-cartridges_groups_path=`cd "${script_path}/../../../../cartridges-groups"; pwd`
-autoscaling_policies_path=`cd 
"${script_path}/../../../../autoscaling-policies"; pwd`
-network_partitions_path=`cd 
"${script_path}/../../../../network-partitions/${iaas}"; pwd`
-deployment_policies_path=`cd "${script_path}/../../../../deployment-policies"; 
pwd`
-application_policies_path=`cd 
"${script_path}/../../../../application-policies"; pwd`
-
-set -e
-
-if [[ -z "${iaas}" ]]; then
-    echo "Usage: deploy.sh [iaas]"
-    exit
-fi
-
-echo ${autoscaling_policies_path}/autoscaling-policy-1.json
-echo "Adding autoscale policy..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${autoscaling_policies_path}/autoscaling-policy-1.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/autoscalingPolicies
-
-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 policies..."
-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
-curl -X POST -H "Content-Type: application/json" -d 
"@${deployment_policies_path}/deployment-policy-2.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/deploymentPolicies
-
-echo "Adding mysql cartridge..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_path}/mysql.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
-
-echo "Adding php cartridge..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_path}/php.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges
-
-echo "Adding mysql-php-group group..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${cartridges_groups_path}/mysql-php-group.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridgeGroups
-
-sleep 1
-
-echo "Adding application policy..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${application_policies_path}/application-policy-1.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applicationPolicies
-
-sleep 1
-
-echo "Creating application..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${artifacts_path}/application.json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications
-
-sleep 1
-
-echo "Deploying application..."
-curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications/wordpress/deploy/application-policy-1

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/common/undeploy.sh 
b/samples/applications/wordpress/scripts/common/undeploy.sh
deleted file mode 100644
index 7969cca..0000000
--- a/samples/applications/wordpress/scripts/common/undeploy.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/bash
-
-host_ip="localhost"
-host_port=9443
-
-set -e
-
-echo "Undeploying application..."
-curl -X POST -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications/wordpress/undeploy
-
-sleep 10
-
-echo "Deleting application..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applications/wordpress
-
-echo "Removing groups..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridgeGroups/mysql-php-group
-
-echo "Removing cartridges..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges/php
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/cartridges/mysql
-
-echo "Removing autoscale policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/autoscalingPolicies/autoscaling-policy-1
-
-echo "Removing deployment policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/deploymentPolicies/deployment-policy-1
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/deploymentPolicies/deployment-policy-2
-
-echo "Removing network partitions..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/networkPartitions/network-partition-1
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/networkPartitions/network-partition-2
-
-echo "Removing application policies..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/applicationPolicies/application-policy-1

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/ec2/deploy.sh 
b/samples/applications/wordpress/scripts/ec2/deploy.sh
deleted file mode 100755
index 1370667..0000000
--- a/samples/applications/wordpress/scripts/ec2/deploy.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-iaas="ec2"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/ec2/undeploy.sh 
b/samples/applications/wordpress/scripts/ec2/undeploy.sh
deleted file mode 100644
index 17d8c71..0000000
--- a/samples/applications/wordpress/scripts/ec2/undeploy.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/kubernetes/deploy.sh 
b/samples/applications/wordpress/scripts/kubernetes/deploy.sh
deleted file mode 100755
index 0d614cc..0000000
--- a/samples/applications/wordpress/scripts/kubernetes/deploy.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-host_ip="localhost"
-host_port=9443
-iaas="kubernetes"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-iaas_artifacts_path=`cd "${script_path}/../../artifacts/${iaas}"; pwd`
-kubernetes_clusters_path=`cd "${script_path}/../../../../kubernets-clusters"; 
pwd`
-
-echo "Adding kubernetes cluster..."
-curl -X POST -H "Content-Type: application/json" -d 
"@${kubernetes_clusters_path}/kubernetes-cluster-1.json" -k -u admin:admin 
https://${host_ip}:${host_port}/api/kubernetesClusters
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/kubernetes/undeploy.sh 
b/samples/applications/wordpress/scripts/kubernetes/undeploy.sh
deleted file mode 100644
index 0054670..0000000
--- a/samples/applications/wordpress/scripts/kubernetes/undeploy.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-host_ip="localhost"
-host_port=9443
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh
-
-echo "Removing kubernetes cluster..."
-curl -X DELETE -H "Content-Type: application/json" -k -v -u admin:admin 
https://${host_ip}:${host_port}/api/kubernetesClusters/kubernetes-cluster-1

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/mock/deploy.sh 
b/samples/applications/wordpress/scripts/mock/deploy.sh
deleted file mode 100755
index 93f8517..0000000
--- a/samples/applications/wordpress/scripts/mock/deploy.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-iaas="mock"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/mock/undeploy.sh 
b/samples/applications/wordpress/scripts/mock/undeploy.sh
deleted file mode 100755
index 17d8c71..0000000
--- a/samples/applications/wordpress/scripts/mock/undeploy.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/openstack/deploy.sh 
b/samples/applications/wordpress/scripts/openstack/deploy.sh
deleted file mode 100755
index 4c39959..0000000
--- a/samples/applications/wordpress/scripts/openstack/deploy.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-iaas="openstack"
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/deploy.sh ${iaas}

http://git-wip-us.apache.org/repos/asf/stratos/blob/aaa8a0f4/samples/applications/wordpress/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/wordpress/scripts/openstack/undeploy.sh 
b/samples/applications/wordpress/scripts/openstack/undeploy.sh
deleted file mode 100644
index 17d8c71..0000000
--- a/samples/applications/wordpress/scripts/openstack/undeploy.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-prgdir=`dirname "$0"`
-script_path=`cd "$prgdir"; pwd`
-common_folder=`cd "${script_path}/../common"; pwd`
-
-bash ${common_folder}/undeploy.sh

Reply via email to