Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added networkzone parameter to agent download and removal of AppMon components #893

Merged
merged 5 commits into from
Jul 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ The buildpack supports extension through the use of Git repository forking. The
* [Container Security Provider](docs/framework-container_security_provider.md) ([Configuration](docs/framework-container_security_provider.md#configuration))
* [Contrast Security Agent](docs/framework-contrast_security_agent.md) ([Configuration](docs/framework-contrast_security_agent.md#configuration))
* [Debug](docs/framework-debug.md) ([Configuration](docs/framework-debug.md#configuration))
* [Dynatrace Appmon Agent](docs/framework-dynatrace_appmon_agent.md) ([Configuration](docs/framework-dynatrace_appmon_agent.md#configuration))
* [Elastic APM Agent](docs/framework-elastic_apm_agent.md) ([Configuration](docs/framework-elastic_apm_agent.md#configuration))
* [Dynatrace SaaS/Managed OneAgent](docs/framework-dynatrace_one_agent.md) ([Configuration](docs/framework-dynatrace_one_agent.md#configuration))
* [Google Stackdriver Debugger](docs/framework-google_stackdriver_debugger.md) ([Configuration](docs/framework-google_stackdriver_debugger.md#configuration))
Expand Down
20 changes: 0 additions & 20 deletions config/dynatrace_appmon_agent.yml

This file was deleted.

94 changes: 0 additions & 94 deletions docs/framework-dynatrace_appmon_agent.md

This file was deleted.

108 changes: 0 additions & 108 deletions lib/java_buildpack/framework/dynatrace_appmon_agent.rb

This file was deleted.

8 changes: 7 additions & 1 deletion lib/java_buildpack/framework/dynatrace_one_agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,13 @@ def supports?

def agent_download_url
download_uri = "#{api_base_url(credentials)}/v1/deployment/installer/agent/unix/paas/latest?include=java" \
"&bitness=64&Api-Token=#{credentials[APITOKEN]}"
"&bitness=64" \
"&Api-Token=#{credentials[APITOKEN]}"
#
# setting networkzone parameter if it's configured
if networkzone?
download_uri += "&networkzone=#{networkzone_value}"

['latest', download_uri]
end

Expand Down
1 change: 0 additions & 1 deletion rakelib/versions_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ def initialize
'container_security_provider' => 'Container Security Provider',
'contrast_security_agent' => 'Contrast Security Agent',
'datadog_javaagent' => 'Datadog APM Javaagent',
'dynatrace_appmon_agent' => 'Dynatrace Appmon Agent',
'dynatrace_one_agent' => 'Dynatrace OneAgent',
'elastic_apm_agent' => 'Elastic APM Agent',
'geode_store' => 'Geode Tomcat Session Store',
Expand Down
89 changes: 0 additions & 89 deletions spec/java_buildpack/framework/dynatrace_appmon_agent_spec.rb

This file was deleted.