Skip to content

Enable proxy using for http requests #311

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

Merged
merged 1 commit into from
Mar 13, 2015

Conversation

rosen-vladimirov
Copy link
Contributor

Add config.json file inside new config directory. This file is required in order to allow user specific configurations. Modify nativescript-cli.ts in order to wrap resolving of config and errors inside fiber as the new implementation of config has .wait().

Update common lib, where the following changes are applied:
Rename the following config options:

  • FIDDLER_HOSTNAME to PROXY_HOSTNAME
  • PROXY_TO_FIDDLER to USE_PROXY

Add PROXY_PORT option to config with default value 8888. Add ConfigBase class which should be used as a base for CLI specific configs.

Required for #297 and #302

@rosen-vladimirov rosen-vladimirov self-assigned this Mar 13, 2015
@rosen-vladimirov rosen-vladimirov added this to the 0.9.2 milestone Mar 13, 2015
@ns-bot
Copy link

ns-bot commented Mar 13, 2015

Test PASSed.

});
export class Configuration extends configBaseLib.ConfigBase { // User specific config
CI_LOGGER = false;
DEBUG = process.env.NATIVESCRIPT_DEBUG;
Copy link
Contributor

Choose a reason for hiding this comment

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

process.env.NATIVESCRIPT_DEBUG is unneeded, we can set DEBUG = false

@Fatme
Copy link
Contributor

Fatme commented Mar 13, 2015

👍

@teobugslayer
Copy link
Contributor

I think this must be documented and communicated to users of tns. @ikoevska @ErjanGavalji your opinion?

Add config.json file inside new config directory. This file is required in order to allow user specific configurations. Modify nativescript-cli.ts in order to wrap resolving of config and errors inside fiber as the new implementation of config has .wait().

Update common lib, where the following changes are applied:
Rename the following config options:
 - FIDDLER_HOSTNAME to PROXY_HOSTNAME
 - PROXY_TO_FIDDLER to USE_PROXY

Add PROXY_PORT option to config with default value 8888. Add ConfigBase class which should be used as a base for CLI specific configs.

Required for #297 and #302
@rosen-vladimirov rosen-vladimirov force-pushed the vladimirov/enable-proxy-settings branch from 68a00fa to af35703 Compare March 13, 2015 13:07
@ns-bot
Copy link

ns-bot commented Mar 13, 2015

Test PASSed.

rosen-vladimirov added a commit that referenced this pull request Mar 13, 2015
…tings

Enable proxy using for http requests
@rosen-vladimirov rosen-vladimirov merged commit af2cb31 into release Mar 13, 2015
@rosen-vladimirov rosen-vladimirov deleted the vladimirov/enable-proxy-settings branch March 13, 2015 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants