-
Notifications
You must be signed in to change notification settings - Fork 22
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
0caf057
commit 1d326e5
Showing
12 changed files
with
1,093 additions
and
8 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
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 @@ | ||
node_modules |
10 changes: 10 additions & 0 deletions
10
vscode-trace-extension/src/exploration/test-server/config.json
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,10 @@ | ||
{ | ||
"serverUrl": "localhost:8080", | ||
"maxConnections": 100, | ||
"timeout": 5000, | ||
"features": { | ||
"enableLogging": false, | ||
"enableCache": false | ||
}, | ||
"wildcard": "I sent you this in an email." | ||
} |
10 changes: 10 additions & 0 deletions
10
vscode-trace-extension/src/exploration/test-server/data/config.json
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,10 @@ | ||
{ | ||
"serverUrl": "localhost:8080", | ||
"maxConnections": 100, | ||
"timeout": 5000, | ||
"features": { | ||
"enableLogging": false, | ||
"enableCache": false | ||
}, | ||
"wildcard": "I sent you this in an email." | ||
} |
58 changes: 58 additions & 0 deletions
58
vscode-trace-extension/src/exploration/test-server/data/schema.json
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,58 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"properties": { | ||
"serverUrl": { | ||
"enum": [ | ||
"localhost:3000", | ||
"localhost:3002", | ||
"localhost:8080" | ||
], | ||
"description": "The server URL for the application \n Type: string \n [ 'localhost:3000' 'localhost:8080' ]", | ||
"default": "localhost:3000" | ||
}, | ||
"maxConnections": { | ||
"type": "integer", | ||
"minimum": 1, | ||
"maximum": 100, | ||
"description": "Maximum number of concurrent connections", | ||
"default": 10 | ||
}, | ||
"timeout": { | ||
"type": "integer", | ||
"minimum": 0, | ||
"description": "Timeout in milliseconds", | ||
"default": 5000 | ||
}, | ||
"features": { | ||
"type": "object", | ||
"properties": { | ||
"enableLogging": { | ||
"type": "boolean", | ||
"description": "Enable detailed logging", | ||
"default": false | ||
}, | ||
"enableCache": { | ||
"type": "boolean", | ||
"description": "Enable response caching", | ||
"default": false | ||
} | ||
}, | ||
"required": [ | ||
"enableLogging", | ||
"enableCache" | ||
] | ||
}, | ||
"wildcard": { | ||
"type": "string", | ||
"description": "Anything you want.", | ||
"default": "Good Hearted Woman - Waylon Jennings" | ||
} | ||
}, | ||
"required": [ | ||
"serverUrl", | ||
"maxConnections", | ||
"timeout", | ||
"features" | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
vscode-trace-extension/src/exploration/test-server/nodemon.json
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,3 @@ | ||
{ | ||
"ignore": ["data/*"] | ||
} |
18 changes: 18 additions & 0 deletions
18
vscode-trace-extension/src/exploration/test-server/package.json
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,18 @@ | ||
{ | ||
"name": null, | ||
"version": "1.0.0", | ||
"description": "Mock server for VS Code config editor testing", | ||
"main": "server.js", | ||
"scripts": { | ||
"start": "node server.js", | ||
"dev": "nodemon server.js" | ||
}, | ||
"dependencies": { | ||
"cors": "^2.8.5", | ||
"express": "^4.18.2", | ||
"body-parser": "^1.20.2" | ||
}, | ||
"devDependencies": { | ||
"nodemon": "^3.0.2" | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
vscode-trace-extension/src/exploration/test-server/schema.json
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,58 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"type": "object", | ||
"properties": { | ||
"serverUrl": { | ||
"enum": [ | ||
"localhost:3000", | ||
"localhost:3002", | ||
"localhost:8080" | ||
], | ||
"description": "The server URL for the application \n Type: string \n [ 'localhost:3000' 'localhost:8080' ]", | ||
"default": "localhost:3000" | ||
}, | ||
"maxConnections": { | ||
"type": "integer", | ||
"minimum": 1, | ||
"maximum": 100, | ||
"description": "Maximum number of concurrent connections", | ||
"default": 10 | ||
}, | ||
"timeout": { | ||
"type": "integer", | ||
"minimum": 0, | ||
"description": "Timeout in milliseconds", | ||
"default": 5000 | ||
}, | ||
"features": { | ||
"type": "object", | ||
"properties": { | ||
"enableLogging": { | ||
"type": "boolean", | ||
"description": "Enable detailed logging", | ||
"default": false | ||
}, | ||
"enableCache": { | ||
"type": "boolean", | ||
"description": "Enable response caching", | ||
"default": false | ||
} | ||
}, | ||
"required": [ | ||
"enableLogging", | ||
"enableCache" | ||
] | ||
}, | ||
"wildcard": { | ||
"type": "string", | ||
"description": "Anything you want.", | ||
"default": "Good Hearted Woman - Waylon Jennings" | ||
} | ||
}, | ||
"required": [ | ||
"serverUrl", | ||
"maxConnections", | ||
"timeout", | ||
"features" | ||
] | ||
} |
Oops, something went wrong.