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

Add parameters for Working with Proxy Servers content #1006

Open
chanikag opened this issue Oct 8, 2024 · 0 comments
Open

Add parameters for Working with Proxy Servers content #1006

chanikag opened this issue Oct 8, 2024 · 0 comments

Comments

@chanikag
Copy link
Contributor

chanikag commented Oct 8, 2024

Description

If you want to define the proxy as a non blocking service call but he needs to define the target_hosts, proxy_host, proxy_port and non_proxy_hosts.

As per the latest documentation[1] we need to define proxy profiles to achieve this requirement but the actual requirement is to do this without using proxy profiles

For HTTP

[transport.http]
sender.proxy_username = "admin"
sender.proxy_password = "admin"
sender.target_hosts = ["websso-preprd.systeme-u.com"]
sender.proxy_host = "proxy-app.groupement.systeme-u.fr"
sender.proxy_port = "80"
sender.non_proxy_hosts = [".*.axa-ap.intraxa|.*.abc.com.lk|.*.lk.cds.local|.*.abcdef.com.bs|10.*|localhost|.*.wlife.com.mn"]

For HTTPS

[transport.http]
sender.proxy_username = "admin"
sender.proxy_password = "admin"
sender.target_hosts = ["websso-preprd.systeme-u.com"]
sender.proxy_host = "proxy-app.groupement.systeme-u.fr"
sender.proxy_port = "80"
sender.non_proxy_hosts = [".*.axa-ap.intraxa|.*.abc.com.lk|.*.lk.cds.local|.*.abcdef.com.bs|10.*|localhost|.*.wlife.com.mn"]

Even though we have this functionality in MI 4.1.0 it is not mentioned in the official documentation[1].

[1]https://apim.docs.wso2.com/en/latest/install-and-setup/setup/mi-setup/configuring_proxy_servers/#routing-messages-through-a-proxy-server

Describe the problem(s)

A detailed description of the purpose of this improvement.

Describe your solution(s)

A detailed description of how this improvement will solve the problem described above.

Related issue(s) (optional)

Any related issues such as sub tasks and issues reported in other repositories (e.g., component repositories), similar problems, etc.

Suggested label(s) (optional)

Optional comma-separated list of suggested labels. Non committers can’t assign labels to issues, and thereby, this will help issue creators who are not a committer to suggest possible labels.

Suggested assignee(s) (optional)

Optional comma-separated list of suggested team members who should attend the issue. Non committers can’t assign issues to assignees, and thereby, this will help issue creators who are not a committer to suggest possible assignees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant