diff --git a/app-config.yaml b/app-config.yaml index 9f365becef..fcfd92a66f 100644 --- a/app-config.yaml +++ b/app-config.yaml @@ -259,6 +259,8 @@ catalog: # Backstage example groups and users - type: file target: ../catalog-model/examples/acme-corp.yaml + - type: aws-read-tree + target: https://seant-splunk.s3.us-east-2.amazonaws.com scaffolder: # Use to customize default commit author info used when new components are created diff --git a/packages/backend/src/plugins/catalog.ts b/packages/backend/src/plugins/catalog.ts index 055595dcb5..9c94b3851e 100644 --- a/packages/backend/src/plugins/catalog.ts +++ b/packages/backend/src/plugins/catalog.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - +import { AwsS3ReadTreeProcessor } from '/Users/seantan/backstage/plugins/catalog-backend/src/ingestion/processors/AwsS3ReadTreeProcessor'; import { CatalogBuilder, createRouter, @@ -25,6 +25,7 @@ export default async function createPlugin( env: PluginEnvironment, ): Promise { const builder = await CatalogBuilder.create(env); + builder.addProcessor(new AwsS3ReadTreeProcessor(env.reader)); const { entitiesCatalog, locationAnalyzer,