"This operation is not supported on Dynamic modules.");
}
}
private ManualScaling getRequiredManualScaling(Module module) {
ManualScaling manualScaling =
module.getMainContainer().getAppEngineWebXmlConfig().getManualScaling();
if (manualScaling.isEmpty()) {
LOGGER.warning("Module " + module.getModuleName() + " must be a manual scaling module");
throw new ApplicationException(ModulesServiceError.ErrorCode.INVALID_VERSION_VALUE,
"Manual scaling is required.");
}
return manualScaling;