Name: logging-route-service
Owner: Cloud Foundry Sample Applications
Description: A sample route service written in Go.
Created: 2015-07-02 21:01:40.0
Updated: 2017-11-13 16:15:55.0
Pushed: 2017-10-24 18:32:52.0
Size: 115
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
An example route service for Cloud Foundry.
The Route Service feature is currently in development, the proposal can be found in this Google Doc.
This example route service uses the new headers/features that have been added to the GoRouter. For example:
X-CF-Forwarded-Url
: A header that contains the original URL that the GoRouter received.X-CF-Proxy-Signature
: A header that the GoRouter uses to determine if a request has gone through the route service.cf push
to your chosen CF deployment.If you set this environment variable in the running app, the route service will sleep for that many milliseconds before proxying the request. This can be used to simulate route services that are slow to respond.
Example (10 seconds):
et-env logging-route-service ROUTE_SERVICE_SLEEP_MILLI 10000
estage logging-route-service
If you set this environment variable to false, the route service will validate SSL certificates. By default the route service skips SSL validation.
Example:
et-env logging-route-service SKIP_SSL_VALIDATION false
estart logging-route-service