Registered GithubDiscoveryProcessor in CatalogBuilder

This commit is contained in:
Nir Gazit
2021-01-28 15:00:16 +02:00
parent af045e3a77
commit 5f305b9141
2 changed files with 3 additions and 0 deletions
@@ -21,6 +21,7 @@ export { AwsOrganizationCloudAccountProcessor } from './AwsOrganizationCloudAcco
export { BuiltinKindsEntityProcessor } from './BuiltinKindsEntityProcessor';
export { CodeOwnersProcessor } from './CodeOwnersProcessor';
export { FileReaderProcessor } from './FileReaderProcessor';
export { GithubDiscoveryProcessor } from './GithubDiscoveryProcessor';
export { GithubOrgReaderProcessor } from './GithubOrgReaderProcessor';
export { LdapOrgReaderProcessor } from './LdapOrgReaderProcessor';
export { LocationRefProcessor } from './LocationEntityProcessor';
@@ -41,6 +41,7 @@ import {
CatalogProcessor,
CodeOwnersProcessor,
FileReaderProcessor,
GithubDiscoveryProcessor,
GithubOrgReaderProcessor,
HigherOrderOperation,
HigherOrderOperations,
@@ -281,6 +282,7 @@ export class CatalogBuilder {
if (!this.processorsReplace) {
processors.push(
new FileReaderProcessor(),
GithubDiscoveryProcessor.fromConfig(config, { logger }),
GithubOrgReaderProcessor.fromConfig(config, { logger }),
LdapOrgReaderProcessor.fromConfig(config, { logger }),
MicrosoftGraphOrgReaderProcessor.fromConfig(config, { logger }),