Class AssetCatalogRelationshipResource
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetcatalog.server.spring.AssetCatalogRelationshipResource
-
@RestController @RequestMapping("/servers/{serverName}/open-metadata/access-services/asset-catalog/users/{userId}") public class AssetCatalogRelationshipResource extends ObjectThe 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 Summary
Constructors Constructor Description AssetCatalogRelationshipResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelationshipResponsegetRelationshipBetweenEntities(String serverName, String userId, String entity1GUID, String entity2GUID, String relationshipType)Fetch relationship between entities details based on its unique identifier of the ends
-
-
-
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 userentity1GUID- Entity guid of the first end of the relationshipentity2GUID- Entity guid of the second end of the relationshiprelationshipType- Type of the relationship- Returns:
- relationships between entities
-
-