[
https://issues.apache.org/jira/browse/ATLAS-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16859230#comment-16859230
]
Madhan Neethiraj commented on ATLAS-3219:
-----------------------------------------
[~Zep] - following method can be used to retrieve typedefs for a given
serviceType, by specifying it in SearchFilter. If further API changes are
needed, can you please add details?
{code}
public class AtlasClientV2 .. {
...
public AtlasTypesDef getAllTypeDefs(SearchFilter searchFilter) {
...
}
{code}
> Implemented new serviceType Rest API
> ------------------------------------
>
> Key: ATLAS-3219
> URL: https://issues.apache.org/jira/browse/ATLAS-3219
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core, atlas-intg
> Affects Versions: 2.0.0
> Environment: all
> Reporter: Diego Marino Monetti
> Priority: Major
> Fix For: trunk
>
> Time Spent: 3h
> Remaining Estimate: 0h
>
> This pull request supersedes the pull request ATLAS-3180.
> The new basic attribute serviceType, introduced by Atlas Team, has no use if
> it is not searchable ina any way. This pull request solves this problem by
> adding the following REST APIs.
> GET / typedef / servicetype / \{servicetype}
> GET / typedefs / headers? Servicetype = \{serviceType}
> GET / typedefs? Servicetype = \{servicetype}
> GET / enumdef / servicetype / \{servicetype}
> GET / entitydef / servicetype / \{servicetype}
> GET / structdef / servicetype / \{servicetype}
> GET / relationshipdef / servicetype / \{servicetype}
> DELETE / typedef / servicetype / \{servicetype}
> The APIs were tested on ATLAS 2.0 and on the new SNAPSHOT 3.0
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)