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

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

Merged
merged 18 commits into from
May 17, 2021

Conversation

cosmicshuai
Copy link
Contributor

@cosmicshuai cosmicshuai commented Apr 16, 2021

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

@cosmicshuai cosmicshuai marked this pull request as ready for review April 19, 2021 06:41
packages/chatdown/utils/httpsProxy.js Outdated Show resolved Hide resolved
packages/lg/src/utils/helper.ts Outdated Show resolved Hide resolved
packages/lg/src/utils/https-proxy.ts Outdated Show resolved Hide resolved
packages/lg/src/utils/https-proxy.ts Outdated Show resolved Hide resolved
packages/orchestratorlib/src/basemodel.ts Outdated Show resolved Hide resolved
packages/orchestratorlib/src/basemodel.ts Outdated Show resolved Hide resolved
packages/orchestratorlib/src/utility.ts Outdated Show resolved Hide resolved
@cosmicshuai
Copy link
Contributor Author

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

Copy link
Contributor

@munozemilio munozemilio left a comment

Choose a reason for hiding this comment

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

Approved. @tsuwandy there are some changes to Orchestrator pieces FYI

@cosmicshuai cosmicshuai merged commit 4cdd4d9 into main May 17, 2021
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