You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2015/11/07 01:47:18 UTC

aurora git commit: Adding build target to build kerberos auth module.

Repository: aurora
Updated Branches:
  refs/heads/master 745869cfb -> ec61b8b6b


Adding build target to build kerberos auth module.

Reviewed at https://reviews.apache.org/r/40042/


Project: http://git-wip-us.apache.org/repos/asf/aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/aurora/commit/ec61b8b6
Tree: http://git-wip-us.apache.org/repos/asf/aurora/tree/ec61b8b6
Diff: http://git-wip-us.apache.org/repos/asf/aurora/diff/ec61b8b6

Branch: refs/heads/master
Commit: ec61b8b6b054a413bfef22b61a08c77811f74746
Parents: 745869c
Author: Maxim Khutornenko <ma...@apache.org>
Authored: Fri Nov 6 16:47:02 2015 -0800
Committer: Maxim Khutornenko <ma...@apache.org>
Committed: Fri Nov 6 16:47:02 2015 -0800

----------------------------------------------------------------------
 src/main/python/apache/aurora/kerberos/BUILD          | 11 +++++++++--
 src/main/python/apache/aurora/kerberos/auth_module.py |  2 +-
 2 files changed, 10 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/ec61b8b6/src/main/python/apache/aurora/kerberos/BUILD
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/kerberos/BUILD b/src/main/python/apache/aurora/kerberos/BUILD
index 44eda13..847852f 100644
--- a/src/main/python/apache/aurora/kerberos/BUILD
+++ b/src/main/python/apache/aurora/kerberos/BUILD
@@ -13,15 +13,22 @@
 #
 import os
 
+python_library(
+  name = 'kerberos_auth',
+  sources = rglobs('*.py'),
+  dependencies = [
+    '3rdparty/python:requests-kerberos',
+    'src/main/python/apache/aurora/common',
+  ],
+)
 
 python_library(
   name = '_kerberos',
   sources = rglobs('*.py'),
   dependencies = [
-    '3rdparty/python:requests-kerberos',
+    ':kerberos_auth',
     'src/main/python/apache/aurora/admin',
     'src/main/python/apache/aurora/client',
-    'src/main/python/apache/aurora/common',
   ],
 )
 

http://git-wip-us.apache.org/repos/asf/aurora/blob/ec61b8b6/src/main/python/apache/aurora/kerberos/auth_module.py
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/kerberos/auth_module.py b/src/main/python/apache/aurora/kerberos/auth_module.py
index 6d3ade4..ffa1c27 100644
--- a/src/main/python/apache/aurora/kerberos/auth_module.py
+++ b/src/main/python/apache/aurora/kerberos/auth_module.py
@@ -13,7 +13,7 @@
 #
 from requests_kerberos import DISABLED, HTTPKerberosAuth
 
-from apache.aurora.common.auth_module import AuthModule
+from apache.aurora.common.auth.auth_module import AuthModule
 
 
 class KerberosAuthModule(AuthModule):