public @NotNull IndexedDiscoverabilities.DILookupResult isDiscoverable(EntityType entityType, String orgId, String entityId, String entityVersion, Set<DiscoverabilityLevel> discoverabilities) {
        Objects.requireNonNull(entityType, "entityType must not be null");
        Validate.notBlank(orgId, "orgId must not be blank");
        Validate.notBlank(entityId, "entityId must not be blank");
        Validate.notBlank(entityVersion, "entityVersion must not be blank");

        String key = createLookupKey(entityType, orgId, entityId, entityVersion);
        DiscoverabilityDto result = discoverabilityIndex.get(key);
        if (result == null) {
            return DILookupResult.NOT_IN_INDEX;
        } else {
            if (discoverabilities.contains(result.getDiscoverability())) {
                return DILookupResult.DISCOVERABLE;
            } else {
                return DILookupResult.NOT_DISCOVERABLE;
            }
        }
    }
Add some DiscoverabilityDtos to the index

@param discoverabilityEntities views to index
manager/api/security/src/main/java/io/apiman/manager/api/security/impl/IndexedDiscoverabilities.java