You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ol...@apache.org on 2012/12/08 02:05:08 UTC

[1/5] git commit: fix missing license headers

Updated Branches:
  refs/heads/master f4747f9b3 -> 3c7a42b50


fix missing license headers


Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/3c7a42b5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/3c7a42b5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/3c7a42b5

Branch: refs/heads/master
Commit: 3c7a42b504c18b6866e77bf9f52a792535cc6b4c
Parents: 2e7b5ff
Author: olivier lamy <ol...@apache.org>
Authored: Sat Dec 8 02:04:17 2012 +0100
Committer: olivier lamy <ol...@apache.org>
Committed: Sat Dec 8 02:04:17 2012 +0100

----------------------------------------------------------------------
 .../java/org/apache/helix/examples/Quickstart.java |   19 +++++++++++++++
 .../java/org/apache/helix/model/Transition.java    |   19 +++++++++++++++
 .../statemachine/StateTransitionTableBuilder.java  |   19 +++++++++++++++
 .../TestStartMultipleControllersWithSameName.java  |   19 +++++++++++++++
 .../org/apache/helix/tools/TestHelixAdminCli.java  |   19 +++++++++++++++
 pom.xml                                            |    2 -
 .../rabbitmq-consumer-group/bin/send-message.sh    |   18 ++++++++++++++
 .../rabbitmq-consumer-group/bin/setup-cluster.sh   |   18 ++++++++++++++
 .../bin/start-cluster-manager.sh                   |   18 ++++++++++++++
 .../rabbitmq-consumer-group/bin/start-consumer.sh  |   18 ++++++++++++++
 .../bin/send-message.sh                            |   18 ++++++++++++++
 .../bin/setup-cluster.sh                           |   18 ++++++++++++++
 .../bin/start-cluster-manager.sh                   |   18 ++++++++++++++
 .../bin/start-consumer.sh                          |   18 ++++++++++++++
 recipes/rsync-replicated-file-system/pom.xml       |   10 ++++++++
 15 files changed, 249 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/helix-core/src/main/java/org/apache/helix/examples/Quickstart.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/examples/Quickstart.java b/helix-core/src/main/java/org/apache/helix/examples/Quickstart.java
index f386353..38fde08 100644
--- a/helix-core/src/main/java/org/apache/helix/examples/Quickstart.java
+++ b/helix-core/src/main/java/org/apache/helix/examples/Quickstart.java
@@ -1,5 +1,24 @@
 package org.apache.helix.examples;
 
+/*
+ * 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.
+ */
+
 import java.io.File;
 import java.util.ArrayList;
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/helix-core/src/main/java/org/apache/helix/model/Transition.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/model/Transition.java b/helix-core/src/main/java/org/apache/helix/model/Transition.java
index ac2619c..0accfaa 100644
--- a/helix-core/src/main/java/org/apache/helix/model/Transition.java
+++ b/helix-core/src/main/java/org/apache/helix/model/Transition.java
@@ -1,5 +1,24 @@
 package org.apache.helix.model;
 
+/*
+ * 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.
+ */
+
 public class Transition
 {
   final private String _fromState;

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/helix-core/src/main/java/org/apache/helix/participant/statemachine/StateTransitionTableBuilder.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/participant/statemachine/StateTransitionTableBuilder.java b/helix-core/src/main/java/org/apache/helix/participant/statemachine/StateTransitionTableBuilder.java
index 655c1ea..0d0e9cd 100644
--- a/helix-core/src/main/java/org/apache/helix/participant/statemachine/StateTransitionTableBuilder.java
+++ b/helix-core/src/main/java/org/apache/helix/participant/statemachine/StateTransitionTableBuilder.java
@@ -1,5 +1,24 @@
 package org.apache.helix.participant.statemachine;
 
+/*
+ * 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.
+ */
+
 import java.util.ArrayList;
 import java.util.HashMap;
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/helix-core/src/test/java/org/apache/helix/integration/TestStartMultipleControllersWithSameName.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/integration/TestStartMultipleControllersWithSameName.java b/helix-core/src/test/java/org/apache/helix/integration/TestStartMultipleControllersWithSameName.java
index 3c7a9d1..311636d 100644
--- a/helix-core/src/test/java/org/apache/helix/integration/TestStartMultipleControllersWithSameName.java
+++ b/helix-core/src/test/java/org/apache/helix/integration/TestStartMultipleControllersWithSameName.java
@@ -1,5 +1,24 @@
 package org.apache.helix.integration;
 
+/*
+ * 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.
+ */
+
 import java.util.Date;
 
 import org.apache.helix.PropertyPathConfig;

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/helix-core/src/test/java/org/apache/helix/tools/TestHelixAdminCli.java
----------------------------------------------------------------------
diff --git a/helix-core/src/test/java/org/apache/helix/tools/TestHelixAdminCli.java b/helix-core/src/test/java/org/apache/helix/tools/TestHelixAdminCli.java
index 38be0d4..e5aa1fd 100644
--- a/helix-core/src/test/java/org/apache/helix/tools/TestHelixAdminCli.java
+++ b/helix-core/src/test/java/org/apache/helix/tools/TestHelixAdminCli.java
@@ -1,5 +1,24 @@
 package org.apache.helix.tools;
 
+/*
+ * 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.
+ */
+
 import java.io.FileWriter;
 import java.io.PrintWriter;
 import java.util.Date;

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index abe48e7..fbb7313 100644
--- a/pom.xml
+++ b/pom.xml
@@ -428,8 +428,6 @@ under the License.
                     <exclude>*.bat</exclude>
                     <exclude>**/*.iml</exclude>
                     <exclude>.repository/**</exclude>
-                    <!-- currenty exclude this module which is not part of the build -->
-                    <exclude>recipes/rabbitmq-consumer-group/**</exclude>
                     <exclude>bump-up.command</exclude>
                     <exclude>src/main/scripts/integration-test/var/log/**</exclude>
                     <exclude>src/test/resources/static_view.txt</exclude>

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/recipes/rabbitmq-consumer-group/bin/send-message.sh
----------------------------------------------------------------------
diff --git a/recipes/rabbitmq-consumer-group/bin/send-message.sh b/recipes/rabbitmq-consumer-group/bin/send-message.sh
index 9333d71..2ad6a2c 100755
--- a/recipes/rabbitmq-consumer-group/bin/send-message.sh
+++ b/recipes/rabbitmq-consumer-group/bin/send-message.sh
@@ -1,4 +1,22 @@
 #!/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.
+#
 
 script_dir=`dirname $0`
 LIB=$script_dir/../lib

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/recipes/rabbitmq-consumer-group/bin/setup-cluster.sh
----------------------------------------------------------------------
diff --git a/recipes/rabbitmq-consumer-group/bin/setup-cluster.sh b/recipes/rabbitmq-consumer-group/bin/setup-cluster.sh
index cb7dbca..ab5bff1 100755
--- a/recipes/rabbitmq-consumer-group/bin/setup-cluster.sh
+++ b/recipes/rabbitmq-consumer-group/bin/setup-cluster.sh
@@ -1,4 +1,22 @@
 #!/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.
+#
 
 script_dir=`dirname $0`
 LIB=$script_dir/../lib

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/recipes/rabbitmq-consumer-group/bin/start-cluster-manager.sh
----------------------------------------------------------------------
diff --git a/recipes/rabbitmq-consumer-group/bin/start-cluster-manager.sh b/recipes/rabbitmq-consumer-group/bin/start-cluster-manager.sh
index fd63801..5b4ac2c 100755
--- a/recipes/rabbitmq-consumer-group/bin/start-cluster-manager.sh
+++ b/recipes/rabbitmq-consumer-group/bin/start-cluster-manager.sh
@@ -1,4 +1,22 @@
 #!/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.
+#
 
 script_dir=`dirname $0`
 LIB=$script_dir/../lib

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/recipes/rabbitmq-consumer-group/bin/start-consumer.sh
----------------------------------------------------------------------
diff --git a/recipes/rabbitmq-consumer-group/bin/start-consumer.sh b/recipes/rabbitmq-consumer-group/bin/start-consumer.sh
index 5328353..e93707b 100755
--- a/recipes/rabbitmq-consumer-group/bin/start-consumer.sh
+++ b/recipes/rabbitmq-consumer-group/bin/start-consumer.sh
@@ -1,4 +1,22 @@
 #!/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.
+#
 
 script_dir=`dirname $0`
 LIB=$script_dir/../lib

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/recipes/rsync-replicated-file-system/bin/send-message.sh
----------------------------------------------------------------------
diff --git a/recipes/rsync-replicated-file-system/bin/send-message.sh b/recipes/rsync-replicated-file-system/bin/send-message.sh
index 89ee65a..68b459c 100755
--- a/recipes/rsync-replicated-file-system/bin/send-message.sh
+++ b/recipes/rsync-replicated-file-system/bin/send-message.sh
@@ -1,4 +1,22 @@
 #!/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.
+#
 
 script_dir=`dirname $0`
 LIB=$script_dir/../lib

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/recipes/rsync-replicated-file-system/bin/setup-cluster.sh
----------------------------------------------------------------------
diff --git a/recipes/rsync-replicated-file-system/bin/setup-cluster.sh b/recipes/rsync-replicated-file-system/bin/setup-cluster.sh
index b924182..fbc2f2c 100755
--- a/recipes/rsync-replicated-file-system/bin/setup-cluster.sh
+++ b/recipes/rsync-replicated-file-system/bin/setup-cluster.sh
@@ -1,4 +1,22 @@
 #!/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.
+#
 
 script_dir=`dirname $0`
 LIB=$script_dir/../lib

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/recipes/rsync-replicated-file-system/bin/start-cluster-manager.sh
----------------------------------------------------------------------
diff --git a/recipes/rsync-replicated-file-system/bin/start-cluster-manager.sh b/recipes/rsync-replicated-file-system/bin/start-cluster-manager.sh
index e8e0698..29c6759 100755
--- a/recipes/rsync-replicated-file-system/bin/start-cluster-manager.sh
+++ b/recipes/rsync-replicated-file-system/bin/start-cluster-manager.sh
@@ -1,4 +1,22 @@
 #!/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.
+#
 
 script_dir=`dirname $0`
 LIB=$script_dir/../lib

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/recipes/rsync-replicated-file-system/bin/start-consumer.sh
----------------------------------------------------------------------
diff --git a/recipes/rsync-replicated-file-system/bin/start-consumer.sh b/recipes/rsync-replicated-file-system/bin/start-consumer.sh
index 01b2ac6..5645c58 100755
--- a/recipes/rsync-replicated-file-system/bin/start-consumer.sh
+++ b/recipes/rsync-replicated-file-system/bin/start-consumer.sh
@@ -1,4 +1,22 @@
 #!/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.
+#
 
 script_dir=`dirname $0`
 LIB=$script_dir/../lib

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/3c7a42b5/recipes/rsync-replicated-file-system/pom.xml
----------------------------------------------------------------------
diff --git a/recipes/rsync-replicated-file-system/pom.xml b/recipes/rsync-replicated-file-system/pom.xml
index 165b21d..ba4f7de 100644
--- a/recipes/rsync-replicated-file-system/pom.xml
+++ b/recipes/rsync-replicated-file-system/pom.xml
@@ -109,6 +109,16 @@ under the License.
             </execution>
           </executions>
         </plugin>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <version>0.8</version>
+            <configuration>
+              <excludes combine.children="append">
+                <exclude>data/localhost_**/**</exclude>
+              </excludes>
+            </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>