blob: 8256a33ae39a2c85ac36b7c9ab5d0437e1f9ab6c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package org.openecomp.sdc.asdctool.simulator.tenant;
import org.openecomp.sdc.be.dao.cassandra.CassandraClient;
import org.openecomp.sdc.be.dao.cassandra.OperationalEnvironmentDao;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
public class ImportTableConfig {
@Bean(name = "cassandra-client")
public CassandraClient cassandraClient() {
return new CassandraClient();
}
@Bean(name = "operational-environment-dao")
public OperationalEnvironmentDao operationalEnvironmentDao(CassandraClient cassandraClient) {
return new OperationalEnvironmentDao(cassandraClient);
}
}
|