lib/liberty_buildpack/framework/dynatrace_appmon_agent.rb
#-----------------------------------------------------------------------------------------
# Processes the dynatrace configuration to obtain the corresponding version and uri of the
# dynatrace agent jar in the repository root. If the configuration can be processed and the
# uri contains a valid dynatrace agent jar 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 agent jar in the repository root. If the configuration can be processed and the
uri contains a valid dynatrace agent jar 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 agent jar in the repository root . If the configuration can be processed and the uri contains a valid dynatrace agent jar name the versioned ID is returned and configuration data is initialized .
def process_config
      begin
        @version, @uri = LibertyBuildpack::Repository::ConfiguredItem.find_item(@configuration)
      rescue => e
        @logger.error("Unable to process the configuration for the Dynatrace Appmon Agent framework. #{e.message}")
      end
      @version.nil? ? nil : "dynatrace-appmon-agent-#{@version}"
    end
def process_config begin @version , @uri = LibertyBuildpack :: Repository :: ConfiguredItem . find_item ( @configuration ) rescue => e @logger . error ( "Unable to process the configuration for the Dynatrace Appmon Agent framework. #{e.message}" ) end @version . nil? ? nil : "dynatrace-appmon-agent-#{@version}" end
Processes the dynatrace configuration to obtain the corresponding version and uri of the
dynatrace agent jar in the repository root.
Processes the dynatrace configuration to obtain the corresponding version and uri of the dynatrace agent jar in the repository root .
the dynatrace version ID
the dynatrace version ID
String