class TierPodResourcePoolResolver implements PodResourcePoolResolver {

    @Override
    public List<ResourcePoolAssignment> resolve(Job<?> job) {
        ApplicationSLA capacityGroup = JobManagerUtil.getCapacityGroupDescriptor(job.getJobDescriptor(), capacityGroupService);
        if (capacityGroup == null || capacityGroup.getTier() != Tier.Critical) {
            return Collections.singletonList(ASSIGNMENT_ELASTIC);
        }
        return Collections.singletonList(ASSIGNMENT_RESERVED);
    }

    public  TierPodResourcePoolResolver(ApplicationSlaManagementService capacityGroupService);

}