Class AssetCatalogRelationshipResource


  • @RestController
    @RequestMapping("/servers/{serverName}/open-metadata/access-services/asset-catalog/users/{userId}")
    public class AssetCatalogRelationshipResource
    extends Object
    The AssetCatalogRelationshipResource provides the server-side implementation of the Asset Catalog Open Metadata Assess Service (OMAS). This interface facilitates the searching for asset's relationships, fetch the details about a specific relationship.
    • Constructor Detail

      • AssetCatalogRelationshipResource

        public AssetCatalogRelationshipResource()
    • Method Detail

      • getRelationshipBetweenEntities

        @GetMapping(path="/relationship-between-entities/{entity1GUID}/{entity2GUID}",
                    produces="application/json")
        public RelationshipResponse getRelationshipBetweenEntities​(@PathVariable("serverName")
                                                                   String serverName,
                                                                   @PathVariable("userId")
                                                                   String userId,
                                                                   @PathVariable("entity1GUID")
                                                                   String entity1GUID,
                                                                   @PathVariable("entity2GUID")
                                                                   String entity2GUID,
                                                                   @RequestParam(name="relationshipType",required=false)
                                                                   String relationshipType)
        Fetch relationship between entities details based on its unique identifier of the ends
        Parameters:
        serverName - unique identifier for requested server.
        userId - String unique identifier for the user
        entity1GUID - Entity guid of the first end of the relationship
        entity2GUID - Entity guid of the second end of the relationship
        relationshipType - Type of the relationship
        Returns:
        relationships between entities