Skip to content

Commit 8d3f7ec

Browse files
committed
Add UrlDiscoveryPlugin instance
1 parent 0d28835 commit 8d3f7ec

File tree

4 files changed

+21
-1
lines changed

4 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
> **Note**: odd version numbers, for example, `0.13.0`, are not included in this changelog. They are used to test the new features and fixes before the final release.
99
10-
## [0.15.1] - Unreleased
10+
## [0.15.2] - Unreleased
1111

1212
### Added:
1313

1414
- Diagnostics: Ensure at least one plugin is enabled
1515
- Diagnostics: Information added to pluginName value when plugin can be configured with a configSection
1616
- Diagnostics: Warning added to config sections not connected to a plugin
17+
- Snippets: `devproxy-plugin-url-discovery` - UrlDiscoveryPlugin instance
1718

1819
### Changed:
1920

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Shown when the active document is a Dev Proxy configuration file
137137
| `devproxy-plugin-retry-after` | RetryAfterPlugin instance |
138138
| `devproxy-plugin-rewrite` | RewritePlugin instance |
139139
| `devproxy-plugin-rewrite-config` | RewritePlugin config section |
140+
| `devproxy-plugin-url-discovery` | UrlDiscoveryPlugin instance |
140141
| `devproxy-reporter-json` | JsonReporter instance |
141142
| `devproxy-reporter-markdown` | MarkdownReporter instance |
142143
| `devproxy-reporter-plain-text` | PlainTextReporter instance |

src/constants.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ export const pluginSnippets: PluginSnippets = {
171171
required: true,
172172
}
173173
},
174+
UrlDiscoveryPlugin: {
175+
instance: 'devproxy-plugin-url-discovery',
176+
},
174177
JsonReporter: {
175178
instance: 'devproxy-reporter-json',
176179
},
@@ -303,6 +306,10 @@ export const pluginDocs: PluginDocs = {
303306
name: 'Rewrite Plugin',
304307
url: 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/rewriteplugin',
305308
},
309+
UrlDiscoveryPlugin: {
310+
name: 'UrlDiscovery Plugin',
311+
url: 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/urldiscoveryplugin',
312+
},
306313
JsonReporter: {
307314
name: 'JSON Reporter',
308315
url: 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/jsonreporter',

src/snippets.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,17 @@
874874
],
875875
"description": "RewritePlugin config section"
876876
},
877+
"UrlDiscoveryPlugin": {
878+
"prefix": "devproxy-plugin-url-discovery",
879+
"body": [
880+
"{",
881+
"\t\"name\": \"UrlDiscoveryPlugin\",",
882+
"\t\"enabled\": true,",
883+
"\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"",
884+
"}"
885+
],
886+
"description": "UrlDiscoveryPlugin instance"
887+
},
877888
"JsonReporter": {
878889
"prefix": "devproxy-reporter-json",
879890
"body": [

0 commit comments

Comments
 (0)