Created
January 7, 2016 00:32
-
-
Save fordaz/40eddba87b57bdbdf14c to your computer and use it in GitHub Desktop.
access the firehose in bosh lite
This file contains hidden or 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
| /Users/geoss/workspace/cf-release/src/cf-routing-release/src/github.com/cloudfoundry/noaa | |
| go get github.com/cloudfoundry/noaa | |
| 658 go build -o bin/firehose_sample firehose_sample/main.go | |
| 661 cf oauth_token | |
| 662 cf | |
| 663 cf | grep token | |
| 664 cf oauth-token | |
| 665 cf api api.bosh-lite.com --skip-ssl-validation | |
| 666 cf auth admin admin | |
| 667 cf oauth-token | |
| 668 cf oauth-token | grep bearer | |
| 669 CF_ACCESS_TOKEN=`cf oauth-token | grep bearer` | |
| 670 DOPPLER_ADDR="wss://doppler.bosh-lite.com:443" CF_ACCESS_TOKEN=`cf oauth-token | grep bearer` bin/firehose_sample | |
| 671 DOPPLER_ADDR="wss://doppler.bosh-lite.com:443" CF_ACCESS_TOKEN=`cf oauth-token | grep bearer` bin/firehose_sample | grep routing | |
| 672* | |
| 673* | |
| 674 DOPPLER_ADDR="wss://doppler.bosh-lite.com:443" CF_ACCESS_TOKEN=`cf oauth-token | grep bearer` bin/firehose_sample | grep total_subscr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment