lib/liberty_buildpack/framework/dynatrace_one_agent.rb
def process_config
      begin
        @version, @uri = agent_download_url
      rescue => e
        @logger.error("Unable to process the configuration for the Dynatrace OneAgent framework. #{e.message}")
      end

      @version.nil? ? nil : "dynatrace-one-agent-#{@version}"
    end
#-----------------------------------------------------------------------------------------
# Processes the dynatrace configuration to obtain the corresponding version and uri of the
# dynatrace oneagent zzip in the repository root or bypasses the repository to directly download_uri
# the agent from the cluster. If the configuration can be processed and the
# uri contains a valid dynatrace oneagent zip name, the versioned ID is returned and configuration
# data is initialized.
#
# @return [String] the dynatrace version ID
#------------------------------------------------------------------------------------------
Processes the dynatrace configuration to obtain the corresponding version and uri of the
dynatrace oneagent zzip in the repository root or bypasses the repository to directly download_uri
the agent from the cluster. If the configuration can be processed and the
uri contains a valid dynatrace oneagent zip name, the versioned ID is returned and configuration
data is initialized.
Processes the dynatrace configuration to obtain the corresponding version and uri of the dynatrace oneagent zzip in the repository root or bypasses the repository to directly download_uri the agent from the cluster . If the configuration can be processed and the uri contains a valid dynatrace oneagent zip name the versioned ID is returned and configuration data is initialized .
def process_config
      begin
        @version, @uri = agent_download_url
      rescue => e
        @logger.error("Unable to process the configuration for the Dynatrace OneAgent framework. #{e.message}")
      end
      @version.nil? ? nil : "dynatrace-one-agent-#{@version}"
    end
def process_config begin @version , @uri = agent_download_url rescue => e @logger . error ( "Unable to process the configuration for the Dynatrace OneAgent framework. #{e.message}" ) end @version . nil? ? nil : "dynatrace-one-agent-#{@version}" end
Processes the dynatrace configuration to obtain the corresponding version and uri of the
dynatrace oneagent zzip in the repository root or bypasses the repository to directly download_uri
the agent from the cluster.
Processes the dynatrace configuration to obtain the corresponding version and uri of the dynatrace oneagent zzip in the repository root or bypasses the repository to directly download_uri the agent from the cluster .
the dynatrace version ID
the dynatrace version ID
String