backstage-plugin icon indicating copy to clipboard operation
backstage-plugin copied to clipboard

Extend plugin functionality to create an integration along with service

Open chauvm opened this issue 6 months ago • 5 comments

Is your feature request related to a problem? Please describe. I want to create an integration along with the service.

Hi there! I would like to seek advice before I go down the path to create a new plugin for my current task. This question is not specific to this Pagerduty plugin, butI have posted this question in Backstage but got no response, so I post here instead.

I want to create a Template that 1) creates a PagerDuty service and, 2) adds an integration for the service such that its integration key can be used in another tool like Grafana.

I have created the PagerDuty service successfully using this guide: https://pagerduty.github.io/backstage-plugin-docs/advanced/create-service-software-template/, but the plugin doesn't support actions to create a service's integration.

I looked into the project's roadmap and it doesn't seem like adding an integration is on the list.

Describe alternatives you've considered I wonder what's the best route to take from here:

  • Approach 1: Create a local plugin in my Backstage app based on the PagerDuty plugin, then extend the ability to create an integration.
  • Approach 2: Create a separate plugin with the ability to create an integration. Then create a Template to use actions from both plugins.
  • Approach 3: Somehow make a curl request from the software template. I'm looking at this plugin to make HTTP request (https://github.com/RoadieHQ/roadie-backstage-plugins/blob/main/plugins/scaffolder-actions/scaffolder-backend-module-http-request/README.md), but not sure if it's meant to make any arbitrary requests or just backend's endpoints

I'm new to Backstage in general, please advise me on the most preferable approach. Thank you very much!

chauvm avatar Aug 09 '24 18:08 chauvm