|
175 | 175 | "\t\"name\": \"GraphMockResponsePlugin\",", |
176 | 176 | "\t\"enabled\": true,", |
177 | 177 | "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", |
178 | | - "\t\"configSection\": \"mocksPlugin\"", |
| 178 | + "\t\"configSection\": \"mocksPlugin\",", |
179 | 179 | "\t\"urlsToWatch\": [", |
180 | 180 | "\t\t\"https://graph.microsoft.com/v1.0/*\",", |
181 | 181 | "\t\t\"https://graph.microsoft.com/beta/*\",", |
|
197 | 197 | "\t\"name\": \"GraphRandomErrorPlugin\",", |
198 | 198 | "\t\"enabled\": true,", |
199 | 199 | "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", |
200 | | - "\t\"configSection\": \"graphRandomErrorPlugin\"", |
| 200 | + "\t\"configSection\": \"graphRandomErrorPlugin\",", |
201 | 201 | "\t\"urlsToWatch\": [", |
202 | 202 | "\t\t\"https://graph.microsoft.com/v1.0/*\",", |
203 | 203 | "\t\t\"https://graph.microsoft.com/beta/*\",", |
|
270 | 270 | "\t\"name\": \"LatencyPlugin\",", |
271 | 271 | "\t\"enabled\": true,", |
272 | 272 | "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", |
273 | | - "\t\"configSection\": \"executionSummaryPlugin\"", |
| 273 | + "\t\"configSection\": \"latencyPlugin\"", |
274 | 274 | "}" |
275 | 275 | ], |
276 | 276 | "description": "LatencyPlugin instance" |
277 | 277 | }, |
278 | 278 | "LatencyPluginConfig": { |
279 | 279 | "prefix": "devproxy-plugin-latency-config", |
280 | 280 | "body": [ |
281 | | - "\"LatencyPlugin\": {", |
282 | | - "\t\"minMs\": 200", |
| 281 | + "\"latencyPlugin\": {", |
| 282 | + "\t\"minMs\": 200,", |
283 | 283 | "\t\"maxMs\": 10000", |
284 | 284 | "}," |
285 | 285 | ], |
|
289 | 289 | "prefix": "devproxy-plugin-graph-minimal-permissions-guidance", |
290 | 290 | "body": [ |
291 | 291 | "{", |
292 | | - "\t\"name\": \"GraphSdkGuidancePlugin\",", |
| 292 | + "\t\"name\": \"MinimalPermissionsGuidancePlugin\",", |
293 | 293 | "\t\"enabled\": true,", |
294 | | - "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"", |
| 294 | + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", |
295 | 295 | "\t\"configSection\": \"minimalPermissionsGuidancePlugin\"", |
296 | 296 | "}" |
297 | 297 | ], |
|
312 | 312 | "{", |
313 | 313 | "\t\"name\": \"GraphSdkGuidancePlugin\",", |
314 | 314 | "\t\"enabled\": true,", |
315 | | - "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"", |
316 | | - "\t\"configSection\": \"MinimalPermissionsPlugin\"", |
| 315 | + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", |
| 316 | + "\t\"configSection\": \"minimalPermissionsPlugin\"", |
317 | 317 | "}" |
318 | 318 | ], |
319 | 319 | "description": "MinimalPermissionsPlugin instance" |
320 | 320 | }, |
321 | 321 | "MinimalPermissionsPluginConfig": { |
322 | 322 | "prefix": "devproxy-plugin-graph-minimal-permissions-config", |
323 | 323 | "body": [ |
324 | | - "\"MinimalPermissionsPlugin\": {", |
| 324 | + "\"minimalPermissionsPlugin\": {", |
325 | 325 | "\t\"type\": \"delegated\"", |
326 | 326 | "}," |
327 | 327 | ], |
|
333 | 333 | "{", |
334 | 334 | "\t\"name\": \"MockGeneratorPlugin\",", |
335 | 335 | "\t\"enabled\": true,", |
336 | | - "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\",", |
| 336 | + "\t\"pluginPath\": \"~appFolder/plugins/dev-proxy-plugins.dll\"", |
337 | 337 | "}" |
338 | 338 | ], |
339 | 339 | "description": "MockGeneratorPlugin instance" |
|
417 | 417 | "RateLimitingPluginConfig": { |
418 | 418 | "prefix": "devproxy-plugin-rate-limiting-config", |
419 | 419 | "body": [ |
420 | | - "\"mocksPlugin\": {", |
421 | | - "\t\"costPerRequest\": 2", |
422 | | - "\t\"rateLimit\": 120", |
| 420 | + "\"rateLimiting\": {", |
| 421 | + "\t\"costPerRequest\": 2,", |
| 422 | + "\t\"rateLimit\": 120,", |
423 | 423 | "\t\"retryAfterSeconds\": 5", |
424 | 424 | "}," |
425 | 425 | ], |
|
0 commit comments