Class GovernanceServerAdmin
java.lang.Object
org.odpi.openmetadata.adminservices.registration.AccessServiceAdmin
org.odpi.openmetadata.accessservices.governanceserver.admin.GovernanceServerAdmin
GovernanceServerAdmin is called during server start up to set up the Governance Server OMAS.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.adminservices.registration.AccessServiceAdmin
defaultZonesPropertyName, karmaPointIncrementPropertyName, karmaPointPlateauPropertyName, publishZonesPropertyName, supportedTypesForSearch, supportedZonesPropertyName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(AccessServiceConfig accessServiceConfig, OMRSTopicConnector omrsTopicConnector, OMRSRepositoryConnector repositoryConnector, AuditLog auditLog, String serverUserName) Initialize the access service.void
shutdown()
Shutdown the access service.Methods inherited from class org.odpi.openmetadata.adminservices.registration.AccessServiceAdmin
extractDefaultZones, extractKarmaPointIncrement, extractKarmaPointPlateau, extractPublishZones, extractSupportedZones, getFullServiceName, getInTopicEventBusConnector, getOutTopicEventBusConnector, getServerSideOutTopicConnection, getSupportedTypesForSearchOption, getTopicConnector, getTopicName, initialize, registerWithEnterpriseTopic, setFullServiceName, throwUnexpectedInitializationException
-
Constructor Details
-
GovernanceServerAdmin
public GovernanceServerAdmin()
-
-
Method Details
-
initialize
public void initialize(AccessServiceConfig accessServiceConfig, OMRSTopicConnector omrsTopicConnector, OMRSRepositoryConnector repositoryConnector, AuditLog auditLog, String serverUserName) throws OMAGConfigurationErrorException Initialize the access service.- Overrides:
initialize
in classAccessServiceAdmin
- Parameters:
accessServiceConfig
- specific configuration properties for this access serviceomrsTopicConnector
- connector for receiving OMRS Events from the cohortsrepositoryConnector
- connector for querying the cohort repositoriesauditLog
- audit log component for logging messages.serverUserName
- user id to use on OMRS calls where there is no end user- Throws:
OMAGConfigurationErrorException
- invalid parameters in the configuration properties.
-
shutdown
public void shutdown()Shutdown the access service.- Specified by:
shutdown
in classAccessServiceAdmin
-