Skip to content

Commit f95317b

Browse files
committed
Doppler config option removed
1 parent f9f06fd commit f95317b

4 files changed

Lines changed: 0 additions & 14 deletions

File tree

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Flags: (See run command, in this document, for syntax of flags)
1111
--help Show context-sensitive help (also try --help-long and --help-man).
1212
--api-endpoint= CF API Endpoint
1313
--sumo-endpoint= SUMO-ENDPOINT Complete URL for the endpoint, copied from the Sumo Logic HTTP Source configuration
14-
--doppler-endpoint= Overwrite default doppler endpoint return by /v2/info
1514
--subscription-id="firehose" Cloud Foundry ID for the subscription.
1615
--cloudfoundry-user= Cloud Foundry User
1716
--cloudfoundry-password= Cloud Foundry Password
@@ -137,7 +136,6 @@ $ cf push cloudfoundry-sumologic-nozzle --no-start
137136
```
138137
$ cf set-env cloudfoundry-sumologic-nozzle API_ENDPOINT https://api.[your cf system domain]
139138
$ cf set-env cloudfoundry-sumologic-nozzle SUMO_ENDPOINT https://sumo-endpoint
140-
$ cf set-env cloudfoundry-sumologic-nozzle DOPPLER_ENDPOINT: wss://doppler.bosh-lite.com:443
141139
$ cf set-env cloudfoundry-sumologic-nozzle FIREHOSE_SUBSCRIPTION_ID cloudfoundry-sumologic-nozzle
142140
$ cf set-env cloudfoundry-sumologic-nozzle CLOUDFOUNDRY_USER [your doppler.firehose enabled user]
143141
$ cf set-env cloudfoundry-sumologic-nozzle CLOUDFOUNDRY_PASSWORD [your doppler.firehose enabled user password]

main.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import (
2020
var (
2121
apiEndpoint = kingpin.Flag("api-endpoint", "URL to CF API Endpoint").OverrideDefaultFromEnvar("API_ENDPOINT").String()
2222
sumoEndpoint = kingpin.Flag("sumo-endpoint", "SUMO-ENDPOINT Complete URL for the endpoint, copied from the Sumo Logic HTTP Source configuration").OverrideDefaultFromEnvar("SUMO_ENDPOINT").String()
23-
dopplerEndpoint = kingpin.Flag("doppler-endpoint", "Overwrite default doppler endpoint return by /v2/info").OverrideDefaultFromEnvar("DOPPLER_ENDPOINT").String()
2423
subscriptionId = kingpin.Flag("subscription-id", "Cloud Foundry ID for the subscription.").Default("firehose").OverrideDefaultFromEnvar("FIREHOSE_SUBSCRIPTION_ID").String()
2524
user = kingpin.Flag("cloudfoundry-user", "Cloud Foundry User").OverrideDefaultFromEnvar("CLOUDFOUNDRY_USER").String() //user created in CF, authorized to connect the firehose
2625
password = kingpin.Flag("cloudfoundry-password", "Cloud Foundry Password").OverrideDefaultFromEnvar("CLOUDFOUNDRY_PASSWORD").String()
@@ -85,10 +84,6 @@ func main() {
8584
logging.Error.Fatal("Error setting up CF Client: ", errCfClient)
8685
os.Exit(1)
8786
}
88-
if len(*dopplerEndpoint) > 0 {
89-
cfClient.Endpoint.DopplerEndpoint = *dopplerEndpoint
90-
}
91-
logging.Info.Printf("Using %s as doppler endpoint", cfClient.Endpoint.DopplerEndpoint)
9287

9388
//Creating Caching
9489
var cachingClient caching.Caching
@@ -123,7 +118,6 @@ func main() {
123118
for i := 0; i < len(apps); i++ {
124119
logging.Info.Printf("[%d] "+apps[i].Name+" GUID: "+apps[i].Guid, i+1)
125120
}
126-
//Let's start the goRoutine
127121
cachingClient.PerformPoollingCaching(*tickerTime)
128122

129123
firehoseConfig := &firehoseclient.FirehoseConfig{

manifest.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ applications:
33
env:
44
API_ENDPOINT: https://api.some_api
55
SUMO_ENDPOINT: https://some_endpoint
6-
DOPPLER_ENDPOINT: wss://doppler.bosh-lite.com:443
76
FIREHOSE_SUBSCRIPTION_ID: cloudfoundry-sumologic-nozzle
87
CLOUDFOUNDRY_USER: firehose_user_authorized
98
CLOUDFOUNDRY_PASSWORD: password_firehose_user_authorized

tile.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ forms:
9393
type: string
9494
label: Cloud Foundry API Endpoint
9595
description: URL to CF API Endpoint
96-
- name: doppler-endpoint
97-
type: string
98-
label: Doppler Endpoint
99-
description: Overwrite default doppler endpoint return by /v2/info
100-
optional: true
10196
- name: cloudfoundry-user
10297
type: string
10398
label: Cloud Foundry User

0 commit comments

Comments
 (0)