You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/05/14 10:28:39 UTC
[04/15] stratos git commit: Adding missing license headers in files
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-group-app/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-group-app/scripts/openstack/undeploy.sh b/samples/applications/nested/single-level-nested-group-app/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/nested/single-level-nested-group-app/scripts/openstack/undeploy.sh
+++ b/samples/applications/nested/single-level-nested-group-app/scripts/openstack/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-group-app/scripts/openstack/update-network-partition.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-group-app/scripts/openstack/update-network-partition.sh b/samples/applications/nested/single-level-nested-group-app/scripts/openstack/update-network-partition.sh
index 4b2b275..ea29245 100755
--- a/samples/applications/nested/single-level-nested-group-app/scripts/openstack/update-network-partition.sh
+++ b/samples/applications/nested/single-level-nested-group-app/scripts/openstack/update-network-partition.sh
@@ -1,4 +1,25 @@
#!/bin/bash
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas=$1
host_ip="localhost"
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/common/deploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/common/deploy.sh
index 6adbef5..8c5890b 100755
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/common/deploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/common/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas=$1
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/common/undeploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/common/undeploy.sh
index 455174f..ca8b946 100644
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/common/undeploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/common/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/deploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/deploy.sh
index 1370667..87ede71 100755
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/deploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="ec2"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/undeploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/undeploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/ec2/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/deploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/deploy.sh
index 32eff3c..882c97e 100755
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/deploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
iaas="kubernetes"
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/undeploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/undeploy.sh
index 0054670..450e154 100644
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/undeploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/kubernetes/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/mock/deploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/mock/deploy.sh
index 93f8517..d2dbc4c 100755
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/mock/deploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/mock/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/sh
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="mock"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/mock/undeploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/mock/undeploy.sh
index 17d8c71..aa246e6 100755
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/mock/undeploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/mock/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/deploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/deploy.sh
index 4c39959..b29bb3c 100755
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/deploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="openstack"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/undeploy.sh b/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/undeploy.sh
+++ b/samples/applications/nested/single-level-nested-groups-app/scripts/openstack/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/common/deploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/common/deploy.sh
index 41d4d3e..ef23499 100755
--- a/samples/applications/scaling/app-bursting-pattern/scripts/common/deploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/common/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas=$1
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/common/undeploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/common/undeploy.sh
index 2a05ba5..a47531c 100644
--- a/samples/applications/scaling/app-bursting-pattern/scripts/common/undeploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/common/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/ec2/deploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/ec2/deploy.sh
index 1370667..87ede71 100755
--- a/samples/applications/scaling/app-bursting-pattern/scripts/ec2/deploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/ec2/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="ec2"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/ec2/undeploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/ec2/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/app-bursting-pattern/scripts/ec2/undeploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/ec2/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/deploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/deploy.sh
index eab754c..27c88c1 100755
--- a/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/deploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
iaas="kubernetes"
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/undeploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/undeploy.sh
index 0054670..450e154 100755
--- a/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/undeploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/kubernetes/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/mock/deploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/mock/deploy.sh
index 93f8517..d2dbc4c 100755
--- a/samples/applications/scaling/app-bursting-pattern/scripts/mock/deploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/mock/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/sh
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="mock"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/mock/undeploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/mock/undeploy.sh
index 17d8c71..aa246e6 100755
--- a/samples/applications/scaling/app-bursting-pattern/scripts/mock/undeploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/mock/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/openstack/deploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/openstack/deploy.sh
index 4c39959..b29bb3c 100755
--- a/samples/applications/scaling/app-bursting-pattern/scripts/openstack/deploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/openstack/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="openstack"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/app-bursting-pattern/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/app-bursting-pattern/scripts/openstack/undeploy.sh b/samples/applications/scaling/app-bursting-pattern/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/app-bursting-pattern/scripts/openstack/undeploy.sh
+++ b/samples/applications/scaling/app-bursting-pattern/scripts/openstack/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/deploy.sh
index d0c5dbb..3fcdae7 100755
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas=$1
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh
index 2639156..26d9c0c 100644
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/common/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/deploy.sh
index 1370667..87ede71 100755
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="ec2"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/ec2/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/deploy.sh
index 32eff3c..882c97e 100755
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
iaas="kubernetes"
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/undeploy.sh
index 0054670..450e154 100644
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/kubernetes/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/deploy.sh
index 93f8517..d2dbc4c 100755
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/sh
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="mock"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/undeploy.sh
index 17d8c71..aa246e6 100755
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/mock/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/deploy.sh
index 4c39959..b29bb3c 100755
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="openstack"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-cartridges/scripts/openstack/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/deploy.sh
index 7f093d0..11576c8 100755
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas=$1
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/undeploy.sh
index 755852e..178bb29 100644
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/common/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/deploy.sh
index 1370667..87ede71 100755
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="ec2"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/ec2/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/deploy.sh
index 32eff3c..882c97e 100755
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
iaas="kubernetes"
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/undeploy.sh
index 0054670..450e154 100644
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/kubernetes/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/deploy.sh
index 93f8517..d2dbc4c 100755
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/sh
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="mock"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/undeploy.sh
index 17d8c71..aa246e6 100755
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/mock/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/deploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/deploy.sh
index 4c39959..b29bb3c 100755
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/deploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="openstack"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/undeploy.sh b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/undeploy.sh
+++ b/samples/applications/scaling/dependent-scaling/sample-groups/scripts/openstack/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/deploy.sh
index 5114c50..955b211 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas=$1
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/undeploy.sh
index 7479137..e7956c0 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/common/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/deploy.sh
index 1370667..87ede71 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="ec2"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/ec2/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/deploy.sh
index 32eff3c..882c97e 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
iaas="kubernetes"
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/undeploy.sh
index 0054670..450e154 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/kubernetes/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/deploy.sh
index 93f8517..d2dbc4c 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/sh
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="mock"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/undeploy.sh
index 17d8c71..aa246e6 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/mock/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/deploy.sh
index 4c39959..b29bb3c 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas="openstack"
prgdir=`dirname "$0"`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-app/scripts/openstack/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
prgdir=`dirname "$0"`
script_path=`cd "$prgdir"; pwd`
common_folder=`cd "${script_path}/../common"; pwd`
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/deploy.sh
index 999b362..5b5a4a1 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/deploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
iaas=$1
host_ip="localhost"
host_port=9443
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/undeploy.sh
index 9921107..00c2384 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/common/undeploy.sh
@@ -1,5 +1,25 @@
#!/bin/bash
-
+# --------------------------------------------------------------
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+# --------------------------------------------------------------
+#
host_ip="localhost"
host_port=9443