Repository: incubator-ranger
Updated Branches:
  refs/heads/master 5526e60c7 -> 8b4ba8efc


RANGER-800 Move Context enricher implementation 
RangerFileBasedGeolocationProvider out of test into prod


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

Branch: refs/heads/master
Commit: 8b4ba8efc83499ed38c0554ea2d7efb64464befd
Parents: 5526e60
Author: Alok Lal <[email protected]>
Authored: Wed Jan 6 14:12:09 2016 -0800
Committer: Alok Lal <[email protected]>
Committed: Wed Jan 6 14:12:09 2016 -0800

----------------------------------------------------------------------
 .../RangerFileBasedGeolocationProvider.java     | 35 ++++++++++++++++++++
 .../RangerFileBasedGeolocationProvider.java     | 35 --------------------
 2 files changed, 35 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/8b4ba8ef/agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerFileBasedGeolocationProvider.java
----------------------------------------------------------------------
diff --git 
a/agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerFileBasedGeolocationProvider.java
 
b/agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerFileBasedGeolocationProvider.java
new file mode 100644
index 0000000..ea599c7
--- /dev/null
+++ 
b/agents-common/src/main/java/org/apache/ranger/plugin/contextenricher/RangerFileBasedGeolocationProvider.java
@@ -0,0 +1,35 @@
+/*
+ * 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.plugin.contextenricher;
+
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
+public class RangerFileBasedGeolocationProvider extends 
RangerAbstractGeolocationProvider {
+
+       private static final Log LOG = 
LogFactory.getLog(RangerFileBasedGeolocationProvider.class);
+
+       public static final String GEOLOCATION_SOURCE_LOADER_FILELOADER = 
"org.apache.ranger.plugin.store.file.GeolocationFileStore";
+
+       @Override
+       public String getGeoSourceLoader() {
+               return GEOLOCATION_SOURCE_LOADER_FILELOADER;
+       }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/8b4ba8ef/agents-common/src/test/java/org/apache/ranger/plugin/contextenricher/RangerFileBasedGeolocationProvider.java
----------------------------------------------------------------------
diff --git 
a/agents-common/src/test/java/org/apache/ranger/plugin/contextenricher/RangerFileBasedGeolocationProvider.java
 
b/agents-common/src/test/java/org/apache/ranger/plugin/contextenricher/RangerFileBasedGeolocationProvider.java
deleted file mode 100644
index ea599c7..0000000
--- 
a/agents-common/src/test/java/org/apache/ranger/plugin/contextenricher/RangerFileBasedGeolocationProvider.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * 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.plugin.contextenricher;
-
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
-
-public class RangerFileBasedGeolocationProvider extends 
RangerAbstractGeolocationProvider {
-
-       private static final Log LOG = 
LogFactory.getLog(RangerFileBasedGeolocationProvider.class);
-
-       public static final String GEOLOCATION_SOURCE_LOADER_FILELOADER = 
"org.apache.ranger.plugin.store.file.GeolocationFileStore";
-
-       @Override
-       public String getGeoSourceLoader() {
-               return GEOLOCATION_SOURCE_LOADER_FILELOADER;
-       }
-}

Reply via email to