public class DiscoveryEngineRESTServices extends Object
| Constructor and Description |
|---|
DiscoveryEngineRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationResponse |
addAnnotationToAnnotation(String serverName,
String userId,
String anchorAnnotationGUID,
Annotation requestBody)
Add a new annotation and link it to an existing annotation.
|
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.
|
DiscoveryAnalysisReportResponse |
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.
|
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.
|
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,
NullRequestBody requestBody)
Return the next set of assets to process.
|
GUIDListResponse |
getAssetsByEndpoint(String serverName,
String userId,
String networkAddress,
int startFrom,
int pageSize)
Return the list of assets that have the same endpoint address.
|
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.
|
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.
|
VoidResponse |
linkAnnotation(String serverName,
String userId,
String anchorGUID,
String annotationGUID,
NullRequestBody requestBody)
Link an existing annotation to another object.
|
VoidResponse |
logAssetAuditMessage(String serverName,
String userId,
String assetGUID,
String discoveryService,
String message)
Log an audit message about this asset.
|
VoidResponse |
unlinkAnnotation(String serverName,
String userId,
String anchorGUID,
String annotationGUID,
NullRequestBody requestBody)
Remove the relationship between an annotation and another object.
|
AnnotationResponse |
updateAnnotation(String serverName,
String userId,
String annotationGUID,
Annotation requestBody)
Replace the current properties of an annotation.
|
DiscoveryAnalysisReportResponse |
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, NullRequestBody requestBody)
serverName - name of server instance to route request touserId - calling userstartFrom - starting point of the querypageSize - maximum number of results to returnrequestBody - null request bodypublic 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 getAssetsByEndpoint(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 DiscoveryAnalysisReportResponse 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 DiscoveryAnalysisReportResponse 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 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 - anchor 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 AnnotationResponse addAnnotationToAnnotation(String serverName, String userId, String anchorAnnotationGUID, Annotation requestBody)
serverName - name of server instance to route request touserId - identifier of calling useranchorAnnotationGUID - unique identifier of the annotation that this new one os to be attached torequestBody - annotation objectpublic VoidResponse linkAnnotation(String serverName, String userId, String anchorGUID, String annotationGUID, NullRequestBody requestBody)
serverName - name of server instance to route request touserId - identifier of calling useranchorGUID - unique identifier that the annotation is to be linked toannotationGUID - unique identifier of the annotationrequestBody - null request body to satisfy POST semanticspublic VoidResponse unlinkAnnotation(String serverName, String userId, String anchorGUID, String annotationGUID, NullRequestBody requestBody)
serverName - name of server instance to route request touserId - identifier of calling useranchorGUID - unique identifier that the annotation is to be unlinked fromannotationGUID - unique identifier of the annotationrequestBody - null request body to satisfy POST semanticspublic AnnotationResponse 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 semanticsCopyright © 2018–2020 ODPi. All rights reserved.