Commit 70b152f
committed
refactor: remove hardcoded versions from AppDynamics and NewRelic extensions
Replace hardcoded version strings and URLs with dynamic lookups from
manifest.yml using InstallOnlyVersion(). This ensures extension versions
are always pulled from the manifest, eliminating the need to update
code when bumping dependency versions.
Changes:
- Add InstallOnlyVersion() wrapper method to extensions.Installer
- Update AppDynamics extension to use InstallOnlyVersion()
- Update NewRelic extension to use InstallOnlyVersion()
- Remove hardcoded version 23.11.0-839 from AppDynamics
- Remove manual URL construction logic
This follows the same pattern used by PHP, HTTPD, and Nginx
installations in the buildpack.1 parent c2911dc commit 70b152f
3 files changed
Lines changed: 14 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
| 173 | + | |
| 174 | + | |
185 | 175 | | |
186 | | - | |
| 176 | + | |
187 | 177 | | |
188 | 178 | | |
189 | 179 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
205 | 213 | | |
206 | 214 | | |
207 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
171 | | - | |
| 170 | + | |
| 171 | + | |
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
| |||
0 commit comments