You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/09/21 03:39:02 UTC

[GitHub] [apisix] xuminwlt opened a new issue, #7958: feat: As a user, I want to send a second request info from a pre response with 2 upstreams like a pipeline

xuminwlt opened a new issue, #7958:
URL: https://github.com/apache/apisix/issues/7958

   ### Description
   
   The feature like the issue: https://github.com/apache/apisix/issues/7916
   
   A plugin is needed that can reuse multiple upstream capabilities. The client accesses apisix, obtains the response from the first upstream in apisix, routes the body data of the response to the upstream of the real configuration, and configures the upstream in the first route. The response is returned to the client.
   
   This logic is a bit like the wolf-auth process, but the wolf-auth plugin configures an address with an independent host. Here I think it is the best solution to reuse the upstream. Otherwise, you need to configure a route to apisix for wolf-server.
   
   The pipeline like this:
   ```
   Upsreams:
   - Upstream A
   - Upstream B
   
   Router:
    /abc/* -> upstream A
   
   Plugin: pipeline: 
   upstream :  B
   Path: /path/to/url
   response data: {code:0, data:{}}  设置:response.data
   ```
   
   So upstream A will get the request from `response.data`.
   
   upsteam


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] xuminwlt commented on issue #7958: feat: As a user, I want to send a second request info from a pre response with 2 upstreams like a pipeline

Posted by GitBox <gi...@apache.org>.
xuminwlt commented on issue #7958:
URL: https://github.com/apache/apisix/issues/7958#issuecomment-1253246996

   We have 2 scenarios that use the functionality of this pipeline:
   1. The call request apisix initiated by the business, the body is verified and signed in apisix, and then it will be converted by the body. This logic is complex and will be iteratively published independently (this is the reason why I gave up using java-plugin), so it needs an independent one The service registered on apisix processes the message, and the processed message will request the Upstream configured in the route again.
   2. In the microservices that provide services to the outside world, the API provided by the atomic microservice provider will be used for content aggregation, and there will be similar serial request actions inside, which conforms to the logic of a pipeline, which can be used as one of the apisix service-orchestration. plugin.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] github-actions[bot] commented on issue #7958: feat: As a user, I want to send a second request info from a pre response with 2 upstreams like a pipeline

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7958:
URL: https://github.com/apache/apisix/issues/7958#issuecomment-1740637099

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] github-actions[bot] closed issue #7958: feat: As a user, I want to send a second request info from a pre response with 2 upstreams like a pipeline

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #7958: feat: As a user, I want to send a second request info from a pre response with 2 upstreams like a pipeline
URL: https://github.com/apache/apisix/issues/7958


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [apisix] github-actions[bot] commented on issue #7958: feat: As a user, I want to send a second request info from a pre response with 2 upstreams like a pipeline

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7958:
URL: https://github.com/apache/apisix/issues/7958#issuecomment-1719155172

   This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org