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

[💡 FEATURE REQUEST]: HTTP-to-RPC bridge #1742

Open
rustatian opened this issue Sep 29, 2023 · 0 comments
Open

[💡 FEATURE REQUEST]: HTTP-to-RPC bridge #1742

rustatian opened this issue Sep 29, 2023 · 0 comments
Assignees
Labels
C-feature-accepted Category: Feature discussed and accepted help-needed-hard Call for participation: Experience needed to fix: Hard / a lot S-RFC Request: Request for comments

Comments

@rustatian
Copy link
Member

rustatian commented Sep 29, 2023

Plugin

RPC

I have an idea!

In the RoadRunner we have a lot of the different RPC methods that are used to send the data to the JOBS drivers, control/monitor different plugins, reset RR, show info about the workers, etc. Since RPC is a good way to send some data, it is hard to do that outside the RR environment.

This proposal is about adding an HTTP/1.1 server to the RPC plugin to allow users to send HTTP requests, which would be automatically converted to the internal RPC format.

For example, to send a JOB to the JOBS plugin user would have two options:

  • Use our regular RPC methods to do that.
  • Use HTTP POST request.

Docs:

  • Should be added complete documentation (swagger) about plugins HTTP handlers.
@rustatian rustatian added the C-feature-request Category: feature requested, but need to be discussed label Sep 29, 2023
@rustatian rustatian self-assigned this Sep 29, 2023
@rustatian rustatian added this to the v2024 milestone Sep 29, 2023
@rustatian rustatian added C-feature-accepted Category: Feature discussed and accepted S-RFC Request: Request for comments and removed C-feature-request Category: feature requested, but need to be discussed labels Sep 29, 2023
@rustatian rustatian pinned this issue Oct 23, 2023
@rustatian rustatian removed this from the v2024.1.0 milestone Apr 15, 2024
@rustatian rustatian added the help-needed-hard Call for participation: Experience needed to fix: Hard / a lot label Apr 21, 2024
@rustatian rustatian unpinned this issue May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-accepted Category: Feature discussed and accepted help-needed-hard Call for participation: Experience needed to fix: Hard / a lot S-RFC Request: Request for comments
Projects
Status: 📋 Backlog
Development

Successfully merging a pull request may close this issue.

1 participant