Using dynamic plugins in Red Hat Developer Hub
Using Red Hat Developer Hub plugins to access your development infrastructure and software development tools
Abstract
Preface
You can use Red Hat Developer Hub (RHDH) dynamic plugins to interact with your development infrastructure and software development tools.
Chapter 1. Enable real-time notifications with the signals plugin
Enable the signals plugin so that your team receives notifications instantly in Red Hat Developer Hub (RHDH) instead of waiting for the next polling interval.
Without the signals plugin, the notifications plugin checks for new events periodically, which can delay delivery by several seconds. Enabling signals eliminates that delay so your team can act on workflow events, template updates, and other changes as they happen.
Prerequisites
- You have added a custom Developer Hub application configuration.
You have installed and enabled the RHDH notification plugins:
-
backstage-plugin-notifications -
backstage-plugin-notifications-backend-dynamic
-
Procedure
- Open your RHDH dynamic plugin configuration file.
Add the signals frontend and backend plugins:
plugins: - package: ./dynamic-plugins/dist/backstage-plugin-signals disabled: false - package: ./dynamic-plugins/dist/backstage-plugin-signals-backend-dynamic disabled: false- Save the configuration file and restart your RHDH instance.
Verification
- Log in to your Red Hat Developer Hub instance.
- Trigger a notification event, such as updating a Software Template version.
- Verify that the notification appears in the RHDH header without requiring a page refresh.