Commit 2bf107f
[WI16] Fix Flink JobManager discovery - Use broader container name filter
Root cause: Docker container name filter was too strict
- Previous filter: "name=flink-jobmanager" only matched exact substring
- Aspire container names may have different patterns/prefixes
- Filter failed to find containers, returning no endpoint
Changes:
- Updated GetFlinkRestApiEndpointAsync() to use broader filter: "name=flink"
- Matches any container with "flink" in name, then validates port 8081 mapping
- Added diagnostic logging showing all Flink containers found
- More resilient discovery working with Aspire's container naming
This fixes Day01 health check failures by correctly discovering Flink JobManager endpoint.
Co-authored-by: devstress <30769729+devstress@users.noreply.github.com>1 parent 830ab97 commit 2bf107f
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
363 | 363 | | |
364 | 364 | | |
365 | 365 | | |
366 | | - | |
367 | | - | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
368 | 370 | | |
369 | 371 | | |
370 | 372 | | |
| |||
0 commit comments