Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Imported roadiehq http request plugin #41

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

mmaroth
Copy link
Contributor

@mmaroth mmaroth commented Oct 4, 2024

To make external API calls from backstage, we need proxy and roadie http request plugin. We have proxy already included in backstage-app. We are adding roadie plugin to cnoe backstage-app, to support external API calls.

This plugin supports below methods:
GET
POST
UPDATE
PATCH
DELETE
PUT

How to use this action?

Step1: Update backstage app-config.yaml file proxy.
proxy: /abc: https://example.com

Step2: Use "http:backstage:request" action in scaffolder template.

- id: backstage_request name: backstage request action: http:backstage:request input: method: 'GET' path: '/proxy/abc/whatsmyip'

Copy link
Contributor

@nabuskey nabuskey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nabuskey nabuskey merged commit 135c0cb into cnoe-io:main Oct 7, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants