clusterStateDAO.merge(clusterStateEntity);
}
HostComponentStateDAO hostComponentStateDAO = injector.getInstance
(HostComponentStateDAO.class);
List<HostComponentStateEntity> hcEntities = hostComponentStateDAO.findAll();
if (hcEntities != null) {
for (HostComponentStateEntity hc : hcEntities) {
String currentStackVersion = hc.getCurrentStackVersion();
hc.setCurrentStackVersion(getStackIdString(currentStackVersion,