Code example for AbstractTransactionalTestNGSpringContextTests

0
import com.vmware.bdd.entity.NodeGroupAssociation; 
import com.vmware.bdd.entity.NodeGroupEntity; 
import com.vmware.bdd.entity.VcResourcePoolEntity; 
 
@ContextConfiguration(locations = {"classpath:/META-INF/spring/*-context.xml"}) 
public class TestClusterDAO extends AbstractTransactionalTestNGSpringContextTests { 
 
   private static final Logger logger = Logger.getLogger(TestClusterDAO.class); 
   private static final String CLUSTER_NAME = "bdd-cluster"; 
   private static final String HDFS_GROUP = "hdfs"; 
   private static final String COMPUTE_GROUP = "compute"; 
   private static final String HADOOP_ROLE = "hadoop"; 
   private static final String DATA_NODE_ROLE = "hadoop-datanode"; 
   private static final String COMPUTE_NODE_ROLE = "hadoop-tasktracker"; 
 
   @Autowired 
   private IClusterDAO clusterDao; 
   @Autowired 
   private INodeGroupDAO nodeGroupDao; 
   @Autowired 
Contextual code suggestions in your IDE  Get Codota for Java