Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.

Replace node-fetch with axios to support using proxy - #1200

Merged
Shuai Wang (cosmicshuai) merged 18 commits into
mainfrom
shuwan/replaceNodeFetch
May 17, 2021
Merged

Shuai Wang (cosmicshuai) merged 18 commits into
mainfrom
shuwan/replaceNodeFetch

Conversation

@cosmicshuai

@cosmicshuai Shuai Wang (cosmicshuai) commented Apr 16, 2021

Copy link
Copy Markdown
Contributor

Replace all node-fetch with axios with capability to support https proxy.
Some tests on setting up proxy:
Qna Translate:
image

Luis Translate:
image

Chatdown convert:
image

LG translate:
image

Orchestrator base model download:
image

Orchestator base model list:
image

Luis build with import from blob storage:
image

Comment thread packages/qnamaker/utils/httpProxy.js Outdated
Comment thread packages/chatdown/utils/httpsProxy.js Outdated
Comment thread packages/lg/src/utils/helper.ts Outdated
Comment thread packages/lg/src/utils/https-proxy.ts Outdated
Comment thread packages/lg/src/utils/https-proxy.ts Outdated
Comment thread packages/orchestratorlib/src/basemodel.ts Outdated
Comment thread packages/orchestratorlib/src/basemodel.ts Outdated
Comment thread packages/orchestratorlib/src/utility.ts Outdated
Comment thread packages/lg/src/utils/https-proxy.ts Outdated
Comment thread packages/orchestratorlib/src/basemodel.ts Outdated
Comment thread packages/orchestratorlib/src/basemodel.ts Outdated
Comment thread packages/lg/src/utils/https-proxy.ts Outdated
@cosmicshuai

Copy link
Copy Markdown
Contributor Author

Emilio Munoz (@munozemilio) Hi, Emilio, could you help review this PR. It will unblock the proxy setting of orchestrator triggers in Composer.

@munozemilio Emilio Munoz (munozemilio) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. Tien Suwandy (@tsuwandy) there are some changes to Orchestrator pieces FYI

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants