class PatchingRepositoryImpl implements PatchingRepository, Constants {

    @Override
    public int getPatchingWindow() {
        try {
            String query = "select  value from  cf_SystemConfiguration where keyname = 'pacman.patching.compliance.window'";
            return rdsrepository.count(query);
        } catch (Exception e) {
            logger.error(e);
            return -1;
        }

    }

}