PagerDuty / backstage-plugin-backend

PagerDuty plugin for Backstage - Backend
https://pagerduty.github.io/backstage-plugin-docs/index.html
Apache License 2.0
3 stars 8 forks source link

Move API requests to backend plugin #13

Closed t1agob closed 9 months ago

t1agob commented 9 months ago

Is your feature request related to a problem? Please describe. Currently all frontend API requests go directly to PagerDuty APIs by leveraging Backstage proxy component. This simplifies interactions with PagerDuty APIs but also exposes information we don't need.

For added security and performance reasons we have started work on the frontend plugin to remove the proxy dependency (https://github.com/PagerDuty/backstage-plugin/issues/37).

Describe the solution you'd like Create API endpoints in the backend plugin that expose only the information that the frontend plugin requires. All requests should go through the backend plugin instead of the proxy.

Describe alternatives you've considered Currently we can only leverage the proxy unless APIs are implemented in the backend plugin.

t1agob commented 9 months ago

This is solved by #14 and the issue will be closed once merged into main.