helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kisho...@apache.org
Subject git commit: [HELIX-92] Adding license header to service discovery code
Date Tue, 30 Apr 2013 18:58:54 GMT
Updated Branches:
  refs/heads/master 92be0aa54 -> 0bc258cfe


[HELIX-92] Adding license header to service discovery code


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

Branch: refs/heads/master
Commit: 0bc258cfe9de25b057a9604a85d6a28c9c7b603a
Parents: 92be0aa
Author: kishoreg <kishoreg@apache.org>
Authored: Tue Apr 30 11:58:46 2013 -0700
Committer: kishoreg <kishoreg@apache.org>
Committed: Tue Apr 30 11:58:46 2013 -0700

----------------------------------------------------------------------
 build                                              |   20 +++++++++++++++
 .../apache/helix/servicediscovery/MyService.java   |   18 +++++++++++++
 .../helix/servicediscovery/ServiceDiscovery.java   |   18 +++++++++++++
 .../helix/servicediscovery/ServiceMetadata.java    |   18 +++++++++++++
 src/site/markdown/Tutorial.md                      |    2 +-
 5 files changed, 75 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/0bc258cf/build
----------------------------------------------------------------------
diff --git a/build b/build
index 12a843e..cf1a0eb 100755
--- a/build
+++ b/build
@@ -1 +1,21 @@
+#!/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.
+#
 mvn clean install -Dmaven.test.skip.exec=true

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/0bc258cf/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/MyService.java
----------------------------------------------------------------------
diff --git a/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/MyService.java
b/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/MyService.java
index d0ec8ed..2920f8c 100644
--- a/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/MyService.java
+++ b/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/MyService.java
@@ -1,4 +1,22 @@
 package org.apache.helix.servicediscovery;
+/*
+ * 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 MyService
 {

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/0bc258cf/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscovery.java
----------------------------------------------------------------------
diff --git a/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscovery.java
b/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscovery.java
index c2f5cb1..5e08300 100644
--- a/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscovery.java
+++ b/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceDiscovery.java
@@ -1,4 +1,22 @@
 package org.apache.helix.servicediscovery;
+/*
+ * 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.Collections;

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/0bc258cf/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceMetadata.java
----------------------------------------------------------------------
diff --git a/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceMetadata.java
b/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceMetadata.java
index c8db1a9..179d74f 100644
--- a/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceMetadata.java
+++ b/recipes/service-discovery/src/main/java/org/apache/helix/servicediscovery/ServiceMetadata.java
@@ -1,4 +1,22 @@
 package org.apache.helix.servicediscovery;
+/*
+ * 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 ServiceMetadata
 {

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/0bc258cf/src/site/markdown/Tutorial.md
----------------------------------------------------------------------
diff --git a/src/site/markdown/Tutorial.md b/src/site/markdown/Tutorial.md
index c7c1f23..8386306 100644
--- a/src/site/markdown/Tutorial.md
+++ b/src/site/markdown/Tutorial.md
@@ -36,7 +36,7 @@ Creating a cluster will create appropriate znodes on zookeeper.
     admin = new ZKHelixAdmin(ZK_ADDRESS);
     String CLUSTER_NAME = "helix-demo";
     //Create cluster namespace in zookeeper
-    admin.addCluster(clusterName, true);
+    admin.addCluster(clusterName);
 ```
 
 OR


Mime
View raw message