Class RepositoryGovernanceAdmin

    • Constructor Detail

      • RepositoryGovernanceAdmin

        public RepositoryGovernanceAdmin()
    • Method Detail

      • initialize

        public Map<String,​GovernanceEngineHandler> initialize​(String localServerId,
                                                                    String localServerName,
                                                                    AuditLog auditLog,
                                                                    String localServerUserId,
                                                                    String localServerPassword,
                                                                    int maxPageSize,
                                                                    GovernanceEngineConfigurationClient configurationClient,
                                                                    GovernanceEngineClient governanceActionClient,
                                                                    EngineServiceConfig engineServiceConfig)
                                                             throws OMAGConfigurationErrorException
        Initialize engine service.
        Specified by:
        initialize in class EngineServiceAdmin
        Parameters:
        localServerId - unique identifier of this server
        localServerName - name of this server
        auditLog - link to the repository responsible for servicing the REST calls
        localServerUserId - user id for this server to use if sending REST requests and processing inbound messages
        localServerPassword - password for this server to use if sending REST requests
        maxPageSize - maximum number of records that can be requested on the pageSize parameter
        configurationClient - client used by the engine host services to connect to the Governance Engine OMAS to retrieve the governance engine definitions
        governanceActionClient - client used by the engine host services to connect to the Governance Engine OMAS to manage governance actions
        engineServiceConfig - details of the options and the engines to run
        Throws:
        OMAGConfigurationErrorException - an issue in the configuration prevented initialization