atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nixon Rodrigues <nixon.rodrig...@freestoneinfotech.com>
Subject Review Request 46699: ATLAS-661 : Rest API Authentication.
Date Tue, 26 Apr 2016 16:29:09 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/46699/
-----------------------------------------------------------

Review request for atlas, Erik Bergenholtz, Shwetha GS, Selvamohan Neethiraj, Suma Shivaprasad,
and Hemanth Yamijala.


Bugs: ATLAS-661
    https://issues.apache.org/jira/browse/ATLAS-661


Repository: atlas


Description
-------

Introduced Rest API Authentication.
Introduced role and encoded password in user-credential file.
Authentication to fall back to file type if LDAP fails.
Changes in quick_start.py, atlas_admin.py & import_hive.sh to take password argument for
basic authentication


Diffs
-----

  addons/hive-bridge/src/bin/import-hive.sh 8df94f2 
  addons/hive-bridge/src/main/java/org/apache/atlas/hive/bridge/HiveMetaStoreBridge.java 104c0c5

  client/src/main/java/org/apache/atlas/AtlasAdminClient.java 473f72a 
  client/src/main/java/org/apache/atlas/AtlasClient.java be34802 
  dashboardv2/public/js/utils/Utils.js 7b2db79 
  distro/src/conf/users-credentials.properties 94e7cf4 
  webapp/src/main/java/org/apache/atlas/examples/QuickStart.java 79b8124 
  webapp/src/main/java/org/apache/atlas/web/dao/UserDao.java 76784c4 
  webapp/src/main/java/org/apache/atlas/web/filters/AtlasAuthenticationEntryPoint.java b77bd28

  webapp/src/main/java/org/apache/atlas/web/security/AtlasAbstractAuthenticationProvider.java
b2b11da 
  webapp/src/main/java/org/apache/atlas/web/security/AtlasAuthenticationProvider.java 7f87bd5

  webapp/src/main/java/org/apache/atlas/web/security/AtlasFileAuthenticationProvider.java
b3e3354 
  webapp/src/main/resources/spring-security.xml 8533473 
  webapp/src/main/webapp/WEB-INF/web.xml deb97d9 
  webapp/src/test/java/org/apache/atlas/web/resources/BaseResourceIT.java 54d8d92 
  webapp/src/test/java/org/apache/atlas/web/security/FileAuthenticationTest.java 7e4c2c8 
  webapp/src/test/java/org/apache/atlas/web/security/UserDaoTest.java 5b5c70e 

Diff: https://reviews.apache.org/r/46699/diff/


Testing
-------

Manual Testing done.
performed mvn clean install
performed mvn clean package -Pdist

Found Failed tests: 
  HiveLineageJerseyResourceIT.setUp:52->setupInstances:169->table:234->BaseResourceIT.createInstance:129
ยป AtlasService
  
Tests run: 10, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 22.476 sec <<< FAILURE!
- in org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest
testDisconnectBidirectionalReferences(org.apache.atlas.repository.graph.GraphBackedRepositoryHardDeleteTest)
 Time elapsed: 0.566 sec  <<< FAILURE!


Thanks,

Nixon Rodrigues


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message