HostDAO hostDAO = injector.getInstance(HostDAO.class);
ClusterDAO clusterDAO = injector.getInstance(ClusterDAO.class);
HostEntity hostEntity = new HostEntity();
hostEntity.setHostName(HOST_NAME);
hostEntity.setClusterEntities(Collections.singletonList(clusterEntity));
hostDAO.create(hostEntity);
clusterEntity.getHostEntities().add(hostEntity);
clusterDAO.merge(clusterEntity);
return hostEntity;
}