Skip to content

Commit

Permalink
Merge branch '772-appdynamics-config-files'
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Hale <bhale@pivotal.io>
  • Loading branch information
nebhale committed Feb 5, 2020
2 parents 42e6a5b + 93d1eba commit ff8f0ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/java_buildpack/framework/app_dynamics_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ def supports?
private

CONFIG_FILES = %w[logging/log4j2.xml logging/log4j.xml app-agent-config.xml controller-info.xml
service-endpoint.xml transactions.xml].freeze
service-endpoint.xml transactions.xml custom-interceptors.xml
custom-activity-correlation.xml].freeze

FILTER = /app[-]?dynamics/.freeze

Expand Down
3 changes: 2 additions & 1 deletion spec/java_buildpack/framework/app_dynamics_agent_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@
cache_fixture: 'stub-app-dynamics-agent.zip' do

config_files = %w[logging/log4j2.xml logging/log4j.xml app-agent-config.xml controller-info.xml
service-endpoint.xml transactions.xml]
service-endpoint.xml transactions.xml custom-interceptors.xml
custom-activity-correlation.xml]

config_files.each do |file|
uri = "http://foo.com/java/#{file}"
Expand Down

0 comments on commit ff8f0ea

Please sign in to comment.