package com.cameleer.server.core.storage;

import java.time.Instant;
import java.util.Collection;
import java.util.List;

public interface RouteCatalogStore {

    void upsert(String applicationId, String environment, Collection<String> routeIds);

    List<RouteCatalogEntry> findByEnvironment(String environment, Instant from, Instant to);

    List<RouteCatalogEntry> findAll(Instant from, Instant to);

    void deleteByApplication(String applicationId);
}
