public static Optional<InfrastructureApplication> ofOptional(ApplicationId applicationId) {
        for (var application : values()) {
            if (application.id.equals(applicationId)) {
                return Optional.of(application);
            }
        }

        return Optional.empty();
    }
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