@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/asset-lineage/users/{userId}/")
public class AssetLineageResource
extends Object
| Constructor and Description |
|---|
AssetLineageResource() |
| Modifier and Type | Method and Description |
|---|---|
GUIDListResponse |
publishAssetContext(String serverName,
String userId,
String guid,
String entityType)
Find the entity by guid and publish the asset context for it.
|
GUIDListResponse |
publishEntities(String serverName,
String userId,
String entityType,
LocalDateTime updatedAfterDate,
List<String> entitySubtypeGUIDs,
List<InstanceStatus> limitResultsByStatus,
SearchClassifications searchClassifications,
String sequencingProperty,
SequencingOrder sequencingOrder)
Scan the cohort based on the given entity type and publish the contexts for the found entities to the out topic
|
GUIDListResponse |
publishEntity(String serverName,
String userId,
String guid,
String entityType)
Find the entity by guid and publish the context for it
|
@GetMapping(path="/publish-entities/{entityType}")
public GUIDListResponse publishEntities(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String entityType,
@RequestParam(required=false) @DateTimeFormat(iso=DATE_TIME)
LocalDateTime updatedAfterDate,
@RequestParam(required=false)
List<String> entitySubtypeGUIDs,
@RequestParam(required=false)
List<InstanceStatus> limitResultsByStatus,
@RequestParam(required=false)
SearchClassifications searchClassifications,
@RequestParam(required=false)
String sequencingProperty,
@RequestParam(required=false)
SequencingOrder sequencingOrder)
serverName - name of server instance to calluserId - the name of the calling userentityType - the name of the relationship typeupdatedAfterDate - match entities updated starting from this date forward. The date must be provided in the ISO formatentitySubtypeGUIDs - optional list of the unique identifiers (guids) for subtypes of the entityTypeGUID to
include in the search results. Null means all subtypes.limitResultsByStatus - By default, entities in all statuses are returned. However, it is possible
to specify a list of statuses (eg ACTIVE) to restrict the results to. Null means all
status values.searchClassifications - Optional list of entity classifications to match.sequencingProperty - String name of the entity property that is to be used to sequence the results.
Null means do not sequence on a property name (see SequencingOrder).sequencingOrder - Enum defining how the results should be ordered.@GetMapping(path="/publish-entity/{entityType}/{guid}")
public GUIDListResponse publishEntity(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@PathVariable
String entityType)
serverName - name of server instance to calluserId - the name of the calling userguid - the guid of the entity to build contextentityType - the name of the relationship type@GetMapping(path="/publish-context/{entityType}/{guid}")
public GUIDListResponse publishAssetContext(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@PathVariable
String entityType)
serverName - name of server instance to calluserId - the name of the calling userguid - the guid of the entity to build contextentityType - the name of the relationship typeCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.