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:38 UTC
[03/15] stratos git commit: Adding missing license headers in files
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/ec2/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/ec2/deploy.sh
index 1370667..87ede71 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/ec2/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/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-v1/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/ec2/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/ec2/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/ec2/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/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-v1/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/kubernetes/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/kubernetes/deploy.sh
index 32eff3c..882c97e 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/kubernetes/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/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-v1/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/kubernetes/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/kubernetes/undeploy.sh
index 0054670..450e154 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/kubernetes/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/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-v1/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/mock/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/mock/deploy.sh
index 93f8517..d2dbc4c 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/mock/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/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-v1/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/mock/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/mock/undeploy.sh
index 17d8c71..aa246e6 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/mock/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/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-v1/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/openstack/deploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/openstack/deploy.sh
index 4c39959..b29bb3c 100755
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/openstack/deploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/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-v1/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/openstack/undeploy.sh b/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/group-scaling/group-scaling-v1/scripts/openstack/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/group-scaling-v1/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/single-group-group-scaling/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/common/deploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/common/deploy.sh
index ebacb3a..514d637 100755
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/common/deploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/single-group-group-scaling/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/common/undeploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/common/undeploy.sh
index 5c90f61..fcc543a 100644
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/common/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/single-group-group-scaling/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/ec2/deploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/ec2/deploy.sh
index 1370667..87ede71 100755
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/ec2/deploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/single-group-group-scaling/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/ec2/undeploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/ec2/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/ec2/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/single-group-group-scaling/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/kubernetes/deploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/kubernetes/deploy.sh
index 32eff3c..882c97e 100755
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/kubernetes/deploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/single-group-group-scaling/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/kubernetes/undeploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/kubernetes/undeploy.sh
index 0054670..450e154 100644
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/kubernetes/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/single-group-group-scaling/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/mock/deploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/mock/deploy.sh
index 93f8517..d2dbc4c 100755
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/mock/deploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/single-group-group-scaling/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/mock/undeploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/mock/undeploy.sh
index 17d8c71..aa246e6 100755
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/mock/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/single-group-group-scaling/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/openstack/deploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/openstack/deploy.sh
index 4c39959..b29bb3c 100755
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/openstack/deploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/single-group-group-scaling/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/openstack/undeploy.sh b/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/scaling/group-scaling/single-group-group-scaling/scripts/openstack/undeploy.sh
+++ b/samples/applications/scaling/group-scaling/single-group-group-scaling/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/simple/single-cartridge-app/scripts/common/add-domain-mappings.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/add-domain-mappings.sh b/samples/applications/simple/single-cartridge-app/scripts/common/add-domain-mappings.sh
index 74c6ed7..2e8c12f 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/common/add-domain-mappings.sh
+++ b/samples/applications/simple/single-cartridge-app/scripts/common/add-domain-mappings.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.
+#
+# --------------------------------------------------------------
+#
export host_ip="localhost"
export artifacts_path="../../artifacts"
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/simple/single-cartridge-app/scripts/common/add-network-partition.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/add-network-partition.sh b/samples/applications/simple/single-cartridge-app/scripts/common/add-network-partition.sh
index 56c7c6c..af68832 100644
--- a/samples/applications/simple/single-cartridge-app/scripts/common/add-network-partition.sh
+++ b/samples/applications/simple/single-cartridge-app/scripts/common/add-network-partition.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.
+#
+# --------------------------------------------------------------
+#
export host_ip="localhost"
export artifacts_path="../../artifacts"
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/simple/single-cartridge-app/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/deploy.sh b/samples/applications/simple/single-cartridge-app/scripts/common/deploy.sh
index a94c525..48564a9 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/common/deploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-cartridge-app/scripts/common/get-application-runtime.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/get-application-runtime.sh b/samples/applications/simple/single-cartridge-app/scripts/common/get-application-runtime.sh
index ed80688..1715f81 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/common/get-application-runtime.sh
+++ b/samples/applications/simple/single-cartridge-app/scripts/common/get-application-runtime.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/simple/single-cartridge-app/scripts/common/list-domain-mappings.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/list-domain-mappings.sh b/samples/applications/simple/single-cartridge-app/scripts/common/list-domain-mappings.sh
index 0b49f6f..9fc62a7 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/common/list-domain-mappings.sh
+++ b/samples/applications/simple/single-cartridge-app/scripts/common/list-domain-mappings.sh
@@ -1,4 +1,24 @@
#!/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.
+#
+# --------------------------------------------------------------
+#
echo "Listing domain mappings..."
curl -X GET -H "Content-Type: application/json" -k -u admin:admin https://localhost:9443/api/applications/single-cartridge-app/domainMappings
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/simple/single-cartridge-app/scripts/common/list-network-partition.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/list-network-partition.sh b/samples/applications/simple/single-cartridge-app/scripts/common/list-network-partition.sh
index 6e3812d..34b6d86 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/common/list-network-partition.sh
+++ b/samples/applications/simple/single-cartridge-app/scripts/common/list-network-partition.sh
@@ -1,4 +1,24 @@
#!/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.
+#
+# --------------------------------------------------------------
+#
echo "Listing network partitions..."
curl -X GET -H "Content-Type: application/json" -k -u admin:admin https://localhost:9443/api/networkPartitions
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/samples/applications/simple/single-cartridge-app/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/undeploy.sh b/samples/applications/simple/single-cartridge-app/scripts/common/undeploy.sh
index b0174b8..3076ee0 100644
--- a/samples/applications/simple/single-cartridge-app/scripts/common/undeploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-cartridge-app/scripts/common/update-deployment-policy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/update-deployment-policy.sh b/samples/applications/simple/single-cartridge-app/scripts/common/update-deployment-policy.sh
index d28fb40..48ef676 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/common/update-deployment-policy.sh
+++ b/samples/applications/simple/single-cartridge-app/scripts/common/update-deployment-policy.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/simple/single-cartridge-app/scripts/common/update-network-partition.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/common/update-network-partition.sh b/samples/applications/simple/single-cartridge-app/scripts/common/update-network-partition.sh
index 376dd6c..f64be27 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/common/update-network-partition.sh
+++ b/samples/applications/simple/single-cartridge-app/scripts/common/update-network-partition.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/simple/single-cartridge-app/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/ec2/deploy.sh b/samples/applications/simple/single-cartridge-app/scripts/ec2/deploy.sh
index 1370667..87ede71 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/ec2/deploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-cartridge-app/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/ec2/undeploy.sh b/samples/applications/simple/single-cartridge-app/scripts/ec2/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/simple/single-cartridge-app/scripts/ec2/undeploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-cartridge-app/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/kubernetes/deploy.sh b/samples/applications/simple/single-cartridge-app/scripts/kubernetes/deploy.sh
index eab754c..27c88c1 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/kubernetes/deploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-cartridge-app/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/kubernetes/undeploy.sh b/samples/applications/simple/single-cartridge-app/scripts/kubernetes/undeploy.sh
index 0054670..450e154 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/kubernetes/undeploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-cartridge-app/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/mock/deploy.sh b/samples/applications/simple/single-cartridge-app/scripts/mock/deploy.sh
index 93f8517..d2dbc4c 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/mock/deploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-cartridge-app/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/mock/undeploy.sh b/samples/applications/simple/single-cartridge-app/scripts/mock/undeploy.sh
index 17d8c71..aa246e6 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/mock/undeploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-cartridge-app/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/openstack/deploy.sh b/samples/applications/simple/single-cartridge-app/scripts/openstack/deploy.sh
index 4c39959..b29bb3c 100755
--- a/samples/applications/simple/single-cartridge-app/scripts/openstack/deploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-cartridge-app/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-cartridge-app/scripts/openstack/undeploy.sh b/samples/applications/simple/single-cartridge-app/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/simple/single-cartridge-app/scripts/openstack/undeploy.sh
+++ b/samples/applications/simple/single-cartridge-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/simple/single-group-app/scripts/common/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/common/deploy.sh b/samples/applications/simple/single-group-app/scripts/common/deploy.sh
index 10bf6b3..260a1e3 100755
--- a/samples/applications/simple/single-group-app/scripts/common/deploy.sh
+++ b/samples/applications/simple/single-group-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/simple/single-group-app/scripts/common/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/common/undeploy.sh b/samples/applications/simple/single-group-app/scripts/common/undeploy.sh
index b97b398..5e540c5 100644
--- a/samples/applications/simple/single-group-app/scripts/common/undeploy.sh
+++ b/samples/applications/simple/single-group-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/simple/single-group-app/scripts/ec2/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/ec2/deploy.sh b/samples/applications/simple/single-group-app/scripts/ec2/deploy.sh
index 1370667..87ede71 100755
--- a/samples/applications/simple/single-group-app/scripts/ec2/deploy.sh
+++ b/samples/applications/simple/single-group-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/simple/single-group-app/scripts/ec2/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/ec2/undeploy.sh b/samples/applications/simple/single-group-app/scripts/ec2/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/simple/single-group-app/scripts/ec2/undeploy.sh
+++ b/samples/applications/simple/single-group-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/simple/single-group-app/scripts/kubernetes/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/kubernetes/deploy.sh b/samples/applications/simple/single-group-app/scripts/kubernetes/deploy.sh
index c8f11f7..5742c6a 100755
--- a/samples/applications/simple/single-group-app/scripts/kubernetes/deploy.sh
+++ b/samples/applications/simple/single-group-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/simple/single-group-app/scripts/kubernetes/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/kubernetes/undeploy.sh b/samples/applications/simple/single-group-app/scripts/kubernetes/undeploy.sh
index 0054670..450e154 100644
--- a/samples/applications/simple/single-group-app/scripts/kubernetes/undeploy.sh
+++ b/samples/applications/simple/single-group-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/simple/single-group-app/scripts/mock/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/mock/deploy.sh b/samples/applications/simple/single-group-app/scripts/mock/deploy.sh
index 93f8517..d2dbc4c 100755
--- a/samples/applications/simple/single-group-app/scripts/mock/deploy.sh
+++ b/samples/applications/simple/single-group-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/simple/single-group-app/scripts/mock/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/mock/undeploy.sh b/samples/applications/simple/single-group-app/scripts/mock/undeploy.sh
index 17d8c71..aa246e6 100755
--- a/samples/applications/simple/single-group-app/scripts/mock/undeploy.sh
+++ b/samples/applications/simple/single-group-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/simple/single-group-app/scripts/openstack/deploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/openstack/deploy.sh b/samples/applications/simple/single-group-app/scripts/openstack/deploy.sh
index 4c39959..b29bb3c 100755
--- a/samples/applications/simple/single-group-app/scripts/openstack/deploy.sh
+++ b/samples/applications/simple/single-group-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/simple/single-group-app/scripts/openstack/undeploy.sh
----------------------------------------------------------------------
diff --git a/samples/applications/simple/single-group-app/scripts/openstack/undeploy.sh b/samples/applications/simple/single-group-app/scripts/openstack/undeploy.sh
index 17d8c71..aa246e6 100644
--- a/samples/applications/simple/single-group-app/scripts/openstack/undeploy.sh
+++ b/samples/applications/simple/single-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/cartridges/mock/postgres
----------------------------------------------------------------------
diff --git a/samples/cartridges/mock/postgres b/samples/cartridges/mock/postgres
deleted file mode 100755
index 2afdf3c..0000000
--- a/samples/cartridges/mock/postgres
+++ /dev/null
@@ -1,47 +0,0 @@
-{
- "type": "mysql",
- "provider": "apache",
- "host": "stratos.apache.org",
- "category": "data",
- "displayName": "c4",
- "description": "mysql Cartridge",
- "version": "7",
- "multiTenant": "false",
- "portMapping": [
- {
- "protocol": "http",
- "port": "22",
- "proxyPort": "8280"
- }
- ],
- "deployment": {
- },
- "iaasProvider": [
- {
- "type": "mock",
- "imageId": "RegionOne/b4ca55e3-58ab-4937-82ce-817ebd10240e",
- "networkInterfaces": [
- {
- "name": "network-non-routable",
- "networkUuid": "b55f009a-1cc6-4b17-924f-4ae0ee18db5e"
- }
- ],
-
- "property": [
- {
- "name": "instanceType",
- "value": "RegionOne/aa5f45a2-c6d6-419d-917a-9dd2e3888594"
- },
- {
- "name": "keyPair",
- "value": "vishanth-key"
- },
- {
- "name": "securityGroups",
- "value": "default"
- }
- ]
- }
- ],
- "metadataKeys":["server_ip","username","password"]
-}
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl b/service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
index 6df34ae..54e14b1 100644
--- a/service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
+++ b/service-stubs/org.apache.stratos.autoscaler.service.stub/src/main/resources/AutoscalerService.wsdl
@@ -1,4 +1,27 @@
+<<<<<<< HEAD
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://impl.services.autoscaler.stratos.apache.org" xmlns:ax27="http://rmi.java/xsd" xmlns:ax28="http://io.java/xsd" xmlns:ax23="http://common.stratos.apache.org/xsd" xmlns:ax21="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax22="http://partition.common.stratos.apache.org/xsd" xmlns:ax218="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax215="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax222="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax213="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax211="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:ax224="http://pojo.applications.au
toscaler.stratos.apache.org/xsd" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
+=======
+<!--
+ ~ 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.
+ -->
+
+<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax29="http://rmi.java/xsd" xmlns:ns="http://impl.services.autoscaler.stratos.apache.org" xmlns:ax25="http://common.stratos.apache.org/xsd" xmlns:ax23="http://deployment.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax24="http://partition.common.stratos.apache.org/xsd" xmlns:ax21="http://autoscale.policy.pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax217="http://application.exception.autoscaler.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ax215="http://exception.autoscaler.stratos.apache.org/xsd" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ax220="http://pojo.applications.autoscaler.stratos.apache.org/xsd" xmlns:ax213="http://policy.exception.autoscaler.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax223="http://pojo.autoscaler.stratos.apache.org/xsd" xmlns:ax210="http://io.java/xsd" xmlns:http="http:/
/schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.autoscaler.stratos.apache.org">
+>>>>>>> ce6e4bd... Adding missing license headers in files
<wsdl:types>
<xs:schema xmlns:ax29="http://io.java/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://rmi.java/xsd">
<xs:import namespace="http://io.java/xsd"/>
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl b/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
index 3afd9d8..1600c09 100644
--- a/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
+++ b/service-stubs/org.apache.stratos.cloud.controller.service.stub/src/main/resources/CloudControllerService.wsdl
@@ -1,3 +1,22 @@
+<!--
+ ~ 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.
+ -->
+
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ax29="http://topology.domain.messaging.stratos.apache.org/xsd" xmlns:ns="http://impl.services.controller.cloud.stratos.apache.org" xmlns:ax27="http://domain.common.stratos.apache.org/xsd" xmlns:ax23="http://domain.controller.cloud.stratos.apache.org/xsd" xmlns:ax24="http://common.stratos.apache.org/xsd" xmlns:ax21="http://exception.controller.cloud.stratos.apache.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax211="http://kubernetes.domain.controller.cloud.stratos.apache.org/xsd" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.controller.cloud.stratos.apache.org">
<wsdl:types>
<xs:schema xmlns:ax213="http://kubernetes.domain.controller.cloud.stratos.apache.org/xsd" xmlns:ax210="http://topology.domain.messaging.stratos.apache.org/xsd" xmlns:ax26="http://domain.controller.cloud.stratos.apache.org/xsd" xmlns:ax22="http://exception.controller.cloud.stratos.apache.org/xsd" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://impl.services.controller.cloud.stratos.apache.org">
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl
----------------------------------------------------------------------
diff --git a/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl b/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl
index 31a0c49..48b3401 100644
--- a/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl
+++ b/service-stubs/org.apache.stratos.manager.service.stub/src/main/resources/StratosManagerService.wsdl
@@ -1,3 +1,22 @@
+<!--
+ ~ 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.
+ -->
+
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://impl.services.manager.stratos.apache.org" xmlns:ax240="http://signup.application.domain.messaging.stratos.apache.org/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax238="http://exception.manager.stratos.apache.org/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://impl.services.manager.stratos.apache.org">
<wsdl:documentation>StratosManagerService</wsdl:documentation>
<wsdl:types>
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/tools/automation-scripts/grouping-automation-script/deployment_script.sh
----------------------------------------------------------------------
diff --git a/tools/automation-scripts/grouping-automation-script/deployment_script.sh b/tools/automation-scripts/grouping-automation-script/deployment_script.sh
index a0740cf..3982119 100755
--- a/tools/automation-scripts/grouping-automation-script/deployment_script.sh
+++ b/tools/automation-scripts/grouping-automation-script/deployment_script.sh
@@ -1,4 +1,24 @@
#!/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.
+#
+# ----------------------------------------------------------------------------
curl -X POST -H "Content-Type: application/json" -d@'samples/ec2/p1.json' -k -v -u admin:admin https://localhost:9443/stratos/admin/policy/deployment/partition
http://git-wip-us.apache.org/repos/asf/stratos/blob/b33aee67/tools/docker-images/cartridge-docker-images/service-images/php/files/000-default.conf
----------------------------------------------------------------------
diff --git a/tools/docker-images/cartridge-docker-images/service-images/php/files/000-default.conf b/tools/docker-images/cartridge-docker-images/service-images/php/files/000-default.conf
index d4148c1..22f4b76 100644
--- a/tools/docker-images/cartridge-docker-images/service-images/php/files/000-default.conf
+++ b/tools/docker-images/cartridge-docker-images/service-images/php/files/000-default.conf
@@ -1,3 +1,20 @@
+# 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.
+
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating