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


Ship it!




Ship It!

- Velmurugan Periasamy


On Jan. 28, 2020, 8:50 a.m., Kishor Gollapalliwar wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/72047/
> -----------------------------------------------------------
> 
> (Updated Jan. 28, 2020, 8:50 a.m.)
> 
> 
> Review request for ranger, Ankita Sinha, Gautam Borad, Jayendra Parab, Abhay 
> Kulkarni, Madhan Neethiraj, Mehul Parikh, Pradeep Agrawal, Ramesh Mani, 
> Sailaja Polavarapu, and Velmurugan Periasamy.
> 
> 
> Bugs: RANGER-2711
>     https://issues.apache.org/jira/browse/RANGER-2711
> 
> 
> Repository: ranger
> 
> 
> Description
> -------
> 
> Add Service DisplayName & ServiceDef DisplayName in list API on Audit page.
> 
> Add ServiceDisplayName in response of list API for following TABs:
> 
>     Access (GET http://HOST:PORT/service/assets/accessAudit)
>     Plugins (GET http://HOST:PORT/service/assets/exportAudit)
>     Plugins Status (GET http://HOST:PORT/service/plugins/plugins/info)
> 
> Add ServiceDefDisplayName in response of list API for following TABs:
> 
>     Access (GET http://HOST:PORT/service/assets/accessAudit)
>     Plugins Status (GET http://HOST:PORT/service/plugins/plugins/info)
> 
> 
> Diffs
> -----
> 
>   
> agents-common/src/main/java/org/apache/ranger/plugin/model/RangerPluginInfo.java
>  90367fe04 
>   
> security-admin/src/main/java/org/apache/ranger/service/RangerPluginInfoService.java
>  e2ccb5b82 
>   
> security-admin/src/main/java/org/apache/ranger/service/XAccessAuditService.java
>  5afe29943 
>   
> security-admin/src/main/java/org/apache/ranger/service/XPolicyExportAuditServiceBase.java
>  48940ba43 
>   
> security-admin/src/main/java/org/apache/ranger/solr/SolrAccessAuditsService.java
>  b422e7c00 
>   security-admin/src/main/java/org/apache/ranger/view/VXAccessAudit.java 
> a7ffb987f 
>   
> security-admin/src/main/java/org/apache/ranger/view/VXPolicyExportAudit.java 
> e7178a49b 
> 
> 
> Diff: https://reviews.apache.org/r/72047/diff/1/
> 
> 
> Testing
> -------
> 
> 1. Verified all the existing unit tests are run successfully.
> 2. Patched a cluster and tested existing functinality.
> 3. Patched cluster and varified new attributes in response.
> 
> # Sample Responses
> API: GET http://HOST:PORT/service/assets/accessAudit
> Response : 
> {"startIndex":0,"pageSize":1,"totalCount":41,"resultSize":1,"queryTimeMS":1580115224303,"vXAccessAudits":[{"id":-142495094,"createDate":null,"updateDate":null,"auditType":0,"accessResult":1,"accessType":"METADATA
>  
> OPERATION","aclEnforcer":"ranger-acl","agentId":"hiveServer2","clientIP":"10.65.16.26","policyId":35,"repoName":"cm_hive","repoDisplayName":"Hadoop
>  hive","repoType":3,"serviceType":"hive","serviceTypeDisplayName":"Hadoop 
> SQL","sessionId":" ","eventTime":" 
> ","requestUser":"hiveuser","action":"_any","resourcePath":"db1/tbl1","resourceType":"@table","sequenceNumber":95,"eventCount":1,"eventDuration":1,"tags":"","clusterName":"Cluster
>  1","agentHost":"","policyVersion":1}]}
> 
> API: GET http://HOST:PORT/service/assets/exportAudit
> Sample Response : 
> {"startIndex":0,"pageSize":1,"totalCount":32,"resultSize":1,"sortType":"desc","sortBy":"createDate","queryTimeMS":1580115708703,"vXPolicyExportAudits":[{"id":53,"createDate":"
>  ","updateDate":" ","owner":"impala impala","updatedBy":"impala 
> impala","clientIP":"10.65.16.26","agentId":" 
> ","requestedEpoch":13,"lastUpdated":null,"repositoryName":"cm_hive","repositoryDisplayName":"Hadoop
>  hive","httpRetCode":200,"syncStatus":"Policies synced to 
> plugin","clusterName":"Cluster 1","zoneName":""}]}
> 
> API: GET http://HOST:PORT/service/plugins/plugins/info
> Sample Response :  
> {"startIndex":0,"pageSize":1,"totalCount":13,"resultSize":1,"sortType":"asc","sortBy":"serviceName","queryTimeMS":1580115853695,"pluginInfoList":[{"id":10,"createTime":1577967739307,"updateTime":1580115848124,"serviceName":"cm_hive","serviceDisplayName":"Hadoop
>  hive","serviceType":"hive","serviceTypeDisplayName":"Hadoop 
> SQL","hostName":" ","appType":"impala","ipAddress":" 
> ","info":{"clusterName":"Cluster 
> 1","pluginCapabilities":"fff","policyDownloadTime":"1578482037081","adminCapabilities":"fff","policyActiveVersion":"14","policyActivationTime":"1578482037322","policyDownloadedVersion":"14","roleDownloadedVersion":"3","roleDownloadTime":"1579164878327","tagDownloadedVersion":"3","tagDownloadTime":"1578482042962","roleActivationTime":"1579164878395","tagActiveVersion":"3","tagActivationTime":"1578482042975","latestPolicyVersion":"14","lastPolicyUpdateTime":"1578482021393","latestTagVersion":"3","lastTagUpdateTime":"1578481956689"}}]}
> 
> 
> Thanks,
> 
> Kishor Gollapalliwar
> 
>

Reply via email to