Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • admin
    • None

    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

          Activity

            Patch available for review - https://reviews.apache.org/r/74634/

            suchnit Subhrat Chaudhary added a comment - Patch available for review - https://reviews.apache.org/r/74634/

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

            suchnit Subhrat Chaudhary added a comment - Reopening to add support for description in the dataset summary API response model

            People

              suchnit Subhrat Chaudhary
              suchnit Subhrat Chaudhary
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: