[ https://issues.apache.org/jira/browse/RANGER-4490?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prashant Satam updated RANGER-4490: ----------------------------------- Description: Get dataShareInDataset Summary objects with filters The API is required for "My Requests" page to show mapping of dataset with datashare Required Fields for the page are (datasetName,dataShareName,sharedStatus,createTime,updateTime,createdBy) Need to add new query params linkedServiceId/linkedServiceName ---------> in case of dataShares we need this query param to ensure we get only those dataShares that are linked to the given service AND also have datasets linked to them linkedZoneId/linkedZoneName -------------> in case of dataShares we need this query param to ensure we get only those dataShares that are linked to the given security-zone AND also have datasets linked to them linkedProjectId/linkedProjectName -----> in case of datasets we need this query param to ensure we only get datasets that are connected to the given project AND also have dataShares linked to them In case of dataShares the Existing query Params like serviceId/serviceName only return dataShares connected to the service but this do not ensure that the same dataShare is connected to any dataset Also for query param zoneId/zoneName from dataShare side only return dataShares connected to the given security-zone but this do not ensure that the same dataShare is connected to any dataset in case of dataset the Existing param projectId/projectName will only return the datasets connected to the project but this do not ensure that the dataset is connected to any dataShare Details of the API FIELDS (datasetId,datasetName,dataShareId,dataShareName,serviceId,serviceName,zoneId,resoueceCount(based on dataShare),zoneName,shareStatus,) Supported Query Params linkedServiceId,linkedServiceName,linkedServiceNamePartial,linkedZoneId,linkedZoneName,linkedZoneNamePartial,linkedProjectId,linkedProjectName,linkedProjectNamePartial was: Get dataShareInDataset Summary objects with filters The API is required for "My Requests" page to show mapping of dataset with datashare Required Fields for the page are (datasetName,dataShareName,sharedStatus,createTime,updateTime,createdBy) Need to add new query params linkedServiceId/linkedServiceName ---------> in case of dataShares we need this query param to ensure we get only those dataShares that are linked to the given service AND also have datasets linked to them linkedZoneId/linkedZoneName -------------> in case of dataShares we need this query param to ensure we get only those dataShares that are linked to the given security-zone AND also have datasets linked to them In case of dataShares the Existing query Params like serviceId/serviceName only return dataShares connected to the service but this do not ensure that the same dataShare is connected to any dataset Also for query param zoneId/zoneName from dataShare side only return dataShares connected to the given security-zone but this do not ensure that the same dataShare is connected to any dataset in case of dataset the Existing param projectId/projectName will only return the datasets connected to the project but this do not ensure that the dataset is connected to any dataShare Details of the API FIELDS (datasetId,datasetName,dataShareId,dataShareName,serviceId,serviceName,zoneId,resoueceCount(based on dataShare),zoneName,shareStatus,) Supported Query Params linkedServiceId,linkedServiceName,linkedServiceNamePartial,linkedZoneId,linkedZoneName,linkedZoneNamePartial,linkedProjectId,linkedProjectName,linkedProjectNamePartial > Need new API for DataShare in Dataset Summary > --------------------------------------------- > > Key: RANGER-4490 > URL: https://issues.apache.org/jira/browse/RANGER-4490 > Project: Ranger > Issue Type: Sub-task > Components: Ranger > Reporter: Prashant Satam > Assignee: Prashant Satam > Priority: Major > > Get dataShareInDataset Summary objects with filters > The API is required for "My Requests" page to show mapping of dataset with > datashare > Required Fields for the page are > (datasetName,dataShareName,sharedStatus,createTime,updateTime,createdBy) > Need to add new query params > linkedServiceId/linkedServiceName ---------> in case of dataShares we need > this query param to ensure we get only those dataShares that are linked to > the given service AND also have datasets linked to them > linkedZoneId/linkedZoneName -------------> in case of dataShares we need this > query param to ensure we get only those dataShares that are linked to the > given security-zone AND also have datasets linked to them > linkedProjectId/linkedProjectName -----> in case of datasets we need this > query param to ensure we only get datasets that are connected to the given > project AND also have dataShares linked to them > In case of dataShares the Existing query Params like serviceId/serviceName > only return dataShares connected to the service but this do not ensure that > the same dataShare is connected to any dataset > Also for query param zoneId/zoneName from dataShare side only return > dataShares connected to the given security-zone but this do not ensure that > the same dataShare is connected to any dataset > in case of dataset the Existing param projectId/projectName will only return > the datasets connected to the project but this do not ensure that the dataset > is connected to any dataShare > Details of the API > FIELDS > (datasetId,datasetName,dataShareId,dataShareName,serviceId,serviceName,zoneId,resoueceCount(based > on dataShare),zoneName,shareStatus,) > Supported Query Params > linkedServiceId,linkedServiceName,linkedServiceNamePartial,linkedZoneId,linkedZoneName,linkedZoneNamePartial,linkedProjectId,linkedProjectName,linkedProjectNamePartial -- This message was sent by Atlassian Jira (v8.20.10#820010)