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 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 Summary
Constructors -
Method Summary
-
Constructor Details
-
AssetCatalogRelationshipResource
public AssetCatalogRelationshipResource()
-
-
Method Details
-
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
-