Class GovernanceServerRESTServices
java.lang.Object
org.odpi.openmetadata.accessservices.governanceserver.server.GovernanceServerRESTServices
The GovernanceEngineRESTServices provides the server-side implementation of the services used by the governance
engine as it is managing requests to execute open governance services in the governance server.
These services align with the interface definitions from the Governance Action Framework (GAF).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetOutTopicConnection
(String serverName, String userId, String callerId) Return the connection object for the Governance Server OMAS's out topic.logAssetAuditMessage
(String serverName, String userId, String assetGUID, String governanceService, String message) Log an audit message about this asset.
-
Constructor Details
-
GovernanceServerRESTServices
public GovernanceServerRESTServices()Default constructor
-
-
Method Details
-
getOutTopicConnection
public OCFConnectionResponse getOutTopicConnection(String serverName, String userId, String callerId) Return the connection object for the Governance Server OMAS's out topic.- Parameters:
serverName
- name of the service to route the request to.userId
- identifier of calling user.callerId
- unique identifier of the caller- Returns:
- connection object for the out topic or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem retrieving the Governance Server definition.
-
logAssetAuditMessage
public VoidResponse logAssetAuditMessage(String serverName, String userId, String assetGUID, String governanceService, String message) Log an audit message about this asset.- Parameters:
serverName
- name of server instance to route request touserId
- userId of user making request.assetGUID
- unique identifier for asset.governanceService
- name of governance servicemessage
- message to log- Returns:
- void or InvalidParameterException one of the parameters is null or invalid. UserNotAuthorizedException user not authorized to issue this request. PropertyServerException there was a problem that occurred within the property server.
-