class FarzonePodResourcePoolResolver implements PodResourcePoolResolver {

    @Override
    public List<ResourcePoolAssignment> resolve(Job<?> job) {
        return KubeUtil.findFarzoneId(configuration, job).map(farzone -> {
                    String resourcePoolName = PodResourcePoolResolvers.RESOURCE_POOL_ELASTIC_FARZONE_PREFIX + farzone;
                    return Collections.singletonList(ResourcePoolAssignment.newBuilder()
                            .withResourcePoolName(resourcePoolName)
                            .withRule(String.format("Farzone %s assigned to resource pool %s", farzone, resourcePoolName))
                            .build()
                    );
                }
        ).orElse(Collections.emptyList());
    }

    public  FarzonePodResourcePoolResolver(DirectKubeConfiguration configuration);

}