[ 
https://issues.apache.org/jira/browse/RANGER-4446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Subhrat Chaudhary reopened RANGER-4446:
---------------------------------------

Reopening to add support for description in the dataset summary API response 
model

> Need an API to return dataset summary
> -------------------------------------
>
>                 Key: RANGER-4446
>                 URL: https://issues.apache.org/jira/browse/RANGER-4446
>             Project: Ranger
>          Issue Type: Sub-task
>          Components: admin
>            Reporter: Subhrat Chaudhary
>            Assignee: Subhrat Chaudhary
>            Priority: Major
>
> 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:
> {code:java}
> {
>     "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
> } {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to