@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/asset-manager/users/{userId}")
public class AssetManagerOMASResource
extends Object
| Constructor and Description |
|---|
AssetManagerOMASResource()
Instantiates a new Asset Manager OMAS resource.
|
| Modifier and Type | Method and Description |
|---|---|
VoidResponse |
addExternalIdentifier(String serverName,
String userId,
String openMetadataElementGUID,
String openMetadataElementTypeName,
MetadataCorrelationProperties requestBody)
Add the description of a specific external identifier.
|
VoidResponse |
confirmSynchronization(String serverName,
String userId,
String openMetadataElementGUID,
String openMetadataElementTypeName,
MetadataCorrelationProperties requestBody)
Confirm that the values of a particular metadata element have been synchronized.
|
GUIDResponse |
createExternalAssetManager(String serverName,
String userId,
AssetManagerProperties assetManagerProperties)
Create information about the external asset manager.
|
ElementHeadersResponse |
getElementsForExternalIdentifier(String serverName,
String userId,
int startFrom,
int pageSize,
MetadataCorrelationProperties requestBody)
Retrieve the unique identifier of the external asset manager from its qualified name.
|
GUIDResponse |
getExternalAssetManagerGUID(String serverName,
String userId,
String qualifiedName)
Retrieve the unique identifier of the external asset manager from its qualified name.
|
ConnectionResponse |
getOutTopicConnection(String serverName,
String userId,
String callerId)
Return the connection object for the Asset Manager OMAS's out topic.
|
VoidResponse |
removeExternalIdentifier(String serverName,
String userId,
String openMetadataElementGUID,
String openMetadataElementTypeName,
MetadataCorrelationProperties requestBody)
Remove an external identifier from an existing open metadata element.
|
VoidResponse |
updateExternalIdentifier(String serverName,
String userId,
String openMetadataElementGUID,
String openMetadataElementTypeName,
MetadataCorrelationProperties requestBody)
Update the description of a specific external identifier.
|
public AssetManagerOMASResource()
@GetMapping(path="/topics/out-topic-connection/{callerId}")
public ConnectionResponse getOutTopicConnection(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String callerId)
serverName - name of the server to route the request touserId - identifier of calling usercallerId - unique identifier for the caller@PostMapping(path="/asset-managers") public GUIDResponse createExternalAssetManager(@PathVariable String serverName, @PathVariable String userId, @RequestBody AssetManagerProperties assetManagerProperties)
serverName - name of the server to route the request to.userId - calling userassetManagerProperties - description of the integration daemon (specify qualified name at a minimum)@GetMapping(path="/asset-managers/by-name/{qualifiedName}")
public GUIDResponse getExternalAssetManagerGUID(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String qualifiedName)
serverName - name of the service to route the request to.userId - calling userqualifiedName - unique name to use for the external asset@PostMapping(path="/asset-managers/elements/{openMetadataElementTypeName}/{openMetadataElementGUID}/external-identifiers/add")
public VoidResponse addExternalIdentifier(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String openMetadataElementGUID,
@PathVariable
String openMetadataElementTypeName,
@RequestBody
MetadataCorrelationProperties requestBody)
serverName - name of the service to route the request to.userId - calling useropenMetadataElementGUID - unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName - type name of the element in the open metadata ecosystem (default referenceable)requestBody - unique identifier of this element in the external asset manager plus additional mapping properties@PostMapping(path="/asset-managers/elements/{openMetadataElementTypeName}/{openMetadataElementGUID}/external-identifiers/update")
public VoidResponse updateExternalIdentifier(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String openMetadataElementGUID,
@PathVariable
String openMetadataElementTypeName,
@RequestBody
MetadataCorrelationProperties requestBody)
serverName - name of the service to route the request to.userId - calling useropenMetadataElementGUID - unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName - type name of the element in the open metadata ecosystem (default referenceable)requestBody - unique identifier of this element in the external asset manager plus additional mapping properties@PostMapping(path="/asset-managers/elements/{openMetadataElementTypeName}/{openMetadataElementGUID}/external-identifiers/remove")
public VoidResponse removeExternalIdentifier(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String openMetadataElementGUID,
@PathVariable
String openMetadataElementTypeName,
@RequestBody
MetadataCorrelationProperties requestBody)
serverName - name of the service to route the request to.userId - calling useropenMetadataElementGUID - unique identifier (GUID) of the element in the open metadata ecosystemopenMetadataElementTypeName - type name of the element in the open metadata ecosystem (default referenceable)requestBody - unique identifier of this element in the external asset manager plus additional mapping properties@PostMapping(path="/asset-managers/elements/{openMetadataElementTypeName}/{openMetadataElementGUID}/external-identifiers")
public VoidResponse confirmSynchronization(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String openMetadataElementGUID,
@PathVariable
String openMetadataElementTypeName,
@RequestBody
MetadataCorrelationProperties requestBody)
serverName - name of the service to route the request to.userId - calling useropenMetadataElementGUID - unique identifier (GUID) of this element in open metadataopenMetadataElementTypeName - type name for the open metadata elementrequestBody - details of the external identifier and its scope@PostMapping(path="/asset-managers/external-identifiers/open-metadata-elements") public ElementHeadersResponse getElementsForExternalIdentifier(@PathVariable String serverName, @PathVariable String userId, @RequestParam int startFrom, @RequestParam int pageSize, @RequestBody MetadataCorrelationProperties requestBody)
serverName - name of the service to route the request to.userId - calling userstartFrom - paging start pointpageSize - maximum results that can be returnedrequestBody - details of the external identifierCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.