RANGER-274: added Apache License headers to recently added files

Signed-off-by: Madhan Neethiraj <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/69e0cf65
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/69e0cf65
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/69e0cf65

Branch: refs/heads/master
Commit: 69e0cf656a4b6c3cbb2aa9bd6545f248ba9aef15
Parents: a745315
Author: Abhay Kulkarni <[email protected]>
Authored: Thu Sep 10 18:23:57 2015 -0700
Committer: Madhan Neethiraj <[email protected]>
Committed: Thu Sep 10 21:38:41 2015 -0700

----------------------------------------------------------------------
 .../src/main/resources/etc/ranger/geo/geo.txt   | 22 ++++++++++++++++++--
 .../main/resources/etc/ranger/geo/geo_long.txt  | 22 ++++++++++++++++++--
 .../apache/ranger/service/RangerTagService.java | 19 +++++++++++++++++
 3 files changed, 59 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/69e0cf65/agents-common/src/main/resources/etc/ranger/geo/geo.txt
----------------------------------------------------------------------
diff --git a/agents-common/src/main/resources/etc/ranger/geo/geo.txt 
b/agents-common/src/main/resources/etc/ranger/geo/geo.txt
index 6e38db3..fa427c1 100644
--- a/agents-common/src/main/resources/etc/ranger/geo/geo.txt
+++ b/agents-common/src/main/resources/etc/ranger/geo/geo.txt
@@ -1,8 +1,26 @@
+#
+# 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 a sample geolocation data format used by Ranger
 # If a line contains '#' as a first-nonblank character then it is considered a 
comment line
-# First non-comment line in the file must be metadata line; metadata line 
contains '!' as first character
+# First non-comment line in the file must be metadata line
 # Format of metadata and data lines is strictly Comma-Separated-Values. Spaces 
are not allowed to surround commas.
-# Only IP-4 address values in dot-notation are supported.
+# Only IP-4 address values in dot-notation or as long integers are supported.
 #
 FROM_IP,TO_IP,COUNTRY_CODE,COUNTRY_NAME,STATE,CITY,ZIP,LAT,LONG
 10.0.0.255,10.0.3.0,US,United States,CA

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/69e0cf65/agents-common/src/main/resources/etc/ranger/geo/geo_long.txt
----------------------------------------------------------------------
diff --git a/agents-common/src/main/resources/etc/ranger/geo/geo_long.txt 
b/agents-common/src/main/resources/etc/ranger/geo/geo_long.txt
index f0cf287..3337a61 100644
--- a/agents-common/src/main/resources/etc/ranger/geo/geo_long.txt
+++ b/agents-common/src/main/resources/etc/ranger/geo/geo_long.txt
@@ -1,8 +1,26 @@
+#
+# 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 a sample geolocation data format used by Ranger
 # If a line contains '#' as a first-nonblank character then it is considered a 
comment line
-# First non-comment line in the file must be metadata line; metadata line 
contains '!' as first character
+# First non-comment line in the file must be metadata line
 # Format of metadata and data lines is strictly Comma-Separated-Values. Spaces 
are not allowed to surround commas.
-# Only IP-4 address values in dot-notation are supported.
+# Only IP-4 address values in dot-notation or as long integers are supported.
 #
 FROM_IP,TO_IP,COUNTRY_CODE,COUNTRY_NAME,STATE,CITY,ZIP,LAT,LONG
 167772415,167772928,US,United States,CA

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/69e0cf65/security-admin/src/main/java/org/apache/ranger/service/RangerTagService.java
----------------------------------------------------------------------
diff --git 
a/security-admin/src/main/java/org/apache/ranger/service/RangerTagService.java 
b/security-admin/src/main/java/org/apache/ranger/service/RangerTagService.java
index cab6a4a..24e081e 100644
--- 
a/security-admin/src/main/java/org/apache/ranger/service/RangerTagService.java
+++ 
b/security-admin/src/main/java/org/apache/ranger/service/RangerTagService.java
@@ -1,3 +1,22 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
 package org.apache.ranger.service;
 
 import java.util.ArrayList;

Reply via email to