From 287f37473dfdc52e932aa3a6856022933993c039 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 ++ .../sequenceiq/cloudbreak/service/StackCommonService.java | 1 + core/src/main/resources/logback.xml | 5 +++++ 3 files changed, 8 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 49a2f2c52dc..305719ac594 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 c2737895049..2e74485cfc9 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(); } diff --git a/core/src/main/resources/logback.xml b/core/src/main/resources/logback.xml index 1a824044cc3..bf6b4fa71c1 100644 --- a/core/src/main/resources/logback.xml +++ b/core/src/main/resources/logback.xml @@ -51,4 +51,9 @@ + + + + + \ No newline at end of file