From fe53fe089a603fa72d589203fb3a9348efa665b8 Mon Sep 17 00:00:00 2001 From: Nikhil Katre Date: Thu, 16 Mar 2017 14:30:33 -0700 Subject: [PATCH] Re-enable AppDynamics Framework This change re-enables the previously disabled AppDynamics framework. This change also updates the repository configuration to point at a repository hosted by AppDynamics, adjusts the application naming convention. [#404] --- config/app_dynamics_agent.yml | 5 +++-- config/components.yml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/config/app_dynamics_agent.yml b/config/app_dynamics_agent.yml index 89914eb65f..e2374bfd96 100644 --- a/config/app_dynamics_agent.yml +++ b/config/app_dynamics_agent.yml @@ -16,8 +16,9 @@ # Configuration for the AppDynamics framework --- version: 4.+ -repository_root: "" -default_application_name: +repository_root: "https://packages.appdynamics.com/java" +default_application_name: $(ruby -e "require 'json' ; a = JSON.parse(ENV['VCAP_APPLICATION']); + puts \"#{a['space_name']}:#{a['application_name']}\"") default_node_name: $(ruby -e "require 'json' ; a = JSON.parse(ENV['VCAP_APPLICATION']); puts \"#{a['application_name']}:#{a['instance_index']}\"") default_tier_name: diff --git a/config/components.yml b/config/components.yml index 747009c72e..24aa53968c 100644 --- a/config/components.yml +++ b/config/components.yml @@ -37,7 +37,7 @@ jres: # command after any Java Opts added by previous frameworks. frameworks: -# - "JavaBuildpack::Framework::AppDynamicsAgent" + - "JavaBuildpack::Framework::AppDynamicsAgent" - "JavaBuildpack::Framework::ContainerCertificateTrustStore" - "JavaBuildpack::Framework::ContainerCustomizer" - "JavaBuildpack::Framework::Debug"