Description
In https://issues.apache.org/jira/browse/RANGER-4323 we added API to support DatasetHeaderInfo to return dataset details. We need additional details in the response:
{ "startIndex": 0, "pageSize": 200, "totalCount": 1, "resultSize": 1, "sortType": "createTime", "sortBy": "desc", "queryTimeMS": 1695969636652, "list": [ { "id": 1, "guid": "30b50d94-dfde-4e16-8ef5-722cb8e7442b", "isEnabled": true, "createdBy": "Admin", "updatedBy": "Admin", "createTime": 1695969001000, "updateTime": 1695969001000, "version": 1, "name": "Test_GDS_Dataset", "principalsCountByType": { "ROLE": 0, "USER": 1, "GROUP": 1 }, "permissionForCaller": "VIEW" "projectsCount": 1, "totalResourceCount": 4, "dataSharesCountByStatus": { "REQUESTED": 2, "GRANTED": 3, "ACTIVE": 1 } "dataShares"[ { "id": 1, "guid": "30b50d94-dfde-4e16-8ef5-722cb8e7442b", "isEnabled": true, "createdBy": "Admin", "updatedBy": "Admin", "createTime": 1695969001000, "updateTime": 1695969001000, "version": 1, "name": "dataShare1", "dshInDsId":1, "sharedStatus":"ACTIVE", "resourceCount": 4, "serviceId": 3, "serviceName": "Resource_policy_Performance_test_50K", "zoneId": 3, "zoneName": "Gds_Security_Zone", "approver": "admin" } ] } ], "listSize": 1 }
Attachments
Issue Links
- fixes
-
RANGER-4427 Need a new API to get list of datasets for a datashare with request status
- Resolved
Patch available for review - https://reviews.apache.org/r/74634/