@Transactional(propagation = Propagation.REQUIRES_NEW)
    public void check() {
        LOGGER.debug("Auto assigned check call");

        final PageRequest pageRequest = PageRequest.of(0, PAGE_SIZE);

        final Page<TargetFilterQuery> filterQueries = targetFilterQueryManagement.findWithAutoAssignDS(pageRequest);

        for (final TargetFilterQuery filterQuery : filterQueries) {
            checkByTargetFilterQueryAndAssignDS(filterQuery);
        }

    }
@ Transactional ( propagation = Propagation . REQUIRES_NEW ) public void check ( ) { LOGGER . debug ( "Auto assigned check call" ) ; final PageRequest pageRequest = PageRequest . of ( 0 , PAGE_SIZE ) ; final Page < TargetFilterQuery > filterQueries = targetFilterQueryManagement . findWithAutoAssignDS ( pageRequest ) ; for ( final TargetFilterQuery filterQuery : filterQueries ) { checkByTargetFilterQueryAndAssignDS ( filterQuery ) ; } }
Checks all target filter queries with an auto assign distribution set and
triggers the check and assignment to targets that don't have the design
DS yet