lib/liberty_buildpack/framework/appdynamics_agent.rb
#-----------------------------------------------------------------------------------------
# Create the Appdynamics agent options appended as java_opts.
#------------------------------------------------------------------------------------------
Create the Appdynamics agent options appended as java_opts.
Create the Appdynamics agent options appended as java_opts .
def release
      app_dir = @common_paths.relative_location
      appdynamics_home_dir = File.join(app_dir, APPDYNAMICS_HOME_DIR)
      appd_agent = File.join(appdynamics_home_dir, 'javaagent.jar')
      @java_opts << "-javaagent:#{appd_agent}"
      @java_opts << '-Dorg.osgi.framework.bootdelegation=com.sun.btrace, com.singularity.*'
      credentials = @services.find_service(FILTER)['credentials']
      application_name @java_opts, credentials
      tier_name @java_opts, credentials
      node_name @java_opts, credentials
      account_access_key @java_opts, credentials
      account_name @java_opts, credentials
      host_name @java_opts, credentials
      port @java_opts, credentials
      ssl_enabled @java_opts, credentials
      @java_opts
    end
def release app_dir = @common_paths . relative_location appdynamics_home_dir = File . join ( app_dir , APPDYNAMICS_HOME_DIR ) appd_agent = File . join ( appdynamics_home_dir , 'javaagent.jar' ) @java_opts << "-javaagent:#{appd_agent}" @java_opts << '-Dorg.osgi.framework.bootdelegation=com.sun.btrace, com.singularity.*' credentials = @services . find_service ( FILTER ) [ 'credentials' ] application_name @java_opts , credentials tier_name @java_opts , credentials node_name @java_opts , credentials account_access_key @java_opts , credentials account_name @java_opts , credentials host_name @java_opts , credentials port @java_opts , credentials ssl_enabled @java_opts , credentials @java_opts end
Create the Appdynamics agent options appended as java_opts.
Create the Appdynamics agent options appended as java_opts .