private void parseBlueprint(Map<String, Object> properties) throws NoSuchStackException, NoSuchBlueprintException {
    String blueprintName = String.valueOf(properties.get(ClusterResourceProvider.BLUEPRINT));
    // set blueprint field
    setBlueprint(getBlueprintFactory().getBlueprint(blueprintName));

    if (blueprint == null) {
      throw new NoSuchBlueprintException(blueprintName);
    }
  }
Parse blueprint.

@param properties  request properties

@throws NoSuchStackException     if specified stack doesn't exist
@throws NoSuchBlueprintException if specified blueprint doesn't exist
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ProvisionClusterRequest.java