atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shwetha G S (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ATLAS-290) Request to get a specific entity using REST API returns additional (perhaps all) entities
Date Mon, 09 Nov 2015 04:17:11 GMT

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

Shwetha G S resolved ATLAS-290.
-------------------------------
    Resolution: Invalid

[~abhayk], resolving this. Please re-open if you still face issue. Thanks

> Request to get a specific entity using REST API returns additional (perhaps all) entities
> -----------------------------------------------------------------------------------------
>
>                 Key: ATLAS-290
>                 URL: https://issues.apache.org/jira/browse/ATLAS-290
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Abhay
>
> I called the following GET API using Chrome's Advanced REST Client  -- http://tagsync-test:21000/api/atlas/discovery/search?query=hive_db
and name='default'
> Expected to see one entity in the results in the response JSON, but received the following
JSON response.
> {"requestId":"qtp2009950811-15 - 067a5852-9fde-4915-9e79-6df6d68f14c5","query":"hive_db
and name='default'","queryType":"full-text","count":40,"results":[{"guid":"b9ba677c-7ed7-4547-a36f-e5cd1acb7dc8","typeName":"hive_db","score":0.5923064351081848},{"guid":"5e1de5da-0476-4880-ac5a-71155d44ba7a","typeName":"hive_table","score":0.3833988308906555},{"guid":"10c55ea6-8a37-459a-b01e-92c32484f61e","typeName":"hive_table","score":0.37741121649742126},{"guid":"4a3aaf7e-dfea-4771-8c27-146d12ab0adf","typeName":"hive_db","score":0.2751612067222595},{"guid":"82ba1cd4-b3b8-44df-95fe-8fb2a2702cac","typeName":"hive_db","score":0.23446457087993622},{"guid":"3f651870-14ee-405d-a52f-321ab65df25d","typeName":"hive_db","score":0.20377390086650848},{"guid":"ba40fe9c-c501-4edd-ae12-edb639e672b7","typeName":"hive_db","score":0.17466334998607635},{"guid":"8ab05574-aae1-4af4-9113-e3cfd34d8c6b","typeName":"hive_db","score":0.17466334998607635},{"guid":"441f5ad4-9806-4d42-b13a-84e02a2b0039","typeName":"hive_table","score":0.12706011533737183},{"guid":"5ffe0593-0989-4f9a-a291-2dab5839254d","typeName":"hive_table","score":0.1208200603723526},{"guid":"d4e83530-95a8-4dcf-ba3f-4265a170eb1b","typeName":"hive_table","score":0.1208200603723526},{"guid":"e3b3c676-3ec9-49b0-9ee2-c2efdab9e639","typeName":"hive_table","score":0.11108407378196716},{"guid":"ae94c373-228e-41fa-9cde-5414433f108a","typeName":"hive_column","score":0.043656136840581894},{"guid":"75f48ac3-fa66-4b55-84ea-0506ff108ebf","typeName":"hive_column","score":0.03989465534687042},{"guid":"90911439-7424-498e-9bef-c5521816fd45","typeName":"hive_column","score":0.03989465534687042},{"guid":"862504fd-3245-4d04-ab8c-1a4f61d135e3","typeName":"hive_column","score":0.033895011991262436},{"guid":"986f092d-779b-4058-b57b-9de0936a1b1a","typeName":"hive_column","score":0.033895011991262436},{"guid":"cf8b8121-51e9-412c-96a7-e205be9bcc66","typeName":"hive_column","score":0.033895011991262436},{"guid":"5d8f9f23-4ecc-4154-a70a-3b8b8966c3bd","typeName":"hive_column","score":0.033895011991262436},{"guid":"ccaa1886-8e98-47c9-8755-0f93d0b6b641","typeName":"hive_column","score":0.03171973675489426},{"guid":"5a6b2f5a-4f8f-4653-ad3f-dc2d56b6dc2d","typeName":"hive_column","score":0.03171973675489426},{"guid":"02a8ff32-ec11-439f-a6e3-0e977cb6ec61","typeName":"hive_column","score":0.03171973675489426},{"guid":"ddd95cda-3534-4629-8bb6-d723514d37e3","typeName":"hive_column","score":0.03171973675489426},{"guid":"b00c02ca-048e-434c-ad06-c636af28c73c","typeName":"hive_column","score":0.03086954914033413},{"guid":"46ce0a17-e310-4e87-8acc-293edd3917c0","typeName":"hive_column","score":0.03086954914033413},{"guid":"0865aa53-0640-4b20-844b-cc9eb783e686","typeName":"hive_column","score":0.03086954914033413},{"guid":"d06800dc-b70f-48be-9f9b-82f9f106aac7","typeName":"hive_column","score":0.03086954914033413},{"guid":"68ce236f-76c9-47c6-9e50-d7e116bb2572","typeName":"hive_column","score":0.03086954914033413},{"guid":"cf9a4fcb-6e48-438b-b97b-a6300966de22","typeName":"hive_column","score":0.03086954914033413},{"guid":"436c2914-7326-4728-817a-eb51e91178cc","typeName":"hive_column","score":0.03086954914033413},{"guid":"0f38b41f-dd9c-4d75-b93c-9ca1786ebf46","typeName":"hive_column","score":0.02655208669602871},{"guid":"a02a4a8d-52a9-4d00-ac24-51fce119c910","typeName":"hive_column","score":0.02655208669602871},{"guid":"4bdaa08b-9733-448d-909e-e89a46ba3a32","typeName":"hive_column","score":0.02655208669602871},{"guid":"09e0e0e6-81af-4e73-a44d-84cfa6065351","typeName":"hive_column","score":0.02655208669602871},{"guid":"bd9d58ae-503a-477e-bdee-eb2f48cb6137","typeName":"hive_column","score":0.02655208669602871},{"guid":"103a661e-5aa9-4b28-a1cf-3c349de23d49","typeName":"hive_process","score":0.01595786213874817},{"guid":"2b36d097-a265-49af-9ec6-18218a9a9816","typeName":"hive_process","score":0.01595786213874817},{"guid":"3cd432fb-c5c6-47f2-ad99-5ba08f31febc","typeName":"hive_process","score":0.012687894515693188},{"guid":"d6bcb90e-6720-4124-9317-e8fe26d4fa25","typeName":"hive_process","score":0.012687894515693188},{"guid":"d43de42c-0e56-4a7b-b6a9-754874e62512","typeName":"hive_process","score":0.010620835237205029}]}




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message