Commit 59c6018
committed
Migrate to libbuildpack-dynatrace (#1205)
Replace custom Dynatrace extension with official libbuildpack-dynatrace
library, following the same pattern as go-buildpack.
Changes:
- Add libbuildpack-dynatrace v1.8.0 dependency
- Implement Dynatrace hook in src/php/hooks/dynatrace.go
- Add hooks_debug.go for debugging support (BP_DEBUG)
- Remove custom dynatrace extension implementation
- Remove dynatrace extension registration from supply/finalize
- Update README to reflect new integration approach
The new implementation uses the standard libbuildpack hook system
during AfterCompile phase, ensuring Dynatrace software support and
compatibility with other Cloud Foundry buildpacks.
Fixes #12051 parent 0028465 commit 59c6018
18 files changed
Lines changed: 1073 additions & 859 deletions
File tree
- src/php
- extensions/dynatrace
- finalize/cli
- hooks
- supply/cli
- vendor
- github.com/Dynatrace/libbuildpack-dynatrace
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
622 | 622 | | |
623 | 623 | | |
624 | 624 | | |
| 625 | + | |
| 626 | + | |
625 | 627 | | |
626 | 628 | | |
627 | 629 | | |
| |||
0 commit comments