public class DiscoveryEngineRESTServices extends Object
| Constructor and Description |
|---|
DiscoveryEngineRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
GUIDResponse |
addAnnotationToAnnotation(String serverName,
String userId,
String parentAnnotationGUID,
Annotation requestBody)
Add a new annotation and link it to an existing annotation.
|
GUIDResponse |
addAnnotationToDataField(String serverName,
String userId,
String parentDataFieldGUID,
Annotation annotation)
Add a new annotation and link it to an existing data field.
|
GUIDResponse |
addAnnotationToDiscoveryReport(String serverName,
String userId,
String discoveryReportGUID,
Annotation requestBody)
Add a new annotation to the annotation store as a top level annotation linked directly off of the report.
|
GUIDResponse |
addDataFieldToDataField(String serverName,
String userId,
String parentDataFieldGUID,
DataField dataField)
Add a new data field and link it to an existing data field.
|
GUIDResponse |
addDataFieldToDiscoveryReport(String serverName,
String userId,
String annotationGUID,
DataField dataField)
Add a new data field to the Annotation store linked off of an annotation (typically SchemaAnalysisAnnotation).
|
GUIDResponse |
createDiscoveryAnalysisReport(String serverName,
String userId,
String assetGUID,
DiscoveryAnalysisReportRequestBody requestBody)
Create a new discovery analysis report and chain it to its asset, discovery engine and discovery service.
|
VoidResponse |
deleteAnnotation(String serverName,
String userId,
String annotationGUID,
NullRequestBody requestBody)
Remove an annotation from the annotation store.
|
VoidResponse |
deleteDataField(String serverName,
String userId,
String dataFieldGUID,
NullRequestBody requestBody)
Remove a data field from the annotation store.
|
GUIDListResponse |
findAssets(String serverName,
String userId,
String searchString,
int startFrom,
int pageSize)
Return a list of assets with the requested search string in their name, qualified name
or description.
|
GUIDListResponse |
findAssetsByEndpoint(String serverName,
String userId,
String networkAddress,
int startFrom,
int pageSize)
Return the list of assets that have the same endpoint address.
|
AnnotationResponse |
getAnnotation(String serverName,
String userId,
String annotationGUID)
Retrieve a single annotation by unique identifier.
|
AnnotationListResponse |
getAnnotationsForAssetByStatus(String serverName,
String userId,
String assetGUID,
int startingFrom,
int maximumResults,
StatusRequestBody requestBody)
Return the list of annotations from previous runs of the discovery service that are set to a specific status.
|
GUIDListResponse |
getAssets(String serverName,
String userId,
int startFrom,
int pageSize)
Return the next set of assets to process.
|
GUIDListResponse |
getAssetsByName(String serverName,
String userId,
String name,
int startFrom,
int pageSize)
Return the list of matching assets that have the supplied name as either the
qualified name or display name.
|
GUIDListResponse |
getAssetsByQualifiedName(String serverName,
String userId,
String name,
int startFrom,
int pageSize)
Return the assets with the same qualified name.
|
DataFieldResponse |
getDataField(String serverName,
String userId,
String dataFieldGUID)
Return a specific data field stored in the annotation store (previous or new).
|
DiscoveryAnalysisReportResponse |
getDiscoveryAnalysisReport(String serverName,
String userId,
String discoveryReportGUID)
Request the discovery report for a discovery request that has completed.
|
AnnotationListResponse |
getDiscoveryReportAnnotations(String serverName,
String userId,
String discoveryReportGUID,
int startingFrom,
int maximumResults)
Return the annotations linked directly to the report.
|
AnnotationListResponse |
getExtendedAnnotations(String serverName,
String userId,
String annotationGUID,
int startingFrom,
int maximumResults)
Return any annotations attached to this annotation.
|
DataFieldListResponse |
getNestedDataFields(String serverName,
String userId,
String parentDataFieldGUID,
int startingFrom,
int maximumResults)
Return any annotations attached to this annotation.
|
DataFieldListResponse |
getNewDataFieldsForAsset(String serverName,
String userId,
String discoveryReportGUID,
int startingFrom,
int maximumResults)
Return the current list of data fields for this discovery run.
|
DataFieldListResponse |
getPreviousDataFieldsForAsset(String serverName,
String userId,
String discoveryReportGUID,
int startingFrom,
int maximumResults)
Return the list of data fields from previous runs of the discovery service.
|
NameListResponse |
getTypesOfAnnotation(String serverName,
String userId)
Return the annotation subtype names.
|
StringMapResponse |
getTypesOfAnnotationWithDescriptions(String serverName,
String userId)
Return the annotation subtype names mapped to their descriptions.
|
VoidResponse |
logAssetAuditMessage(String serverName,
String userId,
String assetGUID,
String discoveryService,
String message)
Log an audit message about this asset.
|
VoidResponse |
updateAnnotation(String serverName,
String userId,
String annotationGUID,
Annotation requestBody)
Replace the current properties of an annotation.
|
VoidResponse |
updateDataField(String serverName,
String userId,
String dataFieldGUID,
DataField dataField)
Replace the current properties of a data field.
|
VoidResponse |
updateDiscoveryAnalysisReport(String serverName,
String userId,
String discoveryReportGUID,
DiscoveryAnalysisReport requestBody)
Update the properties of the discovery analysis report.
|
public DiscoveryEngineRESTServices()
public GUIDListResponse getAssets(String serverName, String userId, int startFrom, int pageSize)
serverName - name of server instance to route request touserId - calling userstartFrom - starting point of the querypageSize - maximum number of results to returnpublic GUIDListResponse getAssetsByQualifiedName(String serverName, String userId, String name, int startFrom, int pageSize)
serverName - name of server instance to route request touserId - calling username - the qualified name to query onstartFrom - place to start in querypageSize - number of results to returnpublic GUIDListResponse getAssetsByName(String serverName, String userId, String name, int startFrom, int pageSize)
serverName - name of server instance to route request touserId - calling username - name to query forstartFrom - place to start in querypageSize - number of results to returnpublic GUIDListResponse findAssets(String serverName, String userId, String searchString, int startFrom, int pageSize)
serverName - name of server instance to route request touserId - calling usersearchString - string to search for in textstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to returnpublic GUIDListResponse findAssetsByEndpoint(String serverName, String userId, String networkAddress, int startFrom, int pageSize)
serverName - name of server instance to route request touserId - calling usernetworkAddress - address to query onstartFrom - place to start in querypageSize - number of results to returnpublic VoidResponse logAssetAuditMessage(String serverName, String userId, String assetGUID, String discoveryService, String message)
serverName - name of server instance to route request touserId - userId of user making request.assetGUID - unique identifier for asset.discoveryService - name of discovery servicemessage - message to logpublic GUIDResponse createDiscoveryAnalysisReport(String serverName, String userId, String assetGUID, DiscoveryAnalysisReportRequestBody requestBody)
serverName - name of server instance to route request touserId - calling userassetGUID - unique identifier of the asset being analysedrequestBody - all of the other parameterspublic VoidResponse updateDiscoveryAnalysisReport(String serverName, String userId, String discoveryReportGUID, DiscoveryAnalysisReport requestBody)
serverName - name of server instance to route request touserId - calling userdiscoveryReportGUID - unique identifier of the report to updaterequestBody - updated report - this will replace what was previous storedpublic DiscoveryAnalysisReportResponse getDiscoveryAnalysisReport(String serverName, String userId, String discoveryReportGUID)
serverName - name of server instance to route request touserId - identifier of calling userdiscoveryReportGUID - identifier of the discovery request.public NameListResponse getTypesOfAnnotation(String serverName, String userId)
serverName - name of the server instance to connect touserId - calling userpublic StringMapResponse getTypesOfAnnotationWithDescriptions(String serverName, String userId)
serverName - name of the server instance to connect touserId - calling userpublic AnnotationListResponse getAnnotationsForAssetByStatus(String serverName, String userId, String assetGUID, int startingFrom, int maximumResults, StatusRequestBody requestBody)
serverName - name of server instance to route request touserId - calling userassetGUID - unique identifier of the assetstartingFrom - starting position in the list.maximumResults - maximum number of elements that can be returnedrequestBody - status value to use on the querypublic AnnotationListResponse getDiscoveryReportAnnotations(String serverName, String userId, String discoveryReportGUID, int startingFrom, int maximumResults)
serverName - name of server instance to route request touserId - identifier of calling userdiscoveryReportGUID - identifier of the discovery request.startingFrom - initial position in the stored list.maximumResults - maximum number of definitions to return on this call.public AnnotationListResponse getExtendedAnnotations(String serverName, String userId, String annotationGUID, int startingFrom, int maximumResults)
serverName - name of server instance to route request touserId - identifier of calling userannotationGUID - parent annotationstartingFrom - starting position in the listmaximumResults - maximum number of annotations that can be returned.public AnnotationResponse getAnnotation(String serverName, String userId, String annotationGUID)
serverName - name of server instance to route request touserId - identifier of calling userannotationGUID - unique identifier of the annotationpublic GUIDResponse addAnnotationToDiscoveryReport(String serverName, String userId, String discoveryReportGUID, Annotation requestBody)
serverName - name of server instance to route request touserId - identifier of calling userdiscoveryReportGUID - unique identifier of the discovery analysis reportrequestBody - annotation objectpublic GUIDResponse addAnnotationToAnnotation(String serverName, String userId, String parentAnnotationGUID, Annotation requestBody)
serverName - name of server instance to route request touserId - identifier of calling userparentAnnotationGUID - unique identifier of the annotation that this new one os to be attached torequestBody - annotation objectpublic VoidResponse updateAnnotation(String serverName, String userId, String annotationGUID, Annotation requestBody)
serverName - name of server instance to route request touserId - identifier of calling userannotationGUID - identifier of the annotation to changerequestBody - new propertiespublic VoidResponse deleteAnnotation(String serverName, String userId, String annotationGUID, NullRequestBody requestBody)
serverName - name of server instance to route request touserId - identifier of calling userannotationGUID - unique identifier of the annotationrequestBody - null request body to satisfy POST semanticspublic DataFieldListResponse getPreviousDataFieldsForAsset(String serverName, String userId, String discoveryReportGUID, int startingFrom, int maximumResults)
serverName - name of server instance to route request touserId - identifier of calling userdiscoveryReportGUID - unique identifier of the discovery analysis reportstartingFrom - starting position in the list.maximumResults - maximum number of elements that can be returnedpublic DataFieldListResponse getNewDataFieldsForAsset(String serverName, String userId, String discoveryReportGUID, int startingFrom, int maximumResults)
serverName - name of server instance to route request touserId - identifier of calling userdiscoveryReportGUID - unique identifier of the discovery analysis reportstartingFrom - starting position in the list.maximumResults - maximum number of elements that can be returnedpublic DataFieldListResponse getNestedDataFields(String serverName, String userId, String parentDataFieldGUID, int startingFrom, int maximumResults)
serverName - name of server instance to route request touserId - identifier of calling userparentDataFieldGUID - parent data field identifierstartingFrom - starting position in the listmaximumResults - maximum number of annotations that can be returned.public DataFieldResponse getDataField(String serverName, String userId, String dataFieldGUID)
serverName - name of server instance to route request touserId - identifier of calling userdataFieldGUID - unique identifier of the data fieldpublic GUIDResponse addDataFieldToDiscoveryReport(String serverName, String userId, String annotationGUID, DataField dataField)
serverName - name of server instance to route request touserId - identifier of calling userannotationGUID - unique identifier of the annotation that the data field is to be linked todataField - dataField objectpublic GUIDResponse addDataFieldToDataField(String serverName, String userId, String parentDataFieldGUID, DataField dataField)
serverName - name of server instance to route request touserId - identifier of calling userparentDataFieldGUID - unique identifier of the data field that this new one is to be attached todataField - data field objectpublic GUIDResponse addAnnotationToDataField(String serverName, String userId, String parentDataFieldGUID, Annotation annotation)
serverName - name of server instance to route request touserId - identifier of calling userparentDataFieldGUID - unique identifier of the data field that this new one is to be attached toannotation - data field objectpublic VoidResponse updateDataField(String serverName, String userId, String dataFieldGUID, DataField dataField)
serverName - name of server instance to route request touserId - identifier of calling userdataFieldGUID - unique identifier of the data fielddataField - new propertiespublic VoidResponse deleteDataField(String serverName, String userId, String dataFieldGUID, NullRequestBody requestBody)
serverName - name of server instance to route request touserId - identifier of calling userdataFieldGUID - unique identifier of the data fieldrequestBody - null request bodyCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.