Skip to content

Commit

Permalink
Merge pull request #136 from gdankov/opi-cc-uploader-url
Browse files Browse the repository at this point in the history
Do not maintain cc_uploader_https_url property for OPI

[#165339722](https://www.pivotaltracker.com/story/show/165339722)
  • Loading branch information
tcdowney committed Apr 15, 2019
2 parents f940d48 + a2e3757 commit d2886d0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions jobs/cloud_controller_ng/spec
Original file line number Diff line number Diff line change
Expand Up @@ -628,9 +628,6 @@ properties:
cc.opi.url:
description: "URL of the Eirini server"
default: ""
cc.opi.cc_uploader_https_url:
description: "URL of cc uploader (not used if BOSH link 'cc_uploader' is present)"
default: https://cc-uploader.service.cf.internal:9091

ccdb.databases:
description: "Contains the name of the database on the database server"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,13 +413,10 @@ rate_limiter:
<%
cc_uploader_url = nil
opi_cc_uploader_url = nil
if_link("cc_uploader") do |cc_uploader|
cc_uploader_url = "https://#{cc_uploader.p("internal_hostname")}:#{cc_uploader.p("https_port")}"
opi_cc_uploader_url = cc_uploader_url.dup
end.else do
cc_uploader_url = p("cc.diego.cc_uploader_https_url")
opi_cc_uploader_url = p("cc.opi.cc_uploader_https_url")
end
%>

Expand Down Expand Up @@ -448,7 +445,7 @@ opi:
url: "<%= p("cc.opi.url") %>"
opi_staging: <%= p("cc.opi.opi_staging") %>
enabled: <%= p("cc.opi.enabled") %>
cc_uploader_url: "<%= opi_cc_uploader_url %>"
cc_uploader_url: "<%= cc_uploader_url %>"

perm:
enabled: false
Expand Down

0 comments on commit d2886d0

Please sign in to comment.