Signed-off-by: Emma Indal <emma.indahl@gmail.com>
Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Emma Indal
2021-05-24 09:49:44 +02:00
committed by Eric Peterson
parent b6a633ca31
commit 720fd2f360
5 changed files with 31 additions and 27 deletions
+1 -4
View File
@@ -120,10 +120,7 @@ const routes = (
<Route path="/gcp-projects" element={<GcpProjectsPage />} />
<Route path="/newrelic" element={<NewRelicPage />} />
<Route path="/search" element={<SearchPage />} />
<Route
path="/search-next"
element={<SearchPageNext />}
>
<Route path="/search-next" element={<SearchPageNext />}>
{searchPage}
</Route>
<Route path="/cost-insights" element={<CostInsightsPage />} />
+1 -1
View File
@@ -31,7 +31,7 @@ export default async function createPlugin({
indexBuilder.addCollator({
type: 'software-catalog',
defaultRefreshIntervalSeconds: 600,
defaultRefreshIntervalSeconds: 10,
collator: new DefaultCatalogCollator({ discovery }),
});
+4 -1
View File
@@ -66,5 +66,8 @@ export interface DocumentCollator {
* additional metadata.
*/
export interface DocumentDecorator {
execute(type: string, documents: IndexableDocument[]): Promise<IndexableDocument[]>;
execute(
type: string,
documents: IndexableDocument[],
): Promise<IndexableDocument[]>;
}