-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38cadad
commit 078fe4b
Showing
8 changed files
with
127 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"displayName": "The F5 Extension", | ||
"description": "Supercharge your F5 automation development", | ||
"publisher": "F5DevCentral", | ||
"version": "3.0.0-beta.7", | ||
"version": "3.0.0-beta.8", | ||
"keywords": [ | ||
"F5", | ||
"F5Networks", | ||
|
@@ -206,21 +206,6 @@ | |
"default": "[email protected]" | ||
} | ||
}, | ||
"f5.as3Post.async": { | ||
"type": "boolean", | ||
"default": true, | ||
"description": "Make as3 posts async by default" | ||
}, | ||
"f5.showAuthTokenTimer": { | ||
"type": "boolean", | ||
"default": false, | ||
"description": "Displays a countdown of the auth token lifetime. Extension will refresh the token as needed with the next call. This is mainly for visibility/debugging purposes, or for those like a ton of feedback" | ||
}, | ||
"f5.asyncInterval": { | ||
"type": "number", | ||
"default": 5, | ||
"description": "Number of seconds to wait between checking POST task status" | ||
}, | ||
"f5.timeoutinmilliseconds": { | ||
"type": "integer", | ||
"default": 0, | ||
|
@@ -233,12 +218,6 @@ | |
"scope": "resource", | ||
"description": "Show everything in a new editor tab" | ||
}, | ||
"f5.enableWebViews": { | ||
"type": "boolean", | ||
"default": false, | ||
"scope": "resource", | ||
"description": "*DEV-inProgress*" | ||
}, | ||
"f5.newEditorColumn": { | ||
"type": "string", | ||
"enum": [ | ||
|
@@ -275,12 +254,6 @@ | |
"scope": "resource", | ||
"description": "Prevent new editor tab from taking focus when opened or updated\n So, by default(disabled), each new editor that is opened and/or updated with also take focus" | ||
}, | ||
"f5.tcl": { | ||
"type": "boolean", | ||
"default": true, | ||
"scope": "resource", | ||
"description": "Enable tcl/irule/iapp functionality." | ||
}, | ||
"f5.logLevel": { | ||
"type": "string", | ||
"enum": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
|
||
# proxy configuration objects | ||
|
||
this is just a placeholder for configuration/documentation for the external HTTP proxy support | ||
|
||
issue details can be found here: | ||
|
||
- [#88](https://github.com/f5devcentral/vscode-f5/issues/88) - [RFE] Examples Requests with web proxy support (**PENDING**) | ||
- Provides configuration options for external proxy support | ||
- This would be for all calls not destined for an F5 | ||
|
||
|
||
proxy "configuration" section for the package.json | ||
|
||
```json | ||
"f5.proxy": { | ||
"type": "object", | ||
"description": "external HTTP(s) proxy details", | ||
"port": { | ||
"type": "number" | ||
}, | ||
"host": { | ||
"type": "string" | ||
}, | ||
"required": [ | ||
"host", | ||
"port" | ||
], | ||
"examples": [ | ||
{ | ||
"protocol": "https", | ||
"host": "127.0.0.1", | ||
"port": 9000, | ||
"auth": { | ||
"username": "mikeymike", | ||
"password": "rapunz3l" | ||
} | ||
} | ||
] | ||
}, | ||
"f5.proxyAuth": { | ||
"type": "object", | ||
"username": { | ||
"type": "string" | ||
}, | ||
"password": { | ||
"type": "string" | ||
} | ||
} | ||
``` | ||
|
||
|
||
extensionVariables.ts | ||
|
||
```ts | ||
|
||
// in the loadSettings function | ||
|
||
// ext.settings.proxy = workspace.getConfiguration().get('f5.proxy'); | ||
const proxyCfg = workspace.getConfiguration('f5.proxy'); | ||
const proxyAuthCfg = workspace.getConfiguration('f5.proxyAuth'); | ||
|
||
if (proxyCfg) { | ||
|
||
ext.settings.proxy = { | ||
host: proxyCfg.get('host'), | ||
port: proxyCfg.get('port'), | ||
protocol: proxyCfg.get('protocol'), | ||
}; | ||
|
||
if (proxyAuthCfg.has('username') && proxyAuthCfg.has('password')) { | ||
ext.settings.proxy.auth = { | ||
username: proxyAuthCfg.get('username'), | ||
password: proxyAuthCfg.get('password') | ||
}; | ||
} | ||
const y = 'x'; | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters