question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FEATURE] Proxy Backend Services

See original GitHub issue

[Enhancement] Reverse Proxy

While using ui5 serve, it would be great to proxy existing (OData) backend services to get around Access-Control-Allow-Origin (CORS) errors.

Affected components

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:8
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

14reactions
cschuffcommented, Jun 28, 2018

Changing the service url in a way like that requires adaption of project code (here: e.g. serviceUrl in manifest.json).

Using a proxy solution should not require any changes to actual project code since those changes could easily make it’s way into test/productive systems (and break things) and it’s just a hazzle to maintain…

A configurable proxy solution should allow for registration of

  • source path
  • target url
  • and may be some more… (see http-proxy-middleware)

In my opinion ui5-server should come with this feature since I believe that at least 90% of the people using it will need it. Supporting this might be crucial for the acceptance of ui5-server in general. What do you think?

3reactions
mauriciolauffercommented, Mar 17, 2019

I’m not sure whether it could be part of this enhancement or not, but a functionality to use local destinations files, as we have in SAP Web IDE Personal Edition, would be great!

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is a Reverse Proxy vs. Load Balancer? - NGINX
Many reverse proxy servers include features that help protect backend servers from distributed denial-of-service (DDoS) attacks, for example by rejecting ...
Read more >
How To Set Up a Reverse Proxy (Step-By-Step for Nginx ...
A reverse proxy sits in front of a web server and receives all the requests before they reach the origin server. It works...
Read more >
How to setup an Nginx reverse proxy server example
Here's a quick tutorial to setup an Nginx reverse proxy server. This example uses an Apache Tomcat server but the config settings apply...
Read more >
React — How To Proxy To Backend Server - Medium
In general, A proxy or proxy server serves as a gateway between your app and the internet. It's an intermediate server between client...
Read more >
Understanding APIs and API proxies | Apigee Edge
You expose APIs on Apigee Edge by implementing API proxies. API proxies decouple the app-facing API from your backend services, shielding those ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found