Skip to content

Commit 5483a87

Browse files
authored
Added networkzone parameter to service bindinig for agent download and remove AppMon components (#893)
* added `networkzone` parameter the service binding configuration for for Dynatrace. This is passed through to the URL from which the Dynatrace OneAgent is downloaded. * remove Dynatrace AppMon support as this product is deprecated and and OneAgent should be used going forward.
1 parent 37acdfe commit 5483a87

File tree

7 files changed

+7
-314
lines changed

7 files changed

+7
-314
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ The buildpack supports extension through the use of Git repository forking. The
8686
* [Container Security Provider](docs/framework-container_security_provider.md) ([Configuration](docs/framework-container_security_provider.md#configuration))
8787
* [Contrast Security Agent](docs/framework-contrast_security_agent.md) ([Configuration](docs/framework-contrast_security_agent.md#configuration))
8888
* [Debug](docs/framework-debug.md) ([Configuration](docs/framework-debug.md#configuration))
89-
* [Dynatrace Appmon Agent](docs/framework-dynatrace_appmon_agent.md) ([Configuration](docs/framework-dynatrace_appmon_agent.md#configuration))
9089
* [Elastic APM Agent](docs/framework-elastic_apm_agent.md) ([Configuration](docs/framework-elastic_apm_agent.md#configuration))
9190
* [Dynatrace SaaS/Managed OneAgent](docs/framework-dynatrace_one_agent.md) ([Configuration](docs/framework-dynatrace_one_agent.md#configuration))
9291
* [Google Stackdriver Debugger](docs/framework-google_stackdriver_debugger.md) ([Configuration](docs/framework-google_stackdriver_debugger.md#configuration))

config/dynatrace_appmon_agent.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

docs/framework-dynatrace_appmon_agent.md

Lines changed: 0 additions & 94 deletions
This file was deleted.

lib/java_buildpack/framework/dynatrace_appmon_agent.rb

Lines changed: 0 additions & 108 deletions
This file was deleted.

lib/java_buildpack/framework/dynatrace_one_agent.rb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,13 @@ def supports?
112112

113113
def agent_download_url
114114
download_uri = "#{api_base_url(credentials)}/v1/deployment/installer/agent/unix/paas/latest?include=java" \
115-
"&bitness=64&Api-Token=#{credentials[APITOKEN]}"
115+
"&bitness=64" \
116+
"&Api-Token=#{credentials[APITOKEN]}"
117+
#
118+
# setting networkzone parameter if it's configured
119+
if networkzone?
120+
download_uri += "&networkzone=#{networkzone_value}"
121+
116122
['latest', download_uri]
117123
end
118124

rakelib/versions_task.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ def initialize
6161
'container_security_provider' => 'Container Security Provider',
6262
'contrast_security_agent' => 'Contrast Security Agent',
6363
'datadog_javaagent' => 'Datadog APM Javaagent',
64-
'dynatrace_appmon_agent' => 'Dynatrace Appmon Agent',
6564
'dynatrace_one_agent' => 'Dynatrace OneAgent',
6665
'elastic_apm_agent' => 'Elastic APM Agent',
6766
'geode_store' => 'Geode Tomcat Session Store',

spec/java_buildpack/framework/dynatrace_appmon_agent_spec.rb

Lines changed: 0 additions & 89 deletions
This file was deleted.

0 commit comments

Comments
 (0)