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

Dhaval Rajpara updated RANGER-4263:
-----------------------------------
    Description: 
Ranger] : plugins/services/lookupResource give bank response in react API

New react ui hit below api 

[https://***2/service/plugins/services/lookupResource/cm_solr|https://quasar-wqeuts-1.quasar-wqeuts.root.hwx.site:6182/service/plugins/services/lookupResource/cm_solr]

request data : without userInput
{code:java}
{"resourceName":"collection","resources":{"collection":[]}}{code}
response :
{code:java}
204 = no content  {code}
Ideally default resouce should be loaded and below request should be passed by 
click action

{"userInput": "","resourceName":"collection","resources":\{"collection":[]}}

Expected : Default resouces should be lookup , If user clicks on dropdown or on 
text field 

2) Add a loader to select 2 options while changing the resource field.

3) If the service definition of resources has singleValue : true then the user 
is not able to select more than one value.

4) if we enter * in resource value then it will load all the options.

  was:
Ranger] : plugins/services/lookupResource give bank response in react API

New react ui hit below api 

[https://***2/service/plugins/services/lookupResource/cm_solr|https://quasar-wqeuts-1.quasar-wqeuts.root.hwx.site:6182/service/plugins/services/lookupResource/cm_solr]

request data : without userInput
{code:java}
{"resourceName":"collection","resources":{"collection":[]}}{code}
response :
{code:java}
204 = no content  {code}
Ideally default resouce should be loaded and below request should be passed by 
click action

{"userInput": "","resourceName":"collection","resources":\{"collection":[]}}

Expected : Default resouces should be lookup , If user clicks on dropdown or on 
text field 


> LookupResource give blank response in new react UI
> --------------------------------------------------
>
>                 Key: RANGER-4263
>                 URL: https://issues.apache.org/jira/browse/RANGER-4263
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: Anupam Rai
>            Assignee: Dhaval Rajpara
>            Priority: Major
>              Labels: ranger-react
>
> Ranger] : plugins/services/lookupResource give bank response in react API
> New react ui hit below api 
> [https://***2/service/plugins/services/lookupResource/cm_solr|https://quasar-wqeuts-1.quasar-wqeuts.root.hwx.site:6182/service/plugins/services/lookupResource/cm_solr]
> request data : without userInput
> {code:java}
> {"resourceName":"collection","resources":{"collection":[]}}{code}
> response :
> {code:java}
> 204 = no content  {code}
> Ideally default resouce should be loaded and below request should be passed 
> by click action
> {"userInput": "","resourceName":"collection","resources":\{"collection":[]}}
> Expected : Default resouces should be lookup , If user clicks on dropdown or 
> on text field 
> 2) Add a loader to select 2 options while changing the resource field.
> 3) If the service definition of resources has singleValue : true then the 
> user is not able to select more than one value.
> 4) if we enter * in resource value then it will load all the options.



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

Reply via email to