Skip to content

Backstage Custom Entity Provider or Custom Processor? #203

Answered by abeyum
silasb asked this question in General
Discussion options

You must be logged in to vote

Hello @silasb,

We opted for using the Custom Processor. We have a separate directory within our mono repo for our team definitions and have custom attributes we wanted to ingest. We stitch the team information with the data we obtain from the package.yml files.

The processor logic is relatively straight forward. We first ingest the team data then search for all package.yml files, extract the metadata needed to build an Entity then emit the results directly. Given the number packs we have in one of our mono repos, we avoid excessive calls the Github API (reading content of each package and team file would each result in API call) by downloading a tar of the repo (one call to the Github API…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@silasb
Comment options

@abeyum
Comment options

Answer selected by rafaelfranca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants