Class LineageLinkerRESTServices

java.lang.Object
org.odpi.openmetadata.tokencontroller.TokenController
org.odpi.openmetadata.viewservices.lineagelinker.server.LineageLinkerRESTServices

public class LineageLinkerRESTServices extends TokenController
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 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 to
      urlMarker - view service URL marker
      elementOneGUID - unique identifier of the element
      elementTwoGUID - unique identifier of the lineage type
      requestBody - 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 to
      urlMarker - view service URL marker
      lineageRelationshipGUID - unique identifier for the lineage relationship
      requestBody - 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 to
      urlMarker - view service URL marker
      lineageRelationshipGUID - unique identifier for the lineage type
      requestBody - external source information.
      Returns:
      void or InvalidParameterException one of the properties is invalid PropertyServerException problem accessing property server UserNotAuthorizedException security access problem