lib/liberty_buildpack/framework/appdynamics_agent.rb
#-----------------------------------------------------------------------------------------
# Processes the Appdynamics configuration to obtain the corresponding version and uri of the
# Appdynamics agent zip in the repository root. If the configuration can be processed and the
# uri contains a valid Appdynamics agent zip name, the versioned ID is returned and configuration
# data is initialized.
#
# @return [String] the Appdynamics version ID
#------------------------------------------------------------------------------------------
Processes the Appdynamics configuration to obtain the corresponding version and uri of the
Appdynamics agent zip in the repository root. If the configuration can be processed and the
uri contains a valid Appdynamics agent zip name, the versioned ID is returned and configuration
data is initialized.
Processes the Appdynamics configuration to obtain the corresponding version and uri of the Appdynamics agent zip in the repository root . If the configuration can be processed and the uri contains a valid Appdynamics agent zip 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 AppDynamics Agent framework. #{e.message}")
      end
      @version.nil? ? nil : "app-dynamics-#{@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 AppDynamics Agent framework. #{e.message}" ) end @version . nil? ? nil : "app-dynamics-#{@version}" end
Processes the Appdynamics configuration to obtain the corresponding version and uri of the
Appdynamics agent zip in the repository root.
Processes the Appdynamics configuration to obtain the corresponding version and uri of the Appdynamics agent zip in the repository root .
the Appdynamics version ID
the Appdynamics version ID
String