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

Ramesh Mani updated RANGER-4937:
--------------------------------
    Description: 
Enhance GDS resources API to support creation of datashare, add resources and 
add to dataset as an option
 *      add a resource to a dataset using existing API "POST 
service/gds/resource", with following enhancements:
 *      receive optional parameters "serviceName" and "datasetId"
 *      when dataShareId=-1 in the payload, this API should do the following:
 * 
 ** if a data share named "_{_}dataset{_}<datasetId>{_}service{_}<svcId>" does 
not exist, create it, associate it with the dataset with status=ACTIVE
 ** add the given resource/resources to this datashare

This would be useful to integrate external service which would use the GDS 
functionality to create DataShare in ranger with resources.

  was:
Enhance GDS resources API to support creation of datashare, add resources and 
add to dataset as an option
 *      add a resource to a dataset using existing API "POST 
service/gds/resource", with following enhancements:
 *      receive optional parameters "serviceName" and "datasetId"
 *      when dataShareId=-1 in the payload, this API should do the following:
 * 
 ** if a data share named "__dataset_<datasetId>{_}service{_}<svcId>" does not 
exist, create it, associate it with the dataset with status=ACTIVE
 ** add the given resource/resources to this datashare

This would be useful to integrate external service which would use the GDS 
functionality to create DataShare in ranger with resources.


> Enhance GDS resources API to support creation of datashare add resources and 
> add to dataset as an option
> --------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-4937
>                 URL: https://issues.apache.org/jira/browse/RANGER-4937
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>    Affects Versions: 3.0.0
>            Reporter: Ramesh Mani
>            Assignee: Ramesh Mani
>            Priority: Major
>
> Enhance GDS resources API to support creation of datashare, add resources and 
> add to dataset as an option
>  *      add a resource to a dataset using existing API "POST 
> service/gds/resource", with following enhancements:
>  *      receive optional parameters "serviceName" and "datasetId"
>  *      when dataShareId=-1 in the payload, this API should do the following:
>  * 
>  ** if a data share named "_{_}dataset{_}<datasetId>{_}service{_}<svcId>" 
> does not exist, create it, associate it with the dataset with status=ACTIVE
>  ** add the given resource/resources to this datashare
> This would be useful to integrate external service which would use the GDS 
> functionality to create DataShare in ranger with resources.



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

Reply via email to