Revert to master copy
Signed-off-by: asharani-murugesh <asharani.murugesh@in.bosch.com>
This commit is contained in:
@@ -245,8 +245,9 @@ public class RolloutGroupManagement {
|
|||||||
JoinType.LEFT);
|
JoinType.LEFT);
|
||||||
|
|
||||||
final Root<RolloutTargetGroup> countQueryFrom = countQuery.distinct(true).from(RolloutTargetGroup.class);
|
final Root<RolloutTargetGroup> countQueryFrom = countQuery.distinct(true).from(RolloutTargetGroup.class);
|
||||||
countQuery
|
countQueryFrom.join(RolloutTargetGroup_.target);
|
||||||
.select(cb.count(countQueryFrom.join(RolloutTargetGroup_.target).join(Target_.actions, JoinType.LEFT)))
|
countQueryFrom.join(RolloutTargetGroup_.actions, JoinType.LEFT);
|
||||||
|
countQuery.select(cb.count(countQueryFrom))
|
||||||
.where(cb.equal(countQueryFrom.get(RolloutTargetGroup_.rolloutGroup), rolloutGroup));
|
.where(cb.equal(countQueryFrom.get(RolloutTargetGroup_.rolloutGroup), rolloutGroup));
|
||||||
final Long totalCount = entityManager.createQuery(countQuery).getSingleResult();
|
final Long totalCount = entityManager.createQuery(countQuery).getSingleResult();
|
||||||
|
|
||||||
|
|||||||
@@ -552,7 +552,7 @@ public class RolloutManagement {
|
|||||||
if (updated == 0) {
|
if (updated == 0) {
|
||||||
// nothing to check, maybe another instance already checked in
|
// nothing to check, maybe another instance already checked in
|
||||||
// between
|
// between
|
||||||
LOGGER.info("No rolloutcheck necessary for current scheduled check {}, next check at {}", lastCheck,
|
LOGGER.debug("No rolloutcheck necessary for current scheduled check {}, next check at {}", lastCheck,
|
||||||
lastCheck + delayBetweenChecks);
|
lastCheck + delayBetweenChecks);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -342,7 +342,6 @@ public class DistributionAddUpdateWindowLayout extends VerticalLayout {
|
|||||||
distributionSet.setRequiredMigrationStep(isMigStepReq);
|
distributionSet.setRequiredMigrationStep(isMigStepReq);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
private boolean duplicateCheck(final String name, final String version) {
|
private boolean duplicateCheck(final String name, final String version) {
|
||||||
final DistributionSet existingDs = distributionSetManagement.findDistributionSetByNameAndVersion(name, version);
|
final DistributionSet existingDs = distributionSetManagement.findDistributionSetByNameAndVersion(name, version);
|
||||||
/*
|
/*
|
||||||
@@ -362,6 +361,7 @@ public class DistributionAddUpdateWindowLayout extends VerticalLayout {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Mandatory Check.
|
* Mandatory Check.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user