-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docker): add httpbin target for testing
- Loading branch information
1 parent
50d51fd
commit caf5bf6
Showing
4 changed files
with
52 additions
and
70 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
41 changes: 41 additions & 0 deletions
41
src/docker/Thinktecture.Relay.Connector.Docker/appsettings.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 |
---|---|---|
@@ -1,2 +1,43 @@ | ||
{ | ||
"RelayConnector": { | ||
"TenantSecret": "<Strong!Passw0rd>", | ||
"Targets": { | ||
"status": { | ||
"Type": "RelayWebTarget", | ||
"Timeout": "00:00:02", | ||
"Comment": "returns HTTP status by appended code (followed by '?sleep=#' to simulate a long running request delayed by # msec)", | ||
"Url": "https://httpstat.us/" | ||
}, | ||
"swapi": { | ||
"Type": "RelayWebTarget", | ||
"Comment": "returns more complex JSON (e.g. '/api/people/1/')", | ||
"Url": "https://swapi.dev/", | ||
"Options": "FollowRedirect" | ||
}, | ||
"picsum": { | ||
"Type": "RelayWebTarget", | ||
"Comment": "returns a random 4k image", | ||
"Url": "https://picsum.photos/3840/2160", | ||
"Options": "FollowRedirect" | ||
}, | ||
"smallpdf": { | ||
"Type": "RelayWebTarget", | ||
"Timeout": "01:00:00", | ||
"Comment": "returns a small pdf (around 10 Mb)", | ||
"Url": "https://link.testfile.org/PDF10MB", | ||
"Options": "FollowRedirect" | ||
}, | ||
"bigpdf": { | ||
"Type": "RelayWebTarget", | ||
"Timeout": "01:00:00", | ||
"Comment": "returns a really big pdf (around 100 Mb)", | ||
"Url": "https://link.testfile.org/PDF100MB", | ||
"Options": "FollowRedirect" | ||
}, | ||
"httpbin": { | ||
"Type": "RelayWebTarget", | ||
"Url": "http://localhost:8080" | ||
} | ||
} | ||
} | ||
} |
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