lib/liberty_buildpack/framework/contrast_security_agent.rb
def download_agent(version_desc, uri_source, target_jar_name, target_dir)
      LibertyBuildpack::Util.download(version_desc, uri_source, 'Contrast Security Agent', target_jar_name, target_dir)
    rescue => e
      raise "Unable to download the Contrast Security Agent jar. Ensure that the agent jar at #{uri_source} is available and accessible. #{e.message}"
    end
#-----------------------------------------------------------------------------------------
# Download the agent library from the repository as specified in the contrast security configuration.
#------------------------------------------------------------------------------------------
Download the agent library from the repository as specified in the contrast security configuration.
Download the agent library from the repository as specified in the contrast security configuration .
def download_agent(version_desc, uri_source, target_jar_name, target_dir)
      LibertyBuildpack::Util.download(version_desc, uri_source, 'Contrast Security Agent', target_jar_name, target_dir)
    rescue => e
      raise "Unable to download the Contrast Security Agent jar. Ensure that the agent jar at #{uri_source} is available and accessible. #{e.message}"
    end
def download_agent ( version_desc , uri_source , target_jar_name , target_dir ) LibertyBuildpack :: Util . download ( version_desc , uri_source , 'Contrast Security Agent' , target_jar_name , target_dir ) rescue => e raise "Unable to download the Contrast Security Agent jar. Ensure that the agent jar at #{uri_source} is available and accessible. #{e.message}" end
Download the agent library from the repository as specified in the contrast security configuration.
Download the agent library from the repository as specified in the contrast security configuration .
version_desc
uri_source
target_jar_name
target_dir