atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apoorv Naik (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ATLAS-2612) Atlas returns term definition with "/glossary/<term_guid>" API. Is this accurate? The correct API should be /glossary/term/<term_guid>
Date Tue, 01 May 2018 22:46:00 GMT

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

Apoorv Naik resolved ATLAS-2612.
--------------------------------
    Resolution: Fixed

https://git-wip-us.apache.org/repos/asf?p=atlas.git;a=commit;h=d8d9b127042c67e89b04656574badcf9f7800672

> Atlas returns term definition with "/glossary/<term_guid>" API. Is this accurate?
The correct API should be /glossary/term/<term_guid>
> --------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: ATLAS-2612
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2612
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 1.0.0
>            Reporter: Ayub Pathan
>            Assignee: Apoorv Naik
>            Priority: Major
>             Fix For: 1.0.0
>
>
> * Below are the list of glossary and terms
> {noformat}
> curl -k -u admin:admin 'https://ctr-e138-1518143905142-256977-01-000004.hwx.site:21443/api/atlas/v2/glossary/'|
python -m json.tool
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   564    0   564    0     0    224      0 --:--:--  0:00:02 --:--:--   224
> [
>     {
>         "guid": "7fd4da3a-e6df-402f-a801-15883567d762",
>         "displayName": "Org",
>         "shortDescription": "hortonworks",
>         "longDescription": "HWX",
>         "qualifiedName": "Org",
>         "terms": [
>             {
>                 "termGuid": "eac56951-c61f-4b49-a578-8be5d37d2679",
>                 "relationGuid": "fb87ff3e-50e1-461f-be56-e0ab3d701c15",
>                 "displayText": "apache"
>             },
>             {
>                 "termGuid": "2cf05982-2e39-41c5-a656-b3703dbc8b4c",
>                 "relationGuid": "a870627e-febe-474e-994e-31dc37aac716",
>                 "displayText": "abc"
>             }
>         ]
>     },
>     {
>         "guid": "1627ad45-84a3-4189-b708-54939fa18afa",
>         "displayName": "apache",
>         "shortDescription": "apache",
>         "longDescription": "apache",
>         "qualifiedName": "apache"
>     }
> ]
> {noformat}
>  * */glossary/<term_guid> API returns term definition*
> {noformat}
> curl -k -u admin:admin 'https://ctr-e138-1518143905142-256977-01-000004.hwx.site:21443/api/atlas/v2/glossary/2cf05982-2e39-41c5-a656-b3703dbc8b4c'
| python -m json.tool
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   142    0   142    0     0     57      0 --:--:--  0:00:02 --:--:--    57
> {
>     "guid": "2cf05982-2e39-41c5-a656-b3703dbc8b4c",
>     "displayName": "abc",
>     "shortDescription": "abc",
>     "longDescription": "abc",
>     "qualifiedName": "abc@Org"
> }
> {noformat}
> atlas version
> {noformat}
> {
>     "Description": "Metadata Management and Data Governance Platform over Hadoop",
>     "Version": "1.0.0.3.0.0.0-1242-r9b7265e3c2e483a3942f42f111c25b38885259fb",
>     "Name": "apache-atlas"
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message