You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ma...@apache.org on 2013/09/05 11:29:11 UTC

git commit: Add missing licenses to files in cartridge_create

Updated Branches:
  refs/heads/master 1264c5a1a -> 4231fea76


Add missing licenses to files in cartridge_create

Signed-off-by: Manula Thantriwatte <ma...@wso2.com>


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

Branch: refs/heads/master
Commit: 4231fea76c34546173de36733cc6dc5b4716f759
Parents: 1264c5a
Author: Dinesh Bandara <di...@wso2.com>
Authored: Thu Sep 5 14:49:40 2013 +0530
Committer: Manula Thantriwatte <ma...@wso2.com>
Committed: Thu Sep 5 14:58:41 2013 +0530

----------------------------------------------------------------------
 .../init_scripts/default/default                | 21 ++++++++++++++++
 .../init_scripts/default/default.ctrg           | 21 ++++++++++++++++
 tools/cartridge_create/init_scripts/mysql/mysql | 21 ++++++++++++++++
 .../init_scripts/mysql/mysql.ctrg               | 21 ++++++++++++++++
 tools/cartridge_create/init_scripts/php/default | 17 +++++++++++++
 .../init_scripts/php/default-ssl                | 17 +++++++++++++
 tools/cartridge_create/init_scripts/php/php     | 21 ++++++++++++++++
 .../cartridge_create/init_scripts/php/php.ctrg  | 21 ++++++++++++++++
 .../init_scripts/tomcat/get-launch-params.rb    | 26 +++++++++++---------
 .../init_scripts/tomcat/payload/launch-params   | 17 +++++++++++++
 10 files changed, 191 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/default/default
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/default/default b/tools/cartridge_create/init_scripts/default/default
index 3197ea0..7d5274b 100644
--- a/tools/cartridge_create/init_scripts/default/default
+++ b/tools/cartridge_create/init_scripts/default/default
@@ -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.
+#
+# ----------------------------------------------------------------------------
+
 INSTANCE=$1
 INSTANCE_USER=$2
 KEY=$3

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/default/default.ctrg
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/default/default.ctrg b/tools/cartridge_create/init_scripts/default/default.ctrg
index 202aace..d9414f0 100644
--- a/tools/cartridge_create/init_scripts/default/default.ctrg
+++ b/tools/cartridge_create/init_scripts/default/default.ctrg
@@ -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.
+#
+# ----------------------------------------------------------------------------
+
     mv ./wso2-openstack-init.sh /opt/
     mv ./default.ctrg 
     mv ./get-launch-params.rb /opt/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/mysql/mysql
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/mysql/mysql b/tools/cartridge_create/init_scripts/mysql/mysql
index 964635f..063b14c 100644
--- a/tools/cartridge_create/init_scripts/mysql/mysql
+++ b/tools/cartridge_create/init_scripts/mysql/mysql
@@ -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.
+#
+# ----------------------------------------------------------------------------
+
 INSTANCE=$1
 INSTANCE_USER=$2
 KEY=$3

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/mysql/mysql.ctrg
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/mysql/mysql.ctrg b/tools/cartridge_create/init_scripts/mysql/mysql.ctrg
index b86e50f..0e9b9cf 100644
--- a/tools/cartridge_create/init_scripts/mysql/mysql.ctrg
+++ b/tools/cartridge_create/init_scripts/mysql/mysql.ctrg
@@ -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.
+#
+# ----------------------------------------------------------------------------
+
     mv ./wso2-cartridge-init.sh /opt/
     mv ./get-launch-params.rb /opt/
     mv ./ssl-cert-snakeoil.pem /etc/ssl/certs/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/php/default
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/php/default b/tools/cartridge_create/init_scripts/php/default
index 6ae5f0f..cbb5406 100644
--- a/tools/cartridge_create/init_scripts/php/default
+++ b/tools/cartridge_create/init_scripts/php/default
@@ -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>
 	ServerAdmin webmaster@localhost
 

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/php/default-ssl
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/php/default-ssl b/tools/cartridge_create/init_scripts/php/default-ssl
index c31aaf9..e48d3ea 100644
--- a/tools/cartridge_create/init_scripts/php/default-ssl
+++ b/tools/cartridge_create/init_scripts/php/default-ssl
@@ -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.
+
 <IfModule mod_ssl.c>
 <VirtualHost _default_:443>
 	ServerAdmin webmaster@localhost

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/php/php
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/php/php b/tools/cartridge_create/init_scripts/php/php
index 254d07e..9fe5339 100644
--- a/tools/cartridge_create/init_scripts/php/php
+++ b/tools/cartridge_create/init_scripts/php/php
@@ -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.
+#
+# ----------------------------------------------------------------------------
+
 INSTANCE=$1
 INSTANCE_USER=$2
 KEY=$3

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/php/php.ctrg
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/php/php.ctrg b/tools/cartridge_create/init_scripts/php/php.ctrg
index f481198..cbaf639 100644
--- a/tools/cartridge_create/init_scripts/php/php.ctrg
+++ b/tools/cartridge_create/init_scripts/php/php.ctrg
@@ -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.
+#
+# ----------------------------------------------------------------------------
+
     mv ./wso2-cartridge-init.sh /opt/
     mv ./get-launch-params.rb /opt/
     mv ./ssl-cert-snakeoil.pem /etc/ssl/certs/

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/tomcat/get-launch-params.rb
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/tomcat/get-launch-params.rb b/tools/cartridge_create/init_scripts/tomcat/get-launch-params.rb
index 55ede67..0948d6a 100644
--- a/tools/cartridge_create/init_scripts/tomcat/get-launch-params.rb
+++ b/tools/cartridge_create/init_scripts/tomcat/get-launch-params.rb
@@ -1,19 +1,21 @@
 #! /usr/bin/ruby
 # ----------------------------------------------------------------------------
-#  Copyright 2005-20012 WSO2, Inc. http://www.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
 #
-#  Licensed 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
 #
-#      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.
-
+# 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.
 # ----------------------------------------------------------------------------
 
 ### get-launch-params.rb

http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/4231fea7/tools/cartridge_create/init_scripts/tomcat/payload/launch-params
----------------------------------------------------------------------
diff --git a/tools/cartridge_create/init_scripts/tomcat/payload/launch-params b/tools/cartridge_create/init_scripts/tomcat/payload/launch-params
index c92f7ca..70eda77 100644
--- a/tools/cartridge_create/init_scripts/tomcat/payload/launch-params
+++ b/tools/cartridge_create/init_scripts/tomcat/payload/launch-params
@@ -1 +1,18 @@
+# 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.
+
 TENANT=1,SVNPASS=g,SVNURL=http://11.0.0.1:80/svn,APP=tomcat7