With Rest DSL, how to proxy all of url path without listing each one of them

Solution Unverified - Updated -

Issue

With Rest DSL, how to proxy all of url path without listing each one of them?
For example
localhost:8001/service/a -> back:9001/service/a
localhost:8001:service/b/c -> back:9001/service/b/c
localhost:8001:service/d/e/f -> back:9001/service/d/e/f

In the future, the backend server might provide another service, so it's better to proxy those new services without modifying the existing rest DSL.

Environment

  • Red Hat Fuse
    • 7.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content