Sharmadha Sainath created RANGER-1687:
-----------------------------------------

             Summary: Atlas Resource based policy lists the 'Atlas types' JSON 
irrespective of the resource selected
                 Key: RANGER-1687
                 URL: https://issues.apache.org/jira/browse/RANGER-1687
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Sharmadha Sainath


Following are present in resource list for Atlas policy :
 1.entity
 2.type
 3.taxonomy
 4.term
 5.operation
For any resource selected and lookup made , following POST request is made :

{code}
http://rangerhost:6080/service/plugins/services/lookupResource/cl1_atlas
{code}

Response is the list of types in Atlas as JSON :
{code}
["{\"results\":[\"hive_principal_type\",\"file_action\",\"hive_serde\",\"hive_order\",\"fs_permissions\",\"TaxonomyTerm\",\"falcon_process\",\"falcon_feed_replication\",\"DataSet\",\"falcon_feed_creation\",\"Process\",\"hive_table\",\"sqoop_dbdatastore\",\"hive_db\",\"storm_node\",\"hive_process\",\"hbase_column\",\"Referenceable\",\"falcon_feed\",\"hbase_table\",\"jms_topic\",\"storm_topology\",\"Infrastructure\",\"hbase_column_family\",\"storm_spout\",\"Asset\",\"hive_column\",\"kafka_topic\",\"hive_storagedesc\",\"hdfs_path\",\"sqoop_process\",\"hive_column_lineage\",\"storm_bolt\",\"falcon_cluster\",\"fs_path\"],\"count\":35,\"requestId\":\"pool-2-thread-9
 - dbf4e4ea-bfd3-49a7-86a2-b381c905f7fd\"}"]
{code}

No other results are shown other than the above JSON.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to