catalog-backend-module-incremental-ingestion: adapt to new createBackend api
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
committed by
Patrik Oldsberg
parent
b10bf736d0
commit
d1546d5c5b
@@ -55,16 +55,15 @@ async function main() {
|
||||
},
|
||||
};
|
||||
|
||||
const backend = createBackend({
|
||||
services: [
|
||||
createServiceFactory({
|
||||
service: coreServices.rootConfig,
|
||||
deps: {},
|
||||
factory: () => new ConfigReader(config),
|
||||
}),
|
||||
],
|
||||
});
|
||||
const backend = createBackend();
|
||||
|
||||
backend.add(
|
||||
createServiceFactory({
|
||||
service: coreServices.rootConfig,
|
||||
deps: {},
|
||||
factory: () => new ConfigReader(config),
|
||||
}),
|
||||
);
|
||||
backend.add(catalogPlugin());
|
||||
backend.add(catalogModuleIncrementalIngestionEntityProvider());
|
||||
backend.add(
|
||||
|
||||
Reference in New Issue
Block a user