- All Implemented Interfaces:
PerformanceSuiteConnectorConsumer receives connector objects for servers connected to the same cohort(s) as the conformance suite OMAG server. It is called by the enterprise connector manager. Its responsibility is to store the technology under test's connector in the work pad to allow the workbench to run the tests. Most tests are run by the workbench thread to free up the inbound event processing thread that this class is called on.
Method SummaryModifier and TypeMethodDescription
voidPass the connector to one of the remote repositories in the metadata repository cohort.
voidCall disconnect on all registered connectors and stop calling them.
voidPass the metadata collection id for a repository that has just left the metadata repository cohort.
voidPass the connector for the local repository to the connector consumer.
(PerformanceWorkPad workPad)Constructor is given information to scope the tests.
workPad- place to add information received from the enterprise connector manager.
setLocalConnectorpublic void setLocalConnector
(String metadataCollectionId, LocalOMRSRepositoryConnector localConnector)Pass the connector for the local repository to the connector consumer.
addRemoteConnectorpublic void addRemoteConnector
(String metadataCollectionId, OMRSRepositoryConnector remoteConnector)Pass the connector to one of the remote repositories in the metadata repository cohort.
removeRemoteConnectorpublic void removeRemoteConnector
(String metadataCollectionId)Pass the metadata collection id for a repository that has just left the metadata repository cohort.
disconnectAllConnectorspublic void disconnectAllConnectors()Call disconnect on all registered connectors and stop calling them. The OMRS is about to shutdown.