atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nixon Rodrigues <nixon.rodrig...@freestoneinfotech.com>
Subject Re: Review Request 59439: KNOX-789 :- Apache Atlas REST API support
Date Mon, 22 May 2017 10:59:28 GMT

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

(Updated May 22, 2017, 10:59 a.m.)


Review request for atlas, Knox, Larry McCay, and Madhan Neethiraj.


Bugs: KNOX-789
    https://issues.apache.org/jira/browse/KNOX-789


Repository: knox


Description
-------

This patch includes service definition and rewrite rules for Atlas API to support proxy through
Knox.


Diffs
-----

  gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/rewrite.xml PRE-CREATION

  gateway-service-definitions/src/main/resources/services/atlas-api/0.8.0/service.xml PRE-CREATION



Diff: https://reviews.apache.org/r/59439/diff/1/


Testing
-------

Tested the api from curl and also from Atlas admin UI


[root@rd-atl-080517-2 bin]# curl -i -k -L -u admin:admin -X GET  'https://knox-host:8443/gateway/ui/atlas/api/atlas/v2/types/typedefs?type=classification&_=1495442879421'
HTTP/1.1 200 OK
Date: Mon, 22 May 2017 08:50:03 GMT
Date: Mon, 22 May 2017 08:50:03 GMT
Set-Cookie: ATLASSESSIONID=oscz5x1nocfn14y4bj0yv52vs;Path=/;HttpOnly
Expires: Thu, 01 Jan 1970 00:00:00 GMT
X-Frame-Options: DENY
Content-Type: application/json; charset=UTF-8
Server: Jetty(9.2.12.v20150709)
Content-Length: 2070

{"enumDefs":[],"structDefs":[],"classificationDefs":[{"category":"CLASSIFICATION","guid":"abce22ee-a6ed-40f3-816a-555049997b71","createTime":1495108634535,"updateTime":1495108634535,"version":1,"name":"KnoxProxy","description":"KnoxProxy","typeVersion":"1.0","attributeDefs":[],"superTypes":[]},{"category":"CLASSIFICATION","guid":"2410969e-f592-4db8-82d7-47bf6996d090","createTime":1495011488803,"updateTime":1495011488803,"version":1,"name":"PII","description":"PII
Classification","typeVersion":"1.0","attributeDefs":[],"superTypes":[]},{"category":"CLASSIFICATION","guid":"ac122a83-37e1-4c60-a260-2a262c98b2f8","createTime":1495011490270,"updateTime":1495011490270,"version":1,"name":"JdbcAccess","description":"JdbcAccess
Classification","typeVersion":"1.0","attributeDefs":[],"superTypes":[]},{"category":"CLASSIFICATION","guid":"7bff86b0-a77e-43a0-9577-c125196bb497","createTime":1495011490296,"updateTime":1495011490296,"version":1,"name":"Log
Data","description":"LogData Classification","
 typeVersion":"1.0","attributeDefs":[],"superTypes":[]},{"category":"CLASSIFICATION","guid":"1099a2a2-932a-4f1d-9f6c-4ed04021f88e","createTime":1495011488817,"updateTime":1495011488817,"version":1,"name":"Metric","description":"Metric
Classification","typeVersion":"1.0","attributeDefs":[],"superTypes":[]},{"category":"CLASSIFICATION","guid":"228842fe-7035-4fd2-9c6c-48b1d74a0995","createTime":1495011487356,"updateTime":1495011487356,"version":1,"name":"Dimension","description":"Dimension
Classification","typeVersion":"1.0","attributeDefs":[],"superTypes":[]},{"category":"CLASSIFICATION","guid":"900d0441-393e-4b2f-b6f5-161d5b057d36","createTime":1495011489541,"updateTime":1495011489541,"version":1,"name":"ETL","description":"ETL
Classification","typeVersion":"1.0","attributeDefs":[],"superTypes":[]},{"category":"CLASSIFICATION","guid":"42d1752d-58de-4816-8bcb-7157eda14d7f","createTime":1495011488088,"updateTime":1495011488088,"version":1,"name":"Fact","description":"Fact
Classification
 ","typeVersion":"1.0","attributeDefs":[],"superTypes":[]}],"entityDefs":[]}


Thanks,

Nixon Rodrigues


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