Skip to content

Commit f062497

Browse files
author
Christopher Frost
committed
Change capitalization of AppDynamics name where possible
Aditional work to update the appearense of the AppDynamics name where possible to more closely match their branding but without causing a breaking change to the buildpacks backwards compatibility. The buidpack will match services with both `app-dynamics` and `appdynamics` as service names/tags etc... [#102165010]
1 parent 103fc4a commit f062497

4 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ To learn how to configure various properties of the buildpack, follow the "Confi
5656
* [Spring Boot CLI](docs/container-spring_boot_cli.md) ([Configuration](docs/container-spring_boot_cli.md#configuration))
5757
* [Tomcat](docs/container-tomcat.md) ([Configuration](docs/container-tomcat.md#configuration))
5858
* Standard Frameworks
59-
* [AppDynamics Agent](docs/framework-app_dynamics_agent.md) ([Configuration](docs/framework-appdynamics_agent.md#configuration))
59+
* [AppDynamics Agent](docs/framework-app_dynamics_agent.md) ([Configuration](docs/framework-app_dynamics_agent.md#configuration))
6060
* [Introscope Agent](docs/framework-introscope_agent.md) ([Configuration](docs/framework-introscope_agent.md#configuration))
6161
* [DynaTrace Agent](docs/framework-dyna_trace_agent.md) ([Configuration](docs/framework-dyna_trace_agent.md#configuration))
6262
* [Java Options](docs/framework-java_opts.md) ([Configuration](docs/framework-java_opts.md#configuration))
File renamed without changes.

lib/java_buildpack/framework/app_dynamics_agent.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def supports?
5555

5656
private
5757

58-
FILTER = /app-dynamics/.freeze
58+
FILTER = /app[-]?dynamics/.freeze
5959

6060
private_constant :FILTER
6161

spec/java_buildpack/framework/app_dynamics_agent_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
let(:credentials) { {} }
3636

3737
before do
38-
allow(services).to receive(:one_service?).with(/app-dynamics/, 'host-name').and_return(true)
38+
allow(services).to receive(:one_service?).with(/app[-]?dynamics/, 'host-name').and_return(true)
3939
allow(services).to receive(:find_service).and_return('credentials' => credentials)
4040
end
4141

0 commit comments

Comments
 (0)