Class LineageLinkerRESTServices
java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.lineagelinker.server.LineageLinkerRESTServices
The LineageLinkerRESTServices provides the server-side implementation of the Lineage Linker Open Metadata
View Service (OMVS). This interface provides access to a person's profile, roles and network.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetachLineage
(String serverName, String urlMarker, String lineageRelationshipGUID, DeleteRequestBody requestBody) Remove the lineage for an element.linkLineage
(String serverName, String urlMarker, String elementOneGUID, String relationshipTypeName, String elementTwoGUID, NewRelationshipRequestBody requestBody) Create a lineage relationship between two elements that indicates that data is flowing from one element to another.updateLineage
(String serverName, String urlMarker, String lineageRelationshipGUID, UpdateRelationshipRequestBody requestBody) Update the lineage relationship.Methods inherited from class org.odpi.openmetadata.tokencontroller.TokenController
getUser
-
Constructor Details
-
LineageLinkerRESTServices
public LineageLinkerRESTServices()Default constructor
-
-
Method Details
-
linkLineage
public GUIDResponse linkLineage(String serverName, String urlMarker, String elementOneGUID, String relationshipTypeName, String elementTwoGUID, NewRelationshipRequestBody requestBody) Create a lineage relationship between two elements that indicates that data is flowing from one element to another.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerelementOneGUID
- unique identifier of the elementelementTwoGUID
- unique identifier of the lineage typerequestBody
- the properties of the lineage- Returns:
- guid or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
updateLineage
public VoidResponse updateLineage(String serverName, String urlMarker, String lineageRelationshipGUID, UpdateRelationshipRequestBody requestBody) Update the lineage relationship.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerlineageRelationshipGUID
- unique identifier for the lineage relationshiprequestBody
- the properties of the lineage- Returns:
- void or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
detachLineage
public VoidResponse detachLineage(String serverName, String urlMarker, String lineageRelationshipGUID, DeleteRequestBody requestBody) Remove the lineage for an element.- Parameters:
serverName
- name of the server instance to connect tourlMarker
- view service URL markerlineageRelationshipGUID
- unique identifier for the lineage typerequestBody
- external source information.- Returns:
- void or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-