@Test void checkValidEnvironmentAwsNonHA() { DetailedEnvironmentResponse environment = createEnvironment(CloudPlatform.AWS.name(), Map.of()); underTest.checkValidEnvironment(STACKNAME, DatabaseAvailabilityType.NON_HA, environment); }
public void checkValidEnvironment(String stackName, DatabaseAvailabilityType externalDatabase, DetailedEnvironmentResponse environment) { LOGGER.debug("Checking environment validity for stack {}", stackName); if (CloudPlatform.AWS.name().equalsIgnoreCase(environment.getCloudPlatform())) { checkAwsEnvironment(stackName, externalDatabase, environment); } }
EnvironmentValidator { public void checkValidEnvironment(String stackName, DatabaseAvailabilityType externalDatabase, DetailedEnvironmentResponse environment) { LOGGER.debug("Checking environment validity for stack {}", stackName); if (CloudPlatform.AWS.name().equalsIgnoreCase(environment.getCloudPlatform())) { checkAwsEnvironment(stackName, externalDatabase, environment); } } }
EnvironmentValidator { public void checkValidEnvironment(String stackName, DatabaseAvailabilityType externalDatabase, DetailedEnvironmentResponse environment) { LOGGER.debug("Checking environment validity for stack {}", stackName); if (CloudPlatform.AWS.name().equalsIgnoreCase(environment.getCloudPlatform())) { checkAwsEnvironment(stackName, externalDatabase, environment); } }  }
EnvironmentValidator { public void checkValidEnvironment(String stackName, DatabaseAvailabilityType externalDatabase, DetailedEnvironmentResponse environment) { LOGGER.debug("Checking environment validity for stack {}", stackName); if (CloudPlatform.AWS.name().equalsIgnoreCase(environment.getCloudPlatform())) { checkAwsEnvironment(stackName, externalDatabase, environment); } }  void checkValidEnvironment(String stackName, DatabaseAvailabilityType externalDatabase, DetailedEnvironmentResponse environment); }
EnvironmentValidator { public void checkValidEnvironment(String stackName, DatabaseAvailabilityType externalDatabase, DetailedEnvironmentResponse environment) { LOGGER.debug("Checking environment validity for stack {}", stackName); if (CloudPlatform.AWS.name().equalsIgnoreCase(environment.getCloudPlatform())) { checkAwsEnvironment(stackName, externalDatabase, environment); } }  void checkValidEnvironment(String stackName, DatabaseAvailabilityType externalDatabase, DetailedEnvironmentResponse environment);  }