private Map<String, String> createComponentHostMap(Blueprint blueprint) {
    return StageUtils.createComponentHostMap(
      blueprint.getServices(),
      blueprint::getComponents,
      (service, component) -> clusterTopology.getHostAssignmentsForComponent(component)
    );
  }
Create a map of services and the relevant components that are specified in the Blueprint

@param blueprint the blueprint
@return a map of service names to component names
ambari-server/src/main/java/org/apache/ambari/server/topology/ClusterConfigurationRequest.java