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

Radhika Kundam updated RANGER-5129:
-----------------------------------
    Description: 
Enhance the existing enhancedSummary API to support filtering datasets based on 
their validity schedule and expiration date. The API should return datasets 
that have a defined validity schedule and whose expiration date falls within 
the specified date range.

Filtering Criteria:

The dataset must have a validity schedule.
The expiration date of the dataset should be within the provided range:
   validityExpiryFrom – Start of the expiration date range
   validityExpiryTo – End of the expiration date range
This enhancement ensures that only relevant datasets with scheduled validity 
and expiring within the given timeframe are retrieved.

API: curl GET <ranger-admin 
url>/service/gds/dataset/enhancedsummary?validityExpiryFrom=<yyyy/MM/dd 
HH:mm:ss>&validityExpiryTo=<yyyy/MM/dd HH:mm:ss>

  was:
Data Share Filtering with Date Range: The requirement is to generate a list of 
data shares that are set to expire within a specified date range.

{*}Query Parameters{*}:
 * {{validitySchedule_endDateTime_from}} (optional): Start of the date range.
 * {{validitySchedule_endDateTime_to}} (optional): End of the date range.


> Enhance Dataset Filtering by Validity Schedule and Expiration Date Range
> ------------------------------------------------------------------------
>
>                 Key: RANGER-5129
>                 URL: https://issues.apache.org/jira/browse/RANGER-5129
>             Project: Ranger
>          Issue Type: Task
>          Components: Ranger
>            Reporter: Radhika Kundam
>            Assignee: Radhika Kundam
>            Priority: Major
>
> Enhance the existing enhancedSummary API to support filtering datasets based 
> on their validity schedule and expiration date. The API should return 
> datasets that have a defined validity schedule and whose expiration date 
> falls within the specified date range.
> Filtering Criteria:
> The dataset must have a validity schedule.
> The expiration date of the dataset should be within the provided range:
>    validityExpiryFrom – Start of the expiration date range
>    validityExpiryTo – End of the expiration date range
> This enhancement ensures that only relevant datasets with scheduled validity 
> and expiring within the given timeframe are retrieved.
> API: curl GET <ranger-admin 
> url>/service/gds/dataset/enhancedsummary?validityExpiryFrom=<yyyy/MM/dd 
> HH:mm:ss>&validityExpiryTo=<yyyy/MM/dd HH:mm:ss>



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

Reply via email to