public static InfrastructureApplication withNodeType(NodeType nodeType) {
        return Stream.of(values())
                     .filter(application -> nodeType == application.nodeType)
                     .findAny()
                     .orElseThrow(() -> new IllegalArgumentException("No application associated with " + nodeType));
    }
Returns all applications that MAY be encountered in hosted Vespa, e.g. not DEV_HOST.
application-model/src/main/java/com/yahoo/vespa/applicationmodel/InfrastructureApplication.java