@Override
    public List<String> identifyResources(HelixClusterManager helixClusterManager) {
      String dcName = helixClusterManager.clusterMapConfig.clusterMapDatacenterName;
      if (!helixClusterManager.dcToResourceNameToTag.get(dcName).containsKey(resourceName)) {
        throw new IllegalArgumentException("Resource " + resourceName + " doesn't exist");
      }
      return Collections.singletonList(resourceName);
    }
Check if the given resource is valid, and then return it back.
@param helixClusterManager
@return
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixClusterManager.java