You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by ri...@apache.org on 2014/07/09 11:33:46 UTC
[42/59] [abbrv] git commit: Added apache copyright header to
properties and sh files
Added apache copyright header to properties and sh files
Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/6b14fc20
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/6b14fc20
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/6b14fc20
Branch: refs/heads/master
Commit: 6b14fc20a28f7ebf7d88f6a5fc56cb4740dbf0c9
Parents: cb0e35f
Author: Martin Harris <gi...@nakomis.com>
Authored: Thu Jul 3 13:10:18 2014 +0100
Committer: Martin Harris <gi...@nakomis.com>
Committed: Fri Jul 4 13:39:11 2014 +0100
----------------------------------------------------------------------
.../brooklyn/location/basic/os-details.sh | 18 ++++++++++++++++++
.../io.brooklyn/brooklyn-core/pom.properties | 18 ++++++++++++++++++
.../brooklyn/config/more-sample.properties | 18 ++++++++++++++++++
.../resources/brooklyn/config/sample.properties | 18 ++++++++++++++++++
.../resources/brooklyn/config/tricky.properties | 18 ++++++++++++++++++
docs/_javadoc/make-javadoc.sh | 18 ++++++++++++++++++
docs/_javadoc/quick-make-few-javadoc.sh | 18 ++++++++++++++++++
docs/_scripts/build.sh | 18 ++++++++++++++++++
docs/_scripts/jekyll-debug.sh | 18 ++++++++++++++++++
docs/use/guide/quickstart/brooklyn.properties | 18 ++++++++++++++++++
.../global-web-fabric/resources/vmc-delete-all.sh | 18 ++++++++++++++++++
.../src/main/assembly/scripts/start.sh | 18 ++++++++++++++++++
.../src/main/assembly/scripts/start.sh | 18 ++++++++++++++++++
.../brooklyn/location-metadata.properties | 18 ++++++++++++++++++
.../main/resources/sample/script/setup-server.sh | 18 ++++++++++++++++++
.../AppByType_WebClusterDatabaseExample.sh | 18 ++++++++++++++++++
.../src/main/scripts/create-all-instances.sh | 18 ++++++++++++++++++
.../examples/src/main/scripts/create-instance.sh | 18 ++++++++++++++++++
.../examples/src/main/scripts/run-at-instances.sh | 18 ++++++++++++++++++
.../examples/src/main/scripts/stop-instances.sh | 18 ++++++++++++++++++
.../entity/messaging/kafka/server.properties | 18 ++++++++++++++++++
.../entity/messaging/kafka/zookeeper.properties | 18 ++++++++++++++++++
.../nosql/cassandra/cassandra-rackdc.properties | 18 ++++++++++++++++++
.../test/resources/solr/example/core.properties | 18 ++++++++++++++++++
usage/all/start-mgmt-web.sh | 18 ++++++++++++++++++
.../src/main/assembly/scripts/start.sh | 18 ++++++++++++++++++
.../integration-test-1/archetype.properties | 18 ++++++++++++++++++
usage/qa/start-monitor.sh | 18 ++++++++++++++++++
usage/qa/start-webcluster.sh | 18 ++++++++++++++++++
usage/scripts/change-version.sh | 18 ++++++++++++++++++
usage/scripts/grep-in-poms.sh | 18 ++++++++++++++++++
31 files changed, 558 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/core/src/main/resources/brooklyn/location/basic/os-details.sh
----------------------------------------------------------------------
diff --git a/core/src/main/resources/brooklyn/location/basic/os-details.sh b/core/src/main/resources/brooklyn/location/basic/os-details.sh
index 1400279..29fdb73 100755
--- a/core/src/main/resources/brooklyn/location/basic/os-details.sh
+++ b/core/src/main/resources/brooklyn/location/basic/os-details.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
# /etc/os-release is the new-ish standard for specifying OS details.
# See http://www.freedesktop.org/software/systemd/man/os-release.html.
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/core/src/test/resources/META-INF/maven/io.brooklyn/brooklyn-core/pom.properties
----------------------------------------------------------------------
diff --git a/core/src/test/resources/META-INF/maven/io.brooklyn/brooklyn-core/pom.properties b/core/src/test/resources/META-INF/maven/io.brooklyn/brooklyn-core/pom.properties
index 682c267..c7fce3e 100644
--- a/core/src/test/resources/META-INF/maven/io.brooklyn/brooklyn-core/pom.properties
+++ b/core/src/test/resources/META-INF/maven/io.brooklyn/brooklyn-core/pom.properties
@@ -1,3 +1,21 @@
+#
+# 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.
+#
# Dummy pom.properties file for testing
version=0.0.0-SNAPSHOT
groupId=io.brooklyn
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/core/src/test/resources/brooklyn/config/more-sample.properties
----------------------------------------------------------------------
diff --git a/core/src/test/resources/brooklyn/config/more-sample.properties b/core/src/test/resources/brooklyn/config/more-sample.properties
index 5934511..d1e5beb 100644
--- a/core/src/test/resources/brooklyn/config/more-sample.properties
+++ b/core/src/test/resources/brooklyn/config/more-sample.properties
@@ -1,2 +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.
+#
P3=Property 3
P1=Property 1 v2
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/core/src/test/resources/brooklyn/config/sample.properties
----------------------------------------------------------------------
diff --git a/core/src/test/resources/brooklyn/config/sample.properties b/core/src/test/resources/brooklyn/config/sample.properties
index 19bb737..e5686ce 100644
--- a/core/src/test/resources/brooklyn/config/sample.properties
+++ b/core/src/test/resources/brooklyn/config/sample.properties
@@ -1,2 +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.
+#
P1=Property 1
P2=Property 2
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/core/src/test/resources/brooklyn/config/tricky.properties
----------------------------------------------------------------------
diff --git a/core/src/test/resources/brooklyn/config/tricky.properties b/core/src/test/resources/brooklyn/config/tricky.properties
index 661877d..79d9eae 100644
--- a/core/src/test/resources/brooklyn/config/tricky.properties
+++ b/core/src/test/resources/brooklyn/config/tricky.properties
@@ -1,3 +1,21 @@
+#
+# 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.
+#
P1=Property 1 v3
P1=Property 1 v4
a.b.c=d.e.f
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/docs/_javadoc/make-javadoc.sh
----------------------------------------------------------------------
diff --git a/docs/_javadoc/make-javadoc.sh b/docs/_javadoc/make-javadoc.sh
index 004e186..4f0e541 100755
--- a/docs/_javadoc/make-javadoc.sh
+++ b/docs/_javadoc/make-javadoc.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
if [ -z "$GROOVY_CMD" ] ; then
if [ ! -z "$GROOVY_HOME" ] ; then
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/docs/_javadoc/quick-make-few-javadoc.sh
----------------------------------------------------------------------
diff --git a/docs/_javadoc/quick-make-few-javadoc.sh b/docs/_javadoc/quick-make-few-javadoc.sh
index ecc9c88..09a56c4 100755
--- a/docs/_javadoc/quick-make-few-javadoc.sh
+++ b/docs/_javadoc/quick-make-few-javadoc.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
if [ -z "$GROOVY_CMD" ] ; then
if [ ! -z "$GROOVY_HOME" ] ; then
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/docs/_scripts/build.sh
----------------------------------------------------------------------
diff --git a/docs/_scripts/build.sh b/docs/_scripts/build.sh
index aa0575b..3691f41 100755
--- a/docs/_scripts/build.sh
+++ b/docs/_scripts/build.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
# this generates the site in _site
# override --url /myMountPoint (as an argument to this script) if you don't like the default set in /_config.yml
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/docs/_scripts/jekyll-debug.sh
----------------------------------------------------------------------
diff --git a/docs/_scripts/jekyll-debug.sh b/docs/_scripts/jekyll-debug.sh
index 10a8adb..3db704d 100755
--- a/docs/_scripts/jekyll-debug.sh
+++ b/docs/_scripts/jekyll-debug.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
# launches jekyll as a server at the / location, for easy debug
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/docs/use/guide/quickstart/brooklyn.properties
----------------------------------------------------------------------
diff --git a/docs/use/guide/quickstart/brooklyn.properties b/docs/use/guide/quickstart/brooklyn.properties
index e2817c2..8fd10fe 100644
--- a/docs/use/guide/quickstart/brooklyn.properties
+++ b/docs/use/guide/quickstart/brooklyn.properties
@@ -1,3 +1,21 @@
+#
+# 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.
+#
# This is Brooklyn's dot-properties file.
# It should be located at "~/.brooklyn/brooklyn.properties" for automatic loading,
# or can be specified as a CLI option with --localProperties /path/to/these.properties.
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/examples/global-web-fabric/resources/vmc-delete-all.sh
----------------------------------------------------------------------
diff --git a/examples/global-web-fabric/resources/vmc-delete-all.sh b/examples/global-web-fabric/resources/vmc-delete-all.sh
index 8c2ae54..256b888 100755
--- a/examples/global-web-fabric/resources/vmc-delete-all.sh
+++ b/examples/global-web-fabric/resources/vmc-delete-all.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
# deletes all vmc applications against the current target (if no args) or against all targets specified
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/examples/simple-nosql-cluster/src/main/assembly/scripts/start.sh
----------------------------------------------------------------------
diff --git a/examples/simple-nosql-cluster/src/main/assembly/scripts/start.sh b/examples/simple-nosql-cluster/src/main/assembly/scripts/start.sh
index 58810dd..5e1af9a 100644
--- a/examples/simple-nosql-cluster/src/main/assembly/scripts/start.sh
+++ b/examples/simple-nosql-cluster/src/main/assembly/scripts/start.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
if [ ! -z "$JAVA_HOME" ] ; then
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/examples/simple-web-cluster/src/main/assembly/scripts/start.sh
----------------------------------------------------------------------
diff --git a/examples/simple-web-cluster/src/main/assembly/scripts/start.sh b/examples/simple-web-cluster/src/main/assembly/scripts/start.sh
index 8d27b39..3989f25 100755
--- a/examples/simple-web-cluster/src/main/assembly/scripts/start.sh
+++ b/examples/simple-web-cluster/src/main/assembly/scripts/start.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
if [ -z "$BROOKLYN_APP_CLASS" ] ; then
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/locations/jclouds/src/main/resources/brooklyn/location-metadata.properties
----------------------------------------------------------------------
diff --git a/locations/jclouds/src/main/resources/brooklyn/location-metadata.properties b/locations/jclouds/src/main/resources/brooklyn/location-metadata.properties
index 21d8a72..8b48d55 100644
--- a/locations/jclouds/src/main/resources/brooklyn/location-metadata.properties
+++ b/locations/jclouds/src/main/resources/brooklyn/location-metadata.properties
@@ -1,3 +1,21 @@
+#
+# 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.
+#
###########################################################
# AWS
###########################################################
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/locations/jclouds/src/main/resources/sample/script/setup-server.sh
----------------------------------------------------------------------
diff --git a/locations/jclouds/src/main/resources/sample/script/setup-server.sh b/locations/jclouds/src/main/resources/sample/script/setup-server.sh
index b45beca..3968043 100644
--- a/locations/jclouds/src/main/resources/sample/script/setup-server.sh
+++ b/locations/jclouds/src/main/resources/sample/script/setup-server.sh
@@ -1,3 +1,21 @@
+#
+# 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 Appending nameserver 8.8.8.8 to /etc/resolv.conf
sudo -s -- '/bin/echo nameserver 8.8.8.8 >> /etc/resolv.conf'
unset OS
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/sandbox/dropwizard/samples/AppByType_WebClusterDatabaseExample.sh
----------------------------------------------------------------------
diff --git a/sandbox/dropwizard/samples/AppByType_WebClusterDatabaseExample.sh b/sandbox/dropwizard/samples/AppByType_WebClusterDatabaseExample.sh
index 14702c3..a5b3dd8 100755
--- a/sandbox/dropwizard/samples/AppByType_WebClusterDatabaseExample.sh
+++ b/sandbox/dropwizard/samples/AppByType_WebClusterDatabaseExample.sh
@@ -1,2 +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.
+#
# this requires that the simple-web-example is included on the classpath
curl -u admin:admin -H Content-Type:application/json -d @AppByType_WebClusterDatabaseExample.json http://localhost:8090/v1/applications
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/sandbox/examples/src/main/scripts/create-all-instances.sh
----------------------------------------------------------------------
diff --git a/sandbox/examples/src/main/scripts/create-all-instances.sh b/sandbox/examples/src/main/scripts/create-all-instances.sh
index c9ec23e..be36e8a 100755
--- a/sandbox/examples/src/main/scripts/create-all-instances.sh
+++ b/sandbox/examples/src/main/scripts/create-all-instances.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash -x
# Creates an instance in each of the given regions.
# Must supply the directory with the ssh-key that aws generated for that region,
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/sandbox/examples/src/main/scripts/create-instance.sh
----------------------------------------------------------------------
diff --git a/sandbox/examples/src/main/scripts/create-instance.sh b/sandbox/examples/src/main/scripts/create-instance.sh
index 5100e4f..3f14a1c 100755
--- a/sandbox/examples/src/main/scripts/create-instance.sh
+++ b/sandbox/examples/src/main/scripts/create-instance.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
# Creates an instance in each of the given region.
# Must supply the ami to use,
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/sandbox/examples/src/main/scripts/run-at-instances.sh
----------------------------------------------------------------------
diff --git a/sandbox/examples/src/main/scripts/run-at-instances.sh b/sandbox/examples/src/main/scripts/run-at-instances.sh
index 24311ee..01fe8f2 100755
--- a/sandbox/examples/src/main/scripts/run-at-instances.sh
+++ b/sandbox/examples/src/main/scripts/run-at-instances.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
if [ -z "$1" ]; then
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/sandbox/examples/src/main/scripts/stop-instances.sh
----------------------------------------------------------------------
diff --git a/sandbox/examples/src/main/scripts/stop-instances.sh b/sandbox/examples/src/main/scripts/stop-instances.sh
index df171fc..9e8489b 100755
--- a/sandbox/examples/src/main/scripts/stop-instances.sh
+++ b/sandbox/examples/src/main/scripts/stop-instances.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
INSTANCES=`cat instances.txt | cut -d " " -f 2`
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/server.properties
----------------------------------------------------------------------
diff --git a/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/server.properties b/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/server.properties
index 2398937..dacb3b8 100644
--- a/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/server.properties
+++ b/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/server.properties
@@ -1,3 +1,21 @@
+#
+# 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.
+#
[#ftl]
# Copyright 2013 by Cloudsoft Corp.
#
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/zookeeper.properties
----------------------------------------------------------------------
diff --git a/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/zookeeper.properties b/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/zookeeper.properties
index 4827480..b17d4c8 100644
--- a/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/zookeeper.properties
+++ b/software/messaging/src/main/resources/brooklyn/entity/messaging/kafka/zookeeper.properties
@@ -1,3 +1,21 @@
+#
+# 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.
+#
[#ftl]
# Copyright 2013 by Cloudsoft Corp.
#
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/software/nosql/src/main/resources/brooklyn/entity/nosql/cassandra/cassandra-rackdc.properties
----------------------------------------------------------------------
diff --git a/software/nosql/src/main/resources/brooklyn/entity/nosql/cassandra/cassandra-rackdc.properties b/software/nosql/src/main/resources/brooklyn/entity/nosql/cassandra/cassandra-rackdc.properties
index 8fc323a..dec842d 100644
--- a/software/nosql/src/main/resources/brooklyn/entity/nosql/cassandra/cassandra-rackdc.properties
+++ b/software/nosql/src/main/resources/brooklyn/entity/nosql/cassandra/cassandra-rackdc.properties
@@ -1,3 +1,21 @@
+#
+# 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.
+#
# See http://www.datastax.com/docs/1.1/cluster_architecture/replication
# Note publicip/privateip added for use by custom MultiCloudSnitch
dc=${entity.datacenterName}
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/software/nosql/src/test/resources/solr/example/core.properties
----------------------------------------------------------------------
diff --git a/software/nosql/src/test/resources/solr/example/core.properties b/software/nosql/src/test/resources/solr/example/core.properties
index 2db7f2e..fb53c4b 100644
--- a/software/nosql/src/test/resources/solr/example/core.properties
+++ b/software/nosql/src/test/resources/solr/example/core.properties
@@ -1 +1,19 @@
+#
+# 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.
+#
name=example
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/usage/all/start-mgmt-web.sh
----------------------------------------------------------------------
diff --git a/usage/all/start-mgmt-web.sh b/usage/all/start-mgmt-web.sh
index 991be5e..36cda8c 100755
--- a/usage/all/start-mgmt-web.sh
+++ b/usage/all/start-mgmt-web.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
#
# Brooklyn Management
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/usage/archetypes/quickstart/src/brooklyn-sample/src/main/assembly/scripts/start.sh
----------------------------------------------------------------------
diff --git a/usage/archetypes/quickstart/src/brooklyn-sample/src/main/assembly/scripts/start.sh b/usage/archetypes/quickstart/src/brooklyn-sample/src/main/assembly/scripts/start.sh
index 44633cf..a396db4 100755
--- a/usage/archetypes/quickstart/src/brooklyn-sample/src/main/assembly/scripts/start.sh
+++ b/usage/archetypes/quickstart/src/brooklyn-sample/src/main/assembly/scripts/start.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
if [ ! -z "$JAVA_HOME" ] ; then
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/usage/archetypes/quickstart/src/test/resources/projects/integration-test-1/archetype.properties
----------------------------------------------------------------------
diff --git a/usage/archetypes/quickstart/src/test/resources/projects/integration-test-1/archetype.properties b/usage/archetypes/quickstart/src/test/resources/projects/integration-test-1/archetype.properties
index 7fa708f..d1f4da4 100644
--- a/usage/archetypes/quickstart/src/test/resources/projects/integration-test-1/archetype.properties
+++ b/usage/archetypes/quickstart/src/test/resources/projects/integration-test-1/archetype.properties
@@ -1,3 +1,21 @@
+#
+# 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.
+#
groupId=com.acme.sample
artifactId=brooklyn-sample
version=0.1.0-SNAPSHOT
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/usage/qa/start-monitor.sh
----------------------------------------------------------------------
diff --git a/usage/qa/start-monitor.sh b/usage/qa/start-monitor.sh
index f78d80e..1ed419d 100755
--- a/usage/qa/start-monitor.sh
+++ b/usage/qa/start-monitor.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
#
# Brooklyn Management
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/usage/qa/start-webcluster.sh
----------------------------------------------------------------------
diff --git a/usage/qa/start-webcluster.sh b/usage/qa/start-webcluster.sh
index 692a66b..7ed5afb 100755
--- a/usage/qa/start-webcluster.sh
+++ b/usage/qa/start-webcluster.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
#
# Brooklyn Management
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/usage/scripts/change-version.sh
----------------------------------------------------------------------
diff --git a/usage/scripts/change-version.sh b/usage/scripts/change-version.sh
index d4af54b..46ab939 100755
--- a/usage/scripts/change-version.sh
+++ b/usage/scripts/change-version.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
# changes the BROOKLYN version everywhere
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/6b14fc20/usage/scripts/grep-in-poms.sh
----------------------------------------------------------------------
diff --git a/usage/scripts/grep-in-poms.sh b/usage/scripts/grep-in-poms.sh
index ecab93b..a4504ac 100755
--- a/usage/scripts/grep-in-poms.sh
+++ b/usage/scripts/grep-in-poms.sh
@@ -1,3 +1,21 @@
+#
+# 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.
+#
#!/bin/bash
# usage: run in the root dir of a project, it will grep in poms up to 3 levels deep