class DefaultApplicationSlaManagementService implements ApplicationSlaManagementService {

    @Override
    public ApplicationSLA getApplicationSLA(String applicationName) {
        return storage.findByName(applicationName)
                .onErrorReturn(t -> {
                    logger.info("Error retrieving ApplicationSLA for applicationName {}: {}", applicationName, t.getMessage());
                    if (logger.isDebugEnabled()) {
                        logger.debug("Error retrieving ApplicationSLA for applicationName " + applicationName, t);
                    }
                    return null;
                })
                .toBlocking()
                .firstOrDefault(null);
    }

    @Inject public  DefaultApplicationSlaManagementService(CapacityMonitoringService capacityMonitoringService,
                                                  ApplicationSlaStore storage,
                                                  ManagementSubsystemInitializer initializer);

}