Search in sources :

Example 1 with ServiceConnectorCreator

use of org.springframework.cloud.service.ServiceConnectorCreator in project spring-cloud-connectors by spring-cloud.

the class CloudTest method setup.

@Before
public void setup() {
    MockitoAnnotations.initMocks(this);
    serviceCreators = new ArrayList<ServiceConnectorCreator<?, ? extends ServiceInfo>>();
    serviceCreators.add(new MysqlDataSourceCreator());
}
Also used : RelationalServiceInfo(org.springframework.cloud.service.common.RelationalServiceInfo) ServiceInfo(org.springframework.cloud.service.ServiceInfo) MongoServiceInfo(org.springframework.cloud.service.common.MongoServiceInfo) MysqlServiceInfo(org.springframework.cloud.service.common.MysqlServiceInfo) AmqpServiceInfo(org.springframework.cloud.service.common.AmqpServiceInfo) UriBasedServiceInfo(org.springframework.cloud.service.UriBasedServiceInfo) RedisServiceInfo(org.springframework.cloud.service.common.RedisServiceInfo) MysqlDataSourceCreator(org.springframework.cloud.service.relational.MysqlDataSourceCreator) ServiceConnectorCreator(org.springframework.cloud.service.ServiceConnectorCreator) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 ServiceConnectorCreator (org.springframework.cloud.service.ServiceConnectorCreator)1 ServiceInfo (org.springframework.cloud.service.ServiceInfo)1 UriBasedServiceInfo (org.springframework.cloud.service.UriBasedServiceInfo)1 AmqpServiceInfo (org.springframework.cloud.service.common.AmqpServiceInfo)1 MongoServiceInfo (org.springframework.cloud.service.common.MongoServiceInfo)1 MysqlServiceInfo (org.springframework.cloud.service.common.MysqlServiceInfo)1 RedisServiceInfo (org.springframework.cloud.service.common.RedisServiceInfo)1 RelationalServiceInfo (org.springframework.cloud.service.common.RelationalServiceInfo)1 MysqlDataSourceCreator (org.springframework.cloud.service.relational.MysqlDataSourceCreator)1