-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/31055/
-----------------------------------------------------------
(Updated Feb. 15, 2015, 8:28 a.m.)
Review request for Sqoop and shen guoquan.
Changes
-------
1. Add 2 situations:
PUT /authorization/privileges/revoke
If privilege is null, then revoke all privileges for principal(name, type)
GET
/authorization/privileges?principal_type={type}&principal_name={name}&resource_type={type}&resource_name={name}
If resource is null, then show all privileges in principal with {name, type}
2. Change function name from getRoles to readRoles to be align with
JobResourceRequest and linkResourceRequest
Repository: sqoop-sqoop2
Description
-------
Add SqoopClient support to call Restful API
Diffs (updated)
-----
client/src/main/java/org/apache/sqoop/client/SqoopClient.java
9e15c030a0b21bc5e0aa64184e13c2dc78cf9507
client/src/main/java/org/apache/sqoop/client/request/AuthorizationResourceRequest.java
PRE-CREATION
client/src/main/java/org/apache/sqoop/client/request/SqoopResourceRequests.java
1825cf3c96832283f589a77848da09c81abaec4b
Diff: https://reviews.apache.org/r/31055/diff/
Testing
-------
local
Thanks,
richard zhou