From 4733bb508d9c667422fd2d49528e391bdd95bebc Mon Sep 17 00:00:00 2001 From: "Lisang(Toby) Zhou" Date: Tue, 27 Oct 2020 03:17:38 -0500 Subject: [PATCH] sanity check: ensure BDAP-2128 is live --- .../controller/validation/template/TemplateValidator.java | 2 ++ .../com/sequenceiq/cloudbreak/service/StackCommonService.java | 1 + 2 files changed, 3 insertions(+) diff --git a/core/src/main/java/com/sequenceiq/cloudbreak/controller/validation/template/TemplateValidator.java b/core/src/main/java/com/sequenceiq/cloudbreak/controller/validation/template/TemplateValidator.java index 49a2f2c52dc9..305719ac5945 100644 --- a/core/src/main/java/com/sequenceiq/cloudbreak/controller/validation/template/TemplateValidator.java +++ b/core/src/main/java/com/sequenceiq/cloudbreak/controller/validation/template/TemplateValidator.java @@ -52,6 +52,8 @@ public class TemplateValidator { public void validateTemplateRequest(Credential credential, Template template, String region, String availabilityZone, String variant) { + LOGGER.info("Josh and Toby's version. validateTemplateRequest is invoked"); + String debugMsg = null; CloudVmTypes cloudVmTypes = cloudParameterService.getVmTypesV2(credential, region, variant, new HashMap<>()); diff --git a/core/src/main/java/com/sequenceiq/cloudbreak/service/StackCommonService.java b/core/src/main/java/com/sequenceiq/cloudbreak/service/StackCommonService.java index c27378950498..2e74485cfc9c 100644 --- a/core/src/main/java/com/sequenceiq/cloudbreak/service/StackCommonService.java +++ b/core/src/main/java/com/sequenceiq/cloudbreak/service/StackCommonService.java @@ -171,6 +171,7 @@ public StackResponse getStackForAmbari(AmbariAddressJson json) { @Override public Set getAllForAutoscale() { + LOGGER.info("Josh and Toby's version is live and used on cloudbreak"); LOGGER.info("Get all stack, autoscale authorized only."); return stackService.getAllForAutoscale(); }