solo-io / platform-portal-backstage-plugin-backend

A Backstage backend plugin that synchronizes Gloo Platform Portal APIs with the Backstage catalog.
0 stars 1 forks source link

EntityBuilder customization #6

Open alexonaci opened 6 days ago

alexonaci commented 6 days ago

Hi all,

We want to propose an enhancement to the EntityBuilder of this plugin. Currently the plugin fetches customMetadata for each API from the Gloo Portal but it's not being mapped to a backstage API Entity field/s. Our suggestion is to implement an extension mechanism such that the plugin users could pass custom mappers to the EntityBuilder that will get applied after the current logic. If you agree with this flow (or if you have different suggestions) we would happily contribute to this effort 😄

Charlesthebird commented 6 days ago

Hi @alexonaci,

Thank you for your suggestion! I agree, adding some capability to map the customMetadata from the APIs to a Backstage Entity field would be an improvement. When you have a PR, please add me as a reviewer and I can take a look.