You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Spring Insight framework is different than all of the other
services because it downloads its dependency from the service itself,
rather than from a central location. It does however honor the
Internet availability flag even though it doesn't go to the Internet.
This caused issues when an offline buildpack was used because it
prevented the proper dependency from being downloaded.
This change adds the ability to _temporarily_ override the value of
Internet availability so that the Spring Insight framework can always
download its dependencies, regardless of the current state of internet
connectivity.
[#70850900]
# (see JavaBuildpack::Component::BaseComponent#compile)
43
45
defcompile
44
-
download(@version,@uri.chomp('/') + AGENT_DOWNLOAD_URI_SUFFIX){ |file| expandfile}# TODO: AGENT_DOWNLOAD_URI_SUFFIX To be removed once the full path is included in VCAP_SERVICES see issue 58873498
46
+
JavaBuildpack::Util::Cache::InternetAvailability.instance.available(true,'The Spring Insight download location is always accessible')do
47
+
download(@version,@uri.chomp('/') + AGENT_DOWNLOAD_URI_SUFFIX){ |file| expandfile}# TODO: AGENT_DOWNLOAD_URI_SUFFIX To be removed once the full path is included in VCAP_SERVICES see issue 58873498
48
+
end
45
49
end
46
50
47
51
# (see JavaBuildpack::Component::BaseComponent#release)
0 commit comments