@@ -46,10 +46,6 @@ module Diego
46
46
Config . new ( {
47
47
tls_port : tls_port ,
48
48
internal_service_hostname : internal_service_hostname ,
49
- internal_api : {
50
- auth_user : user ,
51
- auth_password : password
52
- } ,
53
49
staging : {
54
50
timeout_in_seconds : 90 ,
55
51
} ,
@@ -63,8 +59,6 @@ module Diego
63
59
let ( :isolation_segment ) { 'potato-segment' }
64
60
let ( :internal_service_hostname ) { 'internal.awesome.sauce' }
65
61
let ( :tls_port ) { '7773' }
66
- let ( :user ) { 'user' }
67
- let ( :password ) { 'pass[%3a]word' }
68
62
let ( :rule_dns_everywhere ) do
69
63
::Diego ::Bbs ::Models ::SecurityGroupRule . new (
70
64
protocol : 'udp' ,
@@ -157,7 +151,7 @@ module Diego
157
151
expect ( result . image_layers ) . to eq ( lifecycle_image_layers )
158
152
expect ( result . cpu_weight ) . to eq ( 50 )
159
153
160
- expect ( result . completion_callback_url ) . to eq ( "https://#{ user } : #{ CGI . escape ( password ) } @ #{ internal_service_hostname } :#{ tls_port } " \
154
+ expect ( result . completion_callback_url ) . to eq ( "https://#{ internal_service_hostname } :#{ tls_port } " \
161
155
"/internal/v3/staging/#{ droplet . guid } /build_completed?start=#{ staging_details . start_after_staging } " )
162
156
163
157
timeout_action = result . action . timeout_action
@@ -291,7 +285,7 @@ module Diego
291
285
292
286
it 'sets the completion callback' do
293
287
result = task_recipe_builder . build_staging_task ( config , staging_details )
294
- expect ( result . completion_callback_url ) . to eq ( "https://#{ user } : #{ CGI . escape ( password ) } @ #{ internal_service_hostname } :#{ tls_port } " \
288
+ expect ( result . completion_callback_url ) . to eq ( "https://#{ internal_service_hostname } :#{ tls_port } " \
295
289
"/internal/v3/staging/#{ droplet . guid } /build_completed?start=#{ staging_details . start_after_staging } " )
296
290
end
297
291
@@ -368,10 +362,6 @@ module Diego
368
362
Config . new ( {
369
363
tls_port : tls_port ,
370
364
internal_service_hostname : internal_service_hostname ,
371
- internal_api : {
372
- auth_user : user ,
373
- auth_password : password
374
- } ,
375
365
diego : {
376
366
lifecycle_bundles : { 'buildpack/potato-stack' : 'potato_lifecycle_bundle_url' } ,
377
367
pid_limit : 100 ,
@@ -382,8 +372,6 @@ module Diego
382
372
let ( :isolation_segment ) { 'potato-segment' }
383
373
let ( :internal_service_hostname ) { 'internal.awesome.sauce' }
384
374
let ( :tls_port ) { '7777' }
385
- let ( :user ) { 'user' }
386
- let ( :password ) { 'password' }
387
375
let ( :rule_dns_everywhere ) do
388
376
::Diego ::Bbs ::Models ::SecurityGroupRule . new (
389
377
protocol : 'udp' ,
0 commit comments